/* Movimiento y detalles comunes; contenido visible antes de iniciar JS. */
a,button,input,select{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a95513;outline-offset:5px}
.text-link{ text-underline-offset:5px;text-decoration-thickness:1px }
.hud-nav a:not(.nav-valuation){position:relative}
.hud-nav a:not(.nav-valuation)::after{content:'';position:absolute;bottom:-6px;left:0;width:100%;height:1px;background:#EF882E;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.hud-nav a:not(.nav-valuation):hover::after{transform:scaleX(1)}
.detail-features li>span:empty{display:none}
.detail-features li{padding-left:0}
.hero-action,.cta-btn,.search-submit,.nav-valuation{transition:background-color .25s ease,color .25s ease}
.hero-action:hover,.cta-btn:hover,.search-submit:hover,.nav-valuation:hover{background-color:#d97522;color:#242424}
.lightbox-stage img{transition:opacity .18s ease}
.lightbox-stage img.is-loading{opacity:0}
.photo-dialog[open]{animation:gallery-enter .24s ease-out}
@keyframes gallery-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
.lucero-page .page-intro h1,.property-editorial .detail-heading h1{animation:title-enter .6s cubic-bezier(.2,.7,.2,1) both}
@keyframes title-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.polish-reveal{opacity:0;transform:translateY(22px);transition:opacity .5s ease-out,transform .65s cubic-bezier(.2,.7,.2,1)}
.polish-reveal.is-visible{opacity:1;transform:none}
.photo-mosaic .photo-tile{animation:space-enter .8s cubic-bezier(.2,.7,.2,1) both}
.photo-mosaic .tile-1{animation-delay:.1s}.photo-mosaic .tile-2{animation-delay:.2s}
@keyframes space-enter{from{clip-path:inset(12% 0 0 0);opacity:.25;transform:translateY(12px)}to{clip-path:inset(0);opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.polish-reveal{opacity:1;transform:none}}
/* Entrada coordinada: fotografía y dibujo conservan sus originales. */
.immersive-hero .hero-stage,.immersive-hero .hero-shell,.immersive-hero .hero-inspect{transition:opacity .55s ease}
.hero-loading .immersive-hero .hero-stage,.hero-loading .immersive-hero .hero-shell,.hero-loading .immersive-hero .hero-inspect{opacity:0;pointer-events:none}
.proj-grid,.photo-mosaic{transition:opacity .45s ease}
.photo-mosaic.images-pending{opacity:0}
body.lucero .proj-grid .proj-img{background:#efede9}
.proj-view{display:none!important}
.proj-name,.related-card h3{transition:color .3s ease}
.proj:hover .proj-name,.proj:focus-visible .proj-name,.related-card:hover h3{color:#a95513}
.hero-action,.cta-btn,.nav-valuation{position:relative;isolation:isolate}
.hero-action::after,.cta-btn::after,.nav-valuation::after{content:'';position:absolute;left:12px;right:12px;bottom:7px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.hero-action:hover::after,.hero-action:focus-visible::after,.cta-btn:hover::after,.nav-valuation:hover::after{transform:scaleX(1)}
.team-member{transition:border-color .3s ease}.team-member:hover{border-color:#EF882E}
.text-link{transition:color .25s ease,border-color .25s ease}.text-link:hover{color:#a95513}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.photo-tile img,.related-card img{transition:transform 1s cubic-bezier(.22,1,.36,1)}.photo-tile:hover img,.related-card:hover img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.immersive-hero .hero-stage,.immersive-hero .hero-shell,.immersive-hero .hero-inspect,.proj-grid,.photo-mosaic{transition:none}}

/* Revisión Lucero 15/10: legibilidad y recorridos sobre la identidad aprobada. */
body.lucero .hud-nav{gap:clamp(12px,1.35vw,24px);align-items:center}
body.lucero .hud-nav a{font-size:13px;letter-spacing:.025em;white-space:nowrap}
body.lucero .hud-nav .nav-valuation{padding:12px}
body.lucero .eyebrow,body.lucero .section-index,body.lucero .proc-num,body.lucero .team-role,body.lucero .cta-small{font-size:12px;line-height:1.6}
body.lucero .page-back,body.lucero .detail-back{font-size:14px}
body.lucero .page-intro>p,body.lucero .page-body p,body.lucero .intent-intro p,body.lucero .intent-row p,body.lucero .proc-step p,body.lucero .about-copy p,body.lucero .team-member p,body.lucero .valuation-copy p,body.lucero .st-foot,body.lucero .development-band p{font-size:16px;line-height:1.7}
body.lucero .text-link,body.lucero .catalog-foot a{font-size:16px;line-height:1.5}
body.lucero .hero-action,body.lucero .cta-btn,body.lucero .form-submit{font-size:14px;letter-spacing:.02em;min-height:48px}
body.lucero .search-field label,body.lucero .catalog-extra label,body.lucero .valuation-action label{font-size:13px;line-height:1.5}
body.lucero .search-field select,body.lucero .search-mode,body.lucero .search-submit,body.lucero .catalog-extra input,body.lucero .catalog-extra select,body.lucero .valuation-action input,body.lucero .valuation-action select,body.lucero .valuation-action textarea{font-size:16px}
body.lucero .search-mode{min-height:36px}
body.lucero .search-submit{min-width:120px}
body.lucero .trust-item span,body.lucero .proof-line span,body.lucero .card-zone,body.lucero .proj-tag,body.lucero .proj-index,body.lucero .preview-note,body.lucero .catalog-foot p,body.lucero .price-currency-note,body.lucero .form-note{font-size:13px;line-height:1.6}
body.lucero .proj-meta{font-size:15px}
body.lucero .proj-grid{align-items:stretch}
body.lucero .proj{display:flex;flex-direction:column;min-width:0}
body.lucero .proj-info{flex:1;display:flex;flex-direction:column}
body.lucero .proj-bottom{margin-top:auto;padding-top:16px;gap:12px;flex-wrap:wrap}
body.lucero .proj-name{margin-bottom:20px}
body.lucero-experience .proj-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 3vw}
body.lucero-experience .proj:nth-child(even){margin-top:0}
body.lucero-experience .proj:nth-child(n) .proj-img{aspect-ratio:5/4}
body.lucero-experience .hero-stage .hero-empty{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 47%;filter:none;z-index:0;will-change:transform}
body.lucero-experience .hero-stage .hero-photo{filter:none}
body.lucero-experience .hero-lead{font-size:16px;line-height:1.6;max-width:500px}
body.lucero-experience .hero-kicker{font-size:12px;line-height:1.6}
/* Tres caminos con el mismo peso; el naranja aparece al interactuar. */
body.lucero-experience .hero-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:680px;align-items:stretch}
body.lucero-experience .hero-actions .hero-action{justify-content:center;text-align:center;font-size:15px;font-weight:500;letter-spacing:0;text-transform:none;min-height:48px;padding:0 16px;border:1px solid #ffffff70;background:#252525a0;backdrop-filter:none;color:#fff}
body.lucero-experience .hero-actions .hero-action:hover,body.lucero-experience .hero-actions .hero-action:focus-visible{color:#252525;background:#EF882E;border-color:#EF882E}
body.lucero-experience .hero-actions .hero-action::after{display:none}
body.lucero-experience #hero .search-field label{font-size:12px;font-weight:400;text-transform:none;letter-spacing:.02em;color:#62615d}
body.lucero-experience #hero .search-submit{font-size:15px;font-weight:500;text-transform:none;letter-spacing:0}
body.lucero-experience #hero .property-search{box-shadow:0 8px 24px #0001}
body.lucero-experience .hero-inspect>div{border-color:#ffffff40}
body.lucero-experience .hero-inspect button{font-size:12px;font-weight:400;min-height:44px;padding:0 16px}
body.lucero-experience .reveal-line span{font-size:10px;font-weight:500;letter-spacing:.08em;padding:6px 8px}
body.lucero-experience .reveal-line.label-left span{left:auto;right:18px;top:calc(20% + 40px)}
body.lucero-experience .hero-caption,body.lucero-experience .hero-property{font-size:12px;letter-spacing:0}
body.lucero-experience .illustration-disclosure{font-size:10px;color:#fff;letter-spacing:.04em;max-width:330px;line-height:1.6}
body.lucero-experience .hero-caption{max-width:50%}
body.lucero .cta-info,body.lucero .cta-info a{font-size:16px;line-height:1.7;letter-spacing:0;overflow-wrap:anywhere}
body.lucero .cta-info b{font-size:13px;margin-bottom:8px;display:block}
body.lucero .lucero-footer{flex-wrap:wrap;gap:26px 35px;padding-bottom:95px}
body.lucero .lucero-footer p{font-size:14px}
body.lucero .lucero-footer>span{font-size:12px}
body.lucero .lucero-footer .social-instagram{display:flex;flex-direction:column;gap:8px;border-left:2px solid #EF882E;padding:10px 0 10px 18px;text-decoration:none;font-size:14px}
.social-instagram strong{font-size:clamp(17px,1.65vw,24px);font-weight:500;letter-spacing:-.025em}
.administration-proof{display:flex;align-items:center;gap:32px;background:#f6f5f2;border-top:2px solid #EF882E;padding:34px;margin:40px 0}
.administration-proof>strong{font-size:clamp(64px,8vw,112px);font-weight:500;line-height:1;color:#a95513;letter-spacing:-.06em}
.administration-proof h2{font-size:clamp(26px,3vw,42px);font-weight:500;line-height:1.1;letter-spacing:-.03em}
.administration-proof p{font-size:16px;margin-top:12px;line-height:1.6}
.administration .proc-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:40px}
.administration .proc-step{border-top:1px solid #d6d6d6;padding-top:20px;min-width:0}
.administration .proc-step h3{margin:18px 0}
body.lucero-page #contacto.contact-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7vw;text-align:left;align-items:start}
.contact-heading>p{font-size:17px;line-height:1.65;color:#ddd;margin-top:28px;max-width:460px}
.contact-section .eyebrow{color:#EF882E}
body.lucero-page .contact-section .cta-info{display:grid;margin-top:40px;gap:24px}
.contact-instagram{display:flex;flex-direction:column;gap:8px;border-top:1px solid #ffffff40;padding-top:25px;margin-top:32px;text-decoration:none;overflow-wrap:anywhere}
.contact-instagram span{font-size:14px;color:#ddd}
.contact-instagram strong{font-size:clamp(19px,2vw,26px);font-weight:500}
.contact-form{background:#f6f5f2;padding:32px;color:#292929;min-width:0}
.contact-form label{display:block;font-size:14px;line-height:1.5;font-weight:600}
.contact-form label>span{font-weight:400;color:#666}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;max-width:100%;display:block;margin:8px 0 22px;background:#fff;border:1px solid #bcbcb8;border-radius:0;padding:12px;color:#292929;font:inherit;font-size:16px;line-height:1.5;min-height:48px}
.contact-form textarea{resize:vertical}
.contact-form .form-submit{padding:14px 20px;text-align:left;width:100%}
.contact-form .form-note{margin-top:18px;color:#555}
#contactDraftDialog{max-height:90dvh;overflow:auto}
#contactDraftDialog p{font-size:16px;line-height:1.65}
#contactDraftDialog pre{font-family:inherit;font-size:15px}
#contactDraftDialog .hero-action{background:#EF882E;color:#292929}
.whatsapp-widget{position:fixed;right:26px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:95}
.whatsapp-toggle{display:flex;align-items:center;gap:11px;background:#292929;color:#fff;border:1px solid #fff3;border-radius:999px;padding:13px 19px;min-height:52px;box-shadow:0 6px 18px #0002;font:inherit;font-weight:500;font-size:15px;line-height:1.2;cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.whatsapp-toggle svg{display:block;width:25px;height:25px;fill:currentColor;stroke:none;flex-shrink:0}
.whatsapp-toggle:hover,.whatsapp-toggle[aria-expanded=true]{background:#EF882E;color:#252525;border-color:#EF882E}
.whatsapp-panel{position:absolute;bottom:calc(100% + 12px);right:0;background:#fafaf8;color:#292929;border:1px solid #d6d6d2;border-top:3px solid #EF882E;box-shadow:0 12px 45px #0002;width:min(340px,calc(100vw - 40px));padding:28px}
.whatsapp-panel .eyebrow{color:#8e4a12;margin-bottom:20px;font-size:12px}
.whatsapp-panel h2{font-size:27px;line-height:1.1;letter-spacing:-.03em;font-weight:500;max-width:240px;margin:0 0 18px}
.whatsapp-panel p{font-size:16px;line-height:1.6;color:#555;margin-bottom:24px}
.whatsapp-panel .whatsapp-close{position:absolute;right:8px;top:6px;width:36px;height:36px;border:0;background:transparent;font-size:26px;cursor:pointer;color:#292929}
.whatsapp-open{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#292929;color:#fff;text-decoration:none;padding:15px;font-size:15px}
.whatsapp-open svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.whatsapp-number{display:block;font-size:14px;color:#666;margin-top:15px}
body:has(.nav-overlay.open) .whatsapp-widget,body:has(dialog[open]) .whatsapp-widget{display:none}
@media(min-width:769px) and (max-width:1050px){body.lucero .hud,body.lucero .hud.is-scrolled{padding-left:3vw;padding-right:3vw}body.lucero .lucero-logo{width:145px}body.lucero .hud-nav{display:flex;gap:12px}body.lucero .hud-nav a{font-size:12px!important;letter-spacing:0}body.lucero .menu-btn{display:none}}
@media(max-width:768px){
 body.lucero .hud-nav{display:none!important}
 body.lucero .menu-btn{display:block;width:32px;height:24px}
 body.lucero-experience .hero-stage .hero-empty,body.lucero-experience .hero-stage .hero-photo{object-position:50% 48%}
 body.lucero-experience .hero-shell{padding-top:235px;padding-bottom:66px;gap:28px}
 body.lucero-experience .hero-kicker{font-size:11px;margin-bottom:12px}
 body.lucero-experience .hero-title{font-size:clamp(30px,8.5vw,52px)}
 body.lucero-experience .hero-lead{font-size:16px;margin-top:18px}
 body.lucero-experience .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.lucero-experience .hero-actions .hero-action{padding:0 10px;font-size:14px;min-height:48px}
 body.lucero-experience .hero-actions .hero-action:last-child{grid-column:1/-1}
 body.lucero .search-field{min-width:0}
 body.lucero .search-field select{max-width:100%;padding-right:20px}
 body.lucero .search-field label{font-size:12px;letter-spacing:.02em}
 body.lucero .search-mode{font-size:14px}
 body.lucero-experience .hero-caption,body.lucero-experience .hero-property{font-size:10px}
 body.lucero-experience .illustration-disclosure{font-size:9px;max-width:160px;color:#fff}
 body.lucero-experience .hero-inspect button{min-height:44px;font-size:12px}
 body.lucero-experience .proj-grid{grid-template-columns:1fr;gap:44px}
 body.lucero .proj-tag{max-width:calc(100% - 70px);padding:8px;font-size:12px}
 body.lucero .proj-index{font-size:12px;padding:8px}
 body.lucero .sec-head{flex-wrap:wrap;gap:20px}
 body.lucero .lucero-footer{grid-template-columns:1fr;padding-bottom:100px}
 body.lucero .lucero-footer>*{grid-column:1/-1}
 .administration-proof{padding:24px;align-items:start;flex-direction:column;gap:20px}
 .administration .proc-grid{grid-template-columns:1fr}
 body.lucero-page #contacto.contact-section{grid-template-columns:1fr;gap:38px}
 .contact-form{padding:24px 20px}
 .whatsapp-widget{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}
 .whatsapp-toggle{min-height:50px;padding:12px 14px}
 .whatsapp-toggle span{font-size:14px}
 body:has(.property-editorial) .whatsapp-widget{bottom:calc(96px + env(safe-area-inset-bottom))}
 .whatsapp-panel{max-height:calc(100dvh - 170px);overflow-y:auto;padding:24px}
 body.lucero .contact-hint,body.lucero .source-note,body.lucero .photo-foot,body.lucero .photo-foot button,body.lucero .detail-specs span,body.lucero .detail-features li{font-size:13px;line-height:1.5}
}

/* Una imagen fallida no deja una mitad vacía ni controles sin resultado. */
.hero-single-photo .hero-photo-reveal{transform:none!important}
.hero-single-photo .hero-photo-reveal .hero-photo{translate:none!important}
.hero-single-photo .hero-empty,.hero-single-empty .hero-photo-reveal{display:none!important}
.hero-single-photo .hero-inspect,.hero-single-photo .reveal-line,.hero-single-empty .hero-inspect,.hero-single-empty .reveal-line{display:none!important}
/* Área táctil y trazos del menú conservan geometría al cambiar de breakpoint. */
@media(max-width:768px){
 body.lucero .menu-btn{width:44px;height:44px;padding:0}
 body.lucero .menu-btn span{left:9px;width:26px;bottom:auto}
 body.lucero .menu-btn span:nth-child(1){top:13px;transform:none}
 body.lucero .menu-btn span:nth-child(2){top:21px;transform:none}
 body.lucero .menu-btn span:nth-child(3){top:29px;width:18px;transform:none}
 body.lucero .menu-btn[aria-expanded=true] span:nth-child(1){top:21px;transform:rotate(45deg)}
 body.lucero .menu-btn[aria-expanded=true] span:nth-child(2){opacity:0}
 body.lucero .menu-btn[aria-expanded=true] span:nth-child(3){top:21px;width:26px;transform:rotate(-45deg)}
}
.contact-form input,.contact-form select,.contact-form textarea{font-weight:400}
/* En teléfono, el acceso compacto evita tapar acciones y datos de la ficha. */
@media(max-width:768px){
 .whatsapp-toggle{width:52px;height:52px;justify-content:center;padding:12px}
 .whatsapp-toggle>span{display:none}
}
@media(max-width:380px){
 body.lucero-experience .hero-actions .hero-action:last-child{width:calc(100% - 64px);justify-self:start}
}
@media(max-width:768px){body.lucero-experience .reveal-line span{display:none}}
@media(max-width:380px){body.lucero-experience .illustration-disclosure{max-width:120px}}

/* Living original restaurado: encuadre común de fotografía y espacio vacío. */
body.lucero-experience .hero-stage .hero-empty,
body.lucero-experience .hero-stage .hero-photo{object-position:50% 47%}
/* El catálogo usa un único eje de lectura y campos de altura comparable. */
.catalog-search .catalog-extra>*{min-width:0}
.catalog-extra label>span{display:block;min-height:3em}
.exchange-reference{grid-column:1/-1;padding:0 20px 20px;font-size:13px;line-height:1.6;color:#62615d;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px}
.exchange-reference p{flex-basis:100%;margin:0}
.exchange-reference a,.exchange-reference button{color:inherit;text-underline-offset:3px}
.exchange-reference button{border:0;background:none;padding:8px 0;text-decoration:underline;font:inherit;cursor:pointer}
.exchange-reference button[hidden]{display:none}
.catalog-page .sec-head>div{min-width:0}
@media(max-width:768px){
 body.lucero-experience .hero-stage .hero-empty,
 body.lucero-experience .hero-stage .hero-photo{object-position:50% 48%}
 body.catalog-page .sec-head{width:100%;align-items:flex-start;text-align:left;gap:14px;margin-bottom:26px}
 body.catalog-page .sec-head>div{width:100%}
 body.catalog-page .sec-head .eyebrow{font-size:11px;letter-spacing:.1em;line-height:1.6;margin-bottom:12px}
 body.catalog-page .sec-head h2{font-size:clamp(26px,7.6vw,36px);line-height:1.15}
 body.catalog-page .sec-head #resultsCount{font-size:13px;align-self:flex-start}
 body.catalog-page .section-index{font-size:12px;margin-bottom:18px}
 body.catalog-page .filter-bar{margin:0 0 28px;padding:0;gap:8px;flex-wrap:wrap;overflow:visible}
 body.catalog-page .filter-btn{min-height:44px;font-size:11px;padding:10px 12px}
 /* Reservar la franja del botón flotante para que nunca tape el importe. */
 body.lucero .proj-bottom{padding-right:64px;flex-wrap:wrap;row-gap:8px}
 .catalog-search .catalog-extra{gap:16px 14px}
 body.catalog-page .catalog-extra label{font-size:12px;letter-spacing:0}
 .catalog-extra label>span{min-height:3em}
 .catalog-extra input,.catalog-extra select{min-height:48px}
 .catalog-extra #clearCatalog{grid-column:1/-1;justify-self:start;min-height:44px;padding:8px 0}
 .catalog-search .price-currency-note,.exchange-reference{padding-left:15px;padding-right:15px}
}
@media(max-width:480px){
 body.catalog-page .catalog-search .search-field.type,
 body.catalog-page .catalog-search .search-field.zone{grid-column:1/-1;border-right:0;border-bottom:1px solid #ddd}
 body.catalog-page .catalog-search .search-field select{min-height:44px;font-size:16px;line-height:1.4;appearance:none;-webkit-appearance:none;padding:8px 28px 8px 0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23292929' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center;background-size:16px}
}
