/* INTRO (misma pieza en la web y en la app; se arma con construir.py) */
#intro{ position:fixed; inset:0; z-index:100; background:#140204; transition:opacity .5s ease; }
#intro.out{ opacity:0; pointer-events:none; }
.m-skip{ position:absolute; right:20px; bottom:calc(env(safe-area-inset-bottom,0px) + 20px); z-index:5; height:44px; padding:0 18px; border-radius:14px; background:rgba(20,0,3,.45); border:1px solid rgba(255,244,214,.3); color:var(--cream); font-weight:800; font-size:14px; }
#intro{ --ink:#FFD400; --outline:#FFD400; --ring:#FFF4D6; --eye:#E8232A; --mouth:#FFF4D6; --brow:#FFD400; --slogan:#FFF4D6; --wipe:#E8232A; --dust:#FFD400; --bar:#FFD400; --bar-bg:rgba(255,244,214,.2);
box-sizing:border-box; padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px); }
#intro .stage{ position:relative; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; background:transparent; }
#intro .sp{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; }
/* fondo */
#intro .wipe{ position:absolute; inset:0; background:var(--wipe); clip-path:polygon(0 0,0 0,0 100%,0 100%); }
#intro .wipe .depth{ position:absolute; inset:0; background:radial-gradient(70% 55% at 50% 44%, rgba(255,128,112,.6), transparent 70%), radial-gradient(90% 70% at 85% 112%, rgba(90,0,8,.6), transparent 70%), radial-gradient(70% 55% at 8% -12%, rgba(255,212,0,.2), transparent 70%), radial-gradient(120% 90% at 50% 120%, rgba(120,0,14,.5), transparent 60%); }
#intro .wipe2{ position:absolute; inset:0; pointer-events:none; opacity:0; background:linear-gradient(100deg, rgba(255,244,214,0) 28%, rgba(255,244,214,.3) 50%, rgba(255,244,214,0) 72%); }
#intro .rays{ position:absolute; left:50%; top:47%; width:64vmin; height:64vmin; margin:-32vmin 0 0 -32vmin; border-radius:50%; opacity:0; pointer-events:none; will-change:transform,opacity; background:repeating-conic-gradient(from 0deg, rgba(255,244,214,.6) 0 6deg, rgba(255,244,214,0) 6deg 18deg); -webkit-mask:radial-gradient(closest-side, transparent 10%, #000 34%, transparent 97%); mask:radial-gradient(closest-side, transparent 10%, #000 34%, transparent 97%); }
#intro .vig{ position:absolute; inset:0; pointer-events:none; opacity:0; background:radial-gradient(120% 100% at 50% 45%, transparent 50%, rgba(40,0,4,.6)); }
#intro .flash{ position:absolute; inset:0; background:#FFF4D6; opacity:0; pointer-events:none; }
#intro .sheen{ position:absolute; top:-30%; bottom:-30%; left:0; width:36vw; opacity:0; pointer-events:none; background:linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.34), rgba(255,255,255,0)); }
#intro .lines{ position:absolute; left:0; right:0; top:50%; height:0; pointer-events:none; }
#intro .lines span{ position:absolute; left:0; width:22vw; height:6px; border-radius:99px; background:var(--dust); opacity:0; }
#intro .lines span:nth-child(1){ top:-16vh; } #intro .lines span:nth-child(2){ top:-7vh; width:32vw; } #intro .lines span:nth-child(3){ top:6vh; } #intro .lines span:nth-child(4){ top:13vh; width:15vw; } #intro .lines span:nth-child(5){ top:20vh; width:26vw; }
/* logo */
#intro .logo{ position:relative; font-family:'Fredoka','Nunito',Arial,sans-serif; font-size:clamp(64px,18vw,176px); font-weight:700; line-height:1; letter-spacing:-.03em; display:flex; flex-direction:column; align-items:flex-start; color:var(--ink); }
#intro .cam{ position:relative; }
#intro .word{ position:relative; display:flex; align-items:baseline; transition:filter .6s ease; }
#intro .word.lit{ filter:drop-shadow(0 .1em .15em rgba(60,0,6,.42)); }
#intro .l{ position:relative; z-index:1; display:inline-block; opacity:0; transform-origin:50% 86%; }
#intro .face{ position:relative; z-index:1; display:block; width:1.875em; height:1.534em; margin-left:.045em; top:.523em; overflow:visible; }
#intro .wheel{ opacity:0; transform-box:fill-box; transform-origin:center; }
#intro .spokes{ transform-box:fill-box; transform-origin:center; }
#intro #bike .frame{ stroke-dasharray:620; stroke-dashoffset:620; }
#intro #crank{ transform-origin:122px 84px; }
#intro #moto{ transform-origin:62px 112px; }
#intro .puff{ transform-box:fill-box; transform-origin:center; }
#intro #browL,#intro #browR{ opacity:0; } #intro #browL{ transform-origin:62px -8px; } #intro #browR{ transform-origin:190px -8px; } #intro #wink{ opacity:0; } #intro #stem{ transform-origin:103px 60px; opacity:0; transform:scaleY(0); }
#intro #lipTop{ stroke-dasharray:200; stroke-dashoffset:200; } #intro #lipBot{ transform-origin:126px 134px; transform:scaleY(0); }
/* escenario del recorrido: el pueblo con la catedral y la vía (va dentro del logo para que la cámara lo acerque) */
#intro .scene{ position:absolute; right:.989em; top:0; width:0; height:1.517em; z-index:0; pointer-events:none; opacity:0; }
#intro .city{ position:absolute; bottom:0; left:-12em; width:24em; }
#intro .city i{ display:block; width:30em; background-repeat:repeat-x; will-change:transform; }
#intro .city.near i{ height:1.5em; background-size:12em 1.5em; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'><path fill='%23A30D16' d='M0 150V115H24V103H44V150ZM50 150V118L68 108L85 118V150ZM85 150V124L111 109L137 124V150ZM137 150V97H157V85H173V150ZM173 150V119H196V107H214V150ZM214 150V93L244 76L274 93V150ZM274 150V121H304V109H328V150ZM328 150V121L348 110L369 121V150ZM369 150V116L392 103L416 116V150ZM422 150V89L444 77L465 89V150ZM730 150V91L756 76L782 91V150ZM782 150V87L800 77L819 87V150ZM825 150V111H844V99H860V150ZM866 150V85H917V150ZM917 150V83H969V150ZM969 150V112L990 101L1010 112V150ZM1010 150V105H1039V93H1062V150ZM1062 150V84H1119V150ZM1125 150V117H1145V105H1161V150ZM1161 150V102L1180 91L1200 102V150ZM518 150V52H514V46H522Q522 26 538 26Q554 26 554 46H562V52H558V74L600 50L642 74V52H638V46H646Q646 26 662 26Q678 26 678 46H686V52H682V150ZM536 26V14H540V26ZM533 18H543V20H533ZM660 26V14H664V26ZM657 18H667V20H657ZM598 50V38H602V50ZM594 42H606V44H594ZM484.5 150V128H487.5V150ZM476 124a10 12 0 1 0 20 0a10 12 0 1 0 -20 0ZM503.5 150V128H506.5V150ZM495 124a10 12 0 1 0 20 0a10 12 0 1 0 -20 0ZM698.5 150V128H701.5V150ZM690 124a10 12 0 1 0 20 0a10 12 0 1 0 -20 0ZM716.5 150V128H719.5V150ZM708 124a10 12 0 1 0 20 0a10 12 0 1 0 -20 0Z'/><path fill='%237E0810' d='M588 150V124Q600 112 612 124V150ZM564 150V130Q571 122 578 130V150ZM622 150V130Q629 122 636 130V150Z'/><circle cx='600' cy='66' r='5' fill='%23FFF4D6' opacity='.75'/><path fill='%23FFD400' opacity='.5' d='M767 117h4v5h-4ZM1055 118h4v5h-4ZM1163 133h4v5h-4ZM947 126h4v5h-4ZM397 138h4v5h-4ZM406 135h4v5h-4ZM857 134h4v5h-4ZM812 118h4v5h-4ZM109 124h4v5h-4ZM830 138h4v5h-4ZM1055 118h4v5h-4ZM73 138h4v5h-4ZM361 136h4v5h-4ZM947 137h4v5h-4ZM803 125h4v5h-4ZM1109 128h4v5h-4ZM1055 127h4v5h-4ZM28 130h4v5h-4ZM415 121h4v5h-4ZM992 119h4v5h-4ZM857 117h4v5h-4ZM253 125h4v5h-4ZM154 123h4v5h-4ZM740 128h4v5h-4ZM857 118h4v5h-4ZM199 130h4v5h-4Z'/></svg>"); }
#intro .city.far i{ height:1.9em; background-size:15em 1.9em; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'><path fill='%23C0141C' d='M0 150V96Q150 60 320 92T640 84T960 98T1200 96V150Z'/><path fill='%23CB1A22' opacity='.7' d='M0 150V67H40V55H72V150ZM72 150V74L110 53L148 74V150ZM148 150V81L186 60L224 81V150ZM224 150V91L260 71L296 91V150ZM296 150V61L335 39L374 61V150ZM374 150V81L408 62L443 81V150ZM443 150V69L465 57L487 69V150ZM487 150V91L510 78L533 91V150ZM533 150V53H558V41H578V150ZM578 150V73L614 53L650 73V150ZM650 150V50H708V150ZM708 150V60L730 48L752 60V150ZM752 150V85H799V73H837V150ZM837 150V45H886V150ZM886 150V58H944V150ZM944 150V67L968 54L992 67V150ZM992 150V84H1020V72H1042V150ZM1042 150V60L1064 47L1087 60V150ZM1087 150V99H1118V87H1144V150ZM1144 150V77H1175V65H1200V150Z'/></svg>"); }
#intro .road{ position:absolute; top:100%; left:-22em; width:44em; height:.6em; background:linear-gradient(180deg, rgba(110,0,12,.5), rgba(110,0,12,0)); }
#intro .road::before{ content:""; position:absolute; left:0; right:0; top:0; height:.045em; background:#8A0010; opacity:.75; }
#intro .road i{ position:absolute; left:0; top:.15em; width:66em; height:.035em; will-change:transform; background:repeating-linear-gradient(90deg, rgba(255,244,214,.6) 0 .55em, rgba(255,244,214,0) .55em 1.5em); }
#intro .shadow{ position:absolute; top:100%; left:-1.15em; width:2.3em; height:.22em; margin-top:-.08em; border-radius:50%; background:radial-gradient(closest-side, rgba(60,0,6,.6), rgba(60,0,6,0)); }
#intro .dust{ position:absolute; right:1.35em; top:1.5em; width:0; height:0; z-index:1; pointer-events:none; }
#intro .dust span{ position:absolute; left:0; top:0; border-radius:50%; background:var(--dust); opacity:0; }
/* destellos */
#intro .burst{ position:absolute; right:.989em; top:1.205em; width:0; height:0; z-index:2; pointer-events:none; }
#intro .ring{ position:absolute; left:-1.5em; top:-1.5em; width:3em; height:3em; border-radius:50%; border:.06em solid #FFF4D6; opacity:0; }
#intro .burst b{ position:absolute; left:-.05em; top:-.08em; width:.1em; height:.16em; border-radius:.03em; opacity:0; }
#intro .pop{ position:absolute; z-index:2; width:.09em; height:.09em; margin:-.045em 0 0 -.045em; border-radius:50%; background:#FFF4D6; opacity:0; pointer-events:none; }
#intro .spark{ position:absolute; right:.16em; top:.76em; z-index:2; width:.36em; height:.36em; opacity:0; background:#FFF4D6; clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
/* eslogan, saludo y barra */
#intro .slogan{ font-family:'Nunito','Fredoka',sans-serif; font-size:.165em; font-weight:800; line-height:1; letter-spacing:.045em; margin-top:.06em; padding-left:.035em; color:var(--slogan); white-space:nowrap; min-height:1em; }
#intro .slogan span{ opacity:0; display:inline-block; white-space:pre; }
#intro .bar{ width:min(60vw,220px); height:6px; border-radius:99px; background:var(--bar-bg); overflow:hidden; opacity:0; margin-top:26px; }
#intro .bar i{ display:block; height:100%; width:100%; background:var(--bar); border-radius:99px; transform-origin:left; transform:scaleX(0); }
#intro .facachip{ position:relative; margin-top:34px; display:inline-flex; align-items:center; gap:14px; padding:14px 28px 14px 16px; border-radius:30px; background:rgba(40,0,4,.42); border:2px solid rgba(255,212,0,.75); box-shadow:0 14px 30px rgba(40,0,4,.4); font-family:'Nunito','Fredoka',Arial,sans-serif; color:#FFF4D6; white-space:nowrap; opacity:0; }
#intro .facachip .ft{ display:flex; flex-direction:column; line-height:1.15; text-align:left; }
#intro .facachip .ft b{ font-family:'Fredoka','Nunito',Arial,sans-serif; font-weight:700; font-size:clamp(21px,5.8vw,32px); color:#FFD400; letter-spacing:-.01em; }
#intro .facachip .ft small{ font-weight:800; font-size:clamp(13px,3.6vw,18px); line-height:1.25; color:#FFF4D6; white-space:normal; max-width:min(62vw,340px); margin-top:3px; }
#intro .facachip .pin{ display:inline-flex; width:2.5em; height:2.5em; border-radius:50%; background:#FFD400; align-items:center; justify-content:center; font-size:clamp(17px,4.6vw,24px); box-shadow:0 4px 0 #B38B00; }
#intro .facachip .hrt{ position:absolute; top:-6px; font-size:clamp(16px,4.2vw,24px); opacity:0; pointer-events:none; }
@media (max-width: 960px){
.m-hero .m-wrap,.m-safe,.m-panel.on,.m-rayo{ grid-template-columns:1fr; }
.m-stage3d{ height:520px; }
.m-links{ display:none; }
.m-burger{ display:flex; margin-left:auto; }
.m-links.open{ display:flex; position:absolute; top:76px; left:12px; right:12px; flex-direction:column; padding:12px; border-radius:20px; background:rgba(42,4,9,.96); border:1px solid var(--line); box-shadow:0 20px 40px rgba(10,0,2,.5); }
.m-steps{ grid-template-columns:1fr; } .m-track{ display:none; }
.m-foot .cols{ grid-template-columns:1fr 1fr; }
.m-rayo{ padding:36px 26px; text-align:center; justify-items:center; }
}
@media (max-width: 560px){
.m-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
.m-card .ph{ font-size:60px; } .m-card .nm{ font-size:14px; } .m-card .pr b{ font-size:18px; }
.m-safegrid{ grid-template-columns:1fr; }
.m-tabs{ display:flex; width:100%; } .m-tabs button{ flex:1; padding:0 8px; font-size:14px; }
.m-chip{ font-size:12px; padding:10px 12px; }
.m-stage3d{ height:460px; } .m-phone{ transform:scale(.82) rotateY(-14deg) rotateX(6deg) rotateZ(-3deg); }
.m-foot .cols{ grid-template-columns:1fr; }
.m-sec{ padding:80px 0; }
}
@media (prefers-reduced-motion: reduce){ *{ animation-duration:.01s !important; animation-iteration-count:1 !important; transition-duration:.01s !important; } .m-rv{ opacity:1; transform:none; } }
.mi{ display:inline-flex; flex-shrink:0; line-height:0; font-style:normal; } .mi svg{ display:block; }
@keyframes introPulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(255,212,0,.5); } 50%{ box-shadow:0 0 0 12px rgba(255,212,0,0); } }
