/* ===========================================================
   Fairlane Acres — Hoja de estilos principal
   Paleta: verde esmeralda + azul marino + dorado/ámbar
   =========================================================== */

:root {
  --verde-esmeralda: #0f8b5c;
  --verde-esmeralda-oscuro: #0a6b46;
  --verde-esmeralda-claro: #1fb578;
  --azul-marino: #0b1d33;
  --azul-marino-claro: #132b4a;
  --azul-marino-suave: #1c3a5e;
  --dorado: #d9a441;
  --dorado-claro: #f0c777;
  --dorado-oscuro: #b6842b;
  --blanco: #ffffff;
  --gris-claro: #f4f7f5;
  --gris-medio: #dbe3de;
  --gris-texto: #4a5a56;
  --texto-oscuro: #10201c;
  --sombra: 0 6px 18px rgba(11, 29, 51, 0.12);
  --radio: 14px;
  --fuente: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --max-ancho: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fuente);
  color: var(--texto-oscuro);
  background: var(--blanco);
  line-height: 1.6;
  min-width: 300px;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

.imagen-ligas {
  width: 100%;
  height: auto;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

a {
  color: var(--verde-esmeralda-oscuro);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: max(1px, 0.06em);
}

a:hover, a:focus {
  text-decoration-thickness: max(2px, 0.08em);
}

/* Elementos de navegación / botones: se distinguen por forma, posición y fondo,
   no solo por color, así que no necesitan subrayado de texto en línea. */
.brand,
.skip-link,
.main-nav a,
.btn,
.footer-col a,
.back-to-top {
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a:focus,
.btn:hover,
.footer-col a:hover,
.back-to-top:hover {
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--fuente);
  color: var(--azul-marino);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }

p { margin: 0 0 1rem; }

ul, ol {
  padding-left: 1.3rem;
}

.container {
  max-width: var(--max-ancho);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dorado);
  color: var(--azul-marino);
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ===================== HEADER / NAV ===================== */

.site-header {
  background: var(--azul-marino);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--sombra);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-ancho);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blanco);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand span.marca-acres {
  color: var(--dorado-claro);
}

.burger-btn {
  display: none;
  background: transparent;
  border: 2px solid var(--dorado);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.burger-btn span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--dorado-claro);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger-btn span:nth-child(1) { top: 12px; }
.burger-btn span:nth-child(2) { top: 19px; }
.burger-btn span:nth-child(3) { top: 26px; }

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  color: var(--blanco);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.4rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--azul-marino-claro);
  color: var(--dorado-claro);
  text-decoration: none;
}

.nav-cta {
  background: var(--verde-esmeralda);
  color: var(--blanco) !important;
}
.nav-cta:hover {
  background: var(--verde-esmeralda-claro);
  color: var(--azul-marino) !important;
}

@media (max-width: 991px) {
  .burger-btn {
    display: inline-block;
  }
  .main-nav {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 86vw);
    background: var(--azul-marino-claro);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 5rem 1.25rem 2rem;
    box-shadow: -8px 0 24px rgba(0,0,0,0.3);
  }
  .main-nav.abierto {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }
  .main-nav a {
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 22, 0.55);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
  }
  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}

/* ===================== BOTONES ===================== */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--dorado);
  color: var(--azul-marino);
}
.btn-primary:hover {
  background: var(--dorado-claro);
  box-shadow: var(--sombra);
}

.btn-secondary {
  background: transparent;
  border-color: var(--blanco);
  color: var(--blanco);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--azul-marino);
  color: var(--azul-marino);
}
.btn-outline-dark:hover {
  background: var(--azul-marino);
  color: var(--blanco);
}

