/* =============================================
   CERCANOS DESIGN SYSTEM — Comprehensive Stylesheet
   Covers ALL class names used across all 9 HTML pages
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', sans-serif; font-weight: 400;
  color: #5B4B44; background-color: #F4F0E6;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #5B4B44; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #DE8030; }
h1, h2, h3, h4 { font-family: 'Quicksand', sans-serif; font-weight: 600; color: #111; }
h1 { font-size: clamp(32px, 4.5vw, 58px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: clamp(18px, 2vw, 24px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.3; }
p { margin-bottom: 0; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== BILINGUAL TOGGLE ===== */
[data-lang="es"] { display: none !important; }
body.lang-es [data-lang="en"] { display: none !important; }
body.lang-es [data-lang="es"] { display: initial !important; }
body.lang-es div[data-lang="es"],
body.lang-es section[data-lang="es"],
body.lang-es p[data-lang="es"],
body.lang-es li[data-lang="es"],
body.lang-es label[data-lang="es"],
body.lang-es option[data-lang="es"] { display: block !important; }
body.lang-es span[data-lang="es"] { display: inline !important; }
body.lang-es a[data-lang="es"] { display: inline-block !important; }
body.lang-es h1[data-lang="es"],
body.lang-es h2[data-lang="es"],
body.lang-es h3[data-lang="es"],
body.lang-es h4[data-lang="es"],
body.lang-es h5[data-lang="es"],
body.lang-es h6[data-lang="es"] { display: block !important; }
/* Flex items stay flex when visible */
body.lang-es .hero-buttons a[data-lang="es"],
body.lang-es .button-group a[data-lang="es"],
body.lang-es .cta-buttons a[data-lang="es"] { display: inline-block !important; }

