/* Habitaciones — page-specific styles */
.btn-ghost-light{background:transparent;color:white;border:1.5px solid rgba(255,255,255,.5);}.btn-ghost-light:hover{background:white;color:var(--carbon);}
.hab-bar__field--adults{max-width:140px;}.hab-bar__field--kids{max-width:115px;}
.hab-cluster--delay-1{transition-delay:.1s;}.hab-cluster--delay-2{transition-delay:.2s;}

/* PAGE HERO */
.ph{position:relative;min-height:100vh;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;overflow:hidden;background:var(--carbon);padding-bottom:3rem;}
.ph__bg{position:absolute;inset:0;overflow:hidden;opacity:.42;}
.ph__bg img{width:100%;height:100%;object-fit:cover;}
.ph__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(28,28,28,.2) 0%,rgba(28,28,28,.48) 50%,rgba(28,28,28,.9) 100%);}
.ph__content{position:relative;z-index:2;text-align:center;padding:5rem 2rem 0;max-width:700px;width:100%;}
.ph__eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.25em;text-transform:uppercase;color:var(--amber-light);margin-bottom:1rem;}
.ph__title{color:white;margin-bottom:1rem;}.ph__title em{font-style:italic;color:var(--amber-light);}
.ph__sub{font-size:clamp(.95rem,1.8vw,1.1rem);font-weight:300;color:rgba(255,255,255,.65);}
.ph__bar-wrap{position:relative;z-index:2;max-width:820px;width:90vw;margin-top:1.8rem;}
.hab-bar,.mphb-availability-search.hab-mphb-bar{background:rgba(255,255,255,.08);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:1.5rem 2rem;display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap;}
.hab-bar__field,.mphb-availability-search.hab-mphb-bar .mphb-booking-form-field{flex:1;min-width:110px;display:flex;flex-direction:column;gap:.35rem;}
.hab-bar__label,.mphb-availability-search.hab-mphb-bar label{font-size:.7rem!important;font-weight:600!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:rgba(255,255,255,.6)!important;}
.hab-bar__input,.mphb-availability-search.hab-mphb-bar input,.mphb-availability-search.hab-mphb-bar select{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:4px!important;padding:.7rem .9rem!important;color:white!important;font-family:var(--font-body)!important;font-size:.9rem!important;outline:none!important;transition:border-color .3s!important;width:100%!important;}
.hab-bar__input:focus,.mphb-availability-search.hab-mphb-bar input:focus,.mphb-availability-search.hab-mphb-bar select:focus{border-color:var(--amber)!important;}
.hab-bar__input::placeholder{color:rgba(255,255,255,.4);}
.hab-bar__input option{color:var(--carbon);background:white;}
.hab-bar__btn,.mphb-availability-search.hab-mphb-bar button[type="submit"]{background:var(--amber)!important;color:white!important;font-family:var(--font-body)!important;font-size:.875rem!important;font-weight:600!important;letter-spacing:.04em!important;text-transform:uppercase!important;padding:.75rem 2rem!important;border-radius:4px!important;border:none!important;cursor:pointer!important;transition:background .3s,transform .3s!important;white-space:nowrap!important;flex-shrink:0!important;}
.hab-bar__btn:hover,.mphb-availability-search.hab-mphb-bar button[type="submit"]:hover{background:var(--copper)!important;transform:translateY(-1px)!important;}
.ph__price-note{position:relative;z-index:2;margin-top:.9rem;font-size:.72rem;color:rgba(255,255,255,.4);letter-spacing:.02em;text-align:center;}

/* LISTADO */
.hab-list{background:var(--warm-white);padding:3.5rem 0 var(--section-pad);}
.hab-list__meta{max-width:var(--container);margin:0 auto 2rem;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;}
.hab-list__meta-main{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;}
.hab-list__count{font-size:.88rem;color:var(--stone);}.hab-list__count strong{color:var(--carbon);font-weight:700;}
.hab-list__state{font-size:.72rem;color:var(--stone-light);padding:.22rem .75rem;background:var(--cream);border-radius:20px;border:1px solid var(--cream-dark);}
.hab-list__tip{font-size:.75rem;color:var(--stone-light);}
.hab-clusters{max-width:var(--container);margin:0 auto;padding:0 2rem;display:flex;flex-direction:column;gap:1.5rem;}

