/* ═══════════════════════════════════════════════════════════════
   VERITAS LANGUAGE LLC — main.css
   Design System — Navy Blue & Amber Gold (Logo-matched)
   Fonts: Fraunces (serif headings) + Geist (body/UI)
═══════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  /* ── Core Brand (from logo) ── */
  --ink:         #0D2A4E;        /* deep navy */
  --ink-soft:    #1C3F7A;        /* medium navy (logo blue) */
  --ink-mid:     #2D5496;        /* lighter navy */

  /* ── Warm Paper Backgrounds ── */
  --cream:       #F4EFE6;        /* warm cream */
  --cream-deep:  #EBE3D4;        /* deeper cream */
  --paper:       #FAF7F1;        /* near white paper */

  /* ── Gold / Amber (from logo) ── */
  --gold:        #C8922A;        /* primary gold */
  --gold-soft:   #D4A830;        /* logo amber-gold */
  --gold-light:  #E8B84B;        /* bright amber */
  --gold-dim:    rgba(200,146,42,.12);

  /* ── Lines & Borders ── */
  --line:        #D8CFBE;
  --border:      rgba(13,42,78,.10);
  --border-dark: rgba(13,42,78,.20);

  /* ── Text ── */
  --muted:       #5C6B7A;
  --text-on-dark: #F4EFE6;

  /* ── Semantic ── */
  --success:     #4A7C59;
  --error:       #B54040;

  /* ── Fonts ── */
  --serif:       'Fraunces', Georgia, serif;
  --sans:        'Geist', 'Inter', -apple-system, sans-serif;

  /* ── Radius ── */
  --r-sm:  4px;
  --r-md:  6px;
  --r-lg:  12px;
  --r-xl:  16px;

  /* ── Shadows ── */
  --shadow-sm:  0 2px 8px rgba(13,42,78,.08);
  --shadow-md:  0 8px 32px rgba(13,42,78,.12);
  --shadow-lg:  0 24px 64px rgba(13,42,78,.18);

  /* ── Transitions ── */
  --ease: cubic-bezier(.4,0,.2,1);
  --fast: .15s;
  --mid:  .25s;
  --slow: .5s;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.16 0 0 0 0 0.30 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }
input, select, textarea { font-family:inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  line-height: 1.15;
  color: var(--ink);
}

/* Scrollbar */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--cream); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:3px; }

/* ─── Language Content Toggle ─────────────────────────────── */
/* Default: show EN, hide TR */
[lang-content="tr"]           { display:none !important; }
[lang-content-block="tr"]     { display:none !important; }

/* TR mode: hide EN, show TR */
body.tr [lang-content="en"]          { display:none !important; }
body.tr [lang-content-block="en"]    { display:none !important; }
body.tr [lang-content-block="tr"]    { display:block !important; }

/* TR mode — explicit display per element type (replaces unreliable revert) */
body.tr [lang-content="tr"]                        { display:inline !important; }
body.tr span[lang-content="tr"]                    { display:inline !important; }
body.tr a[lang-content="tr"]                       { display:inline !important; }
body.tr li a[lang-content="tr"]                    { display:inline !important; }
body.tr p[lang-content="tr"]                       { display:block !important; }
body.tr h2[lang-content="tr"]                      { display:block !important; }
body.tr h3[lang-content="tr"]                      { display:block !important; }
body.tr h4[lang-content="tr"]                      { display:block !important; }
body.tr div[lang-content="tr"]                     { display:block !important; }

/* Nav links — need inline display */
body.tr .nav-links li a[lang-content="tr"]         { display:inline !important; }
body.tr .mobile-menu a[lang-content="tr"]          { display:block !important; }
body.tr .footer-col a[lang-content="tr"]           { display:block !important; }

/* Panel sidebar nav — links use flex */
body.tr .sidebar-nav a[lang-content="tr"]          { display:flex !important; }
body.tr .sidebar-nav span[lang-content="tr"]       { display:inline !important; }
body.tr .sidebar-footer a[lang-content="tr"]       { display:flex !important; }

/* Topbar spans */
body.tr .topbar-left span > span[lang-content="tr"] { display:inline !important; }

