/* ==========================================================================
   Nutrivoo — Section Styles (Hero 3D, KPIs, Modules, Nova IA, Plans, Contact)
   ========================================================================== */

/* 1. HERO SECTION & 3D INTERACTIVE DEVICE STAGE */
.hero-section {
  position: relative;
  overflow-x: clip;
  padding-top: 2.5rem;
  padding-bottom: 5.5rem;
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 6.5rem;
  }
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-backdrop__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2.2s ease-in-out, transform 10s ease-out;
}

.hero-backdrop__slide.is-active {
  opacity: 0.42;
  transform: scale(1);
}

@media (min-width: 1024px) {
  .hero-backdrop__slide.is-active {
    opacity: 0.72;
  }
}

.hero-backdrop__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(243, 250, 246, 0.97) 0%,
    rgba(243, 250, 246, 0.92) 45%,
    rgba(243, 250, 246, 0.56) 76%,
    rgba(243, 250, 246, 0.35) 100%
  );
}

.hero-backdrop__bottom-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to top, var(--bg-page), transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: var(--shadow-xs);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-700);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.11;
}

.hero-lead {
  font-size: 1rem;
  color: var(--ink-body);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-body);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.hero-scene-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
}

.scene-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-subtle);
  color: var(--ink-muted);
  transition: all 0.2s ease;
}

.scene-pill.is-active,
.scene-pill:hover {
  background: #FFFFFF;
  color: var(--emerald-700);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-xs);
}

.scene-pill__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--emerald-600);
}

/* 3D Devices Stage */
.hero-devices-col {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1.75rem;
}

body.hero-device-spotlight .hero-devices-col {
  z-index: 65;
}

.hero-focus-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 22, 16, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.hero-device-spotlight .hero-focus-backdrop {
  opacity: 1;
}

.hero-devices-stage {
  position: relative;
  width: 100%;
  max-width: 650px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  perspective: 1400px;
}

.device-laptop-3d {
  width: 88%;
  transform: rotateY(-10deg) rotateX(3.5deg);
  transform-origin: center center;
  transition: transform 0.28s var(--ease-out), opacity 0.22s ease;
  cursor: pointer;
  z-index: 15;
}

.laptop-lid {
  background: #14191F;
  border-radius: 18px 18px 0 0;
  padding: 8px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 54px -18px rgba(5, 27, 20, 0.45);
}

.laptop-camera {
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #27303B;
  margin: 0 auto 6px;
}

.laptop-screen {
  border-radius: 10px;
  overflow: hidden;
  background: #082A20;
  aspect-ratio: 16 / 10;
}

.laptop-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.laptop-base {
  position: relative;
  width: 108%;
  left: -4%;
  height: 13px;
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 55%, #94A3B8 100%);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  display: flex;
  justify-content: center;
}

.laptop-notch {
  width: 64px;
  height: 4px;
  background: #94A3B8;
  border-radius: 0 0 6px 6px;
}

.device-phone-3d {
  position: absolute;
  left: 0;
  bottom: -26px;
  width: clamp(132px, 24%, 168px);
  transform: rotateY(13deg) rotateX(3.5deg);
  transform-origin: center bottom;
  transition: transform 0.28s var(--ease-out), opacity 0.22s ease;
  cursor: pointer;
  z-index: 28;
}

.phone-frame {
  background: #10161D;
  border-radius: 28px;
  padding: 6px;
  border: 2px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 24px 48px -12px rgba(5, 27, 20, 0.55);
}

.phone-speaker {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: #27303B;
  margin: 2px auto 5px;
}

.phone-screen {
  border-radius: 21px;
  overflow: hidden;
  background: #FFFFFF;
}

.phone-screen video {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .device-laptop-3d:hover,
  .hero-devices-stage.is-laptop-focused .device-laptop-3d {
    transform: translateX(-56px) translateY(-8px) scale(1.26);
    z-index: 70;
  }

  .device-phone-3d:hover,
  .hero-devices-stage.is-phone-focused .device-phone-3d {
    transform: translateX(46px) translateY(18px) scale(1.58);
    z-index: 75;
  }

  .hero-devices-stage.is-laptop-focused .device-phone-3d {
    opacity: 0.25;
  }

  .hero-devices-stage.is-phone-focused .device-laptop-3d {
    opacity: 0.25;
  }
}

