:root {
     color-scheme: light dark;
     --ink: light-dark(#183028, #eef4ef);
     --muted: light-dark(#61716b, #b8c7bf);
     --paper: light-dark(#f7f5ef, #151b19);
     --paper2: light-dark(#fffdf8, #1d2522);
     --forest: light-dark(#21483c, #b6d3c5);
     --accent: light-dark(#c9a56a, #e1c58f);
     --line: light-dark(rgba(24, 48, 40, .13), rgba(238, 244, 239, .13));
     --shadow: 0 24px 70px rgba(20, 35, 29, .12)
 }

 * {
     box-sizing: border-box
 }

 html {
     scroll-behavior: smooth
 }

 body {
     margin: 0;
     background: var(--paper);
     color: var(--ink);
     font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
 }

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

 button {
     font: inherit
 }

 .root {
     min-height: 100vh;
     background: var(--paper)
 }

 .hero{
    min-height:100vh;
    height:100vh;
    height:100svh;

    position:relative;
    display:block;

    overflow:hidden;

    margin:0;
    padding:0;

    background:#183028;
}


/* =========================================================
   SLIDER
   ========================================================= */

.hero-slider{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    overflow:hidden;

    z-index:0;
}


.hero-track{
    position:absolute;

    top:0;
    left:0;

    width:300%;
    height:100%;

    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;

    margin:0;
    padding:0;

    transform:translateX(0);

    transition:
        transform .8s cubic-bezier(.77,0,.175,1);
}


.hero-slide{
    position:relative;

    flex:0 0 33.333333%;

    width:33.333333%;
    min-width:33.333333%;
    max-width:33.333333%;

    height:100%;

    margin:0;
    padding:0;

    overflow:hidden;
}


.hero-slide img{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    max-width:none;

    margin:0;
    padding:0;

    object-fit:cover;
    object-position:center center;

    display:block;
}


/* =========================================================
   OSCURECIMIENTO DE LA FOTO
   ========================================================= */

.hero-overlay{
    position:absolute;

    inset:0;

    z-index:1;

    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(8,27,22,.30) 0%,
            rgba(8,27,22,.05) 38%,
            rgba(8,27,22,.72) 100%
        );
}


/* =========================================================
   QUITAMOS LOS DECORADOS DEL HERO ORIGINAL
   ========================================================= */

.hero:before,
.hero:after{
    display:none;
}

.nav{
    position:fixed;
    z-index:100;

    top:0;
    left:0;
    right:0;

    width:100%;

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

    gap:30px;

    padding:12px clamp(22px, 5vw, 72px);

    color:#fff;

    background:rgba(15,38,31,.30);

    border-bottom:1px solid rgba(255,255,255,.16);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    box-shadow:
        0 8px 30px rgba(0,0,0,.12),
        inset 0 -1px 0 rgba(255,255,255,.05);

    transition:
        background .3s ease,
        box-shadow .3s ease;
}

.brand{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.brand img{
    display:block;
    width:auto;
    height:48px;
    max-width:210px;
    object-fit:contain;
}

.navlinks{
    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:28px;

    flex-wrap:nowrap;
    white-space:nowrap;

    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.14em;
}

.navlinks a{
    opacity:.90;
    flex-shrink:0;

    transition:opacity .2s ease;
}

.navlinks a:hover{
    opacity:1;
}

.navcta{
    border:1px solid rgba(255,255,255,.48);

    padding:7px 17px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    white-space:nowrap;
    flex-shrink:0;

    transition:
        background .2s ease,
        color .2s ease;
}

.navcta:hover{
    background:#fff;
    color:#21483c;
}

.navlinks .navcta{
    white-space:nowrap;
}

 .hero-content {
     position: relative;
     z-index: 2;
     max-width: 1180px;
     width: 100%;
     margin: auto;
     padding: 150px clamp(22px, 7vw, 92px) 82px;
     color: #fff
 }

 .eyebrow {
     font-size: 12px;
     letter-spacing: .28em;
     text-transform: uppercase;
     opacity: .84;
     margin-bottom: 18px
 }

 .hero h1 {
     font: 400 clamp(60px, 10vw, 98px)/.88 Georgia, serif;
     margin: 0;
     letter-spacing: -.055em;
     max-width: 820px
 }

 .hero p {
     font: 400 clamp(19px, 2.3vw, 27px)/1.35 Georgia, serif;
     max-width: 590px;
     margin: 30px 0
 }

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

 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 14px 20px;
     border-radius: 999px;
     border: 1px solid rgba(255, 255, 255, .42);
     font-size: 13px
 }

 .btn.primary {
     background: #fff;
     color: #1d4236;
     border-color: #fff
 }

 .hero-stats {
     position: absolute;
     z-index: 3;
     right: clamp(22px, 5vw, 72px);
     bottom: 42px;
     display: flex;
     gap: 12px
 }

 .stat {
     backdrop-filter: blur(12px);
     background: rgba(12, 33, 27, .32);
     border: 1px solid rgba(255, 255, 255, .18);
     border-radius: 18px;
     padding: 14px 16px;
     min-width: 130px;
     color: #FFF;
 }

 .stat b {
     display: block;
     font: 400 24px Georgia, serif
 }

 .stat span {
     font-size: 11px;
     opacity: .78
 }

 .section {
     padding: clamp(74px, 10vw, 132px) clamp(22px, 7vw, 92px);
     max-width: 1320px;
     margin: auto
 }

 .kicker {
     font-size: 11px;
     text-transform: uppercase;
     letter-spacing: .24em;
     color: var(--forest);
     margin-bottom: 18px
 }

 .gold {
     color: #d9c28f
 }

 .section h2 {
     font: 400 clamp(40px, 6vw, 76px)/.98 Georgia, serif;
     letter-spacing: -.04em;
     margin: 0 0 24px;
     max-width: 850px
 }

 .lead {
     font-size: 18px;
     line-height: 1.75;
     color: var(--muted);
     max-width: 700px
 }

 .split {
     display: grid;
     grid-template-columns: 1.05fr .95fr;
     gap: clamp(30px, 7vw, 100px);
     align-items: center
 }

 .visual {
     max-height: 500px;
     border-radius: 32px;
     position: relative;
     overflow: hidden;
     background: linear-gradient(135deg, #e5d6b8, #86a58b 42%, #2f6453 43%, #a8c5b3 76%, #efe8d7);
     box-shadow: var(--shadow)
 }

 .visual:before {
     content: "";
     position: absolute;
     width: 74%;
     height: 34%;
     left: 13%;
     bottom: 12%;
     box-shadow: 0 22px 0 -5px rgba(25, 70, 57, .25)
 }

 .visual:after {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 38%, rgba(22, 57, 45, .18))
 }

 .cards {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 18px;
     margin-top: 44px
 }

 .card {
     background: var(--paper2);
     border: 1px solid var(--line);
     border-radius: 26px;
     padding: 28px;
     min-height: 190px;
     box-shadow: 0 10px 35px rgba(20, 35, 29, .04)
 }

 .card .icon {
     font-size: 27px;
     margin-bottom: 24px
 }

 .card h3 {
     font: 400 25px Georgia, serif;
     margin: 0 0 9px
 }

 .card p {
     margin: 0;
     color: var(--muted);
     line-height: 1.6;
     font-size: 14px
 }

 .feature {
     background: var(--forest);
     color: #fff;
     border-radius: 34px;
     padding: clamp(34px, 6vw, 74px);
     position: relative;
     overflow: hidden;
     background-image: url(./images/piscina.jpg);
 }

 .feature:after {
     content: "";
     position: absolute;
     width: 430px;
     height: 430px;
     border-radius: 50%;
     right: -160px;
     top: -190px;
     background: rgba(255, 255, 255, .08)
 }

 .feature h2 {
     max-width: 720px
 }

 .feature .lead {
     color: rgba(255, 255, 255, .78)
 }

 .numbers {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
     margin-top: 48px
 }

 .number {
     border-top: 1px solid rgba(255, 255, 255, .25);
     padding-top: 18px
 }

 .number strong {
     display: block;
     font: 400 46px Georgia, serif
 }

 .number span {
     font-size: 12px;
     opacity: .72
 }

 .gallery {
     display: grid;
     grid-template-columns: 1.25fr .75fr;
     gap: 18px;
     margin-top: 42px
 }

 .gallery .tile {
     min-height: 250px;
     border-radius: 26px;
     overflow: hidden;
     position: relative
 }

 .tile.large {
     grid-row: span 2;
     min-height: 518px
 }

 .tile:nth-child(1) {
     background: linear-gradient(145deg, #173f34, #73a68b 55%, #d5c29a)
 }

 .tile:nth-child(2) {
     background: linear-gradient(145deg, #cdbb94, #668a70)
 }

 .tile:nth-child(3) {
     background: linear-gradient(145deg, #d8e0d1, #467460)
 }

 .tile:before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .35), transparent 28%), linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .25))
 }

 .tile span {
     position: absolute;
     left: 22px;
     bottom: 18px;
     color: #fff;
     font-size: 12px;
     letter-spacing: .16em;
     text-transform: uppercase
 }

 .location {
     background: var(--paper2);
     border-top: 1px solid var(--line);
     border-bottom: 1px solid var(--line)
 }

 .map {
     height: 380px;
     border-radius: 30px;
     overflow: hidden;
     background: linear-gradient(135deg, #d9dfd3 0 25%, #e9e3d2 25% 50%, #d2ddcf 50% 72%, #e8d9ba 72%);
     position: relative
 }

 .road {
     position: absolute;
     height: 8px;
     background: rgba(90, 103, 95, .35);
     transform: rotate(-15deg);
     width: 130%;
     left: -10%;
     top: 48%
 }

 .road.two {
     transform: rotate(28deg);
     top: 30%;
     background: rgba(90, 103, 95, .22)
 }

 .pin {
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translate(-50%, -50%);
     width: 24px;
     height: 24px;
     border: 6px solid #fff;
     border-radius: 50%;
     background: #bd8d55;
     box-shadow: 0 7px 22px rgba(0, 0, 0, .25)
 }

 .contact {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 24px;
     align-items: stretch
 }

 .contactbox {
     padding: 40px;
     border-radius: 30px;
     background: var(--forest);
     color: #fff
 }

 .contactbox h2 {
     color: #fff
 }

 .contactbox p {
     color: rgba(255, 255, 255, .78);
     line-height: 1.7
 }

 .contactlinks {
     display: grid;
     gap: 10px;
     margin-top: 26px
 }

 .contactlinks a {
     padding: 14px 16px;
     border: 1px solid rgba(255, 255, 255, .18);
     border-radius: 14px
 }

 .mini {
     font-size: 11px;
     text-transform: uppercase;
     letter-spacing: .16em;
     opacity: .65;
     display: block;
     margin-bottom: 5px
 }

 .faq {
     display: grid;
     gap: 10px
 }

 .faq details {
     background: var(--paper2);
     border: 1px solid var(--line);
     border-radius: 18px;
     padding: 18px 20px
 }

 .faq summary {
     cursor: pointer;
     font-family: Georgia, serif;
     font-size: 18px
 }

 .faq p {
     color: var(--muted);
     line-height: 1.65;
     margin-bottom: 0
 }

 footer {
     padding: 34px clamp(22px, 7vw, 92px);
     display: flex;
     justify-content: space-between;
     gap: 20px;
     color: var(--muted);
     font-size: 12px;
     border-top: 1px solid var(--line)
 }

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;

    z-index:20;

    width:60px;
    height:60px;

    border-radius:50%;

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

    background:#25D366;
    color:#fff;

    box-shadow:
        0 12px 30px rgba(15,50,38,.28),
        0 3px 10px rgba(0,0,0,.12);

    border:3px solid rgba(255,255,255,.92);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.whatsapp svg{
    width:31px;
    height:31px;

    display:block;

    fill:currentColor;
}

.whatsapp:hover{
    transform:scale(1.08);

    box-shadow:
        0 16px 38px rgba(15,50,38,.34),
        0 4px 12px rgba(0,0,0,.14);
}

.whatsapp:active{
    transform:scale(.96);
}

@media(max-width:560px){

    .whatsapp{
        width:56px;
        height:56px;

        right:16px;
        bottom:16px;
    }

    .whatsapp svg{
        width:29px;
        height:29px;
    }
}

 .reveal {
     opacity: 0;
     transform: translateY(24px);
     transition: opacity .8s ease, transform .8s ease;
     padding: 50px 100px;
 }

 .reveal.visible {
     opacity: 1;
     transform: none
     
 }

 .dark-btn {
     color: var(--forest);
     border-color: var(--line);
     margin-top: 18px
 }

 .contact-visual {
     min-height: 100%;
     background: linear-gradient(145deg, #c9b184, #527b66 40%, #244f40 70%, #8eb19b)
 }

@media(max-width:850px){

    .navlinks{
        display:none;
    }

    .hero{
        min-height:100svh;
        height:100svh;
    }

    .hero-content{
        position:absolute;

        left:0;
        bottom:0;

        width:100%;

        padding:
            0 22px 150px;
    }

    .hero-stats{
        position:absolute;

        right:22px;
        bottom:24px;

        padding:0;

        display:flex;

        flex-wrap:wrap;

        gap:7px;
    }

    .split,
    .contact{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:1fr 1fr;
    }

    .gallery{
        grid-template-columns:1fr 1fr;
    }

    .tile.large{
        grid-row:auto;
        min-height:350px;
    }

    .section{
        padding-top:80px;
        padding-bottom:80px;
    }
}

 @media(max-width:560px){

    .hero{
        height:100svh;
        min-height:100svh;
    }

    .hero h1{
        font-size:58px;
    }

    .hero p{
        font-size:20px;
    }

    .hero-content{
        padding:
            0 22px 145px;
    }

    .cards,
    .gallery,
    .numbers{
        grid-template-columns:1fr;
    }

    .visual{
        min-height:360px;
    }

    .tile.large{
        min-height:330px;
    }

    .tile{
        min-height:220px;
    }

    .contactbox{
        padding:28px;
    }

    .stat{
        min-width:120px;
    }


}

@media(max-width:850px){

    .nav{
        padding:10px 20px;
    }

    .brand img{
        height:42px;
        max-width:180px;
    }

    .navlinks{
        display:none;
    }

}

@media(max-width:560px){

    .nav{
        padding:9px 16px;
    }

    .brand img{
        height:40px;
        max-width:170px;
    }

}



/* =========================
   GALERÍA HORIZONTAL
   ALTOS DE COLONIA
========================= */

.gallery-section {
  padding: clamp(75px, 10vw, 140px)
           clamp(22px, 6vw, 90px);
  background: var(--paper);
  color: var(--ink);
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: .19em;
  line-height: 1.8;
  opacity: .7;
}

.gallery-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.gallery-heading h2 em {
  font-weight: 400;
}

.gallery-heading p {
  max-width: 440px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.8;
  opacity: .72;
}

.gallery-view-all {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  padding: 13px 0;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: opacity .25s ease;
}

.gallery-view-all:hover {
  opacity: .6;
}

/* CINTA HORIZONTAL */

.gallery-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.gallery-grid::-webkit-scrollbar {
  height: 4px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 10px;
}

/* TARJETAS */

.gallery-item {
  position: relative;
  display: block;
  flex: 0 0 clamp(280px, 38vw, 520px);
  height: clamp(300px, 36vw, 450px);
  min-width: 0;
  overflow: hidden;
  background: #d9ded6;
  isolation: isolate;
  scroll-snap-align: start;
  color: #fff;
  text-decoration: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  padding: 24px;
  color: #fff;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(9, 23, 18, .58) 100%
  );
  opacity: .96;
  transition: opacity .3s ease;
  pointer-events: none;
}

.gallery-zoom {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 17px;
  transition: background .25s ease, color .25s ease;
}

.gallery-item:hover .gallery-zoom {
  background: #fff;
  color: #21483c;
}

/* CONTROLES */

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}

.gallery-counter {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}

.gallery-counter-divider {
  opacity: .4;
}

.gallery-arrows {
  display: flex;
  gap: 9px;
}

.gallery-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    opacity .25s ease;
}

.gallery-arrow:hover:not(:disabled) {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.gallery-arrow:disabled {
  opacity: .3;
  cursor: default;
}

.gallery-item:focus-visible,
.gallery-view-all:focus-visible,
.gallery-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* TABLET */

@media (max-width: 760px) {
  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-item {
    flex-basis: 72vw;
    height: 350px;
  }
}

/* CELULAR */

@media (max-width: 480px) {
  .gallery-section {
    padding: 76px 18px;
  }

  .gallery-heading {
    margin-bottom: 26px;
  }

  .gallery-heading h2 {
    font-size: 39px;
  }

  .gallery-heading p {
    font-size: 13px;
  }

  .gallery-grid {
    gap: 9px;
    padding-bottom: 10px;
  }

  .gallery-item {
    flex-basis: 84%;
    height: 300px;
  }

  .gallery-overlay {
    padding: 15px;
    font-size: 8px;
    letter-spacing: .08em;
  }

  .gallery-zoom {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .gallery-controls {
    padding-top: 15px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
  .gallery-grid {
    scroll-behavior: auto;
  }

  .gallery-item img,
  .gallery-zoom,
  .gallery-view-all,
  .gallery-arrow {
    transition: none;
  }
}


/* =========================================
   MENÚ DESPLEGABLE · UNIDADES
========================================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    transition: transform .25s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -18px;

    min-width: 205px;
    padding: 9px;

    display: flex;
    flex-direction: column;
    gap: 2px;

    background: rgba(247, 245, 239, .97);
    color: #183028;

    border: 1px solid rgba(24, 48, 40, .10);
    border-radius: 13px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 13px;

    border-radius: 7px;

    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #183028;
    opacity: 1;

    transition:
        background .2s ease,
        color .2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: #e8e3d8;
    color: #21483c;
}

/* Mantener el desplegable por encima del contenido */

.nav {
    z-index: 100;
}

/* Accesibilidad */

.nav-dropdown-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .dropdown-arrow,
    .nav-dropdown-menu {
        transition: none;
    }
}

/* CORRECCIÓN DEL DESPLEGABLE UNIDADES */

.nav-dropdown-menu {
    top: 100%;
    padding-top: 12px;
    background-clip: padding-box;
}

/* Zona invisible que conecta el botón con el menú */
.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 14px;
}

/* Mantener abierto mientras el cursor esté en el conjunto */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


/* =========================================
   HERO · TÍTULO Y LEGIBILIDAD
========================================= */

/* Degradé sutil sobre las fotografías */
.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(8, 24, 19, .48) 0%,
            rgba(8, 24, 19, .25) 42%,
            rgba(8, 24, 19, .04) 100%
        ),
        linear-gradient(
            180deg,
            rgba(8, 24, 19, .22) 0%,
            transparent 30%,
            rgba(8, 24, 19, .12) 55%,
            rgba(8, 24, 19, .42) 100%
        );
}

/* Título principal */
.hero h1 {
    font-size: clamp(48px, 7vw, 76px);
    line-height: .98;
    letter-spacing: -.045em;
    max-width: 720px;

    text-shadow: 0 2px 22px rgba(0, 0, 0, .12);
}

/* Texto descriptivo */
.hero-content > p {
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.5;
    max-width: 510px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}

/* Ajustes para celulares */
@media (max-width: 560px) {
    .hero h1 {
        font-size: clamp(42px, 10vw, 54px);
        line-height: 1;
        letter-spacing: -.04em;
    }

    .hero-content > p {
        font-size: 17px;
        line-height: 1.45;
    }
}

/* =========================================
   GOOGLE MAPS · UBICACIÓN
========================================= */

.map.map-google {
    position: relative;
    height: 380px;
    min-height: 320px;
    overflow: hidden;
    border-radius: 30px;
    background: #e9e3d2;
    box-shadow: var(--shadow);
}

.map.map-google iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Ajuste para celulares */
@media (max-width: 560px) {
    .map.map-google {
        height: 320px;
        min-height: 320px;
        border-radius: 22px;
    }
}

/* GOOGLE MAPS · ALTOS DE COLONIA */

.map.map-google {
    position: relative;
    width: 100%;
    height: 380px;
    min-height: 320px;
    overflow: hidden;
    border-radius: 30px;
    background: #e9e3d2;
    box-shadow: var(--shadow);
}

.map.map-google iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 560px) {
    .map.map-google {
        height: 320px;
        min-height: 320px;
        border-radius: 22px;
    }
}

