:root {
    --cream: #f2ecdf;
    --paper: #faf7f0;
    --terra: #a95037;
    --terra-dark: #783e30;
    --olive: #59634a;
    --forest: #354131;
    --gold: #d4a747;
    --ink: #292a22;
    --muted: #777568;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans)
}

a {
    color: inherit;
    text-decoration: none
}

.site-header {
    min-height: 92px;
    padding: 12px clamp(22px, 6vw, 92px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--cream);
    position: relative;
    z-index: 5
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px
}

.brand img {
    width: 105px;
    height: 58px;
    object-fit: contain;
    mix-blend-mode: multiply
}

.brand span {
    color: var(--olive);
    font-size: 9px;
    letter-spacing: .22em;
    font-weight: 700
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
    font-size: 12px;
    font-weight: 600
}

.main-nav a:hover,
.text-link:hover {
    color: var(--terra)
}

.nav-cta {
    background: var(--terra);
    color: white;
    padding: 13px 23px
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 8px
}

.menu-toggle i {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--forest);
    margin: 5px
}

.hero {
    height: 660px;
    max-height: 78vw;
    min-height: 540px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background: var(--forest)
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(27, 38, 28, .65),
        rgba(27, 38, 28, .15)
    );
}

.hero-content,
.hero-note {
    z-index: 2;
}



.hero-content {
    position: relative;
    width: min(760px, 78%);
    margin-left: clamp(28px, 11vw, 165px);
    padding: 60px 0
}

.eyebrow {
    color: var(--terra);
    font-size: 10px;
    letter-spacing: .22em;
    font-weight: 700;
    margin: 0 0 20px
}

.eyebrow.light {
    color: #e6c77c
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(42px, 6.2vw, 82px);
    line-height: 1.08;
    margin: 0 0 22px
}

h1 em,
h2 em {
    color: var(--gold);
    font-weight: 500
}

.hero-copy {
    max-width: 475px;
    font-size: 15px;
    line-height: 1.8;
    color: #ffffffdc;
    margin-bottom: 34px
}

.button {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    font-size: 11px;
    font-weight: 700;
    transition: .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button-light {
    color: var(--forest);
    background: var(--cream)
}

.hero-note {
    position: absolute;
    right: 6vw;
    bottom: 36px;
    font-size: 9px;
    letter-spacing: .2em
}

.hero-note span {
    color: var(--gold);
    padding: 0 8px
}

.section-wrap {
    padding: 110px clamp(24px, 10vw, 150px)
}

.intro {
    display: grid;
    grid-template-columns: .55fr 1.15fr 1fr;
    align-items: center;
    gap: clamp(30px, 5vw, 78px)
}

.intro-stamp {
    font: clamp(35px, 4vw, 58px)/.9 var(--serif);
    color: var(--terra);
    letter-spacing: -.06em;
    transform: rotate(-8deg)
}

.intro-stamp span {
    display: block;
    color: var(--gold);
    font-size: 32px;
    margin: 14px 0 0 35px
}

h2 {
    font-size: clamp(34px, 4.3vw, 57px);
    line-height: 1.13;
    margin: 0 0 22px
}

.intro-copy h2 em,
.section-heading h2 em,
.surroundings-copy h2 em {
    color: var(--terra)
}

.intro-copy>p:not(.eyebrow),
.surroundings-copy>p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    max-width: 490px
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    color: var(--olive);
    font-size: 11px;
    font-weight: 700;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 9px
}

.photo {
    position: relative;
    overflow: hidden;
    background-color: #c9c4ad;
    background-position: center;
    background-size: cover
}

.photo>span {
    position: absolute;
    bottom: 14px;
    left: 15px;
    color: white;
    font-size: 8px;
    letter-spacing: .16em;
    text-shadow: 0 1px 5px #333
}

.intro-photo {
    height: 370px;
    background-image: linear-gradient(135deg, #67725c66, #a84f3644), url('assets/foto-complejo.jpg')
}

.stays {
    background: var(--cream)
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 48px
}

.section-heading h2 {
    margin-bottom: 0
}

.section-heading>p {
    max-width: 300px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 4px
}

.stay-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: start
}

.stay-card {
    background: var(--paper)
}

.stay-photo {
    height: 330px
}

.photo-cabanas {
    background-image: linear-gradient(135deg, #42503744, #a84f3633), url('assets/cabanas.jpg')
}

.photo-tiny {
    background-image: linear-gradient(135deg, #42503744, #a84f3633), url('assets/tiny-house.jpg')
}

.stay-card:first-child .stay-photo {
    height: 420px
}

.stay-info {
    padding: 25px 28px 30px
}

.kicker {
    font-size: 9px;
    letter-spacing: .17em;
    color: var(--terra);
    font-weight: 700
}

.stay-info h3 {
    font: 500 30px var(--serif);
    margin: 10px 0
}

.stay-info p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    max-width: 440px;
    margin: 0
}

.pool-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background: var(--forest);
    color: white
}

