/* Refactored styles.css (conservative)
   - Adds global tokens for typography consistency across pages
   - Keeps original CSS below to preserve cascade/visual parity
*/
:root{
  --h1-size: 46px;
  --h1-line: 1.06;
  --h1-weight: 800;
  --h1-color: inherit;

  --h2-size: 28px;
  --h2-weight: 700;
  --h2-color: inherit;

  --h3-size: 16px;
  --h3-weight: 700;
  --h3-color: inherit;
}

/* Global typography system */
h1{font-size:var(--h1-size);line-height:var(--h1-line);font-weight:var(--h1-weight);color:var(--h1-color)}
h2{font-size:var(--h2-size);font-weight:var(--h2-weight);color:var(--h2-color)}
h3{font-size:var(--h3-size);font-weight:var(--h3-weight);color:var(--h3-color)}


:root{
  --bg: #f6f8fb;
  --text: #0b1220;
  --muted: rgba(11,18,32,.68);

  --navy: #0b1f3a;
  --navy2:#08162a;

  --gold: #d4af37;
  --gold2:#f1d27a;

  --line: rgba(11,18,32,.12);
  --shadow: 0 18px 50px rgba(11,18,32,.16);
  --shadow2: 0 10px 28px rgba(11,18,32,.12);
  --radius: 18px;
  --max: 1300px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1000px 550px at 15% 0%, rgba(212,175,55,.20), transparent 55%),
    radial-gradient(900px 520px at 85% 5%, rgba(11,31,58,.15), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.85}

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(12px, 2vw, 28px);
  padding-right: clamp(12px, 2vw, 28px);
}
.section{padding:76px 0}
.section.sm{padding:44px 0}

/* ---------------- NAV ---------------- */
.nav{
  position:sticky;top:0;z-index:50;
  background: linear-gradient(180deg, rgba(11,31,58,.95), rgba(8,22,42,.88));
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand span{
  font-size:12px;
  color: rgba(255,255,255,.72);
  line-height:1.2;
}

/* Bigger logo */
.logo{
  height: 78px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

.links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}


/* Mobile responsiveness fixes */
@media (max-width: 600px){
  .nav-inner{flex-wrap:wrap;}
  .links{width:100%;justify-content:flex-start;}
  .logo{height:52px;max-width:220px;}
  .footer-logo{height:80px;}
}
.links a{
  font-size:14px;
  color: rgba(255,255,255,.78);
  padding:8px 10px;border-radius:12px;
}
.links a:hover{background:rgba(255,255,255,.06)}
.links a.active{background:rgba(255,255,255,.10);color:#fff}

/* Buttons (default for dark areas like nav) */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-weight:700;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn.solid{
  color:#08162a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow: 0 18px 40px rgba(212,175,55,.25);
}
.btn.ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}

/* Buttons on LIGHT sections: make text readable */
.light-actions .btn:not(.solid){
  color: rgba(8,22,42,.92);
  background: rgba(11,31,58,.06);
  border: 1px solid rgba(11,18,32,.12);
  box-shadow: 0 12px 24px rgba(11,18,32,.10);
}
.light-actions .btn:not(.solid):hover{
  background: rgba(11,31,58,.09);
}
.light-actions .btn.ghost{
  background: rgba(255,255,255,.80);
}

/* ---------------- TYPO / COMMON ---------------- */
h1{
  font-size: 46px;
  line-height: 1.06;
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}
h2{font-size:28px;margin:0 0 10px;letter-spacing:-.01em}
h3{font-size:16px;margin:0 0 8px}
.lead{
  font-size: 16.8px;
  color: rgba(11,18,32,.70);
  max-width: 62ch;
}
.muted{color: var(--muted)}
hr.sep{border:0;border-top:1px solid var(--line);margin:18px 0}

.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.pill{
  font-size: 12.5px;
  color: rgba(11,18,32,.72);
  border: 1px solid rgba(11,18,32,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62));
  padding: 9px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(11,18,32,.08);
}

/* ---------------- CARDS / GRIDS ---------------- */
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(11,18,32,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.60));
  box-shadow: var(--shadow2);
}
.card.pad{padding:22px}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}

