/* Página principal de SISU Sport (diseño de Claude Design, noviembre 2026). */
:root {
  --bg: #0D1016; --sf: #161A22; --sf2: #1D212A; --bd: #2A2F3A;
  --tx: #FFFFFF; --tx2: #B5BCC8; --mu: #9AA3B2; --link: #5CC3EC; --mag: #E0336B;
  --grad: linear-gradient(90deg, #2FB0E3, #D6334D);
  --grad-tx: linear-gradient(90deg, #2FB0E3, #E0336B);
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: Figtree, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--mag); }
:focus-visible { outline: 2px solid #5CC3EC; outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grad-tx { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tx2); }
.kicker::before { content: ""; width: 16px; height: 4px; transform: skewX(-24deg); background: var(--grad); flex: none; }
.kicker-light { color: #E6E9EF; }
.kicker-white { color: #fff; }
.kicker-white::before { background: #fff; }

.btn { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-size: 15px; font-weight: 800; white-space: nowrap; border: 0; cursor: pointer; font-family: inherit; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { color: #fff; filter: brightness(1.1); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.btn-outline { border: 1.5px solid var(--bd); background: transparent; color: var(--tx); }
.btn-outline:hover { background: var(--sf2); color: var(--tx); }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--bd); display: inline-flex; align-items: center; justify-content: center; color: var(--tx); }
.icon-btn:hover { color: var(--tx); background: var(--sf2); }
.icon-btn-sm { width: 44px; height: 44px; }

/* Encabezado */
.hd { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--bd); }
.hd-in { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 24px; }
.hd-logo img { height: 38px; width: auto; border-radius: 10px; display: block; }
.hd-nav { display: flex; gap: 4px; margin-left: 12px; }
.hd-nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--tx2); }
.hd-nav a:hover { color: var(--tx); background: var(--sf2); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hd-burger { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--bd); background: var(--sf); color: var(--tx); align-items: center; justify-content: center; cursor: pointer; }
.hd-mobile { padding: 8px 16px 20px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--bd); }
.hd-mobile a { min-height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: 16px; font-size: 18px; font-weight: 800; color: var(--tx); }
.hd-mobile a:hover { background: var(--sf); color: var(--tx); }
@media (max-width: 879px) {
  .hd-nav { display: none; }
  .hd-burger { display: inline-flex; }
}

/* Portada */
.hero { position: relative; min-height: min(820px, 92svh); display: flex; align-items: flex-end; color: #fff; background: #07080B; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,11,.55) 0%, rgba(7,8,11,.2) 30%, rgba(7,8,11,.78) 66%, #07080B 100%); }
.hero-in { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px var(--pad) clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.hero h1 { margin: 0; font-size: clamp(44px, 7.4vw, 96px); line-height: .94; font-weight: 900; font-style: italic; letter-spacing: -.03em; text-wrap: balance; }
.hero p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; font-weight: 500; color: #E6E9EF; max-width: 520px; text-wrap: pretty; }
.featured { justify-self: end; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 28px; background: rgba(13,16,22,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.featured:hover { color: #fff; border-color: rgba(255,255,255,.32); }
.featured-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.featured-top > span:first-child { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #B5BCC8; }
.featured-title { font-size: 28px; line-height: 1.05; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.featured-when { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; color: #E6E9EF; line-height: 1.4; }
.featured-when svg { flex: none; margin-top: 1px; }
.featured-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.featured-bottom > span:first-child { font-size: 15px; font-weight: 700; color: #B5BCC8; }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.tag-virtual { background: #2FB0E3; color: #06222F; }
.tag-presencial { background: #E0336B; color: #fff; }

/* Secciones */
.sec { scroll-margin-top: 72px; max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--pad) 0; display: flex; flex-direction: column; gap: 28px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-title { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.sec h2 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.025em; text-wrap: balance; }
.lead { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--tx2); }

/* Filtro de carreras */
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--sf); border: 1px solid var(--bd); }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 800; background: transparent; color: var(--tx2); }
.tabs button[aria-selected="true"] { background: var(--tx); color: var(--bg); }

/* Tarjetas de carrera */
.race-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.race { border-radius: 28px; background: var(--sf); border: 1px solid var(--bd); overflow: hidden; display: flex; flex-direction: column; }
.poster { position: relative; aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; overflow: hidden; background: #1D212A; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,8,11,.75)); }
.poster .tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.poster-big { position: absolute; right: -10px; top: -18px; font-size: 120px; font-weight: 900; font-style: italic; letter-spacing: -.05em; line-height: 1; color: rgba(255,255,255,.14); }
.poster-sub { position: relative; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.poster-title { position: relative; z-index: 1; font-size: 30px; line-height: .95; font-weight: 900; font-style: italic; letter-spacing: -.03em; text-wrap: balance; }
.race-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.race-body h3 { margin: 0; font-size: 21px; line-height: 1.15; font-weight: 900; font-style: italic; letter-spacing: -.015em; }
.race-when { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--tx2); }
.race-when svg { flex: none; margin-top: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 5px 11px; border-radius: 999px; background: var(--sf2); font-size: 13px; font-weight: 800; color: var(--tx); }
.race-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; }
.price small { font-size: 12px; font-weight: 700; color: var(--mu); }
.price b { font-size: 20px; font-weight: 900; }
.race-foot .btn { min-height: 52px; padding: 0 20px; }
.sk-card { border-radius: 28px; background: var(--sf); border: 1px solid var(--bd); overflow: hidden; }
.sk-img { aspect-ratio: 4/3; background: linear-gradient(90deg, var(--sf2) 0%, var(--bd) 50%, var(--sf2) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.sk-lines { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sk-lines i { display: block; height: 14px; border-radius: 999px; background: var(--sf2); }
.state { border-radius: 28px; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.state-empty { border: 1.5px dashed var(--bd); }
.state-error { background: var(--sf); border: 1px solid var(--bd); }
.state b { font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: -.015em; }
.state p { margin: 0; font-size: 16px; color: var(--tx2); font-weight: 500; }

/* Historial */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.stat { padding: 22px; border-radius: 24px; background: var(--sf); border: 1px solid var(--bd); display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: clamp(36px, 4.4vw, 52px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.03em; background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.stat span { font-size: 15px; font-weight: 700; color: var(--tx2); }
.past { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.past-card { flex: 0 0 min(86%, 340px); scroll-snap-align: start; border-radius: 28px; overflow: hidden; background: var(--sf); border: 1px solid var(--bd); display: flex; flex-direction: column; }
.past-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--sf2); }
.past-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.past-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,8,11,.9)); }
.past-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.past-cap b { font-size: 26px; line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.past-cap span { font-size: 14px; font-weight: 600; color: #E6E9EF; }
.past-link { min-height: 52px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 800; color: var(--tx); }
.past-link:hover { color: var(--link); }

/* Nosotros */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; background: var(--sf2); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.chip-photo { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(13,16,22,.72); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 800; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy p { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--tx2); text-wrap: pretty; }
.about-copy strong { color: var(--tx); font-weight: 800; }
.values { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.values span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--sf); border: 1px solid var(--bd); font-size: 15px; font-weight: 800; }

/* Patrocinadores */
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 12px; }
.sponsor { height: 120px; border-radius: 24px; background: #fff; border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; padding: 14px 18px; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s, transform .2s; color: #0F1218; font-size: 17px; font-weight: 900; font-style: italic; text-align: center; }
.sponsor:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.sponsor img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.sponsor-you { background: transparent; border: 1.5px dashed var(--bd); color: var(--tx2); font-style: normal; font-weight: 800; font-size: 15px; filter: none; opacity: 1; }

/* Reseñas */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; padding: 24px; border-radius: 28px; background: var(--sf); border: 1px solid var(--bd); display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: #FFC23D; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 600; text-wrap: pretty; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 900; font-style: italic; flex: none; }
.who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.who b { font-size: 15px; font-weight: 800; }
.who b span { color: var(--tx2); font-weight: 600; }
.who small { font-size: 13px; font-weight: 700; color: var(--link); }
@media (max-width: 879px) {
  .reviews { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; margin: 0 calc(-1 * var(--pad)); scroll-padding-left: var(--pad); }
  .review { flex: 0 0 min(84%, 320px); scroll-snap-align: start; }
}

/* Instagram */
.ig-handle { font-size: clamp(28px, 3.6vw, 44px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.02em; color: var(--tx); }
.ig-handle:hover { color: var(--link); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.ig-grid a { position: relative; display: block; aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; background: var(--sf2); }
.ig-grid a:hover { opacity: .86; }
.ig-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig-grid .ig-video::after { content: ""; position: absolute; top: 12px; right: 12px; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
@media (max-width: 879px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Buzón */
.news { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(28px, 6vw, 64px); background: linear-gradient(120deg, #1478A8 0%, #2FB0E3 30%, #B3265A 75%, #D6334D 100%); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px; align-items: center; }
.news-copy { display: flex; flex-direction: column; gap: 14px; }
.news h2 { font-size: clamp(32px, 4.4vw, 52px); }
.news-copy p { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 600; }
.news-form { display: flex; flex-direction: column; gap: 12px; }
.news-form > label:first-child { font-size: 14px; font-weight: 800; }
.news-row { display: flex; flex-wrap: wrap; gap: 10px; }
.news-row input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 56px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; background: #fff; color: #0F1218; font-family: inherit; font-size: 16px; font-weight: 600; outline: none; }
.news-row input[aria-invalid="true"] { border-color: #0D1016; }
.news-row button { flex: 0 0 auto; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; background: #0D1016; color: #fff; font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.news-row button:hover { background: #1D212A; }
.news-row button:disabled { opacity: .75; cursor: progress; }
.news-row button .spin { width: 16px; height: 16px; border-radius: 999px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .8s linear infinite; display: block; }
.news-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.news-check input { width: 22px; height: 22px; accent-color: #0D1016; flex: none; margin: 0; }
.news-check a { color: #fff; text-decoration: underline; font-weight: 800; }
.news-msg { min-height: 24px; }
.news-msg span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #0D1016; color: #FF8AA8; font-size: 14px; font-weight: 800; }
.news-ok { padding: 24px; border-radius: 24px; background: #0D1016; display: flex; gap: 16px; align-items: center; }
.news-ok-ic { width: 52px; height: 52px; border-radius: 999px; background: var(--grad); display: flex; align-items: center; justify-content: center; flex: none; }
.news-ok > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.news-ok b { font-size: 22px; font-weight: 900; font-style: italic; }
.news-ok > span:last-child > span { font-size: 15px; font-weight: 600; color: #B5BCC8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#novedades { padding-bottom: clamp(64px, 9vw, 112px); }

/* Pie */
.ft { border-top: 1px solid var(--bd); background: var(--sf); }
.ft-in { max-width: 1200px; margin: 0 auto; padding: 48px var(--pad) 32px; display: flex; flex-direction: column; gap: 32px; }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.ft-brand { display: flex; flex-direction: column; gap: 14px; }
.ft-brand img { height: 44px; width: auto; align-self: flex-start; border-radius: 12px; }
.ft-brand p { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--tx2); max-width: 280px; }
.ft-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); padding-bottom: 6px; }
.ft-nav { display: flex; flex-direction: column; gap: 2px; }
.ft-nav a { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 700; color: var(--tx); }
.ft-nav a:hover, .ft-mail:hover { color: var(--link); }
.ft-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ft-mail { font-size: 17px; font-weight: 800; color: var(--tx); }
.ft-bottom { padding-top: 20px; border-top: 1px solid var(--bd); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; color: var(--mu); }
