/* ============================================
   MEHAK JAHANGIR — ADVOCATE HIGH COURT
   Premium Editorial Design System
   ============================================ */

/* ---------- Design Tokens ---------- */
:root{
  --navy-deep:#0A1F3D;
  --navy-darker:#061428;
  --navy-mid:#14325C;
  --gold:#C9A961;
  --gold-light:#E4C987;
  --gold-dark:#A88A4A;
  --ivory:#F8F5EE;
  --cream:#F2EDE0;
  --charcoal:#1A1A1A;
  --text-body:#3A3A3A;
  --text-muted:#7A7A7A;
  --line:rgba(201,169,97,.28);
  --line-dark:rgba(255,255,255,.12);

  --font-display:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --font-body:"Manrope","Helvetica Neue",Arial,sans-serif;

  --container:1240px;
  --gutter:clamp(1.25rem,4vw,3rem);

  --ease:cubic-bezier(.2,.7,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  color:var(--text-body);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none;transition:color .3s var(--ease)}
button{font-family:inherit;cursor:pointer;border:none;background:none}
h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.01em;
  margin:0 0 .6em;
  color:var(--navy-deep);
}
p{margin:0 0 1em}
::selection{background:var(--gold);color:var(--navy-deep)}

/* ---------- Utilities ---------- */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.eyebrow{
  display:inline-flex;align-items:center;gap:.75rem;
  font-family:var(--font-body);
  font-size:.72rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.28em;
  color:var(--gold-dark);margin-bottom:1.25rem;
}
.eyebrow::before{
  content:"";width:32px;height:1px;background:var(--gold);
}
.eyebrow.light{color:var(--gold-light)}
.eyebrow.center{justify-content:center}
.eyebrow.center::after{
  content:"";width:32px;height:1px;background:var(--gold);
}

.display-xl{font-size:clamp(2.75rem,7vw,5.75rem);font-weight:400;letter-spacing:-.02em}
.display-lg{font-size:clamp(2.25rem,5vw,4rem);font-weight:400}
.display-md{font-size:clamp(1.75rem,3.2vw,2.75rem);font-weight:500}
.display-sm{font-size:clamp(1.4rem,2.2vw,1.85rem);font-weight:500}

.lead{
  font-size:clamp(1.05rem,1.4vw,1.2rem);
  line-height:1.75;color:var(--text-body);
  max-width:62ch;
}
.lead.light{color:rgba(248,245,238,.82)}

.muted{color:var(--text-muted)}
.center{text-align:center}
.mx-auto{margin-left:auto;margin-right:auto}

/* Gold rule */
.rule{
  width:64px;height:1px;background:var(--gold);
  margin:1.5rem 0;border:0;
}
.rule.center{margin-left:auto;margin-right:auto}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.65rem;
  padding:1.05rem 2.1rem;
  font-family:var(--font-body);
  font-size:.78rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;
  border:1px solid transparent;
  transition:all .4s var(--ease);
  position:relative;overflow:hidden;
  cursor:pointer;
}
.btn-primary{
  background:var(--gold);color:var(--navy-deep);
  border-color:var(--gold);
}
.btn-primary:hover{
  background:var(--gold-light);border-color:var(--gold-light);
  transform:translateY(-2px);
  box-shadow:0 18px 40px -12px rgba(201,169,97,.5);
}
.btn-outline{
  background:transparent;color:var(--ivory);
  border-color:rgba(248,245,238,.35);
}
.btn-outline:hover{
  background:var(--ivory);color:var(--navy-deep);
  border-color:var(--ivory);
}
.btn-dark{
  background:var(--navy-deep);color:var(--ivory);
  border-color:var(--navy-deep);
}
.btn-dark:hover{
  background:var(--navy-darker);transform:translateY(-2px);
  box-shadow:0 18px 40px -12px rgba(10,31,61,.35);
}
.btn-ghost{
  padding:.5rem 0;
  color:var(--navy-deep);border-bottom:1px solid var(--gold);
  border-radius:0;letter-spacing:.18em;
}
.btn-ghost:hover{color:var(--gold-dark);transform:translateX(6px)}

.btn .arrow{
  display:inline-block;transition:transform .4s var(--ease);
}
.btn:hover .arrow{transform:translateX(6px)}

/* ---------- Header / Nav ---------- */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:100;
  padding:1.25rem 0;
  transition:background .4s var(--ease),padding .4s var(--ease),border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgb(10,31,61);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  padding:.75rem 0;
  border-bottom-color:rgba(201,169,97,.2);
  box-shadow:0 8px 28px rgba(0,0,0,.18);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
}
.brand{
  display:flex;flex-direction:column;line-height:1;
  color:var(--ivory);
}
.brand .brand-name{
  font-family:var(--font-display);
  font-size:1.55rem;font-weight:500;
  letter-spacing:.02em;
}
.brand .brand-tag{
  font-size:.62rem;font-weight:600;letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--gold);margin-top:.35rem;
}