.list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.list li{
  padding:12px 14px;border-radius:14px;
  border:1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.78);
  color: rgba(11,18,32,.86);
}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 11px;border-radius:14px;
  border:1px solid rgba(11,18,32,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62));
  color: rgba(11,18,32,.84);
  font-size:13px;
  box-shadow: 0 10px 18px rgba(11,18,32,.08);
}

.notice{
  padding:14px 14px;border-radius:16px;
  border:1px solid rgba(212,175,55,.30);
  background: linear-gradient(135deg, rgba(241,210,122,.28), rgba(212,175,55,.12));
  color: rgba(11,18,32,.85);
}

/* Dedicated “expectations” card */
.expect-card{
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: linear-gradient(135deg, rgba(11,31,58,.92), rgba(8,22,42,.92));
  box-shadow: var(--shadow);
  color:#fff;
}
.expect-card .muted{color: rgba(255,255,255,.72)}
.expect-card .list li{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}
.expect-card .notice{
  color: rgba(255,255,255,.92);
  border:1px solid rgba(241,210,122,.28);
  background: linear-gradient(135deg, rgba(241,210,122,.18), rgba(255,255,255,.06));
}

/* ===================== */
/* HERO SLIDER (HCVT-like) */
/* ===================== */

.hero { padding: 44px 0 0; }

.hero-stage{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,18,32,.10);
  background: linear-gradient(135deg, rgba(11,31,58,.96), rgba(8,22,42,.96));
  min-height: 520px;
}

.hero-lines{
  position:absolute; inset:0;
  z-index:1;
  pointer-events:none;
  opacity: 0;
  background:
    radial-gradient(1000px 600px at 18% 10%, rgba(212,175,55,.18), transparent 55%),
    radial-gradient(900px 540px at 85% 10%, rgba(255,255,255,.06), transparent 55%),
    repeating-linear-gradient( -60deg, rgba(241,210,122, .08) 0 1px, transparent 1px 220px ),
    repeating-linear-gradient( 60deg, rgba(255,255,255,.06) 0 1px, transparent 1px 240px );
  animation: heroLinesIn 900ms ease forwards;
}

@keyframes heroLinesIn{
  0% { opacity:0; transform: translateY(10px); filter: blur(6px); }
  70%{ opacity:1; transform: translateY(0); filter: blur(1px); }
  100%{ opacity:1; transform: translateY(0); filter: blur(0); }
}

.hero-slides{ position:relative; z-index:2; }

.hero-slide{
  position:absolute; inset:0;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 24px;
  padding: 40px;
  opacity:0;
  transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.hero-slide.active{
  opacity:1;
  transform: translateY(0);
  position:relative;
}

/* left text (dark hero) */
.hero-left{
  max-width: 620px;
  color: rgba(255,255,255,.92);
}
.hero-left .h-eyebrow{
  color: rgba(241,210,122,.90);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
}
.hero-left h1{
  color:#fff;
  font-size: 52px;
  line-height: 1.02;
  margin: 10px 0 14px;
}
.hero-left .lead{
  color: rgba(255,255,255,.76);
  font-size: 17px;
  max-width: 58ch;
}
.hero-left .lead{
  margin-bottom: 0;
}

/* right image panel (no harsh left edge + shadow) */
.hero-media{
  position: relative;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  overflow: visible;
}
.hero-media img{
  width: min(880px, 100%);
  height: 520px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  transform: translateX(18px);
  opacity: 0;
  transition: opacity 700ms ease 250ms, transform 700ms ease 250ms;

  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 14%, rgba(0,0,0,1) 34%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 14%, rgba(0,0,0,1) 34%);
}
.hero-slide.active .hero-media img{
  opacity: 1;
  transform: translateX(0);
}

/* controls */
.hero-controls{
  position:absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.dots{
  display:flex;
  gap: 10px;
}
.dots .dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.dots .dot[aria-current="true"]{
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(212,175,55,.18);
}

.nav-arrows{
  display:flex;
  gap: 10px;
}
.arrow{
  border-radius: 10px;
  min-width: 38px;
  min-height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.20);
  cursor:pointer;
}
.arrow:hover{ transform: translateY(-2px); }

