:root {
  --bg: #14110f;
  --bg-2: #1c1815;
  --card: #221d19;
  --text: #f3efe9;
  --muted: #a89f94;
  --line: #3a322b;
  --accent: #d6e86a;       /* verde lima de los botones del modelo verde */
  --accent-ink: #1a1f08;
  --radius: 14px;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 8px; }
p { color: var(--muted); }
.muted { color: var(--text); font-weight: 500; }
.fine { font-size: 13px; margin-top: 12px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 17px; text-decoration: none;
  border: 0; border-radius: 999px; padding: 15px 30px; cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Topbar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px max(16px, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.brand-footer { margin-bottom: 14px; font-size: 19px; }
.brand-footer .logo-mark { width: 26px; height: 26px; }

/* Reseñas */
.reviews { max-width: var(--max); margin: 0 auto; padding: 72px 16px; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.reviews-head h2 { margin-bottom: 6px; }
.reviews-score { color: var(--text); }
.stars { color: var(--accent); letter-spacing: 2px; }
.demo-tag {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: #ffb86b; border: 1px dashed #ffb86b; border-radius: 999px; padding: 6px 12px;
}
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--card); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.review h3 { font-size: 18px; margin: 0; }
.review p { font-size: 15px; flex: 1; }
.review footer { display: flex; align-items: center; gap: 10px; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: left; }
.review footer strong { color: var(--text); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--line); color: var(--text); display: grid; place-items: center; font-weight: 700; flex: none; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.badge { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); white-space: nowrap; }
@media (max-width: 980px) { .reviews-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .reviews-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .review { scroll-snap-align: start; }
}

/* Hero */
.hero { position: relative; height: min(100svh, 920px); min-height: 600px; display: flex; align-items: flex-start; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,.9) 0%, rgba(20,17,15,.55) 30%, rgba(20,17,15,0) 50%, rgba(20,17,15,0) 85%, var(--bg) 100%);
}
.hero-copy {
  position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(84px, 11vh, 110px) 16px 0;
}
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--accent); font-weight: 600; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); margin: 6px 0 10px; }
.hero h1 span { color: var(--muted); font-weight: 500; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text); opacity: .85; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.btn-ml { background: #ffe600; color: #2d3277; }
@media (max-width: 520px) { .hero-cta .btn { width: 100%; } }

/* Pills */
.pills {
  max-width: var(--max); margin: 0 auto; padding: 32px 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-bottom: 1px solid var(--line);
}
.pills div { padding: 8px 12px; text-align: center; }
.pills strong { display: block; font-size: 28px; letter-spacing: -0.02em; }
.pills span { font-size: 13px; color: var(--muted); }

/* Compra */
.buy {
  max-width: var(--max); margin: 0 auto; padding: 96px 16px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  scroll-margin-top: 40px;
}
.buy-media {
  background: radial-gradient(ellipse at center, #f4f1ec 0%, #dcd7cf 100%);
  border-radius: var(--radius); padding: 48px 24px; display: flex; align-items: center; min-height: 320px;
}
.buy-media img { width: 100%; transition: opacity .25s; }
.buy-panel h2 { font-size: 26px; }
.swatches { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.swatch {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--card); color: var(--text); font: inherit; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer;
}
.swatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.swatch[aria-checked="true"] { border-color: var(--accent); }
.swatch.agotado { opacity: .45; }
.swatch.agotado::after { content: "Agotado"; margin-left: auto; font-size: 13px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.price-old { color: var(--muted); font-size: 18px; }
.stock { min-height: 26px; font-size: 15px; color: var(--accent); margin: 4px 0 16px; }
.secure { font-size: 13px; text-align: center; margin-top: 10px; }
.alt-channel {
  margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px;
}
.alt-channel span { color: var(--muted); }
.alt-channel a { font-weight: 600; text-decoration: none; color: #ffe600; }
.perks { list-style: none; margin-top: 20px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.perks li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

/* Features */
.feature { max-width: var(--max); margin: 0 auto; padding: 72px 16px; }
.feature-video video, .feature.wide img { width: 100%; border-radius: var(--radius); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img, .split video { width: 100%; border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; background: var(--bg-2); }
.center { text-align: center; max-width: 720px; }
.center p { font-size: 19px; margin-bottom: 8px; }
.caption { text-align: center; margin-top: 16px; }

.grid {
  max-width: var(--max); margin: 0 auto; padding: 72px 16px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.grid article { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.grid img { width: 100%; aspect-ratio: 1366/1200; object-fit: cover; }
.grid h3, .grid p { padding: 0 24px; }
.grid h3 { margin-top: 22px; }
.grid p { padding-bottom: 26px; font-size: 16px; }

/* Specs */
.specs, .faq { max-width: 860px; margin: 0 auto; padding: 72px 16px; }
.specs dl { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { color: var(--muted); }
.specs ul { list-style: none; display: grid; gap: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; }

.contact { max-width: 720px; margin: 0 auto; padding: 72px 16px; scroll-margin-top: 40px; }
.contact > p { margin-bottom: 24px; }
.contact form { display: grid; gap: 16px; }
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.contact input, .contact textarea {
  font: inherit; color: var(--text); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--accent); }
.contact .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 24px; font-size: 15px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff8a7a; }
@media (max-width: 820px) { .contact .row { grid-template-columns: 1fr; } .contact .btn { justify-self: stretch; } }

.final-cta { text-align: center; padding: 96px 16px; border-top: 1px solid var(--line); }
footer { text-align: center; padding: 32px 16px 96px; font-size: 13px; }
footer p { margin-bottom: 6px; }

/* Barra fija móvil */
.sticky-buy { display: none; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { display: block; height: auto; min-height: 0; padding-top: 56px; }
  .hero-img { position: relative; height: auto; aspect-ratio: 4 / 3; object-position: 50% 70%; }
  .hero::after { inset: 56px 0 auto 0; height: calc(100vw * 3 / 4); background: linear-gradient(180deg, rgba(20,17,15,0) 60%, var(--bg) 100%); }
  .hero-copy { padding: 8px 16px 40px; }
  .pills { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .buy, .split { grid-template-columns: 1fr; gap: 28px; }
  .buy { padding: 64px 16px; }
  .split.reverse > :first-child { order: 0; }
  .feature, .grid, .specs, .faq { padding-top: 48px; padding-bottom: 48px; }
  .grid { grid-template-columns: 1fr; }
  .specs dl { grid-template-columns: 1fr; }
  .specs dt { border-bottom: 0; padding-bottom: 0; }
  .buy-media { padding: 28px 12px; min-height: 0; }
  .sticky-buy {
    display: flex; position: fixed; inset: auto 0 0 0; z-index: 20;
    justify-content: space-between; align-items: center; padding: 12px 16px;
    background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); font-weight: 700; font-size: 20px;
    transform: translateY(100%); transition: transform .25s;
  }
  .sticky-buy.visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