.nav-links{
  display:flex;gap:2.4rem;list-style:none;padding:0;margin:0;
}
.nav-links a{
  position:relative;
  color:var(--ivory);
  font-size:.78rem;font-weight:500;
  letter-spacing:.18em;text-transform:uppercase;
  padding:.5rem 0;
}
.nav-links a::after{
  content:"";position:absolute;left:0;bottom:0;
  width:0;height:1px;background:var(--gold);
  transition:width .4s var(--ease);
}
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after{width:100%}
.nav-links a[aria-current="page"]{color:var(--gold)}

.nav-cta{display:flex;align-items:center;gap:1rem}
.nav-phone{
  display:flex;align-items:center;gap:.5rem;
  color:var(--ivory);font-size:.82rem;font-weight:500;
  letter-spacing:.05em;
}
.nav-phone:hover{color:var(--gold)}

.menu-toggle{
  display:none;
  width:40px;height:40px;
  flex-direction:column;justify-content:center;gap:5px;
  padding:0;
}
.menu-toggle span{
  display:block;width:24px;height:1.5px;background:var(--ivory);
  margin:0 auto;transition:all .3s var(--ease);
}
.menu-toggle.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100vh;
  padding:12rem 0 6rem;
  display:flex;align-items:center;
  color:var(--ivory);
  overflow:hidden;
  isolation:isolate;
}
.hero-bg{
  position:absolute;inset:0;z-index:-2;
  background-size:cover;background-position:center;
  transform:scale(1.05);
  animation:slowZoom 20s var(--ease) forwards;
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(6,20,40,.65) 0%,rgba(6,20,40,.88) 70%,rgba(6,20,40,.96) 100%),
    radial-gradient(ellipse at 30% 40%,rgba(20,50,92,.4) 0%,transparent 60%);
}
@keyframes slowZoom{
  from{transform:scale(1.12)}
  to{transform:scale(1.02)}
}

.hero-inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1fr;gap:3rem;
  width:100%;
}
.hero-content{max-width:780px}
.hero h1{
  color:var(--ivory);
  margin-bottom:1.5rem;
}
.hero h1 .accent{
  font-style:italic;color:var(--gold-light);
  font-weight:300;
}
.hero-sub{
  color:rgba(248,245,238,.8);
  font-size:clamp(1.05rem,1.4vw,1.2rem);
  max-width:60ch;line-height:1.75;
  margin-bottom:2.5rem;
}

.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap}

.hero-meta{
  position:absolute;bottom:3rem;left:var(--gutter);right:var(--gutter);
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:2rem;align-items:end;
  z-index:1;
  padding-top:2rem;
  border-top:1px solid rgba(248,245,238,.18);
}
.hero-meta-item{
  font-size:.75rem;letter-spacing:.25em;text-transform:uppercase;
  color:rgba(248,245,238,.75);
}
.hero-meta-item strong{
  display:block;font-family:var(--font-display);
  font-size:2rem;font-weight:400;color:var(--gold-light);
  letter-spacing:-.01em;text-transform:none;margin-bottom:.25rem;
}

/* Page hero (sub-pages) */
.page-hero{
  position:relative;
  padding:11rem 0 5rem;
  color:var(--ivory);
  background:var(--navy-deep);
  overflow:hidden;
  isolation:isolate;
}
.page-hero-bg{
  position:absolute;inset:0;z-index:-2;
  background-size:cover;background-position:center;
  opacity:.32;
}
.page-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(6,20,40,.6) 0%,rgba(6,20,40,.95) 100%);
}
.breadcrumb{
  font-size:.72rem;letter-spacing:.25em;text-transform:uppercase;
  color:rgba(248,245,238,.6);margin-bottom:1.5rem;
}
.breadcrumb a:hover{color:var(--gold-light)}
.breadcrumb span{margin:0 .75rem;color:var(--gold)}
.page-hero h1{color:var(--ivory);margin-bottom:1rem}
.page-hero p{color:rgba(248,245,238,.78);max-width:56ch;font-size:1.1rem}

/* ---------- Sections ---------- */
section{padding:clamp(4.5rem,9vw,8rem) 0}
.section-dark{background:var(--navy-deep);color:var(--ivory)}
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4{color:var(--ivory)}
.section-cream{background:var(--cream)}

.section-head{margin-bottom:3.5rem;max-width:56ch}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}

