/* Innversiones CRM v1.4: ficha pública + reproductor de video. */
.property-page.innv-property-v14 {padding-top:30px;padding-bottom:84px;}
.innv-property-v14 .breadcrumbs {margin-bottom:14px;}
.innv-property-v14 .property-title-row {align-items:center; gap:24px;margin-bottom:24px;}
.innv-property-v14 .property-title-row h1 {font-size:clamp(30px,3.4vw,48px); line-height:1.13; margin:8px 0 10px;}
.innv-property-price-block {display:flex; flex-direction:column;align-items:flex-end; gap:5px;flex:0 0 auto;}
.innv-property-price-block .big-price {font-size:clamp(24px,2vw,31px);letter-spacing:-.045em;}
.innv-property-share {font-size:13px;font-weight:700;color:#55735e;text-decoration:underline;text-decoration-color:#baa175;text-underline-offset:4px;}
/* Fotos ampliables sin añadir dependencias */
.innv-property-gallery {isolation:isolate;}
.innv-property-gallery .innv-gallery-item {display:block;position:relative;overflow:hidden;min-width:0;min-height:0;background:#e8ede5;cursor:zoom-in;}
.innv-property-gallery .innv-gallery-item.gallery-main {grid-column:span 2;grid-row:span 2;}
.innv-property-gallery .innv-gallery-item img {width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease;}
.innv-property-gallery .innv-gallery-item:hover img {transform:scale(1.035);}
.innv-property-gallery .innv-gallery-item:focus-visible {outline:4px solid #bd9e6f;outline-offset:-4px;}
.innv-gallery-hint {position:absolute;bottom:15px;left:15px;padding:9px 14px;border-radius:9px;background:rgba(17,39,30,.88);color:white;font-size:13px;font-weight:650;}
.innv-gallery-lightbox {padding:0;border:0;background:transparent;max-height:94vh;max-width:min(96vw,1240px);width:96vw;overflow:visible;}
.innv-gallery-lightbox::backdrop {background:rgba(7,17,14,.9);}
.innv-lightbox-panel {background:#101c17;color:white;border-radius:15px;overflow:hidden;box-shadow:0 20px 60px #050a0a77;}
.innv-lightbox-head {display:flex;align-items:center;justify-content:space-between;padding:8px 18px;font-size:13px;color:#e2e8df;}
.innv-lightbox-head button {background:none;border:0;color:white;font-size:32px;line-height:1;cursor:pointer;padding:4px 10px;}
.innv-lightbox-body {display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;min-height:180px;}
.innv-lightbox-body img {display:block;max-height:78vh;max-width:100%;width:100%;object-fit:contain;margin:0 auto;}
.innv-lightbox-body button {border:0;background:none;color:white;font-size:44px;cursor:pointer;align-self:stretch;}
.innv-lightbox-body button:hover,.innv-lightbox-head button:hover {background:rgba(255,255,255,.1);}
/* Resumen inmuebles mas compacto; area del lote junto a los datos principales */
.innv-property-v14 .detail-layout {grid-template-columns:minmax(0,1fr) 345px;gap:32px;margin-top:32px;align-items:start;}
.innv-property-v14 .detail-stats {display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin-bottom:28px;padding:0 0 24px;}
.innv-property-v14 .detail-stats > span {background:#f6f7f3;border:1px solid #ebede6;padding:14px 12px;border-radius:11px;font-size:19px;line-height:1.4;}
.innv-property-v14 .detail-stats > span strong {display:block;font-size:17px;margin-top:3px;color:#173a2c;}
.innv-property-v14 .detail-stats > span small {display:block;font-size:11px;line-height:1.4;color:#61756a;}
.innv-property-v14 .innv-property-description h2 {font-size:clamp(25px,2.3vw,32px);}
.innv-property-v14 .text-content {line-height:1.78;font-size:15px;}
/* Video con carga diferida real: no se llama a YouTube hasta pulsar play */
.innv-video-section {margin:35px 0 40px;}
.innv-video-heading .eyebrow {margin-bottom:6px;}
.innv-property-v14 .innv-video-heading h2 {font-size:clamp(25px,2.4vw,32px);line-height:1.2;margin:0 0 9px;}
.innv-video-heading p {color:#5c6d63;margin:0 0 17px;font-size:14px;}
.innv-video-frame {width:100%;aspect-ratio:16/9;min-height:220px;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#112e24,#385a48);position:relative;box-shadow:0 12px 35px rgba(0,0,0,.11);}
.innv-video-activate {position:absolute;inset:0;width:100%;height:100%;border:0;background:none;color:white;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;}
.innv-video-activate>img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.66);transition:transform .25s ease;}
.innv-video-activate:hover>img {transform:scale(1.025);}
.innv-video-overlay {position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:13px;text-align:center;font-size:17px;font-weight:700;text-shadow:0 2px 10px #05110999;}
.innv-video-play {display:flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:50%;background:#bd9e69;color:#102e24;font-size:28px;text-shadow:none;box-shadow:0 8px 26px rgba(0,0,0,.22);padding-left:5px;}
.innv-video-frame iframe {width:100%;height:100%;border:0;position:absolute;inset:0;display:block;}
.innv-video-external {margin:11px 0 0;font-size:13px;}
.innv-video-external a {color:#1c6245;text-decoration:underline;text-underline-offset:3px;}
/* Amenidades: paneles plegables para evitar desplazamientos muy largos */
.innv-public-amenity-group {padding:0 !important;overflow:hidden;}
.innv-public-amenity-group > summary {list-style:none;display:flex;align-items:center;gap:10px;padding:14px 15px;cursor:pointer;color:#173d31;line-height:1.35;}
.innv-public-amenity-group > summary::-webkit-details-marker {display:none;}
.innv-public-amenity-group .innv-public-group-title {flex:1;min-width:0;font-weight:730;font-size:14px;}
.innv-public-amenity-group .innv-public-category-icon {flex:0 0 34px;width:34px;height:34px;border-radius:9px;}
.innv-public-amenity-group .innv-public-category-count {flex:0 0 auto;}
.innv-public-amenity-group .innv-amenity-chevron {color:#75867c;transform:rotate(0);font-size:23px;transition:transform .15s;line-height:1;}
.innv-public-amenity-group[open] .innv-amenity-chevron {transform:rotate(180deg);}
.innv-public-amenity-group .innv-public-amenity-list {margin:0 15px 15px;padding-top:12px;border-top:1px solid #e7e9e0;}
.innv-public-amenity-group summary:hover {background:#f0f2eb;}
.innv-public-amenity-group summary:focus-visible {outline:3px solid #b99c66;outline-offset:-3px;}
/* Contacto prioritario */
.innv-property-v14 .enquiry-box {top:16px;padding:22px;background:#f8f8f4;}
.innv-property-v14 .enquiry-box h3 {font-size:23px;}
.innv-sidebar-wa {margin:14px 0;}
.innv-contact-separator {text-align:center;color:#6b796f;font-size:12px;margin:17px 0;position:relative;}
.innv-property-mobile-contact {display:none;}
@media (max-width:1000px) {
 .innv-property-v14 .detail-layout {grid-template-columns:minmax(0,1fr) 295px;gap:23px;}
 .innv-property-v14 .detail-stats {grid-template-columns:repeat(auto-fit,minmax(105px,1fr));}
}
@media (max-width:760px) {
 .property-page.innv-property-v14 {padding-top:24px;padding-bottom:65px;}
 .innv-property-v14 .property-title-row {display:block;}
 .innv-property-price-block {align-items:flex-start;gap:1px;margin-top:15px;}
 .innv-property-price-block .big-price {white-space:normal;font-size:27px;}
 .innv-property-v14 .detail-layout {display:block;margin-top:24px;}
 .innv-property-v14 .detail-stats {grid-template-columns:repeat(2,minmax(0,1fr));}
 .innv-property-v14 .detail-stats > span {padding:12px;}
 .innv-video-frame {min-height:170px;}
 .innv-video-play {width:65px;height:65px;}
 .innv-property-v14 .detail-sidebar {margin-top:30px;}
 .innv-property-mobile-contact {display:flex;position:fixed;bottom:0;left:0;right:0;z-index:29;align-items:center;justify-content:space-between;gap:14px;padding:11px max(16px,env(safe-area-inset-right)) calc(11px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#102d23;color:white;box-shadow:0 -8px 25px rgba(0,0,0,.13);font-size:12px;}
 .innv-property-mobile-contact span {font-weight:650;white-space:nowrap;}
 .innv-property-mobile-contact a {display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:8px;background:#e8ddc2;color:#173a2c;padding:8px 13px;text-align:center;font-size:12px;font-weight:750;}
 body:has(.innv-property-mobile-contact) .whatsapp-float {display:none;}
 .innv-gallery-lightbox {width:99vw;max-width:99vw;}
 .innv-lightbox-body {grid-template-columns:32px minmax(0,1fr) 32px;}
 .innv-lightbox-body button {font-size:31px;}
 .innv-gallery-hint {bottom:9px;left:9px;font-size:11px;padding:7px 9px;}
}
@media (max-width:390px) {.innv-property-mobile-contact span {display:none;}.innv-property-mobile-contact a {width:100%;}}
@media (prefers-reduced-motion:reduce) {.innv-property-gallery .innv-gallery-item img,.innv-amenity-chevron {transition:none!important;}}
