/*SUAVIZAR SCROLL*/
html {
    scroll-behavior: smooth;
}


/*ANIMACION DE LOGO SAHANNAS CARGANDO WEB*/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loader.oculto {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 120px;
    height: 120px;
    animation: girar 1.2s linear infinite;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}




/*NAVBAR BRAND*/
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: 2.0rem;
    letter-spacing: 0.5px;
    justify-content: center;
}

/*CONFIGURACION DE LAS CARDS PARA QUE NO SE DEFORMEN AL CAMBIAR TAMAÑO DE LAS IMG*/
/* Todas las cards tienen la misma altura */
#especialidades .card {
  height: 100%;
}

/* Todas las imágenes tienen las mismas dimensiones */
#especialidades .card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

/* El contenido ocupa el espacio disponible */
#especialidades .card-body {
  display: flex;
  flex-direction: column;
}



/*CLASES PARA LA CABECERA*/
.hero {
    background-image: url('../img/salon_sahannas.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    width: 100%;
    padding: 4rem 0;
}



/*CLASE PARA BANNER NOSOTROS*/
.hero-nosotros {
    background-image: url('../img/hero-nosotros.webp');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
/*CLASE PARA BANNER CONTACTO*/
.hero-contacto {
    background-image: url('../img/terraza_sahannas.webp');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

/*CLASE PARA BANNER DEL MENU*/
.hero-menu {
    background-image: url('../img/terraza2_sahannas.webp');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
}


/*CLASES PARA LAS ESPECIALIDADES*/
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}



/* =========================
   CONTADOR
========================= */

.contador-seccion {
    padding: 10px 20px;
    
    color: #fff;
}

.contador-subtitulo {
    color: #ffc107;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.contador-seccion h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contador-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.contador-bloque {
    min-width: 120px;
    padding: 20px 15px;

    background-color: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 193, 7, 0.35);

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.contador-bloque span {
    display: block;

    color: #ffc107;

    font-size: 2.8rem;
    font-weight: 700;

    line-height: 1;
}

.contador-bloque small {
    display: block;

    margin-top: 10px;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 1.5px;

    color: #ddd;
}

.contador-separador {
    color: #ffc107;
    font-size: 2rem;
    font-weight: 700;
}

.contador-frase {
    margin-top: 35px;

    color: #bbb;

    font-style: italic;
    font-size: 1.05rem;
}


/* =========================
   MÓVIL
========================= */

@media (max-width: 576px) {

    .contador-seccion {
        padding: 60px 15px;
    }

    .contador-seccion h2 {
        font-size: 2rem;
    }

    .contador-contenedor {
        gap: 7px;
    }

    .contador-bloque {
        min-width: 85px;
        padding: 15px 8px;
    }

    .contador-bloque span {
        font-size: 2rem;
    }

    .contador-bloque small {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .contador-separador {
        font-size: 1.5rem;
    }

}

/*CLASES PARA EL ICONO DE WHATSAPP*/
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-label {
    background-color: rgb(235, 231, 231);
    color: #000000;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    white-space: nowrap;
    
}

.whatsapp-float {
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes whatsappAttention {
    0%, 80% {
        transform: rotate(0deg) translateY(0);
    }
    83% {
        transform: rotate(180deg) translateY(0);
    }
    86% {
        transform: rotate(360deg) translateY(0);
    }
    90% {
        transform: rotate(360deg) translateY(0);
    }
    93% {
        transform: rotate(360deg) translateY(-10px);
    }
    96% {
        transform: rotate(360deg) translateY(0);
    }
    100% {
        transform: rotate(0deg) translateY(0);
    }
}

.whatsapp-icon {
    animation: whatsappAttention 6s ease-in-out infinite;
}



/*ANIMACIÓN DE PLATO DE LA SEMANA */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}




/* ==============================
   BOTÓN VOLVER ARRIBA
   ============================== */

#btnVolverArriba {
    position: fixed;
    bottom: 30px;
    left: 30px;

    width: 60px;
    height: 60px;

    display: none;
    align-items: center;
    justify-content: center;

    background-color: #e47b5b;
    color: #000;

    border: 3px solid #fff;
    border-radius: 50%;

    font-size: 28px;
    font-weight: bold;

    cursor: pointer;

    z-index: 99999;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);

    transition: transform 0.3s ease, background-color 0.3s ease;
}

#btnVolverArriba:hover {
    background-color: #f72500;
    transform: translateY(-7px);
}





