/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette — Sol del Valle Energía */
  --bg:          #f5faf5;
  --bg-2:        #eaf3ea;
  --bg-dark:     #0f2b26;
  --bg-dark-2:   #1a3d36;
  --ink:         #0f2b26;
  --ink-soft:    #1e4a40;
  --ink-mute:    #4a6e68;
  --cream:       #f8fdf8;
  --white:       #ffffff;

  /* Brand accent */
  --yellow:      #f5c518;
  --yellow-dark: #d4a60a;
  --green:       #1a5c52;
  --green-light: #2d8a7a;
  --green-pale:  #d4ede8;
  --green-mid:   #4caf82;

  /* Glass */
  --glass:       rgba(255, 255, 255, 0.70);
  --glass-2:     rgba(255, 255, 255, 0.45);
  --glass-dark:  rgba(15, 43, 38, 0.85);

  /* Semantics */
  --line:        rgba(15, 43, 38, 0.10);
  --line-dark:   rgba(255, 255, 255, 0.12);

  /* Typography */
  --sans:        'Plus Jakarta Sans', system-ui, sans-serif;
  --body:        'Inter', system-ui, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Spacing */
  --container:   1200px;
  --gutter:      clamp(1.25rem, 5vw, 2rem);
  --section-gap: clamp(4rem, 10vw, 8rem);

  /* Nav height */
  --nav-h:       72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--sans); line-height: 1.1; letter-spacing: -0.025em; }
ul[role="list"] { list-style: none; padding: 0; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--green); color: var(--white);
  z-index: 9999; border-radius: 8px;
  font-weight: 600; font-size: .875rem;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-gap);
  position: relative;
}

/* =============================================================
   4. Typography
   ============================================================= */
.s-kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .75rem;
}

.s-title {
  font-family: var(--sans);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}
.s-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.s-title em::after {
  content: '';
  position: absolute;
  bottom: 0.05em; left: 0; right: 0;
  height: 0.08em;
  background: var(--yellow);
  border-radius: 2px;
}

.s-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-mute);
  max-width: 54ch;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-head .s-sub { margin-inline: auto; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.2;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
  white-space: nowrap;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,92,82,.25);
}
.btn-primary:hover {
  background: var(--green-light);
  box-shadow: 0 8px 28px rgba(26,92,82,.35);
}

.btn-nav {
  background: var(--green);
  color: var(--white);
  padding: .6rem 1.25rem;
  font-size: .875rem;
}
.btn-nav:hover { background: var(--green-light); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green-pale);
  box-shadow: 0 4px 16px rgba(26,92,82,.15);
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--line);
  color: var(--ink);
}
.btn-outline-dark:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 2px solid transparent;
  padding-inline: .75rem;
}
.btn-ghost:hover { color: var(--green-light); }

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50px;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(245,197,24,.4);
  font-weight: 800;
}
.btn-yellow:hover {
  background: #ffd42a;
  box-shadow: 0 8px 28px rgba(245,197,24,.5);
}

