/* Variables compartidas */
:root {
  color-scheme: dark;
  --font: Arial, Helvetica, sans-serif;
  --bg: #0c0c0c;
  --surface: #171717;
  --surface2: #222222;
  --line: #3b3b3b;
  --text: #f5f5f5;
  --muted: #bdbdbd;
  --accent: #d6d6d6;
  --accent-soft: #e3e3e3;
  --green: #9fe6c1;
  --red: #ffb5b5;
  --radius: 10px;
}
* {
  box-sizing: border-box;
}

/* Base de la página */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  /* Quita el margen exterior */
  margin: 0;

  /* Define el fondo oscuro */
  background: var(--bg);

  /* Define el texto claro */
  color: var(--text);

  /* Usa la tipografía principal */
  font: 400 15px/1.7 var(--font);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}
h3 {
  font-size: 1.1rem;
  line-height: 1.4;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* Acceso por teclado */
a,
button,
input,
select,
textarea {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
input:focus-visible,
select:focus-visible {
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
img,
svg {
  max-width: 100%;
}
svg.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ancho del contenido */

/* Centra el contenido principal */
.container {
  /* Limita el ancho disponible */
  width: min(1180px, calc(100% - 40px));

  /* Centra el contenido */
  margin-inline: auto;
}

/* Permite saltar al contenido */
.skip-link {
  clip-path: inset(50%);
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 14px;
}
.skip-link:focus {
  clip-path: none;
  top: 12px;
}

/* Encabezado y menú */

/* Diseña el encabezado */
.site-header {
  /* Dibuja una línea inferior */
  border-bottom: 1px solid var(--line);

  /* Permite ordenar sus capas */
  position: relative;
  z-index: 10;

  /* Mantiene el fondo oscuro */
  background: #0c0c0c;
}

/* Ordena logo y menú */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 25px;
}

/* Alinea logo y nombre */
.brand {
  /* Coloca logo y texto */
  display: flex;

  /* Separa logo y texto */
  gap: 12px;

  /* Centra ambos elementos */
  align-items: center;

  /* Quita el subrayado */
  text-decoration: none;

  /* Conserva el tamaño */
  flex-shrink: 0;
}

/* Ajusta el logo */
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Destaca el nombre */
.brand strong {
  font: 500 19px/1.1 var(--font);
  letter-spacing: 0.03em;
  display: block;
}

/* Muestra la ubicación */
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 7px;
}

/* Ordena enlaces principales */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Diseña enlaces del menú */
.main-nav a {
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Marca la página actual */
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

/* Resalta enlaces señalados */
.main-nav a:hover {
  color: var(--accent);
}

/* Separa acceso de cuenta */
.main-nav .nav-account {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

/* Diseña el menú móvil */
.menu-toggle {
  display: none;
  color: var(--text);
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 46px;
  min-height: 46px;
}

/* Botones reutilizables */

/* Diseña botones principales */
.btn {
  /* Mantiene una altura cómoda */
  min-height: 48px;

  /* Alinea texto e icono */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Separa texto e icono */
  gap: 11px;

  /* Redondea las esquinas */
  border-radius: 7px;

  /* Agrega espacio interior */
  padding: 12px 21px;

  /* Quita el subrayado */
  text-decoration: none;

  /* Reserva el borde */
  border: 1px solid transparent;

  /* Ajusta el texto */
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;

  /* Aplica colores visibles */
  background: var(--accent);
  color: #111111;
}

/* Aclara el botón señalado */
.btn:hover {
  background: #ededed;
}

/* Diseña botones secundarios */
.btn.secondary {
  background: transparent;
  border-color: #858585;
  color: var(--text);
}
.btn.secondary:hover {
  background: var(--surface2);
  border-color: var(--muted);
}

/* Diseña botones discretos */
.btn.quiet {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
  justify-content: flex-start;
}

/* Reduce botones pequeños */
.btn.small {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 12px;
}

/* Marca acciones delicadas */
.btn.danger {
  background: transparent;
  border-color: #805052;
  color: var(--red);
}

/* Agrupa botones disponibles */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 23px;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-soft);
}
.muted {
  color: var(--muted);
}
.gold {
  color: var(--accent);
}
.small-text {
  font-size: 12px;
}

/* Presentacion de inicio */

/* Crea la portada principal */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Divide texto e imagen */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 490px;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* Ordena el mensaje principal */
.hero-copy {
  z-index: 1;
  padding-block: 56px;
}
.hero-copy h1 {
  margin-bottom: 23px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent-soft);
}
.hero-copy p {
  color: var(--muted);
  max-width: 440px;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 30px;
}

/* Da espacio al contenido */
.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-content > .text-link,
.card-content > .btn {
  margin-top: auto;
}

/* Distribuye beneficios principales */
.benefit-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 23px;
  gap: 20px;
}

/* Alinea cada beneficio */
.benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: var(--muted);
}
.benefit .icon {
  color: var(--accent-soft);
}
.benefit strong {
  color: var(--text);
  display: block;
  font-size: 12px;
}

/* Secciones de contenido */

/* Separa cada sección */
.section {
  padding-block: 76px;
}

/* Cambia el fondo alterno */
.section.alt {
  background: #111111;
  border-block: 1px solid var(--line);
}

/* Ordena título y texto */
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p {
  max-width: 350px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}

/* Cuadricula de tarjetas */

/* Distribuye las tarjetas */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

/* Diseña cada tarjeta */
.card {
  /* Aplica fondo a tarjeta */
  background: var(--surface);

  /* Dibuja el contorno */
  border: 1px solid var(--line);

  /* Redondea las esquinas */
  border-radius: var(--radius);

  /* Recorta contenido sobrante */
  overflow: hidden;
}

/* Da espacio al contenido */
.card-content {
  padding: 26px;
}
.card-content p {
  color: var(--muted);
  font-size: 13px;
}

/* Destaca enlaces internos */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}

/* Diseña etiquetas pequeñas */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}
.tag.good {
  color: var(--green);
  border-color: #326650;
}
.tag.gold {
  color: var(--accent);
  border-color: #796332;
}