.opinion-google {
    max-width: 700px;
    margin: 0 auto;
    padding: 45px 35px;
    background-color: #ffffff;
    border-radius: 25px;
    text-align: center;

    border: 1px solid #e5e5e5;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}


/* ETIQUETA GOOGLE */

.opiniones-etiqueta {
    color: #4285f4;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.opiniones-etiqueta i {
    margin-right: 5px;
}


/* TÍTULO */

.opinion-google h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #212529;
    margin-bottom: 10px;
}


/* SUBTÍTULO */

.opiniones-subtitulo {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 35px;
}


/* =========================================
   PUNTUACIÓN
   ========================================= */

.puntuacion-google {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 20px 0;
}


/* 4,5 */

.puntuacion-numero {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;

    color: #202124;

    letter-spacing: -3px;
}


/* ESTRELLAS */

.puntuacion-info {
    text-align: left;
}

.estrellas-google {
    font-size: 2rem;
    letter-spacing: 4px;

    color: #fbbc04;

    line-height: 1;
}

.puntuacion-sobre {
    margin-top: 8px;
    color: #70757a;
    font-size: 0.95rem;
}


/* TEXTO DE VALORACIÓN */

.valoracion-google {
    color: #4285f4;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 5px;
}


/* NÚMERO DE OPINIONES */

.numero-opiniones {
    color: #70757a;
    font-size: 0.95rem;
    margin-bottom: 30px;
}


/* =========================================
   BOTONES
   ========================================= */

.botones-opiniones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* BOTÓN GOOGLE */

