:root {
  --color-primary: #0076ea;
  --color-primary-dark: #0059b3;
  --color-text: #10233d;
  --color-muted: #54657b;
  --color-bg: #ffffff;
  --color-soft: #f4f9ff;
  --color-border: #cfe1f5;
  --color-surface: #f8fbff;
  --color-accent: #e9f4ff;
  --shadow-sm: 0 8px 24px rgba(16, 35, 61, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 35, 61, 0.12);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --container: min(1120px, calc(100% - 2rem));
  --space-1: clamp(0.75rem, 1vw, 1rem);
  --space-2: clamp(1rem, 1.8vw, 1.5rem);
  --space-3: clamp(1.5rem, 2.5vw, 2.25rem);
  --space-4: clamp(2rem, 3vw, 3rem);
  --space-5: clamp(3rem, 5vw, 5rem);
  --step--1: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  --step-0: clamp(1rem, 0.96rem + 0.3vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.08rem + 0.6vw, 1.55rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
  --step-3: clamp(2rem, 1.7rem + 1.7vw, 3.2rem);
  --step-4: clamp(2.45rem, 2rem + 2.3vw, 4rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(0, 118, 234, 0.08), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
a:hover { text-decoration: none; }
:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 1rem; }
.container, .breadcrumbs ol { width: var(--container); margin: 0 auto; }
.section { padding: clamp(0.2rem, 0.5vw, 0.45rem) 0 var(--space-5); }
.section--alt { background: rgba(255, 255, 255, 0.68); }
.section--programas {
  background:
    linear-gradient(180deg, rgba(239, 247, 255, 0.96) 0%, rgba(232, 243, 255, 0.92) 100%);
}
.section--instalaciones-home {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.98) 0%, rgba(236, 244, 252, 0.92) 100%);
}
.section--confianza {
  background:
    linear-gradient(180deg, rgba(243, 248, 255, 0.96) 0%, rgba(233, 240, 250, 0.92) 100%);
}
.narrow { max-width: 780px; }
.intro-xanadu { max-width: 980px; }
.intro-xanadu p {
  font-size: clamp(1.22rem, 1.08rem + 0.42vw, 1.5rem);
  line-height: 1.75;
  color: var(--color-text);
}
.card-grid--xanadu .card__body {
  text-align: center;
}
.card-grid--xanadu .card__body h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.55vw, 1.85rem);
  line-height: 1.12;
  margin-bottom: 0.9rem;
}
.card-grid--xanadu .card__body p {
  text-align: center;
}
.card-grid--xanadu .text-link {
  display: inline-flex;
  justify-content: center;
}
.section-heading--xanadu-links {
  max-width: 1200px;
}
.section-heading--xanadu-links p {
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(207,225,245,0.9);
  overflow: visible;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 66px;
  padding: 0.4rem 0;
  position: relative;
  overflow: visible;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  display: block;
  width: auto;
  max-width: none;
  height: clamp(42px, 5.4vw, 70px);
  aspect-ratio: 214 / 120;
  object-fit: contain;
}
.primary-nav ul, .footer-list, .breadcrumbs ol, .contact-list { list-style: none; padding: 0; margin: 0; }
.primary-nav--desktop { display: none; }
.primary-nav a {
  display: inline-flex;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a.is-active, .primary-nav a:hover { background: var(--color-accent); color: var(--color-primary-dark); }
.header-cta { display: none; }
.nav-toggle { margin-left: auto; position: relative; }
.nav-toggle summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: min(90vw, 340px);
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  z-index: 90;
}
.nav-toggle__panel .primary-nav ul { display: grid; gap: 0.35rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
}
.button--primary { background: var(--color-primary); color: #fff; }
.button--primary:hover { background: var(--color-primary-dark); color: #fff; }
.button--secondary { background: #fff; color: var(--color-primary-dark); border-color: var(--color-border); }
.button--ghost { background: transparent; color: var(--color-primary-dark); border-color: var(--color-primary); }
.button--nav {
  width: 100%;
  margin-top: 1rem;
  min-height: 2.45rem;
  padding: 0.62rem 0.92rem;
  font-size: 0.9rem;
}
.header-cta {
  min-height: 2.45rem;
  padding: 0.62rem 0.92rem;
  font-size: 0.9rem;
}
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  background: #19c37d;
  color: #fff;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.whatsapp-float:hover { color: #fff; filter: brightness(0.95); }
.hero {
  padding: 0 0 clamp(2rem, 5vw, 3rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hero > .container.hero__grid,
.hero > .hero__grid {
  width: 100vw;
  max-width: none;
  margin: 0;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
  min-height: min(82svh, 700px);
  padding: clamp(3rem, 4.8vw, 4.35rem) clamp(1.2rem, 6vw, 5.75rem) clamp(2rem, 5vw, 3.25rem);
  overflow: clip;
  isolation: isolate;
  background: #0c2440;
}
.hero__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.64) 0%, rgba(8, 24, 45, 0.5) 30%, rgba(8, 24, 45, 0.2) 58%, rgba(8, 24, 45, 0.52) 100%),
    linear-gradient(180deg, rgba(235, 243, 255, 0.18) 0%, rgba(8, 24, 45, 0.18) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(700px, 100%);
  padding: 0;
}
.hero__content h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.45rem, 1.95rem + 2.1vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  max-width: 11ch;
  color: #fff;
  text-shadow: 0 12px 30px rgba(8, 24, 45, 0.34);
}
.hero__content h1.hero-title--home {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 1.5rem + 1.15vw, 2.95rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 13ch;
}
.page-home .hero__content {
  max-width: min(860px, 100%);
}
.page-home .hero__content h1.hero-title--home {
  max-width: 28ch;
}
.page-home main .section:not(.hero) {
  padding-top: clamp(0.35rem, 0.9vw, 0.7rem);
}
.page-home main .section .section-heading,
.page-home main .section .split > div > h2,
.page-home main .section .container > h2 {
  margin-top: 0;
}
.hero--multideporte-alt .hero__content h1.hero-title--section {
  max-width: none;
}
.hero--multideporte-alt .hero__content h1.hero-title--section img {
  width: min(100%, 572px);
}
.hero--multideporte-alt .hero__grid::before {
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.34) 0%, rgba(8, 24, 45, 0.22) 30%, rgba(8, 24, 45, 0.05) 58%, rgba(8, 24, 45, 0.24) 100%),
    linear-gradient(180deg, rgba(235, 243, 255, 0.08) 0%, rgba(8, 24, 45, 0.05) 100%);
}
.hero--multideporte-alt .hero__media img {
  filter: saturate(1.04) brightness(0.98);
  transform: scale(1.08);
}
.hero--xanadu .hero__content {
  max-width: min(860px, 100%);
}
.hero--xanadu .hero__content h1 {
  max-width: 72ch;
  font-size: clamp(2.2rem, 1.82rem + 1.42vw, 3.5rem);
  line-height: 1.06;
}
.hero--xanadu .hero__grid {
  min-height: min(68svh, 560px);
  padding-top: clamp(0.9rem, 1.8vw, 1.5rem);
  padding-bottom: clamp(2.4rem, 4vw, 3.4rem);
}
.hero--xanadu .hero__media img {
  object-position: 88% center;
  transform: scale(1.06);
}
.hero--xanadu .hero__content h1 {
  margin-bottom: 0.8rem;
}
.hero--multideporte-alt .hero__content .hero-title-note {
  display: block;
  font-size: clamp(2.2rem, 1.6rem + 1.15vw, 3rem);
  line-height: 1.08;
  text-align: center;
}
.hero--multideporte-alt .hero__content .hero-copy-justified {
  text-align: justify;
  text-justify: inter-word;
}
.hero--multideporte-alt .hero__content .hero-copy-compact {
  max-width: 78ch;
  font-size: clamp(1.14rem, 1rem + 0.38vw, 1.34rem);
}
.hero--multideporte-alt .hero__content .button-row {
  justify-content: center;
}
.hero__content h1.hero-title--section {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.45rem, 1.95rem + 2.1vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero__content p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 24px rgba(8, 24, 45, 0.34);
}
.hero__media {
  position: absolute;
  inset: -1.25rem;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.92) brightness(0.72);
  transform: scale(1.04);
}
.hero--competition-page .hero__grid::before {
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.48) 0%, rgba(8, 24, 45, 0.34) 30%, rgba(8, 24, 45, 0.1) 58%, rgba(8, 24, 45, 0.4) 100%),
    linear-gradient(180deg, rgba(235, 243, 255, 0.12) 0%, rgba(8, 24, 45, 0.1) 100%);
}
.hero--competition-page .hero__media img {
  filter: saturate(1.02) brightness(0.9);
  transform: scale(1.01);
}
.hero--home .hero__content { padding-top: 0; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.2rem 1rem;
  margin-bottom: 1.5rem;
  color: #f2f7ff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 58ch; }
.hero .check-list li { color: #fff; }
.hero .check-list li::before {
  background: radial-gradient(circle at 35% 35%, #fff 0 20%, transparent 21%), #5fb2ff;
}
.hero__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  justify-self: end;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 2rem;
  background: rgba(16, 35, 61, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(8, 24, 45, 0.26);
  color: #fff;
}
.hero__panel-kicker {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
.hero__panel h2 {
  margin: 0;
  padding-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem);
  line-height: 1.05;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__panel-stats {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
}
.hero__panel-stats article {
  display: grid;
  gap: 0.35rem;
}
.hero__panel-stats strong {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.5rem);
  line-height: 1.1;
}
.hero__panel-stats span {
  font-size: 0.92rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}
.hero__panel-stats--competition article {
  min-width: 0;
}
.hero__panel-stats--competition article:nth-child(2) {
  padding-right: 0.95rem;
}
.hero__panel-stats--competition article:nth-child(3) {
  padding-left: 0.95rem;
}
.hero__panel-stats--competition strong {
  white-space: nowrap;
}
.hero__panel-stats--competition span {
  font-size: 0.88rem;
  line-height: 1.28;
}
.hero .button--secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}
.hero .button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.eyebrow {
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.lead { font-size: var(--step-1); color: var(--color-muted); max-width: 60ch; }
.button-row, .button-column, .social-links, .legal-links { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.button-column { flex-direction: column; align-items: flex-start; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.social-links img {
  width: 1.42rem;
  height: 1.42rem;
  object-fit: contain;
}
.social-links a[aria-label*="TikTok"] img {
  width: 2.62rem;
  height: 2.62rem;
}
.site-footer .social-links {
  margin-top: 0.9rem;
}
.social-links--contact {
  margin-top: 1rem;
  align-items: center;
}
.social-links--contact a {
  width: 3.7rem;
  height: 3.7rem;
}
.social-links--contact img {
  width: 2.425rem;
  height: 2.425rem;
}
.social-links--contact a[aria-label*="Instagram"] img {
  display: block;
  margin: auto;
  object-position: center;
}
.social-links--contact a[aria-label*="TikTok"] img {
  width: 3.575rem !important;
  height: 3.575rem !important;
  display: block;
  margin: auto;
  object-position: center;
  transform: translateY(-0.12rem);
}
.social-links--contact a[aria-label*="TikTok"] {
  width: 4.25rem;
  height: 4.25rem;
}
.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.check-list li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 20%, transparent 21%), var(--color-primary);
  flex: none;
}
.section-heading { margin-bottom: var(--space-3); max-width: 52rem; }
.section-cta { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); }
.section--seguros-tablas { padding-top: clamp(1.4rem, 2.4vw, 2.1rem); }
.card-grid--seguros { align-items: start; }
.section-heading h2, .split h2, .cta-band h2, .article-body h2 { font-size: var(--step-2); line-height: 1.15; margin: 0 0 0.8rem; }
.rich-text p, .info-card p, .value-card p, .trust-card p { color: var(--color-muted); }
.card-grid {
  display: grid;
  gap: var(--space-2);
}
.card, .media-card, .info-card, .value-card, .trust-card, .info-panel, .form-card, .table-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.card__body, .media-card__body, .info-card, .value-card, .trust-card, .info-panel, .form-card, .table-card { padding: var(--space-2); }
.media-card img, .gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.icon-grid, .trust-grid { display: grid; gap: var(--space-2); }
.split, .contact-grid, .footer-grid {
  display: grid;
  gap: var(--space-3);
}
.visual-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.faq-list { display: grid; gap: 1rem; }
details {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 0;
}
details[open] { padding-bottom: 1rem; }
summary { cursor: pointer; font-weight: 700; margin-bottom: 0.75rem; }
.cta-band {
  background: linear-gradient(135deg, #0c2440 0%, #0076ea 100%);
  color: #fff;
}
.cta-band p, .cta-band a { color: #fff; }
.cta-band .button--secondary { color: #10233d; }
.cta-band .button--secondary:hover { color: #10233d; }
.cta-band__content {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
.breadcrumbs {
  padding-top: 1rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--color-muted);
  font-size: var(--step--1);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
}
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}
.table-wrap--cursos {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.table-wrap--mini {
  border: 0;
  border-radius: 0;
  background: transparent;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
caption {
  text-align: center;
  padding: 1rem 1rem 0;
  font-weight: 800;
  color: var(--color-text);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
th, td {
  border-bottom: 1px solid #deebf8;
  padding: 0.9rem 0.95rem;
  text-align: left;
  vertical-align: top;
}
thead th {
  background: #ebf4ff;
  color: #0b2f57;
}
.tabla-cursos {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}
.tabla-cursos th,
.tabla-cursos td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.tabla-cursos thead .azul {
  background: #0076EA;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid #0076EA;
}
.tabla-cursos thead .sub-header th {
  background: #f1f4fb;
  font-weight: 600;
  color: #111;
}
.tabla-cursos .fila-titulo {
  background: #e9edf5;
  font-weight: 600;
  text-align: left;
  padding-left: 15px;
}
.tabla-cursos .fila-bono .fila-titulo {
  background: #dde3ee;
}
.tabla-cursos tr:hover td {
  background-color: #f9fbff;
}
.tabla-cursos thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.tabla-cursos thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.tabla-cursos tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
.tabla-cursos tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
.tabla-ropa,
.tabla-caseta,
.tabla-alquiler,
.tabla-cuota,
.tabla-seguro,
.tabla-forfait {
  width: auto;
  min-width: 0;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}
.tabla-ropa th,
.tabla-ropa td,
.tabla-caseta th,
.tabla-caseta td,
.tabla-alquiler th,
.tabla-alquiler td,
.tabla-cuota th,
.tabla-cuota td,
.tabla-seguro th,
.tabla-seguro td,
.tabla-forfait th,
.tabla-forfait td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.tabla-ropa thead th,
.tabla-caseta thead th,
.tabla-alquiler thead th,
.tabla-cuota thead th,
.tabla-seguro thead th {
  background: #0076EA;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  border-bottom: 2px solid #0076EA;
}
.tabla-forfait thead th {
  background: #0076EA;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  border-bottom: 2px solid #0076EA;
}
.tabla-ropa td.importe,
.tabla-cuota td.importe,
.tabla-seguro td.importe,
.tabla-forfait td.importe {
  text-align: right;
  font-weight: 500;
  min-width: 80px;
}
.tabla-caseta td.importe,
.tabla-alquiler td.importe {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
  min-width: 80px;
}
.tabla-ropa thead tr:first-child th:first-child,
.tabla-caseta thead tr:first-child th:first-child,
.tabla-alquiler thead tr:first-child th:first-child,
.tabla-cuota thead tr:first-child th:first-child,
.tabla-seguro thead tr:first-child th:first-child,
.tabla-forfait thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.tabla-ropa thead tr:first-child th:last-child,
.tabla-caseta thead tr:first-child th:last-child,
.tabla-alquiler thead tr:first-child th:last-child,
.tabla-cuota thead tr:first-child th:last-child,
.tabla-seguro thead tr:first-child th:last-child,
.tabla-forfait thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.tabla-ropa tbody tr:last-child td:first-child,
.tabla-caseta tbody tr:last-child td:first-child,
.tabla-alquiler tbody tr:last-child td:first-child,
.tabla-cuota tbody tr:last-child td:first-child,
.tabla-seguro tbody tr:last-child td:first-child,
.tabla-forfait tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
.tabla-ropa tbody tr:last-child td:last-child,
.tabla-caseta tbody tr:last-child td:last-child,
.tabla-alquiler tbody tr:last-child td:last-child,
.tabla-cuota tbody tr:last-child td:last-child,
.tabla-seguro tbody tr:last-child td:last-child,
.tabla-forfait tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
.tabla-ropa tr:hover td,
.tabla-caseta tr:hover td,
.tabla-alquiler tr:hover td,
.tabla-cuota tr:hover td,
.tabla-seguro tr:hover td,
.tabla-forfait tr:hover td {
  background: #f9fbff;
}
.tabla-categorias-pro {
  width: 100%;
  max-width: 1000px;
  min-width: 760px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tabla-categorias-pro th,
.tabla-categorias-pro td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
}
.tabla-categorias-pro thead th {
  background: #0076EA;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid #005fcc;
}
.tabla-categorias-pro td:first-child {
  text-align: left;
}
.tabla-categorias-pro td:nth-child(2),
.tabla-categorias-pro td:nth-child(3),
.tabla-categorias-pro td:nth-child(4) {
  text-align: center;
}
.tabla-categorias-pro tbody tr:hover td {
  background: #f5f9ff;
  transition: 0.2s ease;
}
.tabla-categorias-pro thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}
.tabla-categorias-pro thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}
.tabla-categorias-pro tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.tabla-categorias-pro tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}
.table-card .table-wrap { height: 100%; }
.section--seguros-tablas .card-grid { gap: clamp(1.5rem, 3vw, 2rem); }
.feature-grid {
  display: grid;
  gap: var(--space-2);
}
.feature-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  justify-items: center;
  text-align: center;
}
.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: transparent;
}
.feature-card__icon img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}
.feature-card h3,
.plan-card h3,
.price-card h3,
.location-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
}
.feature-card p,
.plan-card p,
.price-card p,
.location-card p,
.section-note {
  color: var(--color-muted);
}
.discipline-grid,
.price-cards-grid {
  display: grid;
  gap: var(--space-2);
}
.discipline-card {
  position: relative;
  overflow: hidden;
}
.discipline-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #0076ea 0%, #5fb2ff 100%);
}
.discipline-card .info-card {
  height: 100%;
  padding-left: calc(var(--space-2) + 0.4rem);
}
.discipline-card ul,
.location-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}
.discipline-card li + li,
.location-card li + li {
  margin-top: 0.45rem;
}
.plan-card {
  height: 100%;
}
.plan-card .eyebrow {
  margin-bottom: 0.65rem;
}
.plan-card ul {
  margin: 0.35rem 0 0;
  padding-left: 0.95rem;
}
.plan-card li + li {
  margin-top: 0.35rem;
}
.plan-card__price {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}
.location-card {
  overflow: hidden;
}
.location-card .media-card__body {
  padding: var(--space-2);
}
.location-card .media-card__body p {
  margin: 0.7rem 0 0;
}
.section-intro--center {
  text-align: center;
  margin-inline: auto;
}
.section-intro--center .lead,
.section-intro--center p {
  margin-inline: auto;
}
.price-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
}
.price-card__amount {
  font-size: clamp(2rem, 1.6rem + 1vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
  color: var(--color-primary-dark);
}
.price-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.pill--muted {
  background: rgba(16, 35, 61, 0.08);
  color: var(--color-text);
}
.tabla-multideporte-wrap {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tabla-multideporte {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: #333;
}
.tabla-multideporte th,
.tabla-multideporte td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.tabla-multideporte thead .grupo {
  background: #0076EA;
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #005fcc;
}
.tabla-multideporte thead .sub {
  background: #f4f7fd;
  color: #222;
  font-weight: 600;
}
.tabla-multideporte .grupo-separado,
.tabla-multideporte .sub-separado,
.tabla-multideporte .separador-columna {
  border-left: 1px solid #d8dce3;
}
.tabla-multideporte .fila-titulo {
  background: #f0f3f9;
  font-weight: 600;
  white-space: nowrap;
}
.tabla-multideporte td.importe {
  font-weight: 500;
  white-space: nowrap;
}
.tabla-multideporte tbody tr:hover td {
  background: #f5f9ff;
}
.tabla-multideporte tbody tr:last-child td {
  border-bottom: none;
}
.price-helper {
  margin-top: 1.7rem;
  margin-bottom: 0;
  text-align: center;
  color: var(--color-muted);
}
.price-helper strong {
  color: var(--color-text);
}
.contact-list { display: grid; gap: 0.65rem; }
.form-grid {
  display: grid;
  gap: 1rem;
}
.field label { display: inline-block; font-weight: 700; margin-bottom: 0.45rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid #a8c8e8;
  border-radius: 0.8rem;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}
textarea { min-height: 8rem; resize: vertical; }
.field-help, .label-optional, .legal-placeholder, .article-meta { color: var(--color-muted); font-size: var(--step--1); }
.checkbox-field {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.checkbox-field input { width: 1.2rem; min-height: 1.2rem; margin-top: 0.2rem; }
.gallery-grid {
  display: grid;
  gap: 1rem;
}
.article-body section { margin-bottom: var(--space-3); }
.practical-box, .article-cta {
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
}
.site-footer {
  background: #0c2440;
  color: #e8f1fb;
  padding: var(--space-4) 0;
}
.site-footer a { color: #fff; }
.footer-list { display: grid; gap: 0.6rem; }
.footer-list--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1rem; }
.text-link { font-weight: 700; }
@media (min-width: 720px) {
  .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--seguros { grid-template-columns: minmax(204px, 0.5fr) minmax(0, 1.5fr); }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discipline-grid, .price-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid, .cta-band__content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__panel-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__panel-stats--competition {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, 0.95fr);
    gap: 1.15rem;
  }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav--desktop { display: block; margin-left: auto; }
  .primary-nav--desktop ul { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .header-cta { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr); }
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .icon-grid, .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1.3fr 1fr; }
}
@media (max-width: 768px) {
  .tabla-multideporte-wrap {
    width: 100%;
    overflow-x: auto;
  }
  .tabla-multideporte {
    min-width: 520px;
  }
  .tabla-multideporte thead tr:first-child th:first-child,
  .tabla-multideporte thead tr:nth-child(2) th:first-child {
    background: transparent;
    border: none;
  }
}
@media (max-width: 479px) {
  .site-header__bar {
    gap: 0.75rem;
  }
  .brand {
    flex-shrink: 0;
  }
  .brand img {
    height: clamp(46px, 12vw, 58px);
  }
  .nav-toggle {
    position: static;
  }
  .nav-toggle__panel {
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    width: auto;
    max-height: min(70vh, calc(100dvh - 8rem));
    overflow-y: auto;
  }
  .button, .whatsapp-float { width: 100%; }
  .button-row { flex-direction: column; }
  .whatsapp-float { left: 1rem; right: 1rem; text-align: center; }
  .hero__content h1 { max-width: 9ch; }
  .hero__panel { border-radius: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