/* Divide información y mapa */
.visit-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.visit-copy p {
  color: var(--muted);
  font-size: 14px;
}

/* Enmarca el mapa */
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--surface);
}
.map-frame iframe {
  width: 100%;
  height: 320px;
  display: block;
  border: 0;
  filter: saturate(0.6);
}

/* Ordena datos importantes */
.info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.info-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-block: 16px;
  font-size: 13px;
}
.info-list .icon {
  color: var(--accent-soft);
  margin-top: 2px;
}

/* Destaca la invitación final */
.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 32px 36px;
  border: 1px solid #484848;
  border-radius: var(--radius);
  background: #191919;
}
.cta-strip h3 {
  margin: 0 0 5px;
  font: 22px var(--font);
}
.cta-strip p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Pie de página */

/* Diseña el pie de página */
.site-footer {
  /* Agrega espacio al pie */
  padding: 45px 0 22px;

  /* Dibuja una línea superior */
  border-top: 1px solid var(--line);
}

/* Distribuye datos del pie */
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

/* Ordena enlaces del pie */
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

/* Muestra datos finales */
.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  color: var(--muted);
}

/* Presenta cada página */
.page-intro {
  padding: 52px 0 34px;
}

/* Ruta de navegación */

/* Muestra la ruta actual */
.breadcrumb {
  display: flex;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a {
  text-decoration: none;
}
.page-intro h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin-bottom: 15px;
}
.page-intro p {
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
}

/* Separa contenido interno */
.content-section {
  padding-bottom: 70px;
}

/* Presenta cada servicio */
.service-hero {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 32px;
}

/* Ordena datos del servicio */
.service-copy {
  padding: 40px;
}
.service-copy h2 {
  font-size: 2rem;
}
.service-copy p {
  font-size: 13px;
  color: var(--muted);
}

/* Destaca el precio */
.price {
  font: 500 35px var(--font);
  color: var(--accent-soft);
  margin: 12px 0;
}
.price small {
  font: 12px var(--font);
  color: var(--muted);
}

/* Ordena ventajas del servicio */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.check-list li {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
  display: flex;
  gap: 9px;
}
.check-list li:before {
  content: "✓";
  color: var(--accent);
}

/* Mensajes para usuarios */

/* Muestra mensajes importantes */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 18px;
  background: #242424;
  border: 1px solid #676767;
  border-radius: 9px;
  font-size: 12px;
  color: #e0e0e0;
  margin-block: 20px;
}
.notice.warning {
  border-color: #796332;
  background: #262218;
  color: #eee1bb;
}
.notice.error {
  border-color: #9b555d;
  background: #301e29;
  color: #ffced1;
}
.notice.success {
  border-color: #327454;
  background: #132a25;
  color: #bbefd7;
}
.notice p {
  margin: 0;
}
.notice .icon {
  flex-shrink: 0;
}

/* Muestra avance del proceso */
.steps {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 5px 0 30px;
  counter-reset: step;
}

/* Diseña cada paso */
.steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  flex: 1;
  position: relative;
}
.steps li:not(:last-child):after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
  margin: 0 15px;
}
.steps li:before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-content: center;
  min-width: 29px;
  height: 29px;
  border: 1px solid #7d7d7d;
  border-radius: 50%;
  font-weight: 650;
}
.steps .current {
  color: var(--accent);
}
.steps .current:before {
  background: var(--accent);
  border-color: var(--accent);
  color: #111111;
}

/* Distribucion de formularios */

/* Divide formulario y resumen */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: start;
}

/* Paneles de información */

/* Agrupa contenido relacionado */
.panel {
  /* Agrega espacio interior */
  padding: 30px;

  /* Diferencia el panel */
  background: var(--surface);

  /* Dibuja el contorno */
  border: 1px solid var(--line);

  /* Redondea las esquinas */
  border-radius: var(--radius);
}
.panel h2 {
  font-size: 1.6rem;
}
.panel h3 {
  margin-bottom: 20px;
}

/* Ordena campos del formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Agrupa etiqueta y campo */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

/* Extiende el campo completo */
.field.full {
  grid-column: 1/-1;
}
.field label,
legend {
  font-size: 12px;
  font-weight: 600;
}

/* Diseña campos editables */
.field input,
.field select,
.field textarea {
  /* Ocupa todo el ancho */
  width: 100%;

  /* Mantiene una altura cómoda */
  min-height: 49px;

  /* Dibuja un borde visible */
  border: 1px solid #858585;

  /* Redondea los campos */
  border-radius: 7px;

  /* Aplica colores del formulario */
  background: #101010;
  color: var(--text);

  /* Separa texto del borde */
  padding: 12px 14px;

  /* Mejora lectura del texto */
  line-height: 1.4;
}
.field input::placeholder {
  color: #aaaaaa;
  opacity: 1;
}
.field input[readonly] {
  background: #202020;
  color: #cccccc;
}
.field small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.65;
}
.field [aria-invalid="true"] {
  border-color: var(--red);
}
.field-error {
  color: var(--red) !important;
}

/* Separa grupos del formulario */
.form-block {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0;
}
.form-block > legend {
  font-size: 15px;
  margin-bottom: 19px;
  width: 100%;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

/* Alinea casilla y texto */
.checkbox {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  align-items: flex-start;
  margin-block: 22px;
  cursor: pointer;
}
.checkbox input {
  width: 19px;
  height: 19px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Acciones del formulario */

/* Ordena acciones finales */
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.form-actions .btn {
  margin-left: auto;
}

/* Muestra resumen lateral */
.summary {
  position: sticky;
  top: 20px;
  background: #202020;
}
.summary .eyebrow {
  margin-bottom: 15px;
}
.summary dl,
.receipt dl {
  margin: 20px 0;
}
.summary dl div,
.receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  margin-block: 14px;
}
.summary dt,
.receipt dt {
  color: var(--muted);
}
.summary dd,
.receipt dd {
  margin: 0;
  text-align: right;
}

/* Destaca el total */
.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #666666;
  padding-top: 20px;
  margin-top: 20px;
}
.total strong {
  font: 30px var(--font);
  color: var(--accent);
}