.btn-google {
    background-color: #4285f4;
    color: #ffffff;

    border: 2px solid #4285f4;

    padding: 12px 22px;
    border-radius: 10px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.btn-google:hover {
    background-color: #3367d6;
    border-color: #3367d6;
    color: #ffffff;

    transform: translateY(-2px);
}


/* BOTÓN RESEÑA */

.btn-resena {
    background-color: #ffffff;
    color: #202124;

    border: 2px solid #dadce0;

    padding: 12px 22px;
    border-radius: 10px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.btn-resena:hover {
    background-color: #f1f3f4;
    border-color: #4285f4;
    color: #202124;

    transform: translateY(-2px);
}


/* ICONOS */

.btn-google i,
.btn-resena i {
    margin-right: 7px;
}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 576px) {

    .opiniones {
        padding: 60px 15px;
    }

    .opinion-google {
        padding: 35px 20px;
        border-radius: 20px;
    }

    .opinion-google h2 {
        font-size: 2rem;
    }

    .puntuacion-google {
        gap: 15px;
    }

    .puntuacion-numero {
        font-size: 4rem;
    }

    .estrellas-google {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .botones-opiniones {
        flex-direction: column;
    }

    .botones-opiniones a {
        width: 100%;
    }
}


    .opiniones {
    background-image: url("../img/reseñas_sahannas.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================
   DISTRIBUCIÓN DE VALORACIONES
   ========================================= */

.distribucion-valoraciones {
    max-width: 500px;
    margin: 25px auto 35px;
}

.barra-valoracion {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.barra-valoracion span {
    width: 15px;
    text-align: right;
    font-size: 0.85rem;
    color: #5f6368;
}

.barra-valoracion i {
    color: #fbbc04;
    font-size: 0.85rem;
}

.barra-fondo {
    flex: 1;
    height: 9px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.barra-progreso {
    height: 100%;
    background-color: #fbbc04;
    border-radius: 10px;
    transition: width 0.8s ease;
}


.progreso-90 { width: 90%; }
.progreso-7  { width: 7%; }
.progreso-2  { width: 2%; }
.progreso-1  { width: 1%; }
.progreso-0  { width: 0%; }



/* =========================
   VÍDEO - HISTORIA
========================= */

.historia-video {
    width: 100%;
    height: 400px;

    overflow: hidden;

    border-radius: 24px;

    border: 5px solid #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    background-color: #000;
}

.video-historia {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* MÓVIL */

@media (max-width: 768px) {

    .historia-video {
        height: 300px;
    }

}



/* =========================================
   PÁGINA 404
   ========================================= */

.pagina-404 {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background-color: #212529;

    color: #ffffff;
}


/* CONTENEDOR PRINCIPAL */

.error-404 {
    min-height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px 20px;

    position: relative;

    overflow: hidden;
}


/* CONTENIDO */

.error-contenido {
    max-width: 700px;

    position: relative;

    z-index: 2;
}


/* LOGO */

.error-logo {
    width: 130px;

    height: auto;

    margin-bottom: 20px;
}


/* NÚMERO 404 */

.numero-404 {
    font-family: 'Playfair Display', serif;

    font-size: 9rem;

    font-weight: 700;

    line-height: 0.9;

    color: #ffc107;

    text-shadow:
        4px 4px 0 rgba(255, 255, 255, 0.05);

    margin-bottom: 20px;
}


/* ICONO */

.icono-cerveza {
    font-size: 3rem;

    color: #ffc107;

    margin-bottom: 20px;
}


/* TÍTULO */

.error-contenido h1 {
    font-family: 'Playfair Display', serif;

    font-size: 2.3rem;

    margin-bottom: 20px;

    color: #ffffff;
}


/* TEXTO */

.error-contenido p {
    max-width: 550px;

    margin: 0 auto 30px;

    color: #cccccc;

    font-size: 1.1rem;

    line-height: 1.7;
}


/* BOTÓN */

.btn-volver-404 {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    background-color: #ffc107;

    border: 2px solid #ffc107;

    color: #212529;

    padding: 13px 28px;

    border-radius: 10px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}


/* HOVER */

.btn-volver-404:hover {
    background-color: #ffca2c;

    border-color: #ffca2c;

    color: #212529;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(255, 193, 7, 0.25);
}


/* =========================================
   DECORACIÓN
   ========================================= */

.error-404::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background-color: rgba(255, 193, 7, 0.04);

    top: -150px;
    left: -150px;
}


.error-404::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background-color: rgba(255, 193, 7, 0.03);

    bottom: -250px;
    right: -200px;
}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 576px) {

    .numero-404 {
        font-size: 6rem;
    }

    .error-contenido h1 {
        font-size: 1.8rem;
    }

    .error-contenido p {
        font-size: 1rem;
    }

    .error-logo {
        width: 110px;
    }

}






/* =========================================================
   CERVEZA DERRAMADA - PAGINA 404
   ========================================================= */

.cerveza-derramada {
    position: relative;

    width: 280px;
    height: 230px;

    margin: 20px auto 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* =========================================================
   BOTELLA
   ========================================================= */

.botella {
    position: absolute;

    width: 75px;
    height: 145px;

    left: 75px;
    top: 15px;

    transform: rotate(58deg);

    transform-origin: bottom center;

    z-index: 5;

    filter:
        drop-shadow(7px 9px 5px rgba(0, 0, 0, 0.35));

    animation: botella-movimiento 3s ease-in-out infinite;
}


/* Cuerpo */

.cuerpo-botella {
    position: absolute;

    width: 75px;
    height: 115px;

    bottom: 0;

    border-radius:
        12px 12px 18px 18px;

    background:
        linear-gradient(
            90deg,
            #321707,
            #6e380c 25%,
            #a86118 48%,
            #633109 75%,
            #2a1204
        );

    border: 2px solid #291204;

    overflow: hidden;
}


/* Reflejo del cristal */

.cuerpo-botella::before {
    content: "";

    position: absolute;

    width: 12px;
    height: 90px;

    left: 13px;
    top: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);

    filter: blur(2px);
}


/* Cuello */

.cuello-botella {
    position: absolute;

    width: 30px;
    height: 55px;

    left: 23px;
    top: -40px;

    border-radius: 8px 8px 4px 4px;

    background:
        linear-gradient(
            90deg,
            #321707,
            #75400f,
            #4b2408
        );

    border: 2px solid #281103;
}


/* Tapón */

.cuello-botella::before {
    content: "";

    position: absolute;

    width: 33px;
    height: 12px;

    left: -3px;
    top: -6px;

    border-radius: 4px;

    background:
        repeating-linear-gradient(
            90deg,
            #aaa 0,
            #aaa 3px,
            #666 3px,
            #666 6px
        );

    border: 1px solid #444;
}


/* =========================================================
   ETIQUETA
   ========================================================= */

.etiqueta-botella {
    position: absolute;

    width: 62px;
    height: 48px;

    left: 5px;
    top: 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #dca82e,
            #ffe394,
            #c38b19
        );

    border: 2px solid #704408;

    color: #4a2504;

    transform: rotate(-2deg);
}


.etiqueta-botella span {
    font-family: "Playfair Display", serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;
}


.etiqueta-botella small {
    font-size: 6px;

    letter-spacing: 1.5px;

    margin-top: 2px;
}


/* =========================================================
   CHORRO DE CERVEZA
   ========================================================= */

.chorro-cerveza {
    position: absolute;

    width: 14px;
    height: 105px;

    left: 135px;
    top: 76px;

    border-radius: 50%;

    background:
        linear-gradient(
            90deg,
            #9b5105,
            #f3a91c 35%,
            #ffd35c 55%,
            #a95705
        );

    box-shadow:
        0 0 6px rgba(255, 180, 20, 0.55);

    transform: rotate(14deg);

    transform-origin: top;

    z-index: 3;

    animation:
        movimiento-chorro 0.3s
        ease-in-out infinite alternate;
}


/* =========================================================
   ESPUMA
   ========================================================= */

.espuma {
    position: absolute;

    left: 127px;
    top: 69px;

    width: 45px;
    height: 30px;

    z-index: 4;
}


.espuma span {
    position: absolute;

    display: block;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fffef0,
            #ffeeb0 65%,
            #d5aa43
        );

    box-shadow:
        0 2px 4px rgba(90, 50, 0, 0.25);
}


.espuma span:nth-child(1) {
    width: 25px;
    height: 25px;

    left: 0;
    top: 7px;
}


.espuma span:nth-child(2) {
    width: 27px;
    height: 27px;

    left: 14px;
    top: 1px;
}


.espuma span:nth-child(3) {
    width: 20px;
    height: 20px;

    left: 28px;
    top: 8px;
}


.espuma span:nth-child(4) {
    width: 16px;
    height: 16px;

    left: 9px;
    top: -5px;
}


/* =========================================================
   GOTAS
   ========================================================= */

.gota {
    position: absolute;

    border-radius:
        50% 50% 50% 0;

    background: #f5b522;

    transform: rotate(-45deg);

    z-index: 2;

    box-shadow:
        0 0 5px rgba(255, 180, 20, 0.55);
}


.gota-1 {
    width: 9px;
    height: 9px;

    left: 105px;
    top: 115px;

    animation:
        gota-caer 1.6s
        ease-in infinite;
}


.gota-2 {
    width: 7px;
    height: 7px;

    left: 158px;
    top: 128px;

    animation:
        gota-caer 1.8s
        ease-in .4s infinite;
}


.gota-3 {
    width: 11px;
    height: 11px;

    left: 178px;
    top: 105px;

    animation:
        gota-caer 1.5s
        ease-in .8s infinite;
}


/* =========================================================
   CHARCO
   ========================================================= */

.charco {
    position: absolute;

    width: 190px;
    height: 48px;

    left: 45px;
    bottom: 15px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            #ffd35a 0%,
            #e09b16 40%,
            #985108 100%
        );

    box-shadow:
        inset 0 4px 8px rgba(255, 239, 130, 0.45),
        0 0 12px rgba(255, 180, 20, 0.35);

    transform: scale(0.8);

    z-index: 1;

    animation:
        charco-crecer 2s ease-out forwards,
        charco-latido 3s ease-in-out 2s infinite;
}


/* Brillo */

.brillo-charco {
    position: absolute;

    width: 65px;
    height: 8px;

    left: 40px;
    top: 10px;

    border-radius: 50%;

    background: rgba(255, 246, 180, 0.55);

    filter: blur(2px);

    transform: rotate(-5deg);
}


/* =========================================================
   BURBUJAS DEL CHARCO
   ========================================================= */

.burbuja {
    position: absolute;

    border-radius: 50%;

    border: 2px solid rgba(255, 226, 120, 0.55);

    animation:
        burbuja-subir 2s
        ease-in-out infinite;
}


.burbuja-1 {
    width: 9px;
    height: 9px;

    left: 105px;
    top: 20px;
}


.burbuja-2 {
    width: 6px;
    height: 6px;

    left: 135px;
    top: 28px;

    animation-delay: .5s;
}


.burbuja-3 {
    width: 8px;
    height: 8px;

    left: 70px;
    top: 30px;

    animation-delay: 1s;
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes botella-movimiento {

    0%,
    100% {
        transform: rotate(58deg);
    }

    50% {
        transform: rotate(61deg);
    }
}


@keyframes movimiento-chorro {

    from {
        transform:
            rotate(13deg)
            scaleX(0.9);
    }

    to {
        transform:
            rotate(15deg)
            scaleX(1.08);
    }
}


@keyframes gota-caer {

    0% {
        opacity: 0;

        transform:
            translateY(-15px)
            rotate(-45deg)
            scale(0.5);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;

        transform:
            translateY(65px)
            rotate(-45deg)
            scale(1);
    }
}


@keyframes charco-crecer {

    0% {
        transform: scale(0.15);

        opacity: 0;
    }

    60% {
        transform: scale(1.08);

        opacity: 1;
    }

    100% {
        transform: scale(1);

        opacity: 1;
    }
}


@keyframes charco-latido {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}


@keyframes burbuja-subir {

    0%,
    100% {
        transform:
            translateY(0);

        opacity: .5;
    }

    50% {
        transform:
            translateY(-5px);

        opacity: 1;
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 576px) {

    .cerveza-derramada {
        width: 240px;
        height: 210px;
    }

    .botella {
        left: 55px;
        transform: rotate(58deg) scale(.9);
    }

    .chorro-cerveza {
        left: 115px;
    }

    .espuma {
        left: 107px;
    }

    .gota-1 {
        left: 90px;
    }

    .gota-2 {
        left: 140px;
    }

    .gota-3 {
        left: 160px;
    }

    .charco {
        width: 175px;
        left: 32px;
    }
}



/* =======INVITADOS======*/
/* ===== SAHANNAS & FRIENDS ===== */
:root {
  --sah-gold: #d4af37;
  --sah-card: #171717;
}

.friends {
  background: radial-gradient(ellipse at top, #2b2217 0%, #121212 65%);
  color: #f2ede4;
  padding: 5rem 0;
}

.friends-header { max-width: 680px; margin: 0 auto 3.5rem; }


.friends-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0.6rem 0 1rem;
}
.friends-title em { color: var(--sah-gold); font-style: italic; }

.friends-lead { color: #b9b1a3; }

.friends-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--sah-gold);
  margin-top: 1.5rem;
}
.friends-ornament span {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sah-gold));
}
.friends-ornament span:last-child { transform: scaleX(-1); }

