/* ==========================================================================
   Mi landing · estilos (Tema oscuro + verde esmeralda con bloques claros,
   orden inspirado en referencia + celular interactivo en el hero + Inter)
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #0D110F;
  --bg-card: #151B18;
  --card-light: #F7F5F0;
  --surface: #FFFFFF;
  --text: #F5F7F5;
  --text-dark: #1F2328;
  --muted: #9BA6A0;
  --muted-dark: #5B6370;
  --accent: #2E6B4F;
  --accent-light: #47B881;
  --accent-hover: #245740;
  --accent-deep: #1B4A35;
  --accent-soft: #E6EFE9;
  --border: #E2DED4;
  --border-dark: rgba(255,255,255,.11);
  --danger: #D14D3A;
  --danger-dark: #A23B2A;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 2px 6px rgba(0,0,0,.22), 0 18px 40px -18px rgba(0,0,0,.55);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.28), 0 28px 60px -20px rgba(0,0,0,.68);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: 240ms cubic-bezier(.2,.8,.2,1);
}

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

/* ---- Scroll estilizado ---- */
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent-light) var(--bg);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 12px; border: 3px solid var(--bg); }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(960px 560px at 50% -120px, rgba(46,107,79,.34), transparent 72%),
    radial-gradient(720px 440px at 82% 28%, rgba(71,184,129,.1), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  background-repeat: no-repeat, no-repeat, repeat;
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-user-select: none;
  user-select: none;
}

img, svg { display: block; flex-shrink: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
input, textarea { -webkit-user-select: text; user-select: text; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -64px;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 12px; z-index: 200; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 8px; }

/* ---- Tipografía y etiquetas de sección ---- */
h1 {
  font-size: clamp(2rem, 6.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
  text-wrap: balance;
  color: #fff;
}
h2 {
  font-size: clamp(1.65rem, 4.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-wrap: balance;
  color: #fff;
}
h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }

.hl {
  font-style: normal;
  color: var(--accent-light);
  position: relative;
  display: inline-block;
}
.hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: .04em;
  height: .18em;
  background: rgba(71,184,129,.24);
  border-radius: 999px;
  z-index: -1;
}

.lead { color: var(--muted); font-size: 1.06rem; max-width: 54ch; line-height: 1.65; }
.section-sub { color: var(--muted); max-width: 56ch; font-size: 1rem; }
.center .lead, .center .section-sub { margin-left: auto; margin-right: auto; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46,107,79,.24);
  border: 1px solid rgba(71,184,129,.28);
  color: var(--accent-soft);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-tag-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(71,184,129,.2);
  flex-shrink: 0;
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(71,184,129,.2); }
  50% { box-shadow: 0 0 0 7px rgba(71,184,129,.08); }
}

