/* === Zinzino — Fatiga Constante: estilos del reto === */
/* Base: ../../_template/style.css (sistema Premium Wellness) */

/* --- HERO --- */
.hero {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(201,162,75,0.14) 0%, transparent 60%),
        radial-gradient(700px 420px at -10% 110%, rgba(20,105,90,0.10) 0%, transparent 55%),
        var(--pw-bg);
    padding: 96px 0 72px;
    position: relative; overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 3.1rem; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--pw-primary); font-weight: 500; }
.hero .subheadline { color: var(--pw-muted); font-size: 1.15rem; margin-bottom: 30px; max-width: 480px; }
.hero .hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .hero-note { font-size: .85rem; color: var(--pw-muted); margin-top: 14px; }

/* Badge flotante sobre la imagen */
.hero-visual { position: relative; }
.float-badge {
    position: absolute; bottom: 18px; left: -18px;
    background: var(--pw-white); border: 1px solid var(--pw-border);
    border-radius: 14px; padding: 12px 18px;
    box-shadow: var(--pw-shadow-lg);
    display: flex; align-items: center; gap: 10px;
    font-size: .85rem; font-weight: 600; color: var(--pw-text);
}
.float-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pw-primary); flex-shrink: 0; }
.float-badge small { display: block; font-weight: 400; color: var(--pw-muted); font-size: .75rem; }

/* --- Sección problema: lista de síntomas --- */
.problem-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.problem-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--pw-white); border: 1px solid var(--pw-border);
    border-radius: var(--pw-radius-sm); padding: 14px 18px;
}
.problem-item .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--pw-accent-soft); color: var(--pw-accent-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.problem-item .icon svg { width: 20px; height: 20px; }
.problem-item strong { display: block; font-size: .95rem; }
.problem-item p { font-size: .88rem; color: var(--pw-muted); }

/* --- Solución: bullets con check --- */
.check-list { list-style: none; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.check-list svg { width: 22px; height: 22px; color: var(--pw-primary); flex-shrink: 0; margin-top: 2px; }
.check-list strong { color: var(--pw-text); }

/* --- Oferta / CTA final --- */
.offer-card {
    background: var(--pw-white); border-radius: 22px; overflow: hidden;
    box-shadow: var(--pw-shadow-lg); border: 1px solid var(--pw-border);
    max-width: 920px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr;
}
.offer-visual { background: var(--pw-bg-alt); display: flex; align-items: center; justify-content: center; padding: 36px; }
.offer-visual img { width: 100%; max-width: 340px; }
.offer-body { padding: 42px; }
.offer-body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.offer-price { font-family: var(--pw-heading); font-size: 2.2rem; font-weight: 700; color: var(--pw-primary); margin: 14px 0 4px; }
.offer-price small { font-family: var(--pw-body); font-size: .95rem; font-weight: 500; color: var(--pw-muted); }
.offer-note { font-size: .85rem; color: var(--pw-muted); margin-bottom: 20px; }
.offer-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* --- Formulario del reto --- */
#reto .form-box .btn { background: linear-gradient(135deg, #D9B45F 0%, var(--pw-accent) 45%, var(--pw-accent-dark) 100%); color: #fff; box-shadow: 0 6px 20px rgba(201,162,75,.4); }
#reto .form-box .btn:hover { transform: translateY(-2px); }

/* --- Responsive del reto --- */
@media (max-width: 900px) {
    .hero { padding: 56px 0 48px; }
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.3rem; }
    .float-badge { left: 8px; bottom: 12px; }
    .offer-card { grid-template-columns: 1fr; }
    .offer-body { padding: 30px 24px; }
    .offer-visual { padding: 24px; }
}

/* === MOBILE INTEGRAL (overrides de esta landing) === */

/* Reset base: el ancho debe llegar al 100% */
* { box-sizing: border-box; }
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* --- Menú hamburguesa (≤900px) --- */
.nav-toggle {
    display: none;
}
@media (max-width: 900px) {
    .header .container { position: relative; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px 6px;
        z-index: 300;
    }
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: var(--pw-primary);
        border-radius: 3px;
        transition: transform .3s ease, opacity .3s ease;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 82vw);
        height: 100vh;
        height: 100dvh;
        background: var(--pw-white, #fff);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 22px !important;
        padding: 96px 30px 30px;
        margin: 0 !important;
        box-shadow: -10px 0 40px rgba(15, 40, 35, 0.18);
        transition: right .32s ease;
        z-index: 250;
        overflow-y: auto;
    }
    .nav.open { right: 0; }
    .nav a:not(.btn) { font-size: 1.08rem !important; }
    .nav .btn { width: 100%; text-align: center; white-space: normal; }
}

/* --- Ajustes generales ≤768px --- */
@media (max-width: 768px) {
    .blob img { height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; }
    .hero h1 { font-size: 2rem; }
    .hero .subheadline { font-size: 1.05rem; }
    .hero .hero-cta { flex-direction: column; align-items: stretch; }
    .hero .hero-cta .btn { width: 100%; text-align: center; }
    .check-list { gap: 14px; }
    .check-list li { font-size: .95rem; }
    .offer-body { padding: 26px 20px !important; }
    .offer-price { font-size: 1.9rem; }
    .offer-cta { flex-direction: column; align-items: stretch; }
    .offer-cta .btn { width: 100%; text-align: center; }
    .section-intro { font-size: 1rem; }
    .card { padding: 22px 18px; }
}

/* --- Móviles pequeños ≤480px --- */
@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero { padding: 44px 0 40px; }
    .hero h1 { font-size: 1.8rem; line-height: 1.25; }
    .section { padding: 44px 0; }
    .logo { font-size: 1.15rem; }
    .float-badge { padding: 10px 14px; font-size: .78rem; left: 4px; bottom: 10px; }
    .grid-2, .grid-3 { gap: 24px; }
    .blob img { aspect-ratio: 1 / 1; }
    h2 { font-size: 1.45rem !important; }
    .form-box { padding: 24px 16px; }
    .form-box h3 { font-size: 1.25rem; }
    .footer { padding: 40px 0 22px; }
    .mobile-cta .mc-name { font-size: .95rem; }
}

/* --- Frase "envío a todo Perú" siempre en una línea --- */
.offer-price small { white-space: nowrap; }
.mc-price { white-space: nowrap; }

/* --- Imagen de oferta en el menú móvil (solo visible en el panel ≤900px) --- */
.nav-offer-img { display: none; }
@media (max-width: 900px) {
    .nav-offer-img {
        display: block;
        width: 90%;
        align-self: center;
        margin: 12px 0 6px;
        border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
        overflow: hidden;
        box-shadow: 0 12px 30px rgba(15, 40, 35, 0.16);
    }
    .nav-offer-img img { width: 100%; height: auto; display: block; }
}

/* --- Botón "Comprar" del menú: el .nav a le pisaba el color (negro sobre verde) --- */
.nav a.btn { color: #fff !important; }
.nav a.btn:hover { color: #fff !important; }

/* --- Menú anclado arriba (mobile): sticky se rompe con overflow-x:hidden -> fixed --- */
@media (max-width: 900px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    body { padding-top: 62px; }
}

/* --- Imágenes blob: forma orgánica más marcada --- */
.blob { border-radius: 62% 38% 57% 43% / 45% 58% 42% 55%; }
.nav-offer-img { border-radius: 62% 38% 57% 43% / 45% 58% 42% 55%; }