/* ---------- Intro / Split ---------- */
.split{
  display:grid;gap:clamp(2.5rem,6vw,5rem);
  grid-template-columns:1fr;
  align-items:center;
}
@media(min-width:900px){
  .split{grid-template-columns:1fr 1fr}
  .split.reverse .split-media{order:2}
}
.split-media{position:relative}
.split-media .img-wrap{
  position:relative;aspect-ratio:4/5;overflow:hidden;
  box-shadow:0 40px 80px -30px rgba(10,31,61,.4);
}
.split-media .img-wrap img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.2s var(--ease);
}
.split-media:hover .img-wrap img{transform:scale(1.05)}
.split-media .badge{
  position:absolute;
  bottom:-30px;right:-30px;
  padding:1.75rem 2rem;
  background:var(--gold);color:var(--navy-deep);
  max-width:260px;
  z-index:2;
}
.split-media .badge strong{
  display:block;font-family:var(--font-display);
  font-size:2.6rem;font-weight:400;line-height:1;
  margin-bottom:.4rem;
}
.split-media .badge span{
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  font-weight:600;
}

.signature{
  font-family:var(--font-display);
  font-style:italic;
  font-size:2rem;color:var(--gold-dark);
  margin-top:1.5rem;
  font-weight:400;
}

/* ---------- Practice Areas Grid ---------- */
.areas-grid{
  display:grid;gap:1px;background:var(--line);
  grid-template-columns:1fr;
  border:1px solid var(--line);
}
@media(min-width:640px){.areas-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.areas-grid{grid-template-columns:repeat(4,1fr)}}

.area-card{
  background:var(--ivory);
  padding:2.5rem 2rem;
  transition:background .4s var(--ease);
  position:relative;
  display:flex;flex-direction:column;
  min-height:280px;
}
.area-card:hover{background:#fff}
.area-card .icon{
  width:48px;height:48px;
  color:var(--gold);margin-bottom:1.5rem;
}
.area-card h3{
  font-size:1.4rem;margin-bottom:.75rem;
}
.area-card p{
  font-size:.95rem;color:var(--text-muted);
  line-height:1.7;margin-bottom:1.25rem;
  flex-grow:1;
}
.area-card .link{
  font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--navy-deep);font-weight:600;
  display:inline-flex;align-items:center;gap:.5rem;
  transition:gap .3s var(--ease),color .3s var(--ease);
}
.area-card .link:hover{color:var(--gold-dark);gap:.85rem}

/* Tax Law callout strip — showcased below main practice grid */
.tax-callout{
  display:grid;gap:2rem;
  grid-template-columns:1fr;
  align-items:center;
  margin-top:2rem;
  padding:2.5rem 2.25rem;
  background:var(--navy-deep);
  color:var(--ivory);
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.tax-callout::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(120deg,transparent 40%,rgba(201,169,97,.08) 100%);
}
.tax-callout::after{
  content:"";position:absolute;
  top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
@media(min-width:800px){
  .tax-callout{grid-template-columns:auto 1fr auto;gap:2.5rem;padding:3rem 3rem}
}
.tax-callout .ic{
  width:64px;height:64px;flex-shrink:0;
  color:var(--gold-light);
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(201,169,97,.3);
  background:rgba(201,169,97,.06);
}
.tax-callout .ic svg{width:32px;height:32px}
.tax-callout .t-eyebrow{
  font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--gold-light);font-weight:600;
  margin-bottom:.6rem;
  display:block;
}
.tax-callout h3{
  color:var(--ivory);
  font-size:1.6rem;font-weight:500;
  margin:0 0 .4rem;
}
.tax-callout p{
  color:rgba(248,245,238,.78);
  margin:0;font-size:.98rem;line-height:1.65;
  max-width:62ch;
}
.tax-callout .cta{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.75rem 1.5rem;
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  font-weight:600;
  color:var(--navy-deep);background:var(--gold);
  transition:all .4s var(--ease);
  white-space:nowrap;
}
.tax-callout .cta:hover{
  background:var(--gold-light);
  transform:translateY(-2px);
  box-shadow:0 18px 40px -12px rgba(201,169,97,.45);
}
.tax-callout .cta span{transition:transform .3s var(--ease)}
.tax-callout .cta:hover span{transform:translateX(4px)}

/* Service detail cards (services page) */
.service-detail{
  display:grid;gap:3rem;
  grid-template-columns:1fr;
  padding:3rem 0;
  border-bottom:1px solid var(--line);
}
.service-detail:last-child{border-bottom:0}
@media(min-width:800px){.service-detail{grid-template-columns:1fr 2fr;gap:4rem}}

.service-detail .number{
  font-family:var(--font-display);
  font-size:3.5rem;color:var(--gold);
  line-height:1;font-weight:400;
}
.service-detail h3{
  font-size:2rem;margin-bottom:1rem;margin-top:.5rem;
}
.service-detail p{max-width:60ch}
.service-detail ul{
  list-style:none;padding:0;margin:1.5rem 0 0;
  display:grid;gap:.5rem;
  grid-template-columns:1fr;
}
@media(min-width:600px){.service-detail ul{grid-template-columns:1fr 1fr}}
.service-detail li{
  display:flex;align-items:flex-start;gap:.75rem;
  font-size:.95rem;
}
.service-detail li::before{
  content:"";flex-shrink:0;
  width:6px;height:6px;margin-top:.55rem;
  background:var(--gold);transform:rotate(45deg);
}

