@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
    --scene-accent: #ffd79a;
    --scene-ink: #08101f;
    --scene-light: rgba(255, 255, 255, .78);
    color-scheme: dark;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { min-width: 320px; margin: 0; background: var(--scene-ink); color: #fff; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--scene-accent); outline-offset: 4px; }

.route { position: relative; overflow: hidden; background: #04060c; }
.movie { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #04060c; }
.video-scene { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; overflow: hidden; background: #04060c; }
.video-stage { position: relative; flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #04060c; }
.video-stage::after { position: absolute; z-index: 2; inset: 0; background: radial-gradient(120% 90% at 50% 46%, transparent 39%, rgb(0 0 0 / 16%) 78%, rgb(0 0 0 / 34%) 100%); content: ""; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.video-stage.is-selecting::after { opacity: 1; }
.video-stage .poster, .video-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-stage .poster { z-index: 1; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.video-stage video { z-index: 0; background: transparent; transition: opacity .7s ease; }
.video-stage.is-selecting:not(.is-travelling) .poster { opacity: 1; }
.video-stage.is-selecting:not(.is-travelling) video { opacity: 0; }
.video-stage.is-travelling .poster { opacity: 0; }
.video-stage.is-travelling video { opacity: 1; }

.stage-logo { position: absolute; z-index: 3; top: 84.2%; left: 86%; display: grid; width: 20%; min-width: 160px; max-width: 340px; aspect-ratio: 2 / 1; place-items: center; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgb(6 9 18 / 55%) 0%, rgb(6 9 18 / 28%) 48%, transparent 78%); }
.stage-logo img { display: block; width: 88%; height: auto; filter: drop-shadow(0 2px 10px rgb(0 0 0 / 50%)); }

.vehicle-zones { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.vehicle-zone { position: absolute; margin: 0; padding: 0; transform: translateY(9px); border: 0; background: transparent; color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.video-stage.is-selecting .vehicle-zone { transform: none; opacity: 1; pointer-events: auto; }
.video-stage.is-selecting .vehicle-zone:nth-child(1) { transition-delay: .05s; }
.video-stage.is-selecting .vehicle-zone:nth-child(2) { transition-delay: .14s; }
.video-stage.is-selecting .vehicle-zone:nth-child(3) { transition-delay: .23s; }
.video-stage.is-selecting .vehicle-zone:nth-child(4) { transition-delay: .32s; }
.video-stage.is-selecting .vehicle-zone:nth-child(5) { transition-delay: .44s; }
.video-stage.is-selecting .vehicle-zone.is-dimmed { transform: scale(.97); opacity: .12; pointer-events: none; transition-delay: 0s; }
.video-stage.is-selecting .vehicle-zone.is-chosen { opacity: 1; transition-delay: 0s; }
.video-stage.is-selecting .vehicle-zone.is-chosen .frame { border-color: var(--scene-accent); background: rgb(255 190 110 / 20%); }
.frame { position: absolute; inset: 0; border: 1.5px solid rgb(255 255 255 / 74%); background: rgb(6 10 20 / 9%); box-shadow: 0 0 0 1px rgb(0 0 0 / 26%) inset; transition: border-color .25s, background .25s, transform .25s; }
.vehicle-zone:hover .frame, .vehicle-zone:focus-visible .frame { transform: scale(1.035); border-color: #fff; background: rgb(255 255 255 / 12%); }
.frame::before, .frame::after { position: absolute; width: 16px; height: 16px; border: 2px solid #fff; content: ""; opacity: .95; }
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { right: -1px; bottom: -1px; border-top: 0; border-left: 0; }
.zone-label { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.below .zone-label { top: calc(100% + 11px); }
.above .zone-label { bottom: calc(100% + 10px); }
.zone-label b { display: block; font-size: clamp(11px, 1.2vw, 16px); font-weight: 600; letter-spacing: .095em; text-shadow: 0 2px 14px rgb(0 0 0 / 92%), 0 0 3px rgb(0 0 0 / 95%); }
.zone-label i { display: block; margin-top: 3px; color: rgb(255 255 255 / 82%); font-size: clamp(8.5px, .82vw, 10.5px); font-style: normal; letter-spacing: .19em; text-shadow: 0 2px 10px rgb(0 0 0 / 95%); }
.vehicle-zone:hover .zone-label b { color: var(--scene-accent); }
.point { position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 24%), 0 2px 10px rgb(0 0 0 / 75%); }
.point::after { position: absolute; inset: -7px; border: 1.5px solid rgb(255 255 255 / 65%); border-radius: 50%; animation: pulse-point 2.2s ease-out infinite; content: ""; }
@keyframes pulse-point { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.portal-zone .frame { border-color: rgb(255 214 150 / 85%); background: rgb(255 190 110 / 14%); }
.portal-zone:hover .frame { border-color: var(--scene-accent); background: rgb(255 190 110 / 28%); }
.portal-zone .point { background: var(--scene-accent); box-shadow: 0 0 0 3px rgb(255 215 154 / 25%), 0 2px 12px rgb(0 0 0 / 75%); }
.portal-zone .point::after { border-color: rgb(255 215 154 / 70%); }
.portal-zone .zone-label b { color: var(--scene-accent); }

.scene-header { position: absolute; z-index: 8; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 2.5%; pointer-events: none; }
.scene-header > * { pointer-events: auto; }
.brand-link { display: inline-flex; align-items: center; }
.brand-link img { display: block; width: clamp(96px, 9.5vw, 142px); height: auto; }
.top-navigation { display: flex; align-items: center; gap: 3px; padding: 6px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 999px; background: rgb(8 12 24 / 38%); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.top-navigation a { padding: 9px 16px; border-radius: 999px; color: rgb(255 255 255 / 92%); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.top-navigation a:hover { background: rgb(255 255 255 / 14%); color: #fff; }
.top-navigation a.portal-link { display: inline-flex; align-items: center; gap: 9px; margin-left: 6px; background: #fff; color: #17202f; font-weight: 700; }
.top-navigation a.portal-link::before { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgb(52 199 89 / 22%); content: ""; }
.top-navigation a.portal-link:hover { background: #edf3ff; color: #0a3fa8; }

.stage-prompt { position: absolute; z-index: 5; top: 11%; right: 0; left: 0; margin: 0; color: rgb(255 255 255 / 75%); font-size: clamp(9px, 1.05vw, 12px); letter-spacing: .16em; text-align: center; text-shadow: 0 2px 12px rgb(0 0 0 / 95%); opacity: 0; pointer-events: none; transition: opacity .5s ease .35s; }
.video-scene.is-selecting .stage-prompt { opacity: 1; }
.video-scene.is-travelling .stage-prompt { color: var(--scene-accent); opacity: 1; transition-delay: 0s; }
.scene-actions { position: absolute; z-index: 6; top: calc(11% + 34px); right: 0; left: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.video-scene.is-selecting .scene-actions, .video-scene.is-travelling .scene-actions { opacity: 1; pointer-events: auto; transition-delay: .35s; }
.scene-button { padding: 10px 20px; border: 1px solid rgb(255 255 255 / 68%); border-radius: 0; background: rgb(0 0 0 / 36%); color: #fff; cursor: pointer; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.scene-button:hover { border-color: #fff; background: rgb(0 0 0 / 58%); }
.skip-intro { position: absolute; z-index: 8; top: 100px; right: 2.5%; padding: 8px 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / 50%); background: transparent; color: #fff; cursor: pointer; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; transition: color .2s ease, border-color .2s ease; }
.skip-intro:hover { border-color: var(--scene-accent); color: var(--scene-accent); }
.movie.is-selecting .skip-intro, .movie.is-travelling .skip-intro { display: none; }

.sound-button { position: absolute; z-index: 8; bottom: 3%; left: 2%; display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #6396ff; border-radius: 10px; background: rgb(10 20 39 / 38%); color: rgb(255 255 255 / 84%); cursor: pointer; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.sound-button:hover { background: rgb(52 120 246 / 36%); }
.sound-button svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.sound-button .sound-off { opacity: 0; }
.sound-button[aria-pressed="true"] .sound-wave { opacity: 0; }
.sound-button[aria-pressed="true"] .sound-off { opacity: 1; }

.discover-cue { position: absolute; z-index: 8; bottom: 3.3%; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 18px; transform: translateX(-50%); color: rgb(255 255 255 / 88%); font-size: 11px; letter-spacing: .09em; }
.discover-cue i { display: block; width: 1px; height: 34px; transform-origin: top; background: currentColor; animation: discover-line 2.2s ease-in-out infinite; }
@keyframes discover-line { 0%, 100% { transform: scaleY(.25); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.mobile-zones { display: none; }

.feature-panel { position: relative; display: flex; min-height: 100vh; min-height: 100svh; align-items: flex-end; overflow: hidden; background: #06070b; scroll-margin-top: 0; }
.feature-image { position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.feature-panel:hover .feature-image { transform: scale(1.025); }
.feature-image-reformas { background-image: url("../media/reformas-ruta.jpg"); }
.feature-image-fichas { background-image: url("../media/fichas-reducidas-ruta.jpg"); }
.feature-image-completados { background-image: url("../media/completados-ruta.jpg"); }
.feature-image-historicos { background-image: url("../media/historicos-ruta.jpg"); }
.feature-panel::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 42%) 0%, transparent 34%, rgb(0 0 0 / 72%) 100%), linear-gradient(90deg, rgb(0 0 0 / 40%) 0%, transparent 46%); content: ""; pointer-events: none; }
.feature-panel-right { justify-content: flex-end; }
.feature-panel-right::after { background: linear-gradient(180deg, rgb(0 0 0 / 42%) 0%, transparent 34%, rgb(0 0 0 / 72%) 100%), linear-gradient(270deg, rgb(0 0 0 / 40%) 0%, transparent 46%); }
.feature-copy { position: relative; z-index: 2; width: min(1440px, 100%); margin: 0 auto; padding: 0 30px 74px; color: #fff; }
.feature-panel-right .feature-copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.feature-number { display: block; margin-bottom: 14px; color: rgb(255 255 255 / 68%); font-size: 11px; letter-spacing: .09em; }
.feature-copy h2 { margin: 0; font-size: clamp(26px, 4.4vw, 56px); font-weight: 500; letter-spacing: .02em; line-height: 1.06; }
.feature-copy p { max-width: 46ch; margin: 16px 0 0; color: rgb(255 255 255 / 82%); font-size: 13px; letter-spacing: .015em; line-height: 1.78; }
.feature-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: #fff; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; transition: color .2s, border-color .2s; }
.feature-link:hover { border-bottom-color: var(--scene-accent); color: var(--scene-accent); }
.feature-link span { transition: transform .25s ease; }
.feature-link:hover span { transform: translateX(5px); }

.portal-feature { display: grid; min-height: 64vh; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: #000; color: #fff; }
.portal-feature-image { position: relative; min-height: 320px; background-image: url("../media/portal-ruta.jpg"); }
.portal-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 74px 48px; }
.portal-feature-copy h2 { margin: 0; font-size: clamp(22px, 2.8vw, 40px); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.portal-feature-copy p { max-width: 46ch; margin: 18px 0 0; color: rgb(255 255 255 / 72%); font-size: 13px; letter-spacing: .015em; line-height: 1.78; }
.portal-feature-copy .feature-link { align-self: flex-start; margin-top: 30px; }

.journey { color: #fff; }
.journey-heading { padding: 96px 30px 112px; background: linear-gradient(180deg, #000 0%, #04060c 10%, #080e1a 20%, #0d1728 31%, #132139 42%, #1b2d4b 53%, #27395c 63%, #3b4d73 72%, #5b6d90 80%, #8593b0 87%, #b3bdd0 93%, #dbe1ea 97%, #eef2f7 100%); }
.journey-inner, .journey-steps, .journey-ending > p, .site-footer-inner, .site-footer-note { width: min(1440px, 100%); margin-right: auto; margin-left: auto; }
.journey-kicker { margin: 0 0 18px; color: #aeb8c7; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.journey-heading h2 { margin: 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: .02em; line-height: 1.14; text-transform: uppercase; }
.journey-lead { max-width: 62ch; margin: 18px 0 0; color: #bdc5d1; font-size: 13px; letter-spacing: .015em; line-height: 1.78; }
.journey-middle { padding: 0 30px 84px; background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 32%, #fff 66%); color: #0a0c11; }
.journey-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 0; padding: 0; list-style: none; }
.journey-steps li { display: flex; min-width: 0; flex-direction: column; padding: 26px 24px; border: 1px solid #e1e9f4; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgb(12 38 78 / 5%), 0 10px 30px rgb(12 38 78 / 6%); }
.journey-number { display: inline-grid; width: 32px; height: 32px; margin-bottom: 16px; place-items: center; border-radius: 10px; background: #eaf2fe; color: #1e4fd8; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.journey-steps h3 { margin: 0 0 5px; color: #0a0c11; font-size: 12.5px; font-weight: 600; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
.journey-steps em { margin-bottom: 12px; color: #1e4fd8; font-size: 12px; font-style: normal; letter-spacing: .02em; }
.journey-steps p { margin: 0; color: #59677b; font-size: 13px; line-height: 1.78; }
.journey-tag { align-self: flex-start; margin-top: auto; padding-top: 18px; color: #8290a4; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.journey-tag::before { display: block; width: 22px; height: 1px; margin-bottom: 10px; background: #1e4fd8; content: ""; opacity: .5; }
.journey-ending { padding: 152px 30px 104px; background: linear-gradient(180deg, #fff 0%, #eef2f7 4%, #dbe1ea 8%, #b3bdd0 13%, #8593b0 19%, #5b6d90 26%, #3b4d73 35%, #27395c 45%, #1b2d4b 56%, #132139 67%, #0d1728 77%, #0d1119 87%, #151719 95%, #181818 100%); }
.journey-ending > p { max-width: 78ch; margin-top: 0; margin-bottom: 0; color: rgb(255 255 255 / 70%); font-size: 12.5px; line-height: 1.8; }
.journey-ending > p span { display: block; margin-bottom: 10px; color: #fff; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }

.site-footer { padding: 60px 30px 44px; border-top: 1px solid rgb(255 255 255 / 12%); background: #08090c; color: #fff; }
.site-footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.site-footer-inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer-inner h2 { margin: 0 0 6px; color: #fff; font-size: 12px; font-weight: 400; letter-spacing: .09em; }
.site-footer-inner a, .site-footer-inner span { color: rgb(255 255 255 / 62%); font-size: 11px; letter-spacing: .091em; text-decoration: none; text-transform: uppercase; }
.site-footer-inner a:hover { color: var(--scene-accent); }
.site-footer-note { margin-top: 44px; margin-bottom: 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 12%); color: #9aa5b5; font-size: 11px; letter-spacing: .091em; text-transform: uppercase; }

.content-page { min-height: 100vh; background: #05060b; color: #fff; }
.content-page-header { position: absolute; z-index: 2; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; }
.content-page-header .brand-link img { width: clamp(96px, 9.5vw, 142px); }
.content-page-back { color: rgb(255 255 255 / 76%); font-size: 11px; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.content-page-back:hover { color: var(--scene-accent); }
.content-page-intro { min-height: 48vh; display: flex; align-items: flex-end; padding: 130px 30px 68px; background: linear-gradient(180deg, #06070b 0%, #0b1321 30%, #1b2d4b 68%, #eef2f7 100%); color: #fff; }
.content-page-inner { width: min(1000px, 100%); margin: 0 auto; }
.content-page-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 64px); font-weight: 500; letter-spacing: .015em; line-height: 1.08; text-transform: uppercase; }
.content-page-summary { max-width: 62ch; margin: 20px 0 0; color: rgb(255 255 255 / 78%); font-size: 15px; line-height: 1.8; }
.content-page-body { min-height: 35vh; padding: 64px 30px 100px; background: #eef2f7; color: #17202e; }
.content-page-body p { max-width: 78ch; margin: 0 0 1.25em; color: #4d5b6d; font-size: 15px; line-height: 1.9; }

.service-dialog { width: min(680px, calc(100% - 32px)); max-height: min(86vh, 760px); padding: 0; overflow: auto; border: 1px solid rgb(255 255 255 / 18%); background: #0b1321; color: #fff; }
.service-dialog::backdrop { background: rgb(0 0 0 / 76%); backdrop-filter: blur(5px); }
.service-dialog-header { display: flex; justify-content: space-between; gap: 24px; padding: 26px 30px 20px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.service-dialog-header h2 { margin: 0; font-size: 24px; font-weight: 500; }
.service-dialog-header p { margin: 8px 0 0; color: #b9c3d1; font-size: 13px; line-height: 1.65; }
.service-dialog-close { align-self: flex-start; border: 0; background: none; color: #fff; cursor: pointer; font-size: 25px; line-height: 1; }
.service-dialog-body { display: grid; gap: 18px; padding: 24px 30px 12px; }
.service-dialog-body h3 { margin: 0 0 6px; color: var(--scene-accent); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.service-dialog-body p { margin: 0; color: #d0d6df; font-size: 13px; line-height: 1.7; }
.service-dialog-note { margin: 6px 30px 0; color: #9aa5b5; font-size: 11px; line-height: 1.6; }
.service-dialog-actions { display: flex; justify-content: flex-end; padding: 10px 30px 22px; }
.service-dialog-actions .feature-link { margin-top: 0; }

.contact-cta { position: fixed; z-index: 10; right: 24px; bottom: 92px; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--scene-accent); background: #0b1321; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 28px rgb(0 0 0 / 35%); }
.contact-cta:hover, .contact-cta:focus-visible { background: var(--scene-accent); color: #08111f; }
.contact-form-section { padding: 64px 24px 100px; background: #eef2f7; }
.contact-form { display: grid; width: min(760px, 100%); gap: 20px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); border: 1px solid rgb(255 255 255 / 16%); background: #0b1321; color: #fff; }
.contact-field { display: grid; gap: 9px; }
.contact-field label { color: var(--scene-accent); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-field input, .contact-field textarea { width: 100%; padding: 13px 14px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 0; outline: none; background: rgb(255 255 255 / 5%); color: #fff; font: inherit; font-size: 14px; }
.contact-field input { min-height: 48px; }
.contact-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.contact-field input:focus, .contact-field textarea:focus { border-color: #83afff; box-shadow: 0 0 0 3px rgb(52 120 246 / 20%); }
.contact-submit { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; justify-self: start; margin-top: 8px; padding: 0 20px; border: 1px solid var(--scene-accent); background: var(--scene-accent); color: #08111f; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-submit:hover { background: transparent; color: #fff; }
.contact-field-error, .contact-errors { margin: 0; color: #ff9b9b; font-size: 13px; line-height: 1.6; }
.contact-success { margin: 0; padding: 14px 16px; border: 1px solid #5ca889; color: #b9efd5; font-size: 14px; line-height: 1.6; }

.login-page { min-height: 100vh; background: #05060b; }
.login-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #05060b; }
.login-art { position: relative; min-height: 100vh; background: url("../media/portal-ruta.jpg") center / cover no-repeat; }
.login-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 14%), rgb(0 0 0 / 40%)); content: ""; }
.login-brand { position: absolute; z-index: 1; top: 28px; left: 30px; }
.login-brand img { width: clamp(96px, 9.5vw, 142px); }
.login-card { display: flex; width: min(520px, 100%); flex-direction: column; justify-content: center; justify-self: center; padding: 72px 48px; }
.login-back { align-self: flex-start; margin-bottom: 56px; color: #b4c0d1; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.login-back span { margin-right: 8px; color: var(--scene-accent); }
.login-card .eyebrow { margin: 0 0 14px; color: #aeb8c7; font-size: 11px; font-weight: 500; letter-spacing: .09em; }
.login-card h1 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.login-intro { margin: 16px 0 30px; color: #bdc5d1; font-size: 13px; line-height: 1.7; }
.login-form { display: grid; gap: 10px; }
.login-form label { margin-top: 8px; color: #e1e6ed; font-size: 12px; font-weight: 600; }
.login-form input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 0; outline: none; background: rgb(255 255 255 / 7%); color: #fff; font-size: 13px; }
.login-form input::placeholder { color: #a1adbd; }
.login-form input:focus { border-color: #83afff; box-shadow: 0 0 0 3px rgb(52 120 246 / 20%); }
.login-submit { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 10px; justify-self: start; margin-top: 20px; padding: 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / 45%); background: none; color: #fff; cursor: pointer; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.login-submit:hover { border-color: var(--scene-accent); color: var(--scene-accent); }
.login-notice { margin: 8px 0 0; color: var(--scene-accent); font-size: 12px; line-height: 1.6; }
.login-foot { margin: 54px 0 0; color: #a4b0c0; font-size: 10px; }

@media (max-width: 1100px) {
    .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .portal-feature { grid-template-columns: 1fr; }
    .portal-feature-copy { padding: 48px 24px; }
}

@media (max-width: 760px) {
    .movie { min-height: 100vh; min-height: 100svh; }
    .video-scene { display: block; }
    .video-stage { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; }
    .stage-logo { top: 82%; right: 2%; left: auto; width: 30%; min-width: 100px; max-width: 170px; transform: translateY(-50%); }
    .vehicle-zone .zone-label { display: none; }
    .vehicle-zone { transform: none; }
    .scene-header { padding: 14px 18px; }
    .brand-link img { width: 105px; }
    .top-navigation { padding: 4px; }
    .top-navigation a:not(.portal-link) { display: none; }
    .top-navigation a.portal-link { margin-left: 0; padding: 8px 14px; font-size: 11px; }
    .stage-prompt { top: 80px; font-size: 10px; letter-spacing: .19em; }
    .scene-actions { top: 111px; }
    .scene-button { padding: 8px 13px; font-size: 10px; }
    .skip-intro { top: 83px; right: 18px; font-size: 9px; }
    .mobile-zones { position: absolute; z-index: 5; right: 16px; bottom: 74px; left: 16px; display: grid; width: auto; max-height: min(45vh, 340px); gap: 7px; margin: 0 auto; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .5s ease .35s; }
    .video-scene.is-selecting .mobile-zones { opacity: 1; pointer-events: auto; }
    .video-scene.is-travelling .mobile-zones { display: none; }
    .mobile-zones button { display: flex; width: 100%; align-items: baseline; gap: 10px; padding: 9px 12px; border: 1px solid rgb(255 255 255 / 36%); border-radius: 0; background: rgb(10 14 24 / 65%); color: #fff; cursor: pointer; text-align: left; }
    .mobile-zones button b { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
    .mobile-zones button span { color: rgb(255 255 255 / 72%); font-size: 10px; letter-spacing: .03em; }
    .mobile-zones button.mobile-portal { border-color: #fff; }
    .mobile-zones button.mobile-portal b { color: var(--scene-accent); }
    .sound-button { bottom: 15px; left: 18px; min-height: 34px; }
    .sound-button span { display: none; }
    .discover-cue { bottom: 14px; }
    .discover-cue i { height: 24px; }
    .movie.is-selecting .discover-cue { opacity: 0; pointer-events: none; }
    .feature-panel { min-height: 82vh; min-height: 82svh; }
    .feature-copy { padding: 0 22px 48px; }
    .feature-panel-right .feature-copy { align-items: flex-start; text-align: left; }
    .feature-copy h2 { font-size: clamp(30px, 10vw, 44px); }
    .feature-copy p { max-width: 44ch; font-size: 12px; }
    .portal-feature { grid-template-columns: 1fr; }
    .portal-feature-image { min-height: 44vh; }
    .portal-feature-copy { padding: 48px 24px 58px; }
    .journey-heading { padding: 72px 22px 78px; }
    .journey-middle { padding: 0 22px 56px; }
    .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .journey-steps li { min-height: 260px; padding: 18px; }
    .journey-ending { padding: 92px 22px 72px; }
    .site-footer { padding: 48px 22px 32px; }
    .site-footer-note { margin-top: 34px; }
    .login-shell { grid-template-columns: 1fr; }
    .login-art { min-height: 34vh; }
    .login-brand { top: 18px; left: 20px; }
    .login-card { width: min(520px, 100%); padding: 42px 24px 54px; }
    .login-back { margin-bottom: 38px; }
    .login-foot { margin-top: 38px; }
    .content-page-header { padding: 18px 20px; }
    .content-page-header .brand-link img { width: 105px; }
    .content-page-intro { min-height: 42vh; padding: 120px 22px 48px; }
    .content-page-intro h1 { font-size: clamp(30px, 10vw, 46px); }
    .content-page-summary { font-size: 13px; }
    .content-page-body { padding: 44px 22px 72px; }
}

@media (max-width: 700px) {
    .journey-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .movie { min-height: 100vh; min-height: 100svh; }
    .scene-header { gap: 8px; padding-right: 13px; padding-left: 14px; }
    .brand-link img { width: 91px; }
    .top-navigation a.portal-link { padding: 8px 11px; }
    .mobile-zones { margin-top: 7px; }
    .mobile-zones button { gap: 7px; padding: 8px 9px; }
    .mobile-zones button b { font-size: 10px; }
    .mobile-zones button span { font-size: 9px; }
    .journey-steps { grid-template-columns: 1fr; }
    .journey-steps li { min-height: 0; }
    .feature-panel { min-height: 78vh; min-height: 78svh; }
    .feature-copy { padding-bottom: 38px; }
    .portal-feature-image { min-height: 36vh; }
    .portal-feature-copy { padding: 38px 20px 48px; }
    .journey-heading { padding: 60px 20px 72px; }
    .journey-middle { padding-right: 20px; padding-left: 20px; }
    .journey-ending { padding: 72px 20px 56px; }
    .site-footer { padding-right: 20px; padding-left: 20px; }
    .contact-cta { right: 14px; bottom: 76px; min-height: 44px; padding-right: 14px; padding-left: 14px; font-size: 10px; }
    .contact-form-section { padding: 42px 16px 80px; }
    .login-art { min-height: 30vh; }
    .login-card { padding-right: 20px; padding-left: 20px; }
    .content-page-header { padding-right: 16px; padding-left: 16px; }
    .content-page-header .brand-link img { width: 91px; }
    .content-page-back { font-size: 9px; }
    .content-page-intro { padding-right: 20px; padding-left: 20px; }
    .content-page-body { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
