:root {
  --lime: #6fdc45;
  --green: #35c23a;
  --green-dk: #1f9a35;
  --ink: #0c1a20;
  --ink-2: #12242b;
  --line: rgba(255, 255, 255, .16);
  --bg: #eef1f2;
  --panel: #e6ebed;
  --text: #15232a;
  --muted: #55636a;
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-transform: uppercase; font-weight: 800; line-height: 1.05; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 16px; }
.script { font-family: "Kaushan Script", cursive; color: var(--lime); line-height: 1.1; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: linear-gradient(#86ea5a, #4fcb3a);
  color: #0b1a10; font-weight: 700; font-size: 13px; text-transform: uppercase;
  border-radius: 8px; padding: .75em 1.3em; white-space: nowrap;
  box-shadow: 0 0 18px rgba(111, 220, 69, .25);
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn .ico { font-size: 1.45em; }
.btn.sm { font-size: 11.5px; padding: .6em 1.2em; border-radius: 20px; }
.btn.lg { font-size: 15px; padding: .95em 1.6em; border-radius: 10px; }
.btn.block { display: flex; width: 100%; border-radius: 20px; }
.btn.ghost { background: rgba(8, 18, 22, .7); color: #fff; border: 2px solid var(--lime); box-shadow: none; }
.btn.ghost .ico { font-size: 1em; color: #fff; }

/* Header */
.header { background: var(--ink); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 36px; width: auto; }
.logo .badge { height: 46px; filter: drop-shadow(0 0 8px rgba(111, 220, 69, .35)); }
.nav { display: flex; gap: 18px; flex: 1; justify-content: center; font-size: 12.5px; color: #dfe7ea; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--lime); border-color: var(--lime); }

/* Faded photo layer on the right side of a block */
.ph { position: relative; isolation: isolate; }
.ph::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: var(--w, 60%); z-index: -1;
  background: var(--img) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%);
  mask-image: linear-gradient(90deg, transparent, #000 38%);
}
.tercer .script, .predio .script { text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }

/* Hero */
.hero { color: #fff; padding-block: 56px 48px; background: var(--ink); --img: url(assets/t-hero.jpg); --w: 78%; }
.crest { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.crest img { width: 168px; height: auto; filter: drop-shadow(0 6px 24px rgba(111, 220, 69, .4)); }
.city { text-transform: uppercase; font-weight: 700; letter-spacing: .32em; font-size: 18px; margin-top: 10px; padding-left: .32em; }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); }
.hero h1 span { display: block; color: var(--lime); font-style: italic; }
.tags { font-size: clamp(16px, 1.7vw, 22px); font-weight: 600; margin: 14px 0 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.tags i, .news h2 i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Feature strip */
.feats { background: var(--ink-2); color: #fff; display: grid; grid-template-columns: repeat(7, 1fr); padding: 22px max(16px, calc(50% - 620px)); border-top: 1px solid var(--line); }
.feats li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.feats li + li { border-left: 1px solid var(--line); }
.feats .ico { font-size: 38px; }

/* Cards */
main.wrap { display: grid; gap: 14px; padding-block: 14px; }
.card { border-radius: var(--r); padding: 26px 28px; overflow: hidden; }
.card.dark { background-color: var(--ink); color: #fff; }
.card h2 { font-size: 24px; }
.card .head p, .card .sub { font-size: 14px; opacity: .85; margin-top: 4px; font-weight: 500; }

/* App notice */
.app { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border: 2px solid var(--lime); box-shadow: 0 0 28px rgba(111, 220, 69, .18); padding-block: 20px; }
.app-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 34px; }
.alert { display: inline-flex; align-items: center; gap: 6px; background: #e53935; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; border-radius: 20px; padding: 3px 10px; }
.alert::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.app h2 { font-size: 28px; font-style: italic; margin: 8px 0 4px; }
.app p { font-size: 14px; opacity: .9; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.app-links .ghost .ico { font-size: 1.45em; color: var(--lime); }

/* Torneo row */
.g-torneo { display: grid; grid-template-columns: 1.45fr 1fr 1.1fr; gap: 14px; }
.torneo { --img: url(assets/t-torneo.jpg); --w: 62%; }
.torneo h2 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 26px; }
.torneo h2 em { font-style: italic; }
.torneo h3 { font-size: 22px; margin-bottom: 6px; }
.torneo p { font-size: 13px; margin-bottom: 18px; max-width: 34ch; }
.steps h3, .info h3 { font-size: 16px; margin-bottom: 18px; }
.steps ol { counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; font-size: 13.5px; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 0 0 4px rgba(53, 194, 58, .18); }
.info { background: var(--panel); }
.info ul { margin-bottom: 18px; }
.info li { display: flex; align-items: center; gap: 14px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.info .ico { font-size: 20px; color: var(--text); }

/* Teams + prizes row */
.g-teams { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
.head { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.teams .head { padding-bottom: 14px; border-bottom: 2px solid var(--green); margin-bottom: 18px; }
.carousel { display: flex; align-items: center; gap: 6px; }
.arrow { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 4px; }
.arrow.next .ico { transform: scaleX(-1); }
.shields { display: flex; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shields::-webkit-scrollbar { display: none; }
.shields li { flex: 0 0 96px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; line-height: 1.2; text-align: center; padding: 0 6px; }
.shields li + li { border-left: 1px solid var(--line); }
.shields img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.shields span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shields .more img { padding: 0; background: none; border-radius: 50%; filter: drop-shadow(0 0 10px rgba(111, 220, 69, .45)); }
.shields .more span { color: var(--lime); font-weight: 700; font-style: italic; text-transform: uppercase; }
.prizes .head { justify-content: flex-start; margin-bottom: 20px; }
.prizes .big { font-size: 46px; color: var(--lime); }
.prizes ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.prizes li { background: #fff; color: var(--muted); border-radius: 8px; padding: 14px 8px; text-align: center; font-size: 11.5px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.prizes li img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 8px; }
.prizes strong { color: var(--text); text-transform: uppercase; font-size: 12px; }

/* Tercer tiempo band */
.band { color: #fff; }
.tercer { background: var(--ink); padding-block: 34px; --img: url(assets/t-tercer.jpg); --w: 56%; }
.tercer::before { -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.tercer .wrap { position: relative; }
.tercer h2 { font-size: clamp(36px, 4.6vw, 60px); font-style: italic; letter-spacing: -.01em; }
.tercer .lead { font-size: clamp(18px, 2.2vw, 28px); }
.tercer .icons li + li { border-left-color: var(--lime); }
.lead { color: var(--lime); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); line-height: 1.15; margin: 8px 0 12px; }
.icons { display: flex; flex-wrap: wrap; margin-top: 22px; }
.icons li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13.5px; padding: 0 22px; }
.icons li:first-child { padding-left: 0; }
.icons li + li { border-left: 2px solid rgba(111, 220, 69, .45); }
.icons .ico { font-size: 40px; color: var(--lime); }
.tercer .script { display: none; }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: 1fr 29%; gap: 32px; padding: 14px 0; align-items: stretch; }
.sponsors .head { justify-content: flex-start; align-items: flex-start; margin-bottom: 16px; }
.sponsors h2 { font-size: 20px; }
.dot { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.sponsors ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 18px; padding-left: 54px; }
.sponsors li { background: #fff; border: 1px solid #e3e8ea; border-radius: 10px; padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.sp-logo { display: grid; place-items: center; width: 100%; height: 76px; border-radius: 6px; }
.sp-logo img { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; }
a.sp-logo:hover img { transform: scale(1.04); }
.sp-logo img { transition: transform .15s; }
.sp-logo img.sq { border-radius: 10px; }
.sponsors li strong { font-size: 12.5px; color: var(--text); line-height: 1.2; }
.sp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.sp-links a { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--green-dk); background: rgba(53, 194, 58, .1); border-radius: 20px; padding: 3px 9px; }
.sp-links a:hover { background: var(--lime); color: var(--ink); }
.sp-links .ico { font-size: 13px; }
.thanks { border-radius: var(--r); overflow: hidden; background: var(--ink); }
.thanks img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

/* Predio */
.predio { --img: url(assets/t-predio.jpg); --w: 58%; }
.predio h2, .predio2 h2 { font-size: clamp(26px, 3vw, 36px); }
.predio .sub { font-size: 17px; }
.predio .icons, .predio2 .icons { position: relative; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 0; margin-top: 22px; max-width: 640px; }
.predio .icons li, .predio2 .icons li { flex-direction: row; text-align: left; font-size: 12.5px; padding: 0 18px; max-width: 170px; }
.predio .icons li:nth-child(4n + 1), .predio2 .icons li:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.predio .icons .ico { font-size: 34px; padding: 5px; border: 2px solid var(--lime); border-radius: 8px; width: 1.4em; height: 1.4em; }
.predio .script { position: absolute; right: 30px; bottom: 30px; font-size: clamp(20px, 2.2vw, 28px); color: #fff; transform: rotate(-12deg); text-transform: uppercase; }
.predio .script b { color: var(--lime); font-weight: 400; display: block; }
.predio2 { background: #fff; --img: url(assets/t-predio2.jpg); --w: 50%; }
.predio2 h2 { font-size: 24px; }
.predio2 .sub { font-size: 17px; opacity: 1; }
.predio2 .icons li + li { border-color: rgba(53, 194, 58, .35); }
.predio2 .icons .ico { font-size: 30px; color: var(--green-dk); }
.predio2 .btn { margin-top: 22px; }

/* Eventos */
.eventos { --img: url(assets/t-eventos.jpg); --w: 40%; }
.eventos h2 { font-style: italic; }
.eventos .icons { margin-block: 18px 20px; }

/* News */
.news { background: #fff; }
.news h2 { font-size: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.news h2 i { background: var(--text); width: 4px; height: 4px; }
.news ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.news li { border-radius: 8px; box-shadow: 0 1px 6px rgba(12, 26, 32, .12); overflow: hidden; display: flex; flex-direction: column; font-size: 12px; color: var(--muted); padding-bottom: 12px; }
.news li img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.news li > :not(img) { margin-inline: 14px; }
.tag { align-self: flex-start; margin-top: -10px; background: #fff; color: var(--green-dk); border: 1px solid rgba(53, 194, 58, .4); border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; position: relative; }
.news strong { color: var(--text); font-size: 13px; margin: 8px 0 4px; }
.news p { flex: 1; }
.news time { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; color: #8a979c; }
.statement { display: grid; grid-template-columns: 64px 1fr; gap: 20px; margin-top: 18px; padding: 22px 24px; background: var(--panel); border-left: 4px solid var(--ink); border-radius: 10px; }
.statement img { width: 64px; height: 64px; }
.statement .tag { margin-top: 0; background: var(--ink); color: #fff; border-color: var(--ink); }
.statement h3 { font-size: 22px; text-transform: uppercase; margin: 10px 0 10px; }
.statement p { font-size: 14px; line-height: 1.6; max-width: 75ch; text-align: justify; hyphens: auto; }
.statement p + p, .statement details p { margin-top: 10px; }
.statement summary { margin-top: 12px; cursor: pointer; font-weight: 700; color: var(--green-dk); }
.statement details[open] summary { margin-bottom: 4px; }
.statement .sign { font-weight: 800; }
.feat-news { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 24px; margin-top: 18px; padding: 14px; background: var(--panel); border-radius: 10px; }
.feat-news video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 8px; background: #000; }
.feat-news .tag { margin-top: 0; background: var(--ink); color: #fff; border-color: var(--ink); }
.feat-news strong { display: block; font-size: 22px; text-transform: uppercase; margin: 10px 0 8px; }
.feat-news p { font-size: 14px; color: var(--muted); max-width: 52ch; }
.feat-news p + p { margin-top: 8px; }

/* Redes */
.redes { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; align-items: center; gap: 20px; padding-block: 20px; }
.redes > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.redes h2 { font-size: 20px; }
.wa-ch { margin-top: 12px; }
.redes > div > p, .grp p { font-size: 12px; opacity: .8; margin-top: 4px; }
.grp strong { text-transform: uppercase; font-size: 13px; }
.nets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; font-size: 13px; }
.nets a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; }
.nets a:not(.btn):hover { color: var(--lime); }
.nets .ico { font-size: 20px; }
.nets .btn { margin-left: auto; }

/* Otras actividades */
.otras h2 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.pair article { display: grid; grid-template-columns: 1fr 1.5fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pair article:last-child { grid-template-columns: 1fr 2fr; }
.pair img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.pair article > div { padding: 14px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pair h3 { font-size: 16px; font-weight: 700; }
.pair p { font-size: 13px; opacity: .85; margin-bottom: 6px; }
.pair .acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding-block: 26px 22px; }
.footer .top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.flogo { display: flex; align-items: center; gap: 12px; }
.flogo .badge { height: 64px; width: auto; }
.flogo span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.flogo span img { height: 40px; width: auto; }
.fi { display: flex; align-items: center; gap: 12px; font-size: 13px; padding-left: 28px; border-left: 1px solid var(--line); }
.fi .ico { font-size: 30px; }
.soc { display: flex; gap: 10px; padding-left: 28px; border-left: 1px solid var(--line); }
.soc a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 19px; }
.soc a:hover { background: var(--lime); }
.footer .top > .btn { margin-left: auto; border-radius: 22px; }
.footer .bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.legal { font-size: 12px; opacity: .85; }
.legal a { color: var(--lime); }
.footer .bottom .script { font-size: 22px; color: #fff; transform: rotate(-5deg); border-bottom: 3px solid var(--lime); padding-bottom: 2px; }

/* Responsive */
@media (max-width: 1100px) {
  .app { grid-template-columns: auto 1fr; }
  .app-links { grid-column: 1 / -1; justify-content: flex-start; }
  .nav { display: none; }
  .bar { justify-content: space-between; }
  .g-torneo { grid-template-columns: 1fr 1fr; }
  .torneo { grid-column: 1 / -1; }
  .g-teams, .sponsors { grid-template-columns: 1fr; }
  .thanks { min-height: 0; }
  .thanks img { aspect-ratio: 531 / 417; height: auto; }
  .news ul { grid-template-columns: repeat(3, 1fr); }
  .redes { grid-template-columns: 1fr 1fr; }
  .redes > div:first-child { grid-column: 1 / -1; }
  .redes > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .pair { grid-template-columns: 1fr; }
  .feats { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .feats li:nth-child(5) { border-left: 0; }
}
@media (max-width: 720px) {
  .statement { grid-template-columns: 1fr; padding: 18px; }
  .app { grid-template-columns: 1fr; text-align: left; }
  .app-ico { width: 52px; height: 52px; font-size: 28px; }
  .app-links .btn { width: 100%; }
  .bar .btn { font-size: 11px; padding: .6em .9em; }
  .hero { padding-block: 36px; }
  .ph::before { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
  .predio2::before { opacity: .15; }
  .crest img { width: 128px; }
  .city { font-size: 15px; }
  .ctas .btn { width: 100%; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .feats li + li { border-left: 0; }
  .feats li:last-child { grid-column: 1 / -1; }
  .card { padding: 22px 18px; }
  .g-torneo { grid-template-columns: 1fr; }
  .head { flex-wrap: wrap; }
  .prizes ul { grid-template-columns: repeat(2, 1fr); }
  .icons { gap: 16px 0; }
  .icons li { padding: 0 14px; }
  .lead + p br { display: none; }
  .tercer .script { display: block; }
  .tercer .script, .predio .script { position: static; margin-top: 20px; transform: rotate(-4deg); }
  .sponsors ul { grid-template-columns: repeat(2, 1fr); padding-left: 0; }
  .sponsors li img { height: 54px; }
  .predio .icons, .predio2 .icons { grid-template-columns: 1fr 1fr; }
  .predio .icons li, .predio2 .icons li { border-left: 0; padding: 0 8px 0 0; max-width: none; hyphens: auto; overflow-wrap: break-word; }
  .news ul { grid-template-columns: 1fr 1fr; }
  .feat-news { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .feat-news video { max-width: 260px; }
  .feat-news .tag { align-self: auto; }
  .redes { grid-template-columns: 1fr; }
  .redes > div + div { border-left: 0; padding-left: 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .nets .btn { margin-left: 0; }
  .pair article, .pair article:last-child { grid-template-columns: 1fr; }
  .pair img { aspect-ratio: 16 / 9; height: auto; }
  .fi, .soc { border-left: 0; padding-left: 0; }
  .footer .top > .btn { margin-left: 0; }
}
@media (max-width: 460px) {
  .logo img { height: 30px; }
  .logo .badge { height: 40px; }
  .bar .btn { display: none; }
  .news ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
