/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 110px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #2f332d;
    background: #faf9f5;
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   BARRA DE CONTACTO
========================================================= */

.contact-bar {
    background: #30372c;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-bar-container {
    max-width: 1200px;
    margin: auto;

    padding: 7px 25px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 25px;
}

.contact-bar a {
    color: #ddd;

    font-size: 13px;

    transition: color 0.3s ease;
}

.contact-bar a:hover {
    color: #d8b879;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(30, 38, 29, 0.92);
    backdrop-filter: blur(10px);

    color: white;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 18px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: bold;

    white-space: nowrap;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


/* MENÚ */

.menu {
    display: flex;
    align-items: center;
    gap: 25px;

    list-style: none;
}

.menu a {
    font-size: 14px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #d8b879;
}


/* BOTÓN HAMBURGUESA */

.menu-button {
    display: none;

    background: transparent;
    border: none;

    color: white;
    font-size: 30px;

    cursor: pointer;

    padding: 5px 10px;
    line-height: 1;
}


/* IDIOMAS */

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-left: 20px;

    font-size: 13px;
}

.language-selector a {
    color: #aaa;
    transition: color 0.3s ease;
}

.language-selector a:hover,
.language-selector a.active {
    color: #d8b879;
    font-weight: bold;
}

.language-selector span {
    color: #666;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.45)
        ),
        url("fotos/exterior.jpg") center / cover;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;

    padding: 130px 20px 60px;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-family: Georgia, serif;

    font-size: clamp(45px, 7vw, 85px);

    line-height: 1;

    margin-bottom: 25px;
}

.hero p {
    max-width: 650px;

    margin: 0 auto 35px;

    font-size: 20px;
}


/* =========================================================
   BOTONES
========================================================= */

