/* ============================================
   TAINOSYSTEMS — Stylesheet principal
   Design corporate · Navy + Or
   Édité par Tainosystems Canada Inc.
   ============================================ */

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

:root {
  /* Palette corporate Tainosystems */
  --navy: #1C2B4A;
  --navy-dark: #152544;
  --navy-darker: #0B1A2E;
  --primary: #1877F2;
  --primary-dark: #166FE5;
  --primary-light: #4293F7;
  --primary-lighter: #E7F1FE;
  --primary-bg: #F0F6FF;

  /* Accents */
  --gold: #D4A24C;
  --gold-dark: #B5862C;
  --gold-light: #F5E5C4;
  --teal: #42A5F5;
  --green-cert: #2BB673;
  --red-strategic: #C03A3A;

  /* Neutres */
  --white: #FFFFFF;
  --gray-50: #F7F9FC;
  --gray-100: #EDF1F7;
  --gray-200: #DDE3ED;
  --gray-300: #C5CEDC;
  --gray-400: #8E99AC;
  --gray-500: #5D6B82;
  --gray-600: #3F4C63;
  --gray-700: #2C3849;
  --gray-800: #1C2533;
  --gray-900: #0E141E;

  --success: #28A745;
  --warning: #FFC107;
  --danger: #DC3545;

  /* Typographies */
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(28, 43, 74, 0.06), 0 1px 2px rgba(28, 43, 74, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 43, 74, 0.08), 0 2px 4px rgba(28, 43, 74, 0.04);
  --shadow-lg: 0 12px 32px rgba(28, 43, 74, 0.12), 0 4px 8px rgba(28, 43, 74, 0.06);
  --shadow-navy: 0 8px 24px rgba(28, 43, 74, 0.20);
  --shadow-gold: 0 4px 12px rgba(212, 162, 76, 0.25);

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.2rem; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.logo-footer img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  padding: 0.55rem 0.75rem;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

@media (min-width: 1180px) {
  .main-nav a {
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
  }
  .main-nav { gap: 0.25rem; }
}

.main-nav a:hover {
  color: var(--navy);
  background: var(--primary-bg);
}

.main-nav a.active {
  color: var(--navy);
  background: var(--primary-lighter);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.15rem;
  background: var(--gray-100);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.lang-switcher button {
  background: transparent;
  border: none;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.lang-switcher button.active {
  background: var(--navy);
  color: var(--white);
}

.lang-switcher button:hover:not(.active) {
  background: var(--gray-200);
  color: var(--navy);
}

.btn-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-navy);
}

.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-stripe {
  background: linear-gradient(135deg, #635BFF 0%, #5851EE 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(99,91,255,0.3);
}

.btn-stripe:hover {
  background: linear-gradient(135deg, #5851EE 0%, #4A43D8 100%);
  color: var(--white);
  transform: translateY(-1px);
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212,162,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(58,141,222,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(212, 162, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212,162,76,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  max-width: 880px;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  max-width: 750px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
}

.trust-item::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* === SECTIONS === */
section {
  padding: 5rem 0;
}

.section-light { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-header .eyebrow {
  background: var(--primary-lighter);
  color: var(--primary);
  border: 1px solid var(--primary-light);
}

.section-header h2 em {
  color: var(--gold-dark);
  font-style: normal;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

/* === STATS BAND === */
.stats-band {
  background: var(--navy);
  padding: 4rem 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat {
  border-right: 1px solid rgba(255,255,255,0.15);
  padding: 0 1rem;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

/* === CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .cards-grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--navy);
}

.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.card-meta span {
  background: var(--primary-bg);
  color: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.card-link::after {
  content: "→";
  transition: var(--transition);
}

.card-link:hover::after { transform: translateX(4px); }

/* === PILLAR CARDS (Pourquoi nous) === */
.pillar {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar:nth-child(2) { border-top-color: var(--gold); }
.pillar:nth-child(3) { border-top-color: var(--green-cert); }

.pillar:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.pillar h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.pillar p {
  color: var(--gray-600);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* === INDUSTRY CARDS (with image hero) === */
.industry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.industry-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.industry-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-md);
}

.industry-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.industry-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.industry-card-body p {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  flex: 1;
}

.industry-card-products {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.industry-card-products strong { color: var(--navy); }

/* === PRODUCT GRID === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.product-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--primary-bg) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo-style card image: white background, logo centered with contain */
.product-card-image.logo {
  background: var(--white);
  padding: 1.5rem;
}

.product-card-image.logo img {
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
}

/* Dark-brand variant (e.g. Silabmed Immunisation already on blue background) */
.product-card-image.dark-brand {
  background: var(--primary);
  padding: 0;
}

.product-card-image.dark-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tinted soft background variants (subtle gradient instead of pure white) */
.product-card-image.tint-blue {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 100%);
}
.product-card-image.tint-green {
  background: linear-gradient(135deg, #E7F6EE 0%, var(--white) 100%);
}
.product-card-image.tint-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--white) 100%);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.product-tagline {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-style: italic;
}

.product-status {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-certified { background: rgba(43,182,115,0.15); color: var(--green-cert); }
.status-production { background: var(--primary-lighter); color: var(--primary); }
.status-launch { background: rgba(212,162,76,0.15); color: var(--gold-dark); }

/* === PRODUCT SHOWCASE (home hero composition) === */
.product-showcase-section {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.product-showcase {
  margin: 2rem 0 0;
  padding: 0;
  text-align: center;
}

.product-showcase img {
  width: 100%;
  max-width: 1280px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 12px 32px rgba(28, 43, 74, 0.10));
}

.product-showcase-caption {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-style: italic;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .product-showcase img {
    border-radius: var(--radius-md);
  }
  .product-showcase-caption {
    font-size: 0.78rem;
  }
}

/* === SERVICE PRICING ZONES === */
.zone-section {
  margin-bottom: 4rem;
}

.zone-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.zone-green { background: rgba(43,182,115,0.08); border-left: 4px solid var(--green-cert); }
.zone-yellow { background: rgba(212,162,76,0.08); border-left: 4px solid var(--gold); }
.zone-red { background: rgba(192,58,58,0.08); border-left: 4px solid var(--red-strategic); }

.zone-badge {
  font-size: 2rem;
}

.zone-header h2 {
  font-size: 1.4rem;
  margin: 0;
}

.zone-header p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-top: 0.3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.8rem 0;
}

.service-price-usd {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 500;
}

.service-features {
  list-style: none;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.service-features li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--gray-600);
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-cert);
  font-weight: 700;
}

.service-delay {
  background: var(--gray-50);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 1.2rem;
}

/* === CERTIFICATION CARD === */
.cert-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,162,76,0.15) 0%, transparent 70%);
}

.cert-seal {
  width: 140px;
  height: 140px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.cert-seal span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.cert-content h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cert-content h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cert-details {
  list-style: none;
  margin-bottom: 1.5rem;
}

.cert-details li {
  padding: 0.4rem 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.cert-details li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 768px) {
  .cert-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .cert-seal { margin: 0 auto; }
}

/* === OFFICES GRID === */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.office-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
}

.office-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.office-flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.office-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.office-country {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.office-role {
  font-size: 0.88rem;
  color: var(--gray-600);
  font-style: italic;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(212,162,76,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(58,141,222,0.08) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.cta-section h2 em {
  color: var(--gold-light);
  font-style: normal;
}

.cta-section .section-lead {
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.cta-section .hero-ctas {
  justify-content: center;
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--gray-50);
  padding: 1rem 0;
  font-size: 0.88rem;
}

.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--gray-400); margin: 0 0.6rem; }
.breadcrumb-current { color: var(--navy); font-weight: 600; }

/* === FORMS === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-row { margin-bottom: 1.5rem; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24,119,242,0.15);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

/* === STRIPE ELEMENTS === */
.stripe-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.invoice-summary {
  background: var(--primary-bg);
  border: 1px solid var(--primary-lighter);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.invoice-summary h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.invoice-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

#card-element {
  padding: 0.9rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.security-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.security-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* === MOBILE NAV === */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .btn-mobile { display: block; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    align-items: stretch;
    gap: 0;
  }

  .main-nav.open a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gray-100);
  }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 4.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 2.5rem; }
}

/* === UTILS === */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hide-mobile { display: block; }
@media (max-width: 768px) { .hide-mobile { display: none; } }