/* Distribuye horarios disponibles */
.time-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

/* Prepara cada horario */
.slot {
  position: relative;
}
.slot input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.slot span {
  display: block;
  text-align: center;
  border: 1px solid #858585;
  border-radius: 7px;
  padding: 12px 6px;
  font-size: 12px;
  line-height: 1.3;
}
.slot small {
  display: block;
  font-size: 8px;
  margin-top: 3px;
  color: var(--muted);
}

/* Marca el horario elegido */
.slot input:checked + span {
  background: var(--accent);
  color: #111111;
  border-color: var(--accent);
  font-weight: 700;
}
.slot input:checked + span small {
  color: #2a2a2a;
}
.slot input:disabled + span {
  opacity: 0.45;
  text-decoration: line-through;
}
.slot input:disabled {
  cursor: not-allowed;
}
.slot input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Pantallas de acceso */

/* Divide acceso e información */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1050px;
  margin-inline: auto;
  align-items: center;
  padding: 60px 0 85px;
}
.auth-story h1 {
  font-size: 2.7rem;
}
.auth-story p {
  color: var(--muted);
  font-size: 14px;
}
.auth-story .mini-brand {
  width: 170px;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* Enmarca formulario de acceso */
.auth-card {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.auth-card h1,
.auth-card h2 {
  font-size: 1.9rem;
}
.auth-card .form-grid {
  gap: 17px;
}
.auth-card .btn[type="submit"] {
  width: 100%;
}
.auth-foot {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  padding-top: 20px;
  margin: 0;
}
.auth-foot a {
  color: var(--accent);
}

/* Une campo y botón */
.input-action {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.input-action input {
  min-width: 0;
}
.input-action button {
  min-width: 48px;
  background: var(--surface2);
  border: 1px solid #858585;
  border-radius: 7px;
  color: var(--text);
}

/* Opciones de pago */

/* Ordena métodos de pago */
.payment-methods {
  display: grid;
  gap: 12px;
}

/* Diseña cada opción */
.payment-choice {
  /* Coloca elementos en fila */
  display: flex;

  /* Separa icono y texto */
  gap: 14px;

  /* Centra todos los elementos */
  align-items: center;

  /* Agrega espacio interior */
  padding: 17px;

  /* Dibuja un borde visible */
  border: 1px solid #858585;

  /* Redondea las esquinas */
  border-radius: 10px;

  /* Muestra que puede pulsarse */
  cursor: pointer;
}

/* Resalta la opción elegida */
.payment-choice:has(input:checked) {
  /* Cambia el fondo elegido */
  background: #303030;

  /* Resalta el borde elegido */
  border-color: var(--accent);
}

/* Ajusta el selector circular */
.payment-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* Ajusta el icono de pago */
.payment-choice .icon {
  width: 27px;
  height: 27px;
  color: var(--accent-soft);
}

/* Destaca nombre del método */
.payment-choice strong {
  display: block;
  font-size: 12px;
}

/* Explica cada método */
.payment-choice small {
  color: var(--muted);
  font-size: 10px;
}

/* Pantalla de confirmación */

/* Centra la confirmación */
.confirmation {
  max-width: 770px;
  margin: auto;
  text-align: center;
  padding: 55px 0 75px;
}

/* Marca la operación exitosa */
.success-seal {
  width: 80px;
  height: 80px;
  border: 1px solid #777777;
  border-radius: 50%;
  background: #242424;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  color: var(--accent);
}
.success-seal .icon {
  width: 36px;
  height: 36px;
}
.confirmation h1 {
  font-size: 2.6rem;
}

/* Presenta datos del comprobante */
.confirmation .receipt {
  text-align: left;
  margin: 30px 0;
}
.receipt .brand {
  margin-bottom: 24px;
}

/* Ordena título del comprobante */
.receipt-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.receipt-heading .brand {
  margin: 0;
}

/* Tablas con desplazamiento */

/* Permite desplazar tablas */
.table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}
caption {
  text-align: left;
  padding: 14px;
  color: var(--muted);
  font-size: 11px;
  background: #1b1b1b;
}
th {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cccccc;
  background: #252525;
  font-weight: 600;
}
th,
td {
  padding: 17px 16px;
  border-bottom: 1px solid var(--line);
}
td {
  color: #dddddd;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td small {
  display: block;
  color: var(--muted);
}

/* Muestra una lista vacía */
.empty-state {
  padding: 45px 22px;
  border: 1px dashed #707070;
  border-radius: 12px;
  text-align: center;
  margin-top: 20px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
}

/* Agrupa filtros de actividad */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 1px solid transparent;
  min-height: 44px;
  border-radius: 7px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.tabs button[aria-pressed="true"] {
  color: var(--accent);
  background: #303030;
  border-color: #808080;
}

/* Historial del cliente */

/* Ordena cada registro */
.history-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.history-item h3 {
  font-size: 14px;
  margin: 7px 0;
}
.history-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.history-price {
  text-align: right;
  flex-shrink: 0;
}
.history-price strong {
  font: 22px var(--font);
  display: block;
  margin-bottom: 8px;
}
.history-price .actions {
  justify-content: flex-end;
}

/* Distribuye estadísticas */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

/* Diseña cada indicador */
.stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font: 30px var(--font);
  color: var(--accent-soft);
  margin-top: 8px;
}

/* Agrupa cada correo */
.mail-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 12px;
  padding: 17px 20px;
}
.mail-item summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  min-height: 30px;
}
.mail-item p {
  font-size: 12px;
  color: var(--muted);
  white-space: pre-wrap;
  margin: 15px 0 0;
}
.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  min-height: 30px;
}
.faq p {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}

/* Resumen del perfil */

/* Muestra inicial del usuario */
.profile-avatar {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  font: 24px var(--font);
  border: 1px solid #777777;
  background: #242424;
  color: var(--accent);
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Distribuye las categorías */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-block: 30px;
}

