/* ==========================================================================
   TMA GLOBAL PRIVATE LIMITED — Design System
   Corporate / minimal. Navy · Steel · Brushed Gold.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #061426;
  --navy-800: #0a2039;
  --navy-700: #10314f;
  --navy-600: #1a4570;
  --gold-600: #9a7622;
  --gold-500: #b8912b;
  --gold-400: #cfae52;
  --gold-100: #f0e6cf;

  /* Neutrals */
  --ink: #131c28;
  --ink-2: #46525f;
  --ink-3: #6b7684;
  --line: #e4e8ee;
  --line-2: #f0f3f7;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --surface-3: #eef2f7;

  /* Type */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.0625rem;

  /* Space */
  --sp-section: clamp(64px, 8vw, 112px);
  --maxw: 1200px;
  --maxw-narrow: 760px;
  /* Header height = 14px padding x2 + 42px brand mark + 1px border.
     Drives sticky-nav offset and the mobile menu panel position. */
  --header-h: 71px;

  /* Effects */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(6, 20, 38, 0.05);
  --shadow-md: 0 8px 24px -10px rgba(6, 20, 38, 0.16);
  --shadow-lg: 0 24px 60px -24px rgba(6, 20, 38, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.55rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color 0.18s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }
strong { color: var(--navy-800); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-100); color: var(--navy-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.container-narrow { max-width: var(--maxw-narrow); }

section { padding-block: var(--sp-section); position: relative; }
.section-tight { padding-block: clamp(48px, 5vw, 72px); }

.surface-2 { background: var(--surface-2); }
.surface-3 { background: var(--surface-3); }

.section-dark {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.76);
  background-image: radial-gradient(ellipse 90% 70% at 15% 0%, rgba(184, 145, 43, 0.10), transparent 60%);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark strong { color: #fff; }
.section-dark a { color: #fff; }
.section-dark hr { border-color: rgba(255, 255, 255, 0.14); }

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head > h2 { margin-bottom: 0.4em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
  flex: none;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
  flex: none;
}
.section-dark .eyebrow { color: var(--gold-400); }
.section-dark .eyebrow::before, .section-dark .eyebrow::after { background: var(--gold-400); }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2);
}
.section-dark .lead { color: rgba(255, 255, 255, 0.80); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-split { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.grid-aside { grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 64px); align-items: start; }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-600); color: #fff; box-shadow: var(--shadow-md); }

.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-800); background: var(--surface-2); }

.btn-sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.section-head.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-700);
  border-bottom: 1px solid var(--gold-400);
  padding-bottom: 2px;
  margin-top: 4px;
}
.link-arrow:hover { color: var(--gold-600); border-color: var(--gold-600); }
.link-arrow .arrow { transition: transform 0.2s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.section-dark .link-arrow { color: #fff; }
.section-dark .link-arrow:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 6px 28px -18px rgba(6, 20, 38, 0.4);
  border-bottom-color: transparent;
}

.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-lockup { line-height: 1.1; }
.brand-lockup .name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.015em;
}
.brand-lockup .tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; }
.nav-links ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  position: relative;
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold-500);
  transition: width 0.22s var(--ease);
}
.nav-links a:hover { color: var(--navy-800); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--navy-800); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }

/* CTA inside the nav panel is mobile-only */
.nav-links .mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;   /* 44px minimum touch target */
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy-800);
  margin: 4px auto;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--navy-900);
  padding-block: clamp(96px, 12vw, 160px);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 20, 38, 0.96) 0%, rgba(10, 32, 57, 0.88) 42%, rgba(10, 32, 57, 0.55) 78%, rgba(10, 32, 57, 0.42) 100%);
}
.hero .container { position: relative; }
.hero-copy { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }

/* Compact page hero for interior pages */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-800);
  background-image:
    radial-gradient(ellipse 80% 90% at 88% 10%, rgba(184, 145, 43, 0.16), transparent 62%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(72px, 8vw, 112px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000, transparent 70%);
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.80); max-width: 640px; }
.page-hero-copy { max-width: 720px; }