.btn-large { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-hero  { padding: .9rem 2rem; }
.btn-block { width: 100%; justify-content: center; }

/* =============================================================
   6. HEADER / NAV
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(245, 250, 245, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.2;
}
.logo-text em {
  font-style: normal;
  color: var(--green);
}

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  gap: .125rem;
  margin-left: auto;
}

.nav-link {
  display: block;
  padding: .5rem .75rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--green); background: var(--green-pale); }

.btn-nav { margin-left: auto; flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 12px 8px;
  flex-shrink: 0;
}
.bar {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(245,250,245,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem var(--gutter);
  flex-direction: column;
  gap: .25rem;
  overflow-y: auto;
  z-index: 90;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile ul { margin-bottom: 1.5rem; }
.nav-link-m {
  display: block;
  padding: .85rem 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.nav-link-m:hover { color: var(--green); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-mesh {
  position: absolute; inset: -30%; z-index: 0;
  background:
    radial-gradient(ellipse at 15% 45%, rgba(245, 197, 24, 0.52) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(26, 92, 82, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 60% 100%, rgba(76, 175, 130, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse at 95% 70%, rgba(245, 197, 24, 0.2) 0%, transparent 45%);
  filter: blur(70px) saturate(140%);
  animation: meshDrift 28s ease-in-out infinite;
  pointer-events: none;
}

@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33%       { transform: scale(1.08) rotate(4deg) translate(-1%, 1%); }
  66%       { transform: scale(1.05) rotate(-3deg) translate(1%, -1%); }
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 1rem;
}

.hero-content { max-width: 580px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.kicker-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-mute);
  margin-bottom: 2rem;
  max-width: 48ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .875rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}
.hero-img {
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 32px 80px rgba(15, 43, 38, 0.18), 0 8px 24px rgba(15, 43, 38, 0.1);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-stat {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: .875rem 1.25rem;
  box-shadow: 0 8px 32px rgba(15, 43, 38, 0.14);
  display: flex;
  flex-direction: column;
  gap: .1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: heroFloat 6s ease-in-out infinite;
}
.stat-a {
  bottom: -1.5rem; left: -2rem;
  animation-delay: -2s;
}
.stat-b {
  top: -1.5rem; right: -1.5rem;
  animation-delay: -4s;
}
.stat-num {
  font-family: var(--sans);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-lbl {
  font-size: .72rem;
  color: var(--ink-mute);
  font-weight: 600;
  line-height: 1.3;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-mute);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================================
   8. BENEFICIOS
   ============================================================= */
.s-benefits {
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 43, 38, 0.1);
  border-color: var(--green-pale);
}

.benefit-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green);
  transition: background .2s;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card:hover .benefit-icon { background: var(--green); color: var(--white); }

.benefit-title {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.benefit-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* =============================================================
   9. PLANES
   ============================================================= */
.s-planes {
  background: var(--bg-2);
  overflow: hidden;
}

.s-planes-mesh {
  position: absolute; inset: -20%; z-index: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(245,197,24,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(26,92,82,.12) 0%, transparent 50%);
  filter: blur(80px);
  pointer-events: none;
}

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

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(15, 43, 38, 0.12);
}

.plan-popular {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(26, 92, 82, 0.15);
}
.plan-popular:hover {
  box-shadow: 0 28px 64px rgba(26, 92, 82, 0.22);
}

.plan-ribbon {
  position: absolute;
  top: -1px; right: 2rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .875rem;
  border-radius: 0 0 10px 10px;
}

.plan-top { margin-bottom: 1.25rem; }

.plan-kwp {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.plan-name {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .5rem;
}

.plan-ideal {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.plan-ideal strong { color: var(--ink-soft); }

.plan-price-wrap {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.plan-from {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-price {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--green-pale);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='5 9 8 12 13 6' stroke='%231a5c52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: .1em;
}

.planes-note {
  text-align: center;
  font-size: .8125rem;
  color: var(--ink-mute);
  max-width: 60ch;
  margin-inline: auto;
}

/* =============================================================
   10. CALCULADOR
   ============================================================= */
.s-calc { background: var(--white); }

.calc-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 3rem;
  overflow: hidden;
  position: relative;
}
.calc-card::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.calc-left .s-title { margin-bottom: 1rem; }

.calc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .84rem;
  color: var(--ink-mute);
  background: rgba(245,197,24,.12);
  border: 1px solid rgba(245,197,24,.25);
  border-radius: 10px;
  padding: .75rem 1rem;
  line-height: 1.55;
}
.calc-disclaimer svg { flex-shrink: 0; margin-top: .1em; color: var(--green); }

.calc-lbl {
  display: block;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .875rem;
}

.calc-display {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-bottom: 1.25rem;
}
.calc-sym {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-mute);
}
.calc-val {
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  outline: none;
  margin-bottom: .625rem;
  cursor: pointer;
}
.calc-slider::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(90deg, var(--green) var(--progress, 20%), var(--line) var(--progress, 20%));
  border-radius: 6px;
}
.calc-slider::-moz-range-track {
  height: 6px;
  background: linear-gradient(90deg, var(--green) var(--progress, 20%), var(--line) var(--progress, 20%));
  border-radius: 6px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 2px 10px rgba(26,92,82,.3);
  cursor: pointer;
  transition: transform .15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 2px 10px rgba(26,92,82,.3);
  cursor: pointer;
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--ink-mute);
  font-weight: 500;
}

