/* ================================================================
   RS TECHNOLOGIES INTERNATIONAL
   White & Navy Premium Design System — v3

   Palette (Light / White base):
     Page background:   #FFFFFF  white
     Section alt:       #F7F8FA  near-white cool gray
     Section navy:      #0D1B2E  deep navy (hero, footer, CTA bands)
     Navy mid:          #112030  slightly lighter navy for alternates
     Navy card (dark):  #162842  card bg inside navy sections
     Body text:         #1E293B  near-black for readability
     Muted text:        #64748B  slate
     Headings:          #0D1B2E  deep navy
     Gold accent:       #B89040  warm gold
     Gold light:        #CCA84E
     Border (light):    rgba(15,27,46,0.08)
     Border (navy):     rgba(255,255,255,0.09)
     Border gold:       rgba(184,144,64,0.24)

   Typography:
     Display:  Cormorant Garamond (editorial serif)
     Body:     Inter
     Labels:   Barlow Condensed

   Sections layout:
     WHITE sections — body copy, service listings, content
     NAVY sections  — hero, CTA bands, footer, stats strip
     GRAY sections  — subtle alternates inside white pages
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Barlow+Condensed:wght@500;600;700&display=swap');

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ───────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --white:       #FFFFFF;
  --gray:        #F7F8FA;
  --gray-mid:    #EEF0F4;
  --navy:        #0D1B2E;
  --navy-mid:    #112030;
  --navy-card:   #162842;
  --navy-light:  #1E3354;

  /* Text */
  --text:        #1E293B;
  --text-mid:    #334155;
  --muted:       #64748B;
  --muted-lt:    #94A3B8;

  /* Accent */
  --gold:        #B89040;
  --gold-light:  #CCA84E;
  --gold-dim:    rgba(184,144,64,0.10);
  --gold-glow:   rgba(184,144,64,0.05);

  /* Borders */
  --border:      rgba(15,27,46,0.09);
  --border-mid:  rgba(15,27,46,0.14);
  --border-navy: rgba(255,255,255,0.09);
  --border-gold: rgba(184,144,64,0.26);

  /* Misc */
  --radius:      3px;
  --radius-md:   6px;
  --t:           0.22s ease;
  --shadow:      0 4px 24px rgba(13,27,46,0.08);
  --shadow-lg:   0 12px 48px rgba(13,27,46,0.14);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);       /* in hero (navy bg) */
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
}

p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-mid);
}

/* Eyebrow */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 580px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 36px; }
.section    { padding: 112px 0; }
.section-sm { padding: 72px 0; }

/* ── On dark (navy) backgrounds — override text colors ────────── */
.on-dark h2, .on-dark h3, .on-dark h4 { color: #F5F2EE; }
.on-dark h1 { color: #F5F2EE; }
.on-dark p  { color: rgba(191,197,208,0.9); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .lead { color: rgba(191,197,208,0.9); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(13,27,46,0.06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 36px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-badge {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: block;
}

.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  line-height: 1;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t);
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; user-select: none; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open  .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: all var(--t);
  border-left: 2px solid transparent;
}

.nav-dropdown-menu a:hover {
  color: var(--navy);
  background: var(--gray);
  border-left-color: var(--gold);
  padding-left: 24px;
}

.nav-dropdown-menu .separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 0;
}

/* Nav CTA */
.nav-cta {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: var(--white) !important;
  background: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background var(--t) !important;
}

.nav-cta:hover { background: var(--navy-light) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--navy);
  transition: all 0.3s;
}

/* ── Logo image ──────────────────────────────────────────────── */
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 18px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
}

/* Gold/primary — on both dark and light */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(184,144,64,0.28);
  transform: translateY(-1px);
}

/* Navy solid — on white backgrounds */
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* Outline navy — on white backgrounds */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13,27,46,0.22);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(13,27,46,0.03);
}

/* Outline light — on dark/navy backgrounds */
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
}

/* Ghost gold */
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--border-gold);
  padding: 13px 30px;
}
.btn-ghost:hover { background: var(--gold-dim); }

.btn-sm { padding: 11px 24px; font-size: 0.72rem; }

