﻿

/* ===== HERO WEDDING ===== */
.hero-wedding {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

    .hero-wedding .hero-bg {
        position: relative;
        width: 100%;
        min-height: 100vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Overlay suave para legibilidad */
    .hero-wedding .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.35) );
        z-index: 1;
    }

    /* Contenido centrado */
    .hero-wedding .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
       
        padding: 20px;
    }

    /* Subtítulo */
    .hero-wedding .hero-kicker {
        display: block;
        font-size: 14px;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-bottom: 10px;
        opacity: 0.9;
        color: #ffffff
    }

    /* Título principal */
    .hero-wedding .hero-title {
        font-size: clamp(42px, 6vw, 84px);
        font-weight: 300;
        letter-spacing: 4px;
        text-transform: uppercase;
        margin: 0;
        line-height: 1.1;
        color: #ffffff
    }

        /* Ampersand */
        .hero-wedding .hero-title span {
            font-family: serif;
            font-weight: 300;
            margin: 0 12px;
        }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero-wedding .hero-bg {
        align-items: flex-end;
        padding-bottom: 120px;
    }

    .hero-wedding .hero-title {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .hero-wedding .hero-kicker {
        font-size: 12px;
        letter-spacing: 2px;
    }
}

/* Scope para que NO choque con tu builder */
#sec-portada.hero-wedding {
    position: relative;
}

    #sec-portada.hero-wedding .hero-bg {
        position: relative;
        width: 100%;
        min-height: 100vh; /* o 80vh si quieres */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    /* overlay opcional */
    #sec-portada.hero-wedding .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.25);
        z-index: 1;
    }

    /* ESTE es el truco: bottom fijo */
    #sec-portada.hero-wedding .hero-content {
        position: absolute;
        left: 50%;
        bottom: 70px; /* <- ajusta esto */
        transform: translateX(-50%);
        z-index: 2;
        text-align: center;
        color: #fff;
        width: min(1100px, 92vw);
        padding: 0 16px;
    }

    /* texto */
    #sec-portada.hero-wedding .hero-kicker {
        display: block;
        letter-spacing: 3px;
        font-size: 12px;
        text-transform: uppercase;
        margin-bottom: 10px;
        opacity: .9;
    }

    #sec-portada.hero-wedding .hero-title {
        margin: 0;
        font-size: clamp(42px, 6vw, 90px);
        letter-spacing: 4px;
        font-weight: 300;
        text-transform: uppercase;
        line-height: 1.05;
    }

/* mobile: más abajo o más arriba, tú decides */
@media (max-width: 768px) {
    #sec-portada.hero-wedding .hero-content {
        bottom: 120px; /* en móvil normalmente baja un poquito */
    }

    #sec-portada.hero-wedding .hero-title {
        letter-spacing: 2px;
    }
}


/* =========================
   1) BLOQUE FECHA
   ========================= */
.wedding-date {
    text-align: center;
    padding: clamp(28px, 4vw, 56px) 16px;
    
    margin: 0 auto;
}

.wedding-date__kicker {
    margin: 0 0 14px;
    font-family: var(--rr-ff-p);
    letter-spacing: .22em;
    font-size: clamp(10px, 1.2vw, 14px);
    opacity: .8;
    color: var(--rr-theme-1);
}

.wedding-date__rule {
    height: 1px;
    background: rgba(0,0,0,.18);
    max-width: 920px;
    margin: 0 auto;
}

.wedding-date__title {
    margin: 18px 0;
    font-weight: 400;
    letter-spacing: .35em;
    text-transform: uppercase;
    line-height: 1.25;
    font-size: clamp(18px, 2.2vw, 40px);
    color: var(--rr-heading-1);
    /* Importante para que en mobile se parta bonito */
    overflow-wrap: anywhere;
}

/* Si quieres forzar el corte en mobile, puedes meter <br> en el HTML,
   pero con esto generalmente basta. */
@media (max-width: 420px) {
    .wedding-date__title {
        letter-spacing: .28em;
        font-size: 22px;
    }
}