/* --- Tarjeta --- */
.friend-card {
  height: 100%;
  padding: 0.6rem;
  background: var(--sah-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation: friendIn 0.8s ease backwards;
}


@media(hover:hover) and (pointer:fine){
.friend-card:hover{
  transform: translateY(-8px);
  border-color: var(--sah-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
  
.friend-card:hover .friend-photo img { 
    transform: scale(1.06); 
}
  
.friend-photo:hover .friend-play {
  background: var(--sah-gold);
  color: #121212;
  transform: scale(1.12);
}
}



.friends-grid > *:nth-child(2) .friend-card { animation-delay: 0.15s; }
.friends-grid > *:nth-child(3) .friend-card { animation-delay: 0.3s; }

/* --- Foto --- */
.friend-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: #222;
}
.friend-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}


/* marco dorado interior, como en la carta */
.friend-photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}

.friend-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--sah-gold);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}


/* --- Texto --- */
.friend-body { padding: 1.4rem 1rem 1.2rem; text-align: center; }

.friend-role {
  display: block;
  color: var(--sah-gold);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
}

.friend-name {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0.4rem 0 0.8rem;
}

.friend-quote {
  color: #c9c1b3;
  font-style: italic;
  min-height: 3.2em;
  margin-bottom: 1.2rem;
}

