/* =========================================================
   El Sueño de tu Bebé : Landing
   Tema: noche púrpura / lavanda / crema / dorado
   ========================================================= */

:root {
    --plum-950: #1d1330;
    --plum-900: #2a1c42;
    --plum-800: #382654;
    --plum: #4a3568;
    --purple: #6b4d94;
    --lavender: #b99ddb;
    --lavender-2: #cbb3e6;
    --lilac-bg: #f4eefb;
    --lilac-card: #faf7fd;
    --cream: #f6ecdb;
    --gold: #c9a15b;
    --gold-2: #e0bd7c;
    --gold-deep: #a97f3d;
    --text: #5c5468;
    --heading: #2c2140;
    --white: #ffffff;
    --radius: 20px;
    --shadow: 0 18px 44px rgba(45, 25, 70, 0.10);
    --shadow-lg: 0 30px 60px rgba(45, 25, 70, 0.18);
    --maxw: 1140px;
    --serif: 'Playfair Display', Georgia, serif;
    --script: 'Dancing Script', cursive;
    --body: 'Nunito', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    font-size: 1.05rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

em {
    font-style: italic;
}

.serif {
    font-family: var(--serif);
}

.script {
    font-family: var(--script);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 22px;
}

.section {
    padding: 78px 0;
}

.section--soft {
    background: var(--lilac-bg);
}

.center {
    text-align: center;
}

.center-btn {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 38px auto 0;
}

/* ---------- Titles ---------- */
.section-title {
    font-family: var(--serif);
    color: var(--heading);
    font-weight: 800;
    line-height: 1.2;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    max-width: 900px;
}

.section-title.center {
    margin-inline: auto;
}

.section-title.light {
    color: var(--white);
}

.eyebrow {
    display: inline-block;
    font-family: var(--body);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--purple);
    margin-bottom: 12px;
}

.hl {
    color: var(--purple);
}

.hl-gold {
    color: var(--gold-deep);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--body);
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 17px 32px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--cta {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #3a2a12;
    box-shadow: 0 14px 30px rgba(201, 161, 91, .40);
    animation: glow 2.4s ease-in-out infinite;
}

.btn--cta:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

.btn--outline {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--lavender);
}

.btn--outline:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.btn--lg {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    padding: 20px 40px;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 14px 30px rgba(201, 161, 91, .40); }
    50% { box-shadow: 0 14px 44px rgba(224, 189, 124, .75); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(107, 77, 148, .55), transparent 60%),
        linear-gradient(160deg, var(--plum-900) 0%, var(--plum-950) 60%, #150d24 100%);
    color: #efe8f7;
    overflow: hidden;
    padding: 64px 0 80px;
}

.hero__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(255, 255, 255, .6), transparent),
        radial-gradient(2px 2px at 80% 40%, rgba(224, 189, 124, .8), transparent),
        radial-gradient(1.5px 1.5px at 35% 70%, rgba(255, 255, 255, .5), transparent),
        radial-gradient(1.5px 1.5px at 90% 75%, rgba(255, 255, 255, .5), transparent);
    pointer-events: none;
    opacity: .8;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .9fr;
    align-items: center;
    gap: 48px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(224, 189, 124, .45);
    color: var(--gold-2);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .92rem;
    margin-bottom: 22px;
}

.hero__title {
    line-height: .95;
    margin-bottom: 22px;
}

.hero__title .serif {
    display: block;
    font-weight: 800;
    color: #fff;
    font-size: clamp(3rem, 8vw, 5.2rem);
}

.hero__title .script {
    display: block;
    color: var(--lavender);
    font-weight: 700;
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    margin-top: -.1em;
}

.hero__sub {
    font-size: 1.18rem;
    max-width: 40ch;
    margin-bottom: 30px;
    color: #d9cfe8;
}

.hero__sub strong {
    color: #fff;
}

.hero__trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    font-weight: 700;
    font-size: .95rem;
    color: #cdbfe0;
}

.hero__image {
    justify-self: center;
}

.hero__image img {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}

/* =========================================================
   MENSAJE PARA MAMÁ
   ========================================================= */
.message__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.message__photo img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.message__text p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.message__text strong {
    color: var(--heading);
}

.message__sign {
    font-family: var(--script);
    font-size: 1.6rem;
    color: var(--purple);
}

/* =========================================================
   CREADORA
   ========================================================= */
.creator__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: center;
}

.creator__photo img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.creator__text p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.creator__text strong {
    color: var(--heading);
}

.creator__sign {
    font-family: var(--script);
    font-size: 1.6rem;
    color: var(--purple);
}

/* =========================================================
   PROOF / QUOTES
   ========================================================= */