/* CLUSTER */
.hab-cluster{background:white;border-radius:8px;border:1px solid var(--cream-dark);overflow:hidden;display:grid;grid-template-columns:380px 1fr;transition:box-shadow .4s ease,transform .4s ease;}
.hab-cluster:hover{box-shadow:0 16px 50px rgba(0,0,0,.1);transform:translateY(-3px);}
.hab-cluster__carousel{position:relative;min-height:340px;height:100%;overflow:hidden;background:var(--carbon-soft);}
.hab-cluster__slides{display:flex;height:100%;min-height:340px;transition:transform .5s cubic-bezier(.4,0,.2,1);will-change:transform;}
.hab-cluster__slide{flex:0 0 100%;height:100%;min-height:340px;overflow:hidden;}
.hab-cluster__slide img{width:100%;height:100%;min-height:340px;object-fit:cover;transition:transform .6s ease;}
.hab-cluster:hover .hab-cluster__slide.is-active img{transform:scale(1.04);}
.hab-cluster__prev,.hab-cluster__next{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:34px;height:34px;border-radius:50%;background:rgba(28,28,28,.6);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;color:white;transition:opacity .3s,background .25s;opacity:0;}
.hab-cluster:hover .hab-cluster__prev,.hab-cluster:hover .hab-cluster__next{opacity:1;}
.hab-cluster__prev{left:.65rem;}.hab-cluster__next{right:.65rem;}
.hab-cluster__prev:hover,.hab-cluster__next:hover{background:rgba(28,28,28,.9);}
.hab-cluster__prev svg,.hab-cluster__next svg{width:13px;height:13px;stroke:white;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
.hab-cluster__dots{position:absolute;bottom:.8rem;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:5;}
.hab-cluster__dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:background .25s,transform .25s;}
.hab-cluster__dot.is-active{background:white;transform:scale(1.35);}
.hab-cluster__photo-badge{position:absolute;top:1rem;left:1rem;z-index:5;background:rgba(28,28,28,.82);backdrop-filter:blur(6px);color:white;font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:.28rem .7rem;border-radius:3px;}
.hab-cluster__body{padding:1.8rem 2rem;display:flex;flex-direction:column;}
.hab-cluster__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.5rem;}
.hab-cluster__name{font-family:var(--font-display);font-size:2rem;font-weight:500;line-height:1.1;letter-spacing:-.01em;color:var(--carbon);}
.hab-cluster__badge{flex-shrink:0;font-size:.67rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:.28rem .75rem;border-radius:20px;margin-top:.5rem;}
.badge--green{background:rgba(58,107,53,.08);color:var(--selva-deep);border:1px solid rgba(58,107,53,.2);}
.badge--amber{background:rgba(196,129,61,.1);color:var(--copper);border:1px solid rgba(196,129,61,.25);}
.badge--neutral{background:var(--cream);color:var(--stone);border:1px solid var(--cream-dark);}
.hab-cluster__desc{font-size:.9rem;color:var(--stone);line-height:1.65;margin-bottom:1.4rem;max-width:500px;}
.hab-cluster__specs{display:flex;flex-wrap:wrap;gap:.55rem 1.6rem;margin-bottom:0;}
.hab-cluster__spec{display:flex;align-items:center;gap:.4rem;font-size:.84rem;color:var(--carbon);}
.hab-cluster__spec svg{width:14px;height:14px;stroke:var(--selva);fill:none;stroke-width:1.8;flex-shrink:0;}
.hab-cluster__spec strong{font-weight:600;}
.hab-cluster__sep{height:1px;background:var(--cream-dark);margin:1.2rem 0;}
.hab-cluster__footer{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:1.2rem;flex-wrap:wrap;}
.hab-cluster__price-label{font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--stone-light);margin-bottom:.15rem;}
.hab-cluster__price{font-family:var(--font-display);font-size:2.4rem;font-weight:500;color:var(--carbon);line-height:1;}
.hab-cluster__price sup{font-size:.95rem;font-family:var(--font-body);font-weight:600;vertical-align:super;}
.hab-cluster__price-note{font-size:.7rem;color:var(--stone-light);margin-top:.3rem;display:block;}
.hab-cluster__ctas{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;}
.hab-avail{display:inline-flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .75rem;border-radius:20px;}
.hab-avail::before{content:'';width:5px;height:5px;border-radius:50%;}
.hab-avail--ok{background:rgba(58,107,53,.08);color:var(--selva);border:1px solid rgba(58,107,53,.2);}.hab-avail--ok::before{background:var(--selva);}
.hab-avail--few{background:rgba(196,129,61,.08);color:var(--copper);border:1px solid rgba(196,129,61,.2);}.hab-avail--few::before{background:var(--amber);}
.hab-cluster.is-hidden{display:none;}