/* ---------- Why Choose / Features ---------- */
.features{
  display:grid;gap:2.5rem;
  grid-template-columns:1fr;
}
@media(min-width:720px){.features{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.features{grid-template-columns:repeat(3,1fr)}}

.feature{
  padding:2.5rem 2rem;
  border-top:1px solid var(--line);
  position:relative;
}
.feature .num{
  font-family:var(--font-display);
  font-size:.95rem;color:var(--gold-dark);
  letter-spacing:.1em;margin-bottom:1rem;
  font-style:italic;
}
.feature h3{font-size:1.35rem;margin-bottom:.75rem}
.feature p{color:var(--text-muted);font-size:.95rem;line-height:1.7;margin:0}

.section-dark .feature{border-color:var(--line-dark)}
.section-dark .feature p{color:rgba(248,245,238,.72)}
.section-dark .feature .num{color:var(--gold-light)}

/* ---------- Stats ---------- */
.stats{
  display:grid;gap:2rem;
  grid-template-columns:repeat(2,1fr);
  padding:3rem 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
@media(min-width:800px){.stats{grid-template-columns:repeat(4,1fr)}}

.stat{text-align:center}
.stat strong{
  display:block;
  font-family:var(--font-display);
  font-size:clamp(2.5rem,4.5vw,3.75rem);
  font-weight:400;color:var(--navy-deep);
  line-height:1;margin-bottom:.5rem;
}
.stat strong .plus{color:var(--gold)}
.stat span{
  font-size:.72rem;letter-spacing:.25em;text-transform:uppercase;
  color:var(--text-muted);font-weight:600;
}
.section-dark .stat strong{color:var(--gold-light)}
.section-dark .stat span{color:rgba(248,245,238,.65)}

/* ---------- Quote / Testimonial ---------- */
.quote-section{
  background:var(--navy-deep);
  color:var(--ivory);
  position:relative;overflow:hidden;
}
.quote-section::before{
  content:"“";
  position:absolute;
  top:-3rem;left:50%;transform:translateX(-50%);
  font-family:var(--font-display);
  font-size:22rem;line-height:1;
  color:var(--gold);opacity:.14;
  pointer-events:none;
}
.quote-block{
  max-width:820px;margin:0 auto;text-align:center;
  position:relative;z-index:1;
}
.quote-block p{
  font-family:var(--font-display);
  font-size:clamp(1.6rem,2.8vw,2.35rem);
  line-height:1.4;color:var(--ivory);
  font-weight:400;font-style:italic;
  margin-bottom:2rem;
}
.quote-cite{
  display:inline-flex;flex-direction:column;align-items:center;gap:.5rem;
  font-size:.75rem;letter-spacing:.25em;text-transform:uppercase;
  color:var(--gold-light);font-weight:600;
}
.quote-cite::before{
  content:"";width:40px;height:1px;background:var(--gold);
}

/* ---------- Testimonials Grid ---------- */
.testimonials{
  display:grid;gap:2rem;
  grid-template-columns:1fr;
}
@media(min-width:800px){.testimonials{grid-template-columns:repeat(3,1fr)}}

.testimonial{
  padding:2.5rem 2rem;
  background:#fff;
  border:1px solid var(--line);
  position:relative;
}
.testimonial .stars{color:var(--gold);margin-bottom:1rem;letter-spacing:.2em}
.testimonial blockquote{
  margin:0 0 1.5rem;
  font-size:1rem;line-height:1.75;
  color:var(--text-body);
  font-style:italic;
  font-family:var(--font-display);
  font-size:1.15rem;
}
.testimonial cite{
  font-style:normal;
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--navy-deep);font-weight:700;
}
.testimonial cite small{
  display:block;margin-top:.35rem;
  color:var(--text-muted);font-weight:500;letter-spacing:.15em;
}

/* ---------- Process / Timeline ---------- */
.process{
  display:grid;gap:0;
  grid-template-columns:1fr;
  counter-reset:step;
}
@media(min-width:800px){.process{grid-template-columns:repeat(4,1fr)}}

.process-step{
  padding:2.5rem 1.5rem 2.5rem 0;
  position:relative;
  counter-increment:step;
}
@media(min-width:800px){
  .process-step{padding:2.5rem 2rem 2.5rem 0;border-left:1px solid var(--line);padding-left:2rem}
  .process-step:first-child{border-left:0;padding-left:0}
}
.process-step::before{
  content:"0" counter(step);
  display:block;
  font-family:var(--font-display);
  font-style:italic;
  font-size:2.25rem;color:var(--gold);
  margin-bottom:1rem;line-height:1;
}
.process-step h3{font-size:1.2rem;margin-bottom:.75rem}
.process-step p{color:var(--text-muted);font-size:.9rem;line-height:1.7;margin:0}

.section-dark .process-step{border-color:var(--line-dark)}
.section-dark .process-step p{color:rgba(248,245,238,.72)}

/* ---------- CTA Banner ---------- */
.cta-banner{
  padding:clamp(4rem,7vw,6rem) 0;
  background:
    linear-gradient(135deg,rgba(10,31,61,.94),rgba(6,20,40,.88)),
    var(--navy-deep);
  color:var(--ivory);
  text-align:center;position:relative;overflow:hidden;
}
.cta-banner::after{
  content:"";position:absolute;inset:auto 0 0 0;height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.cta-banner h2{color:var(--ivory);margin-bottom:1rem;max-width:20ch;margin-left:auto;margin-right:auto}
.cta-banner p{max-width:50ch;margin:0 auto 2rem;color:rgba(248,245,238,.75);font-size:1.1rem}
.cta-banner .cta-row{display:inline-flex;gap:1rem;flex-wrap:wrap;justify-content:center}

/* ---------- Credentials / Timeline ---------- */
.credentials{
  display:grid;gap:0;grid-template-columns:1fr;
}
.credential{
  display:grid;gap:1.5rem;
  grid-template-columns:1fr;
  padding:2.25rem 0;
  border-top:1px solid var(--line);
}
.credential:last-child{border-bottom:1px solid var(--line)}
@media(min-width:700px){.credential{grid-template-columns:180px 1fr;gap:3rem}}

.credential .year{
  font-family:var(--font-display);
  font-size:1.6rem;color:var(--gold-dark);
  font-style:italic;
  line-height:1;
}
.credential h3{font-size:1.3rem;margin-bottom:.35rem}
.credential .place{
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--text-muted);font-weight:600;margin-bottom:.75rem;
}
.credential p{color:var(--text-muted);margin:0;max-width:60ch}

/* ---------- Contact ---------- */
.contact-grid{
  display:grid;gap:3rem;
  grid-template-columns:1fr;
}
@media(min-width:900px){.contact-grid{grid-template-columns:1.1fr 1fr;gap:4rem}}

.contact-form{
  background:#fff;padding:clamp(2rem,4vw,3rem);
  border:1px solid var(--line);
}
.form-row{
  display:grid;gap:1.25rem;
  grid-template-columns:1fr;margin-bottom:1.25rem;
}
@media(min-width:600px){.form-row.two{grid-template-columns:1fr 1fr}}

.form-field label{
  display:block;
  font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--navy-deep);font-weight:700;
  margin-bottom:.55rem;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  padding:.9rem 1rem;
  font-family:var(--font-body);
  font-size:1rem;color:var(--navy-deep);
  background:var(--ivory);
  border:1px solid transparent;
  border-bottom:1px solid var(--line);
  transition:all .3s var(--ease);
  outline:none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color:var(--gold);
  background:#fff;
}
.form-field textarea{resize:vertical;min-height:140px;line-height:1.6}
.form-note{
  font-size:.8rem;color:var(--text-muted);
  margin-top:1.25rem;line-height:1.6;
}
.form-status{
  padding:1rem;margin-top:1.25rem;
  font-size:.9rem;
  display:none;
  border:1px solid var(--line);background:var(--cream);
}
.form-status.success{border-color:#2a7a4a;color:#1b5a34;background:#eaf5ee;display:block}

/* Contact details */
.contact-info{padding-top:1rem}
.info-block{
  padding:2rem 0;
  border-bottom:1px solid var(--line);
}
.info-block:last-child{border-bottom:0}
.info-block h3{
  font-size:.72rem;letter-spacing:.25em;text-transform:uppercase;
  color:var(--gold-dark);font-weight:700;
  font-family:var(--font-body);
  margin-bottom:.8rem;
}
.info-block p{margin:0;color:var(--text-body);line-height:1.7}
.info-block a{color:var(--navy-deep);font-weight:500}
.info-block a:hover{color:var(--gold-dark)}
.info-block .big{
  font-family:var(--font-display);
  font-size:1.5rem;color:var(--navy-deep);
  font-weight:500;
}

/* ---------- FAQ ---------- */
.faq-list{max-width:820px;margin:0 auto}
.faq-item{
  border-top:1px solid var(--line);
  padding:1.5rem 0;
}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;
  gap:1.5rem;
  font-family:var(--font-display);
  font-size:1.3rem;font-weight:500;
  color:var(--navy-deep);
  cursor:pointer;
  list-style:none;
}
.faq-q::-webkit-details-marker{display:none}
.faq-q::after{
  content:"+";
  flex-shrink:0;
  font-family:var(--font-display);
  font-size:1.8rem;color:var(--gold);
  transition:transform .3s var(--ease);
  line-height:1;
}
.faq-item[open] .faq-q::after{content:"–"}
.faq-a{
  padding-top:1rem;
  color:var(--text-muted);line-height:1.75;
  max-width:65ch;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy-darker);color:rgba(248,245,238,.7);
  padding-top:5rem;
}
.footer-grid{
  display:grid;gap:3rem;
  grid-template-columns:1fr;
  padding-bottom:4rem;
}
@media(min-width:700px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(min-width:1000px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}

.footer-brand .brand-name{
  font-family:var(--font-display);
  font-size:1.75rem;color:var(--ivory);
  display:block;margin-bottom:.25rem;
}
.footer-brand .brand-tag{
  font-size:.65rem;letter-spacing:.3em;text-transform:uppercase;
  color:var(--gold);font-weight:600;
}
.footer-brand p{margin-top:1.25rem;max-width:36ch;font-size:.92rem;line-height:1.75}

.footer h4{
  font-family:var(--font-body);
  font-size:.7rem;letter-spacing:.25em;text-transform:uppercase;
  color:var(--ivory);font-weight:700;
  margin-bottom:1.25rem;
}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.65rem}
.footer a{color:rgba(248,245,238,.7);font-size:.92rem}
.footer a:hover{color:var(--gold-light)}