.friend-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  color: var(--sah-gold);
  border: 1px solid var(--sah-gold);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.friend-handle:hover { background: var(--sah-gold); color: #121212; }


/* --- Bloque final de invitaciones --- */
.friends-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.friends-cta h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.friends-cta p {
  color: #b9b1a3;
  max-width: 520px;
  margin: 0 0 8px;
}
.btn-sah {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem;
  padding: 0.65rem 1.5rem;
  color: var(--sah-gold);
  background: transparent;
  border: 1px solid var(--sah-gold);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-sah:hover { background: var(--sah-gold); color: #121212; }
.btn-sah--solid { background: var(--sah-gold); color: #121212; }
.btn-sah--solid:hover { background: transparent; color: var(--sah-gold); }

@keyframes friendIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .friend-card { animation: none; transition: none; }
}


/* Botones de WhatsApp y email */
.friends-cta > .btn-sah {
  margin: 0;
  justify-content: center;
  cursor: pointer;
}

/* Contenedor del formulario */
#form-colaboraciones {
  display: flex;
  flex-direction: column;
  gap: 22px;

  width: 100%;
  max-width: 560px;
  margin: 12px auto 0;
  padding: 28px;

  box-sizing: border-box;
  text-align: left;

  background: var(--sah-card, #171717);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Mantener oculto el formulario hasta pulsar el botón */
#form-colaboraciones[hidden] {
  display: none !important;
}

/* Separación entre etiqueta y campo */
#form-colaboraciones > div:not([aria-hidden="true"]) {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

/* Etiquetas */
#form-colaboraciones label {
  color: var(--sah-gold, #d4af37);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Campos de texto */
#form-colaboraciones input,
#form-colaboraciones textarea {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;

  margin: 0;
  padding: 13px 15px;

  color: #f2ede4;
  background: #222;
  border: 1px solid #49443a;
  border-radius: 6px;

  font: inherit;
  line-height: 1.5;

  transition: border-color 0.2s ease,
              box-shadow 0.2s ease;
}

/* Altura del mensaje */
#form-colaboraciones textarea {
  min-height: 145px;
  resize: vertical;
}

/* Texto de ejemplo dentro de los campos */
#form-colaboraciones input::placeholder,
#form-colaboraciones textarea::placeholder {
  color: #aaa;
}

/* Resaltar el campo que está usando el visitante */
#form-colaboraciones input:focus,
#form-colaboraciones textarea:focus {
  outline: none;
  border-color: var(--sah-gold, #d4af37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Botón de envío */
#form-colaboraciones button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;

  margin: 0;
  padding: 12px 24px;

  color: #121212;
  background: var(--sah-gold, #d4af37);
  border: 1px solid var(--sah-gold, #d4af37);
  border-radius: 50px;

  font: inherit;
  font-weight: 600;
  cursor: pointer;

  transition: background 0.25s ease, color 0.25s ease;
}

#form-colaboraciones button[type="submit"]:hover {
  color: var(--sah-gold, #d4af37);
  background: transparent;
}

/* Mensaje de respuesta */
#estado-formulario {
  margin: 0;
  color: #b9b1a3;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Ajustes para móviles */
@media (max-width: 576px) {
  .friends-cta {
    padding: 2rem 1rem;
    gap: 14px;
  }

  #form-colaboraciones {
    padding: 20px 16px;
    gap: 19px;
  }

  #form-colaboraciones button[type="submit"] {
    width: 100%;
    align-self: stretch;
  }
}

/* Respetar las preferencias de movimiento */
@media (prefers-reduced-motion: reduce) {
  #form-colaboraciones input,
  #form-colaboraciones textarea,
  #form-colaboraciones button {
    transition: none;
  }
}


