/* Revisión 43: controles cómodos al tacto y ventanas que caben en pantalla. */
.brand:focus-visible,.menu:focus-visible,#links a:focus-visible,.footer-privacy-link:focus-visible{outline:3px solid var(--green);outline-offset:5px;border-radius:5px}
.modal-close,.image-detail-close{width:44px;height:44px;min-width:44px;min-height:44px}
.rp-privacy-close{min-height:44px}
body.site-dialog-open{overflow:hidden}
.contact-privacy .rp-privacy-link{font-size:inherit;margin-top:7px;display:inline-block}
.footer-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.footer-privacy-link{border:0;background:transparent;color:inherit;font:800 13px 'Nunito',Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;padding:10px 0;cursor:pointer}
.business-email a{overflow-wrap:anywhere}
@media(max-width:1080px){
 #header nav{gap:12px}
 #header .menu{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;line-height:44px;text-align:center}
 #header .links{max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;gap:8px;padding:16px 20px 20px}
 #header.compact .links{max-height:calc(100vh - 66px);max-height:calc(100dvh - 66px)}
 #links a{min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 18px}
 #links a[aria-current="location"]::after{bottom:2px}
 .carousel-dots{gap:0}
 .carousel-dot,.carousel-dot.is-active{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;flex:none;background:transparent;border-radius:8px}
 .carousel-dot::after{content:'';position:absolute;left:50%;top:50%;width:10px;height:10px;transform:translate(-50%,-50%);background:#b9c9d3;border-radius:999px;transition:width .25s,background .25s}
 .carousel-dot.is-active::after{width:28px;background:var(--green)}
 #medio-ambiente .environment-motion-toggle{min-height:44px}
}
@media(max-width:700px){
 .hero{padding:120px 0 56px}.hero-grid{gap:26px}.hero h1{font-size:36px;letter-spacing:-1.3px}.hero .lead{font-size:17px;line-height:1.65}.carousel-stage{height:clamp(220px,62vw,330px)}.carousel-dots{margin-top:5px}
 #header .links{max-height:calc(100vh - 78px);max-height:calc(100dvh - 78px)}
 #header.compact .links{max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px)}
 .workspace-open-button,.whatsapp-button,.market-cta .btn{max-width:100%;white-space:normal;text-align:center}
 .workspace-open-button{width:100%}
 .market-modal{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
 .modal-head{position:sticky;top:-18px;margin:-18px -18px 16px;padding:18px;background:#fff;z-index:2}
 .modal-head>div{min-width:0}.modal-head h2{font-size:23px;overflow-wrap:anywhere}
 .modal-desc{font-size:14px}
 .footer-row{align-items:flex-start;gap:4px}
 .footer-privacy-link{min-height:44px}
}
@media(max-width:600px){.modal-photos{grid-template-columns:minmax(0,1fr)}.modal-photo-frame{height:230px}}
@media(max-width:360px){.wrap{padding-left:16px;padding-right:16px}.brand{gap:9px}.brand img{width:44px;height:44px}.brand strong{font-size:20px;letter-spacing:-.6px}header.compact .brand strong{font-size:20px}.hero h1{font-size:32px}.modal-head h2{font-size:21px}.modal-head .eyebrow{font-size:10px;letter-spacing:1px}.modal-photo-frame{height:205px}}
@media(prefers-reduced-motion:reduce){.carousel-dot::after{transition:none}}