/* ---------------- FOOTER ---------------- */
.footer{
  margin-top: 70px;
  background: linear-gradient(180deg, rgba(11,31,58,1), rgba(8,22,42,1));
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 34px 0;
}
.footer .container{ max-width: var(--max); }
.footer a{color: rgba(241,210,122,.95)}
.footer small{color: rgba(255,255,255,.70)}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left{
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-logo{
  height: 150px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}
.footer-meta small{
  display:block;
  margin-top:10px;
}
.footer-meta .contact-line{
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-meta .contact-line a{
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-meta strong{color:#fff}

.footer-right{
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px){
  .hero-slide{ grid-template-columns: 1fr; padding: 26px; }
  .hero-media{ display:none; }
  .hero-stage{ min-height: 420px; }
  .hero-left h1{ font-size: 38px; }

  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}

  .logo{height: 46px; max-width: 220px;}

  .footer .container{max-width: 100%;}
  .footer-inner{flex-direction:column; align-items:flex-start}
  .footer-right{text-align:left; white-space: normal;}
  .footer-logo{height:70px;}
}


/* ===================== */
/* HOME: CLICKABLE SERVICE MINI PANELS */
/* ===================== */

.services-panels .container{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

/* the light “close lines” background like your reference */
.services-panels{
  background:
    radial-gradient(900px 480px at 12% -6%, rgba(212,175,55,0.06), transparent 60%),
    radial-gradient(900px 480px at 88% 0%, rgba(11,31,58,0.08), transparent 60%),
    #f6f7f9;

  padding-block: 36px;
}

.svc-panel{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 26px;
  align-items: center;
  padding: 22px 22px;
  border-radius: 18px;

  border: 1px solid rgba(11,18,32,0.06);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.96),
    rgba(255,255,255,0.88)
  );
  box-shadow: 0 14px 40px rgba(11,18,32,0.10);

  text-decoration: none;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.svc-panel:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(212,175,55,.26);
}

/* alternate layout (image on right, text on left) */
.svc-panel.reverse{
  grid-template-columns: 1fr 420px;
}
.svc-panel.reverse .svc-media{ order: 2; }
.svc-panel.reverse .svc-content{ order: 1; }

.svc-media{
  border-radius: 14px;
  overflow:hidden;
  position:relative;
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

/* soft edge like your reference (subtle fade) */
.svc-media img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;

  -webkit-mask-image: none;
  mask-image: none;
}

.svc-content{
  position:relative;
  padding-left: 18px;
}

/* gold accent bar (like the screenshot) */
.svc-content::before{
  content:"";
  position:absolute;
  left:0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  box-shadow: 0 10px 22px rgba(212,175,55,.25);
}

.svc-content h3{
  margin:0 0 6px;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: rgba(11,18,32,.92);
}

.svc-tagline{
  margin: 0 0 10px;
  font-weight: 700;
  color: rgba(11,18,32,.72);
}

.svc-cta{
  display:inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: rgba(11,31,58,.92);
}

/* responsive */
@media (max-width: 980px){
  .svc-panel,
  .svc-panel.reverse{
    grid-template-columns: 1fr;
  }
  .svc-panel.reverse .svc-media{ order: 0; }
  .svc-media img{ height: 200px; }
}

.section-head.center{
  text-align:center;
  margin-bottom: 18px;
}
.section-head.center h2{
  margin: 0;
}

/* ===================== */
/* ABOUT ECHELON SECTION */
/* ===================== */

.about-echel{
  background: #ffffff;
}

.container.narrow{
  max-width: 820px;
}

.about-echel h2{
  color: var(--navy);
  font-size: 32px;
  margin-bottom: 6px;
}

.about-subhead{
  margin: 0;
  font-size: 16px;
  color: rgba(11,18,32,.65);
}

.about-body{
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(11,18,32,.78);
}
/* Center-align About philosophy text */
.about-body{
  text-align: center;
}

.about-body{
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}


/* ===================== */
/* WHY CHOOSE ECHELON */
/* ===================== */

.why-panel{
  background: linear-gradient(135deg, rgba(11,31,58,.92), rgba(8,22,42,.92));
  color: #fff;
}

.why-panel h3{
  margin-top: 0;
  color: #fff;
}

.why-list{
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-list li{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

.why-right .muted{
  color: rgba(255,255,255,.72);
}
/* Force white text for right-side ghost CTA in Why section */
.why-right .btn.ghost{
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
/* Make outer background of Why section white (match About section) */
.section.why-wrap{
  background: #ffffff;
}
/* Force notice text to white inside Why Choose panel */
.why-panel .notice,
.why-panel .notice strong{
  color: #ffffff;
}

.why-panel .notice{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}


/* ============================ */
/* ABOUT PAGE — SCOPED STYLES   */
/* Paste at bottom of styles.css */
/* ============================ */

.about{
  /* page-scoped variables (won't affect other pages) */
  --navy:#0b1f3a;
  --navy2:#08162a;
  --ink:#0c1320;
  --muted:#5d677a;
  --bg:#f4f6fa;
  --card:#ffffff;
  --line:rgba(12,19,32,.10);
  --shadow:0 18px 60px rgba(10,20,40,.10);
  --shadow2:0 10px 30px rgba(10,20,40,.10);
  --gold:#d4af37;
  --gold2:#f1d27a;
  --radius:18px;
  --radius2:22px;
  --container:1300px;

  color: var(--ink);
  background: var(--bg);
}

/* keep container behavior consistent even if global .container differs */
.about .container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.about a{ color: inherit; text-decoration: none; }

.about h1, .about h2, .about h3{ margin: 0 0 10px; }
.about p{ margin: 0 0 10px; line-height: 1.65; }
.about .muted{ color: var(--muted); }
.about .subhead{ color: var(--muted); max-width: 70ch; }

/* Sections */
.about .section{ padding: 34px 0; }
.about .section--intro{ padding-top: 28px; }
.about .section--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,0));
}
.about .section--dark{
  background: linear-gradient(180deg, var(--navy), var(--navy2));
  color: #fff;
}
.about .section--cta{ padding-bottom: 60px; }

/* 2-column grid */
.about .grid-2{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}
.about .stack{ display:flex; flex-direction:column; gap:14px; }

/* Section heading with vertical accent line */
.about .section-head{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding: 0 0 6px;
}
.about .section-head h1{ font-size: 40px; letter-spacing: -.02em; }
.about .section-head h2{ font-size: 30px; letter-spacing: -.02em; }

.about .accent-line{
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  height: 44px;
  flex: 0 0 auto;
  margin-top: 6px;
  box-shadow: 0 10px 18px rgba(212,175,55,.20);
}

/* dark heading variant */
.about .section-head--dark h2{ color:#fff; }
.about .subhead--dark{ color: rgba(255,255,255,.74); }
.about .accent-line--dark{ box-shadow: 0 12px 26px rgba(212,175,55,.22); }

/* Cards */
.about .card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 18px 18px;
}
.about .card--flat{ padding: 18px 18px; }
.about .card h2{ font-size: 22px; }

/* How We Work pill cards */
.about .pill-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 10px 25px rgba(10,20,40,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about .pill-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10,20,40,.12);
}

/* How We Work — professional icon styling */
.about .pill-card .icon.icon--lg{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.20);
  color: rgba(11,31,58,.85);
  flex: 0 0 auto;
}