.pool-photo {
    min-height: 460px;
    background-image: linear-gradient(135deg, #323e2d33, #a84f3622), url('assets/piscina.jpg')
}

.pool-copy {
    align-self: center;
    padding: 70px clamp(30px, 7vw, 105px)
}

.pool-copy h2 {
    font-size: clamp(34px, 4vw, 54px)
}

.pool-copy>p:not(.eyebrow) {
    color: #ffffffbf;
    line-height: 1.9;
    font-size: 13px;
    max-width: 430px;
    margin: 0 0 28px
}

.button-outline {
    color: white;
    border: 1px solid #ffffff8c
}

.button-outline:hover {
    background: #ffffff1f
}

.centered {
    display: block;
    text-align: center
}

.centered .eyebrow {
    margin-bottom: 15px
}

.centered>p:last-child {
    color: var(--muted);
    font-size: 13px;
    margin: 15px auto 0
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 38px 28px;
    margin-top: 58px
}

.amenity-grid article {
    border-top: 1px solid #3541312e;
    padding-top: 20px
}

.amenity-grid article>span {
    color: var(--terra);
    font-size: 25px
}

.amenity-grid h3 {
    font: 500 19px var(--serif);
    margin: 14px 0 8px
}

.amenity-grid p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
    margin: 0
}

.surroundings {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: #e9e3d6
}

.surroundings-photo {
    min-height: 480px;
    background-image: linear-gradient(135deg, #42503733, #a84f3622), url('assets/villa-ventana.jpg')
}

.surroundings-copy {
    align-self: center;
    padding: 70px clamp(30px, 8vw, 115px)
}

.surroundings-copy h2 {
    font-size: clamp(34px, 4vw, 52px)
}

.contact {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    background: var(--terra-dark);
    color: white
}

.contact h2 {
    font-size: clamp(40px, 5vw, 64px)
}

.contact h2 em {
    color: #e7c47b
}

.contact>div:first-child>p:not(.eyebrow) {
    max-width: 440px;
    color: #ffffffc7;
    font-size: 13px;
    line-height: 1.9
}

.contact-info {
    border-left: 1px solid #ffffff40;
    padding-left: 45px;
    align-self: center
}

.contact-info .kicker {
    color: #e7c47b
}

.contact-info p {
    font-size: 13px;
    line-height: 1.8;
    color: #ffffffd9;
    margin: 10px 0 28px
}

.footer {
    padding: 35px clamp(24px, 6vw, 90px) 24px;
    background: var(--forest);
    color: #ffffffbf;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: center
}

.footer>a:first-child {
    color: white;
    font: 24px var(--serif)
}

.footer em {
    color: var(--gold)
}

.footer>span {
    text-align: center;
    font-size: 10px;
    letter-spacing: .1em
}

.footer>a:nth-child(3) {
    text-align: right;
    font-size: 9px;
    letter-spacing: .15em
}

.footer small {
    grid-column: 1/-1;
    border-top: 1px solid #ffffff26;
    padding-top: 18px;
    margin-top: 10px;
    font-size: 9px;
    color: #ffffff80
}

@media(max-width:900px) {
    .site-header {
        min-height: 78px
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 22px;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        box-shadow: 0 12px 20px #00000014
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        padding: 8px 4px
    }

    .main-nav .nav-cta {
        text-align: center;
        padding: 14px
    }

    .intro {
        grid-template-columns: .35fr 1fr
    }

    .intro-photo {
        grid-column: 2;
        height: 300px
    }

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .hero {
        height: 650px;
        min-height: 0;
        max-height: none
    }

    .hero-content {
        width: auto;
        margin: 0 25px;
        padding: 35px 0
    }

    .hero-note {
        left: 26px;
        right: auto;
        bottom: 25px
    }

    .section-wrap {
        padding: 76px 25px
    }

    .intro {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px
    }

    .intro-stamp {
        font-size: 38px
    }

    .intro-stamp span {
        display: inline;
        margin-left: 12px
    }

    .intro-photo {
        height: 260px
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        margin-top: 20px
    }

    .stay-grid,
    .pool-band,
    .surroundings,
    .contact {
        grid-template-columns: 1fr
    }

    .stay-card:first-child .stay-photo,
    .stay-photo {
        height: 270px
    }

    .pool-photo {
        min-height: 300px
    }

    .pool-copy {
        padding: 65px 25px
    }

    .amenity-grid {
        gap: 28px 18px
    }

    .amenity-grid h3 {
        font-size: 17px
    }

    .surroundings-photo {
        min-height: 300px
    }

    .surroundings-copy {
        padding: 65px 25px
    }

    .contact {
        gap: 35px
    }

    .contact-info {
        border-left: 0;
        border-top: 1px solid #ffffff40;
        padding: 30px 0 0
    }

    .footer {
        grid-template-columns: 1fr 1fr
    }

    .footer>span {
        text-align: right
    }

    .footer>a:nth-child(3) {
        grid-column: 1/-1;
        text-align: left
    }
}

/* Páginas interiores, galería y contacto */
.page-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, #1d291ed9, #1d291e55), url('imagenes/slider/cabanias-del-lolo-01.jpg') center/cover;
    padding: 70px clamp(25px, 10vw, 150px)
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    margin: 0 0 14px
}

