/* =========================================================
   Sayab — estilos principales (mobile-first)
   ========================================================= */
:root {
  --green-900: #12380a;
  --green-800: #1f5c0c;
  --green-700: #2c7a12;   /* texto/botones: contraste AA sobre blanco */
  --green-500: #53a500;   /* verde de marca, acentos */
  --green-100: #eef6e6;
  --green-50:  #f6faf2;
  --orange:    #fb882a;
  --orange-ink:#8a3d00;
  --wa:        #1f9e55;
  --wa-dark:   #157a40;
  --ink:       #1c2a17;
  --ink-soft:  #4c5a47;
  --line:      #dfe8d8;
  --white:     #fff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18,56,10,.06), 0 8px 24px rgba(18,56,10,.08);
  --shadow-lg: 0 20px 50px rgba(18,56,10,.18);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 64px; /* espacio para la barra móvil */
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1.25em; height: 1.25em; flex: none; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; color: var(--green-900); }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { min-height: 54px; padding: .8em 1.7em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31,158,85,.35); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); color: var(--green-900); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand-mark { width: 36px; height: 36px; color: var(--green-500); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.5rem; font-weight: 800; color: var(--green-700); }
.brand-text small { font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--green-100); color: var(--green-900); cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.site-nav.is-open { display: block; animation: drop .2s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.site-nav ul { list-style: none; }
.site-nav li a {
  display: block; padding: 14px 4px; font-weight: 700; font-size: 1.1rem;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav li a[aria-current="page"] { color: var(--green-700); }
.nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex !important; align-items: center; gap: 20px;
    padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li a { border: 0; padding: 8px 12px; font-size: .98rem; border-radius: 8px; }
  .site-nav li a:hover { background: var(--green-100); }
  .site-nav li a[aria-current="page"] { background: var(--green-100); }
  .nav-cta { margin: 0; width: auto; min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10,38,4,.92) 0%, rgba(18,56,10,.82) 45%, rgba(18,56,10,.45) 100%),
    url("/assets/img/hero-960.webp") center / cover no-repeat;
  background-color: var(--green-900);
}
@media (min-width: 961px) {
  .hero {
    background:
      linear-gradient(100deg, rgba(10,38,4,.92) 0%, rgba(18,56,10,.8) 45%, rgba(18,56,10,.35) 100%),
      url("/assets/img/hero-1920.webp") center / cover no-repeat;
  }
}
.hero-inner { display: grid; gap: 24px; padding-block: 40px 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: #b9f27c; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 36em; }
.eyebrow {
  display: inline-block; margin: 0 0 .75em;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-700);
}
.hero .eyebrow { color: #b9f27c; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  font-weight: 700; font-size: .92rem;
}
.hero-badges svg { color: #b9f27c; width: 1.1em; height: 1.1em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-product { display: flex; justify-content: center; order: -1; }
.hero-product img { width: min(52vw, 230px); filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.25fr .75fr; padding-block: 80px 96px; gap: 48px; }
  .hero-product { order: 0; }
  .hero-product img { width: 100%; max-width: 360px; animation: float 6s ease-in-out infinite; }
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--green-50); border-bottom: 1px solid var(--line); }
.trust-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 20px; }
.trust-grid li { display: flex; gap: 10px; align-items: flex-start; }
.trust-grid svg { width: 28px; height: 28px; color: var(--green-700); margin-top: 2px; }
.trust-grid strong { display: block; font-size: .95rem; color: var(--green-900); line-height: 1.3; }
.trust-grid span { font-size: .85rem; color: var(--ink-soft); line-height: 1.3; display: block; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(4, 1fr); padding-block: 28px; } }

/* ---------- Secciones ---------- */
.section { padding-block: 56px; }
@media (min-width: 860px) { .section { padding-block: 88px; } }
.section-tint { background: var(--green-50); }
.section-dark { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: rgba(255,255,255,.92); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #b9f27c; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; }

.cards { display: grid; gap: 16px; list-style: none; }
@media (min-width: 600px) { .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.benefit { padding: 24px; }
.benefit p { color: var(--ink-soft); margin: 0; }
.benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  background: var(--green-100); color: var(--green-700);
}
.benefit-icon svg { width: 28px; height: 28px; }

/* Split (imagen + texto) */
.split { display: grid; gap: 32px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-reverse .split-media { order: 2; }
  .split-reverse .split-copy { order: 1; }
}
.checklist { list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 700; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232c7a12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .15s; }

/* Ingredientes */
.ingredients { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .ingredients { grid-template-columns: repeat(3, 1fr); } }
.ingredient { overflow: hidden; text-align: center; }
.ingredient img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ingredient h3 { padding: 14px 10px 16px; margin: 0; font-size: 1.05rem; }
.ingredient h3 small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .85rem; }
.ingredient-text { display: flex; flex-direction: column; }
.ingredient-badge {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-500));
  color: #fff; font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 800; letter-spacing: .02em;
}

