/*
Theme Name: Sejwani & Co.
Theme URI: https://www.sejwaniandco.in/
Author: Sejwani & Co.
Author URI: https://www.sejwaniandco.in/
Description: Premium law firm WordPress theme for Sejwani & Co., Ahmedabad. Elegant, authoritative design inspired by India's leading law firms.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sejwani
Tags: law, legal, professional, dark, elegant
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --navy:       #0d1b2a;
  --navy-light: #1a2e45;
  --navy-mid:   #152536;
  --gold:       #b8973a;
  --gold-light: #d4af54;
  --gold-pale:  #f0e0a8;
  --cream:      #f7f3ec;
  --cream-dark: #ede5d8;
  --white:      #ffffff;
  --text-dark:  #1a1a1a;
  --text-mid:   #4a4a4a;
  --text-light: #8a8a8a;
  --border:     rgba(184,151,58,0.25);

  --font-display: 'Cormorant Garamond', 'Garamond', serif;
  --font-body:    'Jost', 'Gill Sans', sans-serif;
  --font-sub:     'Jost', sans-serif;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(13,27,42,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,42,0.15);
  --shadow-lg: 0 20px 60px rgba(13,27,42,0.25);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: none;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* =====================================================
   UTILITY
   ===================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 1220px; }

.section { padding: 6rem 0; }
.section--lg { padding: 9rem 0; }
.section--sm { padding: 4rem 0; }

.gold { color: var(--gold); }
.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  transition: all var(--transition);
  position: relative;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--outline-white {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

.divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

/* =====================================================
   DISCLAIMER MODAL
   ===================================================== */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.disclaimer-box {
  background: var(--navy);
  border: 1px solid var(--border);
  max-width: 680px;
  width: 100%;
  padding: 3.5rem;
  text-align: center;
  position: relative;
}

.disclaimer-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--gold);
}

.disclaimer-logo {
  width: 160px;
  margin: 0 auto 2rem;
}

.disclaimer-box h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.disclaimer-box p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.disclaimer-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all var(--transition);
}

.header-top {
  background: var(--navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-top-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.header-contact-item svg { width: 13px; height: 13px; opacity: 0.7; }
.header-contact-item a:hover { color: var(--gold); }

.header-main {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo img {
  height: 52px;
  width: auto;
}

.site-logo span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.primary-nav { display: flex; align-items: center; gap: 0; }

.primary-nav > li { position: relative; }

.primary-nav > li > a {
  display: block;
  padding: 0 1.1rem;
  height: 80px;
  line-height: 80px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
}

.primary-nav > li > a:hover,
.primary-nav > li.current-menu-item > a { color: var(--gold); }

.primary-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.primary-nav > li > a:hover::after,
.primary-nav > li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 220px;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li a {
  display: block;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.primary-nav .sub-menu li a:hover {
  color: var(--gold);
  padding-left: 1.8rem;
}

.header-cta {
  margin-left: 1.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* Sticky header */
.site-header.scrolled .header-main {
  box-shadow: 0 4px 24px rgba(13,27,42,0.12);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(184,151,58,0.08) 0%, transparent 60%),
    linear-gradient(to right, var(--navy) 55%, transparent 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184,151,58,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tagline {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tagline::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-pale);
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 3rem; right: 2rem;
  z-index: 2;
  display: flex;
  gap: 2px;
}

.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 120px;
  backdrop-filter: blur(10px);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
  display: block;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -2rem; right: -2rem;
  width: 50%;
  aspect-ratio: 1;
  border: 8px solid var(--cream);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.about-image-accent .number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.about-image-accent .label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}

.about-content h2 { color: var(--navy); margin-bottom: 1.5rem; }

.about-content p { color: var(--text-mid); font-size: 1.05rem; }

.about-features {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 32px; height: 32px;
  background: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.about-feature-icon svg { width: 16px; height: 16px; color: var(--navy); }

.about-feature h4 {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.about-feature p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* =====================================================
   PRACTICE AREAS
   ===================================================== */
.practice-areas {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.practice-areas::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 { color: var(--white); }
.section-header p { color: rgba(255,255,255,0.6); max-width: 500px; margin-top: 1rem; }
.section-header .eyebrow { color: var(--gold); }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.practice-card {
  background: var(--navy-mid);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.practice-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.practice-card:hover {
  background: var(--navy-light);
}

.practice-card:hover::before { transform: scaleX(1); }

.practice-card-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(184,151,58,0.12);
  position: absolute;
  top: 1rem; right: 1.5rem;
  line-height: 1;
  font-weight: 700;
  transition: color var(--transition);
}

.practice-card:hover .practice-card-number { color: rgba(184,151,58,0.25); }

.practice-card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}

.practice-card:hover .practice-card-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.practice-card-icon svg { width: 20px; height: 20px; color: var(--gold); }
.practice-card:hover .practice-card-icon svg { color: var(--navy); }

.practice-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.practice-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
}

.practice-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.practice-card:hover .practice-card-link {
  opacity: 1;
  transform: translateY(0);
}

.practice-card-link svg { width: 14px; }

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team { background: var(--white); }

.team .section-header h2 { color: var(--navy); }
.team .section-header p { color: var(--text-mid); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));/*230px*/
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  background: var(--cream);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(30%);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover .team-card-image-overlay { opacity: 1; }

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.team-card-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =====================================================
   WHY CHOOSE US / VALUES
   ===================================================== */
.values {
  background: var(--cream);
  position: relative;
}

.values-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.values-sidebar h2 { color: var(--navy); }

.values-list { display: flex; flex-direction: column; gap: 0; }

.value-item {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: background var(--transition);
}

.value-item:last-child { border-bottom: 1px solid var(--border); }

.value-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: rgba(184,151,58,0.3);
  line-height: 1;
  font-weight: 600;
}

.value-item h3 {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-item p { color: var(--text-mid); font-size: 0.95rem; margin: 0; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
  background: var(--navy-mid);
  position: relative;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 2rem; left: 3rem;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(184,151,58,0.04);
  line-height: 1;
  pointer-events: none;
}

.testimonials .section-header h2 { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border);
  background: rgba(255,255,255,0.06);
}

.testimonial-card p{
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

.testimonial-author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.testimonial-author-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}

/* =====================================================
   CONTACT / CTA BANNER
   ===================================================== */
.cta-banner {
  background: var(--gold);
  padding: 5rem 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-banner p { color: rgba(13,27,42,0.75); max-width: 480px; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 2.5rem;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all var(--transition);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,27,42,0.3);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-info p { color: var(--text-mid); }

.contact-details { margin-top: 2.5rem; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; color: var(--gold); }

.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-form { background: var(--cream); padding: 3rem; }

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.5);
}

.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social a svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin: 0; }

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: var(--navy);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); }
#primary-nav li {
  list-style: none;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-up { animation: fadeInUp 0.8s ease both; }
