/* ============================================================
   VENTRA WELLNESS — Global Stylesheet
   Premium Medical GPO Network
   ============================================================ */

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

:root {
  /* Navy spectrum */
  --navy-deep:    #060d19;
  --navy:         #0a1120;
  --navy-mid:     #111c2e;
  --navy-light:   #182840;
  --navy-surface: #1e3150;

  /* Gold spectrum */
  --gold-dark:    #a68832;
  --gold:         #c9a84c;
  --gold-light:   #e0c56e;
  --gold-pale:    rgba(201,168,76,0.10);
  --gold-glow:    rgba(201,168,76,0.04);

  /* Neutrals */
  --cream:        #f2ece0;
  --white:        #faf8f4;
  --muted:        rgba(242,236,224,0.50);
  --muted-strong: rgba(242,236,224,0.72);
  --border:       rgba(201,168,76,0.18);
  --border-strong:rgba(201,168,76,0.35);

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad:  7rem 4rem;
  --section-pad-mobile: 4.5rem 1.5rem;
  --container:    1140px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -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 }

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

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: all 0.4s var(--ease-smooth);
  background: transparent;
}

.main-nav.scrolled {
  padding: 1rem 3rem;
  background: rgba(10,17,32,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85 }
.logo span { color: var(--cream); font-weight: 300 }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--gold) }
.nav-links a:hover::after { width: 100% }
.nav-links a.active { color: var(--gold) }
.nav-links a.active::after { width: 100% }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}
.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.mobile-toggle.open span:nth-child(2) { opacity: 0 }
.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,13,25,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.mobile-nav-overlay.open {
  display: flex;
  opacity: 1;
}
.mobile-nav-overlay a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--cream);
  font-weight: 300;
  transition: color 0.2s;
}
.mobile-nav-overlay a:hover { color: var(--gold) }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(201,168,76,0.35), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s var(--ease-out);
}
.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
}
.floating-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.4), 0 4px 12px rgba(0,0,0,0.3);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 em { font-style: italic; color: var(--gold) }

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--gold) }

h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold);
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}

.section-desc {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cream);
  padding: 1rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(242,236,224,0.2);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--white);
}

.btn-gold-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.btn-gold-ghost:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 45%, rgba(201,168,76,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 45% 60% at 15% 75%, rgba(28,45,69,0.9) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 20%, rgba(201,168,76,0.03) 0%, transparent 50%);
}

.hero-ornament {
  position: absolute;
  z-index: 0;
  opacity: 0.04;
}
.hero-ornament.line-v {
  top: 0; left: 50%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.hero-ornament.line-h {
  bottom: 20%; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted-strong);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 5rem;
  margin-top: 5.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  max-width: none;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   PAGE HERO (Interior pages)
   ============================================================ */
.page-hero {
  padding: 12rem 4rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(201,168,76,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(28,45,69,0.7) 0%, transparent 60%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero .section-eyebrow {
  justify-content: center;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 1.2rem;
}
.page-hero .hero-sub {
  margin-bottom: 0;
}
.page-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 3rem;
}
.trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  flex-wrap: wrap;
}
.trust-item { text-align: center }
.trust-item .t-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-item .t-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

/* ============================================================
   SECTIONS — General
   ============================================================ */
section {
  padding: var(--section-pad);
}
section.alt-bg {
  background: var(--navy-mid);
}
section.dark-bg {
  background: var(--navy-deep);
}

.section-header {
  max-width: 620px;
  margin-bottom: 4rem;
}
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header.center .section-eyebrow {
  justify-content: center;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--navy-light);
  padding: 2.5rem 2.2rem;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover::before { transform: scaleX(1) }
.card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.card-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  color: var(--gold);
  transition: all 0.3s;
}
.card:hover .card-icon {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.card-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.card h3 { margin-bottom: 0.75rem }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.75 }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px }

/* ============================================================
   WHY VENTRA — Section with BG image
   ============================================================ */