.footer-bottom{
  border-top:1px solid var(--line-dark);
  padding:1.75rem 0;
  display:flex;justify-content:space-between;align-items:center;
  gap:1rem;flex-wrap:wrap;
  font-size:.82rem;color:rgba(248,245,238,.5);
}
.footer-bottom a:hover{color:var(--gold-light)}

/* ---------- WhatsApp FAB ---------- */
.wa-fab{
  position:fixed;bottom:24px;right:24px;z-index:999;
  width:60px;height:60px;
  background:#25D366;color:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px rgba(37,211,102,.45),0 2px 8px rgba(0,0,0,.15);
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
  animation:waPulse 2.5s infinite;
}
.wa-fab:hover{
  transform:scale(1.08);
  box-shadow:0 16px 40px rgba(37,211,102,.55),0 4px 12px rgba(0,0,0,.2);
  animation:none;
}
.wa-fab svg{width:30px;height:30px;fill:#fff}
.wa-fab::before{
  content:"";position:absolute;inset:-6px;
  border-radius:50%;border:2px solid rgba(37,211,102,.5);
  animation:waRing 2.5s infinite;
  pointer-events:none;
}
@keyframes waPulse{
  0%,100%{box-shadow:0 10px 30px rgba(37,211,102,.45),0 2px 8px rgba(0,0,0,.15)}
  50%{box-shadow:0 10px 30px rgba(37,211,102,.7),0 2px 8px rgba(0,0,0,.2)}
}
@keyframes waRing{
  0%{transform:scale(1);opacity:.7}
  100%{transform:scale(1.5);opacity:0}
}

.wa-tooltip{
  position:absolute;right:72px;
  background:var(--navy-deep);color:#fff;
  padding:.65rem 1rem;
  font-size:.82rem;font-weight:500;
  white-space:nowrap;
  border-radius:3px;
  opacity:0;pointer-events:none;
  transform:translateX(8px);
  transition:all .3s var(--ease);
}
.wa-tooltip::after{
  content:"";position:absolute;
  right:-6px;top:50%;transform:translateY(-50%);
  border:6px solid transparent;
  border-left-color:var(--navy-deep);
}
.wa-fab:hover .wa-tooltip{opacity:1;transform:translateX(0)}

/* ---------- Reveal Animation ---------- */
.reveal{
  opacity:0;transform:translateY(30px);
  transition:opacity 1s var(--ease-out),transform 1s var(--ease-out);
}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-delay-1{transition-delay:.12s}
.reveal-delay-2{transition-delay:.24s}
.reveal-delay-3{transition-delay:.36s}
.reveal-delay-4{transition-delay:.48s}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .hero-bg{animation:none!important}
  .reveal{opacity:1;transform:none}
}

