@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#141713;--paper:#f5f5ef;--acid:#d6ff3f;--line:#c9ccc3}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:84px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8ca900;outline-offset:5px}button{border:0}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p,figure{margin:0}h1,h2,.logo,.race-tabs,#race-number,.giant-k{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-weight:800}h2{font-size:clamp(3.7rem,8.5vw,9rem);line-height:.9;letter-spacing:-.02em}em{font-style:normal;color:#6b7664}p{line-height:1.6}header{position:absolute;z-index:20;top:0;left:0;width:100%;display:flex;align-items:center;color:white;padding:22px 4%;gap:38px;border-bottom:1px solid #ffffff40}.logo{font-size:3.2rem;letter-spacing:-.08em;line-height:1}.logo span{font-family:Arial;font-size:.65rem;vertical-align:top;letter-spacing:0;display:inline-block;margin:7px 0 0 5px}.edition{font-size:.75rem;letter-spacing:.08em;line-height:1.4}#menu-toggle{margin-left:auto;background:none;font-size:.85rem;letter-spacing:.1em;padding:14px 0 14px 18px}.menu-icon{font-size:1.25rem;margin-left:18px}#menu{position:fixed;inset:0;background:var(--ink);color:var(--paper);z-index:15;padding:120px 8% 40px;overflow:auto}#menu:not([hidden]){display:flex;flex-direction:column;gap:15px}#menu a{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(2rem,5vw,4rem);width:fit-content}body.menu-open{overflow:hidden}body.menu-open header{position:fixed}.hero{min-height:780px;height:100svh;position:relative;background:#26392e;color:white;isolation:isolate}.hero-photo,.hero-shade{position:absolute;inset:0;z-index:-2}.hero-photo{object-position:center 52%}.hero-shade{z-index:-1;background:linear-gradient(90deg,#0716109e,#07161020),linear-gradient(0deg,#071610c9,transparent 50%,#07161045)}.hero-content{height:100%;padding:155px 7% 35px;display:flex;flex-direction:column}.eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.13em;line-height:1.4}.hero h1{font-size:clamp(4.3rem,9.5vw,10rem);line-height:.88;letter-spacing:-.015em;margin:24px 0}.hero h1 span{color:var(--acid)}.hero-bottom{display:flex;justify-content:space-between;align-items:end;margin-top:auto}.hero-bottom p{font-size:.85rem;letter-spacing:.07em}.hero-bottom strong{font-family:'Barlow Condensed';font-size:3.5rem;line-height:1.1}.discover{font-size:.8rem;letter-spacing:.12em;display:flex;align-items:center;gap:28px}.discover span{display:grid;place-items:center;border:1px solid #ffffff70;border-radius:50%;height:55px;width:55px;font-size:1.5rem}.side-note{position:absolute;right:30px;top:48%;writing-mode:vertical-rl;font-size:.75rem;letter-spacing:.18em}.section-pad{padding:75px 7% 90px}.section-top{display:flex;justify-content:space-between;gap:25px;margin-bottom:70px}.territory h2{font-size:clamp(3.4rem,8.1vw,8.8rem)}.territory-bottom{display:flex;justify-content:space-between;align-items:end;margin-top:45px}.territory-bottom p{max-width:390px;font-size:1.1rem}.small-mark{font-size:.8rem;font-weight:600;letter-spacing:.1em}.landscape{height:650px;position:relative;background:#33483a}.landscape img{object-position:center 55%}.landscape figcaption{position:absolute;inset:auto 0 0;padding:50px 7% 25px;background:linear-gradient(transparent,#0009);color:white;display:flex;justify-content:space-between;font-size:.8rem;letter-spacing:.1em}.heading-row{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:60px}.heading-row p{max-width:340px}.race-tabs{display:flex;border-bottom:1px solid var(--ink);margin-top:20px}.race-tabs button{font-family:inherit;font-weight:700;font-size:clamp(2rem,4.2vw,4rem);padding:24px 12px;flex:1;background:transparent;border-bottom:5px solid transparent;white-space:nowrap}.race-tabs button[aria-selected=true]{background:var(--acid);border-color:var(--ink)}#race-panel{display:grid;grid-template-columns:1.15fr 1fr;gap:50px;padding-top:50px;align-items:center}#race-number{font-size:clamp(7rem,19vw,18rem);line-height:.95;letter-spacing:-.06em}#race-panel h3{font-size:1.8rem;margin:18px 0}#race-panel p:not(.eyebrow){max-width:390px}.text-link{background:none;display:flex;justify-content:space-between;align-items:center;gap:28px;border-bottom:1px solid currentColor;padding:20px 0;font-size:.8rem;font-weight:600;letter-spacing:.05em;margin-top:22px}.text-link span{font-size:1.7rem}.route{background:#e6e9e0}.map-preview{position:relative;min-height:420px;background:#d6dbce;display:grid;place-items:center;overflow:hidden;text-align:center}.map-grid{position:absolute;inset:0;background-image:linear-gradient(#5c6b5515 1px,transparent 1px),linear-gradient(90deg,#5c6b5515 1px,transparent 1px);background-size:50px 50px}.map-placeholder{position:relative;padding:45px 20px}.map-placeholder h3{font-family:'Barlow Condensed';font-size:clamp(2.2rem,4vw,3.5rem);line-height:1.05;margin:22px 0}.map-placeholder p{font-size:.9rem}.map-corner{position:absolute;bottom:20px;left:24px;font-size:.75rem;letter-spacing:.07em}.route-resources{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.route-resources>div{border-top:1px solid #87917f;padding:24px 0;margin-top:25px}.route-resources span{font-size:.8rem;color:#54604c}.route-resources h3{font-size:1.1rem;margin:15px 0 5px}.route-resources p{font-size:.9rem;color:#54604c}.spirit{position:relative;background:var(--ink);color:var(--paper);overflow:hidden}.spirit .section-top{position:relative;z-index:1}.giant-k{position:absolute;font-size:55vw;line-height:1;letter-spacing:-.07em;right:1%;top:70px;color:#252c23}.spirit-copy{position:relative;display:grid;grid-template-columns:1.5fr 1fr;gap:70px;align-items:end}.spirit-copy h2{font-size:clamp(3.5rem,6.5vw,7rem)}.spirit-copy em{color:var(--acid)}.spirit-copy p{max-width:340px}.light{color:white;width:100%;text-align:left}.useful{margin-left:35%}details{border-top:1px solid var(--line)}details:last-child{border-bottom:1px solid var(--line)}summary{padding:24px 0;font-size:1.2rem;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}summary::-webkit-details-marker{display:none}summary span{font-size:1.5rem}details[open] summary span{transform:rotate(45deg)}details p{padding:0 40px 24px 0;max-width:600px}.closing{background:var(--acid);text-align:center;padding-top:95px;padding-bottom:95px}.closing h2{margin:40px 0;font-size:clamp(4rem,9.5vw,10rem)}.closing em{color:var(--ink);-webkit-text-stroke:1px var(--ink);color:transparent}.cta{background:var(--ink);color:white;min-height:60px;padding:20px 25px;min-width:300px;display:inline-flex;justify-content:space-between;gap:50px;font-size:.9rem}.cta:hover{background:#30392a}.availability{font-size:.8rem;margin-top:16px}.sponsors{padding-top:45px;padding-bottom:45px}#sponsor-list{display:flex;justify-content:space-between;align-items:center;padding-top:30px;color:#5c6457}#sponsor-list span{font-size:1.4rem}#sponsor-list p{font-size:.9rem}footer{background:var(--ink);color:white;padding:40px 7% 25px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:25px}footer p,footer>a:not(.logo){font-size:.75rem;letter-spacing:.07em}footer small{width:100%;font-size:.75rem;color:#b5bcae;border-top:1px solid #ffffff25;padding-top:20px}footer small button{background:none;color:inherit;text-decoration:underline;margin-left:15px}dialog{background:var(--paper);color:var(--ink);border:0;padding:50px;max-width:540px;width:calc(100% - 32px)}dialog::backdrop{background:#07120dc9;backdrop-filter:blur(5px)}dialog h2{font-size:3rem;margin:25px 0}dialog p{font-size:1rem}dialog a{text-decoration:underline}.dialog-close{position:absolute;right:15px;top:10px;background:none;font-size:2rem;padding:5px 10px}.dialog-ok{background:var(--ink);color:white;padding:15px 25px;margin-top:28px}.skip{position:fixed;top:-100px;z-index:100;background:var(--acid);padding:15px}.skip:focus{top:10px}
@media(min-width:1600px){.hero-content{padding-top:180px}.hero{max-height:1200px}}@media(max-width:700px){header{padding:20px 6%;gap:22px}.logo{font-size:2.7rem}.edition{font-size:.65rem}#menu-toggle{font-size:.75rem}.menu-icon{margin-left:8px}.hero{min-height:690px;max-height:1000px}.hero-content{padding:165px 6% 30px}.hero h1{font-size:clamp(3.7rem,12.6vw,5.5rem);margin-top:30px;line-height:.95}.hero-photo{object-position:58% center}.hero-bottom p{font-size:.7rem}.discover{font-size:.65rem;gap:12px}.discover span{height:42px;width:42px}.side-note{display:none}.section-pad{padding:45px 6% 55px}.section-top{margin-bottom:45px;gap:20px}.section-top .eyebrow{font-size:.7rem}.section-top>:last-child{text-align:right;max-width:145px}.territory h2{font-size:clamp(3rem,11.2vw,4.8rem)}.territory-bottom{margin-top:35px}.small-mark{display:none}.territory-bottom p{max-width:100%;font-size:1rem;margin-left:17%}.landscape{height:440px}.landscape figcaption{padding:45px 6% 20px;font-size:.7rem}.landscape figcaption span{display:none}.heading-row{display:block;margin-bottom:35px}.heading-row h2{font-size:3.8rem}.heading-row p{margin-top:25px}.race-tabs button{padding:18px 6px;font-size:clamp(1.4rem,5.9vw,2.1rem)}#race-panel{grid-template-columns:1fr;gap:25px;padding-top:35px}#race-number{font-size:8rem}#race-panel h3{font-size:1.6rem}#race-panel>div{padding-left:12%}.map-preview{min-height:340px}.map-corner{font-size:.65rem;left:15px}.route-resources{gap:12px}.route-resources h3{font-size:.95rem}.route-resources p{font-size:.75rem}.spirit-copy{grid-template-columns:1fr;gap:40px}.spirit-copy h2{font-size:3.6rem}.spirit-copy>div{padding-left:12%}.giant-k{font-size:80vw;top:200px;right:0}.useful{margin-left:0}summary{font-size:1.1rem}.closing{padding-top:65px;padding-bottom:65px}.closing h2{font-size:3.9rem}.cta{min-width:0;width:100%}#sponsor-list{gap:25px}#sponsor-list span{font-size:1rem}#sponsor-list p{font-size:.75rem}footer{padding:35px 6% 25px}footer p{width:65%;font-size:.65rem}footer small{line-height:1.6}dialog{padding:40px 25px}dialog h2{font-size:2.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* K42 2027 — sistema negro + línea multicolor */
:root{--ink:#090909;--paper:#f4f4f1;--acid:#fff;--cyan:#19bde8;--blue:#2864ef;--violet:#8247e5;--magenta:#e72f86;--red:#f04439;--orange:#ff8a20;--yellow:#ffd133}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:var(--cyan)}
.hero{background:#090909}
.hero-video,.hero-photo,.hero-shade{position:absolute;inset:0;width:100%;height:100%}
.hero-photo{z-index:-3}.hero-video{z-index:-2;object-fit:cover}.hero-shade{z-index:-1}
.hero h1 span{color:white}
.spectrum-line{position:absolute;bottom:0;left:0;z-index:4;width:100%;height:9px;background:linear-gradient(90deg,var(--cyan) 0 17%,var(--blue) 17% 32%,var(--violet) 32% 47%,var(--magenta) 47% 62%,var(--red) 62% 76%,var(--orange) 76% 89%,var(--yellow) 89%)}
.race-tabs button[aria-selected=true]{background:var(--ink);color:white;border-color:var(--ink)}
.spirit-copy em{color:white}
.history-media{position:relative;margin-top:90px;border-top:1px solid #ffffff2e;padding-top:30px}
.history-poster{position:relative;aspect-ratio:16/8;min-height:420px;overflow:hidden;background:#171717}
.history-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000b,transparent 55%);pointer-events:none}
.history-poster img{filter:grayscale(1);opacity:.72;transition:transform .7s ease,filter .5s ease}
.history-poster:hover img{filter:grayscale(.25);transform:scale(1.015)}
.play-history{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:104px;height:104px;border-radius:50%;background:white;color:var(--ink);display:grid;place-items:center}
.play-history span{font-size:1.5rem;margin-left:5px}
.history-label{position:absolute;z-index:2;left:30px;right:30px;bottom:28px;display:flex;justify-content:space-between;align-items:end;gap:30px}
.history-label strong{font-family:'Barlow Condensed';font-size:clamp(1.8rem,3vw,3.2rem);max-width:520px;line-height:.95;text-align:right}
.history-note{display:flex;justify-content:flex-end;gap:40px;padding-top:18px;color:#adb0a9;font-size:.78rem}
.history-note p{max-width:370px}.history-note span{letter-spacing:.1em}
.closing{position:relative;background:var(--ink);color:white;border-top:9px solid transparent;border-image:linear-gradient(90deg,var(--cyan),var(--blue),var(--violet),var(--magenta),var(--red),var(--orange),var(--yellow)) 1}
.closing em{color:white;-webkit-text-stroke:1px white}.closing .cta{background:white;color:var(--ink)}.closing .cta:hover{background:#e5e5e1}
.sponsors{background:var(--paper);padding-top:80px;padding-bottom:85px}.sponsors .section-top{margin-bottom:55px}
.sponsor-intro{display:grid;grid-template-columns:1.3fr .7fr;gap:70px;align-items:end;margin-bottom:55px}.sponsor-intro h2{font-size:clamp(3.4rem,7.2vw,7.4rem)}.sponsor-intro p{max-width:380px}
#sponsor-list{display:grid;grid-template-columns:2fr repeat(2,1fr);padding:0;border-top:1px solid var(--ink);color:var(--ink)}
.sponsor-slot{min-height:190px;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:20px;display:flex;flex-direction:column;justify-content:space-between}.sponsor-slot:nth-child(3){border-right:0}.sponsor-slot:nth-child(4),.sponsor-slot:nth-child(5){min-height:145px}.sponsor-slot:nth-child(4){grid-column:2;border-left:1px solid var(--ink)}.sponsor-slot:nth-child(5){border-right:0}
.sponsor-slot span{font-size:.68rem;letter-spacing:.12em}.sponsor-slot strong{font-family:'Barlow Condensed';font-size:clamp(1.7rem,3vw,3.2rem);line-height:.9}.sponsor-main{grid-row:span 2;min-height:335px;background:var(--ink);color:white;border-right:0}.sponsor-main strong{font-size:clamp(3rem,5vw,5.4rem)}
.sponsor-caption{margin-top:20px;text-align:right;font-size:.75rem;color:#666}
footer{border-top:9px solid transparent;border-image:linear-gradient(90deg,var(--cyan),var(--blue),var(--violet),var(--magenta),var(--red),var(--orange),var(--yellow)) 1}
.skip{background:white;color:var(--ink)}
@media(max-width:700px){.spectrum-line{height:7px}.hero-video{display:block;object-position:center}.history-media{margin-top:60px}.history-poster{aspect-ratio:4/5;min-height:0}.play-history{width:78px;height:78px}.history-label{left:18px;right:18px;bottom:18px;display:block}.history-label strong{display:block;text-align:left;margin-top:10px}.history-note{justify-content:space-between;gap:20px}.history-note p{max-width:210px}.sponsor-intro{grid-template-columns:1fr;gap:25px}.sponsor-intro h2{font-size:3.8rem}#sponsor-list{grid-template-columns:1fr 1fr}.sponsor-main{grid-column:1/-1;grid-row:auto;min-height:245px}.sponsor-slot{min-height:140px}.sponsor-slot:nth-child(3){border-right:0}.sponsor-slot:nth-child(4){grid-column:auto;border-left:0}.sponsor-slot:nth-child(4),.sponsor-slot:nth-child(5){min-height:130px}.sponsor-slot:nth-child(4){border-right:1px solid var(--ink)}.sponsor-caption{text-align:left}}
.logo{display:block;width:112px;height:auto;font-size:0;letter-spacing:0}.logo img{width:100%;height:auto;object-fit:contain}.small-mark{display:flex;flex-direction:column;gap:10px;width:92px}.small-mark img{width:92px;height:auto;object-fit:contain}.small-mark small{font-size:.63rem;letter-spacing:.12em;white-space:nowrap}
.history-poster iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000;z-index:5}

/* Resultados, Premio Cumbre y archivo histórico. */
#resultados { scroll-margin-top: 35px; }
.results-feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px,.8fr) 1.2fr;
  min-height: 650px;
  margin-top: 90px;
  border-top: 7px solid transparent;
  border-image: linear-gradient(90deg,var(--cyan),var(--blue),var(--violet),var(--magenta),var(--red),var(--orange),var(--yellow)) 1;
  background: #090a09;
}
.results-photo { position: relative; min-height: 650px; overflow: hidden; }
.results-photo:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#000a,transparent 45%); }
.results-photo img { object-position: center 42%; }
.results-photo figcaption { position:absolute; z-index:1; left:28px; right:28px; bottom:25px; font-size:.68rem; letter-spacing:.12em; }
.results-content { padding: 55px clamp(35px,5vw,82px); }
.results-content h3,
.history-gallery-heading h3 { margin:18px 0 25px; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-size:clamp(3.4rem,5.4vw,6.2rem); line-height:.88; letter-spacing:-.025em; }
.results-content>p:not(.eyebrow) { max-width:570px; color:#c8cbc4; }
.results-access { position:relative; margin-top:32px; padding:22px 72px 22px 0; border-top:1px solid #ffffff35; border-bottom:1px solid #ffffff35; }
.results-access h4 { margin:9px 0 6px; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-size:2.2rem; line-height:.95; }
.results-access a { display:flex; justify-content:space-between; margin-top:16px; font-size:.7rem; font-weight:700; letter-spacing:.1em; }
.results-access a span { position:absolute; right:0; bottom:20px; font-size:1.5rem; }
.summit-award { margin-top:24px; padding:24px 28px; background:var(--acid); color:var(--ink); }
.summit-award .eyebrow { color:var(--ink); }
.summit-award h4 { margin:12px 0 8px; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-size:2.6rem; line-height:.95; }
.summit-award p { max-width:480px; line-height:1.45; }
.summit-award small { display:block; margin-top:20px; font-size:.6rem; font-weight:700; letter-spacing:.09em; }

.history-gallery { position:relative; z-index:1; margin-top:90px; padding-top:34px; border-top:1px solid #ffffff35; }
.history-gallery-heading { display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:end; margin-bottom:42px; }
.history-gallery-heading h3 { margin-bottom:0; }
.history-gallery-intro { align-self:end; }
.history-gallery-intro>p { max-width:390px; color:#b9bcb6; }
.history-gallery-controls { display:flex; margin-top:24px; }
.history-gallery-arrow { display:grid; place-items:center; width:58px; height:48px; border:1px solid #ffffff55; background:transparent; color:white; font-size:1.3rem; }
.history-gallery-arrow+ .history-gallery-arrow { border-left:0; }
.history-gallery-arrow:hover { background:white; color:var(--ink); }
.history-gallery-track { display:flex; gap:14px; overflow-x:auto; padding-bottom:15px; scrollbar-width:thin; scrollbar-color:#ffffff65 transparent; scroll-snap-type:x mandatory; }
.history-gallery-track figure { position:relative; flex:0 0 clamp(310px,43vw,660px); height:520px; overflow:hidden; background:#181a18; scroll-snap-align:start; }
.history-gallery-track img { filter:grayscale(.75); transition:transform .65s ease,filter .4s ease; }
.history-gallery-track figure:hover img { filter:grayscale(0); transform:scale(1.018); }
.history-gallery-track figure:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#000d,transparent 58%); pointer-events:none; }
.history-gallery-track figcaption { position:absolute; z-index:1; left:22px; right:22px; bottom:20px; }
.history-gallery-track figcaption span { display:block; margin-bottom:8px; color:#bec2ba; font-size:.6rem; letter-spacing:.12em; }
.history-gallery-track figcaption strong { display:block; max-width:520px; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-size:clamp(1.5rem,2.2vw,2.5rem); line-height:1; }

@media(max-width:850px){
  .results-feature{grid-template-columns:1fr;margin-top:60px;min-height:0}
  .results-photo{min-height:520px}
  .results-content{padding:42px 24px}
  .results-content h3,.history-gallery-heading h3{font-size:3.8rem}
  .summit-award{padding:23px 20px}
  .history-gallery{margin-top:60px}
  .history-gallery-heading{grid-template-columns:1fr;gap:20px}
  .history-gallery-track figure{flex-basis:82vw;height:430px}
}
.sponsor-logo{align-items:center}.sponsor-logo span{align-self:flex-start}.sponsor-logo img{width:min(78%,210px);height:82px;object-fit:contain;margin:auto}.sponsor-logo:nth-child(2){background:#24a9df;color:white}.sponsor-logo:nth-child(2) img{width:min(88%,235px)}
@media(max-width:700px){.logo{width:78px}.small-mark{display:none}.sponsor-logo img{height:58px;width:82%}}

/* Más negro: el color base pasa a construir la narrativa completa. */
body{background:var(--ink)}
.territory{position:relative;background:var(--ink);color:white}
.territory:after{content:"";position:absolute;left:7%;right:7%;bottom:0;height:1px;background:#ffffff2e}
.territory h2 em{color:#8e938c}
.territory-bottom p{color:#c9ccc5}
.small-mark img{filter:none}
.races{background:var(--paper)}
.route{background:#111310;color:white}
.route .heading-row p,.route-resources p,.route-resources span{color:#aeb3aa}
.route-resources>div{border-color:#ffffff40}
.map-preview{background:#090a09;border:1px solid #ffffff2b}
.map-grid{background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px)}
.map-placeholder p,.map-corner{color:#aeb3aa}
.villa{background:var(--paper)}
.sponsors{background:var(--ink);color:white;border-top:1px solid #ffffff2e}
.sponsor-intro p{color:#b9bcb6}
#sponsor-list{border-color:white;color:white}
.sponsor-slot{background:#10110f;border-color:#ffffff80}
.sponsor-slot:nth-child(4){border-left-color:#ffffff80}
.sponsor-slot:nth-child(4),.sponsor-slot:nth-child(5){background:#10110f;color:white}
.sponsor-main{background:white;color:var(--ink)}
.sponsor-logo:nth-child(2){background:#24a9df;color:white}
.sponsor-logo:nth-child(3){background:white;color:var(--ink)}
.sponsor-caption{color:#8f938b}
@media(max-width:700px){.territory:after{left:6%;right:6%}.sponsor-slot:nth-child(4){border-right-color:#ffffff80}}

.circuit-tabs,.registration-tabs{display:flex;border:1px solid #ffffff4a;border-bottom:0;width:max-content;max-width:100%}
.circuit-tab,.registration-tab{background:transparent;color:white;border-right:1px solid #ffffff4a;padding:12px 22px;font-family:'Barlow Condensed';font-size:1.18rem;font-weight:800}
.circuit-tab:last-child,.registration-tab:last-child{border-right:0}.circuit-tab.active,.registration-tab.active{background:white;color:var(--ink)}
.map-preview-live{display:block;min-height:0;aspect-ratio:12/7}.map-preview-live img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.circuit-badge{position:absolute;right:20px;top:20px;padding:10px 14px;background:var(--yellow);color:var(--ink);font-size:.67rem;font-weight:800;letter-spacing:.1em}
.route-resources a{color:white}
.route-resources{grid-template-columns:2fr 1fr;grid-template-rows:132px 1fr;gap:0 20px}
.route-resources>div{display:flex;flex-direction:column;min-width:0}
.route-stats-card{grid-row:1/3}
.route-download-card{display:flex!important;align-items:center;justify-content:flex-end;margin-top:0!important;padding:10px 0!important}
.route-download{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 14px;width:min(100%,280px);min-height:60px;margin:0;padding:10px 13px;border:1px solid #ffffff62;background:#181a18;transition:background .2s,color .2s}
.route-download span{grid-column:1;font-size:.59rem!important;letter-spacing:.12em}
.route-download strong{grid-column:1;font-size:.78rem;letter-spacing:.08em}
.route-download b{grid-column:2;grid-row:1/3;font-size:1.1rem;font-weight:400}
.route-download:hover{background:white;color:var(--ink)}
.route-download:hover span{color:var(--ink)}
.route-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:18px 0 0}
.route-stats>div{padding:13px 18px 13px 0;border-top:1px solid #ffffff2e}
.route-stats>div:nth-child(even){padding-left:18px;border-left:1px solid #ffffff2e}
.route-stats dt{margin-bottom:7px;color:#8f968b;font-size:.62rem;font-weight:700;letter-spacing:.11em}
.route-stats dd{margin:0;font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:1.75rem;font-weight:800;line-height:1}
.route-resources .route-stats-note{margin-top:12px;color:#8f968b;font-size:.68rem;letter-spacing:.04em}
@media(max-width:700px){.route-resources{grid-template-columns:repeat(2,1fr);grid-template-rows:auto;gap:12px}.route-stats-card{grid-column:1/-1;grid-row:auto}.route-stats dd{font-size:1.5rem}.route-download-card{display:flex!important;gap:8px;padding-top:12px!important}.route-download{min-height:58px;padding:10px}}
.registration{background:var(--ink);color:white;border-top:9px solid transparent;border-image:linear-gradient(90deg,var(--cyan),var(--blue),var(--violet),var(--magenta),var(--red),var(--orange),var(--yellow)) 1}
.registration-heading{display:grid;grid-template-columns:1.35fr .65fr;gap:70px;align-items:end;margin-bottom:60px}.registration-heading h2{font-size:clamp(4rem,8vw,8.5rem)}.registration-heading h2 em{color:#7f847c}.registration-heading p{color:#b9bcb6;max-width:430px}
.registration-tabs{width:100%}.registration-tab{flex:1;font-size:clamp(1.4rem,3vw,2.8rem);padding:20px 10px}
.registration-panel{display:grid;grid-template-columns:.8fr 1.35fr .85fr;gap:45px;padding-top:45px;align-items:start}.registration-distance{font-family:'Barlow Condensed';font-size:clamp(6rem,14vw,13rem);font-weight:800;line-height:.78;letter-spacing:-.05em}.registration-details{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff4a}.registration-details>div{padding:20px 18px 26px 0;border-bottom:1px solid #ffffff4a}.registration-details>div:nth-child(odd){border-right:1px solid #ffffff4a}.registration-details>div:nth-child(even){padding-left:18px}.registration-details span{display:block;font-size:.65rem;letter-spacing:.12em;color:#9da29a;margin-bottom:13px}.registration-details strong{font-size:1rem;line-height:1.45}.registration-actions{display:flex;flex-direction:column;gap:13px}.light-cta{background:white;color:var(--ink);width:100%;min-width:0}.rule-link{border:1px solid #ffffff60;padding:15px 17px;font-size:.72rem;letter-spacing:.07em}.rule-link:hover{background:#ffffff12}
@media(max-width:800px){.circuit-tabs{width:100%}.circuit-tab{flex:1;padding:14px 8px}.map-preview-live{aspect-ratio:4/3}.circuit-badge{right:10px;top:10px;max-width:180px}.registration-heading{grid-template-columns:1fr;gap:25px}.registration-heading h2{font-size:4rem}.registration-tabs{overflow-x:auto}.registration-tab{flex:0 0:90px}.registration-panel{grid-template-columns:1fr;gap:35px}.registration-distance{font-size:7rem}.registration-details{grid-template-columns:1fr}.registration-details>div:nth-child(odd){border-right:0}.registration-details>div:nth-child(even){padding-left:0}}
.race-registration-proxy { display: none; }
.race-registration-panel {
  grid-template-columns: 1.55fr .85fr;
  gap: 40px;
  margin-top: 42px;
  padding: 40px;
}
.race-registration-panel .registration-distance { display: none; }
.races .registration-panel { background: #050505; color: #fff; }

/* La selección de carrera entra completa en una pantalla de escritorio. */
@media (min-width: 1000px) and (min-height: 900px) {
  .races.section-pad {
    padding-top: 42px;
    padding-bottom: 52px;
  }

  .races .section-top {
    margin-bottom: 24px;
  }

  .races .heading-row {
    align-items: center;
    margin-bottom: 28px;
  }

  .races .heading-row h2 {
    font-size: clamp(4rem, 5.1vw, 6.1rem);
  }

  .races .race-tabs {
    margin-top: 0;
  }

  .races .race-tabs button {
    padding: 15px 10px;
    font-size: clamp(2rem, 2.8vw, 3.2rem);
  }

  .races #race-panel {
    grid-template-columns: .72fr 1fr;
    gap: 42px;
    min-height: 205px;
    padding-top: 24px;
  }

  .races #race-number {
    font-size: clamp(8rem, 13vw, 14rem);
    line-height: .78;
  }

  .races #race-panel h3 {
    margin: 10px 0 8px;
    font-size: 1.55rem;
  }

  .races #race-panel p:not(.eyebrow) {
    line-height: 1.45;
  }

  .races .text-link {
    margin-top: 10px;
    padding: 12px 0;
  }

  .race-registration-panel {
    gap: 32px;
    margin-top: 22px;
    padding: 28px 32px;
  }

  .race-registration-panel .registration-details > div {
    padding-top: 13px;
    padding-bottom: 15px;
  }

  .race-registration-panel .registration-details span {
    margin-bottom: 8px;
  }

  .race-registration-panel .registration-actions {
    gap: 9px;
  }

  .race-registration-panel .cta {
    min-height: 50px;
    padding: 14px 18px;
  }

  .race-registration-panel .rule-link {
    padding: 12px 15px;
  }
}

/* Notebooks y pantallas de escritorio con poca altura útil. */
@media (min-width: 900px) and (max-height: 899px) {
  .races.section-pad {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .races .section-top {
    margin-bottom: 12px;
  }

  .races .heading-row {
    align-items: center;
    margin-bottom: 14px;
  }

  .races .heading-row h2 {
    font-size: clamp(3.2rem, 8.5vh, 4.4rem);
  }

  .races .heading-row p {
    font-size: .9rem;
    line-height: 1.4;
  }

  .races .race-tabs {
    margin-top: 0;
  }

  .races .race-tabs button {
    padding: 9px 8px;
    font-size: clamp(1.8rem, 5.2vh, 2.7rem);
    border-bottom-width: 3px;
  }

  .races #race-panel {
    grid-template-columns: .58fr 1fr;
    gap: 28px;
    min-height: 125px;
    padding-top: 15px;
  }

  .races #race-number {
    font-size: clamp(7rem, 19vh, 10rem);
    line-height: .75;
  }

  .races #race-panel h3 {
    margin: 6px 0;
    font-size: 1.35rem;
  }

  .races #race-panel p:not(.eyebrow) {
    font-size: .88rem;
    line-height: 1.35;
    max-width: 520px;
  }

  .races .text-link {
    margin-top: 5px;
    padding: 8px 0;
  }

  .races .text-link span {
    font-size: 1.2rem;
  }

  .race-registration-panel {
    gap: 24px;
    margin-top: 12px;
    padding: 18px 22px;
  }

  .race-registration-panel .registration-details > div {
    padding-top: 9px;
    padding-bottom: 10px;
  }

  .race-registration-panel .registration-details span {
    margin-bottom: 5px;
  }

  .race-registration-panel .registration-details strong {
    font-size: .88rem;
    line-height: 1.3;
  }

  .race-registration-panel .registration-actions {
    gap: 7px;
  }

  .race-registration-panel .cta {
    min-height: 42px;
    padding: 10px 14px;
  }

  .race-registration-panel .rule-link {
    padding: 9px 13px;
  }
}

@media (max-width: 800px) {
  .race-registration-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
    padding: 26px 20px;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  #route-map,
  .map-preview-live { min-height: 500px; }
  .map-preview-live { width: 100%; aspect-ratio: auto; }
}

/* Experiencia K42: índice editorial + escena activa. */
.experience {
  background: var(--paper);
  border-top: 9px solid transparent;
  border-image: linear-gradient(90deg,var(--cyan),var(--blue),var(--violet),var(--magenta),var(--red),var(--orange),var(--yellow)) 1;
}

.experience-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 60px;
}

.experience-heading h2 {
  font-size: clamp(4rem, 7vw, 8rem);
}

.experience-heading em {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.experience-heading p {
  max-width: 390px;
  font-size: 1.05rem;
}

.experience-stage {
  display: grid;
  grid-template-columns: minmax(250px,.72fr) 1.75fr;
  min-height: 610px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.experience-index {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
}

.experience-tab {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  flex: 1;
  width: 100%;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-family: 'Barlow Condensed','Arial Narrow',Impact,sans-serif;
  font-size: clamp(1.7rem,2.4vw,2.8rem);
  font-weight: 800;
  line-height: .95;
}

.experience-tab:last-child { border-bottom: 0; }
.experience-tab span { font-family: 'DM Sans',Arial,sans-serif; font-size: .66rem; letter-spacing: .12em; }
.experience-tab.active { background: var(--ink); color: white; }

.experience-scene {
  --experience-color: var(--cyan);
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #070807;
  color: white;
  isolation: isolate;
}

.experience-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb,var(--experience-color) 56%,transparent), transparent 37%),
    linear-gradient(135deg, transparent 38%, color-mix(in srgb,var(--experience-color) 24%,transparent));
  opacity: .38;
  pointer-events: none;
}

.experience-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .22s ease;
}

.experience-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.46) 48%, rgba(0,0,0,.12) 100%),
    linear-gradient(0deg, rgba(0,0,0,.8) 0%, transparent 62%);
}

.experience-spectrum {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  z-index: 3;
  background: linear-gradient(90deg,var(--cyan),var(--blue),var(--violet),var(--magenta),var(--red),var(--orange),var(--yellow));
}

.experience-count {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: .72rem;
  letter-spacing: .12em;
  z-index: 2;
}

#experience-word {
  position: absolute;
  left: 28px;
  top: 45px;
  font-family: 'Barlow Condensed','Arial Narrow',Impact,sans-serif;
  font-size: clamp(7rem,16vw,17rem);
  line-height: .8;
  letter-spacing: -.055em;
  z-index: 1;
  color: #ffffff18;
  white-space: nowrap;
}

.experience-copy {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 8%;
  max-width: 510px;
}

.experience-copy h3 {
  margin: 14px 0;
  font-family: 'Barlow Condensed','Arial Narrow',Impact,sans-serif;
  font-size: clamp(2.5rem,4.6vw,5.2rem);
  line-height: .92;
}

.experience-copy > p:last-child { max-width: 430px; color: #f0f1ee; text-shadow: 0 1px 18px #000; }

@media (max-width: 850px) {
  .experience-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .experience-heading h2 { font-size: clamp(3.3rem,13vw,5rem); }
  .experience-stage { grid-template-columns: 1fr; min-height: 0; border-bottom: 0; }
  .experience-index { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--ink); scrollbar-width: none; scroll-snap-type: x proximity; }
  .experience-index::-webkit-scrollbar { display: none; }
  .experience-tab { display: block; flex: 0 0 auto; min-width: 150px; min-height: 84px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 0; font-size: 1.7rem; }
  .experience-tab { scroll-snap-align: start; }
  .experience-tab span { display: block; margin-bottom: 9px; }
  .experience-scene { min-height: 520px; }
  #experience-word { top: 65px; font-size: clamp(6rem,29vw,9rem); }
  .experience-copy { left: 22px; right: 22px; bottom: 54px; }
  .experience-copy h3 { font-size: 3rem; }
  .experience-shade { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.28) 70%, rgba(0,0,0,.18) 100%); }
}
#inscripcion { display: none; }
#route-map {
  position: absolute;
  inset: 0;
  min-height: 560px;
  background: #101613;
}

.map-preview-live {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.map-view-switch {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 20px;
  display: flex;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
}

.map-view-button {
  min-width: 92px;
  padding: 11px 15px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  font: 800 .8rem/1 Arial, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}

.map-view-button span { display: block; margin-bottom: 4px; font-size: .5rem; letter-spacing: .15em; opacity: .68; }

.map-view-button:last-child { border-right: 0; }
.map-view-button.active { background: #fff; color: #050505; }
.maplibregl-ctrl-group { border-radius: 0; }
.maplibregl-ctrl-attrib { font-size: 10px; }

@media (max-width: 700px) {
  #route-map,
  .map-preview-live { min-height: 440px; }
  .map-preview-live { width: 100%; aspect-ratio: auto; }
  .map-view-switch { top: 12px; left: 12px; }
  .map-view-button { min-width: 76px; padding: 9px 11px; }
}
#circuit-map[hidden] { display: none !important; }

/* El recorrido completo debe entrar también en notebooks y pantallas de poca altura. */
@media (min-width: 800px) and (max-height: 950px) {
  .route.section-pad { padding-top: 28px; padding-bottom: 34px; }
  .route .section-top { margin-bottom: 22px; }
  .route .heading-row { align-items: center; margin-bottom: 24px; }
  .route .heading-row h2 { font-size: clamp(3.5rem,7vh,4.6rem); white-space: nowrap; }
  .route .heading-row h2 br { display: none; }
  .route .heading-row p { font-size: .9rem; line-height: 1.4; }
  #route-map,
  .route .map-preview-live { min-height: 440px; height: 52vh; max-height: 500px; aspect-ratio: auto; }
  .route-resources>div { margin-top: 10px; padding-top: 10px; }
  .route-resources h3 { margin: 9px 0 5px; }
  .route-stats { margin-top: 8px; }
  .route-stats>div { padding-top: 8px; padding-bottom: 8px; }
  .route-stats dd { font-size: 1.45rem; }
  .route-stats-note { display: none; }
  .route-download { min-height: 52px; padding: 7px 11px; }
  .route-download-card { margin-top: 0; padding-top: 8px; }
  .route-resources { grid-template-rows: 132px 1fr; }
}

@media (min-width: 800px) and (max-height: 800px) {
  .route.section-pad { padding-top: 18px; padding-bottom: 24px; }
  .route .section-top { margin-bottom: 12px; }
  .route .heading-row { margin-bottom: 14px; }
  .route .heading-row h2 { font-size: 3rem; }
  #route-map,
  .route .map-preview-live { min-height: 330px; height: 43vh; max-height: 360px; }
  .route-resources>div { margin-top: 7px; padding-top: 7px; }
  .route-resources { grid-template-rows: 102px 1fr; }
}

/* Debajo del mapa: título y seis cuadrantes de igual jerarquía. */
.route-resources { display:block; margin-top:14px; }
.route-resources > .route-resources-heading {
  display:flex; flex-direction:column; gap:8px; min-width:0;
  margin:0; padding:12px 0 16px; border-top:1px solid #ffffff40;
}
.route-resources-heading h3 { margin:0; font-size:1.15rem; }
.route-resources > .route-resources-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:minmax(82px,auto); margin:0; padding:0; border:0;
}
.route-resources-grid > .route-stat,
.route-resources-grid > .route-download {
  box-sizing:border-box; min-width:0; min-height:0; margin:0; padding:14px 18px;
  border:0; border-top:1px solid #ffffff40; border-right:1px solid #ffffff2b;
  background:transparent;
}
.route-resources-grid > :nth-child(3n) { border-right:0; }
.route-stat { display:flex; align-items:center; }
.route-stat > div { width:100%; }
.route-stat dt { margin:0 0 9px; color:#aeb3aa; font-size:.62rem; font-weight:700; letter-spacing:.11em; }
.route-stat dd { margin:0; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-size:1.75rem; font-weight:800; line-height:1; }
.route-resources-grid > .route-download {
  display:grid; width:auto; grid-template-columns:1fr auto; align-content:center; align-items:center;
  gap:6px 12px; color:#fff;
}
.route-resources-grid > .route-download span { font-size:.59rem; }
.route-resources-grid > .route-download strong { font-size:.78rem; letter-spacing:.08em; }
.route-resources-grid > .route-download b { grid-column:2; grid-row:1/3; }
.route-resources-grid > .route-download:hover { background:#fff; color:var(--ink); }
.route-resources-grid > .route-download:hover span { color:var(--ink); }
.route-resources .route-stats-note { margin:10px 0 0; color:#8f968b; font-size:.68rem; }
@media(max-width:700px) {
  .route-resources { margin-top:12px; }
  .route-resources-heading { padding:10px 0 13px; }
  .route-resources-heading h3 { font-size:1rem; }
  .route-resources > .route-resources-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:minmax(76px,auto); }
  .route-resources-grid > .route-stat,
  .route-resources-grid > .route-download { padding:12px 10px; }
  .route-resources-grid > :nth-child(3n) { border-right:1px solid #ffffff2b; }
  .route-resources-grid > :nth-child(2n) { border-right:0; }
  .route-stat dt { font-size:.55rem; line-height:1.3; }
  .route-stat dd { font-size:1.45rem; }
  .route-resources-grid > .route-download span { font-size:.5rem; letter-spacing:.07em; }
  .route-resources-grid > .route-download strong { font-size:.7rem; }
}

/* Ajustes finales: logos oficiales y jerarquía de lanzamiento. */
.race-tabs button img,.registration-tab img{width:auto;max-width:82%;height:46px;margin:auto;object-fit:contain}
.race-tabs button:not([aria-selected="true"]) img{filter:invert(1)}
.race-tabs button[aria-selected="true"] img{filter:none}
#race-number{display:flex;align-items:center}
#race-number img{width:min(100%,480px);height:auto;object-fit:contain;filter:invert(1)}
.registration-tab img{height:38px}
.registration-tab.active img{filter:invert(1)}
.registration-distance{display:flex;align-items:center}
.registration-distance-logo{width:min(100%,300px);height:auto;object-fit:contain}
.price-comparison del{display:block;color:#9da29a;font-size:1.15rem;font-weight:600;text-decoration-thickness:2px}
.registration-details .launch-price{position:relative;background:#fff;color:var(--ink);padding-left:20px}
.registration-details .launch-price span{color:#555d52}
.registration-details .launch-price strong{display:block;font-family:'Barlow Condensed';font-size:2.3rem;line-height:.9}
.registration-details .launch-price small{display:block;margin-top:10px;font-size:.58rem;font-weight:700;letter-spacing:.09em;line-height:1.35}
.race-registration-panel .launch-price strong{font-size:2rem}
@media(max-width:800px){
  .race-tabs button img{height:30px;max-width:88%}
  #race-number img{width:min(76%,290px)}
  .registration-tab{flex:1 0:110px}
  .registration-tab img{height:29px;max-width:84%}
  .registration-distance-logo{width:min(66%,250px)}
  .registration-details .launch-price strong{font-size:2rem}
}

/* Altimetría generada desde los GPX oficiales de referencia 2026. */
.elevation-profile{margin-top:14px;border-top:1px solid #ffffff40;padding-top:12px}.elevation-profile-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px}.elevation-profile-heading h4{margin:0;font-size:.88rem;text-transform:uppercase;letter-spacing:.06em}.elevation-profile-heading span{color:#aeb3aa;font-size:.58rem;letter-spacing:.1em}.elevation-chart-wrap{position:relative;padding-left:42px}.elevation-chart-wrap svg{display:block;width:100%;height:130px;overflow:visible}.elevation-scale{position:absolute;left:0;top:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;color:#aeb3aa;font-size:.58rem}.elevation-axis{display:flex;justify-content:space-between;margin:2px 0 0 42px;color:#aeb3aa;font-size:.58rem}.elevation-grid{stroke:#ffffff27;stroke-width:1;vector-effect:non-scaling-stroke}.elevation-area{fill:url(#elevation-fill)}.elevation-line{fill:none;stroke:url(#elevation-gradient);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.route-stats-note{margin-top:10px!important;color:#8f968b!important;font-size:.68rem!important}
@media(max-width:700px){.elevation-profile{margin-top:10px;padding-top:10px}.elevation-chart-wrap{padding-left:36px}.elevation-chart-wrap svg{height:110px}.elevation-axis{margin-left:36px}.elevation-profile-heading span{font-size:.5rem}}

.elevation-chart-wrap{touch-action:pan-y}.elevation-chart-wrap svg{outline:none;cursor:crosshair}.elevation-chart-wrap svg:focus-visible{outline:1px solid #20c9e8;outline-offset:4px}.elevation-cursor-line{stroke:#fff;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.elevation-cursor-dot{fill:#fff;stroke:#0b0d0b;stroke-width:2;vector-effect:non-scaling-stroke}.elevation-tooltip{position:absolute;z-index:2;display:none;min-width:112px;padding:7px 9px;background:#f5f5f0;color:#111;font-size:.68rem;font-weight:700;line-height:1.4;pointer-events:none;transform:translate(-50%,-115%);white-space:nowrap}.elevation-tooltip.is-visible{display:block}.elevation-tooltip span{display:block;color:#4b5148;font-size:.56rem;font-weight:600;letter-spacing:.04em}

/* Ajustes solicitados para la siguiente revisión visual. */
[hidden]{display:none!important}
.hero h1{font-size:clamp(4rem,8vw,8.5rem);max-width:min(59vw,1050px)}
.hero-sponsor-slot{position:absolute;z-index:1;top:35%;right:10%;width:min(20vw,340px);aspect-ratio:1;pointer-events:none}
#race-panel{grid-template-columns:.9fr 1.1fr;gap:8%;padding:28px 0 34px;align-items:end}
.race-panel-lead .eyebrow{margin-bottom:14px}
.race-panel-lead h3{max-width:420px;font-size:clamp(2rem,3.5vw,3.4rem);line-height:1.02}
.race-panel-detail p{max-width:520px}
.race-panel-detail .text-link{margin-top:12px}
.race-registration-panel .registration-details>.price-comparison{display:flex;flex-direction:column;justify-content:center;gap:0;padding-top:18px;padding-bottom:20px}
.race-registration-panel .price-comparison span{font-size:.72rem;color:#c6cbc2;letter-spacing:.13em}
.race-registration-panel .price-comparison del{font-family:"Barlow Condensed","Arial Narrow",Impact,sans-serif;font-size:clamp(2rem,3vw,3rem);line-height:1;color:#f2f3ed;text-decoration-thickness:3px;text-decoration-color:#ffcf36}
.race-registration-panel .registration-details>.launch-price{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:20px 24px!important;background:linear-gradient(#f5f5ef,#f5f5ef) padding-box,linear-gradient(100deg,#23c6e8,#5359ff,#bd3dd0,#f34153,#ff9a21,#ffd32d) border-box;border:2px solid transparent;color:#101310}
.race-registration-panel .launch-price span{margin:0;color:#111;font-size:.72rem;font-weight:800;letter-spacing:.12em}
.race-registration-panel .registration-details .registration-launch-price{font-family:"Barlow Condensed","Arial Narrow",Impact,sans-serif;font-size:clamp(3.3rem,5.1vw,5.2rem);font-weight:800;line-height:.88;letter-spacing:-.03em}
.race-registration-panel .launch-price small{display:inline-flex;align-self:flex-start;margin-top:6px;padding:6px 9px;background:#101310;color:#fff;font-size:.58rem;font-weight:800;letter-spacing:.09em}
@media(max-width:700px){.hero h1{max-width:100%;font-size:clamp(3.5rem,11.8vw,5rem)}.hero-sponsor-slot{display:none}#race-panel{grid-template-columns:1fr;gap:12px;padding:22px 0 28px}.race-panel-lead h3{font-size:2rem}.race-panel-detail{padding-left:0!important}.race-registration-panel .registration-details>.launch-price{padding:17px!important}.race-registration-panel .registration-details .registration-launch-price{font-size:3.4rem}.race-registration-panel .price-comparison del{font-size:2.15rem}}

#race-panel .race-panel-lead h3{margin:0 0 14px;font-size:clamp(2.2rem,3.7vw,3.6rem)}#race-panel .race-panel-detail p:not(.eyebrow){max-width:520px}
@media(max-width:700px){#race-panel .race-panel-lead h3{font-size:2rem;margin:0 0 4px}}

/* K42 + Responsable: modal editorial adaptable */
#info-dialog:not([open]){display:none!important}
#info-dialog[open]{width:min(1080px,calc(100% - 32px));max-width:none;max-height:min(92vh,980px);padding:0;background:#111;color:#f5f5ef;overflow:hidden;display:flex;flex-direction:column}
#info-dialog .dialog-content{overflow:auto;min-height:0;overscroll-behavior:contain;padding:clamp(22px,4vw,54px)}
#info-dialog .dialog-content>.eyebrow{color:#c8d0c1}
#info-dialog h2{font-size:clamp(2.8rem,6vw,5.8rem);margin:18px 0 28px;max-width:850px}
#info-dialog .dialog-close{z-index:2;right:18px;top:16px;width:44px;height:44px;border:1px solid #fff9;border-radius:50%;background:#111a;color:white;font-size:1.8rem;line-height:1}
#info-dialog .dialog-ok{flex:none;align-self:flex-end;margin:0 clamp(22px,4vw,54px) clamp(22px,3vw,34px);background:transparent;border:1px solid #ffffff75;padding:12px 22px;font-size:.72rem;letter-spacing:.1em}
.responsable-image{width:100%;height:clamp(190px,30vw,340px);object-fit:cover;object-position:center 53%;margin:0 0 34px}
.responsable-copy{max-width:800px;margin:0 auto;font-size:clamp(.95rem,1.3vw,1.05rem);line-height:1.7;color:#d9ddd5}
.responsable-copy p{margin:0 0 22px}
.responsable-copy h3{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1;margin:36px 0 14px;color:#fff}
.responsable-copy .responsable-lead{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(1.7rem,3.2vw,2.5rem);line-height:1.08;color:#fff;max-width:700px}
.responsable-copy .responsable-subtitle{color:#d6ff3f;font-weight:700;letter-spacing:.02em}
.responsable-copy ul{padding-left:1.2rem;margin:0 0 26px}
.responsable-copy li{padding:0 0 9px 5px}
.responsable-copy li strong{color:white}
.responsable-copy .responsable-close{border-top:1px solid #ffffff40;padding-top:22px;color:#fff;font-weight:600}
@media(max-width:700px){#info-dialog{width:calc(100% - 16px);max-height:94vh}#info-dialog .dialog-content{padding:18px}#info-dialog h2{font-size:2.8rem;max-width:82%;margin:16px 0 22px}.responsable-image{height:190px;margin-bottom:24px}.responsable-copy h3{margin-top:30px}.responsable-copy{font-size:.92rem}#info-dialog .dialog-close{right:12px;top:12px;width:38px;height:38px}}