.why-ventra {
  position: relative;
  padding: var(--section-pad);
  overflow: hidden;
}
.why-ventra-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.why-ventra-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.4) brightness(0.8);
}
.why-ventra-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--navy) 0%, rgba(10,17,32,0.5) 18%, rgba(10,17,32,0.5) 60%, rgba(10,17,32,0.85) 80%, var(--navy) 100%),
    rgba(10,17,32,0.25);
}
.why-ventra + section {
  background: var(--navy);
}
.why-ventra .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   DIFFERENTIATORS (Why Ventra)
   ============================================================ */
.diff-card {
  background: rgba(17,28,46,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3rem 2.5rem;
  border-left: 2px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.4s var(--ease-smooth);
}
.diff-card:hover {
  border-left-color: var(--gold);
  transform: translateY(-3px);
}
.diff-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.diff-card h3 { margin-bottom: 0.6rem }
.diff-card p { font-size: 0.88rem; color: var(--muted-strong); line-height: 1.75 }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ============================================================
   PILLS (Formulary)
   ============================================================ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.pill {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: all 0.25s var(--ease-out);
  cursor: default;
}
.pill:hover, .pill.active {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold);
}
.pill.unavailable {
  opacity: 0.3;
  text-decoration: line-through;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list-section .section-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  text-align: left;
  padding: 1.5rem 2.5rem 1.5rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  line-height: 1.4;
}
.faq-question:hover { color: var(--gold) }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item.open .faq-question { color: var(--gold) }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s;
}
.faq-answer-inner {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted-strong);
  line-height: 1.8;
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calculator-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.calc-input-section {
  background: var(--navy-light);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.calc-results {
  background: var(--navy-mid);
  border: 1px solid var(--border-strong);
  padding: 2.5rem;
}
.calc-group {
  margin-bottom: 1.5rem;
}
.calc-group:last-child { margin-bottom: 0 }
.calc-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.calc-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  min-width: 50px;
  text-align: right;
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.result-row:last-child { border-bottom: none }
.result-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.result-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--cream);
  font-weight: 400;
}
.result-row.total {
  border-top: 2px solid var(--gold);
  border-bottom: none;
  margin-top: 0.5rem;
  padding-top: 1.2rem;
}
.result-row.total .result-label {
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}
.result-row.total .result-value {
  color: var(--gold);
  font-size: 1.8rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
input, select, textarea {
  background: rgba(28,45,69,0.5);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 0.8rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
input::placeholder, textarea::placeholder {
  color: rgba(242,236,224,0.25);
}
select option { background: var(--navy-mid) }
textarea { resize: vertical; min-height: 100px }

.submit-btn {
  background: var(--gold);
  color: var(--navy);
  padding: 1.1rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  margin-top: 0.5rem;
}
.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}
.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   REVENUE CARDS
   ============================================================ */
.rev-card {
  background: var(--navy);
  padding: 2.2rem 2rem;
  border-bottom: 2px solid var(--gold-pale);
  transition: all 0.3s;
}
.rev-card:hover {
  border-bottom-color: var(--gold);
  background: var(--navy-mid);
}
.rev-icon {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--gold);
  opacity: 0.5;
}
.rev-card h3 { margin-bottom: 0.5rem }
.rev-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7 }
.rev-amount {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin-top: 1.2rem;
}

/* ============================================================
   WHO CARDS
   ============================================================ */
.who-card {
  padding: 2.5rem;
  background: var(--navy-mid);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background 0.3s;
}
.who-card:hover { background: var(--navy-light) }
.who-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: all 0.3s;
}
.who-card:hover .who-icon {
  background: var(--gold-pale);
  border-color: var(--gold);
}
.who-card h3 { margin-bottom: 0.4rem }
.who-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7 }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-with-bg {
  position: relative;
  overflow: hidden;
  padding: 8rem 4rem;
  background: none;
  border: none;
}
.cta-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.18;
  filter: saturate(0.4) brightness(0.9);
}
.cta-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--navy) 0%, rgba(10,17,32,0.4) 20%, rgba(10,17,32,0.4) 80%, var(--navy) 100%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.03) 0%, transparent 70%);
}
.cta-with-bg .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.cta-section .container {
  max-width: 700px;
}
.cta-section h2 { margin-bottom: 1rem }
.cta-section .section-desc {
  margin: 0 auto 2.5rem;
  text-align: center;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
}
.footer-top {
  padding: 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold) }