/* Breadcrumb */
.breadcrumb {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { margin-inline: 8px; opacity: 0.5; }

/* --------------------------------------------------------------------------
   7. Marquee / trust bar
   -------------------------------------------------------------------------- */
.factbar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 20px;
  font-size: var(--fs-sm);
}
.factbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 3vw, 44px);
  justify-content: space-between;
  align-items: center;
}
.factbar .fact { display: inline-flex; align-items: center; gap: 10px; }
.factbar .fact::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(26px, 2.6vw, 34px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card > *:last-child { margin-bottom: 0; }
.card:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card h3 { margin-bottom: 0.5em; }
.card p { font-size: var(--fs-base); }

.card-flat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(26px, 2.6vw, 34px); }
.card-flat > *:last-child { margin-bottom: 0; }

.card-dark {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: clamp(26px, 2.6vw, 34px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.card-dark > *:last-child { margin-bottom: 0; }
.card-dark:hover { border-color: rgba(207, 174, 82, 0.5); background: rgba(255, 255, 255, 0.07); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, 0.72); font-size: var(--fs-base); }

.card-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}
.card-dark .card-num { color: var(--gold-400); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.card:hover .card-icon { background: var(--gold-100); color: var(--gold-600); }
.card-dark .card-icon { background: rgba(255,255,255,0.08); color: var(--gold-400); }

/* Numbered step cards */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
  transition: border-color 0.25s var(--ease);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  display: block;
  margin-bottom: 12px;
}
.step:hover { border-top-color: var(--gold-500); }
.step h3 { font-size: 1.08rem; margin-bottom: 0.45em; }
.step p { font-size: var(--fs-base); margin-bottom: 0; }
.section-dark .step { border-top-color: rgba(255,255,255,0.18); }
.section-dark .step::before { color: var(--gold-400); }
.section-dark .step:hover { border-top-color: var(--gold-400); }

/* --------------------------------------------------------------------------
   9. Feature / media panels
   -------------------------------------------------------------------------- */
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.panel-media {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
}
.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6,20,38,0.18), transparent 60%);
}
.panel-body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.panel-body > *:last-child { margin-bottom: 0; }
.panel.reverse .panel-media { order: 2; }

.figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: var(--surface-3);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-caption {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,0.12); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--navy-800); padding: clamp(24px, 3vw, 36px) 22px; text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   11. Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 520px;
}
table.data caption {
  text-align: left;
  padding: 18px 22px;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-600);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