/* ---- Botones con efecto shimmer ---- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 7px 9px 7px 22px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  letter-spacing: -.005em;
  box-shadow: 0 14px 30px -12px rgba(71,184,129,.55);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 600ms ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(110%); }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(71,184,129,.7);
  filter: brightness(1.05);
}
.btn:active { transform: translateY(1px); }

.btn .circle {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease);
}
.btn:hover .circle { transform: translate(2px, -2px); }
.btn .circle svg { width: 17px; height: 17px; }

.btn-sm {
  min-height: 40px;
  padding: 5px 6px 5px 15px;
  font-size: .88rem;
  gap: 8px;
  box-shadow: none;
}
.btn-sm .circle { width: 28px; height: 28px; }
.btn-sm .circle svg { width: 14px; height: 14px; }

.btn-secondary {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: var(--border-dark);
  padding: 10px 22px;
  box-shadow: none;
}
.btn-secondary::before { display: none; }
.btn-secondary:hover {
  background: rgba(46,107,79,.28);
  border-color: rgba(71,184,129,.45);
  box-shadow: none;
}

.btn-block { width: 100%; justify-content: space-between; padding-left: 24px; }

.btn-ghost {
  background: rgba(46,107,79,.22);
  color: var(--accent-soft);
  border-color: rgba(71,184,129,.32);
  padding: 10px 22px;
  box-shadow: none;
}
.btn-ghost svg { width: 16px; height: 16px; }
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: none;
}

/* ---- Header flotante oscuro ---- */
.site-header {
  position: fixed;
  inset: 12px 0 auto 0;
  z-index: 100;
  padding: 0 12px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  min-height: 54px;
  padding: 6px 7px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(18,24,21,.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.6);
  transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.site-header.is-scrolled .nav {
  background: rgba(18,24,21,.94);
  border-color: rgba(71,184,129,.28);
  box-shadow: var(--shadow-lg);
}

.nav-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 4px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.nav-links { display: none; list-style: none; gap: 2px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .01em;
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(71,184,129,.16); }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}
.nav-toggle:hover { background: rgba(46,107,79,.28); border-color: var(--accent-light); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  content: "";
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 76px 12px auto 12px;
  z-index: 99;
  max-height: calc(100dvh - 92px);
  background: rgba(20,26,23,.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  overflow-y: auto;
  scrollbar-color: var(--accent-light) var(--bg-card);
  scrollbar-width: thin;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: opacity var(--ease), transform var(--ease), visibility 0s linear 220ms;
}
.nav-panel.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-panel ul { list-style: none; display: grid; gap: 4px; }
.nav-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.nav-panel a:hover { background: rgba(71,184,129,.16); color: #fff; }
.nav-panel .nav-panel-cta { margin-top: 6px; }
.nav-panel .nav-panel-cta a {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #fff;
}
.nav-panel .nav-panel-cta svg { width: 18px; height: 18px; }

/* ---- Secciones ---- */
main { padding-top: 0; }
section { padding: 64px 0; scroll-margin-top: 84px; }
.section-head { margin-bottom: 36px; }

/* ---- Hero oscuro + verde + celular ficticio interactivo ---- */
.hero {
  position: relative;
  padding: 108px 0 48px;
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-copy { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero h1 { margin: 0 auto 18px; max-width: 17ch; }
.hero .lead { margin: 0 auto 26px; }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 340px;
  margin: 0 auto;
}

.hero-note {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}
.hero-note svg { width: 16px; height: 16px; color: var(--accent-light); }

/* ---- Celular interactivo (mantiene sus colores claros adentro para destacar sobre el fondo oscuro) ---- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  animation: heroFloatIn 700ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes heroFloatIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.phone-device {
  position: relative;
  background: #1B211E;
  border-radius: 38px;
  padding: 9px;
  border: 1.5px solid rgba(255,255,255,.16);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6) inset,
    0 32px 72px -20px rgba(0,0,0,.85),
    0 0 64px -18px rgba(71,184,129,.28);
}

/* Botones laterales físicos interactivos del celular */
.phone-hw-btn {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}
.phone-hw-btn::after {
  content: "";
  display: block;
  width: 4px;
  height: 100%;
  background: #3F4743;
  transition: background var(--ease), transform 120ms ease;
}
.phone-hw-btn:hover::after { background: var(--accent-light); }
.phone-hw-btn:focus-visible { outline-offset: 2px; border-radius: 4px; }

.phone-hw-btn.is-vol-up,
.phone-hw-btn.is-vol-down {
  left: -10px;
  width: 12px;
  height: 32px;
  display: flex;
  justify-content: flex-end;
  padding-right: 4px;
}
.phone-hw-btn.is-vol-up { top: 82px; }
.phone-hw-btn.is-vol-down { top: 122px; }
.phone-hw-btn.is-vol-up::after,
.phone-hw-btn.is-vol-down::after { border-radius: 3px 0 0 3px; }
.phone-hw-btn.is-vol-up:active::after,
.phone-hw-btn.is-vol-down:active::after { transform: translateX(2px); }

.phone-hw-btn.is-power {
  right: -10px;
  top: 102px;
  width: 12px;
  height: 48px;
  display: flex;
  justify-content: flex-start;
  padding-left: 4px;
}
.phone-hw-btn.is-power::after { border-radius: 0 3px 3px 0; }
.phone-hw-btn.is-power:active::after { transform: translateX(-2px); }
.phone-device.is-off .phone-hw-btn.is-power::after { background: var(--accent-light); }

/* Tokens locales dentro de la pantalla del celular ficticio */
.phone-screen {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --text: #1F2328;
  --muted: #5B6370;
  --accent: #2E6B4F;
  --accent-hover: #245740;
  --accent-deep: #1B4A35;
  --accent-soft: #E6EFE9;
  --border: #E2DED4;
  --danger: #A23B2A;
  position: relative;
  background: var(--bg);
  color: var(--text);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.phone-screen :focus-visible { outline-color: var(--accent); }
.browser-url-input { -webkit-user-select: text; user-select: text; }

/* Barra de estado del teléfono */
.phone-statusbar {
  position: relative;
  z-index: 8;
  background: var(--surface);
  padding: 8px 14px 7px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.phone-time {
  justify-self: start;
  font-size: .68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.phone-island {
  justify-self: center;
  position: relative;
  width: 64px;
  height: 17px;
  border-radius: 999px;
  background: #14171B;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
  flex-shrink: 0;
}
.phone-island::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4B6B7C 0%, #1C2730 55%, #0B0E11 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.phone-sysicons {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
}
.phone-sysicons svg { height: 10px; width: auto; }
.phone-wifi .wifi-arc { transition: opacity 420ms ease; }
.phone-wifi[data-wifi="2"] .wifi-arc-3 { opacity: .2; }
.phone-wifi[data-wifi="1"] .wifi-arc-3,
.phone-wifi[data-wifi="1"] .wifi-arc-2 { opacity: .2; }

/* Barra del navegador móvil */
.phone-browser-bar {
  position: relative;
  background: var(--surface);
  padding: 4px 10px 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.browser-url-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .7rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--ease), background var(--ease);
}
.browser-url-pill:focus-within { background: var(--surface); border-color: var(--accent); }
.browser-url-pill.is-not-found { border-color: rgba(162,59,42,.42); }
.browser-url-pill.is-not-found .browser-lock-icon { color: var(--danger); }
.browser-url-pill svg { width: 11px; height: 11px; color: var(--accent); }
.browser-url-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 2px 0;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text);
  outline: none;
}
.browser-url-input:focus-visible { outline: none; }
.browser-reload-btn {
  border: 0;
  background: transparent;
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 50%;
  transition: color var(--ease), background var(--ease);
}
.browser-reload-btn:hover { color: var(--accent); background: var(--accent-soft); }
.browser-url-pill .browser-reload { color: inherit; }
.phone-browser-bar.is-loading .browser-reload { animation: browserSpin 420ms linear; color: var(--accent); }

.browser-loading-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
}
.phone-browser-bar.is-loading .browser-loading-bar { animation: browserLoad 420ms ease-out forwards; }

@keyframes browserSpin { to { transform: rotate(360deg); } }
@keyframes browserLoad {
  0% { transform: scaleX(0); opacity: 1; }
  75% { transform: scaleX(.92); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.browser-tab-count {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--muted);
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Área deslizable de Café Luna */
.demo-site-scroll {
  position: relative;
  height: 416px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(46,107,79,.38) transparent;
}
.demo-site-scroll::-webkit-scrollbar { width: 4px; }
.demo-site-scroll::-webkit-scrollbar-thumb { background: rgba(46,107,79,.38); border-radius: 999px; }

.demo-site { padding: 0 11px 14px; display: grid; gap: 10px; }
.demo-site[hidden] { display: none; }

.demo-site-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 -11px;
  padding: 9px 11px;
  background: rgba(247,245,240,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226,222,212,.75);
}
.demo-brand {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .79rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.demo-logo {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demo-logo svg { width: 14px; height: 14px; }

.demo-mini-links { display: inline-flex; align-items: center; gap: 4px; }
.demo-mini-links button {
  border: 0;
  background: transparent;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.demo-mini-links button:hover { background: var(--accent-soft); color: var(--accent-deep); }

.demo-hero-card {
  background:
    radial-gradient(160px 100px at 100% 0%, rgba(255,255,255,.16), transparent 70%),
    linear-gradient(155deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: 16px;
  padding: 13px 12px;
  color: #fff;
}
.demo-open-pill {
  display: inline-block;
  font-size: .62rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  margin-bottom: 7px;
}
.demo-hero-title { font-size: .92rem; font-weight: 700; line-height: 1.22; letter-spacing: -.015em; margin-bottom: 4px; }
.demo-hero-desc { font-size: .71rem; line-height: 1.38; color: rgba(255,255,255,.86); margin-bottom: 10px; }
.demo-hero-btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-deep);
  font-size: .7rem;
  font-weight: 700;
  transition: transform 140ms ease, background var(--ease);
}
.demo-hero-btn:hover { background: var(--accent-soft); }
.demo-hero-btn:active { transform: scale(.97); }
.demo-hero-btn svg { width: 13px; height: 13px; color: var(--accent); }

.demo-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text);
  padding: 2px 2px 0;
}
.demo-section-actions { display: inline-flex; align-items: center; gap: 6px; }
.demo-carousel-arrows { display: inline-flex; align-items: center; gap: 3px; }
.demo-carousel-arrows button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.demo-carousel-arrows button:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.demo-carousel-arrows svg { width: 11px; height: 11px; }
.demo-link-btn { border: 0; background: transparent; padding: 2px 4px; color: var(--accent); font-size: .68rem; font-weight: 700; cursor: pointer; }
.demo-link-btn:hover { text-decoration: underline; }

.demo-carousel {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.demo-carousel::-webkit-scrollbar { display: none; }

.demo-drink-card {
  flex: 0 0 148px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease);
}
.demo-drink-card:hover { border-color: var(--accent); }
.demo-drink-media {
  position: relative;
  width: 100%;
  height: 82px;
  background: var(--accent-soft);
  overflow: hidden;
}
.demo-drink-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-price {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: .63rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
  background: rgba(255,255,255,.94);
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.demo-drink-body {
  padding: 8px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.demo-drink-body strong { font-size: .74rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.demo-drink-body span { font-size: .62rem; color: var(--muted); line-height: 1.3; }

.demo-card-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 12px;
  min-height: 354px;
  display: grid;
  align-content: center;
  gap: 14px;
  scroll-margin-top: 46px;
}
#demoCarta {
  align-content: space-between;
  gap: 10px;
  padding: 14px 12px;
}
.demo-block-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.demo-block-head strong, .demo-block-title { font-size: .78rem; font-weight: 700; color: var(--text); }
.demo-tabs { display: inline-flex; gap: 3px; background: var(--bg); padding: 2px; border-radius: 999px; border: 1px solid var(--border); }
.demo-tabs button { border: 0; background: transparent; padding: 4px 8px; border-radius: 999px; font-size: .62rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.demo-tabs button.is-active { background: var(--accent); color: #fff; }

.demo-menu-panel { display: grid; gap: 2px; }
.demo-menu-panel[hidden] { display: none; }
.demo-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .68rem; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.demo-menu-row:last-child { border-bottom: 0; padding-bottom: 0; }
.demo-menu-row span { color: var(--text); font-weight: 500; }
.demo-menu-row b { color: var(--accent-deep); font-variant-numeric: tabular-nums; font-weight: 700; }
.demo-menu-note {
  font-size: .61rem;
  color: var(--muted);
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.demo-about-head { display: grid; gap: 5px; }
.demo-about-lead { font-size: .68rem; line-height: 1.4; color: var(--muted); }

.demo-perks { list-style: none; display: grid; gap: 10px; }
.demo-perks li { display: flex; align-items: center; gap: 8px; font-size: .69rem; color: var(--text); font-weight: 500; }
.demo-perks svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

.demo-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 4px;
}
.demo-stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  gap: 1px;
  text-align: center;
}
.demo-stat-box strong { font-size: .78rem; font-weight: 700; color: var(--accent-deep); }
.demo-stat-box span { font-size: .6rem; color: var(--muted); font-weight: 500; }

.demo-cta-block {
  background: var(--accent-soft);
  border: 1px solid rgba(46,107,79,.22);
  border-radius: 14px;
  padding: 14px 12px;
  min-height: 312px;
  text-align: center;
  display: grid;
  align-content: space-between;
  gap: 8px;
  justify-items: center;
}
.demo-cta-block p { font-size: .76rem; color: var(--text); line-height: 1.25; }
.demo-cta-block > span { font-size: .65rem; color: var(--muted); line-height: 1.3; }
.demo-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
}
.demo-cta-btn,
.demo-ig-btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 600;
  transition: background var(--ease), border-color var(--ease), transform 120ms ease;
}
.demo-cta-btn {
  background: var(--accent);
  color: #fff;
}
.demo-cta-btn:hover { background: var(--accent-hover); }
.demo-ig-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(46,107,79,.22);
}
.demo-ig-btn:hover { background: #fff; border-color: var(--accent); color: var(--accent-deep); }
.demo-cta-btn:active,
.demo-ig-btn:active { transform: scale(.97); }
.demo-cta-btn svg,
.demo-ig-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Mapita ficticio de ubicación */
.demo-map-card {
  width: 100%;
  border: 1px solid rgba(46,107,79,.22);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--ease), transform 140ms ease;
}
.demo-map-card:hover { border-color: var(--accent); }
.demo-map-card:active { transform: scale(.99); }
.demo-map-canvas {
  position: relative;
  height: 112px;
  background: #ECEAE2;
  overflow: hidden;
}
.demo-map-park {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 54px;
  height: 36px;
  border-radius: 6px;
  background: #CFE4D5;
  border: 1px solid rgba(46,107,79,.18);
}
.demo-map-road {
  position: absolute;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(31,35,40,.06);
}
.demo-map-road.is-h1 { left: 0; right: 0; top: 34px; height: 9px; }
.demo-map-road.is-h2 { left: 0; right: 0; bottom: 20px; height: 6px; opacity: .85; }
.demo-map-road.is-v1 { top: 0; bottom: 0; left: 76px; width: 7px; }
.demo-map-road.is-v2 { top: 0; bottom: 0; right: 56px; width: 9px; }
.demo-map-street-tag {
  position: absolute;
  left: 10px;
  top: 22px;
  font-size: .54rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255,255,255,.88);
  padding: 1px 5px;
  border-radius: 4px;
}
.demo-map-pin {
  position: absolute;
  left: 52%;
  top: 44%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px 3px 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(27,74,53,.32);
}
.demo-map-pin svg { width: 11px; height: 11px; }
.demo-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 9px;
  font-size: .62rem;
  color: var(--text);
  font-weight: 600;
}
.demo-map-link { color: var(--accent); font-weight: 700; }

