
:root {
    --verdePetroleo: #3F7F8F; 
    --verdeLogo: #00434c;
    --beigeBase: #F2E9E4;
    --liebre: #A67C6B;
    --blancoCalido: #FAF7F4;
}

/* Globales */    
html {
    font-size: 62.5%; /* 1rem = 10px */
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
}

/* Tipografía */
h1 { font-size: 3.8rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.4rem; }

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--verdeLogo);
    text-align: center;
}
/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url("../img/living1.jpeg") center/cover no-repeat;
    height: 50rem;
    padding: 2rem;
    margin-top: 5rem;
}

.hero-nosotros {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url("../img/sillonAbuelo1.jpeg") center/cover no-repeat;
    height: 60rem;
    padding: 2rem;
    margin-top: 8rem;
}

.hero-contacto {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(28,79,82,0.45)),
                url("../img/contacto.jpeg") center/cover no-repeat;
    background-position: center 70%;
    background-size: cover;
    height: 80rem;
    padding: 2rem;
    margin-top: 5rem;
}
/* Header */
.header {
    max-width: 120rem;
    margin: 0 auto;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: rgba(63, 127, 143, 0.85);
    z-index: -1;
}


.logo-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-texto {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-img { height: 6rem; width: auto; }

.titulo {
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(255,255,255,0.25);
    margin: 0.5rem;
}

.titulo span {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    letter-spacing: 2px;
}

.titulo-sub {
    color: var(--blancoCalido); /* blanco */
    font-weight: 300;
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    opacity: 0.85;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


/* Botón menú móvil */
.menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.menu-btn span {
    display: block;
    width: 3rem;
    height: 0.3rem;
    margin: 0.5rem 0;
    background-color: var(--blancoCalido);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.activo span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.activo span:nth-child(2) { opacity: 0; }
.menu-btn.activo span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* Navegación */
.navegacion-principal {
    display: none;
    margin: 0 auto;
    padding: 0 2rem;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.navegacion-principal.activo { display: flex; }

.navegacion-principal a {
    display: block;
    width: 150px;
    text-align: left;
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--blancoCalido);
    padding: 1rem;
}

/* Media query Desktop */
@media (min-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 3rem;
        margin-top: 0;
    }

    .logo-container { 
        flex-wrap: nowrap; }

    .logo-img { height: 9rem; }
    .titulo { font-size: 3.8rem; letter-spacing: 3px; }
    .logo-texto { gap: 1.5rem; }

    .navegacion-principal {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1.5rem;
        padding-top: 0;
    }

    .navegacion-principal a {
        width: auto;
        text-align: center;
        position: relative;
        transition: color 0.3s ease;
    }

    .navegacion-principal a:hover { color: var(--verdeLogo); }

    .navegacion-principal a::after {
        content: "";
        position: absolute;
        left: 0; bottom: 0;
        width: 0%; height: 3px;
        background-color: var(--verdeLogo);
        transition: width 0.3s ease;
    }

    .navegacion-principal a:hover::after { width: 100%; }

    .menu-btn { display: none; }
}


.intro {
    background-color: var(--beigeBase);
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.intro-contenido {
    max-width: 80%;
    margin:  0 auto;
}

.intro h1 {
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}


.intro p {
    max-width: 60rem;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
    font-size: 1.6rem;
    color: #444;

}

.alojamientos {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
}

.card {
    background-color: var(--blancoCalido);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-contenido {
    padding: 2.5rem;
}

.card:hover {
    transform: translateY(-8px)
}

.card img {
    transition: transform 0.5s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.card p{
    margin: 0;
    line-height: 1.7;
}

.intro h2::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--liebre);
    margin: 1.5rem auto 0 auto;
}

.cta-container {
    text-align: center;
    margin-top: 1.5rem;
}

.cta-texto {
    font-size: 0.9rem;
    color: var(--verdeLogo);
    opacity: 0.7;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    font-weight: 300;
}

.boton-wsp {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background-color: var(--verdeLogo);
    color: var(--blancoCalido);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.4rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.boton-wsp:hover {
    background-color: var(--liebre);
    transform: scale(1.05);
}

@media (min-width: 768px){
    .alojamientos {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro h1 {
        font-size: 5rem;
    }

    .intro h2::after {
        width: 80px;
    }
        
}

.intro p:last-of-type {

    margin-top: 2rem;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--verdeLogo);
}

.galeria h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.galeria-texto {
    font-size: 1.6rem;
    color: #555;
    max-width: 60rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-align: center;
}

.galeria-filtros {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    background-color: #ddd;
    color: #333;
    font-weight: 500;
    border-radius: 2rem;

    transition: all 0.3s ease;

}

.filtro-btn:hover {
    background-color: var(--verdePetroleo);
    color: white;
}

.filtro-btn.active {
    background-color: var(--verdeLogo);
    color: white;
}

.galeria {
    padding: 5rem 2rem;
    text-align: center;
}

/* CONTENEDOR MÁS ANGOSTO */
.galeria-contenido {
    max-width: 700px;   /* 👈 antes era muy grande */
    margin: 0 auto;
    display: none;
}

.galeria-contenido.active {
    display: block;
}


/* Reseñas */
.reseñas {
    padding: 4rem 1.5rem;
    background-color: var(--blancoCalido);
    text-align: center;
}

.slider {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    margin: 2rem auto 0 auto;
}


.slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide.active {
    display: block;
    opacity: 1;
}


.reseña-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;

}


.captura {
    width: 300px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background-color: #f7f7f7;
    border-radius: 16px;
    padding: 0.5rem;
}

.captura img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}



.flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--verdeLogo);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    color: white;
    z-index: 20;
    font-size: 1.2rem;
    padding: 0.4rem;
}