/* ─── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  padding: 8px 0;
  position: relative; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.topbar-left {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.topbar-left span {
  display: flex; align-items: center; gap: 7px;
  opacity: .75; font-size: 12px; letter-spacing: .01em;
}
.topbar-left svg {
  width: 13px; height: 13px;
  stroke: var(--gold-soft); flex-shrink: 0;
}
.topbar-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}

/* Language Toggle — styled pill */
.lang-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 2px;
  font-family: var(--sans);
  gap: 2px;
}
.lang-toggle button {
  background: none; border: none; color: rgba(244,239,230,.75);
  padding: 4px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  cursor: pointer; transition: all .2s;
  text-transform: uppercase;
}
.lang-toggle button.active {
  background: var(--gold-soft);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.lang-toggle button:not(.active):hover {
  background: rgba(255,255,255,.12);
  color: var(--cream);
}

/* Nav-level lang toggle (inside navbar, no dark bg) */
.nav-lang-toggle .lang-toggle {
  background: rgba(13,42,78,.08);
  border-color: rgba(13,42,78,.18);
}
.nav-lang-toggle .lang-toggle button {
  color: var(--muted);
}
.nav-lang-toggle .lang-toggle button.active {
  background: var(--ink);
  color: var(--cream);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — nav.main (homepage) + nav#mainNav (order/auth pages)
═══════════════════════════════════════════════════════════════ */
nav.main, nav#mainNav {
  background: rgba(244,239,230,.96);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all .3s var(--ease);
}
nav.main.scrolled, nav#mainNav.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

/* Nav inner flex alignment */
nav.main .container,
nav.main .nav-inner,
nav#mainNav {
  display: flex; justify-content: space-between;
  align-items: center; gap: 24px;
  padding-left: 28px; padding-right: 28px;
  max-width: 100%;
  box-sizing: border-box;
}
nav.main .nav-inner { display: contents; }


/* Logo */
.nav-logo-wrap {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink);
  line-height: 1;
}
.nav-logo-text span {
  display: block;
  font-family: var(--sans);
  font-size: 9px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}

.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: var(--ink); font-size: 14px; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-btn-ghost {
  font-size: 13px; font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: all var(--fast);
}
.nav-btn-ghost:hover {
  border-color: var(--ink-soft);
  color: var(--ink-soft);
  background: rgba(28,63,122,.05);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px;
  background: var(--ink); color: var(--cream);
  border-radius: var(--r-sm);
  border: 1px solid var(--ink);
  transition: all .25s;
}
.nav-cta:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
  transform: translateY(-1px);
}
.nav-cta svg { width: 14px; height: 14px; }

.nav-user-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  padding: 6px 12px 6px 6px;
  background: rgba(13,42,78,.05);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--muted);
  transition: all var(--fast);
}
.nav-user-btn:hover { border-color: var(--ink-soft); color: var(--ink); }
.nav-user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg,var(--ink),var(--ink-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--cream);
}

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--muted);
  border-radius: 1px; display: block; transition: all var(--mid);
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(244,239,230,.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.75rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--mid);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 500;
  color: var(--ink); transition: color var(--fast);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-cta {
  font-family: var(--sans) !important;
  font-size: 1rem !important; font-weight: 600 !important;
  padding: .9rem 2.5rem;
  background: var(--ink); color: var(--cream) !important;
  border-radius: var(--r-sm); margin-top: .5rem;
}
.mobile-close {
  position: absolute; top: 1.75rem; right: 1.75rem;
  font-size: 1.25rem; color: var(--muted); padding: .5rem;
  transition: color var(--fast);
}
.mobile-close:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
#hero { padding: 80px 0 60px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px; align-items: center;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  font-family: var(--sans);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

#hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -.025em; color: var(--ink);
  margin-bottom: 24px;
}
#hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }

.hero-sub {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.65;
  color: var(--ink-soft); max-width: 500px; margin-bottom: 32px;
}

.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-size: 15px; font-weight: 500;
  background: var(--ink); color: var(--cream);
  border-radius: var(--r-sm); border: 1px solid var(--ink);
  transition: all .25s; box-shadow: 0 4px 20px -6px rgba(13,42,78,.4);
  font-family: var(--sans);
}
.btn-primary:hover {
  background: var(--gold-soft); border-color: var(--gold-soft);
  color: var(--ink); transform: translateY(-2px);
  box-shadow: 0 8px 28px -6px rgba(200,146,42,.45);
}
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-size: 15px; font-weight: 500;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--r-sm);
  transition: all .25s; font-family: var(--sans);
}
.btn-ghost:hover, .btn-secondary:hover {
  background: var(--ink); color: var(--cream);
}