.demo-mini-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 2px 2px;
  border-top: 1px solid var(--border);
  font-size: .61rem;
  color: var(--muted);
  font-weight: 500;
}

.demo-404 {
  min-height: 100%;
  padding: 36px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.demo-404[hidden] { display: none; }
.demo-404-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FBEDEA;
  color: var(--danger);
  border: 1px solid #E8BDB5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.demo-404-icon svg { width: 22px; height: 22px; }
.demo-404-code { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--danger); }
.demo-404-title { font-size: 1.08rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.demo-404-desc { font-size: .74rem; line-height: 1.45; color: var(--muted); max-width: 28ch; overflow-wrap: anywhere; margin-bottom: 6px; }
.demo-404-btn { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; transition: background var(--ease); }
.demo-404-btn:hover { background: var(--accent-hover); }

.demo-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 24px;
  z-index: 6;
  background: var(--text);
  color: #fff;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: .68rem;
  line-height: 1.35;
  font-weight: 500;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}

.phone-volume-hud {
  position: absolute;
  top: 46px;
  left: 14px;
  right: 14px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(31,35,40,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(-100% - 20px));
  transition:
    transform 260ms cubic-bezier(.4, 0, .2, 1),
    opacity 260ms cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear 260ms;
}
.phone-volume-hud.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    transform 260ms cubic-bezier(.4, 0, .2, 1),
    opacity 260ms cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear 0s;
}
.phone-vol-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; color: #fff; }
.phone-vol-icon svg { width: 16px; height: 16px; }
.phone-vol-icon .vol-muted { display: none; }
.phone-volume-hud.is-muted .phone-vol-icon .vol-on { display: none; }
.phone-volume-hud.is-muted .phone-vol-icon .vol-muted { display: block; color: rgba(255,255,255,.6); }
.phone-vol-track { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.phone-vol-fill { height: 100%; width: 60%; border-radius: 999px; background: #6CD49B; transition: width 140ms ease; }
.phone-vol-pct { min-width: 30px; text-align: right; font-size: .68rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.9); }

.phone-off-screen {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: radial-gradient(circle at 50% 42%, #1C2127 0%, #0A0D10 78%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 360ms cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear 360ms;
}
.phone-device.is-off .phone-off-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 280ms cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear 0s;
}
.phone-wake-btn {
  border: 0;
  background: transparent;
  color: rgba(247,245,240,.84);
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 20px;
  opacity: 0;
  transform: scale(.92) translateY(6px);
  transition:
    opacity 200ms ease,
    transform 260ms cubic-bezier(.22, 1, .36, 1),
    background var(--ease);
}
.phone-device.is-off .phone-wake-btn {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition:
    opacity 260ms ease 100ms,
    transform 320ms cubic-bezier(.22, 1, .36, 1) 70ms,
    background var(--ease);
}
.phone-wake-btn:hover { background: rgba(255,255,255,.06); }
.phone-wake-btn:active { transform: scale(.97); }
.phone-wake-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(46,107,79,.28);
  border: 1px solid rgba(108,212,155,.35);
  color: #6CD49B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.phone-wake-icon svg { width: 20px; height: 20px; }
.phone-wake-btn strong { font-size: .86rem; font-weight: 600; color: #fff; }
.phone-wake-btn span:last-child { font-size: .72rem; color: rgba(247,245,240,.62); max-width: 22ch; line-height: 1.4; }

.phone-home-bar {
  padding: 5px 0 8px;
  display: flex;
  justify-content: center;
  background: var(--bg);
  border-top: 1px solid rgba(226,222,212,.5);
}
.phone-home-bar span { width: 92px; height: 4px; border-radius: 999px; background: rgba(31,35,40,.22); display: block; }

.phone-float-tag {
  margin: -14px auto 0;
  width: fit-content;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.55);
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-dark);
}
.float-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.float-check svg { width: 13px; height: 13px; }