.btn-verde {
  background: var(--verde-esmeralda);
  color: var(--blanco);
}
.btn-verde:hover {
  background: var(--verde-esmeralda-claro);
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ===================== HERO ===================== */

.hero {
  background: linear-gradient(160deg, var(--azul-marino) 0%, var(--azul-marino-suave) 55%, var(--verde-esmeralda-oscuro) 130%);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-contenido {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-contenido > div {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-contenido .hero-badge {
  margin: 0 auto 1.25rem;
}

.hero-contenido h1 {
  max-width: 22ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.25rem;
}

.hero-contenido .subtitulo {
  max-width: 68ch;
  margin: 0 auto 1.1rem;
  font-size: 1.2rem;
}

.hero-contenido .cta-row {
  justify-content: center;
  margin-top: 2rem;
  gap: 1.25rem;
}

.hero h1 {
  color: var(--blanco);
}

.hero-pitch-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero p.subtitulo {
  font-size: 1.15rem;
  color: #dfe9f0;
  max-width: 40ch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 164, 65, 0.16);
  border: 1px solid var(--dorado);
  color: var(--dorado-claro);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}

/* ===================== SECCIONES / PAGE HEADER ===================== */

.page-header {
  background: linear-gradient(135deg, var(--azul-marino) 0%, var(--verde-esmeralda-oscuro) 100%);
  color: var(--blanco);
  padding: 3.5rem 0 4rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 88% 12%, rgba(217, 164, 65, 0.22) 0%, rgba(217, 164, 65, 0) 42%),
    radial-gradient(circle at 6% 92%, rgba(31, 181, 120, 0.22) 0%, rgba(31, 181, 120, 0) 45%);
}

.page-header::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(240, 199, 119, 0.25);
  border-radius: 50%;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--blanco);
  position: relative;
  display: inline-block;
  padding-bottom: 0.85rem;
  margin-bottom: 0.9rem;
}

.page-header h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--dorado);
}

.page-header p {
  color: #e3ecf1;
  max-width: 62ch;
  font-size: 1.1rem;
}

section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--gris-claro);
}

