/* Three local captures from the user's Lovable platform. Each panel has a reading plateau. */
.journey{height:900svh}
.journey-screens{position:absolute;inset:0;pointer-events:none;perspective:1600px}
.journey-screen{position:absolute;inset:17% 5% auto auto;width:59%;margin:0;opacity:0;visibility:hidden;transform-origin:50% 65%;will-change:transform,opacity,filter}
.journey-device{border:1px solid #e1e9eb75;border-radius:8px;overflow:hidden;background:#e9edf3;box-shadow:0 45px 100px #000b,0 1px 0 #fff8 inset}
.journey-device .window-bar{height:30px;font-size:9px;letter-spacing:.06em;background:#162126}
.journey-device img{display:block;width:100%;height:auto;max-height:62svh;object-fit:contain;object-position:top}
.journey-screen figcaption{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:16px;font-size:12px;color:#f4f3ef;text-shadow:0 1px 8px #000}
.journey-screen figcaption span{font-size:9px;color:#c1c8cb;text-align:right;max-width:220px}
.screen-tether{position:absolute;right:100%;top:58%;width:80px;height:1px;background:linear-gradient(90deg,#ffb278,#ffb27800);transform-origin:right}
.screen-tether i{position:absolute;left:0;top:-4px;width:8px;height:8px;border-radius:50%;border:1px solid #ffb278;box-shadow:0 0 0 7px #ffb27812}
.screen-tether span{position:absolute;bottom:17px;left:0;width:100px;text-transform:uppercase;letter-spacing:.08em;font-size:8px;color:#ffba83}
.stage .story-copy,.stage.final-scene .story-copy{top:29%;max-width:29%;will-change:transform,opacity}
.stage .story-copy h2,.stage.final-scene .story-copy h2{font-size:clamp(34px,3.5vw,56px);margin:17px 0 22px}
.stage .story-copy>p:last-child{display:block;font-size:13px;max-width:300px}
.scene-shade{background:linear-gradient(180deg,#07101345 0%,#07101308 25%,#07101335 45%,#080c10d4 85%,#0b0e10 100%)}
.scene-shade::before{content:'';position:absolute;inset:0;background:#050b10;opacity:calc(var(--console-focus,0)*.25)}
.has-console .signal-label{visibility:hidden}
.chapter-track{bottom:78px}
.console-frame{display:block;min-height:0}
.screen-content{padding:0;display:block}
.screen-heading{padding:20px 25px;margin:0}
#product-image{max-height:none;border-radius:0;width:100%;height:auto}
.screen-explainer{padding:20px 25px;margin:0;max-width:none;border-top:1px solid #16233a22}
#source-screen{display:inline-block;padding:10px 0;border-bottom:1px solid #9da9ae;color:#f4f3ef}
@media(min-width:1600px){.journey-screen{width:57%;right:6%}}
@media(max-width:800px){
 .journey{height:900svh}
 .stage .story-copy,.stage.final-scene .story-copy{top:16%;max-width:90%;right:var(--gutter)}
 .stage .story-copy h2,.stage.final-scene .story-copy h2{font-size:32px;line-height:1.05;margin:10px 0}
 .stage .story-copy>p:last-child{font-size:11px;line-height:1.5;max-width:330px}
 .story-copy .eyebrow{font-size:8px}
 .journey-screen{top:43%;right:var(--gutter);width:calc(100% - var(--gutter)*2)}
 .journey-device .window-bar{height:25px;font-size:7px;padding:0 10px}
 .journey-device img{max-height:34svh}
 .journey-screen figcaption{font-size:10px;margin-top:10px;display:block}
 .journey-screen figcaption span{font-size:8px;display:block;max-width:none;text-align:left;margin-top:5px}
 .screen-tether{right:auto;left:22px;top:-24px;width:1px;height:24px;background:linear-gradient(#ffb278,#ffb27800)}
 .screen-tether i{left:-3px;top:0;width:7px;height:7px}
 .screen-tether span{display:none}
 .chapter-track{bottom:90px;font-size:8px;gap:9px}
 .screen-heading{padding:16px}
 .screen-explainer{padding:16px}
}
@media(max-height:700px) and (min-width:801px){.journey-screen{top:13%;width:54%}.stage .story-copy{top:23%}.journey-device img{max-height:59svh}.journey-screen figcaption{margin-top:9px}}
@media(max-height:760px) and (max-width:800px){.stage .story-copy,.stage.final-scene .story-copy{top:15%}.stage .story-copy h2,.stage.final-scene .story-copy h2{font-size:28px}.stage .story-copy>p:last-child{font-size:10px}.journey-screen{top:44%}.journey-device img{max-height:29svh}.journey-screen figcaption{font-size:9px}.chapter-track{bottom:78px}}
.reduced-motion .journey{height:100svh}.reduced-motion .journey-screens{display:none}
@media(prefers-reduced-motion:reduce){.journey{height:100svh}.journey-screens{display:none}}

/* Full-viewport reading is part of the same continuous, reversible scroll pose. */
.journey-screens{z-index:3}
.journey-screen{right:auto;bottom:auto}
.journey-device{border-radius:calc(8px * (1 - var(--reading,0)));border-width:0;display:flex;flex-direction:column}
.journey-device .window-bar{height:30px;min-height:30px;flex-shrink:0;gap:15px}
.reading-viewport{flex:1;min-height:0;overflow-x:auto;overflow-y:hidden;background:#e9edf3;overscroll-behavior-x:contain;scrollbar-width:thin}
.journey-device .reading-viewport img{max-height:none;height:auto;max-width:none;object-fit:initial;margin:0;will-change:transform}
.journey-screen figcaption,.screen-tether{opacity:calc(1 - var(--reading,0))}
.reading-hint{display:none;margin-left:auto;color:#e2e9eb;letter-spacing:0;font-size:10px}
.reading-active .reading-hint{display:block}
.reading-active .window-bar>span:nth-child(2){display:none}
@media(max-width:800px){.reading-active .reading-hint{font-size:8px}.reading-active .reading-hint::before{content:'Desliza lateralmente para leer · ';}.journey-device .window-bar{font-size:8px}}
.capture-crop{overflow:hidden;width:100%;background:#e9edf3}
.capture-crop #product-image{margin-top:-12.3239437%}
dialog .capture-crop{min-width:900px}
dialog .capture-crop img{min-width:0;width:100%;max-width:none}
.capture-crop{position:relative}
.capture-crop img{position:absolute;top:0;left:0;height:auto}
/* Exclude the captured browser scrollbar (20 px) only. The badge was dismissed before recapturing.
   Originals stay intact; the site's own mobile reading scrollbar remains usable. */
.capture-crop #product-image,dialog .capture-crop img{width:101.408451%;max-width:none}
.reading-viewport img{clip-path:inset(0 1.388889% 0 0)}

/* The journey presents only the product image, with no artificial device chrome. */
.journey-screen .journey-device{border:0;border-radius:0;box-shadow:none}


.journey-screen .reading-viewport{scrollbar-width:none}
.journey-screen .reading-viewport::-webkit-scrollbar{display:none}
/* Complete capture at every scale; native dialog is the detailed reading view. */
.reading-viewport{overflow:hidden!important;position:relative}
.reading-active .reading-viewport{cursor:zoom-in}
.reading-viewport:focus-visible{outline:2px solid #ff6a1f;outline-offset:-4px}
/* Daylight art direction: retain only a local readability gradient over the scene. */
.film-vignette{background:radial-gradient(ellipse at 55% 40%,transparent 50%,#05090920 100%)}
.scene-shade{background:linear-gradient(180deg,#07101330 0%,transparent 20%,transparent 40%,#080c1070 75%,#0b0e10df 100%)}
.scene-shade::before{opacity:calc(var(--console-focus,0)*.12)}
@media(max-width:800px){.scene-shade{background:linear-gradient(180deg,#07101335,transparent 20%,#080c1020 40%,#080c107a 70%,#0b0e10e8 100%)}}

/* Three-sector narrative and readable static companion. */
.film-hotel{opacity:0}.reduced-motion .film-hotel{display:none}
.sector-examples{background:#11191c}.sector-examples h2{font-size:clamp(36px,4vw,64px);line-height:1.08}.sector-intro{max-width:650px;color:#bbc5c5;line-height:1.7;margin:24px 0 40px}.sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.sector-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}.sector-grid h3{font-size:22px;margin:24px 0}.sector-grid p{font-size:14px;line-height:1.7;color:#bbc5c5}.sector-grid strong{color:#fff}.sector-note{font-size:12px;line-height:1.6;max-width:850px;color:#a0adad;margin-top:32px}
@media(max-width:800px){.sector-grid{grid-template-columns:1fr;gap:30px}.sector-examples h2{font-size:38px}}
@media(prefers-reduced-motion:reduce){.film-hotel{display:none}}

/* V13: compositor transforms instead of resizing and blurring each scroll frame. */
.journey-screen{will-change:transform,opacity;backface-visibility:hidden}

/* CV cues share the exact crop and transform of each photograph. */
.film-shot img{object-position:50% 50%}
.vision-boxes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:calc(.9 * (1 - var(--reading-focus,0)))}
.vision-box{fill:#7ce7b406;stroke:#9becc5;stroke-width:1;vector-effect:non-scaling-stroke}
.vision-corners{fill:none;stroke:#b9f9d9;stroke-width:2;vector-effect:non-scaling-stroke}
.vision-signals{font-size:11px;color:#b9f9d9;margin-top:14px;letter-spacing:.03em}.vision-signals span{padding:0 8px;color:#829b90}
@media(max-width:800px){.hero-copy .eyebrow{font-size:8px}.hero-sub{font-size:12px}.vision-signals{font-size:10px;margin-top:10px}}

/* V15: recalibrated people and contextual CV signals. */
.vision-box{stroke:#a9d7f5;fill:#91caff06;stroke-opacity:.65}
.vision-corners{stroke:#c3e8ff;stroke-width:2}
.vision-route{fill:none;stroke:#b9e3ff;stroke-width:2;stroke-dasharray:8 9;filter:drop-shadow(0 0 4px #70beef)}
.vision-zone{fill:#8dcaff13;stroke:#b3dfff;stroke-width:1.5;filter:drop-shadow(0 0 6px #70beef)}
.vision-zone-core{fill:none;stroke:#a3d4f1;stroke-width:1;stroke-dasharray:3 6}
@media(max-width:800px){.vision-insight{display:none}.vision-box{stroke-opacity:.5}.vision-route{stroke-width:1.5}}

/* T031: persistent brand and quieter product presentation. */
.header{position:fixed;background:linear-gradient(180deg,#0b0e10ed,#0b0e109c);backdrop-filter:blur(10px)}
.header .brand{font-size:36px;gap:12px;letter-spacing:-1.5px}
.header .brand img{width:44px;height:44px}
.hero-heading h1{font-size:clamp(44px,4.7vw,72px);text-wrap:balance;max-width:860px}
@media(max-width:800px){.header{height:80px}.header .brand{font-size:30px}.header .brand img{width:38px;height:38px}.hero-heading h1{font-size:clamp(34px,6.7vw,49px)}.hero-sub{font-size:12px}.scene-label{top:105px}}
@media(max-width:420px){.hero-heading h1{font-size:34px}.hero-sub{font-size:11px}}
@media(max-height:700px){.hero-heading h1{font-size:clamp(30px,4vw,48px)}}

.xtend-section{background:#182126;border-block:1px solid #ffffff20}.xtend-section .section-heading>div{max-width:720px}.xtend-flow{display:flex;gap:24px;margin:35px 0 50px;padding:24px 0;border-block:1px solid #ffffff25;color:#bfe1ef}.xtend-flow span{flex:1;font-size:18px}.xtend-section .sector-grid h3{margin-top:0}.xtend-cta{display:flex;align-items:center;gap:36px;margin-top:40px}.xtend-cta p{font-size:12px;color:#b7bec2;max-width:620px}@media(max-width:800px){.xtend-flow{flex-direction:column;gap:12px}.xtend-cta{display:block}.xtend-cta p{margin-top:20px}}

.campaign-preview{margin:40px auto 48px;max-width:900px}.campaign-preview>a{display:block;background:#f6f8fc;cursor:zoom-in}.campaign-preview img{display:block;width:100%;height:auto}.campaign-preview figcaption{display:flex;justify-content:space-between;gap:20px;margin-top:16px;font-size:12px;color:#bac7cb}.campaign-preview figcaption a{color:white;text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.campaign-preview figcaption{flex-direction:column;gap:10px}}

.campaign-summary{max-width:1200px}.campaign-funnel{position:relative;aspect-ratio:1380/1000;overflow:hidden}.campaign-funnel img{position:absolute;top:0;left:0;transform:none}.campaign-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;margin:30px 0 18px}.campaign-metrics>div{border-top:1px solid #ffffff30;padding-top:16px}.campaign-metrics dt{font-size:12px;color:#c4d0d5}.campaign-metrics dd{font-size:clamp(23px,2.5vw,34px);margin:10px 0;letter-spacing:-.04em}.campaign-metrics small{display:block;color:#aebec4;font-size:11px;line-height:1.5}.campaign-note{font-size:12px;color:#adbec4;line-height:1.6}.campaign-results{margin-top:40px;padding-top:30px;border-top:1px solid #ffffff30}.campaign-results h3{font-size:24px;font-weight:500}.campaign-results>p:first-of-type{color:#e6bd86;font-size:12px;margin-top:10px}.campaign-results .campaign-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:800px){.campaign-metrics,.campaign-results .campaign-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.campaign-results h3{font-size:22px}}
/* T040: full-width mobile captures travel vertically with page scroll. */
.mobile-reading-image{position:absolute;inset:0 auto auto 0;opacity:0;pointer-events:none;clip-path:none!important}
@media(max-width:800px){.journey{height:1100svh}dialog.mobile-capture .capture-crop{min-width:0}dialog.mobile-capture{width:calc(100vw - 16px);max-width:none;padding:12px}}
/* T042: fixed captions accompany one scroll-driven Twin map. */
.twin-map-caption{display:none}
@media(max-width:800px){.journey-screen:first-child .reading-viewport{background:rgba(251,244,233,var(--reading,0))!important}.twin-map-caption{display:flex;position:absolute;inset:0;flex-direction:column;justify-content:space-between;padding:20px 16px;pointer-events:none;color:#302b27;opacity:var(--reading,0);font:12px Arial,sans-serif}.twin-map-caption small{font-size:11px;padding:10px 0;background:#fbf4e9eb}.twin-map-caption span{letter-spacing:.07em;background:#fbf4e9eb;padding:8px 0}}

@media(max-width:800px){.twin-zone-note{background:#fbf4e9;padding:12px 0 0}.twin-zone-note p{margin:0 0 8px;font:13px/1.45 Arial,sans-serif;max-width:45ch}.twin-zone-note small{display:block;padding:0!important;font-size:10px}}

/* Full-screen reader, independently scrollable with an always reachable close action. */
html.screen-modal-open,html.screen-modal-open body{overflow:hidden!important}
#product-image{cursor:zoom-in}
#screen-dialog,#screen-dialog.mobile-capture{box-sizing:border-box;position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0 20px 24px;border:0;border-radius:0;overflow:auto;background:#f5f4ef;color:#1d2529;overscroll-behavior:contain}
#screen-dialog .dialog-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f4ef;padding:16px 0;margin:0 0 16px}
#screen-dialog .dialog-top h2{font-size:16px;margin:0}
#close-dialog{flex-shrink:0;min-height:48px;min-width:96px;padding:10px 18px;border:1px solid #35464e;border-radius:5px;background:#172a32;color:white;font-size:15px;cursor:pointer}
#close-dialog:focus-visible{outline:3px solid #e96a27;outline-offset:3px}
#screen-dialog .capture-crop{min-width:0;max-width:1400px;margin:0 auto}
#screen-dialog>p{max-width:1000px;margin:18px auto;font-size:12px;line-height:1.5}
@media(max-width:800px){#screen-dialog,#screen-dialog.mobile-capture{padding:0 12px 24px}#screen-dialog .dialog-top{padding-top:max(12px,env(safe-area-inset-top));gap:10px}#screen-dialog .dialog-top h2{font-size:14px}}
#screen-dialog>p{color:#46545a}