/* ---- Statbar clara (como el bloque blanco del hero en la referencia) ---- */
.statbar {
  margin-top: 44px;
  background: var(--card-light);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 12px;
  text-align: center;
}
.stat { padding: 4px 8px; }
.stat b {
  display: block;
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-dark);
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted-dark);
  font-size: .84rem;
  line-height: 1.4;
}

/* ---- Sección 3: Bloque verde grande + Formulario integrado (reemplaza el rojo de la referencia) ---- */
.contact { padding: 28px 0 72px; }
.contact-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 360px at 50% -40px, rgba(108,212,155,.26), transparent 72%),
    linear-gradient(160deg, #357D5C 0%, var(--accent) 42%, var(--accent-deep) 100%);
  border: 1px solid rgba(108,212,155,.28);
  border-radius: 28px;
  padding: 38px 14px 14px;
  color: #fff;
  text-align: center;
  box-shadow: 0 32px 72px -24px rgba(0,0,0,.72), 0 0 80px -28px rgba(46,107,79,.45);
}
.contact-head { max-width: 60ch; margin: 0 auto; padding: 0 8px; }
.contact-box h2 { color: #fff; }
.contact-box .section-sub { color: rgba(255,255,255,.9); margin: 0 auto; }
.contact-box .hl { color: #fff; }
.contact-box .hl::after { background: rgba(255,255,255,.26); }

.contact-highlights {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}
.contact-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
}
.contact-highlights svg { width: 15px; height: 15px; color: #A6ECC2; }

.form-box {
  margin-top: 28px;
  background: var(--surface);
  color: var(--text-dark);
  text-align: left;
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 24px 50px -22px rgba(0,0,0,.45);
}
.form-box :focus-visible { outline-color: var(--accent); }

fieldset {
  border: none;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #EFECE4;
  min-width: 0;
}
legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 12px;
  padding: 0;
  line-height: 1.35;
  color: var(--text-dark);
}
.q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.q-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--card-light);
  border: 1px solid var(--border);
  color: var(--muted-dark);
}
.q-badge.is-req {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-deep);
}

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--card-light);
  color: var(--text-dark);
  font-size: .92rem;
  font-weight: 500;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform 140ms ease;
  user-select: none;
}
.chip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--ease), transform var(--ease);
}
.chip input[type="checkbox"] + span::before { border-radius: 3px; }
.chip:hover span { border-color: var(--accent); background: #fff; }
.chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.chip input:checked + span::before { background: #fff; transform: scale(1.15); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

fieldset.has-error legend { color: var(--danger-dark); }
fieldset.has-error .q-num { background: #FBEDEA; color: var(--danger-dark); }
fieldset.has-error .chip span { border-color: var(--danger-dark); }

.field { margin-bottom: 22px; }
.field label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.field input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--card-light);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.field input[type="text"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,107,79,.18);
}
.hint { margin-top: 6px; font-size: .85rem; color: var(--muted-dark); font-weight: 400; }

.msg-preview {
  background: var(--card-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.msg-preview-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.msg-preview-head svg { width: 16px; height: 16px; color: var(--accent); }
.msg-preview-text { font-size: .9rem; color: var(--muted-dark); line-height: 1.5; }
.msg-preview.is-ready { background: var(--accent-soft); border-color: rgba(46,107,79,.28); }
.msg-preview.is-ready .msg-preview-text { color: var(--text-dark); font-weight: 500; }

.form-actions { margin-top: 20px; }
.status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; display: none; }
.status.is-error { display: block; background: #FBEDEA; color: var(--danger-dark); border: 1px solid #E8BDB5; }
.status.is-ok { display: block; background: var(--accent-soft); color: var(--accent-hover); border: 1px solid #BFD6C9; }
.status a { font-weight: 600; }

.form-privacy {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .84rem;
  color: var(--muted-dark);
}
.form-privacy svg { width: 15px; height: 15px; margin-top: 2px; color: var(--accent); }
.noscript-note { margin-top: 20px; font-size: .95rem; }
.noscript-note a { color: #fff; font-weight: 600; }

/* ---- Sección 4: ¿Te pasa alguna de estas? (6 cajas claras horizontales en 2 columnas) ---- */
.cards { display: grid; gap: 14px; }
.card {
  background: var(--card-light);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  background: var(--surface);
  border-color: var(--accent-light);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.65), 0 0 0 1px var(--accent-light);
}
.icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46,107,79,.14);
  transition: transform var(--ease), background var(--ease), color var(--ease);
}
.card:hover .icon {
  transform: scale(1.07);
  background: var(--accent);
  color: #fff;
}
.icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.4; color: var(--text-dark); }

.pain-close {
  margin-top: 44px;
  text-align: center;
}
.pain-close p {
  font-size: clamp(1.22rem, 3.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.32;
  max-width: 28ch;
  margin: 0 auto;
  color: #fff;
}

/* ---- Sección 5: Cinco piezas en zigzag vertical (como la referencia) ---- */
.steps-zigzag {
  list-style: none;
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 28px;
}
.steps-zigzag::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 72px;
  bottom: 72px;
  width: 2px;
  background: linear-gradient(180deg, rgba(71,184,129,.25) 0%, rgba(71,184,129,.7) 50%, rgba(71,184,129,.25) 100%);
}

.step-item { position: relative; }
.step-dot {
  position: absolute;
  left: -27px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(71,184,129,.2);
  z-index: 2;
  transition: transform 400ms ease, box-shadow 400ms ease;
}
.step-item.is-visible .step-dot {
  box-shadow: 0 0 0 6px rgba(71,184,129,.24);
}

.step-card {
  background: var(--card-light);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}
.step-card:hover {
  transform: translateY(-3px);
  background: var(--surface);
  border-color: var(--accent-light);
}
.step-card .num {
  display: inline-block;
  font-size: 1.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}
.step-card h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 6px; }
.step-card p { color: var(--muted-dark); font-size: .94rem; line-height: 1.5; }