/* ── HERO (stays navy — anchor of brand identity) ─────────────── */
.hero {
  min-height: 100vh;
  padding-top: 76px;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero-rules {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-rule-v {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent 100%);
}

.hero-rule-v:nth-child(1) { left: 36px; }
.hero-rule-v:nth-child(2) { left: calc(50% - 1px); }
.hero-rule-v:nth-child(3) { right: 36px; }

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,144,64,0.07) 0%, transparent 70%);
  top: 50%; right: 8%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 36px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 96px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-label-line { width: 32px; height: 1px; background: var(--gold); }

/* h1 in hero already white via global rule above */
.hero h1 { margin-bottom: 32px; }
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.82;
  color: rgba(191,197,208,0.88);
  max-width: 500px;
  margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.hero-stat {
  flex: 1;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.09);
}

.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #F5F2EE;
  display: block;
  line-height: 1;
}

.hero-stat-num em { font-style: normal; color: var(--gold); }

.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(100,116,139,0.8);
  display: block;
  margin-top: 6px;
}

/* ── Markets Panel ───────────────────────────────────────────── */
.markets-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.panel-head {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
}

.panel-head-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(191,197,208,0.7);
}

.panel-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: goldpulse 2.4s infinite;
}

@keyframes goldpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,144,64,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(184,144,64,0); }
}

.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--t);
}

.market-row:last-child { border-bottom: none; }
.market-row:hover { background: rgba(255,255,255,0.03); }
.market-row-left { display: flex; align-items: flex-start; gap: 14px; }

.market-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
  flex-shrink: 0;
  transition: box-shadow var(--t);
}

.market-indicator.pulse {
  box-shadow: 0 0 0 4px rgba(184,144,64,0.2);
}

.market-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245,242,238,0.9);
  display: block;
  line-height: 1.3;
}

.market-sector {
  font-size: 0.7rem;
  color: rgba(100,116,139,0.85);
  display: block;
  margin-top: 3px;
}

.market-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-primary { background: rgba(184,144,64,0.15); color: var(--gold); border: 1px solid var(--border-gold); }
.tag-active  { background: rgba(255,255,255,0.06); color: rgba(191,197,208,0.8); border: 1px solid rgba(255,255,255,0.1); }
.tag-intl    { background: rgba(184,144,64,0.08); color: var(--gold-light); border: 1px solid rgba(184,144,64,0.18); }

/* ── Stats strip (navy) ──────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-col {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-col:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 3.8rem;
  color: #F5F2EE;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-num em { font-style: normal; color: var(--gold); }

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(100,116,139,0.75);
  display: block;
}

/* ── Section Header ─────────────────────────────────────────── */
.section-header { margin-bottom: 72px; }
.section-header .eyebrow { margin-bottom: 18px; }
.section-header h2 { margin-bottom: 20px; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 0 auto; }

/* ── Services table ─────────────────────────────────────────── */
.services-table {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.services-table-row {
  display: grid;
  grid-template-columns: 48px 1fr 2fr auto;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
  text-decoration: none;
  color: inherit;
}

.services-table-row:last-child { border-bottom: none; }
.services-table-row:hover { background: var(--gray); }

.services-table-row.featured {
  background: linear-gradient(90deg, rgba(184,144,64,0.05) 0%, var(--white) 100%);
  border-left: 3px solid var(--gold);
}

.svc-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-lt);
  padding: 28px 0 28px 20px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}