.animate-up-delay-1 { animation: fadeInUp 0.8s 0.1s ease both; }
.animate-up-delay-2 { animation: fadeInUp 0.8s 0.2s ease both; }
.animate-up-delay-3 { animation: fadeInUp 0.8s 0.3s ease both; }
.animate-up-delay-4 { animation: fadeInUp 0.8s 0.4s ease both; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-layout { grid-template-columns: 1fr; gap: 3rem; }
  .values-sidebar h2 { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  .section { padding: 4rem 0; }
  .section--lg { padding: 5rem 0; }

  .header-top { display: none; }

  .header-main-inner { height: 68px; }
  .site-logo img { height: 42px; }

  .primary-nav,
  .header-cta { display: none; }

  .menu-toggle { display: flex; }

  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    overflow-y: auto;
    padding: 2rem;
    z-index: 99;
  }

  .primary-nav.open > li > a {
    height: auto;
    line-height: 1.5;
    padding: 1rem 0;
    color: var(--white);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .primary-nav.open .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border-top: none;
    border-left: 2px solid var(--gold);
    margin: 0.5rem 0 0.5rem 1rem;
  }

  .hero { padding-top: 90px; }
  .hero-stats { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-accent { display: none; }

  .cta-banner-inner { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
	.primary-nav li:hover > .sub-menu{display:none;}
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .disclaimer-box { padding: 2rem 1.5rem; }
  .disclaimer-actions { flex-direction: column; }
}
.wpcf7-submit{
	background: var(--gold);
	font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-sub);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    transition: all var(--transition);
    position: relative;
    border: unset;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"]{
height: 42px;
padding: 8px 12px;
}
.values-sidebar {
  position: sticky;
  top: 120px;
}
.header-main-inner a.custom-logo-link img{
	width: 150px;
}
/* ── Mobile Submenu: hidden by default ── */
@media (max-width: 768px) {

  /* Hide all submenus by default */
  .primary-nav .sub-menu {
    display: none;
  }

  /* Show when parent has the open class (added by JS) */
  .menu-item-has-children.sub-menu-open > .sub-menu {
    display: block;
  }

  /* Optional: Add a visual indicator (▼ arrow) on items with children */
  .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8em;
    opacity: 0.7;
  }

  .menu-item-has-children.sub-menu-open > a::after {
    content: ' ▴'; /* Flip when open */
  }

}