/* Scuadron Track Racing */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: rgba(255, 255, 255, .09);
  --text: #f2f2f2;
  --muted: #9a9aa2;
  --red: #e30613;
  --red-hot: #ff2a2a;
  --wa: #25d366;
  --blue: #2b7fff;      /* tandas */
  --blue-hot: #5c9dff;
  /* tarjeta «destacada» del editor web */
  --yellow: #e30613; --yellow-dim: rgba(227, 6, 19, .08); --yellow-glow: rgba(227, 6, 19, .18);
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Saira", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Slash motif taken from the logo */
.slashes { display: inline-flex; gap: 5px; vertical-align: middle; }
.slashes i { width: 9px; height: 26px; background: var(--red); transform: skewX(-24deg); }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red-hot);
  display: flex; align-items: center; gap: 14px;
}
h1, h2, h3 { font-family: var(--display); font-style: italic; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; }
h2 { font-size: clamp(48px, 8vw, 112px); font-weight: 800; }
h2 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
h3 { font-size: 30px; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 30px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateX(4px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Header */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s, padding .3s;
}
.nav.solid { background: rgba(10, 10, 11, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-block: 10px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  letter-spacing: .18em; text-transform: uppercase; color: #d7d7dc;
}
.nav-links a:not(.btn):hover { color: var(--red-hot); }
.nav .btn { padding: 11px 22px; font-size: 15px; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); animation: drift 14s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.75) 0%, rgba(10,10,11,.1) 30%, rgba(10,10,11,.35) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,0) 60%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 10vh, 110px); }
.hero-logo { width: min(640px, 92%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.hero p.lead { max-width: 560px; margin: 26px 0 34px; font-size: clamp(17px, 1.6vw, 20px); color: #dcdce0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Ticker */
.ticker { background: var(--red); overflow: hidden; transform: skewY(-1.2deg); margin: -10px 0 0; position: relative; z-index: 3; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span {
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px;
  text-transform: uppercase; letter-spacing: .06em; padding: 12px 28px; white-space: nowrap;
}
.ticker span::after { content: "///"; margin-left: 56px; color: rgba(0,0,0,.35); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.section { padding: clamp(90px, 13vw, 170px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { max-width: 620px; color: var(--muted); font-size: 18px; }
.bignum {
  position: absolute; right: var(--gutter); top: 40px;
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(140px, 22vw, 320px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07);
  pointer-events: none; user-select: none;
}

/* Tandas */
.tandas-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.tandas-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tandas-photos figure { overflow: hidden; background: var(--bg-3); }
.tandas-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.tandas-photos figure:not(:first-child) { aspect-ratio: 4/3; }
.tandas-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tandas-photos figure:hover img { transform: scale(1.05); }

.features { display: grid; gap: 2px; margin-bottom: 36px; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature:first-child { border-top: 1px solid var(--line); }
.feature .n { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 34px; color: var(--red); line-height: 1; }
.feature h3 { font-size: 24px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(56px, 8vw, 96px); }
.step { background: var(--bg-2); padding: 30px 28px 34px; position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(.18); transform-origin: left; transition: transform .4s; }
.step:hover::before { transform: scaleX(1); }
.step small { font-family: var(--display); font-weight: 600; letter-spacing: .3em; color: var(--red-hot); font-size: 13px; }
.step h3 { margin: 10px 0 8px; font-size: 28px; }
.step p { color: var(--muted); font-size: 16px; }

/* CTS */
section.cts { background: var(--bg-2); overflow: hidden; }
.cts-hero { position: relative; aspect-ratio: 21/8; min-height: 340px; overflow: hidden; }
.cts-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cts-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,20,.2), var(--bg-2) 96%), linear-gradient(90deg, rgba(18,18,20,.9), transparent 70%); }
.cts-hero .wrap { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: 40px; }
.cts-hero h2 { font-size: clamp(54px, 9vw, 130px); }
.cts-hero h2 em { color: var(--red); font-style: italic; }

.cts-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0 70px; }
.cts-stats div { padding: 28px 0 26px; }
.cts-stats div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.cts-stats strong { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(54px, 7vw, 92px); line-height: .9; }
.cts-stats span { color: var(--muted); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }

.cts-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-bottom: 70px; }
.cts-intro p { color: #c9c9cf; font-size: 18px; }
.cts-intro p + p { margin-top: 16px; }

.rounds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.round {
  position: relative; background: var(--bg-3); padding: 26px 22px 28px;
  min-height: 260px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; transition: background .3s, transform .3s;
}
.round:hover { background: #222226; transform: translateY(-4px); }
.round .r { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.round:hover .r { -webkit-text-stroke-color: var(--red); }
.round small { font-family: var(--display); letter-spacing: .28em; font-size: 13px; color: var(--red-hot); font-weight: 600; text-transform: uppercase; }
.round h3 { font-size: 24px; margin: 6px 0 4px; }
.round p { color: var(--muted); font-size: 14px; }
.round.final { background: var(--red); }
.round.final .r { -webkit-text-stroke-color: rgba(255,255,255,.6); }
.round.final small, .round.final p { color: rgba(255,255,255,.85); }

.weekend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 70px; }
.weekend figure { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.weekend img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.weekend figure:hover img { transform: scale(1.05); }
.weekend figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.weekend figcaption small { font-family: var(--display); letter-spacing: .28em; font-size: 13px; color: var(--red-hot); font-weight: 600; text-transform: uppercase; }
.weekend figcaption h3 { font-size: 30px; margin-top: 4px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 8px; }
.gallery figure { overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; filter: saturate(.9); }
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1.1); }
.g-a { grid-column: span 7; grid-row: span 4; }
.g-b { grid-column: span 5; grid-row: span 2; }
.g-c { grid-column: span 5; grid-row: span 2; }
.g-d { grid-column: span 4; grid-row: span 3; }
.g-e { grid-column: span 4; grid-row: span 3; }
.g-f { grid-column: span 4; grid-row: span 3; }
.g-g { grid-column: span 3; grid-row: span 4; }
.g-h { grid-column: span 6; grid-row: span 4; }
.g-i { grid-column: span 3; grid-row: span 4; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; }

/* Familia */
.familia { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.familia-img { position: relative; overflow: hidden; }
.familia-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.familia-text { background: var(--red); padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.familia-text h2 { font-size: clamp(48px, 6.4vw, 96px); }
.familia-text p { font-size: 19px; color: rgba(255,255,255,.92); max-width: 520px; }
.familia-text .eyebrow { color: #fff; }

/* Contact */
.contact { text-align: center; padding: clamp(100px, 14vw, 190px) 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: url("../img/cts-2.jpg") center/cover; opacity: .16; }
.contact::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 75%); }
.contact .wrap { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.contact h2 { font-size: clamp(52px, 10vw, 150px); }
.contact p { color: #c9c9cf; max-width: 560px; font-size: 19px; }
.contact .phone { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: .02em; }
.contact .btn { font-size: 20px; padding: 20px 40px; }

footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer img { height: 34px; width: auto; opacity: .85; }

/* Calendario */
.calendar { border-top: 1px solid var(--line); }
.dot { display: inline-block; width: 10px; height: 10px; transform: skewX(-20deg); margin-right: 8px; vertical-align: 0; }
.dot.cts { background: var(--red); }
.dot.tandas { background: var(--blue); }

.cal-next {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 44px);
  background: linear-gradient(100deg, var(--bg-3), var(--bg-2)); border-left: 4px solid var(--red);
  padding: 26px clamp(20px, 3vw, 40px); margin-bottom: 34px;
}
.cal-next.tandas { border-left-color: var(--blue); }
.cal-next-count { text-align: center; min-width: 110px; }
.cal-next-count strong { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: .85; color: var(--red-hot); }
.cal-next.tandas .cal-next-count strong { color: var(--blue-hot); }
.cal-next-count span { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cal-next-info small { font-family: var(--display); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; font-size: 13px; color: var(--red-hot); }
.cal-next-info h3 { font-size: clamp(28px, 3vw, 40px); margin: 6px 0 4px; }
.cal-next-info p { color: var(--muted); }

.cal-filter { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.cal-filter button {
  font: 600 15px var(--display); letter-spacing: .16em; text-transform: uppercase; color: #cfcfd4;
  background: var(--bg-2); border: 1px solid var(--line); padding: 10px 20px; cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .2s, color .2s;
}
.cal-filter button:hover { color: #fff; }
.cal-filter button.on { background: #fff; color: #0a0a0b; }

.cal-layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cal-month-view { background: var(--bg-2); padding: 24px; position: sticky; top: 96px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h3 { font-size: 28px; }
.cal-head button { width: 40px; height: 40px; background: var(--bg-3); border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.cal-head button:hover { background: var(--red); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font: 600 12px var(--display); letter-spacing: .14em; color: var(--muted); padding-bottom: 6px; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-size: 15px; color: #d4d4d8; background: rgba(255,255,255,.025); }
.cal-day.empty { background: none; }
.cal-day.past { color: #4c4c52; }
.cal-day.today { outline: 1px solid var(--red-hot); outline-offset: -1px; }
.cal-day.has { font-weight: 700; cursor: pointer; transition: transform .15s; }
.cal-day.has:hover { transform: scale(1.1); }
.cal-day.has.cts { background: var(--red); color: #fff; }
.cal-day.has.tandas { background: var(--blue); color: #fff; }
.cal-legend { display: flex; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.cal-list { list-style: none; }
.cal-month { font: italic 800 22px var(--display); text-transform: uppercase; color: var(--muted); padding: 26px 0 10px; letter-spacing: .04em; }
.cal-month:first-child { padding-top: 0; }
.cal-item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: center;
  padding: 18px 20px; background: var(--bg-2); margin-bottom: 6px; border-left: 3px solid var(--red);
  transition: background .2s;
}
.cal-item.tandas { border-left-color: var(--blue); }
.cal-item:hover { background: var(--bg-3); }
.cal-item.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 40% { background: rgba(227,6,19,.35); } 100% { background: var(--bg-2); } }
.cal-date { text-align: center; }
.cal-date strong { display: block; font: italic 800 44px/0.9 var(--display); white-space: nowrap; }
.cal-date strong em { font-size: 26px; color: var(--muted); font-style: italic; }
.cal-date span { font: 600 13px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red-hot); }
.cal-item.tandas .cal-date span { color: var(--blue-hot); }
.cal-tag { font: 600 12px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red-hot); }
.cal-item.tandas .cal-tag { color: var(--blue-hot); }
.cal-info h3 { font-size: 24px; margin: 3px 0 2px; }
.cal-info p { color: var(--muted); font-size: 15px; }
.cal-info p b { color: #fff; font-weight: 600; }
.cal-actions { display: flex; align-items: center; gap: 8px; }
.cal-actions .btn { padding: 11px 20px; font-size: 14px; }
.cal-ics { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg-3); transition: background .2s; }
.cal-ics:hover { background: #2a2a2f; }
.cal-ics svg { width: 20px; height: 20px; fill: #d4d4d8; }
.cal-item.full { opacity: .6; }
.cal-empty { color: var(--muted); padding: 30px; background: var(--bg-2); }

@media (max-width: 900px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-month-view { position: static; }
  .cal-next { grid-template-columns: auto 1fr; }
  .cal-next .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .cal-item { grid-template-columns: 76px 1fr; gap: 14px; padding: 16px; }
  .cal-actions { grid-column: 1 / -1; }
  .cal-date strong { font-size: 34px; }
  .cal-date strong em { font-size: 20px; }
  .cal-next-count { min-width: 0; }
}

.ig-link { display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #d7d7dc; transition: color .2s; }
.ig-link:hover { color: #fff; }
.ig-link svg { width: 22px; height: 22px; color: var(--red-hot); }
footer .ig-link { font-size: 14px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .rounds { grid-template-columns: repeat(3, 1fr); }
  .round { min-height: 220px; }
}
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .tandas-grid, .cts-intro, .familia { grid-template-columns: 1fr; }
  .familia-img { min-height: 380px; }
  .steps, .weekend { grid-template-columns: 1fr; }
  .weekend figure { aspect-ratio: 16/10; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g-a, .gallery .g-h { grid-column: span 2 !important; grid-row: span 2 !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-logo img { height: 36px; }
  .nav .btn span { display: none; }
  .nav .btn { padding: 10px 16px; }
  .rounds { grid-template-columns: 1fr 1fr; }
  .round .r { font-size: 72px; }
  .round.final { grid-column: span 2; }
  .cts-stats { grid-template-columns: 1fr; }
  .cts-stats div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .bignum { display: none; }
  .ticker span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Móvil: escala más contenida (2026-11-04) ===== */
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.55; }
  .section { padding: 64px 0; }
  .section-head { gap: 14px; margin-bottom: 32px; }
  .section-head p, .cts-intro p { font-size: 15px; }
  h2 { font-size: clamp(36px, 10.5vw, 48px); }
  h2 .outline { -webkit-text-stroke-width: 1.2px; }
  h3 { font-size: 22px; }
  .eyebrow { font-size: 12px; letter-spacing: .26em; gap: 10px; }
  .slashes { gap: 4px; }
  .slashes i { width: 6px; height: 18px; }

  .btn { font-size: 14px; letter-spacing: .1em; padding: 12px 20px; gap: 9px;
         clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
  .btn svg { width: 18px; height: 18px; }

  .nav { padding: 10px var(--gutter); }
  .nav-logo img { height: 30px; }

  .hero { min-height: 92svh; }
  .hero-content { padding-bottom: 44px; }
  .hero-logo { width: 88%; }
  .hero p.lead { font-size: 15px; margin: 16px 0 22px; }
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { padding: 11px 16px; font-size: 13px; }

  .ticker span { font-size: 15px; padding: 8px 16px; }
  .ticker span::after { margin-left: 32px; }

  .tandas-photos { gap: 6px; }
  .features { margin-bottom: 24px; }
  .feature { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; }
  .feature .n { font-size: 24px; }
  .feature h3 { font-size: 19px; margin-bottom: 2px; }
  .feature p { font-size: 14px; }
  .steps { margin-top: 40px; gap: 6px; }
  .step { padding: 18px 18px 20px; }
  .step small { font-size: 11px; }
  .step h3 { font-size: 21px; margin: 6px 0 4px; }
  .step p { font-size: 14px; }

  .cts-hero { min-height: 240px; aspect-ratio: 4/3; }
  .cts-hero .wrap { padding-bottom: 22px; }
  .cts-hero h2 { font-size: clamp(40px, 12vw, 54px); }
  .cts-stats { grid-template-columns: repeat(3, 1fr); margin: 20px 0 40px; }
  .cts-stats div { padding: 16px 0 14px; }
  .cts-stats div + div { border-left: 1px solid var(--line); border-top: 0; padding-left: 14px; }
  .cts-stats strong { font-size: 40px; }
  .cts-stats span { font-size: 11px; letter-spacing: .04em; line-height: 1.3; display: block; margin-top: 4px; }
  .cts-intro { margin-bottom: 40px; gap: 14px; }
  .cts-intro h3 { font-size: 24px; }

  .rounds { gap: 6px; }
  .round { min-height: 0; padding: 14px 14px 16px; gap: 14px; }
  .round .r { font-size: 46px; }
  .round small { font-size: 11px; letter-spacing: .2em; }
  .round h3 { font-size: 19px; margin: 4px 0 2px; }
  .round p { font-size: 13px; }

  .weekend { margin-top: 40px; gap: 6px; }
  .weekend figure { aspect-ratio: 16/9; }
  .weekend figcaption { padding: 40px 16px 14px; }
  .weekend figcaption small { font-size: 11px; }
  .weekend figcaption h3 { font-size: 21px; }

  .gallery { grid-auto-rows: 120px; gap: 6px; }

  .familia { min-height: 0; }
  .familia-img { min-height: 240px; }
  .familia-text { padding: 44px var(--gutter); gap: 16px; }
  .familia-text h2 { font-size: clamp(36px, 10.5vw, 46px); }
  .familia-text p { font-size: 15px; }

  .contact { padding: 72px 0; }
  .contact .wrap { gap: 18px; }
  .contact h2 { font-size: clamp(40px, 12vw, 56px); }
  .contact p { font-size: 15px; }
  .contact .phone { font-size: 32px; }
  .contact .btn { font-size: 15px; padding: 14px 24px; white-space: nowrap; }

  footer { padding: 24px 0 90px; font-size: 13px; }
  footer .wrap { gap: 12px; }
  footer img { height: 26px; }

  .cal-next { padding: 16px; gap: 14px; margin-bottom: 22px; }
  .cal-next-count strong { font-size: 44px; }
  .cal-next-count span { font-size: 11px; }
  .cal-next-info small { font-size: 11px; }
  .cal-next-info h3 { font-size: 21px; }
  .cal-next-info p { font-size: 14px; }
  .cal-filter { margin-bottom: 16px; gap: 6px; }
  .cal-filter button { font-size: 13px; padding: 8px 14px; }
  .cal-month-view { padding: 14px; }
  .cal-head { margin-bottom: 12px; }
  .cal-head h3 { font-size: 21px; }
  .cal-head button { width: 34px; height: 34px; font-size: 22px; }
  .cal-grid { gap: 3px; }
  .cal-day { font-size: 13px; }
  .cal-legend { font-size: 11px; margin-top: 12px; }
  .cal-month { font-size: 17px; padding: 18px 0 8px; }
  .cal-item { grid-template-columns: 58px 1fr; gap: 6px 12px; padding: 12px 14px; }
  .cal-date strong { font-size: 28px; }
  .cal-date strong em { font-size: 17px; }
  .cal-date span { font-size: 11px; }
  .cal-tag { font-size: 10px; }
  .cal-info h3 { font-size: 18px; }
  .cal-info p { font-size: 13px; }
  .cal-actions { grid-column: 2; }
  .cal-actions .btn { padding: 8px 14px; font-size: 12px; }
  .cal-ics { width: 34px; height: 34px; }
  .cal-ics svg { width: 16px; height: 16px; }

  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* Insignia CTS en la portada */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(227, 6, 19, .9); padding: 8px 18px 8px 14px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.hero-badge .slashes i { width: 5px; height: 14px; background: #fff; }
.hero-badge:hover { background: var(--red-hot); }
@media (max-width: 640px) {
  .hero-badge { font-size: 11px; letter-spacing: .12em; padding: 7px 14px 7px 12px; margin-top: 14px; gap: 8px; }
  .hero-badge .slashes i { width: 4px; height: 11px; }
}

/* Portada con el BMW E92 (2026-11-04): el coche va a la izquierda, así que en ordenador el texto va a la derecha */
.hero-bg picture { display: contents; }
@media (min-width: 1024px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.05) 30%, rgba(10,10,11,.2) 62%, var(--bg) 100%),
      linear-gradient(270deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.55) 38%, rgba(10,10,11,0) 62%);
  }
  .hero-content { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
  .hero-logo { width: min(560px, 46%); }
  .hero p.lead { max-width: 500px; }
  .hero-ctas { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .hero-bg img { object-position: 50% 0%; }
}


/* ===== Calendario anual (2026-11-04): CTS rojo, tandas azul ===== */
.t-cts { color: var(--red-hot); } .t-tandas { color: var(--blue-hot); }
.cal-next.tandas .cal-next-info small { color: var(--blue-hot); }
.cal-filter button[data-f="tandas"].on { background: var(--blue); color: #fff; }
.cal-filter button[data-f="cts"].on { background: var(--red); color: #fff; }
.cal-year { background: var(--bg-2); padding: clamp(16px, 2.4vw, 30px); margin-bottom: 48px; }
.cal-year-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.cal-year-head h3 { font-size: clamp(24px, 2.6vw, 34px); min-width: 0; }
.cal-year-head button { width: 40px; height: 40px; background: var(--bg-3); border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.cal-year-head button:hover:not(:disabled) { background: var(--red); }
.cal-year-head button:disabled { opacity: .25; cursor: default; }
.cal-year-head .cal-legend { margin: 0 0 0 auto; }
.cal-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cal-mini { background: var(--bg-3); padding: 12px 12px 14px; }
.cal-mini h4 { display: flex; justify-content: space-between; align-items: center; font: italic 800 17px var(--display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.cal-mini h4 .dot { margin: 0 0 0 5px; width: 8px; height: 8px; }
.cal-mini .cal-grid { gap: 2px; }
.cal-mini .cal-dow { font-size: 10px; padding-bottom: 2px; }
.cal-mini .cal-day { font-size: 11px; aspect-ratio: 1; background: none; }
.cal-mini .cal-day.has { font-weight: 700; }
.cal-mini.pasado { opacity: .38; }
.cal-mini.con-eventos { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.cal-list-title { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.cal-list { max-width: 900px; }
#tandas .eyebrow { color: var(--blue-hot); }
#tandas .slashes i, #tandas .step::before { background: var(--blue); }
#tandas .feature .n { color: var(--blue); }
#tandas .step small { color: var(--blue-hot); }
@media (max-width: 1100px) { .cal-months { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .cal-months { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cal-mini.pasado { display: none; }   /* en el móvil no se enseñan los meses ya pasados */
  .cal-mini { padding: 8px 8px 10px; }
  .cal-mini h4 { font-size: 14px; margin-bottom: 5px; }
  .cal-mini .cal-dow { font-size: 9px; }
  .cal-mini .cal-day { font-size: 10px; }
  .cal-year { margin-bottom: 32px; }
  .cal-year-head { gap: 10px; margin-bottom: 14px; }
  .cal-year-head .cal-legend { margin: 0; width: 100%; }
  .cal-year-head button { width: 34px; height: 34px; font-size: 22px; }
}

/* ===== CTS o tandas: dos caminos claros ===== */
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hot); }
.choose { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choose-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); background: var(--bg-2); color: #fff; text-decoration: none; border-top: 4px solid var(--red); transition: background .3s, transform .3s; }
.choose-card.tandas { border-top-color: var(--blue); }
.choose-card:hover { background: var(--bg-3); transform: translateY(-3px); }
.choose-card small { font: 600 13px var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--red-hot); }
.choose-card.tandas small { color: var(--blue-hot); }
.choose-card h2 { font-size: clamp(34px, 4.4vw, 60px); }
.choose-card.cts h2 em { color: var(--red); }
.choose-card.tandas h2 em { color: var(--blue); }
.choose-card p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.choose-go { margin-top: auto; font: italic 700 18px var(--display); text-transform: uppercase; letter-spacing: .06em; }

/* ===== Tandas ===== */
#tandas .section-head a { text-decoration: underline; text-underline-offset: 3px; }
.tandas-sub { display: flex; align-items: baseline; gap: 14px; font-size: clamp(28px, 3.4vw, 44px); margin: clamp(56px, 7vw, 90px) 0 24px; }
.tandas-sub:first-of-type { margin-top: 0; }
.tandas-sub span { font-size: .55em; color: var(--blue); }
.tandas-next { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.tanda { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; background: var(--bg-2); padding: 22px; border-left: 4px solid var(--blue); }
.tanda-date { text-align: center; min-width: 74px; }
.tanda-date strong { display: block; font: italic 800 64px/.85 var(--display); }
.tanda-date span { font: 700 15px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-hot); }
.tanda-info small { font: 600 12px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.tanda-info h4 { font: italic 800 clamp(24px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; margin: 4px 0 6px; }
.tanda-info p { color: var(--muted); font-size: 15px; }
.tanda .trk { grid-column: 1 / -1; height: 120px; }
.tanda .btn { grid-column: 1 / -1; justify-content: center; }
.tanda.full { opacity: .6; }

.trk { display: block; width: 100%; color: var(--blue); }
.trk use { fill: none; stroke: currentColor; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.6,.1,.2,1); }
.trk-sf { stroke: #fff; stroke-dasharray: none; stroke-dashoffset: 0; stroke-width: 6; }
.reveal.in .trk use, .tanda .trk use { stroke-dashoffset: 0; }

.circuits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.circuit { background: var(--bg-2); padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 22px; }
.circuit .trk { height: clamp(170px, 18vw, 240px); }
.circuit:hover .trk { color: var(--blue-hot); }
.circuit h4 { font: italic 800 clamp(24px, 2.4vw, 32px)/1 var(--display); text-transform: uppercase; }
.circuit-info p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.circuit-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; font-size: 14px; color: var(--muted); }
.circuit-meta b { font: italic 800 26px var(--display); color: #fff; }
.circuit-next.on { color: var(--blue-hot); font-weight: 600; }

.tandas-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--blue); }
.tandas-cta h3 { font-size: clamp(28px, 3.2vw, 44px); }
.tandas-cta p { color: rgba(255,255,255,.85); }
.tandas-cta .btn { font-size: 20px; padding: 18px 34px; }

@media (prefers-reduced-motion: reduce) { .trk use { transition: none; stroke-dashoffset: 0; } }
@media (max-width: 900px) {
  .circuits { grid-template-columns: 1fr; }
  .circuit { display: grid; grid-template-columns: 42% 1fr; align-items: center; }
  .circuit .trk { height: 150px; }
}
@media (max-width: 640px) {
  .choose-grid { grid-template-columns: 1fr; gap: 10px; }
  .choose-card { padding: 20px; gap: 8px; }
  .choose-card p { font-size: 15px; }
  .tandas-sub { margin: 48px 0 16px; }
  .tanda { padding: 16px; gap: 12px 16px; }
  .tanda-date strong { font-size: 52px; }
  .tanda .trk { height: 96px; }
  .circuit { grid-template-columns: 38% 1fr; gap: 14px; padding: 14px; }
  .circuit .trk { height: 110px; }
  .circuit-meta b { font-size: 22px; }
  .tandas-cta { padding: 22px; }
  .tandas-cta .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px 20px; }
}

/* ===== Portada simple (2026-11-12): portada limpia, debajo dos caminos (Tandas / Campeonato CTS) y contacto ===== */
html.vistas section[data-vista]:not(.on), html.vistas div[data-vista]:not(.on) { display: none !important; }

.hero-content { display: flex; flex-direction: column; }
.hero-pick { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(20px, 3vh, 34px);
  font: italic 800 clamp(18px, 1.8vw, 24px) var(--display); text-transform: uppercase; letter-spacing: .06em; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.hero-pick::after { content: "\2193"; font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); font-size: 20px; animation: bajar 1.8s ease-in-out infinite; }
@keyframes bajar { 50% { transform: translateY(6px); } }
@media (min-width: 1024px) { .hero-content { align-items: flex-end; } }

.choose { padding: clamp(56px, 7vw, 100px) 0 0; scroll-margin-top: 60px; }
.choose-grid { gap: 14px; }
.choose-card { isolation: isolate; overflow: hidden; min-height: clamp(380px, 38vw, 520px); justify-content: flex-end; gap: 10px; border-top-width: 5px; background: var(--bg-2); }
.choose-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.choose-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.2) 0%, rgba(10,10,11,.68) 42%, rgba(10,10,11,.96) 100%); transition: background .3s; }
.choose-card:hover { transform: none; background: var(--bg-2); }
.choose-card:hover .choose-bg { transform: scale(1.05); }
.choose-card.cts:hover::before { background: linear-gradient(180deg, rgba(227,6,19,.15) 0%, rgba(10,10,11,.55) 45%, rgba(10,10,11,.95) 100%); }
.choose-card.tandas:hover::before { background: linear-gradient(180deg, rgba(43,127,255,.18) 0%, rgba(10,10,11,.55) 45%, rgba(10,10,11,.95) 100%); }
.choose-card h2 { font-size: clamp(44px, 5vw, 76px); }
.choose-card p { color: #d2d2d7; }
.choose-next { font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #e6e6ea; }
.choose-next:empty { display: none; }
.choose-next b { color: var(--red-hot); font-weight: 700; margin-right: 6px; }
.choose-card.tandas .choose-next b { color: var(--blue-hot); }
.choose-go { margin-top: 8px; display: inline-block; align-self: flex-start; padding: 12px 22px; background: var(--red); font-size: 16px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.choose-card.tandas .choose-go { background: var(--blue); }

.contact { padding: clamp(80px, 9vw, 130px) 0; }

@media (max-width: 640px) {
  .hero-pick { align-self: center; font-size: 16px; }
  .hero-pick::after { width: 34px; height: 34px; font-size: 17px; }
  .choose { padding-top: 40px; }
  .choose-card { min-height: 300px; padding: 20px; gap: 6px; }
  .choose-card h2 { font-size: 40px; }
  .choose-card p { font-size: 14px; }
  .choose-next { font-size: 12px; letter-spacing: .1em; }
  .choose-go { font-size: 14px; padding: 10px 18px; }
  body[data-pagina="inicio"] .wa-float { display: none; }
}

/* Titular y "o" entre tandas y campeonato */
.choose-head { margin-bottom: clamp(24px, 3vw, 40px); display: grid; gap: 14px; justify-items: center; text-align: center; }
.choose-head h2 { font-size: clamp(42px, 6vw, 88px); }
.choose-grid { position: relative; }
.choose-o { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 3px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  font: 700 30px/1 var(--body); text-transform: lowercase; color: #fff; pointer-events: none; padding-bottom: 4px; }
@media (max-width: 640px) {
  .choose-head { margin-bottom: 20px; gap: 10px; }
  .choose-head h2 { font-size: clamp(34px, 10vw, 44px); }
  .choose-o { width: 52px; height: 52px; font-size: 24px; border-width: 2px; }
}

/* ===== Menú (2026-11-12): Tandas, Campeonato CTS, Calendario, Sobre nosotros, Contacto ===== */
.nav-links { gap: clamp(18px, 2.2vw, 34px); }
.nav-links a.nv { padding: 6px 0; }
.nav-links a.activo { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.nav-links a.nv-tandas.activo { box-shadow: inset 0 -3px 0 var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: rgba(10,10,11,.7); border: 0; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.nav.abierto .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.abierto .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.abierto .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html.menu-abierto { overflow: hidden; }
@media (max-width: 1180px) and (min-width: 1025px) { .nav-links a.nv { font-size: 14px; letter-spacing: .12em; } }
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px;
    padding: 90px var(--gutter) 40px; background: rgba(10,10,11,.97); backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav.abierto .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav-links a.nv, .nav-links a:not(.btn) { display: block; font: italic 800 clamp(34px, 9vw, 54px)/1.1 var(--display); letter-spacing: 0; text-transform: uppercase; color: #fff; padding: 6px 0; }
  .nav-links a.activo { box-shadow: none; color: var(--red-hot); }
  .nav-links a.nv-tandas.activo { box-shadow: none; color: var(--blue-hot); }
  .nav.abierto { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
}
@media (max-width: 640px) {
  .nav .btn-wa { padding: 10px 13px; }
  .nav-toggle { width: 40px; height: 40px; padding: 0 10px; }
}
/* Sobre nosotros */
html.vistas body[data-pagina="nosotros"] .familia { min-height: 100svh; }
.familia-img::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; background: linear-gradient(180deg, rgba(10,10,11,.8), rgba(10,10,11,0)); pointer-events: none; }

/* Tandas: foto de fondo detrás del título principal (2026-11-12) */
#tandas { position: relative; }
.tandas-bg { position: absolute; inset: 0 0 auto 0; height: clamp(560px, 52vw, 760px); overflow: hidden; z-index: 0; }
.tandas-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.tandas-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.25) 40%, var(--bg) 100%),
              linear-gradient(90deg, rgba(10,10,11,.9) 0%, rgba(10,10,11,.5) 45%, rgba(10,10,11,0) 75%); }
#tandas > .wrap { position: relative; z-index: 1; }
#tandas .bignum { display: none; }
#tandas .section-head { min-height: clamp(360px, 34vw, 520px); align-content: end; }
#tandas .section-head p { color: #d2d2d7; }
@media (max-width: 640px) {
  .tandas-bg { height: 520px; }
  .tandas-bg img { object-position: 62% 50%; }
  .tandas-bg::after { background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.6) 35%, rgba(10,10,11,.88) 68%, var(--bg) 100%); }
  #tandas .section-head { min-height: 330px; }
}

/* Calendario: "Próximos" = las 3 siguientes citas (2026-11-12) */
.cal-proximos { margin-bottom: clamp(32px, 4vw, 52px); }
.cal-proximos-tit { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 16px; }
.cal-proximos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cal-prox { display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); padding: clamp(18px, 2vw, 26px); border-top: 4px solid var(--red); }
.cal-prox.tandas { border-top-color: var(--blue); }
.cal-prox-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cal-prox-dias { font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cal-prox-fecha { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.cal-prox-fecha strong { font: italic 800 clamp(48px, 5vw, 68px)/.9 var(--display); }
.cal-prox-fecha strong em { font-size: .55em; color: var(--muted); }
.cal-prox-fecha span { font: 700 14px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--red-hot); }
.cal-prox.tandas .cal-prox-fecha span, .cal-prox.tandas .cal-tag { color: var(--blue-hot); }
.cal-prox h4 { font: italic 800 clamp(22px, 2.2vw, 28px)/1 var(--display); text-transform: uppercase; }
.cal-prox p { color: var(--muted); font-size: 15px; }
.cal-prox .btn { margin-top: auto; align-self: flex-start; padding: 11px 20px; font-size: 14px; }
.cal-prox p { margin-bottom: 8px; }
@media (max-width: 900px) { .cal-proximos-grid { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 640px) {
  .cal-prox { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 16px; }
  .cal-prox-top { grid-column: 1 / -1; }
  .cal-prox-fecha { grid-row: 2 / span 2; flex-direction: column; align-items: center; gap: 2px; margin: 0; min-width: 60px; }
  .cal-prox-fecha strong { font-size: 40px; }
  .cal-prox-fecha span { font-size: 11px; letter-spacing: .12em; }
  .cal-prox h4 { font-size: 20px; align-self: end; }
  .cal-prox p { font-size: 13px; margin: 0; }
  .cal-prox .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; padding: 9px 16px; font-size: 13px; }
}
/* Calendario: foto de fondo detrás de "Próximas fechas" */
#calendario { position: relative; border-top: 0; }
#calendario > .wrap { position: relative; z-index: 1; }
#calendario .section-head { min-height: clamp(360px, 34vw, 520px); align-content: end; }
#calendario .section-head p { color: #d2d2d7; }
.cal-bg img { object-position: 30% 50%; }
@media (max-width: 640px) {
  #calendario .section-head { min-height: 330px; }
  .cal-bg img { object-position: 55% 50%; }
}

/* ===== CTS rediseñado (2026-11-12): portada con foto, temporada visual, fotos limpias, banda roja ===== */
section.cts { position: relative; background: var(--bg); padding-bottom: clamp(64px, 9vw, 120px); }
.cts > .wrap { position: relative; z-index: 1; }
.cts-bg img { object-position: 70% 50%; }
.cts-head { min-height: clamp(520px, 46vw, 680px); align-content: end; padding-top: 120px; margin-bottom: clamp(28px, 4vw, 48px); }
.cts-head h2 { font-size: clamp(56px, 8.4vw, 120px); }
.cts-head p { color: #d2d2d7; max-width: 560px; }
.cts-head .btn { margin-top: 6px; }
.cts .cts-stats { margin: 0 0 clamp(48px, 6vw, 80px); }
.cts-sub { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 20px; }
.temporada { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ronda { position: relative; overflow: hidden; background: var(--bg-2); padding: 22px 20px 20px; min-height: 230px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid rgba(255,255,255,.12); transition: transform .3s, background .3s; }
.ronda:hover { transform: translateY(-4px); background: var(--bg-3); }
.ronda-n { position: absolute; right: -6px; bottom: -22px; font: italic 800 150px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); pointer-events: none; }
.ronda small { font: 600 13px var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--red-hot); }
.ronda-fecha { font: italic 800 26px/1 var(--display); text-transform: uppercase; color: #fff; margin-top: auto; }
.ronda-fecha strong { display: block; font-size: clamp(48px, 4.4vw, 64px); line-height: .9; }
.ronda-lugar { font-size: 14px; color: var(--muted); }
.ronda.proxima { border-top-color: var(--red); background: linear-gradient(180deg, rgba(227,6,19,.18), var(--bg-2) 70%); }
.ronda.proxima::after { content: "Próxima"; position: absolute; top: 14px; right: 14px; font: 700 11px var(--display); letter-spacing: .2em; text-transform: uppercase; background: #fff; color: #0a0a0b; padding: 4px 8px; }
.ronda.pasada { opacity: .45; }

.cts-fotos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; margin-top: clamp(48px, 6vw, 80px); aspect-ratio: 2.1 / 1; }
.cts-fotos figure { overflow: hidden; background: var(--bg-3); }
.cts-fotos .f-a { grid-row: span 2; }
.cts-fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cts-fotos figure:hover img { transform: scale(1.04); }

.cts-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--red); }
.cts-cta h3 { font-size: clamp(28px, 3.2vw, 44px); }
.cts-cta p { color: rgba(255,255,255,.88); }
.cts-cta .btn { font-size: 20px; padding: 18px 34px; }

@media (max-width: 1024px) { .temporada { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .cts-head { min-height: 480px; padding-top: 90px; }
  .cts-head h2 { font-size: clamp(48px, 14vw, 64px); }
  .cts-bg img { object-position: 72% 50%; }
  .temporada { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ronda { min-height: 150px; padding: 14px; }
  .ronda.final { grid-column: span 2; }
  .ronda-n { font-size: 110px; bottom: -16px; }
  .ronda small { font-size: 11px; letter-spacing: .18em; }
  .ronda-fecha { font-size: 18px; }
  .ronda-fecha strong { font-size: 40px; }
  .ronda.proxima::after { top: 10px; right: 10px; font-size: 9px; padding: 3px 6px; }
  .cts-head .eyebrow { letter-spacing: .16em; }
  .cts-fotos { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; gap: 6px; }
  .cts-fotos .f-a { grid-row: auto; grid-column: span 2; aspect-ratio: 16/10; }
  .cts-fotos .f-b, .cts-fotos .f-c { aspect-ratio: 4/3; }
  .cts-cta { padding: 22px; }
  .cts-cta .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px 20px; }
}

/* Carteles de las tandas (los sube el organizador desde el panel) (2026-11-12) */
.tanda.con-cartel { grid-template-columns: auto 1fr auto; }
.tanda.con-cartel .tanda-info { grid-column: 2 / -1; min-width: 0; }
.tanda.con-cartel .trk { grid-column: 1 / 3; grid-row: 2; align-self: center; }
.tanda-cartel { grid-row: 2; grid-column: 3; align-self: center; justify-self: end; position: relative; width: 104px; aspect-ratio: 9 / 16; padding: 0; border: 1px solid rgba(255,255,255,.14); background: #000; cursor: zoom-in; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.5); transition: transform .2s, border-color .2s; }
.tanda-cartel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tanda-cartel span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 5px; font: 700 10px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); text-align: center; }
.tanda-cartel:hover, .tanda-cartel:focus-visible { transform: translateY(-2px) rotate(-1deg); border-color: var(--blue-hot); }
.ver-cartel { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-hot); text-decoration: underline; text-underline-offset: 3px; cursor: zoom-in; }
.cal-prox .ver-cartel { align-self: flex-start; font: 700 13px var(--display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.cal-prox:not(.tandas) .ver-cartel { color: var(--red-hot); }
.cal-info .ver-cartel { font-size: inherit; }
@media (max-width: 640px) {
  .tanda-cartel { width: 72px; }
  .cal-prox .ver-cartel { grid-column: 2; margin: 2px 0 0; font-size: 12px; }
}
/* Descripción del evento (panel) */
.tanda-desc { grid-column: 1 / -1; color: #c9c9cf; font-size: 15px; line-height: 1.55; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.tanda.con-cartel .tanda-desc { grid-row: 2; grid-column: 1 / 3; border: 0; padding: 0; }
.tanda.con-cartel .trk { grid-row: 3; }
.tanda.con-cartel .tanda-cartel { grid-row: 2 / span 2; }
.cal-prox-desc { color: #b5b5bd; font-size: 14px !important; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .tanda-desc { font-size: 14px; } .cal-prox-desc { grid-column: 2; } }
/* Cartel de la temporada en Tandas (panel) */
.tandas-temporada { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; background: linear-gradient(120deg, rgba(43,127,255,.14), rgba(255,255,255,.02) 60%); border: 1px solid rgba(255,255,255,.08); border-left: 4px solid var(--blue); padding: clamp(18px, 2.4vw, 30px); margin: 0 0 clamp(36px, 4vw, 56px); }
.tandas-temporada[hidden] { display: none; }
.temp-cartel { width: clamp(140px, 16vw, 210px); aspect-ratio: 9 / 16; padding: 0; border: 1px solid rgba(255,255,255,.16); background: #000; overflow: hidden; cursor: zoom-in; box-shadow: 0 18px 40px rgba(0,0,0,.55); transform: rotate(-2deg); transition: transform .25s; }
.temp-cartel:hover, .temp-cartel:focus-visible { transform: rotate(0) scale(1.02); }
.temp-cartel img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.temp-info .eyebrow { color: var(--blue-hot); }
.temp-info h4 { font: italic 800 clamp(30px, 3.6vw, 52px)/.95 var(--display); text-transform: uppercase; margin: 8px 0 10px; }
.temp-info p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.temp-acc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.temp-acc .btn { padding: 12px 22px; font-size: 14px; }
@media (max-width: 640px) {
  .tandas-temporada { gap: 16px; padding: 16px; }
  .temp-cartel { width: 108px; transform: none; }
  .temp-info h4 { font-size: 26px; margin: 4px 0 6px; }
  .temp-info p { font-size: 13.5px; }
  .temp-acc { margin-top: 12px; }
  .temp-acc .btn { padding: 9px 14px; font-size: 12.5px; }
}
.tanda.mes .tanda-date strong { font-size: 48px; }
.cal-prox-fecha.mes strong { font-size: clamp(40px, 4vw, 54px); }
.acceso-panel { font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: .06em; opacity: .7; }
.acceso-panel:hover { color: #fff; opacity: 1; }
/* Fines de semana marcados en el calendario */
.cal-mini .cal-dow.finde { color: #fff; font-weight: 700; }
.cal-mini .cal-day.finde:not(.has) { background: rgba(255,255,255,.07); color: #fff; font-weight: 600; }
.cal-mini .cal-day.finde.past:not(.has) { background: rgba(255,255,255,.03); }
.cts-temporada { background: linear-gradient(120deg, rgba(227,6,19,.16), rgba(255,255,255,.02) 60%); border-left-color: var(--red); }
.cts-temporada .temp-info .eyebrow { color: var(--red-hot); }
/* Portada: cartel de la temporada en cada tarjeta */
.choose-cartel { position: absolute; top: clamp(16px, 2vw, 26px); right: clamp(16px, 2vw, 26px); z-index: 3; width: clamp(84px, 9vw, 120px); aspect-ratio: 9 / 16; border: 1px solid rgba(255,255,255,.25); background: #000; overflow: hidden; cursor: zoom-in; box-shadow: 0 16px 36px rgba(0,0,0,.6); transform: rotate(3deg); transition: transform .25s; }
.choose-cartel:hover, .choose-cartel:focus-visible { transform: rotate(0) scale(1.04); outline: none; }
.choose-cartel img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.choose-cartel em { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 4px 6px; font: 700 10px var(--display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.choose-card.con-cartel h2 { padding-right: clamp(96px, 10vw, 140px); }
@media (max-width: 640px) { .choose-card.con-cartel h2 { padding-right: 64px; } .choose-cartel { width: 56px; top: 12px; right: 12px; } .choose-cartel em { font-size: 8px; padding: 12px 2px 4px; } }

/* Promo packs BubaShoot (Tandas) */
.bs-packs { margin-top: 28px; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.bs-foto { margin: 0; min-height: 260px; }
.bs-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-info { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.bs-info small { font-family: var(--display); letter-spacing: .28em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.bs-info h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; }
.bs-info h3 em { color: #fff; display: block; -webkit-text-stroke: 0; }
.bs-info p { color: var(--muted); font-size: 16px; max-width: 46ch; }
@media (max-width: 760px) { .bs-packs { grid-template-columns: 1fr; } .bs-foto { min-height: 0; aspect-ratio: 16/9; } }
.bs-foto.bs-logo { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 64px); background: radial-gradient(circle at 50% 45%, #1d1d22 0%, #0a0a0a 75%); border-right: 1px solid var(--line); }
.bs-foto.bs-logo img { width: min(260px, 70%); height: auto; object-fit: contain; }
@media (max-width: 760px) { .bs-foto.bs-logo { aspect-ratio: auto; padding: 36px 24px; border-right: 0; border-bottom: 1px solid var(--line); } .bs-foto.bs-logo img { width: 160px; } }
.bs-muestras { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-top: 1px solid var(--line); }
.bs-muestras figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.bs-muestras img, .bs-muestras video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bs-muestras figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .bs-muestras { grid-template-columns: 1fr 1fr; } .bs-muestras figure:first-child { grid-column: 1 / -1; } }

/* Packs BubaShoot: más destacado */
.bs-packs { position: relative; border: 0; border-top: 4px solid var(--blue); box-shadow: 0 0 0 1px rgba(43,127,255,.35), 0 30px 80px -30px rgba(43,127,255,.55); background: linear-gradient(135deg, #0f1a2e 0%, var(--bg-2) 55%); }
.bs-info small { color: var(--blue-hot); font-weight: 700; }
.bs-info h3 { font-size: clamp(32px, 4.2vw, 58px); line-height: .98; }
.bs-info h3 em { color: var(--blue-hot); }
.bs-info p { color: #d6d6dc; font-size: clamp(16px, 1.3vw, 19px); }
.bs-btn { align-self: flex-start; margin-top: 10px; font-size: 17px; padding: 18px 34px; box-shadow: 0 12px 30px -10px rgba(43,127,255,.8); }
.bs-foto.bs-logo { background: radial-gradient(circle at 50% 45%, rgba(43,127,255,.22) 0%, #0a0a0a 70%); }
.bs-foto.bs-logo img { width: min(300px, 75%); }
@media (max-width: 760px) { .bs-btn { align-self: stretch; text-align: center; justify-content: center; } }
@media (max-width: 760px) { .bs-foto.bs-logo img { width: 170px; } }

/* Bloques «¿Corres el CTS?» y «Reservar tandas»: foto de fondo oscurecida, franja de color y botón blanco */
.cts-cta, .tandas-cta { position: relative; overflow: hidden; isolation: isolate; background: #0d0d0f; border-left: 6px solid var(--red); padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.tandas-cta { border-left-color: var(--blue); }
.cts-cta::before, .tandas-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(../img/cts-2.jpg) 50% 45% / cover no-repeat; transform: scale(1.04); }
.tandas-cta::before { background-image: url(../img/tandas-4.jpg); }
.cts-cta::after, .tandas-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.86) 45%, rgba(10,10,11,.45) 100%); }
.cts-cta h3 em, .cts-cta h3 { color: #fff; }
.cts-cta h3::after, .tandas-cta h3::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; background: var(--red); transform: skewX(-24deg); }
.tandas-cta h3::after { background: var(--blue); }
.cts-cta p, .tandas-cta p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 46ch; }
.cts-cta .btn, .tandas-cta .btn { background: #fff; color: #0a0a0b; box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); }
.cts-cta .btn svg, .tandas-cta .btn svg { color: #1faa53; }
.cts-cta .btn:hover, .tandas-cta .btn:hover { background: var(--wa); color: #06210f; }
.cts-cta .btn:hover svg, .tandas-cta .btn:hover svg { color: #06210f; }
@media (max-width: 760px) {
  .cts-cta::after, .tandas-cta::after { background: linear-gradient(180deg, rgba(10,10,11,.9) 0%, rgba(10,10,11,.8) 60%, rgba(10,10,11,.7) 100%); }
}
/* Reglamento CTS: bloque propio si no hay cartel; si lo hay, va a la derecha del cartel */
.cts-reglamento .temp-cartel { display: block; aspect-ratio: 2 / 3; }
.cts-temporada.con-reglamento { grid-template-columns: auto 1fr auto; }
.cts-regl-lado { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 1.8vw, 26px); align-items: center; padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid rgba(255,255,255,.12); max-width: 470px; }
.cts-regl-lado .temp-cartel { display: block; width: clamp(96px, 8vw, 120px); aspect-ratio: 2 / 3; transform: rotate(2deg); }
.cts-regl-lado .temp-cartel:hover, .cts-regl-lado .temp-cartel:focus-visible { transform: rotate(0) scale(1.03); }
.cts-regl-lado .temp-info h4 { font-size: clamp(24px, 2.2vw, 32px); }
.cts-regl-lado .temp-info p { font-size: 14px; max-width: 34ch; }
.cts-regl-lado .temp-acc { margin-top: 14px; }
.cts-regl-lado .temp-acc .btn { padding: 10px 16px; font-size: 12.5px; }
@media (max-width: 1180px) {
  .cts-temporada.con-reglamento { grid-template-columns: auto 1fr; }
  .cts-regl-lado { grid-column: 1 / -1; max-width: none; padding: clamp(18px, 2.4vw, 28px) 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .cts-regl-lado { gap: 16px; }
  .cts-regl-lado .temp-cartel { width: 108px; transform: none; }
  .cts-regl-lado .temp-info h4 { font-size: 22px; }
  .cts-regl-lado .temp-info p { font-size: 13px; }
}

/* CTS: cartel de la temporada y reglamento, dos mitades iguales (2026-11-27) */
.cts-temporada.con-reglamento { --cart-h: clamp(230px, 21vw, 300px); grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.cts-temp-lado, .cts-temporada .cts-regl-lado { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); align-items: center; }
.cts-temp-lado { padding-right: clamp(20px, 2.6vw, 40px); }
.cts-temporada .cts-regl-lado { max-width: none; padding: 0 0 0 clamp(20px, 2.6vw, 40px); border-left: 1px solid rgba(255,255,255,.12); border-top: 0; grid-column: auto; }
.cts-temporada.con-reglamento .temp-cartel { height: var(--cart-h); aspect-ratio: auto; flex: none; }
.cts-temporada.con-reglamento .temp-cartel img { width: 100%; height: 100%; object-fit: cover; }
.cts-temp-lado .temp-cartel { width: calc(var(--cart-h) * 9 / 16); }
.cts-temporada .cts-regl-lado .temp-cartel { width: calc(var(--cart-h) * 2 / 3); transform: rotate(2deg); }
.cts-temp-lado > .temp-info, .cts-regl-lado > .temp-info { min-width: 0; }
.cts-temporada.con-reglamento .temp-info h4 { font-size: clamp(26px, 2.5vw, 38px); margin: 8px 0 10px; }
.cts-temporada.con-reglamento .temp-info p { font-size: 15px; max-width: 36ch; }
.cts-temporada.con-reglamento .temp-acc { margin-top: 16px; }
.cts-temporada.con-reglamento .temp-acc .btn { padding: 11px 18px; font-size: 13px; }
@media (max-width: 1100px) {
  .cts-temporada.con-reglamento { grid-template-columns: 1fr; --cart-h: 240px; }
  .cts-temp-lado { padding: 0 0 clamp(18px, 2.4vw, 28px); }
  .cts-temporada .cts-regl-lado { padding: clamp(18px, 2.4vw, 28px) 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .cts-temporada.con-reglamento { --cart-h: 200px; }
  .cts-temp-lado, .cts-temporada .cts-regl-lado { gap: 16px; }
  .cts-temporada.con-reglamento .temp-cartel { transform: none; }
  .cts-temporada.con-reglamento .temp-info h4 { font-size: 22px; margin: 4px 0 6px; }
  .cts-temporada.con-reglamento .temp-info p { font-size: 13px; }
  .cts-temporada.con-reglamento .temp-acc .btn { padding: 9px 12px; font-size: 11.5px; }
}

/* Precios de las tandas (del panel) · 2026-12-01 */
.tanda-precios { grid-column: 1 / -1; display: grid; gap: 0; border-top: 1px solid var(--line); }
.tanda-precios .tp { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tanda-precios .tp span { font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #d6d6dc; }
.tanda-precios .tp b { font: italic 800 30px/1 var(--display); color: #fff; white-space: nowrap; }
.tanda-precios .tp b small { font-size: .55em; color: var(--blue-hot); margin-left: 3px; }
.tp-incl { margin-top: 10px; font-size: 13.5px; color: var(--blue-hot); }
.cal-prox-desde { font: italic 800 18px var(--display); text-transform: uppercase; color: #fff; }
@media (max-width: 640px) {
  .tanda-precios .tp span { font-size: 12.5px; letter-spacing: .1em; }
  .tanda-precios .tp b { font-size: 24px; }
  .tp-incl { font-size: 12.5px; }
}

/* ===== Circuit Calafat · sección animada (2026-11-27) ===== */
.ccf { position: relative; margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3.4vw, 48px); background:
  radial-gradient(120% 80% at 20% 0%, rgba(227,6,19,.14), transparent 60%),
  linear-gradient(180deg, #111113, #0b0b0c); border-top: 4px solid var(--red); overflow: hidden; isolation: isolate; }
.ccf::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.ccf-head { max-width: 760px; }
.ccf-head h3 { font-size: clamp(48px, 7vw, 104px); font-weight: 800; margin: 14px 0 14px; }
.ccf-head h3 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.ccf-head p { color: #c9c9cf; max-width: 60ch; }
.ccf-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; margin-top: clamp(20px, 3vw, 36px); }
.ccf-map { position: relative; }
.ccf-map svg { display: block; width: 100%; height: auto; max-height: 620px; overflow: visible; }
.ccf-tag { position: absolute; top: 0; left: 0; font: 600 12px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.ccf-asfalto, .ccf-borde, .ccf-linea, .ccf-estela { fill: none; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ccf-asfalto { stroke: #26262b; stroke-width: 15; }
.ccf-borde { stroke: rgba(255,255,255,.16); stroke-width: 17; opacity: .5; }
.ccf-linea { stroke: var(--red); stroke-width: 3.2; filter: drop-shadow(0 0 4px rgba(255,42,42,.7)); }
.ccf-meta { stroke: #fff; stroke-width: 5; stroke-dasharray: 2.2 2.2; opacity: 0; }
.ccf-estela { stroke: #fff; stroke-width: 4; stroke-dasharray: .07 .93; opacity: 0; filter: drop-shadow(0 0 5px #fff); }
.ccf-coche { opacity: 0; }
.ccf-punto { fill: #fff; stroke: var(--red); stroke-width: 2.4; }
.ccf-halo { fill: rgba(255,42,42,.35); animation: ccf-pulso 1.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ccf-pulso { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ccf-rot { opacity: 0; transform: translateY(6px); }
.ccf-rot circle { fill: #fff; }
.ccf-rot text { font: italic 700 10.5px var(--display); letter-spacing: .08em; text-transform: uppercase; fill: #fff; paint-order: stroke; stroke: #0b0b0c; stroke-width: 3px; }
.ccf-rot.meta text { fill: #fff; }
.ccf-rot.alto text { fill: #ffb3b3; }
.ccf-rot.bajo text { fill: var(--red-hot); }

.ccf-on .ccf-borde { transition: stroke-dashoffset 2.2s cubic-bezier(.6,.1,.2,1); stroke-dashoffset: 0; }
.ccf-on .ccf-asfalto { transition: stroke-dashoffset 2.2s cubic-bezier(.6,.1,.2,1); stroke-dashoffset: 0; }
.ccf-on .ccf-linea { transition: stroke-dashoffset 2.2s .35s cubic-bezier(.6,.1,.2,1); stroke-dashoffset: 0; }
.ccf-on .ccf-meta { transition: opacity .3s 2.2s; opacity: 1; }
.ccf-on .ccf-rot { transition: opacity .5s, transform .5s; transition-delay: calc(1.6s + var(--i) * .25s); opacity: 1; transform: none; }
.ccf-lap .ccf-coche, .ccf-lap .ccf-estela { transition: opacity .4s; opacity: 1; }

.ccf-datos { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ccf-stat { padding: 20px 0 18px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(24px); }
.ccf-stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.ccf-stat strong { display: flex; align-items: baseline; gap: 4px; font: italic 800 clamp(44px, 5vw, 76px)/.9 var(--display); color: #fff; }
.ccf-stat strong small { font-size: .38em; color: var(--red-hot); letter-spacing: .04em; margin-left: 2px; }
.ccf-stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.ccf-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ccf-vr strong { color: var(--red-hot); }
.ccf-fuente { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.45); text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 2px; }
.ccf-fuente:hover { color: #fff; }
.ccf-on .ccf-stat { transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); opacity: 1; transform: none; }
.ccf-on .ccf-stat:nth-child(1) { transition-delay: .3s; } .ccf-on .ccf-stat:nth-child(2) { transition-delay: .45s; }
.ccf-on .ccf-stat:nth-child(3) { transition-delay: .6s; } .ccf-on .ccf-stat:nth-child(4) { transition-delay: .75s; }
.ccf-on .ccf-stat:nth-child(5) { transition-delay: .9s; } .ccf-on .ccf-stat:nth-child(6) { transition-delay: 1.05s; }

.ccf-perfil { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); padding-top: 18px; opacity: 0; transform: translateY(20px); }
.ccf-on .ccf-perfil { transition: opacity .7s 1.2s, transform .7s 1.2s; opacity: 1; transform: none; }
.ccf-perfil-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.ccf-perfil h4 { font: italic 800 clamp(22px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; }
.ccf-live { display: flex; gap: clamp(14px, 3vw, 36px); }
.ccf-live span { display: flex; flex-direction: column; }
.ccf-live small { font: 600 11px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ccf-live b { font: italic 800 clamp(20px, 2.2vw, 28px)/1.05 var(--display); font-variant-numeric: tabular-nums; color: #fff; min-width: 4.2em; }

.ccf-pbox { position: relative; height: clamp(110px, 14vw, 170px); margin-bottom: 22px; }
.ccf-pbox svg { display: block; width: 100%; height: 100%; clip-path: inset(0 100% 0 0); }
.ccf-on .ccf-pbox svg { transition: clip-path 2s 1.4s cubic-bezier(.5,.1,.2,1); clip-path: inset(0 0 0 0); }
.ccf-pbox .ccf-eje { position: absolute; white-space: nowrap; pointer-events: none; }
.ccf-pbox .ccf-eje.y { transform: translateY(-115%); padding-left: 4px; }
.ccf-pbox .ccf-eje.x { transform: translate(6px, 4px); }
.ccf-pbox .ccf-eje.r { transform: translate(calc(-100% - 6px), 4px); color: rgba(255,255,255,.4); }
.ccf-rej { stroke: rgba(255,255,255,.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ccf-eje { font: 600 11px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ccf-banda { fill: rgba(255,255,255,.04); }
.ccf-pline { fill: none; stroke: var(--red-hot); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.ccf-cursor { opacity: 0; }
.ccf-lap .ccf-cursor { opacity: 1; transition: opacity .4s; }
.ccf-cursor { position: absolute; top: 5.3%; bottom: 9.3%; width: 1px; margin-left: -.5px; background: rgba(255,255,255,.6); }
.ccf-cursor b { position: absolute; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 0 12px rgba(255,42,42,.8); }
.ccf-nota { margin-top: 12px; color: var(--muted); font-size: 13px; max-width: 90ch; }

@media (max-width: 900px) {
  .ccf-grid { grid-template-columns: 1fr; }
  .ccf-map svg { max-height: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .ccf { padding: 20px 16px 22px; margin-left: calc(var(--gutter) * -1 + 8px); margin-right: calc(var(--gutter) * -1 + 8px); }
  .ccf-head h3 { font-size: 46px; }
  .ccf-head p { font-size: 15px; }
  .ccf-tag { font-size: 10px; letter-spacing: .18em; }
  .ccf-map svg { max-height: 380px; }
  .ccf-datos { grid-template-columns: repeat(3, 1fr); }
  .ccf-stat, .ccf-stat:nth-child(even) { padding: 12px 6px 10px 10px; border-left: 1px solid var(--line); }
  .ccf-stat:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .ccf-stat:last-child:nth-child(odd) { grid-column: span 2; }
  .ccf-stat strong { font-size: 30px; }
  .ccf-fuente { font-size: 9.5px; margin-top: 4px; }
  .ccf-vr strong { font-size: 26px; }
  .ccf-stat > span { font-size: 10.5px; letter-spacing: .03em; line-height: 1.3; margin-top: 5px; }
  .ccf-live { gap: 14px; width: 100%; justify-content: space-between; }
  .ccf-live b { font-size: 19px; min-width: 0; }
  .ccf-live small { font-size: 9.5px; letter-spacing: .18em; }
  .ccf-pbox { height: 110px; }
  .ccf-eje { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ccf *, .ccf-on * { transition: none !important; animation: none !important; }
  .ccf-asfalto, .ccf-borde, .ccf-linea, .ccf-pline { stroke-dashoffset: 0; }
  .ccf-meta, .ccf-rot, .ccf-stat, .ccf-perfil { opacity: 1; transform: none; }
  .ccf-pbox svg { clip-path: none; }
}

/* Tanda destacada desde el panel (LOWCOST, OFERTA…) · 2026-12-01 */
.tanda.destacada, .cal-prox.destacada { position: relative; border-color: #ffd400; box-shadow: 0 0 0 1px rgba(255,212,0,.55), 0 14px 40px rgba(255,212,0,.12); background: linear-gradient(160deg, rgba(255,212,0,.10), transparent 45%), var(--bg-2); }
.tanda.destacada { padding-top: 34px; }
.tanda-badge { position: absolute; top: -13px; right: 18px; z-index: 2; padding: 6px 14px 5px; background: #ffd400; color: #0b0b0c; font: italic 800 16px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; transform: skewX(-12deg); box-shadow: 0 6px 18px rgba(0,0,0,.45); animation: tanda-badge 2.4s ease-in-out infinite; }
.tanda.destacada .tanda-date span, .tanda.destacada .tp b small, .tanda.destacada .tp-incl, .cal-prox.destacada .cal-prox-desde { color: #ffd400; }
.cal-prox.destacada { padding-top: 28px; }
@keyframes tanda-badge { 0%, 100% { transform: skewX(-12deg) scale(1); } 50% { transform: skewX(-12deg) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .tanda-badge { animation: none; } }
@media (max-width: 640px) { .tanda-badge { font-size: 13px; right: 12px; top: -11px; } .tanda.destacada { padding-top: 28px; } }

/* Tanda sin precios todavía · 2026-12-01 */
.tp-pend { grid-column: 1 / -1; margin: 0; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cal-prox-desde.pend { font: 600 13px var(--display); letter-spacing: .12em; color: var(--muted); }
@media (max-width: 640px) { .tp-pend { font-size: 12.5px; letter-spacing: .1em; } .cal-prox-desde.pend { grid-column: 1 / -1; font-size: 12px; } }

/* ===== CTS · precio y formato (2026-12-01) ===== */
.ctsp { margin-top: clamp(56px, 7vw, 96px); }
.ctsp-head { max-width: 720px; }
.ctsp-head h3 { font-size: clamp(36px, 4.6vw, 64px); margin: 14px 0 12px; }
.ctsp-head p { color: #c9c9cf; }
.ctsp-finde { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(22px, 3vw, 34px); }
.ctsp-dia { background: var(--bg-2); padding: clamp(18px, 2.2vw, 28px); border-left: 4px solid var(--red); }
.ctsp-dia small { font: 700 13px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.ctsp-dia h4 { font: italic 800 clamp(24px, 2.4vw, 32px)/1 var(--display); text-transform: uppercase; margin: 8px 0 10px; }
.ctsp-dia p { color: #c9c9cf; font-size: 15px; line-height: 1.6; margin: 0; }
.ctsp-tarifas { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; margin-top: 10px; align-items: stretch; }
.ctsp-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--bg-2); padding: clamp(22px, 2.6vw, 34px); border-top: 4px solid rgba(255,255,255,.14); }
.ctsp-card.top { background: radial-gradient(120% 90% at 100% 0%, rgba(227,6,19,.22), transparent 60%), #151517; border-top-color: var(--red); box-shadow: 0 0 0 1px rgba(227,6,19,.35); }
.ctsp-card small { font: 700 13px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ctsp-precio { display: flex; align-items: flex-start; gap: 4px; margin: 4px 0 0; }
.ctsp-precio b { font: italic 800 clamp(64px, 7vw, 96px)/.9 var(--display); color: #fff; }
.ctsp-precio span { font: italic 800 28px var(--display); color: var(--red); margin-top: 6px; }
.ctsp-por { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.ctsp-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ctsp-card li { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: #dcdce0; }
.ctsp-card li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 3px; background: var(--red); transform: skewX(-20deg); }
.ctsp-card .btn { margin-top: auto; align-self: flex-start; }
.ctsp-ahorro { position: absolute; top: -14px; right: 18px; padding: 6px 14px 5px; background: #ffd400; color: #0b0b0c; font: italic 800 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; transform: skewX(-12deg); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.ctsp-nota { margin-top: 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .ctsp-finde, .ctsp-tarifas { grid-template-columns: 1fr; }
  .ctsp-card.top { order: -1; margin-top: 14px; }
  .ctsp-card .btn { align-self: stretch; justify-content: center; }
}
/* CTS precios v2: una sola tabla comparativa */
.ctsp-tabla { margin-top: clamp(22px, 3vw, 34px); background: var(--bg-2); }
.ctsp-fila { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.ctsp-fila > span, .ctsp-fila > div { padding: 14px clamp(12px, 2vw, 26px); }
.ctsp-fila > span:first-child { font: 600 14px var(--display); letter-spacing: .1em; text-transform: uppercase; color: #d6d6dc; }
.ctsp-fila > span:not(:first-child) { font-size: 15px; color: #fff; }
.ctsp-fila > span:last-child { background: rgba(227,6,19,.07); align-self: stretch; display: flex; align-items: center; }
.ctsp-cab { align-items: stretch; border-bottom: 1px solid rgba(255,255,255,.16); }
.ctsp-col { position: relative; padding-top: 26px !important; display: flex; flex-direction: column; gap: 4px; }
.ctsp-col small { font: 700 13px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ctsp-col.top { background: radial-gradient(120% 90% at 100% 0%, rgba(227,6,19,.28), transparent 65%), rgba(227,6,19,.07); border-top: 4px solid var(--red); }
.ctsp-col .ctsp-por { margin: 0; }
.ctsp-col .ctsp-ahorro { top: -14px; right: 14px; }
.ctsp-pie { border-bottom: 0; }
.ctsp-pie .ctsp-bt { padding-top: 22px; padding-bottom: 22px; }
.ctsp-movil { display: none; }
@media (max-width: 760px) {
  /* móvil: dos tarjetas, una encima de otra (las crea circuito.js a partir de la tabla) */
  .ctsp-tabla { display: none; }
  .ctsp-movil { display: grid; gap: 26px; margin-top: 26px; }
  .ctsp-mc { position: relative; background: var(--bg-2); border-top: 4px solid rgba(255,255,255,.14); }
  .ctsp-mc.top { background: radial-gradient(120% 70% at 100% 0%, rgba(227,6,19,.26), transparent 60%), #151517; border-top-color: var(--red); box-shadow: 0 0 0 1px rgba(227,6,19,.35); }
  .ctsp-mc .ctsp-col { padding: 24px 16px 18px; align-items: center; text-align: center; }
  .ctsp-mc .ctsp-ahorro { top: -14px; right: 14px; }
  .ctsp-mc .ctsp-precio b { font-size: 64px; }
  .ctsp-mc dl { margin: 0; border-top: 1px solid var(--line); }
  .ctsp-mc dl > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .ctsp-mc dt { font: 600 11.5px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .ctsp-mc dd { margin: 0; text-align: right; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.45; }
  .ctsp-mc .ctsp-bt { padding: 16px; }
  .ctsp-mc .btn { display: flex; justify-content: center; }
}
}
.ctsp-bt.rojo { background: rgba(227,6,19,.07); align-self: stretch; }
.ctsp-fila > span:last-child, .ctsp-fila > span:nth-child(2) { line-height: 1.5; } .ctsp-fila > span:last-child { display: block; align-content: center; }