.svc-name {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.svc-name h3 { font-size: 0.9rem; color: var(--navy); }
.svc-name-flag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.svc-desc {
  padding: 28px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}

.svc-desc p { font-size: 0.85rem; line-height: 1.65; color: var(--text-mid); }

.svc-action {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.svc-arrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  transition: letter-spacing var(--t);
}

.services-table-row:hover .svc-arrow { letter-spacing: 0.16em; }

/* ── Two-column layout ──────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two-col.wide-left  { grid-template-columns: 3fr 2fr; }
.two-col.wide-right { grid-template-columns: 2fr 3fr; }

/* ── Market list (white section) ─────────────────────────────── */
.market-list {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
}

.mlist-row:last-child { border-bottom: none; }
.mlist-row:hover { background: var(--gray); }

.mlist-market {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}

.mlist-sector {
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.mlist-right {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ── Numbered list ──────────────────────────────────────────── */
.numbered-list { display: flex; flex-direction: column; }

.numbered-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

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

.numbered-item-idx {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}

.numbered-item h3 { margin-bottom: 8px; }
.numbered-item p  { font-size: 0.88rem; }

/* ── Quote panel (white, on white pages) ─────────────────────── */
.quotes-panel {
  background: var(--gray);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 40px;
  position: sticky;
  top: 96px;
}

.quotes-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-mid);
}

.quote-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.quote-item:last-child { border-bottom: none; padding-bottom: 0; }

.quote-rule {
  width: 24px; height: 1px;
  background: var(--gold);
  margin-bottom: 14px;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 12px;
}

.quote-attr {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-card {
  background: var(--white);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--navy);
  border-top: 3px solid var(--gold);
}

.pricing-tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

.pricing-card.featured .pricing-tier { color: var(--gold); }

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card.featured .pricing-price { color: #F5F2EE; }

.pricing-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 8px;
  color: var(--muted);
}

.pricing-card.featured .pricing-price sup { color: rgba(191,197,208,0.7); }

.pricing-period {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
}

.pricing-card.featured .pricing-period { color: rgba(100,116,139,0.8); }

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.pricing-card.featured .pricing-feature { color: rgba(191,197,208,0.85); }

.pricing-feature::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.7rem;
}

.pricing-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.pricing-card.featured .pricing-note { color: rgba(100,116,139,0.8); }

/* ── Page Hero (inner pages — navy) ─────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 156px 0 88px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.page-hero-accent {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(270deg, rgba(184,144,64,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { margin-bottom: 24px; max-width: 760px; color: #F5F2EE; }
.page-hero .lead { margin-bottom: 40px; color: rgba(191,197,208,0.88); }

/* ── Card grid (on white) ────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  padding: 36px 32px;
  transition: background var(--t);
  display: flex;
  flex-direction: column;
}

.card:hover { background: var(--gray); }

.card-index {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted-lt);
  margin-bottom: 20px;
  display: block;
  text-transform: uppercase;
}

.card h3 { margin-bottom: 12px; font-size: 0.92rem; }
.card p  { font-size: 0.84rem; flex: 1; }

.card .card-link {
  margin-top: 24px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing var(--t);
}

.card:hover .card-link { letter-spacing: 0.2em; }

/* ── Process steps ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.step {
  background: var(--white);
  padding: 36px 28px;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(13,27,46,0.06);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.step .eyebrow { margin-bottom: 10px; }
.step h3 { margin-bottom: 10px; font-size: 0.9rem; }
.step p  { font-size: 0.82rem; }

/* ── Feature grid (on white) ─────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature {
  background: var(--white);
  padding: 36px 32px;
  transition: background var(--t);
}

.feature:hover { background: var(--gray); }
.feature .feature-label { margin-bottom: 14px; }
.feature h3 { color: var(--navy); margin-bottom: 10px; font-size: 0.92rem; }
.feature p  { font-size: 0.84rem; }

/* ── Scenario list ───────────────────────────────────────────── */
.scenario-list {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scenario {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
}

.scenario:last-child { border-bottom: none; }
.scenario:hover { background: var(--gray); }
.scenario h4 { color: var(--navy); margin-bottom: 6px; font-size: 0.85rem; }
.scenario p  { font-size: 0.82rem; }

/* ── Industries table ────────────────────────────────────────── */
.industries-table {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ind-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
}

.ind-row:last-child { border-bottom: none; }
.ind-row:hover { background: var(--gray); }

.ind-row.header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ind-cell {
  padding: 18px 24px;
  border-right: 1px solid var(--border);
}

.ind-cell:last-child { border-right: none; }
.ind-row.header .ind-cell { border-right-color: rgba(255,255,255,0.08); padding: 14px 24px; }

.ind-header-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(100,116,139,0.75);
}