.proof__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 44px;
}

.quote {
    background: var(--lilac-card);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
    position: relative;
}

.section--soft .quote {
    background: #fff;
}

.quote::before {
    content: "“";
    font-family: var(--serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--lavender-2);
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: .6;
}

.quote p {
    font-size: 1.06rem;
    color: var(--heading);
    margin-bottom: 18px;
}

.quote figcaption {
    display: flex;
    flex-direction: column;
}

.quote figcaption strong {
    color: var(--purple);
    font-weight: 800;
}

.quote figcaption span {
    font-size: .9rem;
    color: var(--text);
}

/* =========================================================
   RECEIVE
   ========================================================= */
.receive__intro {
    max-width: 760px;
    margin: 18px auto 0;
    font-size: 1.1rem;
}

.receive__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    grid-template-areas:
        "head head"
        "img  list";
    column-gap: 50px;
    row-gap: 40px;
    align-items: center;
}

.receive__head {
    grid-area: head;
}

.receive__img {
    grid-area: img;
    text-align: center;
}

.receive__list {
    grid-area: list;
}

.receive__img img {
    margin-inline: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    width: 300px;
}

.receive__list h3 {
    font-family: var(--serif);
    color: var(--heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.checklist,
.xlist {
    list-style: none;
    display: grid;
    gap: 12px;
}

.checklist li,
.xlist li {
    position: relative;
    padding-left: 34px;
    font-size: 1.02rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: #fff;
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 800;
}

.xlist li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: #c98a8a;
    color: #fff;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 800;
}

/* =========================================================
   SCIENCE
   ========================================================= */
.science__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.science__card {
    background: var(--lilac-card);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.science__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.science__icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.science__card h3 {
    font-family: var(--serif);
    color: var(--heading);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* =========================================================
   CONTRAST
   ========================================================= */
.contrast__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 44px;
}

.contrast__card {
    background: #fff;
    border-radius: var(--radius);
    padding-bottom: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 6px solid transparent;
}

.contrast__card--pain {
    border-top-color: #c98a8a;
}

.contrast__card--gain {
    border-top-color: var(--purple);
}

.contrast__card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.contrast__card--pain img {
    filter: saturate(.85) brightness(.95);
}

.contrast__card h3 {
    font-family: var(--serif);
    color: var(--heading);
    font-size: 1.35rem;
    padding: 24px 28px 18px;
}

.contrast__card ul {
    padding-inline: 28px;
}

/* =========================================================
   AUDIENCE
   ========================================================= */
.audience__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.audience__card {
    background: var(--lilac-card);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border-bottom: 5px solid var(--lavender);
    transition: transform .2s ease, box-shadow .2s ease;
}

.audience__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.audience__emoji {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.audience__card h3 {
    font-family: var(--serif);
    color: var(--purple);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* =========================================================
   OFFER / PLANS
   ========================================================= */
.offer {
    background: linear-gradient(180deg, #fff 0%, var(--lilac-bg) 100%);
}

.plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 46px auto 0;
    align-items: start;
}

.plan {
    background: #fff;
    border: 2px solid var(--lilac-bg);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 36px 30px;
    position: relative;
}

.plan--featured {
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(201, 161, 91, .28);
    background: linear-gradient(180deg, #fffdf8, #fff);
}

.plan__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #3a2a12;
    font-weight: 800;
    font-size: .85rem;
    padding: 7px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(201, 161, 91, .4);
}

.plan__img {
    margin: -6px 0 20px;
    text-align: center;
}

.plan__img img {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    filter: drop-shadow(0 18px 30px rgba(45, 25, 70, .18));
}

.plan__name {
    font-family: var(--serif);
    color: var(--heading);
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.plan__tag {
    color: var(--purple);
    font-weight: 700;
    margin-bottom: 18px;
}

.plan__price {
    font-family: var(--serif);
    font-weight: 800;
    color: var(--gold-deep);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 2px;
}

.plan__old {
    font-family: var(--body);
    font-size: 1.2rem;
    font-weight: 700;
    color: #b3aabf;
    text-decoration: line-through;
    margin-right: 8px;
    vertical-align: middle;
}

.plan__note {
    font-size: .95rem;
    color: var(--text);
    margin-bottom: 22px;
}

.plan__features {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.plan__features li {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    color: var(--heading);
}

.plan__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: #fff;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 800;
}

.plan--featured .plan__features li::before {
    background: var(--gold);
    color: #3a2a12;
}

.plan .btn {
    width: 100%;
}

/* =========================================================
   GUARANTEE + SEAL
   ========================================================= */
.guarantee__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: left;
}

.seal {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, var(--plum-800), var(--plum-950));
    border: 6px solid var(--gold);
    box-shadow: 0 14px 30px rgba(45, 25, 70, .3), inset 0 0 0 2px rgba(224, 189, 124, .4);
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--gold-2);
}

.seal__top {
    font-family: var(--serif);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .12em;
}

.seal__num {
    font-family: var(--serif);
    font-weight: 900;
    font-size: 3.4rem;
    line-height: .9;
    color: #fff;
}

.seal__bottom {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .18em;
}

.guarantee__text {
    max-width: 620px;
}

.guarantee__text h3 {
    font-family: var(--serif);
    color: var(--heading);
    font-size: 1.7rem;
    margin-bottom: 10px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__list {
    max-width: 760px;
    margin: 44px auto 0;
    display: grid;
    gap: 14px;
}

.faq__item {
    background: var(--lilac-card);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 54px 20px 24px;
    font-family: var(--serif);
    font-weight: 700;
    color: var(--heading);
    font-size: 1.12rem;
    position: relative;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--gold);
    transition: transform .2s ease;
}

.faq__item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq__item p {
    padding: 0 24px 22px;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.finalcta {
    background:
        radial-gradient(900px 400px at 50% 0%, rgba(107, 77, 148, .5), transparent 60%),
        linear-gradient(160deg, var(--plum-900), var(--plum-950));
    color: #efe8f7;
}

.finalcta__text {
    font-size: 1.2rem;
    color: #d9cfe8;
    margin: 14px auto 32px;
    max-width: 520px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--plum-950);
    color: #b7a9cc;
    padding: 40px 0;
    font-size: .95rem;
}

.footer__brand {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 6px;
}

.footer__brand .script {
    color: var(--lavender);
}

.footer__links {
    margin-top: 14px;
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__links a {
    color: var(--lavender-2);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.footer__links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* =========================================================
   BANNER DE COOKIES
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px 30px;
    flex-wrap: wrap;
    padding: 18px 26px;
    background: rgba(29, 19, 48, .97);
    backdrop-filter: blur(6px);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .28);
    color: #e7ddf3;
    overflow: hidden;
    box-sizing: border-box;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__text {
    flex: 1 1 420px;
    font-size: .95rem;
    line-height: 1.5;
    max-width: 760px;
}

.cookie-banner__text a {
    color: var(--gold-2);
    font-weight: 700;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.cookie-banner .btn {
    padding: 12px 26px;
    font-size: .95rem;
    animation: none;
}

.btn--outline-light {
    background: transparent;
    color: #e7ddf3;
    border: 2px solid rgba(224, 189, 124, .5);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--gold-2);
}

/* =========================================================
   PÁGINA LEGAL (privacidad / cookies)
   ========================================================= */
.legal-hero {
    background: linear-gradient(160deg, var(--plum-900), var(--plum-950));
    color: #efe8f7;
    padding: 48px 0;
    text-align: center;
}

.legal-hero a {
    color: var(--lavender);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
}

.legal-hero h1 {
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    margin: 14px 0 6px;
}

.legal {
    max-width: 820px;
    margin-inline: auto;
    padding: 56px 22px 80px;
}

.legal p,
.legal li {
    margin-bottom: 14px;
    font-size: 1.02rem;
}

.legal h2 {
    font-family: var(--serif);
    color: var(--heading);
    font-size: 1.5rem;
    margin: 38px 0 14px;
    scroll-margin-top: 20px;
}

.legal ul {
    padding-left: 22px;
    margin-bottom: 14px;
}

.legal a {
    color: var(--purple);
    font-weight: 700;
}

.legal__updated {
    color: var(--purple);
    font-weight: 700;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {

    .science__grid,
    .audience__grid,
    .proof__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {

    .hero__inner,
    .message__grid,
    .creator__grid,
    .receive__grid,
    .contrast__grid,
    .plans {
        grid-template-columns: 1fr;
    }

    .receive__grid {
        grid-template-areas: none;
        row-gap: 24px;
    }

    .receive__img,
    .receive__head,
    .receive__list {
        grid-area: auto;
    }

    .receive__head {
        margin-top: 6px;
    }

    .creator__photo {
        max-width: 420px;
        margin-inline: auto;
        order: -1;
    }

    .hero__text {
        text-align: center;
        order: 2;
    }

    .hero__sub {
        margin-inline: auto;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__image {
        order: 1;
        margin-bottom: 10px;
    }

    .message__photo {
        max-width: 420px;
        margin-inline: auto;
    }

    .guarantee__inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 56px 0;
    }

    .science__grid,
    .audience__grid,
    .proof__grid {
        grid-template-columns: 1fr;
    }

    .btn--cta,
    .center-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn--cta {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