.calc-results {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-result-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.calc-result-box.highlight {
  background: var(--green);
  border-color: var(--green);
}
.calc-res-lbl {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-mute);
}
.calc-result-box.highlight .calc-res-lbl { color: rgba(255,255,255,.75); }

.calc-res-val {
  font-family: var(--sans);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}
.calc-result-box.highlight .calc-res-val { color: var(--white); }

.calc-kit-rec {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--ink-soft);
  background: var(--green-pale);
  border-radius: 12px;
  padding: .75rem 1rem;
}
.calc-kit-rec svg { flex-shrink: 0; color: var(--green); }
.calc-kit-rec strong { color: var(--green); }

/* =============================================================
   11. CÓMO FUNCIONA
   ============================================================= */
.s-steps { background: var(--bg); }

.steps-layout {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
}

.step-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
  box-shadow: 0 4px 16px rgba(26,92,82,.25);
  position: relative;
  z-index: 1;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-pale) 100%);
  margin-top: 6px;
}

.step-body { padding-top: .875rem; }
.step-title {
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.step-desc {
  font-size: .9375rem;
  color: var(--ink-mute);
  line-height: 1.65;
}

.steps-cta { text-align: center; }

/* =============================================================
   12. GALERÍA
   ============================================================= */
.s-gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-main img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .6s var(--ease-out);
}
.gallery-main img { height: 320px; }
.gallery-item img { height: 200px; }

.gallery-main:hover img,
.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-main { overflow: hidden; border-radius: 16px; }
.gallery-item { overflow: hidden; border-radius: 16px; }
.gallery-side { display: grid; gap: 1rem; }

/* =============================================================
   13. FAQ
   ============================================================= */
.s-faq { background: var(--bg-2); }

.faq-grid {
  display: grid;
  gap: 2.5rem;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
  box-shadow: 0 4px 24px rgba(15, 43, 38, 0.08);
  border-color: var(--green-pale);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transition: background .15s;
  min-height: 60px;
}
.faq-q:hover { background: var(--bg); }
.faq-q[aria-expanded="true"] { background: var(--bg-2); color: var(--green); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--ink-mute);
  transition: transform .3s var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-a {
  padding: 0 1.5rem 1.25rem;
}
.faq-a p {
  font-size: .9375rem;
  color: var(--ink-mute);
  line-height: 1.7;
}

.faq-aside-card {
  background: var(--ink);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}
.faq-aside-card svg { opacity: .9; }
.faq-aside-card h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
}
.faq-aside-card p {
  font-size: .9rem;
  opacity: .75;
  line-height: 1.55;
}

/* =============================================================
   14. CONTACTO
   ============================================================= */
.s-contact { background: var(--white); }

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-sub {
  font-size: .9375rem;
  color: var(--ink-mute);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 44ch;
}

.contact-details {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .15rem;
}
.contact-detail span {
  font-size: .875rem;
  color: var(--ink-mute);
}