/* Laboratorio */
.lab-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.lab-brand img { width: 88px; height: 88px; }

/* Videos (carga diferida) */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--green-900); box-shadow: var(--shadow-lg);
}
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(0deg, rgba(10,38,4,.85), rgba(10,38,4,.1)), url("/assets/img/hero-960.webp") center / cover;
  color: #fff; font-weight: 800; font-size: 1.25rem;
}
.video-play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.95); color: var(--green-700); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.video-play svg { width: 34px; height: 34px; margin-left: 4px; }
.video:hover .video-play { transform: scale(1.08); }

.video-list { display: grid; gap: 40px; }
.video-item { display: grid; gap: 16px; align-items: center; }
.video-item h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.video-item p { color: var(--ink-soft); }
@media (min-width: 860px) {
  .video-list { gap: 64px; }
  .video-item { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .video-item:nth-child(even) .video { order: 2; }
}

/* Pasos */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 24px; }
.step p { margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--green-900); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px;
}
.banks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.banks li { background: #fff; border-radius: 8px; padding: 8px 10px; display: flex; align-items: center; }
.banks img { height: 22px; width: auto; }
.cta-row { display: flex; flex-direction: column; gap: 12px; justify-content: center; margin-top: 36px; }
.cta-left { justify-content: flex-start; }
@media (min-width: 560px) { .cta-row { flex-direction: row; flex-wrap: wrap; } }
.cta-band { text-align: center; max-width: 760px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 800; color: var(--green-900); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--green-700); border-bottom: 3px solid var(--green-700);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

/* Newsletter */
.newsletter { display: grid; gap: 20px; align-items: center; }
.newsletter h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.newsletter p { color: var(--ink-soft); margin: 0; }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form .form-note, .newsletter-form .form-status { grid-column: 1 / -1; }
@media (min-width: 600px) { .newsletter-form { grid-template-columns: 1fr auto; } }
@media (min-width: 860px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Formularios */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #c9d6c0; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 140px; }
input:focus, textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(44,122,18,.15); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c0392b; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .95rem; }
.field label span { color: #c0392b; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status { margin: 0; font-weight: 700; min-height: 1.5em; }
.form-status.is-ok { color: var(--green-700); }
.form-status.is-error { color: #b42318; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.alert-ok { background: var(--green-100); color: var(--green-800); }
.alert-error { background: #fdecea; color: #b42318; }

/* Contacto */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; } }
.contact-channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
}
.channel:hover { transform: translateY(-2px); border-color: var(--green-500); color: var(--ink); }
.channel svg { width: 28px; height: 28px; color: var(--green-700); }
.channel strong { display: block; overflow-wrap: anywhere; }
.channel small { color: var(--ink-soft); font-size: .9rem; }
.channel-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.channel-wa svg, .channel-wa small { color: #fff; }
.channel-wa:hover { color: #fff; background: var(--wa-dark); }
.contact-form { padding: 24px; }
@media (min-width: 600px) { .contact-form { padding: 36px; } }

/* Ubicación / mapa */
address p { display: flex; gap: 10px; align-items: flex-start; }
address svg { color: var(--green-700); margin-top: 4px; }
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d3e4c6' stroke-width='1'/%3E%3C/svg%3E");
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.map-wide { aspect-ratio: 16 / 7; min-height: 280px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: .7em 1.3em;
  border: 0; border-radius: 999px; background: #fff; color: var(--green-800);
  font: inherit; font-weight: 800; cursor: pointer; box-shadow: var(--shadow);
}

/* Páginas internas */
.page-hero { background: linear-gradient(160deg, var(--green-50), var(--green-100)); padding-block: 32px 40px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40em; margin: 0; }
.page-404 { padding-block: 80px; }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-soft); }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); padding-top: 48px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { font-size: 1.6rem; font-weight: 800; color: #b9f27c; margin-bottom: .3em; }
.footer-title { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { display: inline-flex; gap: 8px; align-items: flex-start; }
.footer-list svg { margin-top: 3px; color: #b9f27c; }
.legal { border-top: 1px solid rgba(255,255,255,.15); padding-block: 20px 28px; font-size: .85rem; color: rgba(255,255,255,.7); }
.legal strong { color: #fff; }

/* ---------- Barra de contacto móvil ---------- */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.mobile-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border-radius: 999px; font-weight: 800; text-decoration: none;
  background: var(--green-100); color: var(--green-900);
}
.mobile-bar-btn.is-wa { background: var(--wa); color: #fff; }
.mobile-bar-btn.is-buy { background: var(--green-700); color: #fff; }
.mobile-bar-btn { font-size: .95rem; gap: 6px; }
@media (min-width: 1000px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}


/* ---------- Accesibilidad: movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Tienda, cuenta y administración
   ========================================================= */
.section-tight { padding-block: 28px 56px; }
@media (min-width: 860px) { .section-tight { padding-block: 40px 72px; } }
.h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
.h3 { font-size: 1.2rem; }
.pad { padding: 20px; }
@media (min-width: 600px) { .pad { padding: 28px; } }
.card + .card, .card + form.card, form.card + .card { margin-top: 16px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.right { text-align: right; }
.small-link { font-size: .92rem; font-weight: 700; }
.ok-text { color: var(--green-700); font-weight: 700; }
.ok-text svg { width: 1em; height: 1em; vertical-align: -2px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .9rem; }
.form-note svg { width: 1em; height: 1em; vertical-align: -2px; }
.flashes { padding-top: 16px; display: grid; gap: 8px; }
.alert-info { background: #e8f1fb; color: #1d4f86; }
.alert-warn { background: #fff4e5; color: var(--orange-ink); }
.alert a { color: inherit; }

/* Badges de estado */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: var(--green-100); color: var(--green-800); }
.badge-warn { background: #fff1de; color: var(--orange-ink); }
.badge-info { background: #e5effa; color: #1d4f86; }
.badge-muted { background: #eceeea; color: #555; }

/* Barra de pasos */
.steps-bar { list-style: none; display: flex; gap: 4px; margin: 0 0 28px; counter-reset: none; overflow-x: auto; padding-bottom: 4px; }
.steps-bar li { flex: 1; min-width: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-align: center; position: relative; }
.steps-bar li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.steps-bar li:first-child::before { display: none; }
.steps-bar span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 800; }
.steps-bar li.done { color: var(--green-700); }
.steps-bar li.done::before, .steps-bar li.current::before { background: var(--green-500); }
.steps-bar li.done span { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.steps-bar li.current { color: var(--green-900); }
.steps-bar li.current span { border-color: var(--green-700); color: var(--green-700); box-shadow: 0 0 0 4px rgba(44,122,18,.15); }
@media (min-width: 600px) { .steps-bar li { font-size: .88rem; } }

/* Comprar */
.buy-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .buy-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.options { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-body { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.option-body img { width: 56px; height: auto; flex: none; }
.option-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.option-text small { color: var(--ink-soft); font-size: .88rem; }
.option-price { font-weight: 800; font-size: 1.15rem; color: var(--green-900); white-space: nowrap; }
.option input:checked + .option-body { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(44,122,18,.12); background: var(--green-50); }
.option input:focus-visible + .option-body { outline: 3px solid var(--orange); outline-offset: 2px; }
.option-tag { position: absolute; top: -10px; right: 14px; background: var(--orange); color: var(--green-900); font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.option-sm .option-body { padding: 12px 14px; }
.option-sm + .option-sm { margin-top: 10px; }
.flow-list { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; }
.flow-list li::marker { color: var(--green-700); font-weight: 800; }
.proof-cards .card p { color: var(--ink-soft); margin: 0; }
.tip { margin-top: 20px; background: #fffaf2; border-color: #f5dcb9; }
.tip p { margin: 0; }

/* Checkout */
.checkout-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.4fr .9fr; gap: 32px; } .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.summary-item { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary-item img { width: 48px; height: auto; }
.summary-item div { flex: 1; line-height: 1.35; }
.summary-item small { color: var(--ink-soft); }
.summary-totals { margin: 14px 0; display: grid; gap: 8px; }
.summary-totals div { display: flex; justify-content: space-between; }
.summary-totals dt { color: var(--ink-soft); }
.summary-totals dd { margin: 0; font-weight: 700; }
.summary-totals .total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.15rem; }
.summary-totals .total dt { color: var(--ink); font-weight: 800; }
.summary-totals .total dd { font-weight: 800; color: var(--green-900); }
select { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #c9d6c0; border-radius: var(--radius-sm); }
select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(44,122,18,.15); }
input[type="password"], input[type="search"], input[type="url"], input:not([type]) { width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #c9d6c0; border-radius: var(--radius-sm); }
input:not([type]):focus, input[type="password"]:focus, input[type="search"]:focus, input[type="url"]:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(44,122,18,.15); }
.field label small { font-weight: 600; color: var(--ink-soft); }
.field-error { margin: 0; color: #b42318; font-size: .9rem; font-weight: 700; }
.field-help { margin: 0; color: var(--ink-soft); font-size: .85rem; }
select[aria-invalid="true"] { border-color: #c0392b; }

/* Cuenta / acceso */
.auth-wrap { display: grid; justify-items: center; }
.auth-card { width: 100%; max-width: 480px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--ink-soft); font-size: .9rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.big-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-100); color: var(--green-700); margin-bottom: 12px; }
.big-icon svg { width: 34px; height: 34px; }
.account-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1.5fr 1fr; gap: 32px; } }
.readonly { margin: 0; padding: 12px 0; overflow-wrap: anywhere; }
.order-list { list-style: none; display: grid; gap: 12px; }
.order-row { overflow: hidden; }
.order-row > a:first-child { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.order-row > a:first-child:hover { background: var(--green-50); }
.order-main { display: grid; gap: 2px; }
.order-main small { color: var(--ink-soft); }
.order-side { display: flex; align-items: center; gap: 12px; }
.order-cta { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 10px; background: var(--green-100); font-weight: 800; text-decoration: none; }
.order-head { align-items: flex-start; }
.order-head h1 { margin-bottom: 0; }

/* Pago y comprobante */
.step-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--green-900); font-size: .95rem; margin-right: 6px; vertical-align: 2px; }
.pay-card { border: 2px solid var(--green-500); }
.big-amount { font-size: 1.5rem; color: var(--green-900); }
.bank-data { display: grid; gap: 10px; margin: 0 0 12px; }
.bank-data div { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; background: var(--green-50); border-radius: var(--radius-sm); flex-wrap: wrap; }
.bank-data dt { color: var(--ink-soft); font-size: .9rem; }
.bank-data dd { margin: 0; display: flex; align-items: center; gap: 6px; }
.bank-data code { font-size: 1rem; font-weight: 800; letter-spacing: .03em; }
.copy-btn { border: 0; background: #fff; border-radius: 8px; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--green-700); }
.copy-btn.copied { background: var(--green-500); color: #fff; }
.dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px; margin: 8px 0 16px; border: 2px dashed #b9cdb0; border-radius: var(--radius); background: var(--green-50); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.has-file { border-color: var(--green-700); background: var(--green-100); }
.dropzone svg { width: 36px; height: 36px; color: var(--green-700); }
.dz-text { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.dz-text small { color: var(--ink-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.timeline { list-style: none; display: grid; gap: 12px; border-left: 3px solid var(--line); padding-left: 16px; margin: 0; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--green-500); border: 3px solid #fff; }
.timeline small { color: var(--ink-soft); }

/* Aviso de privacidad */
.toc { margin-bottom: 24px; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2 220px; }

/* Administración */
.admin-bar { background: var(--green-900); }
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.admin-bar ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.admin-bar a { color: rgba(255,255,255,.85); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: .92rem; display: block; }
.admin-bar a:hover, .admin-bar a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { padding: 14px 16px; text-decoration: none; color: var(--ink); display: grid; gap: 2px; }
.stat span { font-size: .85rem; color: var(--ink-soft); }
.stat strong { font-size: 1.8rem; color: var(--green-900); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters select, .filters input { flex: 1 1 200px; width: auto; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 760px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--green-50); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.table tr:hover td { background: #fbfdf9; }
.table small { color: var(--ink-soft); }
.proof-img { max-height: 420px; width: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-bottom: 12px; }
.product-form .row-between { margin: 8px 0 0; }

.btn-hero { background: #b9f27c; color: var(--green-900); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-hero:hover { background: #d3f8a9; color: var(--green-900); }

/* Ajustes: iconos en línea, tarjetas en rejilla y etiquetas de pasos en móvil */
.form-note svg, .ok-text svg, .option-text svg { display: inline-block; }
.cards > .card, .stat-row > .card, .order-list > .card { margin-top: 0; }
.steps-bar em { font-style: normal; }
@media (max-width: 599px) {
  .steps-bar { overflow: visible; }
  .steps-bar li { min-width: 0; }
  .steps-bar li em { display: none; }
  .steps-bar li.current em { display: block; white-space: nowrap; }
}

/* Precios y descuentos de paquetes */
.option-price { display: grid; justify-items: end; gap: 2px; line-height: 1.15; }
.price-old { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.pct { display: inline-block; background: var(--orange); color: var(--green-900); font-size: .78rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.save-text { color: var(--orange-ink); font-weight: 800; }
.option-text .save-text { font-size: .88rem; }
.price-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); max-width: 1000px; margin: 0 auto; }
.price-card { position: relative; padding: 24px 20px; text-align: center; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 2px; }
.price-card p { margin: 0 0 6px; }
.price-card .btn { margin-top: auto; }
.price-card.is-best { border: 2px solid var(--green-700); box-shadow: 0 0 0 4px rgba(44,122,18,.1), var(--shadow); }
.price-main { font-size: 2rem; font-weight: 800; color: var(--green-900); line-height: 1.1; margin-top: 8px !important; }
.price-main small { font-size: .9rem; color: var(--ink-soft); }
.price-old-line s { color: var(--ink-soft); }
.price-card .option-tag { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
.price-grid > .card { margin-top: 0; }