/* Hero trust strip */
.trust-strip {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--ink-soft);
  font-family: var(--sans);
}
.trust-item svg { width: 17px; height: 17px; stroke: var(--gold); flex-shrink: 0; }
.trust-item strong { color: var(--ink); font-weight: 600; }
.stars { color: var(--gold-soft); letter-spacing: 1px; font-size: 13px; }

/* ─── Hero Visual: Document Stack ─────────────────────────── */
.hero-visual {
  position: relative; aspect-ratio: 4/5;
  perspective: 1200px;
}
.doc-stack { position: relative; width: 100%; height: 100%; }
.doc {
  position: absolute;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 30px 26px; border-radius: 2px;
}
.doc-back {
  inset: 0 28px 56px 0;
  transform: rotate(-4deg);
  background: var(--cream-deep); z-index: 1;
}
.doc-front {
  inset: 28px 0 0 28px;
  transform: rotate(2deg);
  z-index: 2; display: flex; flex-direction: column;
}
.doc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.doc-logo-txt {
  font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--ink);
}
.doc-logo-txt em { color: var(--gold); font-weight: 400; }
.doc-stamp {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 8px; font-weight: 600;
  color: var(--gold); text-align: center; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .05em;
  transform: rotate(-12deg); padding: 4px;
}
.doc-title {
  font-family: var(--serif); font-size: 12px; font-weight: 600; color: var(--ink);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}
.doc-line {
  height: 6px; background: var(--cream-deep); border-radius: 1px; margin-bottom: 9px;
}
.doc-line.short { width: 60%; }
.doc-line.med { width: 85%; }
.doc-sig {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
}
.doc-sig-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: .15em;
  color: var(--muted); margin-bottom: 6px; font-family: var(--sans);
}
.doc-sig-line {
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink);
}