/* Floating Hero Badges */
.hero-float-badge {
  position: absolute;
  z-index: 32;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 14px 30px -10px rgba(8, 42, 32, 0.2);
}

@media (min-width: 640px) {
  .hero-float-badge { display: flex; }
}

.hero-float-badge--nova {
  top: -18px;
  left: 6%;
}

.hero-float-badge--budget {
  bottom: -20px;
  right: 4%;
}

.float-badge__kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.float-badge__val {
  font-size: 0.86rem;
  color: var(--ink-strong);
}

.float-badge__icon-amber {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-gentle-a { animation: floatGentle 5s ease-in-out infinite; }
.float-gentle-b { animation: floatGentle 5.6s ease-in-out infinite 0.7s; }

/* 2. KPI COUNTER BANNER */
.kpi-banner-wrap {
  position: relative;
  z-index: 25;
  margin-top: -1.6rem;
  margin-bottom: 1.5rem;
}

.kpi-banner {
  background: linear-gradient(110deg, var(--forest-900) 0%, var(--forest-800) 55%, #047857 100%);
  border-radius: var(--radius-xl);
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(110, 231, 183, 0.18);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.kpi-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .kpi-item {
    padding-inline: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .kpi-item:last-child {
    border-right: none;
  }
}

.kpi-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--emerald-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-item__body {
  min-width: 180px;
}

.kpi-counter {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.05;
}

.kpi-item__label {
  font-size: 0.82rem;
  color: rgba(209, 250, 229, 0.9);
  margin-top: 0.2rem;
}

.kpi-bar-track {
  margin-top: 0.5rem;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.kpi-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34D399 0%, #A7F3D0 100%);
  transition: width 1.4s var(--ease-out);
}

/* 3. INTERACTIVE 5-MODULE PLATFORM EXPLORER */
.modules-tablist {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 0.45rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin-bottom: 2rem;
}

@media (min-width: 820px) {
  .modules-tablist {
    grid-template-columns: repeat(5, 1fr);
  }
}

.module-tab-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem;
  border-radius: 13px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-body);
  transition: all 0.2s ease;
}

.module-tab-btn:hover {
  background: var(--bg-soft);
  color: var(--emerald-700);
}

.module-tab-btn.is-active {
  background: var(--emerald-600);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -4px rgba(5, 150, 105, 0.4);
}

@keyframes tabAutoFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.module-tab-btn.is-active.is-auto-playing::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: left center;
  animation: tabAutoFill 5.2s linear forwards;
}

.module-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  animation: panelFadeUp 0.38s var(--ease-out);
}

@keyframes panelFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) {
  .module-editorial-grid {
    grid-template-columns: 4fr 8fr;
  }
}

.module-photo-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-end;
}

.module-photo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 27, 20, 0.92) 0%, rgba(5, 27, 20, 0.35) 55%, transparent 100%);
}

.module-photo-card__caption {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: #FFFFFF;
}

.module-photo-card__badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(110, 231, 183, 0.4);
  margin-bottom: 0.55rem;
}

.module-photo-card__caption p {
  font-size: 0.9rem;
  color: #ECFDF5;
  line-height: 1.55;
}

.submodules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .submodules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.submodule-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.submodule-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.submodule-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.submodule-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #F1F5F9;
  color: var(--emerald-700);
}

.submodule-card__title {
  font-size: 1.05rem;
  font-weight: 700;
}

.submodule-card__desc {
  font-size: 0.87rem;
  color: var(--ink-muted);
}

/* 4. NOVA IA SIMULATOR + PLAYABLE NOVA RUNNER + SCREENS */
.section-nova-dark {
  background:
    radial-gradient(640px circle at 15% 18%, rgba(16, 185, 129, 0.2) 0%, transparent 65%),
    radial-gradient(600px circle at 88% 76%, rgba(132, 204, 22, 0.14) 0%, transparent 65%),
    linear-gradient(180deg, var(--forest-950) 0%, var(--forest-900) 100%);
  color: #FFFFFF;
}

.nova-interactive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .nova-interactive-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.nova-sim-card,
.nova-game-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}

.nova-sim-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.nova-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nova-sim-card__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-300);
}