table.data th, table.data td {
  text-align: left;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.data thead th {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td.code {
  font-weight: 600;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

table.kv { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.kv th, table.kv td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kv th { font-weight: 600; color: var(--navy-800); width: 42%; padding-right: 20px; }
table.kv td { color: var(--ink-2); }
table.kv tr:last-child th, table.kv tr:last-child td { border-bottom: none; }

.table-note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 14px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. Pills / chips
   -------------------------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li { margin: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy-800);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.section-dark .pill {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.pill-gold { border-color: var(--gold-400); background: var(--gold-100); color: var(--gold-600); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.15em; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: var(--fs-base);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}
.section-dark .checklist li::before { border-color: var(--gold-400); }

/* --------------------------------------------------------------------------
   13. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details {
  border-bottom: 1px solid var(--line);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.4;
  transition: color 0.18s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--gold-600); }
.accordion summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.accordion .answer { padding: 0 0 26px; font-size: var(--fs-base); max-width: 780px; }
.accordion .answer > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. Quote / callout
   -------------------------------------------------------------------------- */
.callout {
  border-left: 3px solid var(--gold-500);
  background: var(--surface-2);
  padding: 24px 28px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-base);
}
.callout > *:last-child { margin-bottom: 0; }
.section-dark .callout { background: rgba(255,255,255,0.05); border-left-color: var(--gold-400); }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--navy-900);
  background-image:
    radial-gradient(ellipse 60% 120% at 20% 100%, rgba(184, 145, 43, 0.20), transparent 62%),
    radial-gradient(ellipse 60% 120% at 82% 0%, rgba(26, 69, 112, 0.55), transparent 60%);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(60px, 7vw, 92px);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4em; }
.cta-band p { max-width: 540px; margin-inline: auto; margin-bottom: 32px; color: rgba(255,255,255,0.78); }
.cta-band .btn-row { justify-content: center; margin-top: 0; }

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }

.contact-card {
  background: var(--navy-800);
  background-image: radial-gradient(ellipse 90% 60% at 90% 0%, rgba(184,145,43,0.16), transparent 62%);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 40px);
}
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.contact-item:first-of-type { border-top: none; padding-top: 6px; }
.contact-item .ci-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold-400);
  display: grid;
  place-items: center;
}
.contact-item .ci-icon svg { width: 16px; height: 16px; stroke-width: 1.6; }
.contact-item .ci-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 5px;
}
.contact-item .ci-value { font-size: var(--fs-sm); line-height: 1.6; color: rgba(255,255,255,0.88); }
.contact-item a.ci-value:hover { color: var(--gold-400); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 42px);
  box-shadow: var(--shadow-sm);
}
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.field .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  /* Must stay >= 16px: iOS Safari auto-zooms the page when a smaller
     input receives focus, which throws the layout off on every phone. */
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.75; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cbd3dd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184, 145, 43, 0.14);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7684' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 11px; padding-right: 38px; }
.form-consent { display: flex; gap: 11px; align-items: flex-start; }
.form-consent input[type="checkbox"] { width: auto; margin-top: 4px; flex: none; accent-color: var(--gold-500); }
.form-consent label { font-size: var(--fs-xs); font-weight: 400; color: var(--ink-3); line-height: 1.6; margin: 0; letter-spacing: 0; }
.form-consent label a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.6; margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 24px;
  background: var(--surface-3);
}
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   17. Legal / prose pages
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.7rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.1rem; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.6em; }
.prose .updated {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(52px, 6vw, 76px) 26px;
  font-size: var(--fs-sm);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 3.5vw, 48px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
.site-footer .brand { margin-bottom: 20px; }
.site-footer .brand-lockup .name { color: #fff; }
.site-footer p { line-height: 1.7; margin-bottom: 0; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; line-height: 1.6; }
.footer-col a { color: rgba(255, 255, 255, 0.62); }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.42);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: rgba(255, 255, 255, 0.42); }
.footer-legal a:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   19. Floating WhatsApp + back to top
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.7); }
.wa-float svg { width: 27px; height: 27px; }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links ul { gap: 20px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-split, .grid-aside, .contact-layout { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel-media { min-height: 240px; order: -1; }
  .panel.reverse .panel-media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px clamp(20px, 4vw, 40px) 26px;
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
    /* dvh accounts for mobile browser chrome collapsing on scroll */
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line-2); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { padding: 15px 0; font-size: 0.95rem; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--gold-600); }
  .nav-links .mobile-cta { display: block; margin-top: 18px; }
  .nav-links .mobile-cta .btn { display: flex; width: 100%; }
}

@media (max-width: 640px) {
  /* Brand mark shrinks, so the header does too — keep the menu panel aligned. */
  :root { --header-h: 65px; }
  body { font-size: var(--fs-base); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .factbar .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand img { width: 36px; height: 36px; }
  .brand-lockup .name { font-size: 1.05rem; }
  .brand-lockup .tag { font-size: 0.56rem; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  table.kv th { width: 46%; }
  .panel-body, .form-card, .contact-card { padding: 26px 22px; }
  .accordion summary { padding-right: 38px; font-size: 1.02rem; }
  /* Give the floating WhatsApp button room so it never covers the footer CTA */
  .site-footer { padding-bottom: 84px; }
}

/* Very narrow phones (<=380px) */
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .brand-lockup .name { font-size: 0.98rem; }
}

/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .cta-band, .map-frame, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero, .section-dark, .site-footer { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section-dark h2 { color: #000 !important; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