.section-titulo {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.section-titulo p {
  color: var(--gris-texto);
}

.eyebrow {
  color: var(--verde-esmeralda-oscuro);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* ===================== GRIDS / CARDS ===================== */

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--blanco);
  border: 1px solid var(--gris-medio);
  border-radius: var(--radio);
  padding: 1.6rem;
  box-shadow: var(--sombra);
  height: 100%;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card svg.icono-card {
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
}

.card-oscura {
  background: var(--azul-marino);
  color: var(--blanco);
}
.card-oscura h3 { color: var(--dorado-claro); }
.card-oscura p { color: #d5e0e8; }

/* Testimonios */
.testimonio {
  background: var(--gris-claro);
  border-left: 4px solid var(--dorado);
  border-radius: var(--radio);
  padding: 1.5rem;
  height: 100%;
}
.testimonio p.cita {
  font-style: italic;
  color: var(--texto-oscuro);
}
.testimonio .autor {
  font-weight: 700;
  color: var(--verde-esmeralda-oscuro);
  margin-top: 0.8rem;
  font-style: normal;
}

/* Pasos numerados */
.paso {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.paso .numero {
  background: var(--dorado);
  color: var(--azul-marino);
  font-weight: 800;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ===================== TABLAS ===================== */

.tabla-wrapper {
  overflow-x: auto;
  border-radius: var(--radio);
  border: 1px solid var(--gris-medio);
  box-shadow: var(--sombra);
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--blanco);
}

table caption {
  text-align: left;
  padding: 0.8rem 1rem 0;
  font-weight: 700;
  color: var(--azul-marino);
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gris-medio);
  font-size: 0.95rem;
}

thead th {
  background: var(--azul-marino);
  color: var(--blanco);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: var(--gris-claro);
}

tbody tr:hover {
  background: #eaf6ef;
}

.tabla-destacada th.col-premium,
.tabla-destacada td.col-premium {
  background: rgba(217, 164, 65, 0.12);
}

/* ===================== FAQ / ACORDEON ===================== */

.faq-item {
  border: 1px solid var(--gris-medio);
  border-radius: var(--radio);
  margin-bottom: 0.9rem;
  overflow: hidden;
  background: var(--blanco);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.05rem 1.3rem;
  list-style: none;
  position: relative;
  color: var(--azul-marino);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--verde-esmeralda);
  font-size: 1.4rem;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-respuesta {
  padding: 0 1.3rem 1.2rem;
  color: var(--gris-texto);
}

/* ===================== FORMULARIOS ===================== */

.formulario {
  display: grid;
  gap: 1.1rem;
  max-width: 640px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.campo label {
  font-weight: 700;
  color: var(--azul-marino);
  font-size: 0.92rem;
}

.campo input,
.campo select,
.campo textarea {
  font-family: var(--fuente);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--gris-medio);
  border-radius: 10px;
  background: var(--blanco);
  color: var(--texto-oscuro);
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--verde-esmeralda);
}

.campo-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.campo-checkbox input { width: 18px; height: 18px; margin-top: 0.2rem; }

.campo.campo-error input,
.campo.campo-error select,
.campo.campo-error textarea {
  border-color: #d64545;
}

.campo-error-texto {
  display: none;
  color: #9c1c12;
  font-size: 0.85rem;
  font-weight: 600;
}

.campo.campo-error .campo-error-texto {
  display: block;
}

.mensaje-confirmacion {
  display: none;
  background: #e6f6ee;
  border: 2px solid var(--verde-esmeralda);
  color: var(--verde-esmeralda-oscuro);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}
.mensaje-confirmacion.visible {
  display: block;
}

.mensaje-confirmacion.error {
  background: #fdeceb;
  border-color: #d64545;
  color: #9c1c12;
}

/* ===================== CAJAS INFO / AVISOS ===================== */

.caja-info {
  background: #eef6f1;
  border-left: 4px solid var(--verde-esmeralda);
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  margin: 1.4rem 0;
}

.caja-alerta {
  background: #fdf3e3;
  border-left: 4px solid var(--dorado);
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  margin: 1.4rem 0;
}

.disclaimer {
  font-size: 0.88rem;
  color: var(--gris-texto);
  border-top: 1px dashed var(--gris-medio);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ===================== CONTENIDO LEGAL ===================== */

.legal-contenido h2 {
  margin-top: 2.2rem;
  border-bottom: 2px solid var(--dorado);
  padding-bottom: 0.5rem;
}
.legal-contenido h2:first-of-type { margin-top: 0; }
.legal-contenido h3 {
  margin-top: 1.3rem;
}
.legal-contenido section {
  padding: 0;
}
.indice-legal {
  background: var(--gris-claro);
  border-radius: var(--radio);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
}
.indice-legal ol {
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 700px) {
  .indice-legal ol { columns: 1; }
}

/* ===================== PRICING ===================== */

.precio {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--azul-marino);
}
.precio span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gris-texto);
}

.plan-card {
  display: flex;
  flex-direction: column;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  flex-grow: 1;
}
.plan-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gris-medio);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.plan-card.destacado {
  border: 2px solid var(--dorado);
  position: relative;
}
.etiqueta-popular {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--dorado);
  color: var(--azul-marino);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* ===================== FOOTER ===================== */

.site-footer {
  background: var(--azul-marino);
  color: #c9d6e0;
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand svg {
  width: 38px;
  height: 38px;
}
.footer-brand .brand {
  margin-bottom: 0.8rem;
}
.footer-brand p {
  color: #a9bbca;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: var(--dorado-claro);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  color: #c9d6e0;
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--dorado-claro);
}

.footer-contacto li {
  font-size: 0.92rem;
  color: #c9d6e0;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #93a6b6;
}

.footer-legal-nota {
  font-size: 0.82rem;
  color: #93a6b6;
  max-width: 900px;
  margin: 1rem 0 0;
}