/* Diseña cada categoría */
.category {
  padding: 20px 8px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.category strong {
  display: block;
  font: 20px var(--font);
  color: var(--accent-soft);
}
.category span {
  font-size: 10px;
  color: var(--muted);
}

/* Muestra estado de carga */
.loading {
  color: var(--muted);
  font-size: 12px;
}
.print-only {
  display: none;
}
.notice a {
  color: var(--accent);
}

/* Muestra estado del servidor */
.connection-hint {
  max-width: 1180px;
  margin: 16px auto;
  padding-inline: 20px;
}
.scroll-anchor,
#copa-castell,
#pasochoa-cup {
  scroll-margin-top: 30px;
}

/* Navegación de torneos */

/* Permite navegar torneos */
.tournament-nav {
  margin-bottom: 28px;
}

/* Agrupa el torneo Pasochoa */
.pasochoa-section {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 40px;
}
.pasochoa-intro,
.pasochoa-gallery {
  display: grid;
  gap: 24px;
}
.pasochoa-intro {
  align-items: center;
  margin-bottom: 32px;
}
.pasochoa-intro .tag {
  margin-bottom: 20px;
}
.pasochoa-section h3 {
  margin-bottom: 16px;
}

/* Enmarca foto del torneo */
.pasochoa-photo {
  margin: 0;
  min-width: 0;
}
.pasochoa-photo a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}
.pasochoa-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.pasochoa-photo figcaption {
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

/* Ajusta fotos del torneo */
.pasochoa-gallery img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--bg);
}
.pasochoa-gallery .pasochoa-match {
  object-fit: cover;
  object-position: center 66%;
}