/* ---------- Mobile Nav ---------- */
@media(max-width:900px){
  /* Brand: lock to single line so it never wraps awkwardly */
  .brand{max-width:58%;min-width:0}
  .brand .brand-name{
    white-space:nowrap;
    font-size:1.2rem;
    overflow:hidden;text-overflow:ellipsis;
  }
  .brand .brand-tag{
    white-space:nowrap;
    font-size:.58rem;
    letter-spacing:.22em;
    margin-top:.3rem;
    overflow:hidden;text-overflow:ellipsis;
  }
  /* Language switcher: compact on mobile so brand keeps its room */
  .lang-switch{
    font-size:.68rem;
    gap:.4rem;
    padding-right:0;
    border-right:0;
    margin-right:.25rem;
  }
  .lang-switch .urdu-label{font-size:.9rem}
  .nav-cta{gap:.6rem}

  /* Urdu mobile brand — Nastaliq needs its own metrics */
  html[lang="ur"] .brand{max-width:62%}
  html[lang="ur"] .brand .brand-name{
    font-size:1.15rem;
    line-height:1.5;
    white-space:nowrap;
  }
  html[lang="ur"] .brand .brand-tag{
    font-size:.7rem;
    line-height:1.3;
    letter-spacing:.15em;
    white-space:nowrap;
    margin-top:.15rem;
  }

  .nav-links{
    position:fixed;inset:0 0 0 auto;
    width:min(82%,360px);
    background:var(--navy-darker);
    flex-direction:column;
    padding:6rem 2rem 2rem;
    gap:1.5rem;
    transform:translateX(100%);
    transition:transform .5s var(--ease);
    border-left:1px solid var(--line-dark);
    z-index:99;
    box-shadow:-12px 0 40px rgba(0,0,0,.35);
  }
  .nav-links.open{transform:translateX(0)}
  .nav-links a{font-size:1rem;letter-spacing:.2em}
  .menu-toggle{display:flex;z-index:101}
  .nav-phone{display:none}
  .hero{flex-direction:column;align-items:stretch;padding-bottom:3rem}
  .hero-meta{position:static;margin-top:3rem;grid-template-columns:1fr;gap:1.5rem;width:100%}
  .hero-meta-item strong{font-size:1.6rem}
  .split-media .badge{bottom:-20px;right:20px}
}