.about .pill-card .icon.icon--lg svg{
  width:22px;
  height:22px;
}


/* Who We Serve cards */
.about .serve{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about .serve-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px 16px;
  min-height: 160px;
}
.about .serve-ic{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(11,31,58,.06);
  border: 1px solid rgba(11,31,58,.10);
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1;
}
.about .serve-card h3{ font-size: 17px; margin: 0 0 6px; }
.about .hint{ margin-top: 10px; font-size: 13px; }

/* Dark trust section */
.about .checklist{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,.86);
}
.about .checklist li{
  padding-left: 26px;
  position: relative;
  line-height: 1.55;
}
.about .checklist li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold2);
  font-size: 22px;
  line-height: 1;
}

.about .stats{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.about .stat{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 16px 16px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.about .stat-kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.about .stat-value{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-top: 6px;
  color: #fff;
}
.about .stat-note{
  font-size: 13px;
  color: rgba(255,255,255,.70);
  margin-top: 4px;
}

/* What Sets Us Apart mini cards */
.about .mini-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 10px 24px rgba(10,20,40,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about .mini-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10,20,40,.12);
}
.about .mini-card h3{ font-size: 16px; margin: 0 0 6px; }

/* CTA card */
.about .cta-card{
  background: linear-gradient(135deg, rgba(11,31,58,.96), rgba(8,22,42,.96));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 22px 22px;
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.about .cta-card h2{ color:#fff; }
.about .cta-card .muted{ color: rgba(255,255,255,.75); }

.about .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.about .btn--gold{
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #0b1220;
  border: none;
  box-shadow: 0 18px 40px rgba(212,175,55,.18);
}

/* Motion (optional) */
.about .reveal{ animation: aboutRise .6s ease-out both; }
.about .reveal-stagger{ animation: aboutRise .6s ease-out both; }
.about .reveal-stagger:nth-child(1){ animation-delay:.05s; }
.about .reveal-stagger:nth-child(2){ animation-delay:.12s; }
.about .reveal-stagger:nth-child(3){ animation-delay:.19s; }
.about .reveal-stagger:nth-child(4){ animation-delay:.26s; }

@keyframes aboutRise{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .about .reveal, .about .reveal-stagger{ animation: none; }
}

/* Responsive */
@media (max-width: 980px){
  .about .grid-2{ grid-template-columns: 1fr; }
  .about .section-head h1{ font-size: 34px; }
  .about .section-head h2{ font-size: 26px; }
  .about .cta-card{ flex-direction: column; align-items: flex-start; }
}

/* Mobile swipe for Who We Serve */
@media (max-width: 780px){
  .about .serve{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .about .serve-card{
    min-width: 78%;
    scroll-snap-align: start;
  }
  .about .hint{ display: block; }
}

/* About — What Sets Us Apart layout tweak */
.about .about-apart{
  align-items: start;
}

.about .about-apart-cta{
  position: sticky;
  top: 110px; /* keeps it visible beside the panels */
}

/* Make CTA feel like the reference: not full-width, slightly softer */
.about .about-apart-cta .cta-card{
  width: 100%;
}

/* On mobile, stack naturally */
@media (max-width: 980px){
  .about .about-apart-cta{
    position: static;
    top: auto;
  }
}
/* Mini-card icon row (matches reference) */
.about .mini-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.about .mini-ic{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background: rgba(12,19,32,.04);
  border: 1px solid rgba(12,19,32,.08);
  color: rgba(12,19,32,.70);
  flex: 0 0 auto;
}

.about .mini-row h3{
  margin:0;
}

/* CTA title with icon */
.about .cta-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.about .cta-badge{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.22);
  color: rgba(241,210,122,1);
  flex: 0 0 auto;
}

.about .cta-actions--below{
  margin-top:12px;
}

/* Make CTA content stack naturally (button below text) */
.about .cta-card .cta-copy{
  width: 100%;
}


/* Optional: remove unused CTA badge styles */
.about .cta-badge{
  display:none;
}


/* ---------------------------
   Contact / Request a Consultation
   --------------------------- */

/* Colors and tokens used for contact page specifically */
:root{
  --contact-bg: radial-gradient(
    1200px 400px at top right,
    rgba(11, 31, 58, 0.08),
    transparent 60%
  ), #f6f7f9;
  --card-white: #ffffff;
  --card-warm: #fffefe;
  --input-bg: #f9fafb;
  --input-border: #e4e7ec;
  --gold-1: #f1d27a;
  --gold-2: #d4af37;
  --muted-navy: #1f2a44;
  --muted: #5d677a;
  --divider: rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --radius: 20px;
  --container: 1100px;
}

/* page wrapper */
.contact-page{background:var(--contact-bg);padding:40px 0 80px}

/* header */
.contact-head .contact-head-inner{display:flex;gap:18px;align-items:flex-start}
.contact-head h1{font-size:42px;margin:0 0 8px;color:var(--muted-navy)}
.contact-head .subhead{color:var(--muted);margin:0}

/* grid */
.contact-grid{gap:28px;align-items:start}
.contact-grid > *{min-height:160px}

/* cards */
.contact-card{
  background:var(--card-white);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  padding:22px;
  border:1px solid var(--divider);
}

/* right contact card slightly warmer tint */
.contact-info-card{background:var(--card-warm)}

/* headings */
.contact-card h2{font-size:20px;margin:0 0 12px;color:var(--muted-navy)}
.contact-info-card h3{font-size:20px;margin:0 0 12px;color:var(--muted-navy)}

/* form layout */
.consult-form{display:flex;flex-direction:column;gap:14px}
.consult-form .row.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.consult-form .row.three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.consult-form label{display:block;font-size:13px;color:var(--muted);}

/* label text */
.label-text{display:block;margin-bottom:6px;font-weight:600;color:var(--muted-navy)}

/* input styles */
.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form input[type="email"],
.consult-form select,
.consult-form textarea{
  width:100%;
  background:var(--input-bg);
  border:1px solid var(--input-border);
  padding:10px 12px;
  border-radius:10px;
  font-size:15px;
  color:var(--muted-navy);
  outline:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.consult-form textarea{min-height:84px;resize:vertical}

/* radio row */
.radio-row{display:flex;gap:12px;align-items:center}
.radio label{font-weight:500;color:var(--muted);display:inline-flex;align-items:center;gap:8px}
.radio input{margin-right:6px}

/* services groups - transparent over white with left gold accent */
.services{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.service-group{
  background:transparent;
  border-left:3px solid var(--gold-2);
  padding:10px 14px 10px 14px;
  border-radius:8px;
  margin-bottom:6px;
}
.service-head{font-weight:700;color:var(--muted-navy);margin-bottom:8px}
.service-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.service-list li label{color:var(--muted);font-weight:500;display:flex;align-items:center;gap:10px}

/* divider / subtle border between groups */
.service-group + .service-group{border-top:1px solid rgba(0,0,0,0.02)}

/* form foot / submit */
.form-foot{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.submit-btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:12px;
  border:none;
  font-weight:800;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color:#0b1220;
  box-shadow:0 14px 32px rgba(212,175,55,.18);
  cursor:pointer;
}

/* small muted text */
.muted.small{color:var(--muted);font-size:13px;margin:0}

/* right contact list */
.contact-info .info-list{list-style:none;padding:0;margin:12px 0 18px;display:flex;flex-direction:column;gap:12px}
.contact-info .info-list li{display:flex;gap:12px;align-items:center}
.info-icon{width:34px;height:34px;border-radius:8px;background:rgba(31,42,68,.06);display:grid;place-items:center;color:var(--muted-navy);opacity:.85;flex:0 0 auto}
.info-list a{color:var(--muted-navy);font-weight:600;text-decoration:none}

/* footnote (small) */
.footnote{margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,0.02);font-size:13px;color:var(--muted)}

/* responsive tweaks */
@media (max-width: 980px){
  .contact-grid{display:block}
  .contact-grid > *{width:100%}
  .consult-form .row.two,.consult-form .row.three{grid-template-columns:1fr;padding:0}
}

/* visual polishing — fine grain divider color */
.contact-card{border:1px solid rgba(0,0,0,0.06)}

/* Contact page title — ensure alignment matches About page */
.contact-head .section-head{
  align-items: flex-start;
}

/* Contact header exact fix: accent attached only to H1 */
.contact-head { padding-top: 12px; }

.contact-section-head{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-bottom: 30px; /* breathing room between header and card */
}

/* The H1 + accent row */
.heading-with-accent{
  display:flex;
  align-items:flex-start; /* align accent with top of the H1 text */
  gap:16px;
}

/* Accent line: anchored to title only */
.heading-with-accent .accent-line{
  width:4px;
  height:42px;                /* set to match your H1 visual size */
  border-radius:999px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  box-shadow:0 12px 26px rgba(212,175,55,.22);
  flex:0 0 auto;
  margin-top: 6px;           /* nudge to align vertically with the H1 */
}

/* H1 styles (ensure consistent baseline and no overlap) */
.contact-section-head h1{
  margin:0;
  line-height:1;
  font-size:44px;            /* keep whatever size you already use; match to your site */
  font-weight:800;
}

/* Subhead sits below, full width */
.contact-section-head .subhead{
  margin:0;
  color:var(--muted);
  max-width:82ch;
  font-size:16px;
}

/* Responsive adjustments so the accent never overlaps on narrow widths */
@media (max-width: 980px){
  .heading-with-accent .accent-line{
    height:44px;  /* shorter accent on smaller screens */
    margin-top:4px;
  }
  .contact-section-head h1{
    font-size:40px;
  }
  .contact-section-head{ padding-bottom:22px; }
}

@media (max-width:600px){
  .heading-with-accent{
    gap:12px;
    align-items:center; /* center on small screens for better rhythm */
  }
  .heading-with-accent .accent-line{
    height:36px;
    margin-top:0;
  }
  .contact-section-head h1{ font-size:30px; }
}


/* =========================
   SERVICES PAGE (6 cards)
   ========================= */

.services-page .section--intro{
  padding-top: 34px;
  padding-bottom: 10px;
}
.services-page .section--intro{
  padding-bottom: 6px;
}

/* Grid */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Card */
.service-card{
  background:#fff;
  border:1px solid rgba(12,19,32,.10);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(10,20,40,.10);
  padding: 20px 20px;
}

/* Header row inside card */
.service-card-head{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 12px;
}

.service-card h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.service-underline{
  display:block;
  width: 44px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  opacity: .95;
}

/* Icon style (match screenshot vibe) */
.service-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(212,175,55,.10);
  border: 1px solid rgba(212,175,55,.22);
  flex: 0 0 auto;
  margin-top: 2px;
}
.service-icon svg{
  width: 26px;
  height: 26px;
  stroke: #b88f1f;      /* gold-ish icon */
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Gold bullets */
.service-bullets{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(12,19,32,.78);
}

.service-bullets li{
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
}

.service-bullets li::before{
  content: "•";
  position:absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 980px){
  .services-grid{
    grid-template-columns: 1fr;
  }
}

/* Services page header only */
.section-head--services{
  display: flex;
  gap: 14px;
  align-items: flex-start; /* align with top of title */
  margin-bottom: 10px;     /* controls space before cards */
}

/* Gold accent line — tied to H1 only */
.section-head--services .accent-line{
  display: block;
  width: 4px;
  height: 52px;            /* match H1 visual height */
  border-radius: 999px;
  margin-top: 8px;         /* aligns with top of text */
  background: linear-gradient(180deg, #f1d27a, #d4af37);
  box-shadow: 0 10px 18px rgba(212,175,55,.20);
  flex: 0 0 auto;
}

/* Title spacing */
.section-head--services h1{
  margin: 0 0 8px;
  line-height: 1.05;
}

/* Subtitle spacing — keep it close but readable */
.section-head--services .subhead{
  margin: 0;
  max-width: 72ch;
}

/* =========================
   FAQ PAGE (scoped)
   ========================= */
.faq-page{
  background:
    radial-gradient(1200px 400px at top right, rgba(11, 31, 58, 0.08), transparent 60%),
    #f6f7f9;
}

.faq{
  padding-bottom: 40px;
}

/* Page header */
.faq-hero{
  padding: 34px 0 12px;
}

.faq-head{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.faq-head .accent-line{
  display:block;
  width:4px;
  height:58px;
  border-radius:999px;
  margin-top:10px;
  background: linear-gradient(180deg, #f1d27a, #d4af37);
  box-shadow: 0 10px 18px rgba(212,175,55,.20);
  flex: 0 0 auto;
}

.faq-head h1{
  margin:0 0 10px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color:#0b1220;
}

.faq-subhead{
  margin:0;
  max-width: 70ch;
  color: rgba(12,19,32,.68);
  font-size: 18px;
  line-height: 1.55;
}

/* Layout */
.faq-body{
  padding: 12px 0 56px;
}

.faq-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items:start;
}

/* Left card */
.faq-card{
  background:#ffffff;
  border: 1px solid rgba(12,19,32,.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  padding: 10px 14px;
}

/* Accordion items */
.faq-item{
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 8px 6px;
}

.faq-item:last-child{
  border-bottom:none;
}

.faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 8px;
  font-weight: 800;
  color:#0b1220;
  border-radius: 14px;
  transition: background .2s ease;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item summary:hover{
  background: rgba(11,31,58,.04);
}

.faq-chevron{
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(31,42,68,.55);
  border-bottom: 2px solid rgba(31,42,68,.55);
  transform: rotate(45deg);
  transition: transform .2s ease, opacity .2s ease;
  opacity:.9;
  flex: 0 0 auto;
}

.faq-item[open] summary{
  background: rgba(11,31,58,.05);
}

.faq-item[open] .faq-chevron{
  transform: rotate(-135deg);
  opacity: 1;
}

.faq-answer{
  padding: 0 10px 14px;
}

.faq-answer p{
  margin: 0;
  line-height: 1.65;
}

/* Right aside */
.faq-aside{
  background:#fffefe;
  border: 1px solid rgba(12,19,32,.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  padding: 18px 18px;
}

.faq-aside h2{
  margin:0 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color:#0b1220;
}

.faq-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.faq-divider{
  border: none;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin: 18px 0;
}

.faq-points{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
  color: rgba(12,19,32,.78);
}

.faq-points li{
  padding-left: 18px;
  position: relative;
}

.faq-points li::before{
  content:"";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d4af37;
  position:absolute;
  left:0;
  top: 9px;
  box-shadow: 0 8px 18px rgba(212,175,55,.18);
}

.faq-footnote{
  margin-top: 14px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .faq-grid{
    grid-template-columns: 1fr;
  }
  .faq-head .accent-line{
    height: 52px;
  }
}

/* =========================================================
   PATCH: Unified page title typography (H1) across pages
   Size adjusted per request: 42px
   ========================================================= */

:root{
  --page-h1-size: 42px;
  --page-h1-line: 1.06;
  --page-h1-weight: 800;
  --page-h1-color: #0b1220;
  --page-h1-track: -0.02em;

  --page-accent-height: 52px;
  --page-accent-offset: 10px;
}

.about .section-head h1,
.services-page .section-head--services h1,
.faq-head h1,
.contact-section-head h1{
  font-size: var(--page-h1-size);
  line-height: var(--page-h1-line);
  font-weight: var(--page-h1-weight);
  color: var(--page-h1-color);
  letter-spacing: var(--page-h1-track);
  margin: 0 0 10px;
}

.about .section-head .accent-line,
.section-head--services .accent-line,
.faq-head .accent-line,
.heading-with-accent .accent-line{
  height: var(--page-accent-height);
  margin-top: var(--page-accent-offset);
}

/* =========================
   MOBILE DRAWER NAV
   ========================= */

.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:10px;
  margin-left:auto;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:26px;
  height:2px;
  margin:6px 0;
  background:#fff;
  border-radius:2px;
}

/* hide desktop links on mobile, show hamburger */
@media (max-width: 768px){
  .links{ display:none; }
  .nav-toggle{ display:block; }
}

/* backdrop */
.menu-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:9998;
}

/* drawer */
.mobile-menu{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:min(86vw, 360px);
  background:#0b1b2c; /* با تم سرمه‌ای سایتت */
  transform:translateX(100%);
  transition:transform .25s ease;
  z-index:9999;
  padding:18px 18px 24px;
  box-shadow:-20px 0 60px rgba(0,0,0,0.35);
}

.mobile-menu-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 0 18px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}

.mobile-menu-title{
  color:#fff;
  font-weight:700;
  letter-spacing:.02em;
}

.mobile-menu-close{
  background:transparent;
  border:0;
  color:#fff;
  font-size:22px;
  cursor:pointer;
  padding:8px;
}

.mobile-menu-links{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-top:18px;
}

.mobile-menu-links a{
  color:#fff;
  text-decoration:none;
  font-size:20px;
  font-weight:600;
}

.mobile-menu-links .btn.solid{
  margin-top:10px;
  width:100%;
  text-align:center;
}

/* open state */
body.menu-open .mobile-menu{
  transform:translateX(0);
}

body.menu-open .menu-backdrop{
  opacity:1;
  pointer-events:auto;
}

/* prevent background scroll when menu open */
body.menu-open{
  overflow:hidden;
}