/* =========================================
   PISCINA · CONTRASTE Y TIPOGRAFÍA
========================================= */

.feature {
    position: relative;
    isolation: isolate;

    background-color: #21483c;
    background-image:
        linear-gradient(
            90deg,
            rgba(15, 35, 28, .82) 0%,
            rgba(15, 35, 28, .68) 48%,
            rgba(15, 35, 28, .38) 100%
        ),
        linear-gradient(
            0deg,
            rgba(12, 28, 22, .35),
            rgba(12, 28, 22, .12)
        ),
        url("./images/piscina.jpg");

    background-size: cover;
    background-position: center;
}

/* Evita que el decorado tape el contenido */
.feature::after {
    z-index: -1;
    pointer-events: none;
}

/* Etiqueta superior */
.feature .kicker.gold {
    color: #e6d0a3;
    font-size: 11px;
    letter-spacing: .22em;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .2);
}

/* Título principal */
.feature h2 {
    color: #fffdf8;
    max-width: 720px;
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}

/* Descripción */
.feature .lead {
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.75;
    max-width: 620px;
}

/* Cifras y datos */
.feature .number {
    border-top-color: rgba(255, 255, 255, .38);
}

.feature .number strong {
    color: #fffdf8;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .15);
}

.feature .number span {
    color: rgba(255, 255, 255, .88);
}