/* Floating badge on doc */
.floating-badge {
  position: absolute; bottom: -16px; left: -24px;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 500;
  display: flex; align-items: center; gap: 9px;
  box-shadow: var(--shadow-md); z-index: 3;
  transform: rotate(-3deg); font-family: var(--sans);
}
.floating-badge svg { width: 16px; height: 16px; stroke: var(--gold-light); }
.floating-badge strong { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════
   TRUST LOGOS BAR
═══════════════════════════════════════════════════════════════ */
.trust-logos-bar {
  background: var(--paper);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-logos-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.trust-logos-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .22em;
  color: var(--muted); font-weight: 600; flex-shrink: 0; font-family: var(--sans);
}
.trust-logo-item {
  font-family: var(--serif); font-size: 14px; font-weight: 600;
  color: var(--ink-soft); letter-spacing: .04em; opacity: .65;
  transition: opacity .3s; display: flex; align-items: center; gap: 7px;
}
.trust-logo-item:hover { opacity: 1; }
.trust-logo-item .tl-badge {
  background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: 8px; font-weight: 700;
  padding: 3px 5px; border-radius: 2px; letter-spacing: .08em;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════════════════════════════ */
section { padding: 96px 0; position: relative; }

.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered h2.section-title { margin-left: auto; margin-right: auto; }
.section-head.centered .section-intro-p { margin-left: auto; margin-right: auto; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 10px; text-transform: uppercase; letter-spacing: .26em;
  color: var(--gold); font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 18px;
  max-width: 640px;
}
h2.section-title em { font-style: italic; color: var(--gold); }

.section-intro-p {
  font-family: var(--sans); font-size: 16px;
  color: var(--muted); max-width: 560px; line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════════════════════════ */
#services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}

.service-card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 36px 32px; transition: all .35s; position: relative;
  overflow: hidden; cursor: pointer; text-decoration: none; color: inherit;
  display: block;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.service-card:hover {
  border-color: var(--ink); transform: translateY(-4px);
  box-shadow: 0 20px 44px -14px rgba(13,42,78,.15);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 20px; }
.lang-tag {
  display: inline-block; font-family: var(--sans);
  font-size: 10px; font-weight: 700; color: var(--gold);
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px;
}
.service-card h3 {
  font-family: var(--sans); font-size: 20px; font-weight: 650;
  margin-bottom: 10px; letter-spacing: -.015em; color: var(--ink);
}
.service-card p {
  font-family: var(--sans); color: var(--muted);
  font-size: 15px; line-height: 1.65; margin-bottom: 22px;
}
.service-link {
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.service-link svg { width: 13px; height: 13px; transition: transform .25s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sc-tags span {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  padding: 3px 10px; background: var(--cream-deep);
  border: 1px solid var(--line); border-radius: 100px; color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS (Process)
═══════════════════════════════════════════════════════════════ */
#process { background: var(--paper); }

.how-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 44px;
  position: relative;
}
.how-grid::before {
  content: ''; position: absolute; top: 40px; left: 16.66%; right: 16.66%; height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
  z-index: 1;
}

.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-num {
  width: 80px; height: 80px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--ink); font-style: italic; margin-bottom: 24px; position: relative;
  transition: all .3s;
}
.step-num::after {
  content: ''; position: absolute; inset: -6px;
  border: 1px dashed var(--gold); border-radius: 50%;
  opacity: 0; transition: opacity .3s;
}
.step:hover .step-num { border-color: var(--gold); }
.step:hover .step-num::after { opacity: .7; }

.step h3 {
  font-family: var(--sans); font-size: 18px; font-weight: 650;
  margin-bottom: 10px; letter-spacing: -.015em;
}
.step p {
  font-family: var(--sans); color: var(--muted); font-size: 14px; line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   WHY US (Dark section)
═══════════════════════════════════════════════════════════════ */
#why {
  background: var(--ink); color: var(--cream); position: relative; overflow: hidden;
}
#why::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px;
  border: 1px solid rgba(212,168,48,.12); border-radius: 50%;
}
#why::after {
  content: ''; position: absolute; bottom: -160px; left: -80px;
  width: 440px; height: 440px;
  border: 1px solid rgba(212,168,48,.07); border-radius: 50%;
}
#why h2.section-title { color: var(--cream); }
#why h2.section-title em { color: var(--gold-soft); }
#why .section-intro-p { color: rgba(244,239,230,.7); }
#why .section-eyebrow { color: var(--gold-soft); }
#why .section-eyebrow::before { background: var(--gold-soft); }

.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 48px 64px; }
.why-card {
  padding: 32px 0; border-top: 1px solid rgba(212,168,48,.22);
}
.why-num {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--gold-soft); margin-bottom: 16px; letter-spacing: .04em;
}
.why-card h3 {
  font-family: var(--sans); font-size: 18px; font-weight: 650;
  margin-bottom: 12px; letter-spacing: -.015em; color: var(--cream);
}
.why-card p {
  font-family: var(--sans); font-size: 14px; line-height: 1.7;
  color: rgba(244,239,230,.7);
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════ */
#pricing { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 28px; }

.pricing-card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 40px 36px; position: relative;
  transition: all .3s; border-radius: 2px;
}
.pricing-card:hover {
  border-color: var(--ink-soft);
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
  box-shadow: var(--shadow-md); transform: translateY(-4px);
}
.pricing-card.featured:hover { transform: translateY(-8px); }

.pc-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold-soft); color: var(--ink);
  font-family: var(--sans); font-size: 9px; font-weight: 700;
  padding: 4px 9px; border-radius: 2px; letter-spacing: .12em; text-transform: uppercase;
}
.pc-label {
  font-family: var(--sans); font-size: 10px; text-transform: uppercase;
  letter-spacing: .2em; color: var(--muted); margin-bottom: 10px; font-weight: 600;
}
.pricing-card.featured .pc-label { color: var(--gold-soft); }

.pricing-card h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 4px;
  color: var(--ink);
}
.pricing-card.featured h3 { color: var(--cream); }

.pc-price {
  display: flex; align-items: flex-end; gap: 3px;
  margin: 16px 0 6px;
}
.pc-currency { font-size: 18px; color: var(--muted); line-height: 1.9; font-family: var(--serif); }
.pc-amount {
  font-family: var(--serif); font-size: 52px; font-weight: 400;
  color: var(--ink); line-height: 1; letter-spacing: -.02em;
}
.pricing-card.featured .pc-amount { color: var(--gold-soft); }
.pricing-card.featured .pc-currency { color: rgba(244,239,230,.6); }
.pc-unit { font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 4px; font-family: var(--serif); }
.pricing-card.featured .pc-unit { color: rgba(244,239,230,.55); }

.pc-equiv {
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.pricing-card.featured .pc-equiv { color: rgba(244,239,230,.55); border-color: rgba(255,255,255,.1); }

.pc-features { list-style: none; margin-bottom: 28px; }
.pc-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-family: var(--sans); font-size: 14px; color: var(--muted);
  padding: 7px 0;
}
.pricing-card.featured .pc-features li { color: rgba(244,239,230,.8); }
.pc-features svg { width: 15px; height: 15px; stroke: var(--gold); margin-top: 3px; flex-shrink: 0; }
.pricing-card.featured .pc-features svg { stroke: var(--gold-soft); }