.nova-sim-card__title {
  color: #FFFFFF;
  font-size: 1.3rem;
}

.goal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.goal-pill {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #D1FAE5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}

.goal-pill.is-active,
.goal-pill:hover {
  background: var(--emerald-500);
  color: #FFFFFF;
  border-color: var(--emerald-400);
}

.nova-slider-box {
  background: rgba(5, 27, 20, 0.55);
  padding: 1rem 1.15rem;
  border-radius: 16px;
  margin-bottom: 1.2rem;
}

.nova-slider-box__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  color: #D1FAE5;
}

.nova-slider-box__top strong {
  font-size: 1.15rem;
  color: var(--emerald-300);
}

.nova-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(209, 250, 229, 0.6);
  margin-top: 0.45rem;
}

.macro-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

@media (min-width: 560px) {
  .macro-chips-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.macro-chip {
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.macro-chip__label {
  display: block;
  font-size: 0.7rem;
  color: rgba(209, 250, 229, 0.75);
}

.macro-chip strong {
  font-size: 1.05rem;
  color: #FFFFFF;
}

.macro-chip--mxn {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(251, 191, 36, 0.4);
}

.macro-chip--mxn strong {
  color: var(--amber-400);
}

.nova-sample-dish {
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 16px;
  padding: 1rem 1.15rem;
}

.nova-sample-dish__badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--emerald-300);
  margin-bottom: 0.25rem;
}

.nova-sample-dish__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
}

.nova-sample-dish__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-300);
}

.nova-sample-dish__cta:hover {
  text-decoration: underline;
}

/* Nova Runner Game Card */
.nova-game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.nova-game-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nova-game-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-300);
}

.nova-game-scores {
  display: flex;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: #ECFDF5;
}

.nova-game-card__desc {
  font-size: 0.86rem;
  color: #D1FAE5;
}

.nova-canvas-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #182C25;
  border: 1px solid rgba(110, 231, 183, 0.28);
}

#novaRunnerCanvas {
  width: 100%;
  height: auto;
  display: block;
}

.nova-canvas-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 27, 20, 0.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  text-align: center;
}

.nova-canvas-overlay__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.nova-game-controls .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

/* App Screens Showcase */
.screens-showcase__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.screens-showcase__title {
  color: #FFFFFF;
  font-size: 1.45rem;
}

.screens-showcase__sub {
  color: #A7F3D0;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .screens-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.screen-card__bezel {
  background: #0F172A;
  padding: 6px;
  border-radius: 24px;
  border: 2px solid rgba(110, 231, 183, 0.35);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.55);
  transition: transform 0.28s var(--ease-out), border-color 0.25s ease;
}

.screen-card:hover .screen-card__bezel {
  transform: translateY(-6px);
  border-color: var(--emerald-400);
}

.screen-card__img {
  border-radius: 18px;
  width: 100%;
  height: auto;
}

.screen-card__cap strong {
  display: block;
  font-size: 0.92rem;
  color: #FFFFFF;
}

.screen-card__cap span {
  font-size: 0.78rem;
  color: #A7F3D0;
}

/* 5. DUAL ECOSYSTEM & 4 PILLARS */
.dual-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 960px) {
  .dual-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.editorial-split-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.editorial-split-card__media {
  position: relative;
  height: 230px;
}

.editorial-split-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-split-card__pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--emerald-600);
  color: #FFFFFF;
}

.editorial-split-card__pill--teal {
  background: var(--forest-900);
}

.editorial-split-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.editorial-split-card__body h3 {
  font-size: 1.35rem;
}

.editorial-split-card__body p {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-block: 0.35rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-strong);
}

.editorial-split-card__footer {
  margin-top: auto;
  padding-top: 0.65rem;
}

.pillars-four-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .pillars-four-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pillars-four-grid { grid-template-columns: repeat(4, 1fr); }
}

.pillar-mini-card {
  padding: 1.4rem;
}

.pillar-mini-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.pillar-mini-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.pillar-mini-card p {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* 6. HOW IT WORKS (3 ANIMATED STEPS) */
.steps-three-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 820px) {
  .steps-three-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  padding: 1.65rem;
  transition: transform 0.4s var(--ease-out), border-color 0.35s ease, box-shadow 0.4s ease;
}