@media (max-width: 560px) {
    .feature {
        background-position: 58% center;
        border-radius: 24px;
    }

    .feature h2 {
        font-size: 39px;
        line-height: 1.08;
    }

    .feature .lead {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* =========================
   CONTACTO Y RESERVAS
   ALTOS DE COLONIA
========================= */

.contact-visual {
  padding: clamp(28px, 5vw, 62px);
  background: var(--paper2);
  color: var(--ink);
  border-radius: 28px;
}

.contact-form-heading {
  max-width: 650px;
  margin-bottom: 42px;
}

.contact-form-heading .section-kicker {
  margin-bottom: 18px;
}

.contact-form-heading h2 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.contact-form-heading h2 em {
  font-weight: 400;
}

.contact-form-heading p {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.booking-form-section {
  display: block;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}



.booking-section-content h3 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.booking-section-content > p {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-grid + .booking-grid,
.booking-field + .booking-field {
  margin-top: 19px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.booking-field label {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .035em;
}

.booking-field label span {
  color: var(--muted);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.booking-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(85, 91, 77, .10);
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: var(--muted);
  opacity: .75;
}

.booking-text-counter {
  align-self: flex-end;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}

.booking-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-size: 11px;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.booking-submit:hover {
  opacity: .9;
}

.booking-submit:active {
  transform: scale(.99);
}

.booking-submit:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

.booking-privacy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.booking-error {
  margin: 12px 0;
  color: #a43c32;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .contact-visual {
    padding: 27px 20px;
    border-radius: 20px;
  }

  .contact-form-heading {
    margin-bottom: 30px;
  }

  .contact-form-heading h2 {
    font-size: 38px;
  }

  .booking-form-section {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 10px;
    padding: 23px 0;
  }

  .booking-section-content h3 {
    font-size: 23px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-grid + .booking-grid,
  .booking-field + .booking-field {
    margin-top: 16px;
  }

  .booking-submit {
    padding: 0 16px;
    font-size: 10px;
  }
}

/* Alineación uniforme del formulario de contacto */

.contact-visual .booking-form-section {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 27px 0;
}

.contact-visual .booking-section-content {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.contact-visual .booking-section-content h3,
.contact-visual .booking-section-content > p,
.contact-visual .booking-field,
.contact-visual .booking-grid {
  margin-left: 0;
  margin-right: 0;
}

.contact-visual .booking-grid {
  width: 100%;
  box-sizing: border-box;
}

.contact-visual .booking-field input,
.contact-visual .booking-field select,
.contact-visual .booking-field textarea {
  width: 100%;
  box-sizing: border-box;
}

.contact-visual .booking-step {
  display: none;
}

/* Alinear campos y etiquetas del formulario */

.contact-visual .booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 19px;
}

.contact-visual .booking-grid .booking-field {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  align-self: start;
  gap: 9px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.contact-visual .booking-field label {
  display: block;
  min-height: 16px;
  margin: 0;
  line-height: 16px;
}

.contact-visual .booking-field input,
.contact-visual .booking-field select {
  display: block;
  width: 100%;
  height: 49px;
  min-height: 49px;
  margin: 0;
  box-sizing: border-box;
}

@media (max-width: 560px) {
  .contact-visual .booking-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* Evitar que el formulario quede recortado */

.visual.contact-visual {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  box-sizing: border-box;
}

.visual.contact-visual .booking-form {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.visual.contact-visual .booking-form-section,
.visual.contact-visual .booking-section-content {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.visual.contact-visual .booking-submit {
  flex-shrink: 0;
}

.visual.contact-visual .booking-privacy {
  padding-bottom: 8px;
}

/* =========================================
   CONTACTO · FORMULARIO A TODO EL ANCHO
   ALTOS DE COLONIA
========================================= */

#contacto .contact-full {
    display: block;
    width: 100%;
    max-width: none;
}

#contacto .contact-visual {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    min-height: 0;
    max-height: none;

    padding: clamp(28px, 5vw, 62px);

    overflow: visible;
    box-sizing: border-box;

    border-radius: 28px;
    background: var(--paper2);
    color: var(--ink);
    box-shadow: var(--shadow);
}

#contacto .booking-form {
    width: 100%;
    max-width: none;
}

#contacto .booking-form-section,
#contacto .booking-section-content {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#contacto .booking-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#contacto .booking-field {
    min-width: 0;
}

#contacto .booking-field input,
#contacto .booking-field select,
#contacto .booking-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 560px) {
    #contacto .contact-visual {
        padding: 24px 18px;
        border-radius: 20px;
    }

    #contacto .booking-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================
   CONTACTO · RESTABLECER INTERACCIÓN
========================================= */

#contacto .contact,
#contacto .contact-full,
#contacto .contact-visual,
#contacto .booking-form,
#contacto .booking-form * {
    pointer-events: auto;
}

#contacto .contact-visual {
    position: relative;
    z-index: 2;
    overflow: visible;
}

#contacto .booking-form {
    position: relative;
    z-index: 3;
}

#contacto .booking-form input,
#contacto .booking-form select,
#contacto .booking-form textarea,
#contacto .booking-form button {
    position: relative;
    z-index: 4;
    pointer-events: auto;
    opacity: 1;
    cursor: auto;
}

