:root {
    --bg: #f7efe5;
    --card: rgba(255, 250, 244, 0.95);
    --text: #2b2118;
    --blue: #071f3a;
    --gold: #d8a33c;
    --whatsapp: #25d366;
    --instagram-a: #833ab4;
    --instagram-b: #fd1d1d;
    --instagram-c: #fcb045;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Papel tapiz general del fondo */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../assets/tarta-pattern.png?v=4");
    background-repeat: repeat;
    background-size: 200px;
    background-position: center;
    opacity: 0.115;
    pointer-events: none;
    z-index: 0;
}

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 20px;
}

.card {
    width: 100%;
    max-width: 1040px;
    background: var(--card);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(7, 31, 58, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.landing-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-areas:
        "content photo"
        "details photo";
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.content {
    grid-area: content;
    position: relative;
    z-index: 1;
    text-align: center;
    align-self: end;
}

.details {
    grid-area: details;
    position: relative;
    z-index: 1;
    text-align: center;
    align-self: start;
}

.logo {
    width: 168px;
    max-width: 70%;
    display: block;
    margin: 0 auto 14px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.05;
    color: var(--blue);
    letter-spacing: 0.3px;
}

.subtitle {
    margin: 0 auto;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.6;
    color: #4a3f35;
}

.notice {
    max-width: 520px;
    margin: 0 auto 22px;
    padding: 15px 18px;
    border-radius: 20px;
    background: rgba(216, 163, 60, 0.14);
    border: 1px solid rgba(216, 163, 60, 0.34);
}

.notice strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 16px;
}

.notice span {
    display: block;
    color: #4a3f35;
    font-size: 14px;
    line-height: 1.45;
}

.badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.badge {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--blue);
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(7, 31, 58, 0.1);
}

.badge-wide {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.badge-wide span {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.78;
}

.buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #073b1d;
}

.btn-instagram {
    color: white;
    background: linear-gradient(135deg, var(--instagram-a), var(--instagram-b), var(--instagram-c));
}

.photo-card {
    grid-area: photo;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 24px;
    min-height: 420px;
    box-shadow: 0 14px 34px rgba(7, 31, 58, 0.12);
    background: #fff;
}

.photo-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

.photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(7, 31, 58, 0.38),
            rgba(7, 31, 58, 0.03) 45%,
            rgba(255, 255, 255, 0)
    );
    pointer-events: none;
}

.photo-caption {
    position: absolute;
    left: 18px;
    right: auto;
    bottom: 18px;
    z-index: 1;
    width: fit-content;
    max-width: calc(100% - 145px);
    padding: 12px 15px;
    border-radius: 999px;
    color: white;
    font-size: 14px;
    font-weight: 800;
    background: rgba(7, 31, 58, 0.74);
    backdrop-filter: blur(6px);
}

.hero-copy {
    max-width: 560px;
    margin: 0 auto 22px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(7, 31, 58, 0.07);
    backdrop-filter: blur(6px);
}

/* Tablet / mobile */
@media (max-width: 860px) {
    .landing-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "photo"
            "details";
        max-width: 720px;
    }

    /*
      Patrón interno dentro de la tarjeta.
      Esto hace que se note más en mobile, porque ya no queda tapado por el fondo de la card.
    */
    .landing-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("../assets/tarta-pattern.png?v=4");
        background-repeat: repeat;
        background-size: 165px;
        background-position: center;
        opacity: 0.22;
        pointer-events: none;
        z-index: 0;
    }

    .card {
        background: rgba(255, 250, 244, 0.84);
    }

    .content,
    .details,
    .photo-card {
        position: relative;
        z-index: 1;
    }

    .photo-card {
        min-height: 320px;
    }

    .photo-card img {
        min-height: 320px;
    }

    .notice,
    .badge,
    .photo-caption {
        backdrop-filter: blur(6px);
    }

    body::before {
        display: none;
    }
}

/* Mobile más chico */
@media (max-width: 700px) {
    .page {
        padding: 22px 14px;
    }

    .landing-card {
        padding: 20px;
        gap: 22px;
    }

    .landing-card::before {
        background-size: 155px;
        opacity: 0.24;
    }

    .card {
        background: rgba(255, 250, 244, 0.82);
    }

    .logo {
        width: 145px;
    }

    h1 {
        font-size: 34px;
    }

    .subtitle {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .photo-card,
    .photo-card img {
        min-height: 280px;
    }
}