.step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--emerald-600);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.step-arrow {
  color: #CBD5E1;
  transition: transform 0.35s ease, color 0.35s ease;
}

.step-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.step-card.is-step-active {
  transform: translateY(-5px);
  border-color: var(--emerald-500);
  box-shadow: 0 20px 38px -14px rgba(5, 150, 105, 0.22);
}

.step-card.is-step-active .step-badge {
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.16);
}

.step-card.is-step-active .step-arrow {
  color: var(--emerald-600);
  transform: translateX(4px);
}

/* 7. PLANS & CLINIC SIMULATOR */
.sim-toggle-wrap {
  margin-top: 1.15rem;
}

.clinic-sim-box {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  background: var(--bg-page);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
}

.clinic-sim-box__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.clinic-sim-box__head h3 { font-size: 1.15rem; }
.clinic-sim-box__head p { font-size: 0.82rem; color: var(--ink-muted); }

.clinic-sim-counter {
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 0.5rem 1rem;
  text-align: center;
}

.clinic-sim-counter strong {
  display: block;
  font-size: 1.45rem;
  color: var(--emerald-700);
}

.clinic-sim-counter span {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

section {
  overflow-x: clip;
}

.clinic-sim-slider {
  padding-block: 1.25rem;
}

.clinic-sim-slider .nova-slider-ticks {
  color: var(--ink-muted);
}

.clinic-sim-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .clinic-sim-metrics { grid-template-columns: repeat(3, 1fr); }
}

.clinic-sim-metric {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.clinic-sim-metric span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.clinic-sim-metric strong {
  font-size: 1.1rem;
  color: var(--ink-strong);
}

.clinic-sim-metric--highlight {
  border-color: var(--emerald-500);
  background: var(--bg-soft);
}

.clinic-sim-metric--highlight strong {
  color: var(--emerald-700);
}

.plans-three-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1080px;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .plans-three-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.plan-card {
  position: relative;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.plan-card--featured {
  background: #FFFFFF;
  border: 2px solid var(--emerald-500);
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 960px) {
  .plan-card--featured {
    transform: translateY(-8px);
  }
}

.plan-card__ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-600);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.9rem;
  border-radius: var(--radius-pill);
}

.plan-card__audience {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.plan-card h3 {
  font-size: 1.3rem;
}

.plan-card__desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}

.plan-card__price {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.plan-card__price strong {
  font-size: 2.1rem;
  line-height: 1;
}

.plan-card__price span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.plan-card__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* 8. TESTIMONIALS & FAQ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.stars-row {
  display: flex;
  gap: 0.2rem;
  color: var(--amber-500);
  margin-bottom: 0.7rem;
}

.testimonial-card__quote {
  font-size: 0.9rem;
  color: var(--ink-body);
  line-height: 1.65;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-card__author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card__author span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-xs);
}

.faq-trigger {
  width: 100%;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-strong);
}

.faq-trigger__icon {
  color: var(--emerald-600);
  transition: transform 0.22s ease;
}

.faq-item.is-open .faq-trigger__icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.15rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* 9. CONTACT SECTION */
.contact-card-shell {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-card-shell {
    padding: 2.75rem;
    grid-template-columns: 5fr 7fr;
    gap: 2.5rem;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
}

.contact-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-top: 0.7rem;
  margin-bottom: 0.65rem;
}

.contact-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.contact-photo-box {
  height: 175px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
}

.contact-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-channel-item:hover {
  background: var(--bg-soft);
  border-color: var(--emerald-500);
}

.contact-channel-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}

.contact-channel-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.contact-channel-item strong {
  font-size: 0.9rem;
}

.contact-form-col {
  background: var(--bg-page);
  border-radius: 22px;
  padding: 1.6rem;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .contact-form-col { padding: 2rem; }
}

.nutrivoo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row-two { grid-template-columns: repeat(2, 1fr); }
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: var(--ink-strong);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

@media (min-width: 640px) {
  .form-actions { grid-template-columns: 1.2fr 1fr; }
}

.form-feedback {
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
}

.form-feedback.is-error {
  padding: 0.75rem 1rem;
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.form-feedback.is-success {
  padding: 0.75rem 1rem;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.form-foot-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.form-foot-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