/* ---- Sección 6: Dos cajas comparativas (oscura izquierda + verde brillante derecha) ---- */
.plans { display: grid; gap: 20px; }
.plan {
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.plan:hover { transform: translateY(-3px); }

.plan.is-dark {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow);
  color: #fff;
}
.plan.is-dark:hover { border-color: rgba(71,184,129,.45); }

.plan-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border-dark);
  color: var(--accent-soft);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.32rem; margin-bottom: 8px; color: #fff; }
.plan > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.plan li { display: flex; gap: 12px; align-items: center; font-size: .96rem; font-weight: 500; }

.check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(71,184,129,.16);
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-badge svg { width: 13px; height: 13px; }

.plan.is-featured {
  background:
    radial-gradient(380px 260px at 100% 0%, rgba(166,236,194,.22), transparent 70%),
    linear-gradient(155deg, #357D5C 0%, var(--accent) 45%, var(--accent-deep) 100%);
  border: 1px solid rgba(166,236,194,.3);
  color: #fff;
  box-shadow: 0 28px 60px -22px rgba(46,107,79,.65);
}
.plan.is-featured .plan-badge {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.26);
  color: #fff;
}
.plan.is-featured > p { color: rgba(255,255,255,.88); }
.plan.is-featured .check-badge { background: rgba(255,255,255,.2); color: #fff; }

.plan-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 6px;
}
.plan-foot strong {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--accent-light);
}
.plan.is-featured .plan-foot strong { color: #fff; }
.plan-foot span { font-size: .88rem; color: var(--muted); }
.plan.is-featured .plan-foot span { color: rgba(255,255,255,.85); }

.cta-row { margin-top: 34px; display: flex; justify-content: center; }

/* ---- Sección 7: Demo (oculta por defecto hasta cargar demoUrl) ---- */
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 24px;
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}
.demo-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(71,184,129,.16);
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.demo-icon svg { width: 24px; height: 24px; }
.demo-card .section-tag { margin-bottom: 2px; }
.demo-card p { color: var(--muted); max-width: 44ch; margin-bottom: 8px; }