.page-hero p {
    max-width: 620px;
    line-height: 1.8;
    color: #ffffffdc
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center
}

.detail-grid img {
    width: 100%;
    height: 420px;
    object-fit: cover
}

.detail-copy p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted)
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 25px 0;
    padding: 0;
    list-style: none
}

.feature-list li {
    padding: 13px 15px;
    background: var(--cream);
    font-size: 12px
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.gallery-grid a {
    display: block;
    height: 260px;
    overflow: hidden;
    background: var(--cream)
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s
}

.gallery-grid a:hover img {
    transform: scale(1.04)
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.contact-form label {
    font-size: 11px;
    font-weight: 700;
    color: #fffdf8;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d9d1c3;
    background: #fffdf8;
    padding: 13px;
    font: 13px var(--sans);
    color: var(--ink);
    border-radius: 0
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical
}

.contact-form .wide {
    grid-column: 1/-1
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.form-note {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6
}

.map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    display: block
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 27px;
    box-shadow: 0 5px 20px #0003
}

.whatsapp-float[hidden] {
    display: none
}

.lightbox-clean .gslide-description {
    background: #222
}

.site-header .brand img {
    max-width: 110px
}

@media(max-width:700px) {

    .detail-grid,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .detail-grid img {
        height: 290px
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px
    }

    .gallery-grid a {
        height: 190px
    }

    .contact-form {
        grid-template-columns: 1fr
    }

    .contact-form .wide {
        grid-column: auto
    }

    .feature-list {
        grid-template-columns: 1fr 1fr
    }

    .page-hero {
        min-height: 300px
    }
}

/* Navegación principal y desplegable de unidades */
.main-nav {
    gap: clamp(14px, 2.2vw, 32px)
}

.nav-dropdown {
    position: relative
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink)
}

.nav-dropdown summary::-webkit-details-marker {
    display: none
}

.nav-dropdown summary:after {
    content: '⌄';
    margin-left: 7px;
    color: var(--terra)
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 210px;
    padding: 10px;
    background: var(--paper);
    box-shadow: 0 12px 28px #0000001c;
    z-index: 30
}

.nav-dropdown[open] .dropdown-menu {
    display: grid
}

@media (hover:hover) and (pointer:fine) {

    .nav-dropdown:hover>.dropdown-menu,
    .nav-dropdown:focus-within>.dropdown-menu {
        display: grid
    }

    .nav-dropdown:hover>summary:after,
    .nav-dropdown:focus-within>summary:after {
        content: '⌃'
    }
}

.dropdown-menu a {
    padding: 11px 12px;
    font-size: 12px;
    white-space: nowrap
}

.dropdown-menu a:hover {
    background: var(--cream)
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .units-grid {
        grid-template-columns: 1fr;
    }
}

.units-grid .stay-photo,
.units-grid .stay-card:first-child .stay-photo {
    height: 250px;
    display: block
}

.units-grid .stay-info {
    min-height: 190px
}

.unit-hero {
    background-image: linear-gradient(90deg, #1d291ed9, #1d291e55), var(--unit-image);
    background-position: center;
    background-size: cover
}

.unit-hero h1 em {
    color: var(--gold)
}

.unit-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px
}

.unit-services {
    background: var(--cream)
}

.unit-gallery-section {
    background: var(--paper)
}

.unit-reservation {
    scroll-margin-top: 20px
}

#galeria,
#ubicacion,
#reservas {
    scroll-margin-top: 25px
}

@media(max-width:900px) {
    .main-nav {
        gap: 10px
    }

    .nav-dropdown summary {
        padding: 8px 4px
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 4px 0 4px 16px;
        background: transparent
    }

    .dropdown-menu a {
        padding: 9px 8px
    }

    .units-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .main-nav.open {
        display: flex
    }
}

@media(max-width:620px) {
    .units-grid {
        grid-template-columns: 1fr
    }

    .units-grid .stay-photo,
    .units-grid .stay-card:first-child .stay-photo {
        height: 250px
    }

    .unit-hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: max-content;
        max-width: 100%
    }

    .unit-hero-actions .button {
        justify-content: space-between
    }

    .nav-dropdown summary {
        padding: 8px 4px
    }
}

.photo-complejo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pool-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.surroundings img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.accessibility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.accessibility-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}
.photo-cabanas {
    background-image: url('imagenes/cabana/cabana-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.photo-cabanas2 {
    background-image: url('imagenes/cabana/cabana-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.photo-cabanas3 {
    background-image: url('imagenes/cabana/cabana-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.photo-tiny {
    background-image: url('imagenes/cabana/tiny.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.map-frame {
    filter: grayscale(0.65) sepia(0.18) saturate(0.75);
}
.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    display: block;
}