.izquierda {
    left: 10px;
}

.derecha {
    right: 10px;
}

@media (min-width: 768px) {

    .flecha {
        font-size: 1.5rem;
        padding: 0.6rem;
    }
    .izquierda {
        left: -30px;
    }
    
    .derecha {
        right: -30px;
    }        
}


.flecha:hover {
    background-color: var(--liebre);
    transform: translateY(-50%) scale(1.1);
}



.premio-section {
    background-color: var(--beigeBase);
    padding: 3rem 0;
}

.imagen-container {
    position: relative;
    width: 100%;
    margin: 0;
    margin-top: 16rem;
}

.foto-dormitorio {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.premio-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -70%);

    width: 300px;
    max-width: 80%;

    box-shadow: 0 30px 80px rgba(0,0,0,0.35);

    border-radius: 8px;

    transform: translate(-50%,-60);
}

.titulo-premio {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.p-premio {
    font-size: 1.4rem;
    text-align: center;
    opacity: 0.85;
    max-width: 60rem;
    margin: 0 auto;
}

/* IMAGEN PRINCIPAL MÁS CONTROLADA */
.img-grande {
    width: 100%;
    height: 320px;      /* 👈 bajamos altura */
    object-fit: cover;
    border-radius: 1rem;
}

/* THUMBNAILS MÁS CHICAS */
.thumbnails {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.thumb {
    width: 70px;        /* 👈 más chicas */
    height: 50px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ocultar secciones */
.galeria-contenido {
    display: none;
}

.galeria-contenido.active {
    display: block;
}

.beneficios {
    background-color: var(--beigeBase);
    padding: 4rem 2rem;
    text-align: center;
}

.beneficios h2 {
    font-size: 4rem;
    margin-bottom: 4rem;
}

.beneficio {
    padding: 2rem;
    max-width: 35rem;
    margin: 0 auto;
}

.beneficio h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.beneficio p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #555;
}

@media (min-width: 768px) {
    .beneficios-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .beneficios-grid-secundario {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem; /* espacio entre columnas */
        max-width: 90rem; /* limita el ancho */
        margin: 0 auto; /* centra el bloque */
    }

}

.beneficios h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--liebre);
    margin: 1.5rem auto 0 auto;
}

.beneficio {
    transition: transform 0.3s ease;
}

.beneficio:hover {
    transform: translateY(-5px);
}

.icono {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background-color: var(--verdeLogo);

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

    transition: all 0.3s ease;
}

.icono svg {
    width: 28px;
    height: 28px;
    color: var(--blancoCalido);
}

.beneficio:hover .icono{
    background-color: var(--liebre);
    transform: scale(1.1);
}

.icono {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}



.whatsapp-boutique {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 5.5rem;
    height: 5.5rem;
    background-color: var(--verdeLogo); /* tu verde */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-boutique svg {
    width: 2.8rem;
    fill: var(--blancoCalido);
}

.whatsapp-boutique:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Tooltip elegante */
.tooltip {
    position: absolute;
    right: 7rem;
    background: var(--blancoCalido);
    color: var(--verdeLogo);
    padding: 0.6rem 1rem;
    border-radius: 2rem;
    font-size: 1.3rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.whatsapp-boutique:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}


/* Footer */
.footer {
    background-color: var(--verdeLogo);
    color: var(--blancoCalido);
    padding: 4rem 1rem 1.5rem;
    text-align: center;
}


/* Linea superior elegante */
.footer::before {
    content:"";
    display: block;
    width: 40%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 2rem;
    opacity: 0.5;
}

.footer-contenido {
    max-width: 100rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;

}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}