#contacto .booking-form input,
#contacto .booking-form select,
#contacto .booking-form textarea {
    user-select: text;
    -webkit-user-select: text;
}

#contacto .booking-form button {
    cursor: pointer;
}


/* =========================================
   CONTACTO · FECHAS Y HUÉSPEDES EN UNA LÍNEA
========================================= */

#contacto .booking-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

#contacto .booking-grid .booking-field {
    min-width: 0;
}

#contacto .booking-grid .booking-field input,
#contacto .booking-grid .booking-field select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Tablets y pantallas angostas */
@media (max-width: 760px) {
    #contacto .booking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Celulares pequeños */
@media (max-width: 380px) {
    #contacto .booking-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CONTACTO: INGRESO, SALIDA, ADULTOS Y NIÑOS EN UNA FILA */

#contacto .booking-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

#contacto .booking-grid > * {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
}

#contacto .booking-grid .booking-field {
    min-width: 0 !important;
}

#contacto .booking-grid input,
#contacto .booking-grid select {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 560px) {
    #contacto .booking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ESTADÍA: CUATRO CAMPOS EN UNA SOLA FILA */

#contacto .booking-grid-stay {
    display: grid !important;
    grid-template-columns: 1.4fr 1.4fr 0.8fr 0.8fr !important;
    gap: 14px !important;
    width: 100%;
}

