/* Páginas por deporte (canchas-de-*.html). Mismos tokens que index.html. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #f9d360;
  --ink: #3a1200;
  --gray: #f5f4f3;
  --accent: #d6512c;
  --fog: #7a5a48;
  --white: #fff;
  --wrap: 1040px;
  --gutter: clamp(24px, 7vw, 96px);
  --section-y: clamp(48px, 10svh, 104px);
  --radius: 12px;
  --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "calt", "ss01";
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: clamp(18px, 1.5vw, 20px); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.lede { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.4; text-wrap: pretty; }
.dot { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 11px 27px; border-radius: var(--radius);
  background: var(--brand); color: var(--ink);
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .15s;
}
.btn:hover { transform: scale(1.03); }
.btn-dark { background: var(--ink); color: var(--brand); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.nav { position: sticky; top: 0; z-index: 10; background: var(--brand); }
.nav-in { display: flex; align-items: center; gap: 24px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 11px var(--gutter); }
.wordmark { display: flex; align-items: center; gap: 8px; margin-right: auto; font-size: 20px; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.wordmark img { width: 22px; height: 22px; }

.section { padding: var(--section-y) var(--gutter); }
.wrap { max-width: var(--wrap); margin: 0 auto; }

/* Hero: texto a la izquierda, celular a la derecha. */
.hero { padding: clamp(32px, 6svh, 64px) var(--gutter) 0; background: var(--brand); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; max-width: var(--wrap); margin: 0 auto; }
.hero-text { padding-bottom: clamp(32px, 6svh, 64px); }
.kicker { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.hero .lede { margin-top: 18px; max-width: 32em; }
.hero .btn { margin-top: 28px; }
.phone { width: 240px; margin: 0 auto; padding: 6px; border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0; background: var(--ink); align-self: end; }
.phone img { width: 100%; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 585 / 760; object-fit: cover; object-position: top; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 280px; gap: 64px; align-items: end; }
  .hero-text { align-self: center; }
  .phone { width: 280px; }
}

/* Lo que resuelve */
.head { max-width: 760px; margin: 0 auto clamp(28px, 5svh, 48px); text-align: center; }
.head .lede { margin-top: 10px; }
.cards { display: grid; gap: 16px; }
.card { padding: var(--pad); border-radius: var(--radius); background: var(--gray); }
.card p { margin-top: 6px; color: var(--fog); }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 16px; border-radius: 9999px; background: var(--brand); font-weight: 600; font-size: 15px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Preguntas */
.room-brand { background: var(--brand); }
.faq-wrap { display: grid; gap: 32px; }
.faq { padding: 6px var(--pad); border-radius: var(--radius); background: var(--white); }
.faq details + details { box-shadow: 0 -1px 0 rgba(122, 90, 72, .25); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding-bottom: 14px; color: var(--fog); }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; } }

.cta { background: var(--ink); color: var(--white); text-align: center; }
.cta .lede { margin-top: 10px; }
.cta .btn { margin-top: 28px; }

/* Pie: mismo que index.html, con los links por deporte. */
.foot { box-shadow: 0 -1px 0 rgba(255, 255, 255, .12); background: var(--ink); color: var(--white); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 24px var(--gutter); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.foot-links a:hover, .foot-links a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* Comparación (alternativa-a-alquila-tu-cancha.html) */
.hero-solo .hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-solo .lede { margin-left: auto; margin-right: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; }
.compare thead th { font-size: 16px; font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--brand); border-radius: var(--radius) var(--radius) 0 0; }
.compare tbody th { width: 26%; font-weight: 600; }
.compare tbody td:nth-child(2) { background: #fdf1c9; font-weight: 600; }
.compare tbody td:nth-child(3) { color: var(--fog); }
.compare tbody tr + tr > * { box-shadow: 0 -1px 0 rgba(122, 90, 72, .2); }
.compare tbody tr:last-child td:nth-child(2) { border-radius: 0 0 var(--radius) var(--radius); }
.compare-wrap { max-width: 900px; margin: 0 auto; }
.compare-note { max-width: 900px; margin: 20px auto 0; font-size: 13px; color: var(--fog); }
.honest { max-width: 760px; margin: 0 auto; padding: var(--pad); border-radius: var(--radius); background: var(--gray); }
.honest h2 { font-size: clamp(22px, 2vw, 26px); }
.honest p { margin-top: 10px; color: var(--fog); }
/* En celular cada fila es una tarjeta: tema arriba, KoreHub y ATC abajo. */
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { margin-bottom: 12px; border-radius: var(--radius); background: var(--gray); overflow: hidden; }
  .compare tbody tr + tr > * { box-shadow: none; }
  .compare tbody th { width: auto; padding-bottom: 6px; }
  .compare caption { display: block; }
  .compare td { padding-top: 8px; padding-bottom: 8px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fog); }
  .compare tbody td:nth-child(2) { border-radius: 0 !important; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare caption { caption-side: top; }

/* Textos legales (terminos.html, privacidad.html) */
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 3.6vw, 44px); }
.legal .updated { margin-top: 10px; color: var(--fog); font-size: 15px; }
.legal h2 { margin-top: 40px; font-size: clamp(20px, 1.8vw, 24px); }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { text-underline-offset: 3px; }
