/* Inner-page extension. Existing copy/photos/forms/schema remain in the HTML unchanged. */
body[data-motion-page]:not([data-motion-page="home"]) main h1,body[data-motion-page]:not([data-motion-page="home"]) main h2{position:relative}
body[data-motion-page="inner"] .hsimg,body[data-motion-page="inner"] .artimg{overflow:hidden;isolation:isolate}
body[data-motion-page="inner"] .hsimg img{width:100%;height:100%;object-fit:cover;display:block}
.pcard,.bcard,.bens>div{transform-style:preserve-3d}.pcard .pimg{overflow:hidden}.pcard img,.bcard img{transition:filter .4s}.pcard:hover img,.bcard:hover img{filter:contrast(1.03)}
.pcard.motion-tilt:hover,.bcard.motion-tilt:hover{transform:perspective(1000px) rotateX(var(--inner-rx,0deg)) rotateY(var(--inner-ry,0deg)) translateY(-5px)}
.inner-step-lit{border-color:#65b530!important;box-shadow:0 14px 32px #0b1b3b12}.inner-step-lit>span{color:#468d24!important}
.inner-photo-showcase{position:relative;background:#0b1b3b;color:white;isolation:isolate;margin-top:28px;overflow:clip}
.inner-scene-stage{position:relative;height:clamp(420px,43vw,610px);min-height:0;overflow:hidden}
.inner-scene-frames{position:absolute;inset:0}.inner-shot{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;overflow:hidden}.inner-shot.is-active{opacity:1;visibility:visible}
.inner-shot picture{display:block;position:absolute;inset:0}.inner-shot img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.inner-shot:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#051326ed,transparent 66%),linear-gradient(180deg,#051326aa,transparent 32%);pointer-events:none}
.inner-shot figcaption{position:absolute;z-index:2;left:max(5vw,24px);right:24px;bottom:94px;color:white}
.inner-shot figcaption>span{font-size:11px;font-weight:800;letter-spacing:.18em;color:#c3e4a2}.inner-shot h3{font-size:clamp(30px,4.6vw,62px);line-height:1.08;letter-spacing:-.04em;color:white;margin:14px 0 0;max-width:850px}
.inner-scene-kicker{position:absolute;left:max(5vw,24px);top:30px;z-index:4;font:800 11px Manrope,system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#fff}
.inner-origin-note{position:absolute;z-index:4;top:57px;left:max(5vw,24px);right:24px;color:#e5ebf3;font-size:9px;line-height:1.4;pointer-events:none}
.inner-scene-tabs{position:absolute;z-index:5;left:max(5vw,24px);right:max(5vw,24px);bottom:24px;display:flex;gap:10px}
.inner-scene-tabs button{appearance:none;border:1px solid #ffffff70;background:#0b1b3b99;color:white;padding:11px 15px;border-radius:5px;font:700 11px Manrope,system-ui,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.inner-scene-tabs button[aria-pressed="true"]{background:#afd580;color:#0b1b3b;border-color:#afd580}.inner-scene-tabs button:focus-visible{outline:2px solid white;outline-offset:4px}.inner-scene-tabs button span{margin-left:7px}
.inner-scene-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px max(5vw,24px);border-top:1px solid #ffffff20;font-size:13px;color:#d6e1ee}.inner-scene-cta .btn{white-space:nowrap}
.inner-utility-heading{overflow:clip}
@media(max-width:900px){
 .inner-photo-showcase{margin-top:20px}.inner-scene-stage{height:clamp(330px,47svh,420px);touch-action:pan-y pinch-zoom}.inner-scene-kicker{top:20px;left:20px;right:20px;font-size:10px;letter-spacing:.1em}.inner-origin-note{left:20px;top:43px;font-size:8px;max-width:310px}
 .inner-shot figcaption{left:20px;right:20px;bottom:82px}.inner-shot figcaption>span{font-size:9px}.inner-shot h3{font-size:30px;margin-top:10px;max-width:330px}
 .inner-scene-tabs{bottom:20px;left:20px;right:20px;gap:8px}.inner-scene-tabs button{min-width:48px;padding:10px 13px;font-size:11px}.inner-scene-tabs button span{display:none}
 .inner-scene-cta{padding:14px 20px;justify-content:center}.inner-scene-cta>span{display:none}.inner-scene-cta .btn{width:100%;justify-content:center;padding:12px 18px;min-height:44px;font-size:13px}
 .inner-shot[data-origin="generated"] img{object-position:56% center}.pcard,.bcard{transform-style:flat}
 body[data-motion-page="utility"]{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){.inner-shot,.inner-scene-tabs button,.pcard,.bcard{transition:none!important}.inner-shot img{transform:none!important}.pcard.motion-tilt:hover,.bcard.motion-tilt:hover{transform:none}.inner-step-lit{box-shadow:none}}

/* Top-of-page photo heroes; original H1/intro/links are moved, not duplicated. */
:root{--mobile-contact-height:0px;--site-header-height:78px;--inner-proof-height:60px}
.inner-as-hero{margin-top:0;overflow:clip}.inner-as-hero .inner-scene-stage{height:clamp(560px,calc(100svh - var(--site-header-height) - var(--inner-proof-height)),760px)}
.inner-as-hero .inner-scene-kicker{display:none}.inner-as-hero .inner-shot:after{background:linear-gradient(90deg,rgba(3,13,26,.91),rgba(3,13,26,.66) 58%,rgba(3,13,26,.22)),linear-gradient(0deg,#051326c9,transparent 65%)}
.inner-hero-copy{position:absolute;z-index:5;left:max(5vw,24px);right:24px;bottom:142px;width:min(72vw,880px);color:#fff}
.inner-hero-copy .eye{font-size:12px;color:#c2e2a0;letter-spacing:.14em;margin-bottom:12px}.inner-hero-copy h1{font-size:clamp(34px,4vw,56px);line-height:1.08;letter-spacing:-.045em;color:#fff;margin:0 0 18px;text-wrap:balance;text-shadow:0 2px 20px #0003}
.inner-hero-copy .lead{font-size:clamp(15px,1.35vw,19px);line-height:1.55;color:#e9eef5;margin:0 0 25px;max-width:780px}.inner-hero-copy .cta{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.inner-hero-copy .btn.ghost{border-color:#ffffffb0;color:white;background:#ffffff0d}.inner-hero-copy .btn.ghost svg{fill:currentColor}.inner-hero-copy .btn.ghost:hover{background:#fff;color:#0b1b3b}
.inner-hero-breadcrumbs{position:absolute!important;z-index:6;top:23px;left:max(5vw,24px);right:24px;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;color:#d9e5ef;font-size:10px}.inner-hero-breadcrumbs a{color:#e7edf5}.inner-hero-breadcrumbs a:hover{color:#c5e5a5}
.inner-as-hero .inner-shot figcaption{bottom:79px;left:auto;right:max(5vw,24px);max-width:390px;text-align:right;pointer-events:none}.inner-as-hero .inner-shot figcaption>span{font-size:9px}.inner-as-hero .inner-shot h3{font-size:16px;letter-spacing:0;line-height:1.25;margin:5px 0 0}
.inner-as-hero .inner-origin-note{top:auto;bottom:6px;left:max(5vw,24px);right:24px;font-size:8px}.inner-as-hero .inner-scene-tabs{bottom:25px}
.inner-hero-proof{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px max(5vw,24px);background:#102341;border-top:1px solid #ffffff18;color:#dfebf5}
.inner-hero-proof .trust{margin:0;padding:0;gap:24px;color:#dfebf5;font-size:12px}.inner-hero-proof .trust li{gap:5px}.inner-hero-proof .trust svg{width:15px;height:15px;color:#b9dd99;flex-shrink:0}
.inner-hero-proof .badge{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:none!important;box-shadow:none!important;color:#cfdded;font-size:10px;max-width:none}
.inner-hero-proof .badge b{display:inline;color:white;font-size:11px;margin-right:6px}.inner-hero-proof .badge .ico{width:23px;height:23px;padding:4px;border-radius:5px}.inner-as-hero+.statwrap{margin-top:24px}
@media(max-width:900px){
 :root{--mobile-contact-height:calc(68px + env(safe-area-inset-bottom,0px));--inner-proof-height:70px}
 html{scroll-padding-bottom:calc(var(--mobile-contact-height) + 20px)}body{padding-bottom:var(--mobile-contact-height)!important}body>main{padding-bottom:var(--mobile-contact-height)}
 main>section,main .stats,main .badge,footer{scroll-margin-bottom:calc(var(--mobile-contact-height) + 20px)}input,select,textarea,button,a{scroll-margin-bottom:calc(var(--mobile-contact-height) + 20px)}
 .inner-as-hero .inner-scene-stage{height:calc(100svh - var(--site-header-height) - var(--mobile-contact-height) - var(--inner-proof-height));min-height:480px;max-height:730px}
 .inner-hero-copy{left:20px;right:20px;bottom:112px;width:auto}.inner-hero-copy .eye{font-size:10px;line-height:1.4;letter-spacing:.12em;margin-bottom:10px}.inner-hero-copy h1{font-size:clamp(24px,6.7vw,29px);line-height:1.1;margin-bottom:13px;letter-spacing:-.035em}.inner-hero-copy .lead{font-size:13px;line-height:1.45;margin-bottom:17px;max-width:100%}
 .inner-hero-copy .cta{gap:8px}.inner-hero-copy .btn{font-size:11px;padding:12px 15px;min-height:44px;justify-content:center;white-space:nowrap}.inner-hero-copy .btn svg{width:18px;height:18px}
 .inner-hero-breadcrumbs{top:16px;left:20px;right:20px;font-size:9px;line-height:1.45}.inner-as-hero .inner-shot figcaption{bottom:69px;left:20px;right:20px;max-width:none;text-align:left;display:flex;gap:10px;align-items:center}.inner-as-hero .inner-shot figcaption>span{font-size:8px;white-space:nowrap}.inner-as-hero .inner-shot h3{font-size:11px;margin:0;line-height:1.2}.inner-as-hero .inner-origin-note{left:20px;right:20px;bottom:6px;font-size:7px;line-height:1.2;max-width:none}.inner-as-hero .inner-scene-tabs{left:20px;right:20px;bottom:24px}.inner-as-hero .inner-scene-tabs button{padding:9px 12px;min-width:44px;font-size:10px}
 .inner-hero-proof{flex-direction:column;gap:6px;padding:10px 20px;min-height:60px;align-items:flex-start}.inner-hero-proof .trust{gap:12px;font-size:9px;line-height:1.3;flex-wrap:wrap}.inner-hero-proof .trust li{gap:4px}.inner-hero-proof .trust svg{width:11px;height:11px}.inner-hero-proof .badge{font-size:9px;line-height:1.25;gap:6px;white-space:normal}.inner-hero-proof .badge b{font-size:9px}.inner-hero-proof .badge .ico{width:17px;height:17px;padding:3px}
 body[data-motion-page="inner"] .statwrap{margin-top:20px!important;position:relative;z-index:0;padding-bottom:14px}.inner-as-hero+.statwrap{margin-top:20px}
 body[data-motion-page="inner"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-motion-page="inner"] .stats>div{padding:18px 12px;min-width:0}body[data-motion-page="inner"] .stats b{font-size:30px}body[data-motion-page="inner"] .stats span{font-size:12px;line-height:1.35;display:block}
 .hsimg>img{height:auto!important}.hsimg .badge{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:12px 0 0;max-width:100%;width:fit-content;box-sizing:border-box;font-size:12px}.hsimg{padding-bottom:4px}
}
@media(max-width:900px) and (max-height:700px){.inner-as-hero .inner-scene-stage{height:auto;min-height:560px;max-height:none}.inner-hero-copy{position:relative;left:auto;right:auto;bottom:auto;padding:77px 20px 112px}.inner-hero-copy h1{font-size:24px}.inner-hero-copy .lead{font-size:12px}}
@media(prefers-reduced-motion:reduce){.inner-hero-copy h1{transform:none!important}.inner-hero-copy .motion-words{opacity:1!important;transform:none!important}}

/* Keep hero copy in natural flow on phones: long titles/zoom can grow rather than clip. */
@media(max-width:900px){
 .inner-as-hero .inner-scene-stage{height:auto;min-height:max(480px,calc(100svh - var(--site-header-height) - var(--mobile-contact-height) - var(--inner-proof-height)));max-height:none}
 .inner-hero-copy{position:relative;left:auto;right:auto;bottom:auto;width:auto;padding:76px 20px 120px;box-sizing:border-box}
}

/* Additional city heroes keep seven stage controls compact; existing banners are unchanged. */
.inner-as-hero[data-scene^="municipality-"] .inner-scene-tabs button span{display:none}
@media(max-width:900px){
 .inner-as-hero[data-scene^="municipality-"] .inner-scene-tabs{gap:5px}
 .inner-as-hero[data-scene^="municipality-"] .inner-scene-tabs button:not(.scene-auto-toggle){min-width:28px;width:28px;padding:8px 0;font-size:9px}
 .inner-shot img[src*="condominios-residente-qr"]{object-position:44% center!important}
 .inner-shot img[src*="condominios-guardia-tablet"]{object-position:35% center!important}
 .inner-shot img[src*="nosotros-equipo-instalacion"]{object-position:45% center!important}
 .inner-shot img[src*="nosotros-planeacion-ingenieria"]{object-position:62% center!important}
 .inner-shot img[src*="contacto-revision-proyecto"]{object-position:47% center!important}
 .inner-shot img[src*="contacto-visita-tecnica"]{object-position:42% center!important}
}

/* Only the selected label is readable during a rapid reversal/crossfade. */
.inner-shot:not(.is-active) figcaption{opacity:0!important;visibility:hidden!important}