#contacto .booking-grid-stay .booking-field {
    min-width: 0;
    width: 100%;
}

#contacto .booking-grid-stay input,
#contacto .booking-grid-stay select {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* En móviles, dos columnas */
@media (max-width: 600px) {
    #contacto .booking-grid-stay {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }
}

/* CONTACTO: NOMBRE, EMAIL Y WHATSAPP EN UNA FILA */

#contacto .booking-grid-contact {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr 1fr !important;
    gap: 14px !important;
    width: 100%;
}

#contacto .booking-grid-contact .booking-field {
    min-width: 0;
    width: 100%;
}

#contacto .booking-grid-contact input {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Móviles */
@media (max-width: 600px) {
    #contacto .booking-grid-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #contacto .booking-grid-contact .booking-field:nth-child(2) {
        grid-column: span 1;
    }
}


/* ENCABEZADO DE CONTACTO · TIPOGRAFÍAS ORIGINALES */

#contacto .contact-heading {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 36px;
    padding: 0 0 0 2px;
    font-family: inherit;
}

#contacto .contact-heading .eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

#contacto .contact-heading h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font: 400 clamp(40px, 6vw, 76px)/.98 Georgia, serif;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

#contacto .contact-heading p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
}

@media (max-width: 600px) {
    #contacto .contact-heading {
        margin-bottom: 26px;
    }

    #contacto .contact-heading .eyebrow {
        margin-bottom: 14px;
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    #contacto .contact-heading h2 {
        font-size: 40px;
        letter-spacing: -0.8px;
    }

    #contacto .contact-heading p {
        font-size: 13px;
    }
}