.footer-bottom {
  padding: 1.5rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-legal {
  max-width: 700px;
}

/* ============================================================
   IMAGE SECTIONS
   ============================================================ */

/* Hero with background image */
.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.8);
}
.hero-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--navy) 0%, transparent 12%),
    linear-gradient(to bottom, rgba(10,17,32,0.3) 0%, transparent 15%),
    rgba(10,17,32,0.1);
}

/* Page hero with background image */
.page-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.5);
}
.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--navy) 30%, transparent 65%),
    linear-gradient(to top, var(--navy) 8%, transparent 50%),
    linear-gradient(to bottom, rgba(10,17,32,0.7) 0%, transparent 40%);
}

/* Split section with image */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
}
.split-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-image {
  position: relative;
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 20%);
}
.split-image.darken::after {
  background:
    linear-gradient(to right, var(--navy) 0%, transparent 25%),
    rgba(10,17,32,0.35);
}

/* Image banner / accent strip */
.img-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.5);
}
.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--navy) 0%, transparent 25%, transparent 75%, var(--navy) 100%),
    rgba(10,17,32,0.4);
}
.img-banner .banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

/* Inline section image (contained) */
.section-image {
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.section-image:hover img {
  transform: scale(1.03);
}

/* Decorative background image (low opacity, behind content) */
.bg-accent {
  position: absolute;
  z-index: 0;
  opacity: 0.06;
  filter: saturate(0.4);
  pointer-events: none;
}
.bg-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-image {
    height: 280px;
    order: -1;
  }
  .split-image::after {
    background: linear-gradient(to top, var(--navy) 0%, transparent 30%);
  }
  .split-image.darken::after {
    background:
      linear-gradient(to top, var(--navy) 0%, transparent 35%),
      rgba(10,17,32,0.35);
  }
  .split-content {
    padding: 3rem 1.5rem;
  }
  .img-banner { height: 220px }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px) }
  to { opacity: 1; transform: none }
}
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s }
.reveal-delay-2 { transition-delay: 0.2s }
.reveal-delay-3 { transition-delay: 0.3s }
.reveal-delay-4 { transition-delay: 0.4s }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s }

/* ============================================================
   SOURCING SECTION (Formulary)
   ============================================================ */
.sourcing-section {
  padding: var(--section-pad);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,0.04) 0%, transparent 70%),
    var(--navy);
}
.sourcing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.sourcing-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(30,49,80,0.5) 0%, rgba(10,17,32,0.6) 100%);
  transition: border-color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}
.sourcing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.sourcing-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
}
.sourcing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.sourcing-card p {
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr }
  .grid-4 { grid-template-columns: repeat(2, 1fr) }
  .testimonials-grid { grid-template-columns: 1fr 1fr }
}

@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  .main-nav { padding: 1.2rem 1.5rem }
  .main-nav.scrolled { padding: 1rem 1.5rem }
  .nav-links, .nav-cta { display: none }
  .mobile-toggle { display: flex }

  .hero { padding: 8rem 1.5rem 4rem }
  .page-hero { padding: 9rem 1.5rem 3.5rem }
  .hero-stats { gap: 2rem; flex-wrap: wrap }

  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem) }
  h2 { font-size: clamp(1.8rem, 6vw, 2.6rem) }

  .grid-2, .grid-3, .grid-4, .sourcing-grid { grid-template-columns: 1fr }
  .testimonials-grid { grid-template-columns: 1fr }

  .calculator-wrap { grid-template-columns: 1fr }
  .form-row { grid-template-columns: 1fr }

  .trust-bar-inner { gap: 2rem }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    text-align: center;
  }

  .diff-grid { grid-template-columns: 1fr !important }
}

@media (max-width: 480px) {
  .hero { padding: 7rem 1.2rem 3rem }
  .hero-stats { gap: 1.5rem }
  .stat-num { font-size: 2.2rem }
}
