/* ============================================================
   SarbazeVatan Law - styles.css
   LIGHT system: white is the principal colour.
   Palette: #ffffff (bg), #ffffff (alt), #1f0a07 (ink/buttons), #000000 (headings).
   Type: Libre Baskerville (titles) + Lato (body) + Vazirmatn (Persian).
   Header is transparent and integrated over the hero. RTL block at the end.
   ============================================================ */

:root {
  --white:   #ffffff;
  --offwhite:#ffffff;
  --slate:   #1f0a07;
  --black:   #000000;

  --bg:        #ffffff;
  --bg-soft:   #ffffff;
  --surface:   #ffffff;   /* cards */
  --surface-2: #ffffff;   /* card hover */
  --heading:   #000000;
  --text:      #000000;
  --text-dim:  rgba(0,0,0,.6);
  --line:        rgba(0,0,0,.12);
  --line-strong: rgba(0,0,0,.24);

  --footer-bg:   #1f0a07;
  --footer-text: rgba(255,255,255,.72);

  --h1: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem);
  --h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  --h3: clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  --lede: clamp(1rem, .96rem + .25vw, 1.15rem);

  --s1:.5rem; --s2:1rem; --s3:1.5rem; --s4:2rem; --s5:3rem; --s6:4.5rem; --s7:7rem;

  --maxw: 1240px;
  --pill: 999px;
  --card-radius: 12px;
  --img-radius: 64px 16px 64px 16px;
  --shadow: 0 30px 60px -40px rgba(0,0,0,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,h2,h3,h4 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.005em;
  color: var(--heading);
  margin: 0 0 .6em;
}
.card h3, .footer-brand .brand-name, .stat-key, .brand-name { font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: var(--s7); }
.section--soft { background: var(--bg-soft); }