/* Campo trampa antispam del formulario */
.campo-trampa {
    position: absolute;
    left: -10000px;
}





/*DIRECCION Y CONTACTO DEBAJO DEL OVERLAY*/


.visit {
  background: radial-gradient(ellipse at top, #2b2217 0%, #121212 65%);
  color: #f2ede4;
  padding: 4rem 0 5rem;
}

/* --- Mensaje dentro del hero-overlay --- */
.hero-overlay .visit-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #f2ede4;
  margin: 0 0 0.8rem;
}
.hero-overlay .visit-title em { color: var(--sah-gold); font-style: italic; }
.hero-overlay .visit-lead { color: #d8d0c2; margin: 0; }

/* --- Tarjeta con mapa + datos --- */
.visit-card {
  padding: 0.6rem;
  background: var(--sah-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.visit-map {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: 3px;
  background: #222;
}
.visit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* oscurece el mapa para que encaje con la paleta */
  filter: grayscale(0.6) invert(0.92) hue-rotate(180deg) contrast(0.9) sepia(0.25);
}
/* marco dorado interior, igual que las fotos de invitados */
.visit-map::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}

/* --- Datos --- */
.visit-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 1.2rem;
  text-align: center;
}

.visit-name {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.visit-address {
  color: #c9c1b3;
  font-style: italic;
  margin-bottom: 1.2rem;
}

/* --- Botones --- */

.btn-sah:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 991.98px) {
  .visit-map { min-height: 300px; }
}



#acordeonCarta .accordion-collapse {
    transition: none !important;
}



/* Aviso de privacidad del formulario de colaboraciones */
.aviso-privacidad-formulario {
  margin: 16px 0;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}

.aviso-privacidad-formulario a {
  text-decoration: underline;
  text-underline-offset: 2px;
}


/*Configuración de cookies hacemos que el button aparezca alineado con los enlaces*/


nav[aria-label="Información legal"] {
  align-items: center;
}

nav[aria-label="Información legal"] a,
nav[aria-label="Información legal"] #sahannas-cookie-settings-link {
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
  vertical-align: middle;
  margin: 0;
}





/* REDES SOCIALES DEL FOOTER */
.footer-socials {
    align-items: flex-start;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-social-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.footer-social-link:hover {
    color: #ffc107 !important;
    transform: translateX(4px);
}