/* Form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
}
.form-title {
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.form-row { display: grid; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.form-label {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-label span { color: var(--green); }

.form-input {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--body);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  min-height: 48px;
}
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,92,82,.12);
}
.form-input.is-error { border-color: #e53e3e; }
.form-textarea { resize: vertical; min-height: 96px; }

.form-err {
  font-size: .8rem;
  color: #e53e3e;
  font-weight: 600;
  display: none;
}
.form-err.show { display: block; }

.form-group + .form-group,
.form-row + .form-group,
.form-group + .form-row { margin-top: .25rem; }

#form-btn { margin-top: 1rem; position: relative; overflow: hidden; }
#form-btn .btn-loading { display: none; }
#form-btn.is-loading .btn-label { display: none; }
#form-btn.is-loading .btn-loading { display: inline; }

.form-submit-error {
  font-size: .85rem;
  color: #c53030;
  font-weight: 600;
  text-align: center;
  margin-top: .625rem;
  padding: .5rem .75rem;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 8px;
}

.form-alt {
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: .75rem;
}
.form-alt-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-alt-link:hover { color: var(--green-light); }

.form-privacy {
  font-size: .78rem;
  color: var(--ink-mute);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

.form-success {
  background: var(--bg-2);
  border: 1px solid var(--green-pale);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-icon svg { width: 64px; height: 64px; }
.form-success h3 {
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--green);
}
.form-success p {
  font-size: .9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* =============================================================
   15. CTA FINAL
   ============================================================= */
.s-cta-final {
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-mesh {
  position: absolute; inset: -30%; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(245,197,24,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(76,175,130,.25) 0%, transparent 50%);
  filter: blur(80px) saturate(130%);
  animation: meshDrift 30s ease-in-out infinite;
  pointer-events: none;
}
.s-cta-final .container { position: relative; z-index: 1; }

.cta-final-inner {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-final-title {
  font-family: var(--sans);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
}
.cta-final-title em {
  font-style: normal;
  color: var(--yellow);
}

.cta-final-sub {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,.7);
  max-width: 48ch;
}

.cta-final-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =============================================================
   16. FOOTER
   ============================================================= */
.site-footer {
  background: var(--bg-dark-2);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
}
.footer-logo-link .logo-icon { width: 34px; height: 34px; }
.footer-logo-link span {
  font-family: var(--sans);
  font-weight: 800;
  font-size: .9375rem;
  color: var(--white);
  line-height: 1.2;
}
.footer-logo-link em {
  font-style: normal;
  color: var(--yellow);
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

.footer-nav-title {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .875rem;
}

.footer-nav ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-nav a:hover { color: var(--white); }

.footer-info-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: .625rem;
}
.footer-info-list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}
.footer-info-list li svg { color: rgba(255,255,255,.4); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.footer-copy {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.footer-credit img {
  height: 28px;
  width: auto;
  opacity: .75;
}
.footer-credit span {
  font-size: .8125rem;
  color: #8a8fbf;
  font-family: var(--body);
}

/* =============================================================
   17. WhatsApp Float
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: .875rem 1.25rem .875rem 1rem;
  display: flex;
  align-items: center;
  gap: .625rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  min-height: 56px;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .5);
}
.wa-float-lbl { white-space: nowrap; }

/* =============================================================
   18. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive: never hide data-split elements */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-img { max-width: 440px; }
  .stat-a { left: -1rem; }
  .stat-b { right: -.5rem; }
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .btn-nav { display: inline-flex; }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero-content { max-width: none; }

  .calc-card { grid-template-columns: 1fr 1fr; }

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

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-main { grid-column: 1; grid-row: 1 / 3; }
  .gallery-side { grid-column: 2; grid-row: 1 / 3; }
  .gallery-main img { height: 100%; min-height: 320px; }
  .gallery-item img { height: 160px; }

  .faq-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }

  .cta-final-btns { flex-direction: row; }
}

@media (min-width: 960px) {
  .hero-content { align-self: center; }
  .hero-img { max-width: 520px; }
  .stat-a { left: -2.5rem; bottom: -2rem; }
  .stat-b { right: -2rem; top: -2rem; }

  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .planes-grid { grid-template-columns: repeat(3, 1fr); }

  .gallery-main img { height: 480px; }
  .gallery-item img { height: 220px; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3.5rem, 5vw, 5rem); }
  .stat-a { left: -3rem; }
  .stat-b { right: -2.5rem; }
}

/* =============================================================
   20. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh, .cta-mesh, .s-planes-mesh { animation: none; }
  .hero-img { animation: none; }
  .hero-stat { animation: none; }
  .hero-scroll { animation: none; }
  .kicker-dot { animation: none; }
}