.button {
    display: inline-block;

    background: #b7955c;
    color: white;

    padding: 15px 28px;

    border-radius: 4px;

    font-weight: bold;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.button:hover {
    background: #967844;
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;

    border: 1px solid white;

    margin-left: 10px;
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

section {
    padding: 50px 20px;
}

.container {
    max-width: 1150px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title span {
    color: #b7955c;

    text-transform: uppercase;

    letter-spacing: 3px;

    font-size: 13px;
    font-weight: bold;
}

.section-title h2 {
    margin-top: 8px;

    color: #30372c;

    font-family: Georgia, serif;

    font-size: 45px;
}

.section-title p {
    max-width: 650px;

    margin: 15px auto 0;

    color: #73766f;
}


/* =========================================================
   LA CASA / INTRO
========================================================= */

.intro {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.intro img {
    height: 500px;

    border-radius: 5px;
}

.intro-text h3 {
    margin-bottom: 20px;

    color: #30372c;

    font-family: Georgia, serif;

    font-size: 38px;
}

.intro-text p {
    margin-bottom: 18px;

    color: #666b63;
}


/* CARACTERÍSTICAS */

.features {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-top: 25px;
}

.feature {
    background: white;

    padding: 18px;

    border-left: 3px solid #b7955c;
}


/* =========================================================
   GALERÍA
========================================================= */

.gallery {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    grid-auto-rows: 260px;

    gap: 12px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    cursor: pointer;

    border-radius: 5px;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item::after {
    content: "Ver foto";

    position: absolute;

    right: 15px;
    bottom: 15px;

    background: rgba(0, 0, 0, 0.65);

    color: white;

    padding: 7px 12px;

    font-size: 12px;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}


/* =========================================================
   HABITACIONES
========================================================= */

.rooms {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.room {
    overflow: hidden;

    background: white;

    border-radius: 5px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.room img {
    height: 240px;
}

.room-content {
    padding: 25px;
}

.room h3 {
    margin-bottom: 8px;

    font-family: Georgia, serif;

    font-size: 25px;
}

.room p {
    color: #777;
}


/* =========================================================
   ENTORNO / ACTIVIDADES
========================================================= */

.activities-section {
    background: #30372c;

    color: white;
}

.activities-section .section-title h2 {
    color: white;
}

.activities-section .section-title p {
    color: #d5d8d0;
}


/* ENLACE DEL TÍTULO */

.enlace-entorno {
    display: block;

    color: inherit;

    text-decoration: none;

    cursor: pointer;
}

.enlace-entorno h2 {
    transition: color 0.3s ease;
}

.enlace-entorno:hover h2 {
    color: #b7955c;
}

.enlace-entorno p {
    transition: color 0.3s ease;
}

.enlace-entorno:hover p {
    color: white;
}


/* ACTIVIDADES */

.activities {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.activity {
    display: block;

    padding: 35px 20px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: inherit;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.activity:hover {
    background: rgba(255, 255, 255, 0.06);

    transform: translateY(-6px);
}

.activity-icon {
    margin-bottom: 15px;

    font-size: 38px;
}

.activity h3 {
    margin-bottom: 8px;

    transition: color 0.3s ease;
}

.activity:hover h3 {
    color: #d8b879;
}

.activity p {
    color: #cfd2ca;

    font-size: 14px;
}


/* =========================================================
   TARIFAS
========================================================= */

.prices {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1000px;

    margin: auto;
}

.price-card {
    position: relative;

    padding: 35px 25px;

    background: white;

    border: 1px solid #e5e2d9;

    text-align: center;
}

.price-card.featured {
    border: 2px solid #b7955c;

    transform: scale(1.03);
}

.price-card .tag {
    position: absolute;

    top: -14px;
    left: 50%;

    transform: translateX(-50%);

    background: #b7955c;

    color: white;

    padding: 5px 15px;

    font-size: 11px;

    text-transform: uppercase;
}

.price-card h3 {
    font-family: Georgia, serif;

    font-size: 25px;
}

.price {
    margin: 15px 0;

    color: #b7955c;

    font-size: 40px;

    font-weight: bold;
}

.price small {
    color: #777;

    font-size: 14px;
}

.price-card ul {
    margin: 20px 0;

    color: #666;

    list-style: none;
}

.price-card li {
    padding: 7px 0;

    border-bottom: 1px solid #eee;
}


/* =========================================================
   UBICACIÓN
========================================================= */

.location {
    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 40px;

    align-items: stretch;
}

.location-info {
    padding: 45px;

    background: #30372c;

    color: white;
}

.location-info h3 {
    margin-bottom: 20px;

    font-family: Georgia, serif;

    font-size: 35px;
}

.location-info p {
    margin-bottom: 20px;

    color: #d2d5ce;
}

.map {
    min-height: 450px;
}

.map iframe {
    width: 100%;
    height: 100%;

    min-height: 450px;

    border: 0;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 20px;

    font-family: Georgia, serif;

    font-size: 38px;
}

.contact-item {
    display: flex;

    gap: 15px;

    margin: 22px 0;
}

.contact-icon {
    font-size: 24px;
}

.contact-item strong {
    display: block;

    margin-bottom: 3px;
}

.contact-item span {
    color: #70746c;
}


/* FORMULARIO */

.contact-form {
    padding: 35px;

    background: white;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px;

    border: 1px solid #ddd;

    font-family: inherit;
    font-size: 15px;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b7955c;
}

.form-group textarea {
    min-height: 130px;

    resize: vertical;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 45px 20px;

    background: #242921;

    color: white;

    text-align: center;
}

footer h2 {
    margin-bottom: 10px;

    font-family: Georgia, serif;
}

footer p {
    color: #aaa;

    font-size: 14px;
}

.footer-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;

    font-size: 14px;
}

.footer-links a {
    color: #ccc;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d8b879;
}

.footer-links span {
    color: #777;
}

.copyright {
    margin-top: 20px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.96);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    width: 96vw;
    height: 94vh;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    display: block;

    width: auto;
    height: auto;

    max-width: 96vw;
    max-height: 82vh;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-text {
    width: 100%;

    max-width: 850px;

    margin-top: 12px;

    color: white;

    text-align: center;
}

.lightbox-text h3 {
    margin-bottom: 3px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
}

.lightbox-text p {
    color: #ddd;

    font-size: 14px;
}


/* BOTÓN CERRAR */

.close-lightbox {
    position: absolute;

    top: 20px;
    right: 30px;

    z-index: 10;

    color: white;

    font-size: 40px;

    line-height: 1;

    cursor: pointer;

    user-select: none;
}


/* FLECHAS */

.prev,
.next {
    position: absolute;

    top: 50%;

    z-index: 10;

    transform: translateY(-50%);

    padding: 20px;

    color: white;

    font-size: 45px;

    line-height: 1;

    cursor: pointer;

    user-select: none;

    transition: color 0.3s ease;
}

.prev:hover,
.next:hover {
    color: #d8b879;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}


/* =========================================================
   BOTÓN WHATSAPP
========================================================= */

.whatsapp {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 1500;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #25d366;

    color: white;

    border-radius: 50%;

    font-size: 28px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.whatsapp:hover {
    transform: scale(1.08);

    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    /* NAV */

    .menu-button {
        display: block;
    }

    nav {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: rgba(30, 38, 29, 0.98);
    }

    .menu {
        display: none;

        flex-direction: column;

        width: 100%;

        gap: 0;

        padding: 10px 0;
    }

    .menu.open {
        display: flex;
    }

    .menu li {
        width: 100%;

        text-align: center;
    }

    .menu li a {
        display: block;

        width: 100%;

        padding: 14px 20px;

        color: white;

        font-size: 16px;
    }

    .menu li a:hover {
        background: rgba(216, 184, 121, 0.12);

        color: #d8b879;
    }


    /* CONTENIDO */

    .intro,
    .location,
    .contact {
        grid-template-columns: 1fr;
    }

    .rooms {
        grid-template-columns: 1fr 1fr;
    }

    .activities {
        grid-template-columns: 1fr 1fr;
    }

    .prices {
        grid-template-columns: 1fr;

        max-width: 500px;
    }

    .price-card.featured {
        transform: none;
    }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    section {
    padding: 25px 18px;
    scroll-margin-top: 105px;
    }


    /* NAV */

    .nav-container {
        padding: 12px 18px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .menu-button {
        font-size: 30px;
    }

    .language-selector {
        margin-left: auto;
        margin-right: 5px;

        font-size: 12px;
    }


    /* HERO */

    .hero {
        min-height: 98vh;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }


    /* BOTONES */

    .button {
        display: block;

        width: 100%;

        margin: 10px 0 !important;

        text-align: center;
    }


    /* GALERÍA */

    .gallery {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 180px;
    }

    .gallery-item:first-child {
        grid-column: span 2;

        grid-row: span 1;
    }


    /* HABITACIONES / ACTIVIDADES */

    .rooms,
    .activities {
        grid-template-columns: 1fr;
    }


    /* INTRO */

    .intro img {
        height: 350px;
    }

    .intro-text h3 {
        font-size: 32px;
    }

    .features {
        grid-template-columns: 1fr;
    }


    /* UBICACIÓN */

    .location-info {
        padding: 30px;
    }

    .map,
    .map iframe {
        min-height: 350px;
    }


    /* TÍTULOS */

    .section-title h2 {
        font-size: 36px;
    }


    /* LIGHTBOX */

    .lightbox {
        padding: 10px;
    }

    .lightbox-content {
        width: 100%;
        height: 90vh;
    }

    .lightbox-content img {
        max-width: 94vw;
        max-height: 70vh;
    }

    .lightbox-text {
        max-width: 90vw;

        margin-top: 10px;
    }

    .lightbox-text h3 {
        font-size: 15px;
    }

    .lightbox-text p {
        font-size: 13px;
    }

    .close-lightbox {
        top: 12px;
        right: 18px;

        font-size: 35px;
    }

    .prev,
    .next {
        padding: 10px;

        font-size: 38px;
    }

    .prev {
        left: 3px;
    }

    .next {
        right: 3px;
    }


    /* WHATSAPP */

    .whatsapp {
        right: 15px;
        bottom: 15px;

        width: 54px;
        height: 54px;

        font-size: 25px;
    }


    /* FOOTER */

    .footer-links {
        gap: 6px;

        font-size: 13px;
    }
}














/* =========================================================
   PÁGINAS LEGALES
========================================================= */

.legal-page {
    padding: 140px 20px 90px;
    min-height: calc(100vh - 300px);
    background: #faf9f5;
}

.legal-container {
    max-width: 950px;
    margin: auto;
    background: white;
    padding: 55px 65px;
    border-radius: 5px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e2d9;
}

.legal-header span {
    color: #b7955c;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: bold;
}

.legal-header h1 {
    margin-top: 10px;
    color: #30372c;
    font-family: Georgia, serif;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.15;
}

.legal-header p {
    margin-top: 15px;
    color: #73766f;
    font-size: 14px;
}

.legal-content {
    color: #555a52;
    font-size: 16px;
}

.legal-content h2 {
    margin-top: 38px;
    margin-bottom: 15px;
    color: #30372c;
    font-family: Georgia, serif;
    font-size: 28px;
}

.legal-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #30372c;
    font-size: 19px;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
    margin: 10px 0 20px 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: #9a7b47;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #70572f;
}

.legal-box {
    margin: 25px 0;
    padding: 22px 25px;
    background: #f5f3ec;
    border-left: 4px solid #b7955c;
}

.legal-box strong {
    color: #30372c;
}

.legal-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.legal-table th,
.legal-table td {
    padding: 13px 15px;
    border: 1px solid #e2dfd6;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: #30372c;
    color: white;
    font-weight: bold;
}

.legal-table td {
    background: #fff;
}

.legal-back {
    text-align: center;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #e5e2d9;
}

.legal-back .button {
    margin: 0;
}


/* =========================================================
   PÁGINAS LEGALES - MÓVIL
========================================================= */

@media (max-width: 600px) {

    .legal-page {
        padding: 105px 15px 60px;
    }

    .legal-container {
        padding: 35px 22px;
    }

    .legal-header {
        margin-bottom: 35px;
    }

    .legal-header h1 {
        font-size: 36px;
    }

    .legal-content {
        font-size: 15px;
    }

    .legal-content h2 {
        font-size: 25px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

}


.intro-text h3 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 600;
}

.intro-text h3 span {
    display: block;
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
}

.intro-text h3 span::before {
    content: "✦ ";
}
/* Controles de galería accesibles */
.close-lightbox,
.prev,
.next {
    border: 0;
    background: transparent;
    font-family: inherit;
}

.close-lightbox:focus-visible,
.prev:focus-visible,
.next:focus-visible,
.menu-button:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #d8b879;
    outline-offset: 3px;
}