/* ---- Sección 8: FAQ oscuro ---- */
.faq { display: grid; gap: 10px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px -14px rgba(0,0,0,.5);
  transition: border-color var(--ease), background var(--ease);
}
details[open] {
  border-color: rgba(71,184,129,.55);
  background: #18201C;
}
summary {
  list-style: none;
  cursor: pointer;
  min-height: 60px;
  padding: 15px 18px 15px 20px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.faq-icon svg { width: 16px; height: 16px; transition: transform var(--ease); }
details[open] .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
details[open] .faq-icon svg { transform: rotate(45deg); }

details p {
  padding: 12px 20px 20px;
  color: var(--muted);
  font-size: .96rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ---- Sección 9: Footer moderno ---- */
.site-footer {
  background: #090C0A;
  color: #F5F7F5;
  padding: 52px 0 32px;
  border-top: 1px solid var(--border-dark);
}
.site-footer :focus-visible { outline-color: var(--accent-light); }

.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46,107,79,.28);
  border: 1px solid rgba(71,184,129,.3);
  color: var(--accent-soft);
  font-size: .76rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-title { font-size: 1.15rem; line-height: 1.35; font-weight: 500; color: #fff; margin-bottom: 10px; }
.footer-title strong { font-weight: 700; }
.footer-desc { color: var(--muted); font-size: .94rem; max-width: 36ch; }

.footer-heading {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,247,245,.56);
  margin-bottom: 14px;
}

.footer-nav ul { list-style: none; display: grid; gap: 4px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  text-decoration: none;
  color: rgba(245,247,245,.86);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--ease), transform var(--ease);
}
.footer-nav a:hover { color: var(--accent-light); transform: translateX(3px); }