/* Ajustes para escritorio */
@media (min-width: 760px) {
  .pasochoa-intro,
  .pasochoa-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Ajustes para portátil */
@media (max-width: 1050px) {

  /* Ordena enlaces principales */
  .main-nav {
    gap: 15px;
  }

  /* Separa acceso de cuenta */
  .main-nav .nav-account {
    padding-left: 15px;
  }

  /* Destaca el nombre */
  .brand strong {
    font-size: 16px;
  }

  /* Muestra la ubicación */
  .brand small {
    font-size: 8px;
  }

  /* Divide texto e imagen */
  .hero-layout {
    min-height: 460px;
  }
  .hero-copy h1 {
    font-size: 3.3rem;
  }

  /* Divide formulario y resumen */
  .form-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(255px, 1fr);
    gap: 20px;
  }

  /* Agrupa contenido relacionado */
  .panel {
    padding: 24px;
  }

  /* Distribuye horarios disponibles */
  .time-slots {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ajustes para tableta */
@media (max-width: 820px) {

  /* Diseña el menú móvil */
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  /* Ordena logo y menú */
  .nav-wrap {
    min-height: 78px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  /* Ordena enlaces principales */
  .main-nav {
    display: none;
    width: 100%;
    padding-bottom: 16px;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }

  /* Diseña enlaces del menú */
  .main-nav a {
    padding: 10px 8px;
  }

  /* Separa acceso de cuenta */
  .main-nav .nav-account {
    border-left: 0;
    padding-left: 8px;
  }

  /* Divide texto e imagen */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Ordena el mensaje principal */
  .hero-copy {
    padding: 45px 0 0;
  }
  .hero-copy h1 {
    font-size: clamp(2.2rem, 7vw, 3.1rem);
  }
  .hero-copy p {
    max-width: 540px;
  }

  /* Distribuye beneficios principales */
  .benefit-bar {
    grid-template-columns: 1fr 1fr;
  }

  /* Distribuye las tarjetas */
  .cards {
    gap: 15px;
    grid-template-columns: 1fr;
  }

  /* Diseña cada tarjeta */
  .card {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* Da espacio al contenido */
  .card-content {
    padding: 24px;
  }

  /* Separa cada sección */
  .section {
    padding-block: 50px;
  }

  /* Ordena título y texto */
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading p {
    max-width: none;
  }

  /* Divide información y mapa */
  .visit-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Divide formulario y resumen */
  .form-layout {
    grid-template-columns: 1fr;
  }

  /* Muestra resumen lateral */
  .summary {
    position: static;
    order: 2;
  }

  /* Divide acceso e información */
  .auth-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 35px;
    padding-block: 35px 60px;
  }
  .auth-story {
    display: none;
  }

  /* Presenta cada servicio */
  .service-hero {
    grid-template-columns: 1fr;
  }

  /* Ordena datos del servicio */
  .service-copy {
    padding: 28px;
  }

  /* Distribuye estadísticas */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Distribuye las categorías */
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Distribuye datos del pie */
  .footer-main {
    flex-direction: column;
  }

  /* Muestra datos finales */
  .footer-bottom {
    flex-direction: column;
  }

  /* Destaca la invitación final */
  .cta-strip {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Presenta cada página */
  .page-intro {
    padding-top: 35px;
  }
  .main-nav [data-admin-link] {
    border-top: 1px solid var(--line);
  }
}

/* Ajustes para celular */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  /* Centra el contenido principal */
  .container {
    width: calc(100% - 32px);
  }

  /* Ajusta el logo */
  .brand img {
    width: 48px;
    height: 48px;
  }

  /* Destaca el nombre */
  .brand strong {
    font-size: 16px;
  }
  .hero-copy h1 {
    font-size: 2.4rem;
  }
  .hero-copy .actions .btn {
    flex: 1;
    padding-inline: 13px;
    font-size: 11px;
  }

  /* Distribuye beneficios principales */
  .benefit-bar {
    gap: 18px 9px;
  }

  /* Alinea cada beneficio */
  .benefit {
    gap: 8px;
    font-size: 9px;
  }
  .benefit strong {
    font-size: 10px;
  }
  .benefit .icon {
    width: 18px;
  }

  /* Diseña cada tarjeta */
  .card {
    grid-template-columns: 1fr;
  }

  /* Ordena campos del formulario */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Extiende el campo completo */
  .field.full {
    grid-column: auto;
  }
  .panel,

  .auth-card {
    padding: 22px 18px;
  }
  .page-intro h1 {
    font-size: 2rem;
  }

  /* Diseña cada paso */
  .steps li {
    font-size: 9px;
    gap: 5px;
  }
  .steps li:not(:last-child):after {
    margin: 0 7px;
  }
  .steps li:before {
    min-width: 23px;
    height: 23px;
  }

  /* Distribuye horarios disponibles */
  .time-slots {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Ordena acciones finales */
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .form-actions .btn {
    margin-left: 0;
  }

  /* Ordena cada registro */
  .history-item {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
  .history-price {
    text-align: left;
  }
  .history-price .actions {
    justify-content: flex-start;
  }
  .confirmation h1 {
    font-size: 2rem;
  }

  /* Ordena título del comprobante */
  .receipt-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .receipt dl div {
    flex-direction: column;
    gap: 3px;
  }
  .receipt dd {
    text-align: left;
    overflow-wrap: anywhere;
  }

  /* Ordena enlaces del pie */
  .footer-links {
    gap: 10px 22px;
  }

  /* Diseña cada indicador */
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 24px;
  }

  /* Distribuye las categorías */
  .category-grid {
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }
}

/* Reduce movimientos opcionales */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.auth-story h2 {
  font-size: 2.7rem;
}
@media (max-width: 820px) {
  html:not(.js) .main-nav {
    display: flex;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
}

/* Estilos para imprimir */
.home-tournament {
  margin-block: 28px 36px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #65605a;
  border-radius: 16px;
  background: linear-gradient(125deg, #252525, #121212);
}
.home-tournament-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.home-tournament-heading .eyebrow { margin: 0; }
.home-tournament-status { padding: 6px 12px; border: 1px solid #999; border-radius: 20px; color: #eee; font-size: 12px; }
.home-tournament h1 { font-size: clamp(30px, 5vw, 56px); line-height: 1.12; margin-block: 20px 12px; }
.home-tournament-intro { max-width: 660px; color: #ddd; }
.home-tournament-main { margin-block: 8px 20px; }
.home-tournament-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; padding: 18px; border: 1px solid #ae8c4b; border-radius: 10px; background: #302714; color: #fff; text-decoration: none; }
.home-tournament-next:hover { background: #43351c; }
.home-tournament-next > span { color: #f1d79b; }
.home-tournament-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.home-tournament-links > a { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px; border: 1px solid #666; border-radius: 10px; background: #191919; color: #fff; text-decoration: none; }
.home-tournament-links > a:hover { background: #303030; border-color: #ddd; }
.home-tournament-links strong { font-size: 17px; line-height: 1.3; }
.home-tournament-links > a > span { font-size: 13px; color: #ccc; }
@media (max-width: 700px) {
  .home-tournament { margin-block: 16px 24px; }
  .home-tournament-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-tournament-links > a { padding: 14px 12px; }
  .home-tournament-links strong { font-size: 15px; }
  .home-tournament-links > a > span { font-size: 12px; }
  .home-tournament-main { width: 100%; }
}
.mundial-section {
  margin-block: 48px;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid #454545;
  border-radius: 16px;
  background: #111;
}
.mundial-section section { margin-top: 32px; scroll-margin-top: 110px; }
.mundial-section select { max-width: 460px; margin-block: 12px 20px; }
.mundial-upcoming { padding: clamp(16px, 3vw, 26px); border: 1px solid #705b35; border-radius: 12px; background: linear-gradient(135deg, #252015, #151515 55%); }
.mundial-upcoming h3 { margin-block: 8px 12px; }
.mundial-upcoming-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.mundial-section .mundial-upcoming-day { min-width: 0; margin: 0; padding: 18px; border: 1px solid #695632; border-radius: 10px; background: #171717; }
.mundial-upcoming-day h4 { margin: 0 0 14px; color: #f1d79b; }
.mundial-upcoming-games { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mundial-upcoming-game { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #494139; border-radius: 8px; background: #222; }
.mundial-upcoming-game time { color: #f1d79b; font-weight: bold; font-variant-numeric: tabular-nums; }
.mundial-upcoming-matchup { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
.mundial-upcoming-matchup > span { color: #f1d79b; font-weight: bold; text-transform: uppercase; }
.mundial-upcoming-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mundial-upcoming-team > span { min-width: 0; overflow-wrap: anywhere; }
.mundial-upcoming-team strong, .mundial-upcoming-team small { display: block; line-height: 1.35; }
.mundial-upcoming-team small { color: #ccc; font-size: 11px; }
.mundial-upcoming-team .mundial-flag { width: 36px; height: 25px; }
.mundial-upcoming-rest { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; color: #f1d79b; }
.mundial-upcoming-rest span { color: #ddd; }
@media (max-width: 950px) {
  .mundial-upcoming-days { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .mundial-upcoming-game { grid-template-columns: minmax(0, 1fr); }
  .mundial-upcoming-team { flex-direction: column; text-align: center; }
}
.mundial-matches, .mundial-rosters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.mundial-match, .mundial-rosters details {
  padding: 18px;
  border: 1px solid #454545;
  border-radius: 10px;
  background: #191919;
}
.mundial-score { font-size: 30px; font-weight: bold; margin-block: 12px; }
.mundial-rosters summary { cursor: pointer; min-height: 44px; font-weight: bold; }
.mundial-rosters ul { list-style: none; padding: 0; }
.mundial-rosters li { display: flex; gap: 10px; padding-block: 8px; border-bottom: 1px solid #454545; }
.mundial-number { flex: 0 0 52px; color: #ddd; }
.mundial-rosters { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.mundial-rosters details { padding: 0; overflow: hidden; }
.mundial-rosters details[hidden] { display: none; }
.mundial-rosters summary { display: flex; align-items: center; gap: 14px; padding: 20px; list-style: none; }
.mundial-rosters summary::-webkit-details-marker { display: none; }
.mundial-team-heading { flex: 1; min-width: 0; display: grid; gap: 4px; }
.mundial-team-heading strong { font-size: 18px; }
.mundial-team-heading > span { color: #ddd; font-weight: normal; }
.mundial-team-heading small { color: #aaa; font-size: 12px; font-weight: normal; }
.mundial-team-arrow { font-size: 26px; width: 24px; text-align: center; }
.mundial-rosters details[open] .mundial-team-arrow { transform: rotate(45deg); }
.mundial-rosters details[open] summary { border-bottom: 1px solid #454545; background: #242424; }
.mundial-rosters ul { margin: 0; padding: 8px 20px 16px; }
.mundial-rosters li { align-items: baseline; padding-block: 12px; line-height: 1.55; }
.mundial-rosters li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.mundial-rosters li:last-child { border-bottom: 0; }
#mundial-buscar-equipo { display: block; width: 100%; max-width: 600px; min-height: 48px; margin-top: 10px; padding: 12px; font: inherit; color: #fff; background: #202020; border: 1px solid #777; border-radius: 8px; }
#mundial-busqueda-estado { font-size: 14px; color: #ccc; }
@media (max-width: 650px) {
  .mundial-rosters { grid-template-columns: minmax(0, 1fr); }
  .mundial-rosters summary { padding: 16px; gap: 12px; }
  .mundial-section .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mundial-section .actions .btn { min-width: 0; padding-inline: 8px; font-size: 13px; text-align: center; }
  #mundial-goleadores table, #mundial-goleadores tbody { display: block; min-width: 0; width: 100%; }
  #mundial-goleadores thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  #mundial-goleadores caption { display: block; padding-inline: 12px; }
  #mundial-goleadores tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 12px; border-bottom: 1px solid #454545; }
  #mundial-goleadores td { min-width: 0; white-space: normal; padding: 6px 0; border: 0; overflow-wrap: anywhere; }
  #mundial-goleadores td[data-label] { grid-column: 2; }
  #mundial-goleadores td[data-label]::before { content: attr(data-label) ': '; color: #bbb; }
  #mundial-goleadores .mundial-player-identity { align-items: flex-start; gap: 8px; }
  #mundial-goleadores td[colspan] { grid-column: 1 / -1; }
}
.mundial-section caption { text-align: left; padding-block: 12px; }
.mundial-standings { margin-top: 20px; }
.mundial-standings caption { padding: 16px; font-size: 18px; font-weight: bold; }
.mundial-standings table { width: 100%; }
.mundial-standings th, .mundial-standings td { padding: 12px 10px; }
.mundial-standings th[scope="row"] { text-align: left; text-transform: none; letter-spacing: normal; font-weight: normal; }
.mundial-standings th small { display: block; color: #bbb; font-size: 12px; font-weight: normal; }
.mundial-standings td { text-align: center; }
.mundial-points { font-weight: bold; color: #f3d98e; }
.mundial-legend { font-size: 13px; color: #ccc; }
@media (max-width: 650px) {
  .mundial-standings { border: 0; background: transparent; overflow: visible; }
  .mundial-standings table, .mundial-standings tbody { display: block; width: 100%; min-width: 0; }
  .mundial-standings caption { display: block; padding-inline: 0; }
  .mundial-standings thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .mundial-standings tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; padding: 14px; border: 1px solid #555; border-radius: 12px; background: #191919; }
  .mundial-standings td, .mundial-standings th { min-width: 0; padding: 8px 2px; border: 0; white-space: normal; font-size: 15px; }
  .mundial-standings td:first-child { grid-column: 1; align-self: center; font-size: 22px; font-weight: bold; }
  .mundial-standings th[scope="row"] { grid-column: 2 / -1; background: transparent; }
  .mundial-standings .mundial-player-identity { gap: 8px; }
  .mundial-standings td[data-stat] { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; border-top: 1px solid #444; }
  .mundial-standings td[data-stat]::before { content: attr(data-stat); color: #ccc; font-size: 11px; font-weight: normal; line-height: 1.4; }
}

.mundial-section select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #777;
  border-radius: 8px;
  color: #f8fafc;
  background: #202020;
  font: inherit;
}
.mundial-match { text-align: center; background: linear-gradient(145deg, #242424, #121212); }
.mundial-match > span { font-size: 11px; color: #ccc; letter-spacing: 1px; }
.mundial-matchup { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.mundial-side { min-width: 0; }
.mundial-side h4 { margin: 12px 0 6px; }
.mundial-side small { display: block; color: #ccc; line-height: 1.4; }
.mundial-flag { width: 48px; height: 32px; object-fit: contain; flex-shrink: 0; border-radius: 3px; }
.mundial-side .mundial-flag { width: 64px; height: 44px; }
.mundial-player-identity { display: flex; align-items: center; gap: 12px; }
.mundial-player-identity .mundial-flag { width: 32px; height: 22px; }
.mundial-mvp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mundial-mvp-card { margin: 0; overflow: hidden; border: 1px solid #555; border-radius: 12px; background: #191919; }
.mundial-mvp-card > a { display: block; }
.mundial-mvp-card > a > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.mundial-mvp-card figcaption { padding: 18px; }
.mundial-mvp-card figcaption small { color: #e5cb87; font-size: 11px; letter-spacing: 1px; }
.mundial-mvp-card h4 { margin-block: 12px; }
@media (max-width: 900px) {
  .mundial-mvp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mundial-mvp-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  body {
    background: white;
    color: black;
    font:
      12px Arial,
      sans-serif;
  }
  .site-header,
  .site-footer,
  .breadcrumb,
  .actions,
  .notice,
  .skip-link,
  .no-print,

  .steps {
    display: none !important;
  }

  /* Centra el contenido principal */
  .container {
    width: 100%;
  }

  /* Centra la confirmación */
  .confirmation {
    max-width: none;
    padding: 0;
  }

  /* Agrupa contenido relacionado */
  .panel {
    border: 1px solid #999;
    background: white;
    color: black;
  }
  .receipt dt,
  .receipt dd,
  .muted {
    color: #222;
  }
  .print-only {
    display: block;
  }

  /* Marca la operación exitosa */
  .success-seal {
    display: none;
  }
  .receipt .brand img {
    width: 70px;
    height: 70px;
  }
  .receipt .brand strong {
    color: black;
  }

  /* Diseña etiquetas pequeñas */
  .tag {
    color: #222;
    border-color: #666;
  }
  h1 {
    font-size: 26px !important;
  }
  .total strong {
    color: black;
  }

  /* Ordena título del comprobante */
  .receipt-heading {
    display: flex;
  }
  .receipt dl div {
    display: flex;
    flex-direction: row;
  }
}

/* Fotos y anuncios reales */

/* Ajusta imágenes principales */
.hero-photo,
.service-photo,

.flyer {
  margin: 0;
  min-width: 0;
}

/* Presenta la foto principal */
.hero-photo {
  padding: 30px 0 30px 20px;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
}
figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.hero-photo figcaption {
  padding-inline: 0;
}
.court-photo {
  object-position: center 70%;
}
.match-photo {
  object-position: center 78%;
}
.family-photo {
  object-position: center 65%;
}
.photo-cards .card {
  display: flex;
  flex-direction: column;
}
.photo-cards .card-content {
  height: auto;
  flex: 1;
}

/* Recorta fotos de tarjetas */
.card-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.with-photo {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* Enmarca imagen del servicio */
.service-photo {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.service-photo img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  flex: 1;
  min-height: 0;
}
.service-photo.team-photo {
  justify-content: center;
}
.service-photo.team-photo img {
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  flex: none;
}

/* Distribuye anuncio y datos */
.flyer-feature {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-block: 48px;
  scroll-margin-top: 30px;
}

/* Enmarca cada anuncio */
.flyer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.flyer img {
  display: block;
  width: 100%;
  height: auto;
}

/* Ordena datos del evento */
.event-facts {
  margin: 24px 0;
}
.event-facts > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.event-facts dt {
  font-size: 12px;
  color: var(--muted);
}
.event-facts dd {
  margin: 2px 0 0;
  font-weight: 600;
}
.upcoming-tournaments,
.school-schedules,
.school-flyers {
  margin-block: 42px;
}

/* Distribuye los anuncios */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 880px;
  margin-inline: auto;
  align-items: start;
}
.school-flyers > p {
  color: var(--muted);
}
@media (max-width: 820px) {

  /* Presenta la foto principal */
  .hero-photo {
    padding: 12px 0 30px;
  }
  .hero-photo img {
    height: 340px;
  }
  .with-photo,

  .flyer-feature {
    grid-template-columns: 1fr;
  }

  /* Distribuye anuncio y datos */
  .flyer-feature {
    gap: 28px;
  }
  .flyer-feature .flyer {
    width: min(100%, 440px);
    margin-inline: auto;
  }
  .service-photo img {
    height: 340px;
    flex: none;
  }

  /* Recorta fotos de tarjetas */
  .card-photo {
    height: 240px;
  }
}
@media (max-width: 540px) {

  /* Distribuye los anuncios */
  .flyer-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo img {
    height: 300px;
  }
}

/* Datos del próximo torneo */

/* Ordena datos del torneo */
.tournament-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px 24px;
}
#pasochoa-sexta {
  scroll-margin-top: 24px;
}

/* Pagos y contacto */

/* Ajusta el selector circular */
.payment-choice input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

/* Evita desbordar el texto */
.payment-choice > span {
  min-width: 0;
}

/* Ajusta imagen del método */
.payment-choice .payment-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

/* Destaca nombre del método */
.payment-choice strong {
  font-size: 15px;
  line-height: 1.45;
}

/* Explica cada método */
.payment-choice small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 4px;
}

/* Marca la opción enfocada */
.payment-choice:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Enmarca los datos bancarios */
.bank-details {
  padding: 22px;
  margin: 18px 0;
  background: var(--surface2);
  border: 1px solid #858585;
  border-radius: var(--radius);
  text-align: left;
}
.bank-details h2 {
  font-size: 1.15rem;
}

/* Ordena los datos bancarios */
.bank-details dl {
  margin: 0;
}
.bank-details dl > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.bank-details dt {
  color: var(--muted);
  font-size: 14px;
}
.bank-details dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bank-details p,
.payment-scope {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.bank-details p {
  margin: 16px 0 0;
}

/* Separa contacto del pago */
.payment-contact {
  margin-bottom: 20px;
}

/* Diseña enlaces de contacto */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Ajusta icono de contacto */
.contact-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  border-radius: 5px;
}

/* Agrupa las redes sociales */
.social-links {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
}

/* Agrupa contacto del pie */
.footer-contact {
  min-width: 0;
}
.footer-contact-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-contact .social-links {
  flex-direction: column;
  gap: 3px;
}

/* Distribuye datos del pie */
.footer-main {
  flex-wrap: wrap;
  gap: 30px;
}

/* Separa redes del torneo */
.tournament-social {
  margin-top: 16px;
}

/* Ordena pagos en efectivo */
.cash-report {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

/* Diseña cada pago pendiente */
.cash-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #858585;
  border-radius: var(--radius);
  background: var(--surface);
}
.cash-item h3 {
  margin-bottom: 5px;
}
.cash-item p {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.cash-item .btn {
  flex-shrink: 0;
}
@media (max-width: 480px) {

  /* Diseña cada opción */
  .payment-choice {
    padding: 15px 12px;
    gap: 10px;
  }

  /* Ajusta imagen del método */
  .payment-choice .payment-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  /* Enmarca los datos bancarios */
  .bank-details {
    padding: 18px;
  }
  .bank-details dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* Diseña cada pago pendiente */
  .cash-item {
    align-items: stretch;
    flex-direction: column;
  }
}
@media print {
  .footer-contact,
  #cash-contact,
  #change-payment {
    display: none !important;
  }
}

/* Ajustes visuales finales */
:root {
  --bg: #0c0e0f;
  --surface: #171a1b;
  --surface2: #222628;
  --line: #454c4f;
  --text: #f4f5f5;
  --muted: #bec4c6;
  --accent: #cbd0d2;
  --accent-soft: #f0f2f3;
  --steel: #969ea2;
  --steel-dark: #626b70;
  --steel-glow: rgba(205, 212, 215, 0.13);
  --radius: 12px;
}

body {
  background:
    radial-gradient(circle at 84% 3%, rgba(178, 185, 188, 0.12), transparent 28rem),
    linear-gradient(180deg, #0e1011 0%, var(--bg) 55%, #0a0c0d 100%);
  background-attachment: fixed;
  font-size: 16px;
}

/* Diseña el encabezado */
.site-header {
  background: rgba(13, 15, 16, 0.96);
  border-bottom-color: #51595d;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

/* Ordena logo y menú */
.nav-wrap {
  min-height: 102px;
}

/* Alinea logo y nombre */
.brand {
  gap: 15px;
}

.site-header .brand img {
  width: 72px;
  height: 68px;
  border: 1px solid #697175;
  border-radius: 14px;
  box-shadow:
    0 0 0 3px rgba(207, 213, 216, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.site-header .brand strong {
  font-size: 20px;
  color: var(--accent-soft);
}

.site-header .brand small {
  margin-top: 6px;
  color: var(--accent);
  font-size: 10px;
}

/* Diseña enlaces del menú */
.main-nav a {
  position: relative;
  color: #d9ddde;
  font-size: 13px;
}

.main-nav a[aria-current="page"],

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}

/* Diseña el menú móvil */
.menu-toggle {
  background: linear-gradient(145deg, #202426, #121415);
  border-color: var(--steel-dark);
}

/* Diseña botones principales */
.btn {
  border-color: #d7dbdd;
  background: linear-gradient(135deg, #f3f5f5 0%, #cbd0d2 52%, #aeb5b8 100%);
  color: #0b0d0e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 9px 24px rgba(0, 0, 0, 0.22);
}

/* Aclara el botón señalado */
.btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #dde1e2 58%, #bdc3c6 100%);
}

/* Diseña botones secundarios */
.btn.secondary {
  border-color: #737c80;
  background: linear-gradient(145deg, rgba(53, 59, 62, 0.72), rgba(22, 25, 26, 0.9));
}

.btn.secondary:hover {
  border-color: var(--accent);
  background: linear-gradient(145deg, #343a3d, #202425);
}

/* Diseña botones discretos */
.btn.quiet {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--accent-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(188, 196, 199, 0.06), transparent 38%),
    radial-gradient(circle at 72% 46%, rgba(194, 201, 204, 0.1), transparent 32%);
}

.hero-photo img,
.service-photo img,

.card-photo {
  border: 1px solid #525a5e;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

/* Cambia el fondo alterno */
.section.alt {
  background: linear-gradient(135deg, #151819 0%, #101213 52%, #1a1d1e 100%);
  border-color: #3f4649;
}

.card,
.service-hero,
.panel,
.auth-card,
.stat,
.mail-item,
.category,
.flyer,
.map-frame,

.cash-item {
  border-color: #485054;
  background: linear-gradient(145deg, rgba(34, 38, 40, 0.97), rgba(19, 22, 23, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

/* Destaca la invitación final */
.cta-strip {
  border-color: #596267;
  background:
    linear-gradient(120deg, rgba(95, 105, 110, 0.2), transparent 46%),
    linear-gradient(145deg, #232729, #151819);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

/* Diseña campos editables */
.field input,
.field select,
.field textarea {
  border-color: #697277;
  background: #111415;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-soft);
  background: #171a1b;
}

.field input[readonly] {
  background: #24282a;
  color: #d9ddde;
}

.field label,
legend {
  font-size: 13px;
}

.field small,
.footer-bottom,
th,
.tag,
.eyebrow {
  font-size: 11px;
}

/* Diseña cada opción */
.payment-choice {
  border-color: #697277;
  background: rgba(20, 23, 24, 0.72);
}

/* Resalta la opción elegida */
.payment-choice:has(input:checked) {
  border-color: #cbd0d2;
  background: linear-gradient(110deg, rgba(173, 181, 185, 0.2), transparent 54%), #292e30;
  box-shadow: inset 4px 0 0 var(--accent);
}

.bank-details,
.success-seal,

.profile-avatar {
  border-color: #697277;
  background: linear-gradient(145deg, #292e30, #1c2022);
}

/* Permite desplazar tablas */
.table-wrap {
  border-color: #50585c;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

caption,
th {
  background: #262b2d;
}

td {
  color: #e3e6e7;
}

.auth-story .mini-brand {
  width: 195px;
  border: 1px solid #697175;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

/* Diseña el pie de página */
.site-footer {
  background: linear-gradient(180deg, rgba(17, 20, 21, 0.55), #090b0c);
  border-top-color: #454c4f;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: #70797d;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  }

  /* Aclara el botón señalado */
  .btn:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 1050px) {
  .site-header .brand strong {
    font-size: 17px;
  }

  .site-header .brand small {
    font-size: 9px;
  }
}

@media (max-width: 820px) {

  /* Ordena logo y menú */
  .nav-wrap {
    min-height: 84px;
  }

  /* Ordena enlaces principales */
  .main-nav {
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .main-nav a[aria-current="page"]::after {
    right: auto;
    width: 46px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  /* Alinea logo y nombre */
  .brand {
    gap: 10px;
  }

  .site-header .brand img {
    width: 58px;
    height: 55px;
    border-radius: 11px;
  }

  .site-header .brand strong {
    font-size: 16px;
  }

  .site-header .brand small {
    max-width: 145px;
    font-size: 8px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover,

  .btn:hover {
    transform: none;
  }
}

@media print {
  body,
  .site-footer,

  .section.alt {
    background: white;
    color: black;
  }

  .panel,
  .card,
  .service-hero,

  .confirmation .receipt {
    background: white;
    box-shadow: none;
  }
}