/* MotoPress overrides */
.mphb-hab-wrapper .mphb-rooms{display:flex;flex-direction:column;gap:1.5rem;}
.mphb-hab-wrapper .mphb-room{background:white;border-radius:8px;border:1px solid var(--cream-dark);overflow:hidden;display:grid;grid-template-columns:380px 1fr;transition:box-shadow .4s,transform .4s;}
.mphb-hab-wrapper .mphb-room:hover{box-shadow:0 16px 50px rgba(0,0,0,.1);transform:translateY(-3px);}
.mphb-hab-wrapper .mphb-room-thumbnail{height:340px;}.mphb-hab-wrapper .mphb-room-thumbnail img{width:100%;height:100%;object-fit:cover;}
.mphb-hab-wrapper .mphb-price{font-family:var(--font-display)!important;font-size:2.2rem!important;color:var(--carbon)!important;}
.mphb-hab-wrapper .mphb-book-button,.mphb-hab-wrapper .mphb-view-button{display:inline-flex!important;align-items:center!important;font-family:var(--font-body)!important;font-size:.875rem!important;font-weight:600!important;letter-spacing:.04em!important;text-transform:uppercase!important;padding:.9rem 2rem!important;border-radius:4px!important;cursor:pointer!important;transition:all .3s ease!important;}
.mphb-hab-wrapper .mphb-book-button{background:var(--selva)!important;color:white!important;border:none!important;}.mphb-hab-wrapper .mphb-book-button:hover{background:var(--selva-deep)!important;}
.mphb-hab-wrapper .mphb-view-button{background:transparent!important;color:var(--carbon)!important;border:1.5px solid var(--carbon)!important;}.mphb-hab-wrapper .mphb-view-button:hover{background:var(--carbon)!important;color:var(--warm-white)!important;}

/* No results */
.hab-no-results{display:none;text-align:center;padding:4rem 2rem;}
.hab-no-results.is-visible{display:block;}
.hab-no-results h3{font-family:var(--font-display);font-size:1.6rem;font-weight:400;color:var(--stone);margin-bottom:.8rem;}
.hab-no-results p{font-size:.9rem;color:var(--stone-light);margin-bottom:1.5rem;}

/* CTA */
.hab-cta{background:var(--carbon-soft);text-align:center;padding:5rem 2rem;position:relative;overflow:hidden;}
.hab-cta__bg{position:absolute;inset:0;overflow:hidden;opacity:.12;}
.hab-cta__bg img{width:100%;height:100%;object-fit:cover;}
.hab-cta::before{content:'';position:absolute;inset:0;z-index:1;}
.hab-cta__inner{position:relative;z-index:2;}
.hab-cta h2{color:white;margin-bottom:.8rem;}
.hab-cta p{color:rgba(255,255,255,.65);font-size:1.05rem;margin-bottom:2rem;}
.hab-cta__btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}

/* Responsive */
@media(max-width:960px){.hab-cluster{grid-template-columns:300px 1fr;}.hab-cluster__carousel,.hab-cluster__slides,.hab-cluster__slide,.hab-cluster__slide img{min-height:280px;}}
@media(max-width:768px){.ph{min-height:58vh;}.hab-bar{display: grid;gap:.8rem;padding:1.2rem;}.hab-bar__field--adults,.hab-bar__field--kids{max-width:none;}.hab-cluster{grid-template-columns:1fr;}.hab-cluster__carousel,.hab-cluster__slides,.hab-cluster__slide,.hab-cluster__slide img{min-height:240px;height:240px;}.hab-cluster__body{padding:1.4rem;}.hab-cluster__footer{flex-direction:column;align-items:flex-start;gap:1rem;}.hab-cluster__ctas{width:100%; display:grid;}.hab-cluster__ctas .btn{flex:1;justify-content:center;}.mphb-hab-wrapper .mphb-room{grid-template-columns:1fr;}.mphb-hab-wrapper .mphb-room-thumbnail{height:240px;}}
@media(max-width:480px){.ph__content{padding-top:4rem;}.hab-cluster__name{font-size:1.6rem;}.hab-cluster__price{font-size:2rem;}.hab-list__meta{flex-direction:column;align-items:flex-start;}.hab-cta__btns{flex-direction:column;align-items:center;}}