/* =========================================================
   ALTOS DE COLONIA · AJUSTES RESPONSIVE PARA CELULARES
   Agregar al final de styles.css
   ========================================================= */

@media (max-width: 768px) {

  /* Evitar desbordes horizontales */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

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

  .root {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
  }

  /* Secciones: aprovechar mejor el ancho disponible */
  .section,
  .gallery-section {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Columnas apiladas en celular */
  .split {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .split > *,
  .visual,
  .visual-experiencia,
  .contact,
  .contact-full,
  .contact-visual {
    min-width: 0;
    max-width: 100%;
  }

  /* Textos: lectura cómoda y sin columnas estrechas */
  .section h2,
  .gallery-heading h2,
  .contact-heading h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .section .lead,
  .gallery-heading p,
  .contact-heading p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.75;
  }

  /* Tarjetas de alojamientos y servicios */
  .cards {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .card {
    width: 100%;
    min-width: 0;
    padding: 24px 20px;
  }

  /* Galería */
  .gallery-heading {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .gallery-carousel,
  .gallery-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

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

  .gallery-item {
    min-width: 0;
    max-width: 100%;
  }

  .gallery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
  }

  /* Ubicación y mapa */
  .location,
  .map,
  .map-google {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .map iframe,
  .map-google iframe {
    width: 100%;
    max-width: 100%;
  }

  /* Formulario: campos a todo el ancho */
  .contact-heading,
  .contact,
  .booking-form,
  .booking-form-section,
  .booking-section-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .booking-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .booking-field,
  .booking-field input,
  .booking-field select,
  .booking-field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .booking-submit {
    width: 100%;
    justify-content: space-between;
  }

  /* Estadísticas del encabezado */
  .hero-stats {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Pie de página */
  footer {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    gap: 14px;
    flex-wrap: wrap;
  }
}

/* Celulares pequeños */
@media (max-width: 420px) {

  .section,
  .gallery-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section h2,
  .gallery-heading h2,
  .contact-heading h2 {
    font-size: 1.85rem;
  }

  .gallery-grid {
    gap: 6px;
  }

  .card {
    padding: 21px 17px;
  }

  .hero-stats {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* =========================================
   MENÚ PRINCIPAL Y DESPLEGABLE · CORRECCIÓN
========================================= */

/* Botón hamburguesa: oculto en escritorio */
.nav-mobile-toggle {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-mobile-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

/* Desplegable de escritorio */
.nav-dropdown-menu {
    top: 100%;
    padding-top: 12px;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Menú móvil */
@media (max-width: 850px) {

    .nav {
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-mobile-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Se muestra solamente cuando se abre el menú */
    .nav .navlinks {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100svh - 90px);
        overflow-y: auto;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;

        padding: 12px;
        white-space: normal;
        font-size: 12px;

        color: #183028;
        background: rgba(247,245,239,.98);
        border: 1px solid rgba(24,48,40,.12);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0,0,0,.18);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav.menu-open .navlinks {
        display: flex;
    }

    .nav .navlinks > a,
    .nav .nav-dropdown > .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 12px 14px;
        color: #183028;
        opacity: 1;
        border-radius: 8px;
    }

    .nav .navlinks > a:hover,
    .nav .nav-dropdown > .nav-dropdown-toggle:hover {
        background: rgba(33,72,60,.08);
    }

    /* Unidades */
    .nav .nav-dropdown {
        display: block;
        width: 100%;
        height: auto;
    }

    .nav .nav-dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 4px 0 8px 12px;
        gap: 2px;

        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .nav .nav-dropdown.is-open .nav-dropdown-menu {
        display: flex;
    }

    .nav .nav-dropdown-menu a {
        display: block;
        width: 100%;
        padding: 12px;
        color: #183028;
        font-size: 11px;
        line-height: 1.5;
        white-space: normal;
    }

    .nav .nav-dropdown::after {
        display: none;
    }

    /* Botón de consulta */
    .nav .navlinks > .navcta {
        justify-content: center;
        margin-top: 8px;
        border: 1px solid rgba(33,72,60,.25);
        background: #21483c;
        color: #fff;
    }

    /* Animación del botón hamburguesa */
    .nav.menu-open .nav-mobile-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav.menu-open .nav-mobile-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav.menu-open .nav-mobile-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav .nav-dropdown.is-open .dropdown-arrow {
        transform: rotate(180deg);
    }
}

@media (max-width: 850px) {
    .nav .navlinks {
        display: none;
    }

    .nav.menu-open .navlinks {
        display: flex;
    }

    .nav .nav-dropdown {
        display: block;
        width: 100%;
        height: auto;
    }

    .nav .nav-dropdown-menu {
        display: none;
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .nav .nav-dropdown.is-open .nav-dropdown-menu {
        display: flex;
    }
}
/* =========================================
   FIX DEFINITIVO · SUBMENÚ UNIDADES EN CELULAR
========================================= */

@media (max-width: 850px) {

    /* El menú principal debe poder crecer al abrirse */
    .nav.menu-open {
        z-index: 1000;
    }

    .nav.menu-open .navlinks {
        display: flex !important;
        visibility: visible;
        opacity: 1;
    }

    /* Unidades ocupa todo el ancho disponible */
    .nav .nav-dropdown {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
    }

    .nav .nav-dropdown > .nav-dropdown-toggle {
        display: flex;
        width: 100%;
        min-height: 46px;
        align-items: center;
        justify-content: space-between;
        color: #183028;
        cursor: pointer;
        touch-action: manipulation;
    }

    /* Oculto inicialmente */
    .nav .navlinks .nav-dropdown .nav-dropdown-menu {
        display: none !important;
        position: static;
        width: 100%;
        min-width: 0;
        height: auto;
        margin: 0;
        padding: 4px 0 8px 12px;

        flex-direction: column;
        gap: 2px;

        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    /* Abrir al tocar Unidades */
    .nav .navlinks .nav-dropdown.is-open .nav-dropdown-menu,
    .nav .navlinks .nav-dropdown:focus-within .nav-dropdown-menu {
        display: flex !important;
    }

    /* Opciones del submenú */
    .nav .navlinks .nav-dropdown .nav-dropdown-menu a {
        display: block;
        width: 100%;
        min-height: 44px;
        padding: 12px;
        color: #183028;
        font-size: 12px;
        line-height: 1.5;
        white-space: normal;
        opacity: 1;
    }

    /* Flecha */
    .nav .nav-dropdown.is-open .dropdown-arrow,
    .nav .nav-dropdown:focus-within .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Desactivar la zona invisible de escritorio */
    .nav .nav-dropdown::after {
        display: none;
    }
}
/* =========================================
   CELULAR · TARJETAS DE DATOS DEL HERO
   ALTOS DE COLONIA
========================================= */

@media (max-width: 560px) {

    /* Contenido principal: deja espacio debajo */
    .hero-content {
        bottom: 0;
        padding: 0 20px 150px;
    }

    /* Tres tarjetas en una sola fila */
    .hero-stats {
        position: absolute;
        z-index: 3;
        left: 12px;
        right: 12px;
        bottom: 18px;

        width: auto;
        max-width: none;
        padding: 0;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    /* Tarjetas compactas */
    .hero-stats .stat {
        min-width: 0;
        padding: 10px 4px;
        border-radius: 12px;
        text-align: center;
    }

    .hero-stats .stat b {
        font-size: clamp(15px, 4.2vw, 20px);
        line-height: 1.3;
        white-space: nowrap;
    }

    .hero-stats .stat span {
        display: block;
        font-size: 10px;
        line-height: 1.4;
    }
}

/* =========================================================
   CALENDARIO PERSONALIZADO · TEMPORADA DICIEMBRE A MARZO
   ========================================================= */

.booking-field {
    min-width: 0;
}

.season-date-control {
    position: relative;
    width: 100%;
}

.season-date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line, #d9d3c9);
    border-radius: 8px;
    background: var(--paper2, #fffdf8);
    color: var(--ink, #262923);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.season-date-trigger:hover,
.season-date-trigger:focus-visible {
    border-color: var(--olive, #555b4d);
    outline: none;
}

.season-date-trigger .season-date-value {
    flex: 1;
}

.season-date-trigger .season-date-icon {
    flex-shrink: 0;
}

.season-calendar {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 8px);
    left: 0;
    width: min(340px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid var(--line, #d9d3c9);
    border-radius: 14px;
    background: var(--paper2, #fffdf8);
    color: var(--ink, #262923);
    box-shadow: 0 12px 36px rgb(0 0 0 / 14%);
}

.season-calendar[hidden] {
    display: none !important;
}

.season-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.season-calendar-heading {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.season-calendar-season {
    margin: 0 0 16px;
    color: var(--muted, #77786f);
    font-size: 12px;
    text-align: center;
}

.season-calendar-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid var(--line, #d9d3c9);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 21px;
    cursor: pointer;
}

.season-calendar-arrow:hover:not(:disabled) {
    background: var(--paper, #f5f2ec);
}

.season-calendar-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.season-calendar-weekdays,
.season-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.season-calendar-weekdays {
    margin-bottom: 8px;
}

.season-calendar-weekdays span {
    padding: 5px 0;
    color: var(--muted, #77786f);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.season-calendar-day {
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink, #262923);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.season-calendar-day:hover:not(:disabled) {
    background: var(--paper, #f5f2ec);
}

.season-calendar-day.is-selected {
    background: var(--forest, #21483c);
    color: #fff;
}

.season-calendar-day.is-today {
    outline: 1px solid var(--olive, #555b4d);
    outline-offset: -2px;
}

.season-calendar-day:disabled {
    color: var(--muted, #77786f);
    opacity: 0.3;
    cursor: not-allowed;
}

.season-calendar-day.is-empty {
    pointer-events: none;
}

.season-calendar-note {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line, #d9d3c9);
    color: var(--muted, #77786f);
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .season-calendar {
        width: min(320px, calc(100vw - 32px));
        padding: 14px;
    }

    .season-calendar-day {
        font-size: 12px;
    }
}