.contact-links { display: grid; gap: 10px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-dark);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.contact-link:hover {
  background: rgba(46,107,79,.2);
  border-color: rgba(71,184,129,.42);
  transform: translateY(-2px);
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon.is-wa { background: var(--accent); color: #fff; }
.contact-icon svg { width: 20px; height: 20px; }

.contact-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact-label { font-size: .74rem; color: var(--muted); font-weight: 500; }
.contact-val { font-size: .95rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.contact-arrow { width: 16px; height: 16px; color: var(--muted); transition: transform var(--ease), color var(--ease); }
.contact-link:hover .contact-arrow { color: var(--accent-light); transform: translate(2px, -2px); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-legal { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.footer-copy { font-size: .82rem; color: rgba(245,247,245,.65); }

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.back-top svg { width: 16px; height: 16px; }
.back-top:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---- Animaciones de entrada escalonadas ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms cubic-bezier(.2,.8,.2,1), transform 520ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.cards .card:nth-child(2),
.steps-zigzag .step-item:nth-child(2),
.plans .plan:nth-child(2) { transition-delay: 70ms; }
.cards .card:nth-child(3),
.steps-zigzag .step-item:nth-child(3) { transition-delay: 130ms; }
.cards .card:nth-child(4),
.steps-zigzag .step-item:nth-child(4) { transition-delay: 180ms; }
.cards .card:nth-child(5),
.steps-zigzag .step-item:nth-child(5) { transition-delay: 230ms; }
.cards .card:nth-child(6) { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Breakpoints (mobile-first) ---- */
@media (min-width: 480px) {
  .wrap { padding: 0 24px; }
  .hero-actions { flex-direction: row; align-items: center; justify-content: center; max-width: none; }
  .contact-box { padding: 44px 24px 24px; }
  .form-box { padding: 28px 26px; }
}

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  section { padding: 88px 0; }
  .hero { padding: 132px 0 64px; }
  .statbar {
    margin-top: 52px;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 20px;
    gap: 0;
  }
  .stat + .stat { border-left: 1px solid var(--border); }

  .contact-box { padding: 56px 40px 40px; border-radius: 32px; }
  .form-box { padding: 36px; }
  .btn-block { justify-content: center; }

  /* Zigzag alternado con línea central en pantallas 768px+ */
  .steps-zigzag { padding-left: 0; gap: 22px; }
  .steps-zigzag::before { left: 50%; top: 82px; bottom: 82px; transform: translateX(-50%); }
  .step-item {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
  }
  .step-dot {
    position: static;
    transform: none;
    grid-row: 1;
    grid-column: 2;
    justify-self: center;
    width: 14px;
    height: 14px;
  }
  .step-card { grid-row: 1; }
  .step-item.is-left .step-card { grid-column: 1; }
  .step-item.is-right .step-card { grid-column: 3; }

  .plans { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer-top { grid-template-columns: 1.2fr .9fr 1.1fr; gap: 36px; }
  .footer-nav ul { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; }
}

@media (min-width: 1024px) {
  .nav-pill-status { display: none; }
  .nav { padding: 6px 8px 6px 14px; }
  .nav-links { display: flex; }
  .nav-toggle, .nav-panel { display: none; }

  .hero { padding: 144px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-copy { text-align: left; }
  .hero h1 { margin: 0 0 20px; }
  .hero .lead { margin: 0 0 28px; }
  .hero-actions { justify-content: flex-start; }
  .hero-note { justify-content: flex-start; }
}
