/* ============================================================
   Axis Law Offices — Components
   Nav, Footer, Practice Cards, Team Cards, Contact Form, etc.
   ============================================================ */

/* ============================
   NAVIGATION
   ============================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  background: rgba(14,31,61,0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(176,141,87,0.1);
}

.nav-cta {
  margin-left: 12px;
  padding: 9px 22px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 12px 0 20px;
  border-top: 1px solid rgba(176,141,87,0.2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 13px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:hover { color: var(--gold); background: rgba(176,141,87,0.08); }
.nav-mobile .nav-cta {
  margin: 14px 28px 0;
  text-align: center;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 18px; }
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--navy);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(176,141,87,0.25);
}

.footer-brand .footer-logo { height: 90px; width: auto; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
}
.footer-contact-item .icon {
  color: var(--gold);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}
.footer-contact-item a { color: rgba(255,255,255,0.68); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  margin: 0;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.32);
  text-align: center;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================
   PRACTICE AREA CARDS
   ============================ */
.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.practice-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.practice-card .practice-icon {
  width: 48px;
  height: 48px;
  background: rgba(176,141,87,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 20px;
}
.practice-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.practice-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
.practice-card.featured {
  background: var(--navy);
  border-color: var(--navy);
}
.practice-card.featured h3 { color: var(--white); }
.practice-card.featured p  { color: rgba(255,255,255,0.7); }
.practice-card.featured .practice-icon {
  background: rgba(176,141,87,0.2);
}

/* Accordion practice areas (practice-areas.html) */
.practice-accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
  user-select: none;
}
.accordion-header:hover { background: var(--cream); }
.accordion-header.active { background: var(--navy); }
.accordion-header.active h3 { color: var(--white); }
.accordion-header.active .accordion-icon { color: var(--gold); transform: rotate(45deg); }
.accordion-header h3 { font-size: 1rem; color: var(--navy); margin: 0; display: flex; align-items: center; gap: 12px; }
.accordion-header .area-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  min-width: 24px;
}
.accordion-icon {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--cream);
  padding: 0 24px;
}
.accordion-body.open {
  max-height: 400px;
  padding: 20px 24px;
}
.accordion-body p { font-size: 0.92rem; color: var(--text-mid); margin: 0; }

/* ============================
   TEAM CARDS
   ============================ */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.team-card-img {
  width: 100%;
  aspect-ratio: 3/3.5;
  object-fit: cover;
  object-position: center top;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card-img-placeholder {
  width: 100%;
  aspect-ratio: 3/3.5;
  background: linear-gradient(145deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
}
.team-card-body { padding: 22px 24px; }
.team-card-name { font-size: 1.15rem; color: var(--navy); margin-bottom: 4px; }
.team-card-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.team-card-bar {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}
.team-card-body p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.7; }

/* Founder feature block */
.founder-feature {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}
.founder-img-wrap {
  position: relative;
}
.founder-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.founder-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80%;
  height: 80%;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.founder-info .role-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .founder-feature { grid-template-columns: 1fr; gap: 36px; }
  .founder-img-wrap { max-width: 300px; margin: 0 auto; }
}

/* ============================
   STATS STRIP
   ============================ */
.stats-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(176,141,87,0.3);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ============================
   CLIENT GRID
   ============================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.client-item {
  background: var(--white);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: background var(--transition), color var(--transition);
}
.client-item:hover { background: var(--navy); color: var(--gold); }
.client-item.psu { border-top: 3px solid var(--gold); }

@media (max-width: 768px) { .client-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: 1fr; } }

/* ============================
   CONTACT FORM
   ============================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(176,141,87,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-text h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 6px; }
.contact-info-text p, .contact-info-text a {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
  display: block;
}
.contact-info-text a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}
.form-success {
  display: none;
  padding: 16px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  color: #2e7d32;
  font-size: 0.9rem;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 24px; }
}

/* ============================
   MAP SECTION
   ============================ */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ============================
   VALUES / ABOUT SECTION
   ============================ */
.value-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }
.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(176,141,87,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  flex-shrink: 0;
}
.value-text h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.value-text p  { font-size: 0.88rem; color: var(--text-mid); margin: 0; }

/* ============================
   HIGHLIGHT STRIP (Home)
   ============================ */
.highlight-strip {
  background: var(--gold);
  padding: 22px 0;
}
.highlight-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.highlight-strip p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
  margin: 0;
}
.highlight-strip .btn { flex-shrink: 0; }