.pc-btn {
  display: block; text-align: center;
  padding: 13px; font-family: var(--sans); font-size: 14px; font-weight: 500;
  border-radius: var(--r-sm); transition: all .25s;
}
.pc-btn-dark { background: var(--ink); color: var(--cream); border: 1px solid var(--ink); }
.pc-btn-dark:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.pc-btn-light { background: var(--gold-soft); color: var(--ink); border: 1px solid var(--gold-soft); }
.pc-btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.pc-btn-outline { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.pc-btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.pricing-note {
  text-align: center; font-family: var(--sans);
  font-size: 13px; color: var(--muted); font-style: italic; padding-top: 8px;
}
.pricing-note strong { color: var(--ink); font-style: normal; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
#faq { background: var(--paper); }

.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; cursor: pointer; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  color: var(--ink); letter-spacing: -.01em;
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink); flex-shrink: 0; margin-left: 18px;
  transition: all .25s;
}
.faq-item.open .faq-toggle { background: var(--ink); color: var(--cream); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, margin-top .3s;
  font-family: var(--sans); color: var(--muted); font-size: 15px; line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 320px; margin-top: 14px; }
.faq-a strong { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
#contact { background: var(--cream); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }

.contact-items { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.ci-icon {
  width: 40px; height: 40px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--gold);
}
.ci-icon svg { width: 17px; height: 17px; }
.ci-label {
  display: block; font-family: var(--sans);
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.contact-item a { font-family: var(--sans); font-size: 14px; color: var(--ink); font-weight: 500; transition: color var(--fast); }
.contact-item a:hover { color: var(--gold); }
.contact-info > p { font-family: var(--sans); color: var(--muted); line-height: 1.75; font-size: 15px; margin-top: 10px; }

/* Form card */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 36px; border-radius: 2px; box-shadow: var(--shadow-sm);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-group label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.field-group input, .field-group select, .field-group textarea {
  padding: 10px 12px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink); font-size: 14px;
  transition: border-color .15s, box-shadow .15s; font-family: var(--sans);
}
.field-group input::placeholder, .field-group textarea::placeholder { color: var(--muted); }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,.12);
}
.field-group textarea { resize: vertical; min-height: 100px; }
.req { color: var(--gold); }
.form-error { font-family: var(--sans); font-size: 13px; color: var(--error); min-height: 1em; }
.form-success {
  display: none; padding: 12px 14px;
  background: rgba(74,124,89,.1); border: 1px solid rgba(74,124,89,.25);
  border-radius: var(--r-sm); color: var(--success);
  font-family: var(--sans); font-size: 13px; margin-bottom: 18px;
}
.form-success.visible { display: block; }
.btn-submit {
  width: 100%; padding: 13px;
  background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  border-radius: var(--r-sm); border: none; cursor: pointer;
  transition: all .25s; box-shadow: var(--shadow-sm);
}
.btn-submit:hover { background: var(--gold-soft); color: var(--ink); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════════ */
#final-cta {
  background: var(--ink); color: var(--cream);
  text-align: center; padding: 110px 0; position: relative; overflow: hidden;
}
#final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(200,146,42,.10) 0%, transparent 60%);
}
.final-cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
#final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.1;
  color: var(--cream); margin-bottom: 20px;
}
#final-cta h2 em { font-style: italic; color: var(--gold-soft); }
#final-cta .sub-text {
  font-family: var(--sans); font-size: 17px;
  color: rgba(244,239,230,.72); margin-bottom: 36px;
}
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#final-cta .btn-primary { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
#final-cta .btn-primary:hover { background: var(--cream); border-color: var(--cream); }
#final-cta .btn-ghost { border-color: rgba(244,239,230,.5); color: var(--cream); }
#final-cta .btn-ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
  background: #061726; color: rgba(244,239,230,.65);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 52px;
}
.footer-brand .nav-logo-wrap .nav-logo-text { color: var(--cream); }
.footer-brand .nav-logo-wrap .nav-logo-text span { color: rgba(244,239,230,.4); }
.footer-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: rgba(244,239,230,.8);
  margin: 18px 0 20px; line-height: 1.55;
}
.footer-meta { font-family: var(--sans); font-size: 13px; line-height: 1.8; }
.footer-col h4 {
  font-family: var(--sans); font-size: 10px; text-transform: uppercase;
  letter-spacing: .22em; color: var(--gold-soft); font-weight: 600; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-family: var(--sans); color: rgba(244,239,230,.6);
  font-size: 13px; transition: color .2s;
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-disclosure {
  border-top: 1px solid rgba(244,239,230,.1);
  padding-top: 28px;
  font-family: var(--sans); font-size: 11px; line-height: 1.75;
  color: rgba(244,239,230,.45); margin-bottom: 24px;
}
.footer-disclosure strong { color: rgba(244,239,230,.75); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid rgba(244,239,230,.07);
  font-family: var(--sans); font-size: 11px; color: rgba(244,239,230,.4);
  flex-wrap: wrap; gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   BADGE & STATUS (for other pages)
═══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 100px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-received, .badge-blue    { background:rgba(28,63,122,.1); color:var(--ink-soft); border:1px solid rgba(28,63,122,.2); }
.badge-paid, .badge-teal        { background:rgba(74,124,89,.12); color:#3a7a50; border:1px solid rgba(74,124,89,.2); }
.badge-progress, .badge-purple  { background:rgba(107,63,31,.12); color:#6B3F1F; border:1px solid rgba(107,63,31,.2); }
.badge-completed, .badge-green  { background:rgba(74,124,89,.12); color:#3a7a50; border:1px solid rgba(74,124,89,.2); }
.badge-cancelled, .badge-red    { background:rgba(181,64,64,.1); color:var(--error); border:1px solid rgba(181,64,64,.2); }
.badge-transfer, .badge-yellow  { background:rgba(200,146,42,.1); color:var(--gold); border:1px solid rgba(200,146,42,.25); }
.badge-failed, .badge-red       { background:rgba(181,64,64,.1); color:var(--error); border:1px solid rgba(181,64,64,.2); }
.badge-gray                     { background:rgba(92,107,122,.08); color:var(--muted); border:1px solid rgba(92,107,122,.2); }
.badge-indigo                   { background:rgba(28,63,122,.1); color:var(--ink-soft); border:1px solid rgba(28,63,122,.2); }

/* Alerts */
.alert { padding: 12px 14px; border-radius: var(--r-sm); font-family: var(--sans); font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.alert-success { background:rgba(74,124,89,.1); border:1px solid rgba(74,124,89,.25); color:var(--success); }
.alert-error   { background:rgba(181,64,64,.1); border:1px solid rgba(181,64,64,.25); color:var(--error); }
.alert-info    { background:rgba(200,146,42,.1); border:1px solid rgba(200,146,42,.25); color:var(--gold); }

/* Scroll reveal */
[data-reveal] { opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].revealed { opacity:1; transform:translateY(0); }

/* Animations */
@keyframes rise {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* ── Tablet / Small Desktop (≤ 960px) ──────────────────────── */
@media (max-width: 960px) {

  .container { padding: 0 24px; }

  /* Navbar */
  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; }
  nav.main .container,
  nav.main .nav-inner,
  nav#mainNav {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Logo */
  .nav-logo-img  { height: 34px; }
  .nav-logo-text { font-size: 18px; }

  /* Hero */
  #hero { padding: 60px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Hero visual — fixed height, cards scaled down */
  .hero-visual {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: auto;
    height: 300px;
    position: relative;
  }
  .doc-back  { inset: 0 18px 36px 0; }
  .doc-front { inset: 18px 0 0 18px; }

  /* Floating badge */
  .floating-badge {
    left: 0; bottom: -10px;
    transform: rotate(-2deg);
    font-size: 10px; padding: 9px 13px;
    max-width: 92%; box-sizing: border-box;
  }

  /* Sections */
  section { padding: 72px 0; }
  .how-grid         { grid-template-columns: 1fr; gap: 32px; }
  .how-grid::before { display: none; }
  .why-grid         { grid-template-columns: 1fr; gap: 0; }
  .services-grid    { grid-template-columns: 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; }
  .faq-grid         { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ── Mobile (≤ 600px) ───────────────────────────────────────── */
@media (max-width: 600px) {

  /* Base */
  html { font-size: 15px; }
  .container { padding: 0 16px; }

  /* ── Topbar ─────────────────────────────────────────────── */
  .topbar-inner {
    padding: 0 16px;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .topbar-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    flex-wrap: nowrap;
    gap: 0;
  }
  /* Hide 2nd topbar item (phone number) */
  .topbar-left > span:nth-child(2) { display: none; }
  /* First span: show secure text, truncate if needed */
  .topbar-left > span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 5px;
    font-size: 11px;
  }
  .topbar-left > span:first-child svg { flex-shrink: 0; width: 11px; height: 11px; }

  /* ── Navbar ─────────────────────────────────────────────── */
  nav.main, nav#mainNav { padding: 10px 0; }
  nav.main .container,
  nav.main .nav-inner,
  nav#mainNav {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }

  /* Logo smaller */
  .nav-logo-img  { height: 30px; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo-text span { font-size: 8px; }

  /* Nav right: logo | [gap auto] | cta + hamburger */
  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
  }
  /* Hide Sign In ghost button to save space */
  .nav-btn-ghost  { display: none; }
  /* Keep CTA smaller */
  a.nav-cta {
    font-size: 12px;
    padding: 8px 13px;
  }
  /* Hamburger always displayed */
  .nav-hamburger {
    display: flex;
    flex-shrink: 0;
  }

  /* ── Hero ───────────────────────────────────────────────── */
  #hero { padding: 40px 0 32px; }
  #hero h1 { font-size: clamp(32px, 8.5vw, 44px); margin-bottom: 16px; }
  .hero-sub  { font-size: 14px; margin-bottom: 22px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-ghost, .btn-secondary {
    width: 100%; justify-content: center;
    padding: 13px 20px; font-size: 14px;
  }

  /* ── Hero Certificate Card — simplified flat card on mobile ── */
  .hero-visual {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    aspect-ratio: auto;
    perspective: none;
  }
  .doc-stack {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  /* Hide the rotated back doc */
  .doc-back { display: none; }
  /* Front card: static, full-width, no rotation */
  .doc-front {
    position: static;
    transform: none;
    width: 100%;
    padding: 20px 18px;
    border-radius: 4px;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .doc-header   { padding-bottom: 10px; margin-bottom: 12px; }
  .doc-logo-txt { font-size: 12px; }
  .doc-stamp    { width: 38px; height: 38px; font-size: 6px; }
  .doc-title    { font-size: 9px; letter-spacing: .08em; margin-bottom: 10px; }
  .doc-line     { height: 5px; margin-bottom: 7px; }
  .doc-sig      { padding-top: 12px; margin-top: 12px; }
  .doc-sig-label{ font-size: 8px; margin-bottom: 4px; }
  .doc-sig-line { font-size: 14px; }

  /* Floating badge — sits below the card */
  .floating-badge {
    position: relative;
    left: auto; bottom: auto;
    transform: rotate(-1.5deg);
    display: inline-flex;
    margin-top: 10px;
    font-size: 10px;
    padding: 8px 12px;
    gap: 7px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .floating-badge svg { width: 13px; height: 13px; }


  /* Trust strip */
  .trust-strip { gap: 14px; padding-top: 22px; flex-wrap: wrap; }
  .trust-item  { font-size: 12px; }

  /* Sections */
  section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  h2.section-title { font-size: clamp(24px, 7vw, 36px); }

  /* Services */
  .service-card { padding: 26px 20px; }

  /* Process */
  .step-num { width: 62px; height: 62px; font-size: 22px; }

  /* Pricing */
  .pricing-card { padding: 26px 22px; }
  .pc-amount    { font-size: 38px; }

  /* FAQ */
  .faq-q { font-size: 16px; }

  /* Contact */
  .form-card { padding: 22px 16px; }
  .field-row { grid-template-columns: 1fr; }

  /* Trust logos */
  .trust-logos-inner { justify-content: center; flex-wrap: wrap; gap: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Final CTA */
  .final-cta-buttons { flex-direction: column; align-items: center; }
  #final-cta { padding: 64px 0; }
}

/* ── Very Small (≤ 380px) ───────────────────────────────────── */
@media (max-width: 380px) {
  .container     { padding: 0 12px; }
  .nav-logo-img  { height: 26px; }
  .nav-logo-text { font-size: 14px; }
  a.nav-cta      { font-size: 11px; padding: 7px 10px; gap: 4px; }
  a.nav-cta svg  { display: none; }
  .doc-front     { padding: 16px 14px; }
  .floating-badge{ font-size: 9px; padding: 7px 10px; }
}