/* ---------- Print Safety ---------- */
@media print{
  .site-header,.wa-fab,.cta-banner{display:none}
  body{color:#000;background:#fff}
}

/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */
.lang-switch{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-body);
  font-size:.72rem;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;
  padding-right:1rem;
  border-right:1px solid rgba(248,245,238,.18);
}
.lang-switch a{
  color:rgba(248,245,238,.55);
  transition:color .3s var(--ease);
  padding:.25rem 0;
}
.lang-switch a.active{color:var(--gold)}
.lang-switch a:not(.active):hover{color:var(--ivory)}
.lang-switch .sep{color:rgba(248,245,238,.25);font-weight:400}
.lang-switch .urdu-label{
  font-family:'Noto Nastaliq Urdu',var(--font-body);
  font-size:.95rem;font-weight:500;
  letter-spacing:0;line-height:1;
  position:relative;top:1px;
}
@media(max-width:900px){
  .lang-switch{border-right:0;padding-right:0;margin-right:.5rem}
}

/* =====================================================
   URDU / RTL SUPPORT
   ===================================================== */
html[lang="ur"]{direction:rtl}
html[lang="ur"] body{
  font-family:'Noto Nastaliq Urdu','Noto Naskh Arabic',var(--font-body);
  line-height:2.1;
  font-size:15px;
}
html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="ur"] h4,
html[lang="ur"] h5{
  font-family:'Noto Nastaliq Urdu','Noto Naskh Arabic',var(--font-display);
  line-height:1.7;
  letter-spacing:0;
  font-weight:500;
}
html[lang="ur"] .display-xl{line-height:1.55;font-size:clamp(2rem,5vw,3.75rem)}
html[lang="ur"] .display-lg{line-height:1.55;font-size:clamp(1.75rem,4vw,2.75rem)}
html[lang="ur"] .display-md{line-height:1.6;font-size:clamp(1.4rem,2.6vw,2rem)}
html[lang="ur"] .display-sm{line-height:1.6}
html[lang="ur"] .lead{font-size:clamp(1rem,1.3vw,1.1rem);line-height:2}

/* Urdu-specific brand styling */
html[lang="ur"] .brand .brand-name{
  font-family:'Noto Nastaliq Urdu',var(--font-display);
  font-size:1.45rem;line-height:1.5;
}
html[lang="ur"] .brand .brand-tag{
  font-family:var(--font-body);
  letter-spacing:.15em;
  margin-top:.1rem;
}

/* Eyebrow + labels */
html[lang="ur"] .eyebrow{
  font-family:var(--font-body);
  letter-spacing:.15em;
  line-height:1.4;
}
html[lang="ur"] .eyebrow::before,
html[lang="ur"] .eyebrow.center::after{background:var(--gold)}

/* Buttons in Urdu - reduce letter-spacing which doesn't work well */
html[lang="ur"] .btn{
  font-family:var(--font-body);
  letter-spacing:.08em;
  font-size:.8rem;
}
html[lang="ur"] .btn .arrow{transform:scaleX(-1)}
html[lang="ur"] .btn:hover .arrow{transform:scaleX(-1) translateX(6px)}
html[lang="ur"] .btn-ghost:hover{transform:translateX(-6px)}

