/* ============================================================
   PALETA
   Brand:    #C4A07A  (dorado cálido del logo)
   Fondo:    #F5F0EB  (crema fuera del contenedor)
   Texto:    #3a3a3a
   Suave:    #888
   ============================================================ */

/* Garantiza que <br> nunca quede oculto por el tema */
br { display: block !important; }

/* --- Fondo global: crema para el espacio fuera de 1200px --- */
html, body {
    background-color: #F5F0EB;
}

/* --- Ancho máximo y sombra para dar profundidad en pantallas grandes --- */
.nav-container,
.nav-container nav,
.main-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.main-container {
    background: #fff;
    box-shadow: 0 0 60px rgba(0,0,0,0.08);
    padding: 0 10px;
}

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
body,
body *:not(.glyphicon):not([class^="icon-"]):not([class*=" icon-"]) {
    font-family: "Tan Pearl", serif !important;
}

body {
    letter-spacing: 0.8px;
    color: #3a3a3a;
    font-weight: 500;
}

/* ============================================================
   NAV
   ============================================================ */
.logo:hover,
.logo span:hover {
    cursor: pointer;
}

.nav-1 {
    border-bottom: 1px solid rgba(196,160,122,0.2) !important;
}
.logo:focus,
.logo:focus-visible {
    outline: none;
    box-shadow: none;
}
a:focus{
    outline: none;
}
@media all and (min-width: 769px) {
    .nav-1 {
        height: auto !important;
        max-height: none !important;
        display: flex !important;
        align-items: center !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .nav-1 .logo {
        float: none !important;
        display: flex;
        align-items: center;
    }

    .nav-1 .menu {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        margin-left: auto;
    }

    .nav-1 .menu li {
        float: none !important;
    }
}

.nav-container .nav-1 img {
    max-height: 50px;
    width: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.header-1 .hero-cover-main {
    background-position: 50% 22% !important;
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-box {
    background-color: #C4A07A;
    color: #fff;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1.6em;
    min-width: 80px;
    text-align: center;
    letter-spacing: 1px;
}

.time-box span {
    display: block;
    font-size: 0.4em;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 2px;
}

/* ============================================================
   SECCIONES — separadores elegantes
   ============================================================ */
section.story,
section.details {
    /*border-bottom: 1px solid rgba(196,160,122,0.15);*/
}


/* ============================================================
   IMÁGENES CON DESATURACIÓN
   ============================================================ */
.sature {
    filter: saturate(50%);
}

/* ============================================================
   APP SOCIAL
   ============================================================ */
.image-container-social {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 20px;
}

.image-social,
.image-right-social {
    width: 145px;
    height: 50px;
    filter: saturate(50%);
    transition: filter 0.3s ease;
}

.image-social:hover,
.image-right-social:hover {
    filter: saturate(100%);
}

/* ============================================================
   FORMULARIO RSVP
   ============================================================ */
.formh6 h6 {
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
}

.form-control {
    border: 1px solid rgba(196,160,122,0.4) !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease !important;
}

.form-control:focus {
    border-color: #C4A07A !important;
    box-shadow: 0 0 0 3px rgba(196,160,122,0.15) !important;
    outline: none !important;
}

/* Botones radio-holder */
.radio-holder {
    max-width: 300px;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    letter-spacing: 1px;
    min-height: 42px;
}

.radio-holder span {
    font-size: 12px !important;
    line-height: 1;
}

.radio-holder.false-selected:hover,
.radio-holder.false-selected.checked {
    background: #ccc !important;
    color: #fff;
}

.btn.false-selected {
    border: 1px solid #ddd;
    color: #aaa;
}

/* Botón principal */
.buttom-confirm {
    padding: 12px 32px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: #C4A07A;
    color: white;
    border: 2px solid #C4A07A;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttom-confirm:hover {
    color: #C4A07A;
    background-color: #fff;
    border: 2px solid #C4A07A;
}

/* ============================================================
   FLATPICKR
   ============================================================ */
#range {
    text-align: center !important;
}

.flatpickr {
    width: 100%;
}

.flatpickr-calendar {
    width: 100%;
    max-width: none;
}

.flatpickr-calendar .flatpickr-innerContainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flatpickr-day.selected,
.flatpickr-day.startRange {
    background: #C4A07A !important;
    border-color: #C4A07A !important;
    color: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-1 {
    border-top: 1px solid rgba(196,160,122,0.2) !important;
    background: #fff !important;
}

/* ============================================================
   CUENTA BANCARIA — frase arriba, anillo visible, cuenta abajo
   ============================================================ */
.details-2-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0px;
    padding-bottom: 140px;
}

/* ============================================================
   LUGAR — imágenes misma altura
   ============================================================ */
.lugar-img-wrap {
    width: 100%;
    height: 420px;
    overflow: hidden;
    margin-bottom: 15px;
}

.lugar-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media all and (max-width: 768px) {
    .lugar-img-wrap {
        height: 220px;
    }
}

/* ============================================================
   TIPOGRAFÍA RESPONSIVA
   Escala fluida: desktop → tablet → móvil
   ============================================================ */

/* --- Desktop grande (>1200px) --- */
@media all and (min-width: 1201px) {
    body { font-size: 14px; line-height: 1.75; }
    h1   { font-size: 55px; line-height: 1.15; letter-spacing: 3px; }
    h2   { font-size: 37px; line-height: 1.2;  letter-spacing: 2px; }
    h3   { font-size: 27px; line-height: 1.3;  letter-spacing: 1.5px; }
    h4   { font-size: 21px; line-height: 1.35; letter-spacing: 1px; }
    h5   { font-size: 15px; line-height: 1.5;  letter-spacing: 0.5px; }
    h6   { font-size: 11px; line-height: 1.6;  letter-spacing: 1.5px; }
    p    { font-size: 14px; line-height: 1.75; }
}

/* --- Desktop estándar (769px – 1200px) --- */
@media all and (min-width: 769px) and (max-width: 1200px) {
    body { font-size: 13px; line-height: 1.7; }
    h1   { font-size: 45px; line-height: 1.15; letter-spacing: 2px; }
    h2   { font-size: 31px; line-height: 1.2;  letter-spacing: 1.5px; }
    h3   { font-size: 25px; line-height: 1.3;  letter-spacing: 1px; }
    h4   { font-size: 19px; line-height: 1.4;  letter-spacing: 0.8px; }
    h5   { font-size: 14px; line-height: 1.5;  letter-spacing: 0.5px; }
    h6   { font-size: 11px; line-height: 1.6;  letter-spacing: 1.5px; }
    p    { font-size: 13px; line-height: 1.7; }
}

/* --- Tablet (481px – 768px) --- */
@media all and (min-width: 481px) and (max-width: 768px) {
    body { font-size: 13px; line-height: 1.75; }
    h1   { font-size: 35px; line-height: 1.3;  letter-spacing: 1.5px; }
    h2   { font-size: 25px; line-height: 1.35; letter-spacing: 1px; }
    h3   { font-size: 21px; line-height: 1.45; letter-spacing: 0.8px; }
    h4   { font-size: 17px; line-height: 1.6;  letter-spacing: 0.5px; }
    h5   { font-size: 13px; line-height: 1.65; }
    h6   { font-size: 10px; line-height: 1.7;  letter-spacing: 1.5px; }
    p    { font-size: 13px; line-height: 1.75; }
}

/* --- Móvil (<480px) --- */
@media all and (max-width: 480px) {
    body { font-size: 12px; line-height: 1.75; }
    h1   { font-size: 27px; line-height: 1.35; letter-spacing: 1px; }
    h2   { font-size: 21px; line-height: 1.4;  letter-spacing: 0.8px; }
    h3   { font-size: 17px; line-height: 1.5;  letter-spacing: 0.5px; }
    h4   { font-size: 15px; line-height: 1.65; }
    h5   { font-size: 12px; line-height: 1.7; }
    h6   { font-size: 10px; line-height: 1.7;  letter-spacing: 1.2px; }
    p    { font-size: 12px; line-height: 1.75; }
}

/* ============================================================
   MÓVIL
   ============================================================ */
@media all and (max-width: 768px) {

    /* Hero */
    .header-1.fullscreen {
        height: 120vw !important;
        margin-top: 110px !important;
    }

    .header-1 .hero-cover-main {
        background-position: 50% 20% !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .hero-title {
        font-size: 25px !important;
        line-height: 40px !important;
        margin-top: 0 !important;
        position: static !important;
    }

    .hero-subtitle {
        display: block !important;
    }

    .header-1 .container {
        position: absolute !important;
        top: 15% !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    /* Nav */
    .nav-1 {
        max-height: 110px !important;
    }

    .nav-1.nav-open {
        max-height: 600px !important;
    }

    .nav-container .nav-1 img {
        max-height: 80px !important;
        width: auto !important;
    }

    .nav-1 .mobile-toggle {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* Countdown compacto */
    .time-box {
        font-size: 1em;
        padding: 4px 8px;
        min-width: 40px;
    }

    /* Secciones — solo padding-top en móvil para evitar doble espacio */
    section.story,
    section.details,
    section.overlay-light {
        padding-top: 30px !important;
        padding-bottom: 0 !important;
    }

    /* Márgenes internos reducidos */
    .lugar-img-wrap {
        margin-bottom: 10px;
    }

    /* Columnas de lugar apiladas con separación */
    .lugar-row [class*="col-"] {
        margin-bottom: 40px;
    }
    .lugar-row [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    /* Formulario más compacto */
    .radio-holder {
        font-size: 13px;
        padding: 8px 12px !important;
    }

    /* Separador entre cards */
    .feature {
        margin-bottom: 20px !important;
    }

    /* Sección cuenta bancaria en móvil */
    .details-2,
    .details-2.parallax {
        min-height: 320px !important;
    }

    .details-2-inner {
        padding-top: 0px !important;
        padding-bottom: 10px !important;
    }

    /* IBAN más pequeño en móvil para que no se corte */
    .details-2 h4[style*="Courier"] {
        font-size: 14px !important;
        letter-spacing: 1px !important;
        word-break: break-all;
    }
}


* {
    font-weight: 700 !important;
    -webkit-text-stroke: 0.4px currentColor;
}