/* Dark sections (practice areas + testimonials): #1f0a07 bg, #dad3c8 cards & off-card text */
.section--brand { background: #1f0a07; }
.section--brand h2,
.section--brand .eyebrow,
.section--brand .split-body p,
.section--brand .cards-label,
.section--brand .split-cta .link-arrow,
.section--brand .results-disclaimer,
.section--brand .testi-head h2 { color: #dad3c8; }
.section--brand .eyebrow::before,
.section--brand .cards-label::before { background: #dad3c8; }
/* cards and their contents */
.section--brand .card,
.section--brand .testi-card { background: #dad3c8; border-color: rgba(31,10,7,.18); }
.section--brand .card h3,
.section--brand .card p,
.section--brand .card-icon,
.section--brand .card .link-arrow,
.section--brand .testi-card blockquote,
.section--brand .testi-card .stars { color: #1f0a07; }
.section--brand .testi-card figcaption { color: rgba(31,10,7,.62); }
.section--brand .card:hover { border-color: rgba(31,10,7,.42); box-shadow: 0 26px 50px -28px rgba(0,0,0,.55); }
/* cream button on the dark background */
.section--brand .btn-cream { background: #dad3c8; color: #1f0a07; }
.section--brand .btn-cream:hover { background: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font: 700 .74rem/1 "Lato", sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(0,0,0,.65); margin: 0 0 1.2rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: rgba(0,0,0,.3); }

.section-head { max-width: 44rem; margin-bottom: var(--s5); }
.section-head h2 { font-size: var(--h2); }
.section-intro { color: var(--text); font-size: var(--lede); margin: 0; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--slate); color: #fff; padding: .7rem 1.1rem; }
.skip-link:focus { left: 0; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 700 .92rem/1 "Lato", sans-serif; letter-spacing: .01em;
  padding: 1rem 1.7rem; border-radius: var(--pill); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1.1rem 1.9rem; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-cream { background: var(--slate); color: #fff; }
.btn-cream:hover { background: #000; box-shadow: 0 12px 30px -16px rgba(0,0,0,.4); }
.btn-outline { background: transparent; color: var(--slate); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--slate); background: rgba(0,0,0,.04); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; color: var(--black);
  font-weight: 700; font-size: .88rem; letter-spacing: .01em;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ----------------------------- Header (fixed, transparent, integrated) ----------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.9); backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgba(0,0,0,.3);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.35rem; transition: padding .3s var(--ease); }
.site-header.scrolled .header-inner { padding-block: .85rem; }

.brand { display: flex; align-items: center; gap: .65rem; color: var(--black); }
.brand-mark { color: var(--black); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: "Libre Baskerville", serif; font-weight: 700; font-size: 1.25rem; letter-spacing: 0; color: var(--black); }
.brand-sub { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }

.primary-nav { display: flex; gap: 2rem; margin-inline: auto; }
.primary-nav a { font-weight: 700; font-size: .9rem; color: var(--slate); position: relative; padding-block: .3rem; transition: color .2s; }
.primary-nav a:hover { color: var(--black); }
.primary-nav a[aria-current="page"] { color: var(--black); }
.primary-nav a[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:1.5px; background: var(--black); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: "Vazirmatn","Lato",sans-serif; font-size: .85rem; font-weight: 700; color: var(--slate);
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--pill);
  padding: .55rem .85rem; cursor: pointer; transition: color .2s, border-color .2s;
}
.lang-toggle:hover { color: var(--black); border-color: var(--black); }
.lang-toggle svg { color: var(--slate); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--black); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: rgba(255,255,255,.98); backdrop-filter: blur(12px); padding: 1rem clamp(1.1rem,4vw,2rem) 1.6rem; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--black); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.2rem; }

/* Desktop dropdown nav */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; cursor: pointer;
  font: 700 .9rem/1 "Lato", sans-serif; color: var(--slate); padding: .3rem 0;
}
.nav-trigger:hover { color: var(--black); }
.nav-trigger .chev { transition: transform .25s var(--ease); }
.nav-item:hover .nav-trigger .chev, .nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 26px 50px -22px rgba(0,0,0,.32); padding: .5rem; margin-top: 8px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 200;
}
.dropdown::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; } /* hover bridge */
.nav-item:hover .dropdown, .nav-trigger[aria-expanded="true"] + .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: block; padding: .6rem .85rem; border-radius: 7px; color: var(--slate); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.dropdown a:hover { background: rgba(0,0,0,.05); color: #000; }

/* Mobile dropdown groups */
.m-group { border-bottom: 1px solid var(--line); }
.m-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer; padding: .9rem 0; color: var(--black);
  font: 700 1rem/1 "Lato", sans-serif; text-align: left;
}
.m-trigger .chev { transition: transform .25s var(--ease); flex: none; }
.m-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-sub { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.mobile-nav .m-sub a { border-bottom: 0; padding: .5rem 0 .5rem 1rem; font-size: .92rem; color: var(--slate); }

/* Trigger is now a link to the practice-areas page; reveal dropdown on hover or keyboard focus */
.nav-trigger { text-decoration: none; }
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
/* Mobile: category link + always-visible sub-list */
.mobile-nav nav a.m-cat { font-weight: 700; }
.mobile-nav .m-sub-static { padding-bottom: .5rem; }
.mobile-nav .m-sub-static a { border-bottom: 0; padding: .5rem 0 .5rem 1rem; font-size: .92rem; color: var(--slate); }
.about-head h1 { font-size: var(--h1); }

/* Dark hero band (#1f0a07) for the Services page and practice-area pages */
.dark-hero { background: #1f0a07; }
.dark-hero h1, .dark-hero h2 { color: #dad3c8; }
.dark-hero .eyebrow, .dark-hero .eyebrow a { color: #dad3c8; }
.dark-hero .eyebrow::before, .dark-hero .eyebrow::after { background: #dad3c8; }
.dark-hero p, .dark-hero .about-prose { color: #dad3c8; }
.dark-hero .or-call, .dark-hero .or-call span { color: #dad3c8 !important; }
.dark-hero .btn-cream { background: #dad3c8; color: #1f0a07; }
.dark-hero .btn-cream:hover { background: #fff; }

/* Service cards are links to their practice-area page */
a.card { text-decoration: none; }
a.card:hover { cursor: pointer; }

/* Anchor offset for the fixed header */
[id] { scroll-margin-top: 100px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem,4vw,3.2rem) clamp(1.8rem,3vw,2.4rem); }
.post-card { display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; margin-bottom: 1.3rem; }
.post-thumb .ph-photo { width: 100%; height: 100%; }
.post-card .meta { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .6rem; }
.post-card h3 { font-size: clamp(1.3rem,1.1rem+.55vw,1.6rem); margin-bottom: .5rem; }
.post-card p { color: var(--text); font-size: .96rem; }
.post-card .link-arrow { margin-top: .9rem; }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }

/* About page: centered, symmetric copy layout */
.about-sec { text-align: center; }
.about-sec .eyebrow, .center-head .eyebrow { justify-content: center; }
.about-sec .eyebrow::after, .center-head .eyebrow::after { content:""; width: 34px; height: 1px; background: rgba(0,0,0,.3); }
.section--brand .center-head .eyebrow::after { background: #dad3c8; }
.about-head, .center-head { max-width: 52rem; margin: 0 auto var(--s5); text-align: center; }
.about-head h2 { font-size: var(--h2); }
.about-prose { max-width: 60ch; margin-inline: auto; text-align: left; }
.about-prose p { margin-bottom: 1.25rem; }
.about-prose-2col { max-width: 66rem; margin-inline: auto; text-align: left; columns: 2; column-gap: clamp(2.2rem,5vw,4.5rem); }
.about-prose-2col p { break-inside: avoid; margin: 0 0 1.45rem; }
.about-cta { margin-top: var(--s4); }
@media (max-width: 760px) { .about-prose-2col { columns: 1; } }

/* ----------------------------- Hero (light, smaller, lower-left, aligned to logo) ----------------------------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .ph-photo { width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.0) 60%, rgba(255,255,255,.6) 100%);
}
/* hero-inner stays a full-width .container so its left edge lines up with the logo;
   the text width is constrained on the elements, not by centering a narrow column */
.hero-inner { padding-bottom: clamp(3.5rem, 9vh, 7rem); }
.hero h1 { font-size: var(--h1); font-weight: 400; color: var(--heading); max-width: 16ch; line-height: 1.18; }
.hero-lede { font-size: var(--lede); color: var(--text); max-width: 42ch; margin: 1.1rem 0 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.or-call { color: var(--text); font-size: .92rem; }
.or-call span { display: block; font-size: .76rem; color: var(--text-dim); letter-spacing: .04em; }
.hero-trust { display: inline-flex; align-items: center; gap: .55rem; margin: 0; color: var(--text); font-size: .82rem; }
.stars { color: var(--slate); letter-spacing: .12em; }

/* Placeholder photo block (light until a real photo is dropped in) */
.ph-photo {
  position: relative; overflow: hidden; border: 0;
  background: linear-gradient(135deg, #f1f1f1 0%, #ffffff 60%);
}
.ph-photo::after {
  content: attr(data-label); position: absolute; inset: auto 0 0 0; display: block; text-align: center;
  color: var(--text-dim); opacity: .4; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .9rem 1rem;
}
.ph-photo .ph-mono { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: "Libre Baskerville",serif; font-size: 2.6rem; color: rgba(0,0,0,.18); }
.hero .ph-photo .ph-mono, .feature .ph-photo .ph-mono, .cta-band .ph-photo .ph-mono { display: none; }
.frame .ph-photo { background: linear-gradient(150deg, #ececec, #ffffff 70%); }

/* ----------------------------- Pull quote mark ----------------------------- */
.pullquote-mark { font-family: "Libre Baskerville", serif; font-size: 9rem; line-height: .8; color: rgba(0,0,0,.06); position: absolute; top: -1rem; left: -.5rem; z-index: 0; }

/* ----------------------------- Split intro ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.split h2 { font-size: var(--h2); }
.split-body p { color: var(--text); }
.split-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }

/* ----------------------------- Cards ----------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(1.6rem,2.5vw,2.2rem); display: flex; flex-direction: column; min-height: 240px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.section--soft .card { background: #fff; }
.card-icon { width: 30px; height: 30px; color: var(--slate); margin-bottom: 2rem; }
.card h3 { color: var(--heading); font-size: var(--h3); margin-bottom: .5rem; }
.card p { color: var(--text); font-size: .94rem; flex: 1; }
.card .link-arrow { margin-top: 1.2rem; }

.cards-label { font-family:"Lato",sans-serif; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(0,0,0,.65); margin: var(--s5) 0 1.4rem; display: flex; align-items: center; gap: .8rem; }
.cards-label::before { content:""; width: 34px; height:1px; background: rgba(0,0,0,.3); }
.cards-label:first-of-type { margin-top: 0; }

/* ----------------------------- About photo band ----------------------------- */
.photoband { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.photoband .frame { aspect-ratio: 4/4.4; border-radius: var(--img-radius); }
.photoband h2 { font-size: var(--h2); }
.photoband .body p { color: var(--text); }
.frame { border-radius: var(--img-radius); overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Full-bleed feature (About hero) */
.feature { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.feature .hero-media, .feature .hero-scrim { position:absolute; inset:0; }
.feature .hero-media { z-index:-2; } .feature .hero-scrim { z-index:-1; }
.feature-inner { padding-block: clamp(2.5rem,6vw,5rem); width: 100%; }
.feature .hero-media img { width:100%; height:100%; object-fit:cover; object-position:58% center; }
.feature .hero-scrim { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 38%, rgba(0,0,0,.78) 100%); }
.feature .eyebrow { color: rgba(255,255,255,.85); }
.feature .eyebrow::before { background: rgba(255,255,255,.6); }
.feature-inner h1 { font-size: var(--h1); color:#fff; font-weight:400; max-width: 20ch; line-height: 1.18; }
.feature blockquote { font-family:"Libre Baskerville",serif; font-size: clamp(1.5rem,1.1rem+1.7vw,2.6rem); line-height: 1.3; color:var(--heading); font-weight:400; max-width: 24ch; margin: 0 0 var(--s5); }
.feature .stats-grid { padding-block: 0; border: 0; }
.feature .stat .stat-key { color:var(--heading); }
.feature .stat .stat-val { color: var(--text); }

/* Credential / stats band (About) */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem,4vw,4rem); padding-block: var(--s5); }
.stat .stat-key { font-family: "Libre Baskerville", serif; font-size: clamp(2rem,1.5rem+1.4vw,2.7rem); color: var(--heading); line-height: 1; display: block; margin-bottom: .7rem; }
.stat .stat-val { color: var(--text); font-size: .96rem; max-width: 30ch; }

/* ----------------------------- Testimonials marquee (two rows) ----------------------------- */
.testi-head { margin-bottom: var(--s5); }
.testi-head h2 { font-size: var(--h2); margin: 0; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: 1.4rem; }
.marquee-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 52s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.testi-card { width: 380px; max-width: 80vw; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); padding: 1.8rem; box-shadow: 0 20px 40px -34px rgba(0,0,0,.4); }
.testi-card .stars { font-size: .9rem; margin-bottom: 1rem; }
.testi-card blockquote { margin: 0 0 1.6rem; color: var(--heading); font-size: 1rem; line-height: 1.5; }
.testi-card figcaption { color: var(--text-dim); font-size: .9rem; }
.results-disclaimer { margin-top: 2rem; font-size: .8rem; color: var(--text-dim); max-width: 64ch; }

/* ----------------------------- FAQ accordion ----------------------------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.faq-aside h2 { font-size: var(--h2); }
.faq-aside .copy { color: var(--text); }
.faq-card { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.faq-card .ph-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.faq-card strong { display: block; color: var(--heading); }
.faq-card span { color: var(--text-dim); font-size: .9rem; }
.ph-avatar { background: var(--offwhite); border: 1px solid var(--line); display: grid; place-items: center; color: rgba(0,0,0,.6); font-family:"Libre Baskerville",serif; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.5rem 0; color: var(--heading); font-family: "Lato", sans-serif; font-size: 1.02rem; font-weight: 700;
}
.faq-q:hover { color: #000; }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background: var(--slate); transition: transform .3s var(--ease), opacity .3s; }
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 0 1.6rem; color: var(--text); max-width: 64ch; }

/* ----------------------------- Closing CTA band ----------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; text-align: center; background: #1f0a07; min-height: clamp(660px, 92vh, 880px); display: flex; align-items: flex-end; }
.cta-band .hero-media, .cta-band .hero-scrim { position:absolute; inset:0; }
.cta-band .hero-media{z-index:-2;} .cta-band .hero-scrim{z-index:-1;}
.cta-band .hero-media img.cta-img { width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.cta-band .hero-scrim { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.32) 45%, rgba(0,0,0,.72) 100%); }
.cta-inner { padding-top: clamp(3rem,6vw,5rem); padding-bottom: clamp(4rem,11vh,8rem); width: 100%; }
.cta-inner h2 { font-size: var(--h1); color:#fff; max-width: 20ch; margin-inline: auto; }
.cta-inner p { color: rgba(255,255,255,.88); font-size: var(--lede); max-width: 46ch; margin: 1.2rem auto 2.4rem; }
.cta-band .btn-cream { background:#dad3c8; color:#1f0a07; }
.cta-band .btn-cream:hover { background:#fff; }

/* ----------------------------- Contact ----------------------------- */
.contact-feature { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.contact-feature .hero-media, .contact-feature .hero-scrim { position:absolute; inset:0; }
.contact-feature .hero-media{z-index:-2;} .contact-feature .hero-scrim{z-index:-1;}
.contact-feature .hero-media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.contact-feature .hero-scrim {
  background:
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.28) 25%, rgba(0,0,0,.5) 100%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,0) 80%);
}
.contact-feature .contact-info h2 { color: #fff; }
.contact-feature .contact-info .lede { color: rgba(255,255,255,.9); }
.contact-feature .contact-info .eyebrow { color: rgba(255,255,255,.85); }
.contact-feature .contact-info .eyebrow::before { background: rgba(255,255,255,.6); }
.contact-feature .contact-info .ci-main { color: #fff; }
.contact-feature .contact-info .ci-ico { color: #dad3c8; }
.contact-feature .contact-info .ci-sub { color: rgba(255,255,255,.7); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(7rem,12vw,9rem); width: 100%; }
.contact-info h2 { font-size: var(--h1); color:var(--heading); }
.contact-info .lede { color: var(--text); font-size: var(--lede); max-width: 38ch; }
.contact-list { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci-ico { width: 22px; height: 22px; color: var(--slate); flex: none; margin-top: .2rem; }
.contact-list .ci-main { color: var(--heading); font-weight: 700; }
.contact-list .ci-sub { display: block; color: var(--text-dim); font-size: .85rem; font-weight: 400; }

.glass-form {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.6rem,3vw,2.6rem); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; color: var(--heading); margin-bottom: .45rem; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: .95rem; color: var(--heading);
  background: var(--offwhite); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(0,0,0,.14); }
.field textarea { resize: vertical; }
.form-disclaimer { font-size: .76rem; color: var(--text-dim); margin-top: 1rem; }
.form-status { font-size: .9rem; font-weight: 700; margin: .8rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #2f6b3f; } .form-status.err { color: #9b2c2c; }

/* ----------------------------- Footer (dark anchor) ----------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-block: var(--s6) var(--s4); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: clamp(2rem,4vw,3rem); padding-bottom: 2.6rem; }
.footer-logo { height: 60px; width: auto; display: block; margin-bottom: .9rem; }
.footer-brand .brand-name { display: block; font-size: 1.6rem; color: #fff; }
.footer-brand p { color: rgba(255,255,255,.62); }
.footer-social { display: inline-flex; flex-wrap: wrap; gap: .2rem; margin-top: 1.2rem; padding: .35rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: var(--footer-text); transition: background .2s, color .2s; }
.footer-social a:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-col h4 { color: rgba(255,255,255,.55); font-family:"Lato",sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: var(--footer-text); font-size: .94rem; padding: .35rem 0; margin: 0; }
.footer-col a:hover { color: #fff; }
.footer-links-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer-lang { background: none; border: 0; padding: .35rem 0; color: var(--footer-text); font-family:"Vazirmatn","Lato",sans-serif; font-size: .94rem; cursor: pointer; }
.footer-lang:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.14); padding-top: 2rem; }
.footer-disclaimer p { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 90ch; }
.footer-legal { margin-top: 1rem; font-size: .82rem; color: rgba(255,255,255,.5); }

.ph { color: var(--slate); font-style: italic; font-size: .9em; }

/* ----------------------------- Reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; }
}

/* ============================================================ Responsive */
@media (max-width: 1000px) {
  .primary-nav { display: none; }
  .header-actions .lang-toggle, .header-actions .btn-cream { display: none; }
  .nav-toggle { display: flex; }
  .split, .photoband, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .photoband.reverse .frame { order: -1; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --s7: 4.5rem; --s6: 3.4rem; --img-radius: 40px 12px 40px 12px; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-links-wrap { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: 100%; }
}

/* ============================================================
   Real logo + photographic homepage hero
   ============================================================ */
.brand-logo { height: 46px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 40px; }
.footer-brand .brand-logo { height: 54px; margin-bottom: .8rem; }

/* Homepage hero now carries a photo: cover it, keep the subject in view */
.hero-media img.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }

/* Dark scrim so white hero text stays readable over the photo (heavier on the left/bottom) */
.hero .hero-scrim {
  background:
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.48) 38%, rgba(0,0,0,.15) 66%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.5) 100%);
}
.hero h1 { color: #fff; }
.hero-lede { color: rgba(255,255,255,.9); }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero .eyebrow::before { background: rgba(255,255,255,.6); }
.hero .or-call { color: rgba(255,255,255,.85); }
.hero .or-call span { color: rgba(255,255,255,.62); }
.hero .or-call span[dir="ltr"] { color: #fff !important; }
.hero-trust { color: rgba(255,255,255,.85); }
.hero .stars { color: #fff; }

/* While the header sits over the photo hero (homepage, before scroll), make it light */
body.photo-hero .site-header:not(.scrolled) .brand-name { color: #fff; }
body.photo-hero .site-header:not(.scrolled) .brand-sub { color: rgba(255,255,255,.72); }
body.photo-hero .site-header:not(.scrolled) .primary-nav a,
body.photo-hero .site-header:not(.scrolled) .nav-trigger { color: rgba(255,255,255,.85); }
body.photo-hero .site-header:not(.scrolled) .primary-nav a:hover,
body.photo-hero .site-header:not(.scrolled) .nav-trigger:hover,
body.photo-hero .site-header:not(.scrolled) .primary-nav a[aria-current="page"] { color: #fff; }
body.photo-hero .site-header:not(.scrolled) .lang-toggle { color: #fff; border-color: rgba(255,255,255,.45); }
body.photo-hero .site-header:not(.scrolled) .lang-toggle svg { color: #fff; }
body.photo-hero .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
body.photo-hero .site-header:not(.scrolled) .btn-cream { background: #fff; color: #000; }
/* dropdown panel links stay dark even while the nav is light over the photo */
body.photo-hero .site-header:not(.scrolled) .dropdown a { color: var(--slate); }
body.photo-hero .site-header:not(.scrolled) .dropdown a:hover { color: #000; }

/* ============================================================ RTL / Persian */
[dir="rtl"] body,
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4,
[dir="rtl"] .brand-name,[dir="rtl"] .stat-key,[dir="rtl"] blockquote,
[dir="rtl"] .pullquote-mark,[dir="rtl"] .ph-mono,[dir="rtl"] .ph-avatar { font-family: "Vazirmatn","Tahoma",sans-serif; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4 { letter-spacing: 0; line-height: 1.5; }
[dir="rtl"] body { line-height: 1.9; }
[dir="rtl"] [dir="ltr"] { font-family: "Lato", sans-serif; }
[dir="rtl"] .pullquote-mark { left: auto; right: -.5rem; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .marquee--rev .marquee-track { animation-direction: normal; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(5px); }
