/* Nanovid — Agua Alcalina pH 8.7 Tlaxcala */
:root {
  /* Marca (constantes en ambos temas) */
  --blue: #0AAEE0;
  --blue-dark: #0890BC;
  --blue-deep: #074E6E;
  --green: #8DC63F;
  --green-dark: #71A52C;

  /* Tema claro (default) */
  --ink: #0B3D5C;
  --ink-soft: #4A5560;
  --bg: #FFFFFF;
  --bg-soft: #EFF8FD;
  --bg-card: #F8FCFE;
  --bg-elev: #FFFFFF;
  --border: #DBEDF6;
  --header-bg: rgba(255,255,255,.92);
  --footer-bg: #074E6E;
  --footer-fg: rgba(255,255,255,.86);
  --shadow-sm: 0 1px 2px rgba(11,61,92,.06), 0 1px 3px rgba(11,61,92,.05);
  --shadow-md: 0 4px 12px rgba(11,61,92,.08), 0 2px 4px rgba(11,61,92,.04);
  --shadow-lg: 0 12px 32px rgba(11,61,92,.12), 0 4px 8px rgba(11,61,92,.06);

  /* Layout */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1180px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Tema oscuro */
[data-theme="dark"] {
  --ink: #E8F4FB;
  --ink-soft: #A8BFCE;
  --bg: #0A1620;
  --bg-soft: #0F2330;
  --bg-card: #142A39;
  --bg-elev: #15303F;
  --border: #1F3D4E;
  --header-bg: rgba(10,22,32,.88);
  --footer-bg: #050D14;
  --footer-fg: rgba(255,255,255,.78);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.30), 0 1px 3px rgba(0,0,0,.25);
  --shadow-md: 0 4px 12px rgba(0,0,0,.40), 0 2px 4px rgba(0,0,0,.25);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.50), 0 4px 8px rgba(0,0,0,.30);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(1100px 500px at 90% -10%, rgba(141,198,63,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(10,174,224,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
[data-theme="dark"] .product-card,
[data-theme="dark"] .route,
[data-theme="dark"] .contact-info,
[data-theme="dark"] .form,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .b2b-card,
[data-theme="dark"] .calc,
[data-theme="dark"] .compare-table,
[data-theme="dark"] .post-card,
[data-theme="dark"] .step,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .diff-card,
[data-theme="dark"] .benefit { background: var(--bg-card); }
[data-theme="dark"] .coverage-list span { background: var(--bg-card); }
[data-theme="dark"] .route li { background: var(--bg-elev); color: var(--ink); }
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: var(--bg-elev); color: var(--ink); border-color: var(--border);
}
[data-theme="dark"] .product-visual { background: linear-gradient(135deg, #1A4A66 0%, #2A5A28 100%); }
[data-theme="dark"] .product-visual.cacao { background: linear-gradient(135deg, #5A3A1A 0%, #4A2A12 100%); }
[data-theme="dark"] .ph-badge { background: var(--bg-elev); color: var(--ink); }
[data-theme="dark"] .ph-badge .lbl { color: var(--ink-soft); }
[data-theme="dark"] .form-msg.ok { background: rgba(141,198,63,.15); color: #c4e89c; border-color: rgba(141,198,63,.4); }
[data-theme="dark"] .form-msg.err { background: rgba(220,80,60,.15); color: #f4b8af; border-color: rgba(220,80,60,.4); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { height: 36px; width: auto; }
.brand-tag { font-size: .72rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-left: 2px solid var(--green); padding-left: 8px; }
.nav-links { display: none; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (min-width: 880px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

.mobile-menu { display: none; padding: 12px 0 18px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { display: block; padding: 10px 4px; color: var(--ink); font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700;
  font-size: .98rem; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; border: 0; text-align: center;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--blue); color: #fff; box-shadow: var(--shadow-md); }
.btn-secondary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 90% -10%, rgba(141,198,63,.18), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(10,174,224,.20), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,174,224,.10); color: var(--blue-deep);
  padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.hero h1 strong { color: var(--blue); }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink); font-weight: 600; }
.hero-trust .item svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

.hero-visual {
  position: relative; aspect-ratio: 4/5; max-height: 540px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.9) 0%, rgba(239,248,253,.6) 60%, transparent 80%),
    linear-gradient(135deg, #d2eef9 0%, #e8f5d6 100%);
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-bottle {
  position: relative; width: 70%; height: 90%;
  display: flex; align-items: center; justify-content: center;
}
.bottle-svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(7,78,110,.25)); }
.ph-badge {
  position: absolute; top: 18px; right: 18px;
  background: #fff; color: var(--blue-deep);
  border-radius: 999px; padding: 12px 18px;
  font-weight: 800; font-size: .95rem;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; line-height: 1;
}
.ph-badge .num { font-size: 1.5rem; color: var(--blue); }
.ph-badge .lbl { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; color: var(--ink-soft); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--blue); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }

/* Productos */
.products { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.product-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .product-grid { grid-template-columns: 1fr 1fr; } }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .tag {
  display: inline-block; background: var(--green); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 14px;
}
.product-card .tag.alt { background: var(--blue); }
.product-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.product-card .sub { color: var(--blue-dark); font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.product-card .features { list-style: none; padding: 0; margin: 18px 0; }
.product-card .features li {
  position: relative; padding-left: 26px; padding-bottom: 8px; font-size: .95rem; color: var(--ink-soft);
}
.product-card .features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--green); border-radius: 50%;
}
.product-card .features li::after {
  content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.product-card .price { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-top: 8px; }
.product-card .price small { font-size: .9rem; color: var(--ink-soft); font-weight: 500; margin-left: 4px; }
.product-visual {
  position: relative; height: 240px; margin: -32px -32px 24px; overflow: hidden;
  background: linear-gradient(135deg, #d2eef9 0%, #e8f5d6 100%);
  display: flex; align-items: center; justify-content: center;
}
.product-visual.cacao { background: linear-gradient(135deg, #f5d9b8 0%, #e8c89a 100%); }
.product-visual svg { height: 70%; position: relative; z-index: 1; }
/* Foto real (cuando el archivo existe en /assets/img/) cubre el SVG.
   Si falla, onerror remueve el <img> y queda visible el SVG decorativo. */
.product-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
  transition: opacity .4s ease;
}
.product-photo[data-loaded="false"] { opacity: 0; }

/* Beneficios (¿Por qué agua alcalina?) */
.benefits-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: var(--blue); }
.benefit .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #fff;
}
.benefit .icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit p { margin: 0; font-size: .95rem; }

/* Rutas */
.routes { background: var(--bg-soft); }
.routes-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .routes-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .routes-grid { grid-template-columns: repeat(3, 1fr); } }
.route {
  background: #fff; border-radius: var(--radius); padding: 22px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.route .day {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 14px;
}
.route ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.route li {
  background: var(--bg-soft); color: var(--ink); padding: 5px 12px;
  border-radius: 999px; font-size: .88rem; font-weight: 500;
}
.routes-note { text-align: center; margin-top: 32px; color: var(--ink-soft); }

/* Cobertura */
.coverage-list {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 980px; margin: 0 auto;
}
.coverage-list span {
  background: #fff; border: 1px solid var(--border); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  transition: all .15s ease;
}
.coverage-list span:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Diferenciadores */
.diff { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.diff-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }
.diff-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.diff-card:hover { transform: translateY(-3px); border-color: var(--green); }
.diff-card .num {
  display: inline-block; width: 48px; height: 48px; line-height: 48px;
  background: var(--bg-soft); color: var(--blue); border-radius: 50%;
  font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: 0;
  padding: 20px 24px; text-align: left; cursor: pointer;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--blue);
  transition: transform .2s ease;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

/* Contacto */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.contact-info {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.contact-info h3 { margin-bottom: 18px; }
.contact-info .row {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .row svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-info .row strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-info .row span, .contact-info .row a { font-size: .95rem; color: var(--ink-soft); }
.contact-info .row a:hover { color: var(--blue); }
.contact-info .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.form {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.form h3 { margin-bottom: 6px; }
.form p.helper { color: var(--ink-soft); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,174,224,.18);
}
.field textarea { min-height: 100px; resize: vertical; }
.form .form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .92rem; display: none; }
.form .form-msg.ok { display: block; background: #e7f6d8; color: #3a6612; border: 1px solid #b8d98a; }
.form .form-msg.err { display: block; background: #fdecea; color: #91271b; border: 1px solid #f0b6ae; }

/* Footer */
.site-footer {
  background: var(--blue-deep); color: rgba(255,255,255,.86);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; font-size: .94rem; }
.footer-brand img { filter: brightness(0) invert(1); height: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: .94rem; max-width: 360px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,.18); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .88rem; color: rgba(255,255,255,.6);
}

/* WhatsApp floating */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   THEME TOGGLE & LANG SWITCHER
============================================================ */
.theme-btn, .lang-btn {
  background: transparent; border: 1.5px solid var(--border);
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); transition: background .15s ease, border-color .15s ease;
}
.theme-btn:hover, .lang-btn:hover { background: var(--bg-soft); border-color: var(--blue); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
.theme-btn .sun { display: block; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

.lang-switch { position: relative; }
.lang-btn { width: auto; padding: 0 14px; gap: 6px; font-weight: 700; font-size: .85rem; }
.lang-btn svg { width: 14px; height: 14px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px; box-shadow: var(--shadow-lg);
  display: none; z-index: 80;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 10px 14px; border-radius: 8px;
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
  font-size: .92rem; color: var(--ink); text-align: left;
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button.active { background: var(--bg-soft); color: var(--blue); font-weight: 700; }
.lang-menu .flag { font-size: 1.1rem; line-height: 1; }
.lang-menu small { color: var(--ink-soft); font-size: .75rem; font-weight: 500; display: block; margin-top: 2px; }

/* Promo bar (sticky top) */
.promo-bar {
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  color: #fff; text-align: center; padding: 8px 16px; font-size: .9rem; font-weight: 600;
}
.promo-bar a { color: #fff; text-decoration: underline; }

/* ============================================================
   PROCESO (cómo funciona)
============================================================ */
.process { background: var(--bg-soft); }
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.step .step-num {
  position: absolute; top: 18px; right: 18px;
  font-size: 2.5rem; font-weight: 800; color: var(--bg-soft); line-height: 1;
}
[data-theme="dark"] .step .step-num { color: var(--bg-elev); }
.step .step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 14px;
}
.step .step-icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.1rem; }

/* ============================================================
   COMPARATIVA · AlcaVid vs agua común
============================================================ */
.compare-wrap { max-width: 880px; margin: 0 auto; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left; font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.compare-table thead th.brand-col { background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%); color: #fff; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--green-dark); font-weight: 700; }
.compare-table .no { color: #b8442e; font-weight: 600; }
[data-theme="dark"] .compare-table .yes { color: #a8d96a; }
[data-theme="dark"] .compare-table .no { color: #e89384; }
.compare-table .col-icon { width: 24px; vertical-align: middle; margin-right: 8px; }

/* ============================================================
   CALCULADORA DE HIDRATACIÓN
============================================================ */
.calc-section { background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%); }
.calc {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; max-width: 760px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.calc h3 { font-size: 1.4rem; margin-bottom: 6px; }
.calc-fields { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 600px) { .calc-fields { grid-template-columns: 1fr 1fr; } }
.calc-result {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  border-radius: var(--radius); color: #fff; padding: 24px;
  display: grid; gap: 16px; grid-template-columns: 1fr 1fr; align-items: center;
}
.calc-result .big { font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.calc-result .label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.calc-result .sub { font-size: .85rem; opacity: .9; margin-top: 2px; }
.calc-cta { margin-top: 18px; text-align: center; }

/* ============================================================
   TESTIMONIOS
============================================================ */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial .stars { color: #FFB800; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 16px; font-size: 1rem; color: var(--ink); font-style: italic; }
.testimonial .who {
  display: flex; align-items: center; gap: 12px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial .who strong { display: block; color: var(--ink); font-size: .92rem; }
.testimonial .who span { color: var(--ink-soft); font-size: .82rem; }
.rating-summary {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 12px 22px; margin: 0 auto 32px; max-width: max-content;
}
.rating-summary .num { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.rating-summary .stars { color: #FFB800; }
.rating-summary .label { color: var(--ink-soft); font-size: .9rem; }

/* ============================================================
   B2B / EMPRESAS
============================================================ */
.b2b { padding-top: 96px; padding-bottom: 96px; }
.b2b-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .b2b-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.b2b h2 strong { color: var(--blue); }
.b2b-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.b2b-card .icon-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.b2b-card .badge {
  background: var(--bg-soft); color: var(--ink); padding: 8px 14px;
  border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.b2b-card ul { padding-left: 0; list-style: none; margin: 0 0 22px; }
.b2b-card ul li {
  position: relative; padding-left: 26px; padding-bottom: 8px; font-size: .95rem;
}
.b2b-card ul li::before {
  content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700;
}

/* ============================================================
   SUSCRIPCIÓN
============================================================ */
.subscription {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0A4D6E 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 48px;
  display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 760px) { .subscription { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.subscription h2 { color: #fff; }
.subscription p { color: rgba(255,255,255,.86); }
.subscription .plan {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 26px;
}
.subscription .plan .price-big { font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.subscription .plan .price-big small { font-size: 1rem; opacity: .8; font-weight: 500; }
.subscription .plan ul { list-style: none; padding: 0; margin: 18px 0; }
.subscription .plan li {
  position: relative; padding-left: 26px; padding-bottom: 8px;
  font-size: .92rem; color: rgba(255,255,255,.92);
}
.subscription .plan li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  background: var(--green); border-radius: 50%;
}
.subscription .plan li::after {
  content: ""; position: absolute; left: 3px; top: 11px; width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* ============================================================
   BLOG / CONSEJOS
============================================================ */
.blog-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .cover {
  height: 160px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.post-card .cover svg { width: 60px; height: 60px; opacity: .85; }
.post-card .body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .cat {
  display: inline-block; background: var(--bg-soft); color: var(--blue);
  padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 10px; align-self: flex-start;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card p { font-size: .92rem; flex: 1; }
.post-card .read-more {
  color: var(--blue); font-weight: 700; font-size: .9rem; margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================================
   NEWSLETTER
============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 36px; display: grid; gap: 22px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 760px) { .newsletter { grid-template-columns: 1.2fr 1fr; } }
.newsletter h3 { color: #fff; font-size: 1.4rem; margin-bottom: 4px; }
.newsletter p { color: rgba(255,255,255,.92); margin: 0; }
.newsletter form { display: flex; gap: 8px; flex-direction: column; }
@media (min-width: 460px) { .newsletter form { flex-direction: row; } }
.newsletter input {
  flex: 1; padding: 13px 16px; border-radius: 999px;
  border: 0; font-family: inherit; font-size: 1rem;
}
.newsletter input:focus { outline: 3px solid rgba(255,255,255,.5); }
.newsletter button {
  padding: 13px 22px; border-radius: 999px; border: 0;
  background: var(--blue-deep); color: #fff;
  font-family: inherit; font-weight: 700; cursor: pointer;
  transition: background .2s ease;
}
.newsletter button:hover { background: #053A55; }

/* ============================================================
   NÁHUATL / Banner cultural
============================================================ */
.cultura {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  text-align: center; max-width: 820px; margin: 56px auto 0;
}
.cultura .nahuatl {
  font-size: 1.8rem; font-weight: 700; color: var(--blue);
  margin-bottom: 10px; letter-spacing: .01em;
}
.cultura p { color: var(--ink-soft); }

/* ============================================================
   FOCUS-VISIBLE ACCESIBLE
============================================================ */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid rgba(10,174,224,.45);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }
[data-theme="dark"] :focus-visible { outline-color: rgba(141,198,63,.55); }

/* ============================================================
   PROMO BAR · con dismiss
============================================================ */
.promo-bar { position: relative; padding-right: 44px; }
.promo-dismiss {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: #fff; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.promo-dismiss:hover { background: rgba(255,255,255,.18); }
.promo-bar.hidden { display: none; }

/* ============================================================
   SCROLL REVEAL (con respeto a prefers-reduced-motion)
============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Active link en nav (scroll-spy) */
.nav-links a[aria-current="true"] { color: var(--blue); position: relative; }
.nav-links a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--blue); border-radius: 2px;
}

/* ============================================================
   STATS / SOCIAL PROOF BAR
============================================================ */
.stats {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0A4D6E 50%, var(--green-dark) 100%);
  color: #fff; padding: 28px 0;
}
.stats-grid {
  display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center; padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: 0; }
@media (max-width: 759px) {
  .stat:nth-child(2n) { border-right: 0; }
}
.stat .num {
  font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800;
  line-height: 1; color: #fff;
  background: linear-gradient(180deg, #fff 0%, #c8e9ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label {
  font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.82); margin-top: 6px;
}

/* ============================================================
   TRUST STRIP · microbadges
============================================================ */
.trust-strip {
  background: var(--bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 22px; font-size: .92rem; color: var(--ink-soft);
}
.trust-strip-inner .item {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
}
.trust-strip-inner .ico {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--green); display: inline-flex; align-items: center; justify-content: center;
}
.trust-strip-inner .ico svg { width: 100%; height: 100%; }

/* ============================================================
   PRICING CARD · referencia
============================================================ */
.pricing { background: var(--bg-soft); }
.pricing-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow-md); }
.price-card.featured::before {
  content: attr(data-feature-label);
  position: absolute; top: -10px; left: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: #fff; padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.price-card .price-line {
  display: flex; align-items: baseline; gap: 4px; margin: 12px 0;
}
.price-card .amount {
  font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1;
}
.price-card .currency { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.price-card .period { color: var(--ink-soft); font-size: .9rem; margin-left: 6px; }
.price-card .price-line.muted .amount {
  font-size: 1.25rem; color: var(--ink-soft); font-weight: 700;
}
.price-card ul {
  list-style: none; padding: 0; margin: 16px 0 22px;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.price-card ul li {
  position: relative; padding-left: 22px; padding-bottom: 7px;
  font-size: .9rem; color: var(--ink-soft);
}
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  background: var(--green); border-radius: 50%;
}
.price-card ul li::after {
  content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 3px;
  border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }
.pricing-note {
  text-align: center; color: var(--ink-soft); margin-top: 24px;
  font-size: .9rem; max-width: 700px; margin-left: auto; margin-right: auto;
}

/* ============================================================
   CONSENT CHECKBOX (newsletter)
============================================================ */
.consent {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.92); margin-top: 4px;
  grid-column: 1 / -1;
}
.consent input[type="checkbox"] {
  margin-top: 3px; accent-color: var(--blue-deep);
  width: 16px; height: 16px; flex-shrink: 0;
}
.consent a { color: #fff; text-decoration: underline; }

/* ============================================================
   LOADING SPINNER (botón submit)
============================================================ */
.spinner {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .9s linear infinite;
  display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}

/* ============================================================
   CLICK-TO-CALL (link teléfono)
============================================================ */
.call-btn {
  display: none; /* visible solo en móvil donde tel: funciona mejor */
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--border);
  align-items: center; justify-content: center; color: var(--ink);
  transition: background .15s ease, border-color .15s ease;
}
.call-btn:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--blue); }
.call-btn svg { width: 18px; height: 18px; }
@media (max-width: 879px) { .call-btn { display: inline-flex; } }

/* ============================================================
   COVERAGE VISUAL (mapa estilizado)
============================================================ */
.coverage-visual {
  max-width: 560px; margin: 28px auto 36px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
}
.coverage-visual svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
[data-theme="dark"] .coverage-visual { background: var(--bg-card); }

/* ============================================================
   PRIVACY MICRO-BADGE (footer)
============================================================ */
.privacy-mini {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; color: rgba(255,255,255,.6);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.privacy-mini svg { width: 14px; height: 14px; }

/* ============================================================
   404 mejorado
============================================================ */
.err-bg {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(10,174,224,.18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(141,198,63,.16), transparent 60%),
    var(--bg);
}
.err-bg::before, .err-bg::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .4;
}
.err-bg::before { width: 200px; height: 200px; background: var(--blue); top: -80px; left: -50px; filter: blur(80px); }
.err-bg::after { width: 240px; height: 240px; background: var(--green); bottom: -100px; right: -60px; filter: blur(90px); }
