:root {
  --navy: #14224A;
  --navy-2: #1E2F5E;
  --red: #ED1C24;
  --red-dark: #C8141B;
  --ink: #1A1F2E;
  --muted: #5B6375;
  --line: #E3E6EC;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --radius: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 76px; }
#contacto { scroll-margin-top: 140px; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin-top: 14px; }
.section-head { margin-bottom: 48px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer; font-family: inherit;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline:hover { border-color: #fff; }
.btn--ghost { color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.header__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__item { position: relative; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--ink); padding: 26px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav__link:hover { color: var(--red); }
.nav__link svg { width: 12px; height: 12px; }
.dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; box-shadow: 0 12px 32px rgba(20,34,74,.10);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--navy); }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero .mark { right: 48px; top: 40px; width: 440px; }

/* Isologo animado en las cabeceras (propuesta A · Armado) — marcador {{ISOLOGO}} en build.js
   Las 5 piezas llegan desde distintas direcciones, se ensamblan y el logo se atenúa a marca de agua.
   Una sola vez al cargar; sin animación si el usuario pidió reducir movimiento.
   Por cabecera se ajustan: posición/tamaño, --s (distancia desde donde llegan las piezas)
   y --mark-max (opacidad mientras se arma; < 1 si queda detrás de texto). */
.mark { position: absolute; height: auto; opacity: .07; pointer-events: none; overflow: visible; }
.mark polygon { fill: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .mark { animation: mark-atenuar 1.1s ease 1.6s backwards; }
  .mark polygon { transform-box: fill-box; transform-origin: center; animation: mark-armar .9s cubic-bezier(.2,.8,.2,1) backwards; }
  .mark .p1 { --dx: 140px;  --dy: -160px; --r: 25deg;  animation-delay: .3s; }
  .mark .p2 { --dx: -220px; --dy: -40px;  --r: -12deg; animation-delay: .1s; }
  .mark .p3 { --dx: 220px;  --dy: -120px; --r: 30deg;  animation-delay: .5s; }
  .mark .p4 { --dx: 60px;   --dy: 220px;  --r: 14deg;  animation-delay: .2s; }
  .mark .p5 { --dx: -240px; --dy: 160px;  --r: -25deg; animation-delay: .4s; }
  .hero__inner > * { animation: hero-subir .7s ease backwards; }
  .hero__inner > :nth-child(1) { animation-delay: .5s; }
  .hero__inner > :nth-child(2) { animation-delay: .58s; }
  .hero__inner > :nth-child(3) { animation-delay: .66s; }
  .hero__inner > :nth-child(4) { animation-delay: .74s; }
  .hero__inner > :nth-child(5) { animation-delay: .9s; }
}
@keyframes mark-armar { from { opacity: 0; transform: translate(calc(var(--dx) * var(--s, 1)), calc(var(--dy) * var(--s, 1))) rotate(var(--r)); } }
@keyframes mark-atenuar { from { opacity: var(--mark-max, 1); } }
@keyframes hero-subir { from { opacity: 0; transform: translateY(14px); } }
.hero__inner { position: relative; padding-top: 100px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; max-width: 760px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--red); }
.hero p { font-size: 19px; color: rgba(255,255,255,.75); max-width: 600px; margin-top: 20px; }
.hero__actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.pillar {
  display: block; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.pillar__img { aspect-ratio: 16/8; }
.pillar__body { padding: 28px; }
.pillar__body h3 { color: #fff; font-size: 24px; }
.pillar__body p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: 15px; }
.pillar__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: #fff; }
.pillar__link span { color: var(--red); transition: transform .2s; }
.pillar:hover .pillar__link span { transform: translateX(4px); }

/* Placeholder de imagen */
.ph {
  background: repeating-linear-gradient(135deg, #DDE1E8 0 12px, #E6E9EE 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: #6B7385; font-size: 13px; font-weight: 500; text-align: center; padding: 12px;
}
.ph--dark { background: repeating-linear-gradient(135deg, #24366A 0 12px, #283B72 12px 24px); color: rgba(255,255,255,.55); }

/* Tarjetas de servicio */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #C9CED8; box-shadow: 0 10px 28px rgba(20,34,74,.08); }
.card__img { aspect-ratio: 4/3; }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: 15px; margin-top: 8px; flex: 1; }
.card__more { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--navy); }
.card__more span { color: var(--red); }
.grid--2 .card { flex-direction: row; }
.grid--2 .card__img { aspect-ratio: auto; width: 42%; min-height: 240px; }
.grid--2 .card__body { padding: 28px; }

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.client {
  height: 96px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 600; color: #8A91A0; font-size: 15px; padding: 12px;
}

/* Proyectos */
.projects { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.projects > * { border-radius: 10px; }
.projects > :first-child { grid-row: span 2; }
.projects__img { display: block; width: 100%; height: 100%; object-fit: cover; background: #DDE1E8; }
.projects__note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { border-top: 2px solid var(--navy); padding-top: 20px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-size: 14px; font-weight: 700; color: var(--red); display: block; margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Cotización */
.quote { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin-top: 32px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ic {
  width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0;
}
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a { font-weight: 600; color: var(--navy); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,34,74,.12);
}
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo img { height: 32px; width: auto; }
.footer p { margin-top: 16px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .mark { width: 360px; right: -60px; --mark-max: .3; }  /* en pantallas angostas el logo queda detrás del texto */
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header .btn { display: none; }
  .menu-toggle { display: block; }
  .header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .header.open .nav__link { padding: 12px 0; }
  .header.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .pillars, .grid--2, .quote { grid-template-columns: 1fr; }
  .grid--2 .card { flex-direction: column; }
  .grid--2 .card__img { width: 100%; min-height: 0; aspect-ratio: 16/9; }
  .projects { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .projects > :first-child { grid-column: span 2; grid-row: auto; }
  .quote { gap: 40px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 64px; padding-bottom: 48px; }
  .hero .mark { width: 300px; right: -90px; top: 24px; }
  .grid--4, .steps, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 24px; }
}

/* ───────── Páginas interiores ───────── */
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #FDECEC; color: #9B1218; border: 1px solid #F6C4C6; border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }

.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .mark { --s: .6; }
/* Servicios (texto + foto): el logo se arma detrás de la foto, más grande que ella, y la enmarca */
.page-hero__inner > :first-child { position: relative; z-index: 2; }  /* el texto siempre sobre el logo */
.page-hero__media { position: relative; }
.page-hero__media > .page-hero__img { position: relative; z-index: 1; }
.page-hero--split .mark { left: -16%; width: 132%; top: 50%; margin-top: -65%; }
/* Proyectos y contacto (cabecera baja): el logo ocupa el alto de la cabecera */
.page-hero--simple .mark { right: 7%; top: 10%; height: 80%; width: auto; }
.page-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 18px; margin-top: 16px; max-width: 560px; }
.page-hero__img { aspect-ratio: 4/3; border-radius: 14px; }
.page-hero--simple .container { padding-top: 56px; padding-bottom: 64px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: rgba(255,255,255,.9); }

.facts-bar { border-bottom: 1px solid var(--line); background: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 24px 24px 24px 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 24px; }
.fact small { display: block; font-size: 13px; color: var(--muted); }
.fact strong { display: block; color: var(--navy); font-weight: 600; font-size: 16px; margin-top: 2px; }

.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.models--3 { grid-template-columns: repeat(3, 1fr); }
.model { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.model__img { aspect-ratio: 16/9; }
.model__body { padding: 24px; }
.model__body h3 { margin: 8px 0 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--navy); background: #E9ECF4; border-radius: 999px; padding: 3px 10px; }

.specs { display: grid; gap: 0; margin-top: 20px; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { color: var(--ink); }
.model .specs { margin-top: 0; }
.model .specs div { grid-template-columns: 110px 1fr; font-size: 14px; padding: 9px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__img { aspect-ratio: 4/3; border-radius: 12px; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: 12px; padding: 26px; background: #fff; }
.feature::before { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-bottom: 18px; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 640px; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.related__item { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--navy); transition: border-color .2s; }
.related__item:hover { border-color: var(--navy); }
.related__item .arrow { color: var(--red); }

.clubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.club { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.club__img { aspect-ratio: 16/10; }
.club__body { padding: 24px; }
.club__body h3 { margin-top: 10px; }
.club__body p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery .ph { aspect-ratio: 4/3; border-radius: 10px; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.gallery__img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: #DDE1E8; }
.gallery__note { font-size: 13px; color: var(--muted); margin-top: 20px; }

.message { padding: 120px 0; }
.message__inner { text-align: center; max-width: 620px; }
.message__icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: #E9ECF4; color: var(--navy); font-weight: 700; }
.message__icon.ok { background: var(--navy); color: #fff; }
.message__icon svg { width: 32px; height: 32px; }
.message h1 { font-size: clamp(28px, 4vw, 40px); }
.message p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.message .hero__actions { justify-content: center; }

@media (max-width: 1024px) {
  .features, .clubs, .gallery { grid-template-columns: repeat(2, 1fr); }
  .models--3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .page-hero__inner, .split, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > :first-child { order: 0; }
  .page-hero__inner { padding-top: 40px; padding-bottom: 56px; }
  .page-hero--simple .mark { right: -50px; top: 16px; width: 220px; height: auto; --mark-max: .3; }
  .page-hero--split .mark { left: 2%; width: 96%; margin-top: -47.5%; --mark-max: .6; }
  .models { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features, .clubs, .gallery, .models--3 { grid-template-columns: 1fr; }
  .specs div, .model .specs div { grid-template-columns: 1fr; gap: 2px; }
  .message { padding: 80px 0; }
}

/* Imágenes reales: mismas proporciones que los marcadores */
img.pillar__img, img.card__img, img.page-hero__img, img.split__img, img.club__img, img.model__img {
  width: 100%; height: auto; object-fit: cover; background: #DDE1E8;
}
img.pillar__img { aspect-ratio: 16/8; }
img.card__img { aspect-ratio: 4/3; }
.grid--2 img.card__img { aspect-ratio: auto; height: 100%; }

/* Clubes: foto con escudo */
.club__media { position: relative; aspect-ratio: 16/10; background: #E9ECF4; }
.club__media img.club__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.club__badge {
  position: absolute; left: 20px; bottom: -24px; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(20,34,74,.12);
}
.club__badge img { width: 38px; height: 38px; object-fit: contain; }
.club__media--crest { background: #7A1F2E; display: flex; align-items: center; justify-content: center; }
.club__crest-big { width: 62%; height: 100%; object-fit: cover; }
.club:has(.club__badge) .club__body { padding-top: 36px; }
img.pillar__img, img.card__img { object-position: center 35%; }

/* Logos de clientes */
.clients { list-style: none; }
.client { height: 120px; padding: 20px; }
.client img {
  max-height: 72px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s;
}
.client:hover img { filter: none; opacity: 1; }
@media (hover: none) { .client img { filter: none; opacity: 1; } }

/* ───────── Campeonato y VeoCam ───────── */
/* Bloques .promo / .veo-screen: se usan en el inicio, en /gestion/grabacion-de-partidos/ y en /campeonato-verano/ */
.demo-flag { background: #FFF4D6; color: #6B5300; font-size: 13px; text-align: center; padding: 8px 16px; }
.cup-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cup-meta span { font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; }

.cup-tabs { position: sticky; top: 76px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.cup-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cup-tabs a { flex: none; font-size: 14px; font-weight: 600; color: var(--muted); padding: 16px 14px; border-bottom: 2px solid transparent; }
.cup-tabs a:hover { color: var(--navy); }
.cup-tabs a.on { color: var(--navy); border-color: var(--red); }

.cup-section { padding: 64px 0; scroll-margin-top: 132px; }
.cup-section + .cup-section { padding-top: 0; }
.cup-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cup-head h2 { font-size: clamp(24px, 3vw, 32px); }
.cup-head small { color: var(--muted); font-size: 14px; }

/* Partidos */
.matches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.match { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.match__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 12px; gap: 8px; }
.match__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.team { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; min-width: 0; }
.team span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team--away { flex-direction: row-reverse; text-align: right; }
.crest { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.score { font-size: 22px; font-weight: 700; color: var(--navy); min-width: 64px; text-align: center; }
.score--vs { font-size: 14px; color: var(--muted); font-weight: 600; }
.match__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); gap: 8px; }
.rec { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.badge-clubion { font-size: 11px; font-weight: 600; color: #0F766E; background: #E6F6F3; border-radius: 999px; padding: 2px 8px; }

/* Tablas */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.cup { width: 100%; border-collapse: collapse; font-size: 14px; }
table.cup th { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 12px 8px; background: var(--bg-soft); }
table.cup td { text-align: center; padding: 12px 8px; border-top: 1px solid var(--line); color: var(--ink); }
table.cup th:nth-child(2), table.cup td:nth-child(2) { text-align: left; }
table.cup td.pts { font-weight: 700; color: var(--navy); }
table.cup td.pos { font-weight: 700; color: var(--muted); width: 44px; }
table.cup tr.q td.pos { color: #fff; }
table.cup tr.q td.pos span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); }
.legend { font-size: 13px; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--navy); display: inline-block; }
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }

/* Fixture */
.rounds { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.rounds button { font: 600 14px Inter, sans-serif; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.rounds button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Bloques de promoción */
.promo { border-radius: 16px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.promo h2 { font-size: clamp(24px, 3vw, 34px); }
.promo p { margin-top: 12px; font-size: 17px; }
.promo ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.promo li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.promo li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.promo .hero__actions { margin-top: 28px; }
.promo--veo { background: var(--navy); color: #fff; }
.promo--veo h2 { color: #fff; } .promo--veo p, .promo--veo li { color: rgba(255,255,255,.8); }
.veo-screen { aspect-ratio: 16/9; border-radius: 12px; background: #0B1530 url("/assets/img/infra/cancha.jpg") center/cover; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.veo-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.65)); }
.veo-live { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 11px; font-weight: 700; color: #fff; background: var(--red); border-radius: 4px; padding: 3px 8px; letter-spacing: .05em; }
.veo-score { position: absolute; left: 12px; bottom: 12px; z-index: 1; color: #fff; font-weight: 600; font-size: 14px; }
.veo-play { position: absolute; inset: 0; margin: auto; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.veo-play::before { content: ""; margin-left: 5px; border-left: 20px solid var(--navy); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.promo--clubion { background: #fff; border: 1px solid var(--line); }
.promo--clubion p, .promo--clubion li { color: var(--muted); }
.clubion-clubs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clubion-club { border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.clubion-club img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 10px; display: block; }
.clubion-club strong { display: block; color: var(--navy); }
.clubion-club small { color: var(--muted); font-size: 13px; }

.cta-band { text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: var(--muted); font-size: 18px; margin: 12px auto 0; max-width: 620px; }
.cta-band .hero__actions { justify-content: center; }

@media (max-width: 960px) {
  .two-col, .promo { grid-template-columns: 1fr; }
  .promo { padding: 28px; gap: 28px; }
}
@media (max-width: 720px) {
  .matches { grid-template-columns: 1fr; }
  table.cup .hide-m { display: none; }
  .cup-tabs { top: 64px; }
  .match .team { font-size: 14px; gap: 8px; }
  .match .team span:last-child { white-space: normal; overflow: visible; line-height: 1.25; }
  .match .crest { width: 26px; height: 26px; font-size: 10px; }
  .score { min-width: 48px; font-size: 20px; }
}
.veo-band { margin-top: 32px; }

/* ───────── Grabación de partidos (VeoCam) ───────── */
.video-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #0B1530; box-shadow: 0 20px 50px rgba(20,34,74,.18); }
.yt__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.yt__btn:hover img { transform: scale(1.03); }
.yt__btn:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
img.split__img--square { aspect-ratio: 1/1; }
.how-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.steps--2 { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.how-split__img { display: block; width: 100%; max-width: 540px; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; justify-self: end; background: #DDE1E8; }
@media (max-width: 860px) {
  .video-split { grid-template-columns: 1fr; gap: 28px; }
  .how-split { grid-template-columns: 1fr; gap: 36px; }
  .how-split__img { justify-self: center; }
}
@media (max-width: 560px) {
  .steps--2 { grid-template-columns: 1fr; }
}