/* ===== UTILITY BAR ===== */
.utility-bar {
  background: #2C1627; color: rgba(255,255,255,0.85); font-size: 13px;
  padding: 8px 24px; display: flex; justify-content: flex-end; align-items: center;
  position: relative; z-index: 1001;
}
.utility-left { display: flex; align-items: center; }
.utility-right, .utility-links, .utility-bar-content {
  display: flex; align-items: center; gap: 20px;
}
.utility-bar a { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; letter-spacing: 0.3px; }
.utility-bar a:hover { color: #DE8030; }
/* Language flag toggles */
.lang-switcher {
  display: flex; align-items: center; gap: 6px;
}
.lang-flag-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: none; border: 2px solid transparent; border-radius: 8px;
  padding: 3px 8px; cursor: pointer; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.lang-flag-btn:hover { border-color: rgba(255,255,255,0.4); }
.lang-flag-btn.active { border-color: #DE8030; background: rgba(222,128,48,0.15); }
.lang-flag-btn .flag-emoji { font-size: 18px; line-height: 1; }
.lang-flag-btn .flag-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.lang-flag-btn.active .flag-label { color: #DE8030; }
/* Keep old .lang-toggle for backwards compat */
.lang-toggle { display: none; }

/* ===== NAVIGATION ===== */
.navbar, .nav {
  position: sticky; top: 0; z-index: 1000;
  background: #F4F0E6; padding: 14px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex; justify-content: space-between; align-items: center;
}
nav {
  position: sticky; top: 0; z-index: 1000;
  background: #F4F0E6; padding: 14px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 16px;
}
.nav-logo, .logo-wrap {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  flex-shrink: 0; margin-right: 12px;
  line-height: 0;
}
.nav-logo img, .logo-wrap img { height: auto; display: block; padding: 0; margin: 0; }
.logo-icon, .heart { height: 30px !important; width: auto !important; display: block; }
.logo-text, .wordmark { height: 20px !important; width: auto !important; display: block; padding: 0 !important; margin: 0 !important; }
.nav-menu, .nav-links {
  display: flex; align-items: center; gap: 16px; list-style: none;
  margin-left: auto;
}
body.lang-es .nav-menu, body.lang-es .nav-links {
  gap: 10px;
}
body.lang-es .nav-menu a, body.lang-es .nav-links a, body.lang-es .nav-links li a {
  font-size: 12px;
}
.nav-menu a, .nav-links a, .nav-links li a {
  font-size: 13px; font-weight: 500; color: #5B4B44; white-space: nowrap;
  padding: 6px 0; transition: color 0.2s;
}
.nav-menu a:hover, .nav-links a:hover { color: #DE8030; }
.nav-menu a.active, .nav-links a.active, .nav-links li a.active { color: #DE8030; font-weight: 600; }
.access-link { font-weight: 700 !important; text-transform: uppercase; letter-spacing: 1px; }
.cta-button, .nav-cta {
  background: #DE8030 !important; color: #fff !important; padding: 10px 24px !important;
  border-radius: 50px !important; font-weight: 600 !important; font-size: 13px !important;
  transition: background 0.3s !important;
}
.cta-button:hover, .nav-cta:hover { background: #c56e28 !important; color: #fff !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
/* Nav utilities — sticky items to the right of Let's Talk */
.nav-utilities {
  display: flex; align-items: center; gap: 8px; margin-left: 8px; flex-shrink: 0;
}
.nav-util-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(119,123,65,0.12); color: #5B4B44;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-util-link:hover { background: rgba(222,128,48,0.15); color: #DE8030; }
.nav-util-link svg { width: 16px; height: 16px; fill: currentColor; }
.nav-util-link.whatsapp { background: rgba(37,211,102,0.15); color: #25D366; }
.nav-util-link.whatsapp:hover { background: #25D366; color: #fff; }
/* Stacked "Cercanos logo / App" pill, sized to match Let's Talk button */
.nav-util-app {
  flex-direction: column; align-items: center; justify-content: center;
  width: auto; height: 36px; border-radius: 10px;
  padding: 4px 10px; line-height: 1; gap: 3px;
  background: rgba(119,123,65,0.10);
}
.nav-util-app .nav-util-app-logo { height: 11px; width: auto; display: block; }
.nav-util-app .nav-util-app-bottom { font-size: 11px; font-weight: 700; color: #5B4B44; letter-spacing: 0.3px; text-transform: uppercase; }
.nav-util-app:hover { background: rgba(222,128,48,0.15); }
.nav-util-app:hover .nav-util-app-bottom { color: #DE8030; }
/* Override light-navbar styles for the flag buttons */
.navbar .lang-flag-btn, .nav .lang-flag-btn { border-color: transparent; }
.navbar .lang-flag-btn:hover, .nav .lang-flag-btn:hover { border-color: rgba(91,75,68,0.3); }
.navbar .lang-flag-btn.active, .nav .lang-flag-btn.active { border-color: #DE8030; background: rgba(222,128,48,0.12); }
.navbar .lang-flag-btn .flag-label, .nav .lang-flag-btn .flag-label { color: #5B4B44; }
.navbar .lang-flag-btn.active .flag-label, .nav .lang-flag-btn.active .flag-label { color: #DE8030; }
.hamburger span { display: block; width: 22px; height: 2px; background: #5B4B44; border-radius: 2px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 14px; padding: 12px 28px; border-radius: 50px;
  letter-spacing: 0.3px; cursor: pointer; transition: all 0.3s ease;
  border: 2px solid transparent; text-align: center;
}
.btn-primary { background: #DE8030; color: #fff; border-color: #DE8030; }
.btn-primary:hover { background: #c56e28; border-color: #c56e28; color: #fff; }
.btn-secondary { background: #777B41; color: #fff; border-color: #777B41; }
.btn-secondary:hover { background: #636738; border-color: #636738; color: #fff; }
.btn-outline { background: transparent; color: #5B4B44; border-color: #5B4B44; }
.btn-outline:hover { background: #5B4B44; color: #fff; }
/* Large solo CTA button */
.btn-xl { font-size: 20px; padding: 20px 52px; letter-spacing: 0.5px; box-shadow: 0 6px 20px rgba(222,128,48,0.25); }
.btn-xl:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(222,128,48,0.35); }
.cta-solo { text-align: center; padding: 56px 16px; }

/* ===== SECTION LABEL ===== */
.section-label, .hero-label {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; color: #DE8030;
  margin-bottom: 12px; display: block;
}

/* ===== SECTION BACKGROUNDS ===== */
.bg-white { background: #fff; }
.bg-cream { background: #F4F0E6; }
.bg-dark { background: #2C1627; color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-olive { background: #777B41; color: #fff; }
.bg-olive h2, .bg-olive h3, .bg-olive h4 { color: #fff; }
.bg-olive .card .card-icon { width: 72px; height: 72px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 60px 0; }

/* Remove any visible straight-line borders between sections */
section, section + section { border: none; box-shadow: none; }

/* ===== SECTION TITLE ===== */
.section-title { margin-bottom: 8px; }

/* ===== CARDS (Global — BLACK BORDER, ROUNDED, NO SIDE COLORS) ===== */
.card {
  background: #fff; border-radius: 20px; padding: 32px 24px;
  border: 1.5px solid #222; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.card .card-icon {
  width: 52px; height: 52px; object-fit: contain; margin-bottom: 16px;
  /* No background — icons blend with card color */
}
.card h3, .card h4 { margin-bottom: 8px; }
.card p { font-size: 14px; line-height: 1.6; color: #5B4B44; }

/* Card highlighted variant (Cercanos in competitive section) */
.card.highlight {
  background: #DE8030; color: #fff; border-color: #DE8030;
  transform: translateY(-6px); box-shadow: 0 12px 28px rgba(222,128,48,0.25);
}
.card.highlight h3, .card.highlight h4, .card.highlight p, .card.highlight .card-label { color: #fff; }
.card.highlight .card-icon { filter: brightness(0) invert(1); }
.card.highlight .outcome-stat, .card.highlight .stat-large { color: #fff; }

.card-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: #999; margin-bottom: 10px; display: block;
}

/* ===== CARD GRIDS ===== */
.cards-grid-3, .grid-3, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.cards-grid-4, .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 60px; position: relative; overflow: hidden;
  background: #F4F0E6;
}
.hero.hero-bg-image {
  background-size: cover; background-position: center center;
  background-repeat: no-repeat; min-height: 520px;
}
.hero.hero-bg-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244,240,230,0.92) 0%, rgba(244,240,230,0.82) 50%, rgba(244,240,230,0.4) 100%);
  z-index: 0;
}
.hero.hero-bg-image > * { position: relative; z-index: 1; }
.page-hero-center.hero-bg-image {
  background-size: cover; background-position: center center;
  background-repeat: no-repeat; min-height: 520px;
  position: relative; overflow: hidden;
}
.page-hero-center.hero-bg-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244,240,230,0.92) 0%, rgba(244,240,230,0.82) 50%, rgba(244,240,230,0.4) 100%);
  z-index: 0;
}
.page-hero-center.hero-bg-image > * { position: relative; z-index: 1; }
.hero-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero-content { max-width: 600px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p { font-size: 17px; line-height: 1.7; margin-bottom: 28px; color: #5B4B44; }
.hero h1 .accent, .accent { color: #DE8030; }
.accent-text { color: #DE8030; font-style: normal; }
.hero-subtitle { font-size: 18px; max-width: 640px; margin-top: 16px; line-height: 1.6; }
.hero-desc { font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.hero-buttons, .cta-buttons, .button-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* Hero buttons: all green, hover to orange */
.hero-buttons .btn { background: #777B41; color: #fff; border-color: #777B41; }
.hero-buttons .btn:hover { background: #DE8030; color: #fff; border-color: #DE8030; }
.hero-visual {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.hero-visual .card { text-align: center; padding: 40px 36px; }
.stat-large {
  font-family: 'Quicksand', sans-serif; font-size: 64px; font-weight: 700;
  color: #DE8030; line-height: 1;
}
.stat-label { font-size: 16px; font-weight: 500; margin-top: 4px; }
.stat-x { font-size: 48px; }
.badge {
  background: #777B41; color: #fff; border-radius: 50px;
  padding: 12px 24px; font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 12px rgba(119,123,65,0.2);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero-center {
  padding: 80px 24px 60px; text-align: center; background: #F4F0E6;
}
.page-hero-center h1 { margin-bottom: 16px; }
.page-hero-center .subtitle { font-size: 18px; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.subtitle { font-size: 17px; max-width: 640px; margin-top: 16px; line-height: 1.6; }

/* ===== SECTION SPECIFIC STYLES ===== */
.section-stuck, .section-competitive, .section-wins, .section-cta,
.section-outcomes, .section, .our-story, .what-we-stand, .how-we-help,
.blog-section, .contact-section, .different-cards { padding: 80px 24px; }

.section-stuck { background: #fff; }
.section-competitive { background: #F4F0E6; }

/* Outcomes Section (dark) */
.section-outcomes { background: #2C1627; color: #fff; padding: 80px 24px; }
.section-outcomes h2 { color: #fff; }
.section-outcomes .section-label { color: #DE8030; }
.outcomes-grid, .outcome-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 32px;
}
.outcome-card {
  background: rgba(255,255,255,0.06); border-radius: 16px;
  padding: 24px 16px; text-align: center; border: 1px solid rgba(255,255,255,0.1);
}
.outcome-stat {
  font-family: 'Quicksand', sans-serif; font-size: 36px; font-weight: 700;
  color: #DE8030; line-height: 1;
}
.outcome-label { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 6px; line-height: 1.3; }

/* Everybody Wins Section (olive) */
.section-wins { background: #777B41; color: #fff; }
.section-wins h2 { color: #fff; }
.section-wins .card { background: #fff; border-color: #222; }
.section-wins .card h3, .section-wins .card p { color: #5B4B44; }
.section-wins .card h3 { color: #111; }

/* CTA Section */
.section-cta { text-align: center; background: #F4F0E6; }
.cta-section { padding: 80px 24px; text-align: center; background: #F4F0E6; }
.cta-section h2, .cta-title { margin-bottom: 12px; }
.cta-section p, .cta-text { font-size: 17px; max-width: 500px; margin: 0 auto 28px; }
.cta-container { max-width: 600px; margin: 0 auto; }

/* ===== FLOW STEPS (How It Works) ===== */
.model-flow {
  display: flex; align-items: stretch; justify-content: center;
  gap: 12px; flex-wrap: nowrap; margin-top: 32px;
}
.flow-step {
  background: #fff; border-radius: 20px; padding: 28px 20px;
  text-align: center;
  width: 160px; min-width: 160px; max-width: 160px;
  height: 160px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1.5px solid #222;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.flow-step:hover {
  border-color: #DE8030; border-width: 2.5px;
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(222,128,48,0.18);
}
.flow-step .flow-icon, .flow-step .card-icon { width: 44px; height: 44px; margin: 0 auto 10px; object-fit: contain; }
.flow-step p { font-size: 13px; font-weight: 600; color: #5B4B44; line-height: 1.3; }
.flow-step:hover p { color: #DE8030; }
.flow-arrow { color: #DE8030; font-size: 24px; font-weight: 700; display: flex; align-items: center; flex-shrink: 0; }

/* ===== NUMBERED STEPS ===== */
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #DE8030; color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 12px;
}

/* ===== IMPLEMENTATION / PHASE BADGES (legacy) ===== */
.phase-badge {
  display: inline-block; background: #777B41; color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 4px 14px; border-radius: 50px;
  margin-bottom: 14px;
}
.stage-1 .phase-badge { background: #777B41; }
.stage-2 .phase-badge { background: #DE8030; }
.stage-3 .phase-badge { background: #2C1627; }

/* ===== IMPLEMENTATION CARDS (redesigned) ===== */
.impl-card { text-align: left; padding: 36px 28px; }
.impl-stage-num {
  width: 52px; height: 52px; border-radius: 50%; color: #fff;
  font-size: 24px; font-weight: 800; display: flex; align-items: center;
  justify-content: center; margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.impl-stage-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: #DE8030; margin-bottom: 6px;
}
.impl-card h3 { font-size: 22px; margin-bottom: 20px; color: #222; }
.impl-items { display: flex; flex-direction: column; gap: 12px; }
.impl-item {
  font-size: 16px; line-height: 1.4; color: #5B4B44; font-weight: 500;
  padding-left: 24px; position: relative;
}
.impl-item::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%; background: #DE8030;
}
.card ul { list-style: none; padding: 0; margin-top: 8px; }
.card li { font-size: 13px; padding: 5px 0 5px 18px; position: relative; color: #5B4B44; }
.card li::before { content: '\2192'; position: absolute; left: 0; color: #DE8030; font-weight: 600; }

/* ===== VBC IMPACT CARDS ===== */
.vbc-impact-card { text-align: left; }
.vbc-impact-card .card-icon { width: 56px; height: 56px; margin-bottom: 14px; }
.vbc-impact-card h3 { font-size: 20px; margin-bottom: 16px; color: #222; }
.vbc-stats { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.vbc-stat-row {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.vbc-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.vbc-stat-number {
  font-size: 32px; font-weight: 800; color: #DE8030; line-height: 1;
  letter-spacing: -0.5px; flex-shrink: 0;
}
.vbc-stat-desc {
  font-size: 16px; line-height: 1.3; color: #5B4B44; font-weight: 500;
}
.vbc-stat-text-only { padding-left: 2px; }
.vbc-stat-text-only .vbc-stat-desc {
  font-size: 15px; color: #777B41; font-weight: 600;
}
.bg-olive .vbc-impact-card { background: #fff; }
.bg-olive .vbc-stat-number { color: #DE8030; }
.bg-olive .vbc-stat-text-only .vbc-stat-desc { color: #777B41; }

/* ===== CONDITION CARDS ===== */
.condition-card { text-align: center; }
.condition-card .card-icon { margin: 0 auto 12px; }

/* BH Foundation Layer: visually sits beneath the 4 chronic conditions */
.conditions-stack { position: relative; }
.conditions-stack .conditions-row { position: relative; z-index: 2; }
.bh-layer {
  position: relative;
  margin-top: -20px;
  padding: 56px 40px 36px;
  background: linear-gradient(135deg, #2C1627 0%, #5B4B44 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #F4F0E6;
  box-shadow: 0 12px 32px rgba(44, 22, 39, 0.18);
  z-index: 1;
}
.bh-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 4px;
  background: #DE8030;
  border-radius: 0 0 4px 4px;
  opacity: 0.9;
}
.bh-layer-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(244, 240, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bh-layer-icon img {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.bh-layer-content { flex: 1; }
.bh-layer-content h4 {
  color: #F4F0E6;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.bh-layer-content p {
  color: rgba(244, 240, 230, 0.85);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .bh-layer {
    flex-direction: column;
    text-align: center;
    padding: 44px 24px 28px;
    gap: 16px;
  }
  .bh-layer-content h4 { font-size: 19px; }
}

/* ===== PLATFORM SECTION ===== */
.platform-features { display: flex; flex-direction: column; gap: 16px; }
.platform-feature {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.06); border-radius: 14px; padding: 20px;
}
.platform-feature .pf-icon, .platform-feature .card-icon {
  width: 40px; height: 40px; object-fit: contain; flex-shrink: 0;
}
.platform-feature h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.platform-feature p { color: rgba(255,255,255,0.65); font-size: 13px; }
.platform-diagram {
  background: rgba(255,255,255,0.04); border-radius: 20px; padding: 36px;
  border: 1px solid rgba(255,255,255,0.08); text-align: center;
}
.hub {
  background: #DE8030; color: #fff; border-radius: 14px;
  padding: 16px 28px; font-weight: 600; font-size: 16px; display: inline-block; margin-bottom: 20px;
}
.platform-spokes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.spoke {
  background: rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 16px;
  font-size: 12px; color: rgba(255,255,255,0.75);
}

/* ===== CONNECTED PLATFORM LAYER DIAGRAM ===== */
.platform-layer {
  max-width: 900px; margin: 48px auto 0; display: flex; flex-direction: column; align-items: center; gap: 0;
  background: #F4F0E6; border-radius: 24px; padding: 40px 32px; border: 1.5px solid rgba(0,0,0,0.06);
}
.platform-layer-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%;
}
.platform-layer-card {
  background: #fff; border-radius: 20px; padding: 32px 28px; text-align: center;
  border: 1.5px solid #ddd; transition: all 0.3s ease;
}
.platform-layer-card:hover {
  border-color: #DE8030; transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(222,128,48,0.12);
}
.platform-layer-icon {
  width: 36px; height: 36px; object-fit: contain; margin: 0 auto 12px;
}
.platform-layer-card h4 { font-size: 18px; margin-bottom: 8px; color: #DE8030; }
.platform-layer-card p { font-size: 14px; line-height: 1.5; color: #5B4B44; }
.platform-layer-dots {
  display: flex; justify-content: center; gap: 8px; padding: 14px 0;
}
.platform-layer-dots span {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  background: #DE8030;
}
.platform-layer-hub {
  background: #DE8030; border-radius: 16px; padding: 28px 40px; width: 100%;
  text-align: center;
}
.platform-layer-hub h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.platform-layer-hub p { color: rgba(255,255,255,0.88); font-size: 15px; line-height: 1.5; }

@media (max-width: 600px) {
  .platform-layer-row { grid-template-columns: 1fr; }
  .platform-layer { padding: 24px 16px; }
  .platform-layer-hub { padding: 20px 16px; }
}

/* ===== CHECKLIST (For Patients) ===== */
.checklist, .check-list { display: flex; flex-direction: column; gap: 20px; }
.check-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.check-item .card-icon, .check-item .check-icon {
  width: 36px; height: 36px; flex-shrink: 0; object-fit: contain;
}
.check-item div h4 { font-size: 16px; margin-bottom: 3px; }
.check-item div p { font-size: 14px; }
.check-visual {
  background: linear-gradient(145deg, #DE8030, #c56e28);
  border-radius: 20px; padding: 40px; color: #fff; text-align: center;
}
.check-visual .big-number, .check-visual .big {
  font-family: 'Quicksand', sans-serif; font-size: 56px; font-weight: 700;
}
.check-visual p { font-size: 16px; margin-top: 8px; opacity: 0.9; }

/* ===== DARK OUTCOME CARDS (Outcomes page utilization) ===== */
.dark-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.dark-outcome-card {
  background: #2C1627; border-radius: 20px; padding: 36px; text-align: center; color: #fff;
}
.dark-outcome-card .number, .dark-outcome-card .outcome-stat {
  font-family: 'Quicksand', sans-serif; font-size: 48px; font-weight: 700; color: #DE8030;
}
.dark-outcome-card .label, .dark-outcome-card .outcome-label, .dark-outcome-card .metric {
  font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 6px;
}
.dark-outcome-card .detail { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }

/* ===== ENGAGEMENT CARDS (Outcomes page — on olive bg) ===== */
.engagement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.engagement-card {
  background: #fff; border-radius: 20px; padding: 28px; text-align: center;
  border: 1.5px solid #222;
}
.engagement-card .number, .engagement-card .outcome-stat {
  font-family: 'Quicksand', sans-serif; font-size: 40px; font-weight: 700; color: #DE8030;
}
.engagement-card .label, .engagement-card .outcome-label {
  font-size: 13px; color: #5B4B44; margin-top: 4px;
}

/* ===== FINANCIAL CARDS ===== */
.financial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; max-width: 600px; }
.financial-card {
  background: #fff; border-radius: 20px; padding: 36px; text-align: center;
  border: 1.5px solid #222;
}
.financial-card .number, .financial-card .outcome-stat {
  font-family: 'Quicksand', sans-serif; font-size: 48px; font-weight: 700; color: #777B41;
}
.financial-card .label, .financial-card .outcome-label {
  font-size: 15px; font-weight: 500; color: #111; margin-top: 6px;
}

/* ===== OUTCOME PAGE — BIG CARDS ===== */
.outcome-card .number {
  font-family: 'Quicksand', sans-serif; font-size: 48px; font-weight: 700; color: #DE8030; line-height: 1;
}
.outcome-card .metric { font-size: 15px; font-weight: 600; color: #111; margin-top: 6px; }
.outcome-card .detail { font-size: 13px; color: #888; margin-top: 3px; }

/* ===== OUR STORY (About page) ===== */
.our-story { background: #fff; }
.story-container { max-width: 720px; margin: 0 auto; }
.story-container p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; color: #5B4B44; }

/* ===== WHAT WE STAND FOR (About page) ===== */
.what-we-stand { background: #F4F0E6; }

/* ===== FOUNDER QUOTE ===== */
.founder-quote {
  background: #2C1627; padding: 80px 24px; text-align: center; color: #fff;
}
.quote-container { max-width: 720px; margin: 0 auto; }
.founder-quote blockquote, .quote-container blockquote {
  font-family: 'Quicksand', sans-serif; font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500; line-height: 1.5; font-style: italic; color: #fff;
  margin-bottom: 16px;
}
.founder-quote cite, .quote-container cite {
  font-style: normal; font-size: 15px; color: #DE8030;
}

/* ===== BLOG CARDS ===== */
.blog-section { background: #fff; }
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; margin-top: 32px; max-width: 1200px; margin-left: auto; margin-right: auto;
}
.blog-card {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1.5px solid #222; transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.blog-date, .blog-card .date { font-size: 12px; color: #DE8030; font-weight: 600; }
.blog-card h3 { margin: 10px 0 8px; font-size: 18px; }
.blog-card p { font-size: 14px; line-height: 1.6; }
.blog-read-more, .blog-card .read-more {
  display: inline-block; margin-top: 14px; color: #DE8030; font-weight: 600; font-size: 13px;
  cursor: pointer; text-decoration: none;
}
.blog-read-more:hover, .blog-card .read-more:hover { color: #c56e28; }

/* ===== POST MODAL (Contigo blog full-article overlay) ===== */
.post-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
}
.post-modal.open { display: flex; }
.post-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(44, 22, 39, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: postModalFadeIn 0.2s ease-out;
}
.post-modal-panel {
  position: relative; z-index: 1;
  background: #F4F0E6;
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(44, 22, 39, 0.35);
  animation: postModalSlideUp 0.28s ease-out;
  overflow: hidden;
}
.post-modal-close {
  position: absolute; top: 14px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(91, 75, 68, 0.08);
  color: #5B4B44; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.post-modal-close:hover { background: #DE8030; color: #fff; }
.post-modal-content {
  overflow-y: auto;
  padding: 56px 56px 48px;
  -webkit-overflow-scrolling: touch;
}
.post-modal-meta {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: #DE8030; margin-bottom: 14px;
}
.post-modal-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 32px; line-height: 1.2; margin: 0 0 12px;
  color: #2C1627; font-weight: 700;
}
.post-modal-byline {
  font-size: 14px; color: #777B41; font-weight: 500; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(91, 75, 68, 0.15);
}
.post-modal-body p {
  font-size: 16px; line-height: 1.75; color: #2C1627;
  margin: 0 0 18px;
}
.post-modal-body .post-pullquote {
  font-size: 18px; font-weight: 600; color: #2C1627;
  background: rgba(222, 128, 48, 0.08);
  border-left: 4px solid #DE8030;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  line-height: 1.6;
}
@keyframes postModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes postModalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .post-modal { padding: 16px; }
  .post-modal-panel { max-height: calc(100vh - 32px); border-radius: 16px; }
  .post-modal-content { padding: 44px 24px 32px; }
  .post-modal-title { font-size: 24px; }
  .post-modal-body p { font-size: 15px; line-height: 1.7; }
  .post-modal-body .post-pullquote { font-size: 16px; padding: 14px 18px; }
  .post-modal-close { top: 10px; right: 12px; width: 34px; height: 34px; font-size: 22px; }
}

/* ===== CONTACT ===== */
.contact-section { background: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.contact-left h2 { margin-bottom: 12px; margin-top: 0; padding-top: 0; }
.contact-left { padding-top: 32px; }
.contact-form h3 { margin-top: 0; }
.contact-left p, .contact-left .subtitle { font-size: 16px; margin-bottom: 24px; line-height: 1.6; }
.contact-details { margin-bottom: 24px; }
.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.contact-item img { width: 24px; height: 24px; }
.next-steps-card {
  background: #F4F0E6; border-radius: 16px; padding: 28px 32px; margin-top: 24px;
  border: 1px solid rgba(119, 123, 65, 0.12);
}
.next-steps-card h3 { font-size: 18px; margin-bottom: 16px; color: #2C1627; }
.next-steps-card h4 { margin-bottom: 10px; }
.next-steps-card p { font-size: 13px; margin-bottom: 6px; }
.next-steps-list {
  list-style: none; counter-reset: steps; padding: 0; margin: 0;
}
.next-steps-list li {
  counter-increment: steps; position: relative; padding-left: 36px;
  font-size: 15px; line-height: 1.6; margin-bottom: 14px; color: #5B4B44;
}
.next-steps-list li:last-child { margin-bottom: 0; }
.next-steps-list li::before {
  content: counter(steps); position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: #DE8030;
  color: #fff; font-size: 13px; font-weight: 600; display: flex;
  align-items: center; justify-content: center;
}
.next-steps-list li strong { color: #2C1627; }

.contact-form {
  display: flex; flex-direction: column; gap: 14px;
  background: #F4F0E6; border-radius: 20px; padding: 32px;
  border: 1px solid rgba(119, 123, 65, 0.1);
}
.contact-form h3 {
  font-size: 22px; margin-bottom: 4px; color: #2C1627;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 13px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea,
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #ddd; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px; background: #FAFAFA;
  transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #777B41;
}
.contact-form textarea, .form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  align-self: stretch; background: #DE8030; color: #fff; border: none;
  border-radius: 14px; padding: 16px 32px; font-size: 17px; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer; letter-spacing: 0.3px;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}
.form-submit:hover { background: #c96e24; transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer, .footer { background: #2C1627; color: rgba(255,255,255,0.6); padding: 48px 24px 24px; }
footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
footer a { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 8px; display: block; }
footer a:hover { color: #DE8030; }
footer p { color: rgba(255,255,255,0.6); }
.footer-section { display: flex; flex-direction: column; }
.footer-section h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-section a { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 8px; display: block; }
.footer-section a:hover { color: #DE8030; }
.footer-container, .footer-content, .footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 36px; margin-bottom: 36px;
}
/* Compliancy trust badge — in footer, right-aligned */
.footer-badge { display: flex; align-items: flex-start; justify-content: flex-end; }
.compliancy-badge { max-width: 120px; }
.compliancy-badge a { display: block !important; width: 120px !important; margin: 0 !important; text-align: right !important; }
.compliancy-badge img { max-width: 120px !important; height: auto !important; }

/* Single-row footer layout */
.footer-logo, .logo-section {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.footer-logo img { height: auto; }
.footer-logo img:first-child, .footer-logo .logo-icon, .footer-logo .heart { height: 22px !important; width: auto !important; }
.footer-logo img:nth-child(2), .footer-logo .logo-text, .footer-logo .wordmark { height: 16px !important; width: auto !important; }
.footer-brand p { font-size: 13px; max-width: 260px; margin-top: 8px; }
/* Social icons row in footer — side by side */
.footer-social-row { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.footer-social-icon { display: inline-flex; align-items: center; justify-content: center; }
.footer-social-icon svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.6); transition: fill 0.2s; }
.footer-social-icon:hover svg { fill: #DE8030; }
.footer-columns { display: contents; }
.footer-column { display: flex; flex-direction: column; }
.footer h4, .footer-column h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer a, .footer-column a { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 8px; display: block; }
.footer a:hover, .footer-column a:hover { color: #DE8030; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; margin-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a, .footer-legal a { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { display: inline; margin-left: 0; }
.footer-linkedin { display: inline-block; margin-top: 12px; opacity: 0.6; transition: opacity 0.3s; }
.footer-linkedin:hover { opacity: 1; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab, .whatsapp-button {
  position: fixed; bottom: 20px; left: 20px; width: 52px; height: 52px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 12px rgba(37,211,102,0.35);
  z-index: 999; transition: transform 0.3s; color: #fff;
}
.whatsapp-fab:hover, .whatsapp-button:hover { transform: scale(1.1); color: #fff; }
.whatsapp-fab svg, .whatsapp-button svg { width: 24px; height: 24px; fill: #fff; }

/* ===== WAVE SECTION DIVIDERS ===== */
.wave-divider {
  width: 100%; overflow: hidden; line-height: 0; position: relative; z-index: 1;
  margin-top: -1px;
}
.wave-divider svg {
  display: block; width: 100%; height: auto;
}
.wave-divider.flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }

/* ===== HERO IMAGE INTERLUDE ===== */
.hero-image-interlude {
  padding: 40px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-image-interlude img {
  max-width: 420px; width: 100%; height: auto; margin: 0 auto;
  object-fit: contain;
}

/* ===== iPHONE MOCKUP ===== */
.iphone-mockup {
  width: 280px; flex-shrink: 0;
  background: #111; border-radius: 40px; padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 0 0 2px #333;
  position: relative;
}
.iphone-screen {
  background: #fff; border-radius: 30px; overflow: hidden;
  padding: 0; position: relative;
}
.iphone-notch {
  width: 120px; height: 28px; background: #111; border-radius: 0 0 16px 16px;
  margin: 0 auto; position: relative; z-index: 2;
}
.iphone-content {
  padding: 16px 18px 24px; font-family: 'Inter', sans-serif;
}
.iphone-content .visit-header {
  background: linear-gradient(135deg, #DE8030, #E8A040);
  color: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
  text-align: center;
}
.iphone-content .visit-header h4 { color: #fff; font-size: 14px; margin-bottom: 2px; }
.iphone-content .visit-header p { font-size: 11px; color: rgba(255,255,255,0.85); margin: 0; }
.iphone-content .visit-card {
  background: #F4F0E6; border-radius: 12px; padding: 12px 14px;
  margin-bottom: 10px; border: 1px solid #eee;
}
.iphone-content .visit-card h5 {
  font-family: 'Quicksand', sans-serif; font-size: 12px;
  font-weight: 600; color: #111; margin-bottom: 4px;
}
.iphone-content .visit-card p { font-size: 10px; color: #5B4B44; line-height: 1.4; margin: 0; }
.iphone-content .visit-btn {
  display: block; width: 100%; background: #777B41; color: #fff;
  border: none; border-radius: 50px; padding: 10px; font-size: 12px;
  font-weight: 600; text-align: center; margin-top: 8px; cursor: pointer;
}
.platform-with-phone {
  display: flex; gap: 48px; align-items: center; margin-top: 48px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .outcomes-grid, .outcome-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid-4, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .engagement-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-with-phone { flex-direction: column; }
  .iphone-mockup { width: 240px; margin: 0 auto; }
  .platform-layer { max-width: 100%; }
}

@media (max-width: 768px) {
  /* Care Team Diagram (For Patients page) — fit in mobile viewport */
  .care-team-diagram { width: 100%; }
  .ctd-entities-row { gap: 12px !important; margin-bottom: 12px !important; flex-wrap: nowrap !important; }
  .ctd-entity { min-width: 0 !important; flex: 1 1 0; max-width: 110px; }
  .ctd-entity-card { padding: 12px 8px !important; border-radius: 14px !important; border-width: 2px !important; box-shadow: 0 4px 14px rgba(0,0,0,0.06) !important; }
  .ctd-entity-card img { width: 32px !important; height: 32px !important; margin: 0 auto 4px !important; }
  .ctd-entity-card h4 { font-size: 12px !important; line-height: 1.15 !important; margin-bottom: 1px !important; }
  .ctd-entity-card p { font-size: 10px !important; line-height: 1.2 !important; }
  .ctd-you-circle { width: 64px !important; height: 64px !important; border-width: 3px !important; box-shadow: 0 6px 18px rgba(44,22,39,0.3) !important; }
  .ctd-you-circle svg { width: 18px !important; height: 18px !important; }
  .ctd-you-circle span { font-size: 9px !important; letter-spacing: 0.5px !important; }
  .ctd-you-tags { display: none !important; }
  .ctd-team-panel { padding: 16px 12px !important; border-radius: 18px !important; margin-top: 16px !important; }
  .ctd-team-panel h5 { font-size: 12px !important; padding-bottom: 8px !important; margin-bottom: 12px !important; }
  .ctd-doctor-card { padding: 10px 14px !important; gap: 10px !important; max-width: 100% !important; margin-bottom: 10px !important; }
  .ctd-doctor-card img { width: 36px !important; height: 36px !important; }
  .ctd-doctor-card h6 { font-size: 13px !important; }
  .ctd-doctor-card span { font-size: 11px !important; }
  .ctd-members-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .ctd-members-grid > div { padding: 12px 6px !important; border-radius: 12px !important; }
  .ctd-members-grid img { width: 30px !important; height: 30px !important; margin-bottom: 4px !important; }
  .ctd-members-grid h6 { font-size: 11px !important; line-height: 1.15 !important; }
  .ctd-members-grid span { font-size: 9px !important; line-height: 1.2 !important; }

  /* Utility bar (legacy — now hidden, items moved to navbar) */
  .utility-bar { display: none; }
  .lang-switcher { gap: 4px; }

  /* Navigation */
  .navbar, .nav, nav { padding: 10px 12px; }
  .nav-menu, .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open, .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #F4F0E6;
    padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    gap: 12px; z-index: 999;
  }
  .nav-container { position: relative; }
  /* Keep nav utilities (app, whatsapp, language flags) visible on mobile */
  .nav-utilities { margin-left: auto; margin-right: 6px; gap: 6px; }
  .nav-util-link { width: 30px; height: 30px; }
  .nav-util-link svg { width: 15px; height: 15px; }
  .lang-flag-btn { padding: 2px 5px; }
  .lang-flag-btn .flag-emoji { font-size: 15px; }
  .lang-flag-btn .flag-label { display: none; }

  /* Hero */
  .hero { padding: 48px 16px 40px; }
  .hero-container { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons, .cta-buttons, .button-group { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 280px; margin: 0 auto; }
  .page-hero-center { padding: 48px 16px; }
  .page-hero-center .subtitle { font-size: 16px; }

  /* Grids */
  .cards-grid-3, .grid-3, .card-grid { grid-template-columns: 1fr; }
  .cards-grid-4, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid, .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .engagement-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-cards-grid, .financial-grid { grid-template-columns: 1fr; }

  /* Cards */
  .card { padding: 24px 20px; }
  .vbc-stat-number { font-size: 28px; }
  .vbc-stat-desc { font-size: 15px; }
  .vbc-impact-card h3 { font-size: 18px; }

  /* Flow steps */
  .model-flow { flex-wrap: wrap; gap: 10px; }
  .flow-step { width: 130px; min-width: 130px; max-width: 130px; height: 130px; padding: 18px 14px; }
  .flow-step .flow-icon, .flow-step .card-icon { width: 36px; height: 36px; }
  .flow-step p { font-size: 11px; }
  .flow-arrow { font-size: 18px; }

  /* Platform layer */
  .platform-layer-row { grid-template-columns: 1fr; }
  .platform-layer { padding: 24px 16px; }
  .platform-layer-hub { padding: 20px 16px; }
  .platform-layer-hub h3 { font-size: 18px; }
  .platform-with-phone { flex-direction: column; gap: 24px; }
  .iphone-mockup { width: 220px; margin: 0 auto; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-container, .footer-content, .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  /* Sections */
  .section-stuck, .section-competitive, .section-wins, .section-cta,
  .section-outcomes, .section, .our-story, .what-we-stand, .how-we-help,
  .blog-section, .contact-section, .different-cards, .section-pad,
  .founder-quote, .cta-section { padding: 48px 16px; }

  h1 { font-size: clamp(26px, 6vw, 38px); }
  h2 { font-size: clamp(22px, 4vw, 32px); }
  .stat-large { font-size: 42px; }
  .hero-image-interlude img { max-width: 280px; }
  .btn { padding: 10px 22px; font-size: 13px; }
}

@media (max-width: 480px) {
  .grid-5, .outcomes-grid, .outcome-grid, .engagement-grid { grid-template-columns: 1fr; }
  .footer-container, .footer-content, .footer-grid { grid-template-columns: 1fr; }
  .model-flow { flex-direction: column; align-items: center; }
  .flow-step { width: 160px; min-width: 160px; max-width: 160px; height: 140px; }
  .flow-arrow { transform: rotate(90deg); }
  .platform-layer-card { padding: 20px 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; }
}

/* ===== OUTCOMES 3+4 ROWS ===== */
.outcomes-row-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px;
}
.outcomes-row-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px;
}
.outcome-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.outcome-hover:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(222,128,48,0.3);
  border-color: #DE8030;
  z-index: 2;
}

/* ===== SECTION WAVY DIVIDER (orange wavy line between sections) ===== */
.section-wave-line {
  width: 100%; overflow: hidden; line-height: 0; position: relative; z-index: 1;
  margin: 0; padding: 0;
}
.section-wave-line svg {
  display: block; width: 100%; height: 32px;
}

/* ===== CERCANOS GREEN BAR ===== */
.cercanos-bar {
  background: #777B41; color: #fff; text-align: center;
  padding: 16px 24px; font-family: 'Quicksand', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== OUTCOME CARD ORANGE HOVER (outcomes page) ===== */
.outcome-card-orange {
  background: #fff; border-radius: 20px; padding: 32px 24px;
  border: 1.5px solid #222; text-align: center;
  transition: all 0.3s ease; cursor: pointer;
}
.outcome-card-orange:hover {
  background: #DE8030; border-color: #DE8030;
  transform: translateY(-5px); box-shadow: 0 12px 28px rgba(222,128,48,0.25);
}
.outcome-card-orange .number {
  font-family: 'Quicksand', sans-serif; font-size: 48px; font-weight: 700; color: #DE8030; line-height: 1;
}
.outcome-card-orange:hover .number { color: #fff; }
.outcome-card-orange .metric {
  font-size: 15px; font-weight: 600; color: #111; margin-top: 6px;
}
.outcome-card-orange:hover .metric { color: #fff; }
.outcome-card-orange .detail {
  font-size: 13px; color: #888; margin-top: 3px;
}
.outcome-card-orange:hover .detail { color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
  .outcomes-row-3 { grid-template-columns: repeat(2, 1fr); }
  .outcomes-row-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .outcomes-row-3 { grid-template-columns: 1fr; }
  .outcomes-row-4 { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; animation: fadeInUp 0.6s ease forwards; }