.ind-market { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.ind-desc   { font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; }
.ind-status { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ind-status.active  { color: var(--gold); }
.ind-status.growing { color: #0D7A5F; }
.ind-status.new     { color: #1D4ED8; }

/* ── FAQ list ────────────────────────────────────────────────── */
.faq-list {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
}

.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--gray); }
.faq-item h4 { color: var(--navy); margin-bottom: 8px; font-size: 0.88rem; }
.faq-item p  { font-size: 0.82rem; }

/* ── CTA Band (navy) ─────────────────────────────────────────── */
.cta-band {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 104px 0;
}

.cta-band-inner { max-width: 680px; }
.cta-band .eyebrow { margin-bottom: 20px; }
.cta-band h2 { color: #F5F2EE; margin-bottom: 20px; }
.cta-band p  { font-size: 1.05rem; color: rgba(191,197,208,0.85); margin-bottom: 44px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Gray section band ───────────────────────────────────────── */
.section-gray {
  background: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Contact form ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-methods {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 36px;
  box-shadow: var(--shadow);
}

.contact-method {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
}

.contact-method:last-child { border-bottom: none; }
.contact-method:hover { background: var(--gray); }

.contact-method-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.contact-method-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.contact-method-value a { color: var(--gold); transition: color var(--t); }
.contact-method-value a:hover { color: var(--gold-light); }
.contact-method-note { font-size: 0.76rem; color: var(--muted); margin-top: 4px; display: block; }

/* Form box */
.form-box {
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-box h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 8px; }

.form-box > p {
  font-size: 0.88rem;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--gray);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--navy);
  outline: none;
  transition: border-color var(--t), background var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-lt); }
.form-group select option { background: var(--white); color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.checkbox-item span { font-size: 0.78rem; color: var(--text-mid); }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}

.form-submit-note {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
}

/* ── Legal pages ─────────────────────────────────────────────── */
.legal-body { max-width: 760px; }

.legal-body h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 { margin: 24px 0 10px; font-size: 0.9rem; color: var(--navy); }
.legal-body p  { margin-bottom: 16px; font-size: 0.9rem; color: var(--text-mid); }
.legal-body ul { margin: 12px 0 16px 20px; }
.legal-body ul li { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 8px; list-style: disc; }

.legal-toc {
  background: var(--gray);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 56px;
}

.legal-toc h3 { color: var(--navy); margin-bottom: 14px; font-size: 0.85rem; }
.legal-toc li {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.legal-toc li a { color: var(--gold); transition: color var(--t); }
.legal-toc li a:hover { color: var(--gold-light); }

/* ── Footer (navy) ───────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* In footer, badge is light-on-dark */
footer .nav-logo-badge { background: rgba(255,255,255,0.1); }
footer .nav-logo-badge span { color: var(--white); }
footer .nav-logo-text { color: rgba(245,242,238,0.9); }
footer .nav-logo-sub  { color: rgba(100,116,139,0.8); }

footer p {
  font-size: 0.82rem;
  color: rgba(100,116,139,0.8);
  line-height: 1.8;
  max-width: 280px;
}

.footer-email {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--gold);
  transition: color var(--t);
}

.footer-email:hover { color: var(--gold-light); }

.footer-col h4 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.85);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul li a {
  font-size: 0.8rem;
  color: rgba(100,116,139,0.8);
  transition: color var(--t);
}

.footer-col ul li a:hover { color: rgba(245,242,238,0.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p    { font-size: 0.74rem; color: rgba(100,116,139,0.7); }
.footer-bottom span { font-size: 0.7rem; color: rgba(100,116,139,0.6); letter-spacing: 0.08em; }

/* ── Reveal animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .markets-panel { max-width: 560px; }
  .two-col, .two-col.wide-left, .two-col.wide-right { grid-template-columns: 1fr; gap: 48px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-col:nth-child(2) { border-right: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .services-table-row { grid-template-columns: 48px 1fr 1fr auto; }
  .svc-desc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-mid);
    padding: 24px 20px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding: 8px 0 0 16px; background: transparent; min-width: auto; }
  .nav-dropdown-menu a { padding: 8px 0; border-left: none; }
  .nav-toggle { display: flex; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .section { padding: 72px 0; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .cta-actions, .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.09); padding-bottom: 20px; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .services-table-row { grid-template-columns: 1fr; }
  .svc-num, .svc-action, .svc-desc { display: none; }
  .svc-name { border-right: none; }
  .ind-row { grid-template-columns: 1fr; }
  .ind-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .form-box { padding: 28px 20px; }
  .quotes-panel { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SECTION OVERRIDES — White & Light Theme
   Removes heavy navy from mid-page sections.
   Navy stays ONLY on: .hero (homepage) + footer
   Everything else: white, light gray, or thin border accents.
================================================================ */

/* ── Stats strip — white with navy text ───────────────────────── */
.stats-strip-light {
  background: var(--white);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
}

.stats-strip-light .stat-num {
  color: var(--navy);
}

.stats-strip-light .stat-num em {
  color: var(--gold);
}

.stats-strip-light .stat-label {
  color: var(--muted);
}

.stats-strip-light .stat-col {
  border-right-color: var(--border-mid);
}

/* ── CTA band — white with left gold rule accent ──────────────── */
.cta-band-light {
  background: var(--gray);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  position: relative;
}

.cta-band-light::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
}

.cta-band-light h2 {
  color: var(--navy);
}

.cta-band-light p {
  color: var(--text-mid);
}

.cta-band-light .eyebrow {
  color: var(--gold);
}

/* ── Inner page hero — white background, navy text ────────────── */
.page-hero-light {
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  padding-top: 140px;
  padding-bottom: 72px;
}

.page-hero-light .page-hero-accent {
  background: linear-gradient(270deg, rgba(184,144,64,0.06) 0%, transparent 100%);
}

.page-hero-light h1 {
  color: var(--navy);
}

.page-hero-light .lead {
  color: var(--text-mid);
}

.page-hero-light .eyebrow {
  color: var(--gold);
}

.page-hero-light .btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.page-hero-light .btn-outline {
  color: var(--navy);
  border-color: rgba(13,27,46,0.22);
}

/* hero-actions buttons on light hero */
.page-hero-light .hero-actions .btn-gold { color: var(--navy); }

/* ── Section gray (alternating white pages) ───────────────────── */
.section-gray {
  background: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Ensure h2 inside gray sections stays navy */
.section-gray h2, .section-gray h3 { color: var(--navy); }
.section-gray p  { color: var(--text-mid); }

/* ── Markets section on homepage ──────────────────────────────── */
/* The markets two-col section already uses inline style gray — make it clean */
section[aria-labelledby="markets-heading"] {
  background: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Quote panel on white pages ───────────────────────────────── */
.quotes-panel {
  background: var(--white);
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow);
}

.quotes-panel-title { color: var(--navy); }
.quote-text { color: var(--navy); }

/* ── Scenario list (trucking, insurance etc) ──────────────────── */
.scenario h4 { color: var(--navy); }

/* ── Process steps on white ───────────────────────────────────── */
.step { background: var(--white); transition: background var(--t); }
.step:hover { background: var(--gray); }

/* ── Card grid items ─────────────────────────────────────────── */
.card { background: var(--white); }
.card:hover { background: var(--gray); }

/* ── Feature grid ─────────────────────────────────────────────── */
.feature { background: var(--white); }
.feature:hover { background: var(--gray); }

/* ── Services table rows ──────────────────────────────────────── */
.services-table-row { background: var(--white); }
.services-table-row:hover { background: var(--gray); }
.services-table-row.featured {
  background: linear-gradient(90deg, rgba(184,144,64,0.04) 0%, var(--white) 60%);
}

/* ── Industries table ─────────────────────────────────────────── */
.ind-row         { background: var(--white); }
.ind-row:hover   { background: var(--gray); }
.ind-row.header  { background: var(--navy); } /* keep navy for column header row only */

/* ── FAQ and scenario items ───────────────────────────────────── */
.faq-item      { background: var(--white); }
.faq-item:hover { background: var(--gray); }
.scenario      { background: var(--white); }
.scenario:hover { background: var(--gray); }

/* ── Contact methods ──────────────────────────────────────────── */
.contact-method       { background: var(--white); }
.contact-method:hover { background: var(--gray); }

/* ── mlist rows ───────────────────────────────────────────────── */
.mlist-row       { background: var(--white); }
.mlist-row:hover { background: var(--gray); }

/* ── Pricing cards ────────────────────────────────────────────── */
.pricing-card { background: var(--white); }
.pricing-card.featured {
  background: var(--navy);   /* keep the featured card navy — intentional contrast */
}

/* ── Border separator for nav dropdown ───────────────────────── */
.separator { border-top-color: var(--border); }

/* ── Dropdown toggle — button reset so it looks like a nav link ── */
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--navy);
}

/* Small chevron after "Services" label */
.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t);
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}
