/* Plantilla visual genérica para landings de campaña (Black Week, Puertas Abiertas, lo que venga).
   Cada landing aporta solo su contenido HTML; esto da hero, secciones, tarjetas, formulario y botón de WhatsApp.
   Marca: turquesa #9CC9C0 sobre oscuro #232a2f, Montserrat + Playfair Display (igual que Puertas Abiertas). */
:root {
    --primary: #9CC9C0;
    --primary-dark: #6fa89d;
    --ink: #232a2f;
    --ink-soft: #4a5560;
    --paper: #ffffff;
    --cream: #f6f3ee;
    --line: #e4e0d8;
    --accent: #c9a24a;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(35, 42, 47, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Montserrat', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.serif { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Cabecera mínima */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 5; padding: 18px 0; color: #fff; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { font-weight: 600; letter-spacing: .22em; font-size: .78rem; text-transform: uppercase; text-decoration: none; }
.brand small { display: block; letter-spacing: .12em; font-weight: 400; opacity: .8; font-size: .7rem; }
.topbar a.tel { text-decoration: none; font-weight: 600; font-size: .85rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 8px 16px; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 760px); display: flex; align-items: center; color: #fff; background: radial-gradient(1200px 600px at 80% 20%, #35444a 0%, #232a2f 55%, #171c1f 100%); isolation: isolate; overflow: hidden; }
.hero > .wrap { padding: 150px 0 100px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-img { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); max-height: 520px; }
.hero-img img { width: 100%; height: 520px; object-fit: cover; object-position: 50% 30%; }
.eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: var(--primary); font-weight: 600; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.02; margin: 0 0 14px; font-weight: 700; }
.hero h1 .serif { color: var(--primary); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 34ch; margin: 0 0 22px; opacity: .95; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 500; backdrop-filter: blur(4px); }
.estado { display: inline-block; margin: 0 0 24px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: .95rem; background: var(--accent); color: #1b1b1b; }
.estado.activa { background: var(--primary); }
.estado:empty { display: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #14201d; }
.btn-primary:hover { background: #b2d8d0; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #38424a; }
.btn-wa { background: #25d366; color: #0b2a14; }

/* Secciones */
section { padding: 72px 0; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
.section-sub { max-width: 60ch; margin: 0 auto 34px; color: var(--ink-soft); }
.alt { background: var(--cream); }
.dark { background: var(--ink); color: #fff; }
.dark .section-sub { color: rgba(255,255,255,.75); }

/* Resumen de ofertas */
.ofertas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 2; padding: 0; }
.oferta { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.oferta .num { font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--ink); }
.oferta .num small { font-size: 1.4rem; }
.oferta h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.oferta p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* Bloques de dos columnas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img, .split video { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 600px; object-fit: cover; }
.split video { width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; background: #111; }
.check { list-style: none; padding: 0; margin: 18px 0; }
.check li { padding-left: 30px; position: relative; margin: 10px 0; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #14201d; font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: 4px; }
.fineprint { font-size: .82rem; color: var(--ink-soft); border-left: 3px solid var(--primary); padding: 6px 0 6px 14px; margin: 18px 0 0; }
.dark .fineprint { color: rgba(255,255,255,.75); }

/* Tarjetas de producto */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { color: var(--ink); background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #eee; }
.card.contain img { object-fit: contain; background: #f4f4f4; aspect-ratio: 4 / 3; }
.card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card .tag { align-self: flex-start; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.card .btn { margin-top: auto; padding: 11px 18px; font-size: .88rem; }
.precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 4px; }
.precio .pvp { font-size: 1.7rem; font-weight: 700; }
.precio .regalo { background: #fbf1d6; color: #7a5a0c; border-radius: 8px; padding: 3px 10px; font-size: .8rem; font-weight: 700; }
details.ing { margin: 28px auto 0; max-width: 900px; background: rgba(255,255,255,.06); border-radius: 14px; padding: 6px 18px; border: 1px solid rgba(255,255,255,.16); }
details.ing summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
details.ing .ing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8px 0 18px; }
details.ing img { border-radius: 10px; }

/* Formulario */
.form-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 640px; margin: 0 auto; text-align: left; color: var(--ink); }
.form-card label { display: block; font-weight: 600; font-size: .88rem; margin: 14px 0 6px; }
.form-card input[type=text], .form-card input[type=tel], .form-card select, .form-card textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--primary-dark); box-shadow: 0 0 0 3px rgba(156,201,192,.35); }
.form-card .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
.form-card .consent input { margin-top: 4px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .9rem; display: none; }
.form-msg.ok { display: block; background: #e5f4ef; color: #14523f; }
.form-msg.err { display: block; background: #fdeceb; color: #7a1d17; }
.hp { position: absolute; left: -9999px; }

/* Condiciones */
.conds { max-width: 820px; margin: 0 auto; }
.conds li { margin: 10px 0; }

footer { background: #171c1f; color: rgba(255,255,255,.8); padding: 40px 0 90px; font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }

/* Botón flotante de WhatsApp */
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 8px 24px rgba(0,0,0,.28); text-decoration: none; }

@media (max-width: 860px) {
    .ofertas, .cards, .split, details.ing .ing-grid { grid-template-columns: 1fr; }
    .ofertas { margin-top: -40px; }
    .split { gap: 24px; }
    section { padding: 54px 0; }
    .hero { min-height: auto; }
    .hero > .wrap { grid-template-columns: 1fr; padding: 100px 0 70px; }
    .hero-img { order: -1; max-height: 260px; }
    .hero-img img { height: 260px; }
    .topbar a.tel { display: none; }
    .form-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