/* Navigation letter-spacing reset */
html[lang="ur"] .nav-links a{
  font-family:'Noto Nastaliq Urdu',var(--font-body);
  font-size:.95rem;letter-spacing:.02em;
  line-height:1.4;
  padding:.3rem 0;
}

/* Hero adjustments */
html[lang="ur"] .hero h1 .accent{font-style:normal;font-weight:400}

/* Split-media badge — flip to left side in RTL */
html[lang="ur"] .split-media .badge{
  right:auto;left:-30px;
}
@media(max-width:900px){
  html[lang="ur"] .split-media .badge{right:auto;left:20px}
}

/* Area cards */
html[lang="ur"] .area-card .link{letter-spacing:.05em}
html[lang="ur"] .area-card .link span{display:inline-block;transform:scaleX(-1)}

/* Tax callout flip */
html[lang="ur"] .tax-callout::after{
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
html[lang="ur"] .tax-callout .cta span{transform:scaleX(-1)}
html[lang="ur"] .tax-callout .cta:hover span{transform:scaleX(-1) translateX(4px)}

/* Process steps — flip border to right side */
@media(min-width:800px){
  html[lang="ur"] .process-step{
    border-left:0;
    border-right:1px solid var(--line);
    padding-left:0;padding-right:2rem;
  }
  html[lang="ur"] .process-step:first-child{
    border-right:0;padding-right:0;
  }
  html[lang="ur"] .section-dark .process-step{border-color:var(--line-dark)}
}

/* Service detail numbers in RTL */
html[lang="ur"] .service-detail .number{
  font-family:var(--font-display);
}

/* Credentials year column */
html[lang="ur"] .credential .year{
  font-family:var(--font-display);
}

/* Footer list links */
html[lang="ur"] .footer h4{
  font-family:var(--font-body);
  letter-spacing:.15em;
}
html[lang="ur"] .footer a{
  font-family:'Noto Nastaliq Urdu',var(--font-body);
  font-size:.95rem;line-height:1.6;
}

/* Form labels */
html[lang="ur"] .form-field label{
  font-family:var(--font-body);
  letter-spacing:.12em;
}
html[lang="ur"] .form-field input,
html[lang="ur"] .form-field select,
html[lang="ur"] .form-field textarea{
  font-family:'Noto Nastaliq Urdu',var(--font-body);
  font-size:.95rem;line-height:1.7;
  text-align:right;
}

/* FAQ */
html[lang="ur"] .faq-q{
  font-family:'Noto Nastaliq Urdu',var(--font-display);
  font-size:1.1rem;line-height:1.6;
}
html[lang="ur"] .faq-a{line-height:1.95}

/* Stars - keep LTR for ratings */
html[lang="ur"] .stars{direction:ltr;text-align:right}

/* Quote section */
html[lang="ur"] .quote-block p{
  font-family:'Noto Nastaliq Urdu',var(--font-display);
  font-size:clamp(1.3rem,2.2vw,1.85rem);
  line-height:1.8;font-style:normal;
}

/* Breadcrumb */
html[lang="ur"] .breadcrumb span{margin:0 .75rem}

/* WhatsApp FAB — flip to bottom-left in RTL */
html[lang="ur"] .wa-fab{right:auto;left:24px}
html[lang="ur"] .wa-tooltip{right:auto;left:72px;transform:translateX(-8px)}
html[lang="ur"] .wa-tooltip::after{
  right:auto;left:-6px;
  border-left-color:transparent;
  border-right-color:var(--navy-deep);
}
html[lang="ur"] .wa-fab:hover .wa-tooltip{transform:translateX(0)}

/* Phone number in nav should stay LTR (it's a number); hero/cta rows stay RTL */
html[lang="ur"] .hero-ctas,
html[lang="ur"] .cta-row{direction:rtl}

/* Tel and email links keep LTR (but don't force display on .nav-phone which is flex + hides on mobile) */
html[lang="ur"] a[href^="tel:"]:not(.nav-phone),
html[lang="ur"] a[href^="mailto:"],
html[lang="ur"] .info-block .big{direction:ltr;unicode-bidi:embed;display:inline-block}
html[lang="ur"] .nav-phone{direction:ltr}

/* Keep English brand-tag as CSS utility */
html[lang="ur"] .ltr{direction:ltr;unicode-bidi:embed}

/* Numbers/stats — keep LTR */
html[lang="ur"] .hero-meta-item strong,
html[lang="ur"] .stat strong,
html[lang="ur"] .split-media .badge strong{direction:ltr;unicode-bidi:embed}

/* Signature scripted */
html[lang="ur"] .signature{font-family:'Noto Nastaliq Urdu',var(--font-display);font-style:normal}