.footer-brand img {
    filter: brightness(0) invert(1);
    width: 70px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    letter-spacing: 2px;
}

.titulo-footer {
    color: var(--blancoCalido);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: 2px;
    line-height: 1.1;
}

.titulo-footer span {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
        
}

.footer-links a {
    text-decoration: none;
    color: var(--blancoCalido);
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    letter-spacing: 1px;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--liebre);
}

.footer-info p {
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    margin: 0.32rem 0;
    opacity: 0.8;
}

.footer-redes {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-redes {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        gap: 1rem
    }
        
}

.footer-icono {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--blancoCalido);
    border: 1px solid var(--verdeLogo);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 
    0 4px 10px rgba(0,0,0,0.2),
    0 0 10px rgba(255,255,255,0.05);
}

.footer-icono svg {
    width: 18px;
    height: 18px;
    fill: var(--verdeLogo);
    transition: transform 0.3s ease, fill 0.3s ease;
}


.footer-icono:hover {
    background: var(--liebre);
    transform: scale(1.1);
}

.footer-icono:hover svg {
    transform: scale(1.2);
}

.footer-copy {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0.6;
}


/* Página nosotros */ 
.historia {
    background-color: var(--beigeBase);
    padding: 4rem 1.5rem;
}

.historia-contenedor {
    max-width: 110rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.historia-imagen {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .historia-contenedor {
        display: grid;
        grid-template-columns: 1fr 1fr;

    }
        
}

.nosotras-grandes {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.nosotras-chicas {
    position: absolute;
    bottom: -50px;
    right: -10px;
    width: 100px;
    max-width: 80%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 12px;
    transform: rotate(4deg);
    filter: sepia(85%) contrast(95%) brightness(92%) saturate(70%);
    border: 5px solid #f2e2c4;
    outline: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .nosotras-chicas {
        bottom: -25px;
        right: -40px;
        width: 120px;
    }
        
}

.nosotras-chicas:hover {
    transform: rotate(4deg) scale(1.05);
    transition: 0.3s ease;
}

.historia-texto {
    margin-top: 2.5rem;
    width: 100%;
    max-width: 60rem;
}

.historia h1 {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.historia-texto p {
    margin: 0 0 1.8rem 0;
    line-height: 1.8;
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    color: #444;
    text-align: left;

}

@media (min-width: 768px) {
    .historia-texto {
        margin-top: 0;
    }
        
}


.origen-viraro {
    background-color: var(--blancoCalido);
    padding: 4rem 1.5rem;
}

.origen-contenedor {
    max-width: 110rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.origen-imagen {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 350px;
}

.origen-imagen img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    border-radius: 20px;
}

@media (min-width: 768px) {
    .origen-contenedor {
        display: grid;
        gap: 3rem;
        grid-template-columns: 1fr 1fr;
        align-items: center;

    }
    
}

.origen-viraro h2 {
    font-weight: 500;
    font-size: 4rem;
    margin-bottom: 4rem;
}

.origen-texto {
    max-width: 450px;
}

@media (min-width: 768px) {
    .origen-texto{
        padding-left: 2rem;
    }
        
}

.origen-texto p {
    max-width: 60rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.8;
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    color: #444;

}

/* Pagina Contacto */
.contacto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    padding: 0 2rem;
}
.titulo-contacto {
    gap: 4rem;
    margin-top: 6rem;
    color: var(--blancoCalido);
    font-size: 4rem;
}

.contacto-container p {
    max-width: 52rem;
    line-height: 1.8;
    margin-top: 1rem;
    font-size: clamp(1.8rem, 1.6vw, 2rem);
    color: var(--blancoCalido);
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.contacto-boton {
    display: inline-flex;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem 2.8rem;
    background-color: rgba(63, 127, 143, 0.92);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    text-shadow: 0 10px 25px rgba(0,0,0,0.22);
}

.contacto-boton a {
    text-decoration: none;
    color: var(--blancoCalido);
    font-size: 1.4rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;

}

.contacto-boton:hover {
    background-color: var(--liebre);
    transform: translateY(-2px)
}

.contacto-boton svg {
    width: 25px;
    height: 25px;

    fill: var(--blancoCalido);
    transition: transform 0.3s ease, fill 0.3s ease;
}


.contacto-separador {
    height: 10rem;
    background: linear-gradient(
        rgba(255,255,255,0),
        var(--blancoCalido)
    );
}