.footer-responsable {
  font-size: 0.82rem;
  color: #8fd6b0;
  margin-top: 0.6rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--dorado-claro);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===================== UTILIDADES ===================== */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.lista-check { list-style: none; padding: 0; }
.lista-check li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}
.lista-check svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.franja-dorada {
  background: linear-gradient(120deg, var(--dorado-oscuro), var(--dorado));
  color: var(--azul-marino);
  padding: 2.5rem 0;
  text-align: center;
}
.franja-dorada h2 { color: var(--azul-marino); }

@media (max-width: 300px) {
  .container { padding: 0 0.75rem; }
}

/* ===================== CALCULADORA DE PRESUPUESTO ===================== */

.calculadora-jugadores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.5rem 0 2rem;
}

@media (max-width: 900px) {
  .calculadora-jugadores { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .calculadora-jugadores { grid-template-columns: 1fr; }
}

.calculadora-jugador {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--blanco);
  border: 1px solid var(--gris-medio);
  border-radius: var(--radio);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.calculadora-jugador:hover {
  border-color: var(--verde-esmeralda);
  box-shadow: var(--sombra);
}

.calculadora-jugador input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--verde-esmeralda);
  flex-shrink: 0;
}

.calculadora-jugador.seleccionado {
  border-color: var(--verde-esmeralda);
  background: #eef8f2;
}

.calculadora-jugador .info-jugador {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.calculadora-jugador .nombre-jugador {
  font-weight: 700;
  color: var(--azul-marino);
}

.calculadora-jugador .detalle-jugador {
  font-size: 0.85rem;
  color: var(--gris-texto);
}

.calculadora-jugador .precio-jugador {
  font-weight: 800;
  color: var(--verde-esmeralda-oscuro);
}

.calculadora-resumen {
  position: sticky;
  bottom: 1rem;
  background: var(--azul-marino);
  color: var(--blanco);
  border-radius: var(--radio);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--sombra);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0;
}

.calculadora-resumen .dato-resumen {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.calculadora-resumen .dato-resumen .etiqueta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #a9bbca;
}

.calculadora-resumen .dato-resumen .valor {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dorado-claro);
}

.calculadora-resumen .dato-resumen .valor.valor-restante-negativo {
  color: #ff8a80;
}

.calculadora-alerta {
  display: none;
  background: #fdeceb;
  border: 2px solid #d64545;
  color: #9c1c12;
  border-radius: 10px;
  padding: 1rem 1.3rem;
  font-weight: 700;
  margin: 1.2rem 0;
}

.calculadora-alerta.visible {
  display: block;
}

.calculadora-jugador.no-disponible {
  cursor: not-allowed;
  background: var(--gris-claro, #f3f5f7);
  border-style: dashed;
}

.calculadora-jugador.no-disponible:hover {
  border-color: var(--gris-medio);
  box-shadow: none;
}

/* En vez de atenuar con opacidad (lo que arrastra el texto por debajo del
   contraste mínimo AA), usamos color gris de marca + tachado en el precio:
   el estado "no disponible" se transmite por texto/forma, no solo por color. */
.calculadora-jugador.no-disponible .nombre-jugador,
.calculadora-jugador.no-disponible .detalle-jugador {
  color: var(--gris-texto);
}
.calculadora-jugador.no-disponible .precio-jugador {
  color: var(--gris-texto);
  text-decoration: line-through;
}
.calculadora-jugador.no-disponible .icono-card,
.calculadora-jugador.no-disponible svg {
  opacity: 0.6;
}

.calculadora-jugador input[type="checkbox"]:disabled {
  cursor: not-allowed;
  accent-color: var(--gris-medio);
}

.calculadora-barra {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin: 0 0 1.2rem;
}

.calculadora-barra-relleno {
  height: 100%;
  border-radius: 999px;
  background: var(--verde-esmeralda);
  width: 0%;
  transition: width 0.2s ease, background 0.2s ease;
}

.calculadora-barra-relleno.al-limite {
  background: var(--dorado);
}
