/* BERMO 5 · Fase 3 COMPLETA. Extiende Bermo4 sin tocar contratos Laravel/JS de calendario o reserva. */
body.bermo5-complete{--b5-ink:#172537;--b5-muted:#646e79;--b5-brand:#102347;--b5-accent:#19b7d8;--b5-line:#e6e8eb;--b5-bg:#fff;background:#fff!important;color:var(--b5-ink);font-family:var(--b3-system,Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif)}
body.bermo5-complete .b4-detail{background:#fff!important}
body.bermo5-complete .b4-detail-shell,body.bermo5-complete .b5-container{max-width:1120px;width:calc(100% - 64px);margin-left:auto;margin-right:auto}
body.bermo5-complete .b4-detail-shell{padding-bottom:12px}
body.bermo5-complete .b4-title-bar{padding-bottom:20px}
body.bermo5-complete .b4-title-bar h1{font-size:clamp(25px,3vw,33px);font-weight:720;letter-spacing:-.045em}
body.bermo5-complete .b4-mosaic{border-radius:15px}
body.bermo5-complete .b4-main-grid{grid-template-columns:minmax(0,1fr) 368px;gap:85px;padding:34px 0 39px}
body.bermo5-complete .b4-main-description{padding-top:5px}
body.bermo5-complete .b4-main-description h2{font-size:23px;letter-spacing:-.033em;line-height:1.3}
body.bermo5-complete .b4-fact-row{font-size:14px}
body.bermo5-complete .b4-main-description hr{margin:23px 0}
body.bermo5-complete .b4-description-copy{font-size:15px;line-height:1.85;max-width:630px}
body.bermo5-complete .b4-inline-link{color:var(--b5-ink)!important}
/* Reserva compacta y funcional: mismos nombres de campos, rutas y resultados del backend. */
body.bermo5-complete .b4-main-grid .bermo-property-booking{grid-column:2;grid-row:1}
body.bermo5-complete .b4-main-grid .bermo-property-booking>div,
body.bermo5-complete .b4-main-grid .b5-unit-booking>div{border:1px solid #dedfe2!important;border-radius:15px!important;box-shadow:0 7px 26px rgba(20,31,50,.095)!important;background:#fff!important;padding:24px!important;backdrop-filter:none!important}
body.bermo5-complete .b4-main-grid .bermo-property-booking h2,
body.bermo5-complete .b4-main-grid .b5-unit-booking h3{font-size:19px!important;line-height:1.35!important;letter-spacing:-.035em!important;font-weight:730!important;color:var(--b5-ink)!important;margin-top:6px!important}
body.bermo5-complete .b4-main-grid .bermo-property-booking>div>p:nth-of-type(2),
body.bermo5-complete .b4-main-grid .b5-unit-booking>div>p:nth-of-type(2){font-size:12px!important;line-height:1.6!important;color:var(--b5-muted)!important}
body.bermo5-complete #reserva .text-\[\#d29c22\]{color:#777!important;letter-spacing:.07em!important;font-weight:750!important}
body.bermo5-complete .bermo-booking-price-summary{background:none!important;border:0!important;border-bottom:1px solid var(--b5-line)!important;border-radius:0!important;padding:15px 0!important;margin-top:11px!important;display:flex!important;flex-wrap:wrap;align-items:baseline;gap:5px 9px}
body.bermo5-complete .bermo-booking-price-summary span{font-size:13px!important;color:#69727a!important}
body.bermo5-complete .bermo-booking-price-summary strong{font-size:22px!important;color:var(--b5-ink)!important}
body.bermo5-complete .bermo-booking-price-summary small{font-size:12px!important;color:#747b84!important}
body.bermo5-complete #reserva form .grid{gap:8px!important}
body.bermo5-complete #reserva label{font-weight:740!important;font-size:11px!important;color:#454c57!important;margin-bottom:5px!important}
body.bermo5-complete #reserva input,body.bermo5-complete #reserva select{background:#fff!important;border:1px solid #cdd3da!important;border-radius:8px!important;font-size:13px!important;color:#202a37!important;min-width:0!important;padding:11px!important}
body.bermo5-complete #reserva button[type=submit],body.bermo5-complete #reserva .bg-\[\#102347\]{background:var(--b5-brand)!important;border:0!important;border-radius:9px!important;color:#fff!important;padding:13px 16px!important;font-size:13px!important;font-weight:740!important;box-shadow:none!important}
body.bermo5-complete #reserva .bg-\[\#102347\]:hover{background:#1e426d!important}
body.bermo5-complete #reserva .max-h-\[520px\]{max-height:initial!important;overflow:visible!important}
body.bermo5-complete #reserva .rounded-2xl{border-radius:11px!important}
body.bermo5-complete .b5-unit-booking{width:100%;min-width:0;grid-column:2;grid-row:1;scroll-margin-top:155px}
body.bermo5-complete .b5-unit-booking .rounded-\[2rem\]{border-radius:15px!important}
body.bermo5-complete .b5-unit-booking>div{padding:22px!important}
body.bermo5-complete .b5-unit-booking p{max-width:100%}
body.bermo5-complete #reserva{scroll-margin-top:150px}
/* Secciones completas: eliminamos fondos, tarjetas y gradientes de landing page. */
body.bermo5-complete .b5-section{background:#fff!important;position:relative;padding:45px 0 54px!important;border-top:1px solid var(--b5-line)!important;overflow:visible!important}
body.bermo5-complete .b5-section>.absolute{display:none!important}
body.bermo5-complete .b5-section-topline{font-size:11px;letter-spacing:.02em;color:#707780;font-weight:700;margin-bottom:11px}
body.bermo5-complete .b5-section h2{font-size:clamp(22px,2.4vw,29px)!important;line-height:1.28!important;letter-spacing:-.04em!important;color:var(--b5-ink)!important;font-weight:720!important;margin:0 0 25px!important}
body.bermo5-complete .b5-section h3{font-size:17px!important;font-weight:720!important;letter-spacing:-.02em!important;color:var(--b5-ink)!important;line-height:1.35!important}
body.bermo5-complete .b5-section p{color:#606874;letter-spacing:normal}
body.bermo5-complete .b5-section-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:75px;align-items:start}
body.bermo5-complete .b5-prose{font-size:15px;line-height:1.95;color:#4a535f!important;white-space:pre-line;overflow-wrap:anywhere}
body.bermo5-complete .b5-facts{display:flex;flex-wrap:wrap;gap:0;margin-top:29px;border-top:1px solid var(--b5-line);padding-top:20px}
body.bermo5-complete .b5-fact{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:0 18px 0 0;margin-right:18px;margin-bottom:12px;border-right:1px solid var(--b5-line);font-size:12px;color:#6d7782}
body.bermo5-complete .b5-fact:last-child{border-right:0}
body.bermo5-complete .b5-fact-number{font-weight:740;font-size:17px;color:var(--b5-ink)}
body.bermo5-complete .b5-amenity-list{display:grid;grid-template-columns:1fr 1fr;gap:13px 20px}
body.bermo5-complete .b5-amenity-list--wide{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 25px}
body.bermo5-complete .b5-amenity{display:flex;align-items:center;gap:13px;min-width:0;padding:6px 0;color:#313b48;font-size:14px;font-weight:520}
body.bermo5-complete .b5-amenity-icon{height:24px;width:24px;flex:0 0 24px;color:#2e3f52;display:inline-flex;align-items:center;justify-content:center}
body.bermo5-complete .b5-amenity-icon svg{height:23px;width:23px}
body.bermo5-complete .b5-muted{font-size:13px;color:#7a848c!important}
/* Property units: simple horizontal cards, image first, details adjacent. */
body.bermo5-complete .b5-units>.max-w-7xl,
body.bermo5-complete .b5-reviews>.max-w-7xl,
body.bermo5-complete .b5-nearby>.relative.max-w-7xl,
body.bermo5-complete .b5-unit-related>.max-w-7xl{max-width:1120px!important;margin:auto!important;padding-left:0!important;padding-right:0!important;width:calc(100% - 64px)!important}
body.bermo5-complete .b5-units .tracking-\[0\.3em\],
body.bermo5-complete .b5-reviews .tracking-\[0\.3em\],
body.bermo5-complete .b5-nearby .tracking-\[0\.3em\],
body.bermo5-complete .b5-unit-related .tracking-\[0\.3em\]{letter-spacing:.02em!important;color:#71777d!important;font-weight:750!important}
body.bermo5-complete .b5-units .text-3xl,body.bermo5-complete .b5-units .text-4xl,
body.bermo5-complete .b5-reviews .text-3xl,body.bermo5-complete .b5-reviews .text-4xl,
body.bermo5-complete .b5-unit-related .text-3xl{font-size:27px!important;line-height:1.3!important;letter-spacing:-.04em!important;color:var(--b5-ink)!important;margin-top:8px!important}
body.bermo5-complete .b5-units .mt-12,body.bermo5-complete .b5-unit-related .mt-12{margin-top:30px!important}
body.bermo5-complete .b5-units .mt-12.grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:22px!important}
body.bermo5-complete .bermo-property-unit-card{display:grid;grid-template-columns:43% 57%;border:1px solid #e7e8ea!important;box-shadow:none!important;border-radius:14px!important;min-width:0;overflow:hidden!important;transition:box-shadow .2s ease}
body.bermo5-complete .bermo-property-unit-card:hover{box-shadow:0 6px 24px rgba(25,37,50,.07)!important}
body.bermo5-complete .bermo-property-unit-card>a{height:100%!important;min-height:300px;overflow:hidden}
body.bermo5-complete .bermo-property-unit-card>a img{height:100%!important;width:100%;object-fit:cover!important}
body.bermo5-complete .bermo-property-unit-card>div.p-6{padding:20px!important;min-width:0;display:flex;flex-direction:column;gap:0}
body.bermo5-complete .bermo-property-unit-card h3{font-size:19px!important;letter-spacing:-.025em!important;margin-top:11px!important;color:var(--b5-ink)!important}
body.bermo5-complete .bermo-property-unit-card p{font-size:12px!important;line-height:1.6!important;color:#65707b!important;margin-top:7px!important}
body.bermo5-complete .bermo-property-unit-card>div.p-6>div.flex.flex-wrap.items-center{gap:4px!important}
body.bermo5-complete .bermo-property-unit-card .rounded-full{border-radius:7px!important;letter-spacing:normal!important;text-transform:none!important;padding:4px 7px!important;font-size:11px!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.grid{display:flex!important;gap:12px!important;margin-top:13px!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.grid>div{display:flex!important;flex-direction:column;align-items:start;border:0!important;background:none!important;padding:0!important;border-radius:0!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.grid p:first-child{font-size:13px!important;margin:0!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.grid p:last-child{font-size:10px!important;letter-spacing:normal!important;text-transform:none!important;margin:0!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.flex.flex-wrap{gap:5px!important;margin-top:13px!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.flex.flex-wrap span{font-size:10px!important;padding:3px 5px!important}
body.bermo5-complete .bermo-property-unit-card .mt-6.flex.flex-col{flex-direction:row!important;gap:8px!important;margin-top:auto!important;padding-top:15px}
body.bermo5-complete .bermo-property-unit-card .mt-6.flex.flex-col a{font-size:12px!important;padding:10px 9px!important;white-space:normal;text-align:center;border-radius:9px!important;flex:1}
/* Reseñas sobrias; sin gradientes ni tarjetas de estadísticas excesivas */
body.bermo5-complete .b5-reviews .bg-gradient-to-r,body.bermo5-complete .b5-reviews .bg-gradient-to-br{background:transparent!important}
body.bermo5-complete .b5-reviews .mt-7.grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px!important}
body.bermo5-complete .b5-reviews article{border:1px solid #e8e8e9!important;border-radius:13px!important;box-shadow:none!important;padding:24px!important;background:#fff!important;transform:none!important}
body.bermo5-complete .b5-reviews article>.absolute{display:none!important}
body.bermo5-complete .b5-reviews article .rounded-2xl{border-radius:50%!important}
body.bermo5-complete .b5-reviews article .min-h-\[4\.75rem\]{min-height:0!important}
body.bermo5-complete .b5-reviews .grid.grid-cols-3>div{border:0!important;border-radius:0!important;box-shadow:none!important;padding:10px!important;background:#fff!important}
body.bermo5-complete .b5-reviews .text-\[\#f0b63f\]{color:#d69f28!important}
/* Cercanos: neutral, photo cards, no dark banner. Carousel logic intact. */
body.bermo5-complete .b5-nearby{background:#fff!important}
body.bermo5-complete .b5-nearby .text-white,body.bermo5-complete .b5-nearby h2{color:var(--b5-ink)!important}
body.bermo5-complete .b5-nearby .text-white\/70,body.bermo5-complete .b5-nearby .text-white\/58{color:#69717a!important}
body.bermo5-complete .b5-nearby button[onclick^="scrollNearbyPlaces"]{border:1px solid #d9dce0!important;background:#fff!important;color:#233142!important;width:39px!important;height:39px!important}
body.bermo5-complete .b5-nearby #nearbyPlacesCarousel{gap:17px!important}
body.bermo5-complete .b5-nearby .bermo-property-nearby-card{width:330px!important;min-width:330px!important;max-width:330px!important;border:1px solid #e6e8eb!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;backdrop-filter:none!important}
body.bermo5-complete .b5-nearby .bermo-property-nearby-card .bermo-nearby-card__image{height:198px!important}
body.bermo5-complete .b5-nearby .bermo-property-nearby-card .bermo-nearby-card__title{font-size:18px!important;color:var(--b5-ink)!important}
body.bermo5-complete .b5-nearby .bermo-property-nearby-card .bg-\[\#f0b63f\]{background:#f5f6f7!important;color:#313b4b!important}
body.bermo5-complete .b5-nearby .bermo-property-nearby-card .text-white\/65,body.bermo5-complete .b5-nearby .bermo-property-nearby-card .text-white\/70{color:#6a7079!important}
body.bermo5-complete .b5-nearby .bermo-property-nearby-card .bermo-nearby-card__image .text-white{color:#fff!important}
/* Mapa, reglamento de 3 columnas, espacio editorial y líneas divisorias */
body.bermo5-complete .b5-location-subtitle{font-size:14px!important;margin:-14px 0 24px!important;color:#69737f!important}
body.bermo5-complete .b5-location-map{border-radius:13px;overflow:hidden;background:#edf1f4;border:1px solid #e6e8ea}
body.bermo5-complete .b5-location-map iframe{width:100%;height:390px;display:block}
body.bermo5-complete .b5-address-panel{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:16px 0 0;font-size:13px;line-height:1.7}
body.bermo5-complete .b5-address-panel p{margin:0}
body.bermo5-complete .b5-address-panel .b5-muted{margin-top:5px}
body.bermo5-complete .b5-outline-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #c8cbd0;color:var(--b5-ink)!important;background:#fff;padding:10px 16px;border-radius:9px;font-weight:730;font-size:12px;text-decoration:none!important}
body.bermo5-complete .b5-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}
body.bermo5-complete .b5-rule-group{min-width:0;padding-right:14px}
body.bermo5-complete .b5-rule-group h3{margin:0 0 14px!important;font-size:15px!important}
body.bermo5-complete .b5-rule-group p{font-size:13px!important;line-height:1.75!important;margin:0 0 9px!important;overflow-wrap:anywhere}
/* Unit page other spaces: image-led listing like Bermo search */
body.bermo5-complete .b5-unit-related .mt-12.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card{border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card>a{height:210px!important;overflow:hidden!important;border-radius:14px!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card>a img{border-radius:14px!important;object-fit:cover!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card>div{padding:12px 0!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card h3{font-size:17px!important;letter-spacing:-.025em!important;margin-top:8px!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card p{font-size:12px!important;line-height:1.6!important}
body.bermo5-complete .b5-unit-related .bermo-related-unit-card .rounded-2xl{border-radius:10px!important}
body.bermo5-complete .b5-unit-reviews .grid.lg\:grid-cols-12{gap:25px!important}
body.bermo5-complete .b5-unit-reviews article{border:1px solid #e8e8eb!important;border-radius:13px!important;box-shadow:none!important;padding:20px!important}
body.bermo5-complete .b5-unit-reviews .rounded-\[2rem\]{border-radius:13px!important}
body.bermo5-complete .b5-unit-reviews .bg-\[\#f7faff\]{background:#fff!important}
/* This replaces the mobile floating tab/nav hidden by Fase 3. No pricing calculation in browser. */
body.bermo5-complete .b5-mobile-reserve{display:none}
body.bermo5-complete #experiencia,body.bermo5-complete #espacios,body.bermo5-complete #amenidades,body.bermo5-complete #resenas,body.bermo5-complete #ubicacion,body.bermo5-complete #como-llegar,body.bermo5-complete #reglas,body.bermo5-complete #otros-espacios{scroll-margin-top:145px}
@media(min-width:1025px){body.bermo5-complete .b4-main-grid>.bermo-property-booking,body.bermo5-complete .b4-main-grid>.b5-unit-booking{position:sticky;top:155px;align-self:start}}
@media(max-width:1100px){body.bermo5-complete .b4-main-grid{gap:34px;grid-template-columns:minmax(0,1fr) 340px}body.bermo5-complete .b5-section-columns{gap:30px}body.bermo5-complete .b5-units .mt-12.grid{grid-template-columns:1fr!important}body.bermo5-complete .bermo-property-unit-card{grid-template-columns:38% 62%}body.bermo5-complete .bermo-property-unit-card>a{min-height:260px}}
@media(max-width:780px){
 body.bermo5-complete .b4-detail-shell,body.bermo5-complete .b5-container{width:calc(100% - 36px)!important}
 body.bermo5-complete .b5-units>.max-w-7xl,body.bermo5-complete .b5-reviews>.max-w-7xl,body.bermo5-complete .b5-nearby>.relative.max-w-7xl,body.bermo5-complete .b5-unit-related>.max-w-7xl{width:calc(100% - 36px)!important}
 body.bermo5-complete .b4-main-grid{display:flex!important;flex-direction:column!important;gap:23px!important;padding:23px 0 30px!important}
 body.bermo5-complete .b4-mosaic{height:290px}
 body.bermo5-complete .b4-main-grid>.bermo-property-booking,body.bermo5-complete .b4-main-grid>.b5-unit-booking{width:100%!important;position:static!important}
 body.bermo5-complete .b5-section{padding:30px 0 39px!important}
 body.bermo5-complete .b5-section h2{font-size:23px!important;margin-bottom:18px!important}
 body.bermo5-complete .b5-section-columns{grid-template-columns:1fr!important;gap:36px}
 body.bermo5-complete .b5-amenity-list--wide{grid-template-columns:1fr 1fr}
 body.bermo5-complete .b5-rules-grid{grid-template-columns:1fr!important;gap:23px}
 body.bermo5-complete .b5-rule-group{border-bottom:1px solid #f0f1f2;padding-bottom:16px}
 body.bermo5-complete .b5-location-map iframe{height:270px}
 body.bermo5-complete .b5-reviews .mt-7.grid{grid-template-columns:1fr!important}
 body.bermo5-complete .b5-unit-related .mt-12.grid{grid-template-columns:1fr 1fr!important}
 body.bermo5-complete .b5-unit-related .bermo-related-unit-card>a{height:180px!important}
 body.bermo5-complete .b5-nearby .bermo-property-nearby-card{min-width:280px!important;max-width:280px!important;width:280px!important}
 body.bermo5-complete .b5-mobile-reserve{position:fixed;display:flex;z-index:9200;bottom:0;left:0;right:0;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5e5e6;background:#fff;padding:12px max(18px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));box-shadow:0 -4px 22px rgba(0,0,0,.045)}
 body.bermo5-complete .b5-mobile-reserve-price{display:flex;flex-direction:column;gap:3px;min-width:0}
 body.bermo5-complete .b5-mobile-reserve-price strong{font-size:16px;color:#182434;white-space:nowrap}
 body.bermo5-complete .b5-mobile-reserve-price span{font-size:11px;color:#737c83}
 body.bermo5-complete .b5-mobile-reserve>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:12px 20px;background:var(--b5-brand);color:white!important;font-size:12px;font-weight:720;border-radius:9px;text-decoration:none!important}
 body.bermo5-complete{padding-bottom:77px!important}
}
@media(max-width:530px){
 body.bermo5-complete .b4-title-bar h1{font-size:25px!important}
 body.bermo5-complete .b4-mosaic{height:255px}
 body.bermo5-complete .b4-main-grid .bermo-property-booking>div,body.bermo5-complete .b4-main-grid .b5-unit-booking>div{padding:18px!important}
 body.bermo5-complete .b5-facts{gap:0}
 body.bermo5-complete .b5-amenity-list,body.bermo5-complete .b5-amenity-list--wide{grid-template-columns:1fr 1fr;gap:8px}
 body.bermo5-complete .b5-amenity{font-size:12px;align-items:flex-start;line-height:1.45}
 body.bermo5-complete .b5-units .mt-12.grid{grid-template-columns:1fr!important}
 body.bermo5-complete .bermo-property-unit-card{display:block!important}
 body.bermo5-complete .bermo-property-unit-card>a{height:220px!important;min-height:0!important}
 body.bermo5-complete .bermo-property-unit-card>div.p-6{padding:16px!important}
 body.bermo5-complete .bermo-property-unit-card h3{font-size:19px!important}
 body.bermo5-complete .bermo-property-unit-card .mt-6.flex.flex-col{margin-top:10px!important}
 body.bermo5-complete .b5-unit-related .mt-12.grid{grid-template-columns:1fr!important}
 body.bermo5-complete .b5-unit-related .bermo-related-unit-card>a{height:220px!important}
 body.bermo5-complete .b5-reviews article{padding:17px!important}
 body.bermo5-complete .b5-mobile-reserve>a{padding-left:12px;padding-right:12px}
}
@media(prefers-reduced-motion:reduce){body.bermo5-complete .bermo-property-unit-card{transition:none}}

body.bermo5-complete .b5-unit-rate-preview{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 8px;border-bottom:1px solid #e8e8e9;padding:8px 0 17px;margin:8px 0 15px}
body.bermo5-complete .b5-unit-rate-preview strong{font-size:22px;color:#14243b;letter-spacing:-.03em}
body.bermo5-complete .b5-unit-rate-preview span,body.bermo5-complete .b5-unit-rate-preview del{font-size:12px;color:#7a828b}
