/* ============================================================
   JIUJITSUPERU.COM — Estilos globales premium
   Vitrina nacional del jiu-jitsu peruano
   ============================================================ */

/* --- Variables & Design Tokens --- */
:root {
  --color-bg-primary: #0a0a0b;
  --color-bg-secondary: #121214;
  --color-bg-card: #1a1a1e;
  --color-bg-elevated: #222228;
  --color-bg-input: #161618;

  --color-gold: #c9a227;
  --color-gold-light: #e8c547;
  --color-gold-dark: #9a7b1a;

  --color-red: #8b1a1a;
  --color-red-light: #b52a2a;
  /* Atmósfera vino / ember (listados + La Calle) */
  --color-ember: rgba(118, 24, 18, 0.55);
  --color-ember-soft: rgba(98, 18, 16, 0.38);
  /* Página vino liso: rojo Perú parejo y oscuro, sin manchas negras */
  --pagina-vino: #4a1814;
  --pagina-vino-fill: linear-gradient(180deg, #5c1e18 0%, #4a1814 45%, #3e1412 100%);

  --color-steel: #4a6fa5;
  --color-military: #3d5a3d;

  --color-white: #f5f5f5;
  --color-gray-100: #e0e0e0;
  --color-gray-300: #a0a0a8;
  --color-gray-500: #6b6b75;
  --color-gray-700: #3a3a42;

  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --header-height: 70px;
  --hero-portada: url('../assets/img/hero/hero.webp');
  --container-max: 1280px;
  --container-wide: 1440px;
  /* Recorte de cara en chips circulares. El héroe usa hero_pan, no esta variable. */
  --jjp-avatar-focal: 50% 14%;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/*
  Home — atmósfera continua (como la foto): carbón + glow rojo/ámbar suave.
  Un solo ambiente para todos los módulos; sin bandas/parches por sección.
*/
body[data-seo-page="home"] {
  --color-bg-primary: #080809;
  --color-bg-secondary: #080809;
  background-color: #080809;
  background-image:
    radial-gradient(ellipse 72% 58% at 26% 22%, rgba(118, 24, 18, 0.52), transparent 68%),
    radial-gradient(ellipse 58% 48% at 30% 48%, rgba(150, 62, 28, 0.16), transparent 70%),
    radial-gradient(ellipse 68% 54% at 28% 74%, rgba(98, 18, 16, 0.42), transparent 68%),
    radial-gradient(ellipse 54% 42% at 32% 96%, rgba(130, 48, 22, 0.14), transparent 70%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body[data-seo-page="home"] .section,
body[data-seo-page="home"] .section--dark,
body[data-seo-page="home"] .section--gradient {
  background: transparent;
  background-color: transparent;
}

body[data-seo-page="home"] .footer {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* En home: sin overlays por módulo (evita parches); la atmósfera va en el body */
body[data-seo-page="home"] #atletas-destacados::before,
body[data-seo-page="home"] #academias-destacadas::before,
body[data-seo-page="home"] #professores-destacados::before,
body[data-seo-page="home"] #proximos-torneos::before,
body[data-seo-page="home"] #leyendas::before,
body[data-seo-page="home"] #noticias::before {
  content: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.hero__bg-img,
body[data-seo-page="home"] .hero__slide-media {
  max-width: none;
  height: 100%;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

a:focus {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

a:hover {
  color: var(--color-gold-light);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.section-title--center {
  text-align: center;
}

.section-title--center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--color-gray-300);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  max-width: 600px;
}

.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-gray-300); }
.text-small { font-size: 0.875rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: var(--color-bg-secondary);
}

.section--gradient {
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.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: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

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

/* --- Marca (footer y formularios) --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__wordmark {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(52vw, 240px);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 1;
}

.logo--wordmark-only {
  gap: 0;
}

.logo__wordmark--footer {
  height: 28px;
  max-width: min(70vw, 260px);
}

/* Marca integrada al surface (no “foto pegada”): misma profundidad que iconos UI */
.jjp-brand-mark,
.jjp-brand-wordmark,
.logo__img:not(.hero__logo),
.logo__wordmark {
  filter:
    drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.85))
    drop-shadow(0 1px 5px rgba(0, 0, 0, 0.42));
}

.jjp-brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto;
}

.jjp-brand-wordmark {
  display: block;
  width: auto;
  height: 28px;
  object-fit: contain;
}

.jjp-brand-wordmark--form {
  margin: 0 auto 1.15rem;
  height: 26px;
}

.jjp-brand-wordmark--wizard {
  height: 22px;
  max-width: 100%;
  margin: 0 0 1rem;
  object-position: left center;
}

.footer .logo {
  position: relative;
  isolation: isolate;
}

.footer .logo::before {
  content: none;
}

.footer .logo__img {
  position: relative;
  z-index: 1;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.footer .logo:hover .logo__img,
.footer .logo:hover .logo__wordmark {
  filter:
    drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.9))
    drop-shadow(0 2px 7px rgba(0, 0, 0, 0.5));
}

.about-hero__badge img {
  filter:
    drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.85))
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.logo__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-bg-primary);
  font-weight: bold;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
  text-transform: uppercase;
}

.logo__text span {
  color: var(--color-gold);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-bg-primary);
  background-image: var(--hero-portada);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.82) 0%, rgba(10, 10, 11, 0.45) 42%, rgba(10, 10, 11, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.25) 0%, rgba(10, 10, 11, 0.68) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 2.5rem 2rem;
  animation: fadeInUp 1s ease;
}

.hero__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6));
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50px;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero__title {
  margin-bottom: 0.5rem;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-gray-100);
  margin-bottom: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero__motto {
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  color: var(--color-gold);
  margin-bottom: 1.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__actions .btn--outline-gold,
.hero__actions .btn--secondary:not(.btn--lg) {
  padding: 0.65rem 1.25rem;
  font-size: 0.78rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-gray-500);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  text-decoration: none;
}

.hero__scroll:hover {
  color: var(--color-gold);
}

/* --- Home Hero Slider: ver hero-slider/hero-slider.css --- */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg-primary);
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.2);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--color-bg-primary);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--secondary:hover {
  border-color: rgba(201, 162, 39, 0.5);
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.06);
  transform: translateY(-1px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(201, 162, 39, 0.55);
}

.btn--outline-gold:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.12);
}

.btn--danger {
  background: var(--color-red);
  color: var(--color-white);
}

.btn--danger:hover {
  background: var(--color-red-light);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 0.85rem 1.85rem;
  font-size: 0.88rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-300);
  transition: all 0.25s ease;
}

.social-icon:hover {
  color: var(--color-gold);
  border-color: rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.08);
  transform: translateY(-2px);
}

.hero__social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn--block {
  width: 100%;
}

/* --- Cards --- */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.15);
}

.card__image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card__image img,
.card__image .placeholder-img,
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

/* Atletas: foto completa dentro del marco, sin recortes */
.card--atleta .card__image {
  height: 320px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card--atleta .card__image img,
.card--atleta .card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.card--atleta:hover .card__image img,
.card--atleta:hover .card__image .placeholder-img {
  transform: none;
}

.card:hover .card__image img,
.card:hover .card__image .placeholder-img {
  transform: scale(1.05);
}

.card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.card__body {
  padding: 1.25rem;
}

.card__category {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--color-gold);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-gray-300);
  margin-bottom: 0.75rem;
}

.card__meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card__excerpt {
  font-size: 0.875rem;
  color: var(--color-gray-300);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Acción compacta — línea hairline + dos puntos */
.card__entry {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.35rem 0.1rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.card__entry-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.52) 100%);
  transition: width 0.28s ease, background 0.28s ease;
}

.card__entry-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.card__entry-dots span {
  display: block;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.5);
  transition: background 0.28s ease;
}

.card__entry:hover {
  transform: translateX(1px);
}

.card__entry:hover .card__entry-line {
  width: 2.35rem;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.78) 100%);
}

.card__entry:hover .card__entry-dots span {
  background: rgba(201, 162, 39, 0.82);
}

.card__entry:focus-visible {
  outline: 1px solid rgba(201, 162, 39, 0.45);
  outline-offset: 4px;
  border-radius: 2px;
}

.card--free .card__entry-line {
  background: linear-gradient(90deg, transparent 0%, rgba(156, 163, 175, 0.48) 100%);
}

.card--free .card__entry-dots span {
  background: rgba(156, 163, 175, 0.46);
}

.card--free .card__entry:hover .card__entry-line {
  background: linear-gradient(90deg, transparent 0%, rgba(156, 163, 175, 0.72) 100%);
}

.card--free .card__entry:hover .card__entry-dots span {
  background: rgba(156, 163, 175, 0.78);
}

/* Card horizontal variant */
.card--horizontal {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.card--horizontal .card__image {
  aspect-ratio: auto;
  min-height: 200px;
}

@media (max-width: 768px) {
  .card--horizontal {
    grid-template-columns: 1fr;
  }
}

/* Featured card */
.card--featured {
  border-color: rgba(201, 162, 39, 0.25);
  position: relative;
}

.card--featured::before {
  content: '★ Destacado';
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
}

/* Tarjetas gratuitas — gris sobrio (home y vitrinas compactas) */
.card--free {
  border-color: rgba(156, 163, 175, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.card--free.card--featured {
  border-color: rgba(156, 163, 175, 0.22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.card--free.card--featured::before {
  display: none;
}

.card--free .card__badge {
  border-color: rgba(156, 163, 175, 0.28);
  color: #b8bcc4;
}

.card--free .card__category {
  color: #9ca3af;
}

.card--free .card__title a:hover {
  color: #d1d5db;
}

/* --- Premium Public Modules (home lower sections + public listings) --- */
#atletas-destacados,
#academias-destacadas,
#professores-destacados,
#proximos-torneos,
#leyendas,
#noticias {
  position: relative;
  overflow: hidden;
}

#atletas-destacados::before,
#academias-destacadas::before,
#professores-destacados::before,
#proximos-torneos::before,
#leyendas::before,
#noticias::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 26% 35%, rgba(118, 24, 18, 0.28), transparent 68%),
    radial-gradient(ellipse 50% 40% at 30% 70%, rgba(150, 62, 28, 0.1), transparent 70%);
  pointer-events: none;
}

#atletas-destacados .container,
#academias-destacadas .container,
#professores-destacados .container,
#proximos-torneos .container,
#leyendas .container,
#noticias .container {
  position: relative;
  z-index: 1;
}

#home-stats .stat-item,
body[data-seo-page="atletas"] .filters,
body[data-seo-page="academias"] .filters,
body[data-seo-page="torneos"] .filters {
  border-color: rgba(201, 162, 39, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--color-bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

#home-stats .stat-item {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

#home-stats .stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.32);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), 0 0 28px rgba(201, 162, 39, 0.1);
}

.card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--color-bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 162, 39, 0.34);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 162, 39, 0.09), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.02)),
    var(--color-bg-card);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38), 0 0 34px rgba(201, 162, 39, 0.12);
}

.card__image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(255,255,255,0.02));
}

.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(10, 10, 11, 0.42)),
    radial-gradient(circle at 20% 10%, rgba(201, 162, 39, 0.14), transparent 14rem);
  pointer-events: none;
}

.card-img,
.card__image img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.card:hover .card-img,
.card:hover .card__image img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}

.card__badge {
  z-index: 2;
  border: 1px solid rgba(201, 162, 39, 0.24);
  background: rgba(18, 18, 20, 0.78);
  color: var(--color-gold-light);
  backdrop-filter: blur(10px);
}

.card__body {
  padding: 1.35rem 1.35rem 1rem;
}

.card__category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.065);
  color: var(--color-gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card__title {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.card__meta {
  gap: 0.45rem;
}

.card__meta-item {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.card__excerpt {
  color: #b5b5bd;
}

.card__footer {
  padding: 0 1.35rem 1.35rem;
}

.card__footer .btn {
  border-radius: 999px;
}

.card--featured {
  border-color: rgba(201, 162, 39, 0.34);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32), 0 0 30px rgba(201, 162, 39, 0.12);
}

body[data-seo-page="atletas"] .page-header,
body[data-seo-page="academias"] .page-header,
body[data-seo-page="torneos"] .page-header,
body[data-seo-page="editorial"] .page-header {
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 162, 39, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  border-bottom-color: rgba(201, 162, 39, 0.1);
}

body[data-seo-page="atletas"] .page-header {
  padding-top: clamp(3.5rem, 12vh, 6.5rem);
  padding-bottom: clamp(1.25rem, 4vh, 2rem);
  text-align: center;
}

body[data-seo-page="atletas"] .page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body[data-seo-page="atletas"] .page-header + .section {
  padding-top: clamp(0.5rem, 2vh, 1.25rem);
  padding-bottom: clamp(3rem, 10vh, 5rem);
}

body[data-seo-page="atletas"] .page-header__title,
body[data-seo-page="academias"] .page-header__title,
body[data-seo-page="torneos"] .page-header__title,
body[data-seo-page="editorial"] .page-header__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

body[data-seo-page="atletas"] .tabs,
body[data-seo-page="torneos"] .tabs {
  position: relative;
  width: 100%;
  padding: 0.3rem;
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  gap: 0.25rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

body[data-seo-page="atletas"] .tabs::before,
body[data-seo-page="torneos"] .tabs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.55) 18%, rgba(201, 162, 39, 0.55) 82%, transparent);
  pointer-events: none;
}

body[data-seo-page="atletas"] .tabs::after,
body[data-seo-page="torneos"] .tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35) 12%, rgba(201, 162, 39, 0.35) 88%, transparent);
  pointer-events: none;
}

body[data-seo-page="atletas"] .tab,
body[data-seo-page="torneos"] .tab {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  border-radius: 12px;
  border-bottom: 0;
  padding: 0.72rem 0.85rem;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body[data-seo-page="atletas"] .tab:hover,
body[data-seo-page="torneos"] .tab:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--color-white);
  transform: translateY(-1px);
}

body[data-seo-page="atletas"] .tab--active,
body[data-seo-page="torneos"] .tab--active {
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.34), rgba(201, 162, 39, 0.16));
  color: #fff;
  font-weight: 600;
  box-shadow:
    inset 0 -2px 0 var(--color-gold),
    0 8px 22px rgba(201, 162, 39, 0.14);
}

body[data-seo-page="atletas"] .filters,
body[data-seo-page="academias"] .filters,
body[data-seo-page="torneos"] .filters {
  border-radius: 24px;
  padding: clamp(1rem, 2.5vw, 1.6rem);
}

body[data-seo-page="atletas"] .filters {
  position: relative;
  overflow: hidden;
  border-color: rgba(201, 162, 39, 0.18);
  background:
    radial-gradient(circle at 88% 0%, rgba(201, 162, 39, 0.07), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    var(--color-bg-card);
}

body[data-seo-page="atletas"] .filters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 16%, var(--color-gold) 84%, transparent);
  pointer-events: none;
}

body[data-seo-page="atletas"] .filters__group label {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.12em;
}

body[data-seo-page="atletas"] .filters .form-control,
body[data-seo-page="academias"] .filters .form-control,
body[data-seo-page="torneos"] .filters .form-control {
  min-height: 48px;
  border-color: rgba(201, 162, 39, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: #f2f2f4;
}

body[data-seo-page="atletas"] .filters .form-control::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

body[data-seo-page="atletas"] .filters .form-control:focus,
body[data-seo-page="academias"] .filters .form-control:focus,
body[data-seo-page="torneos"] .filters .form-control:focus {
  border-color: rgba(201, 162, 39, 0.62);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.empty-state {
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    var(--color-bg-card);
  color: var(--color-gray-300);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

/* --- Placeholder Images --- */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-card));
  color: var(--color-gray-500);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 200px;
}

.placeholder-img--gold {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), var(--color-bg-elevated));
}

.placeholder-img--red {
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.15), var(--color-bg-elevated));
}

.placeholder-img--avatar {
  border-radius: 50%;
  aspect-ratio: 1;
  min-height: auto;
}

/* --- Filters --- */
.filters {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.filters__group label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.filters__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray-100);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--color-red-light);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-input);
  border: 1px solid var(--color-gray-700);
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-control::placeholder {
  color: var(--color-gray-500);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0a8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Native <select> popup is white on Windows; don't inherit light field text */
select.form-control option {
  color: #111;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition-fast);
}

.form-card:hover {
  border-color: rgba(201, 162, 39, 0.25);
}

.publication-type-card--active {
  border-color: var(--color-gold) !important;
  box-shadow: var(--shadow-gold);
}

.form-notice--pulse {
  animation: formPulse 0.6s ease 2;
}

@keyframes formPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(201, 162, 39, 0); }
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-card__desc {
  color: var(--color-gray-300);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.form-notice {
  padding: 1rem;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-gray-100);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.form-notice--error {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.35);
  color: #f8d7da;
}

.form-notice--success {
  background: rgba(40, 167, 69, 0.1);
  border-color: rgba(40, 167, 69, 0.3);
  color: #d4edda;
}

.form-notice strong {
  color: var(--color-gold);
}

/* --- Status Badges --- */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--activo, .badge--aprobado, .badge--publicado { background: rgba(61, 90, 61, 0.3); color: #7cb87c; }
.badge--pendiente, .badge--recibido { background: rgba(201, 162, 39, 0.2); color: var(--color-gold); }
.badge--rechazado, .badge--vencido, .badge--suspendido { background: rgba(139, 26, 26, 0.3); color: #e07070; }
.badge--inactivo, .badge--borrador { background: rgba(107, 107, 117, 0.3); color: var(--color-gray-300); }
.badge--proximo { background: rgba(74, 111, 165, 0.3); color: #7aa3d4; }
.badge--destacado { background: var(--color-gold); color: var(--color-bg-primary); }

/* Belt colors */
.belt {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.belt--blanco { background: #f0f0f0; color: #333; }
.belt--azul { background: #1a3a8a; color: #fff; }
.belt--morado { background: #5b2d8e; color: #fff; }
.belt--marron { background: #6b3a2a; color: #fff; }
.belt--negro { background: #1a1a1a; color: #fff; border: 1px solid #444; }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(var(--header-height) + 2.75rem) 0 2rem;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header__breadcrumb {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
}

.page-header__breadcrumb a {
  color: var(--color-gray-300);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-header__title::after {
  content: '';
  display: block;
  width: min(18rem, 48vw);
  height: 1px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.55) 0%, rgba(201, 162, 39, 0.4) 62%, transparent 100%);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.14);
}

/* --- Detail Pages --- */
.detail-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  padding-top: var(--header-height);
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.35) blur(1px);
  transform: scale(1.05);
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.85) 100%),
    linear-gradient(0deg, var(--color-bg-primary) 0%, transparent 50%);
}

.detail-hero__content {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding: 3rem 0;
}

@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.detail-sidebar {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.detail-sidebar__item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-sidebar__label {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-sidebar__value {
  font-weight: 500;
  margin-top: 0.15rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.gallery__item {
  aspect-ratio: 1;
  min-height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #111;
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stat-item--link:hover,
.stat-item--link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.58);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  outline: none;
}

.stat-item--link:active {
  transform: translateY(-1px);
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-gold);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.8rem;
  color: var(--color-gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(139, 26, 26, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%),
    var(--color-bg-secondary);
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-section__text {
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Premium Membership Page --- */
.memberships-page {
  background:
    radial-gradient(circle at 15% 8%, rgba(201, 162, 39, 0.14), transparent 32rem),
    radial-gradient(circle at 88% 6%, rgba(139, 26, 26, 0.18), transparent 30rem),
    var(--color-bg-primary);
}

.memberships-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 4rem) 0 4.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.memberships-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 10, 11, 0.38), rgba(10, 10, 11, 0.9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.memberships-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.memberships-hero__copy {
  max-width: 690px;
}

.memberships-hero__breadcrumb {
  margin-bottom: 1.35rem;
}

.memberships-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.memberships-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.memberships-hero__title {
  margin: 0.85rem 0 0.95rem;
  max-width: 535px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: 0.028em;
  text-transform: uppercase;
  text-wrap: balance;
}

.memberships-hero__title span {
  white-space: nowrap;
}

.memberships-hero__lead {
  max-width: 610px;
  color: var(--color-gray-100);
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.68;
}

.memberships-hero__lead::after {
  content: '';
  display: block;
  width: min(22rem, 72vw);
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.55) 0%, rgba(201, 162, 39, 0.35) 55%, transparent 100%);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.14);
}

.memberships-hero__quote {
  margin-top: 1rem;
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.memberships-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.memberships-hero__visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  perspective: 1200px;
  isolation: isolate;
}

.membership-visual-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.68;
  pointer-events: none;
  animation: membershipHalo 9s ease-in-out infinite;
}

.membership-visual-bg--a {
  width: 210px;
  height: 210px;
  right: 8%;
  top: 8%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.2), transparent 68%);
}

.membership-visual-bg--b {
  width: 260px;
  height: 260px;
  left: 4%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(139, 26, 26, 0.18), transparent 70%);
  animation-delay: -3s;
}

.membership-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(232, 197, 71, 0.65);
  box-shadow: 0 0 16px rgba(232, 197, 71, 0.48);
  pointer-events: none;
  animation: membershipParticleFloat 7s ease-in-out infinite;
}

.membership-particle--one {
  top: 18%;
  left: 20%;
}

.membership-particle--two {
  right: 15%;
  top: 38%;
  width: 3px;
  height: 3px;
  animation-delay: -2s;
}

.membership-particle--three {
  left: 31%;
  bottom: 17%;
  width: 5px;
  height: 5px;
  animation-delay: -4s;
}

.membership-orbit {
  position: absolute;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 999px;
  pointer-events: none;
}

.membership-orbit--one {
  width: 360px;
  height: 360px;
  background:
    radial-gradient(circle, rgba(201, 162, 39, 0.1), transparent 60%),
    conic-gradient(from 120deg, transparent, rgba(201, 162, 39, 0.12), transparent 42%);
  animation: membershipOrbitBreathe 8s ease-in-out infinite;
}

.membership-orbit--two {
  width: 480px;
  height: 480px;
  border-color: rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.04) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.025) 50%, transparent 51%);
}

.membership-visual-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(348px, 82vw);
  min-height: 430px;
  padding: 1.35rem;
  border: 1px solid rgba(232, 197, 71, 0.36);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.18), transparent 20%),
    radial-gradient(circle at 84% 20%, rgba(232, 197, 71, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.026) 34%, rgba(255,255,255,0.055)),
    linear-gradient(180deg, rgba(201, 162, 39, 0.16), rgba(26, 26, 30, 0.97) 43%, rgba(8, 8, 9, 0.99));
  box-shadow:
    0 32px 86px rgba(0, 0, 0, 0.56),
    0 0 52px rgba(201, 162, 39, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.045);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: rotate(2deg) translateY(0);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  animation: membershipCardFloat 7s ease-in-out infinite;
}

.membership-visual-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.2), transparent 28%, transparent 72%, rgba(232,197,71,0.12)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 14px);
  opacity: 0.55;
  pointer-events: none;
}

.membership-visual-card::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: linear-gradient(110deg, transparent 34%, rgba(255,255,255,0.16) 48%, rgba(232,197,71,0.12) 50%, transparent 64%);
  transform: translateX(-45%) rotate(8deg);
  animation: membershipCardShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.membership-visual-card__shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.18), transparent 19%),
    radial-gradient(circle at 74% 72%, rgba(201, 162, 39, 0.12), transparent 24%);
  pointer-events: none;
}

.membership-visual-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 38px 96px rgba(0, 0, 0, 0.62),
    0 0 68px rgba(201, 162, 39, 0.23),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.membership-visual-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-gray-300);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.membership-visual-card__top strong {
  color: var(--color-gold);
}

.membership-visual-card__status {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
  color: var(--color-gray-100);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.membership-verified-dot {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  font-size: 0.62rem;
  font-weight: 800;
}

.membership-visual-card__mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 158px;
  height: 158px;
  margin: 2.75rem auto 2.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.22), transparent 22%),
    radial-gradient(circle, rgba(201, 162, 39, 0.3), rgba(201, 162, 39, 0.08) 58%, transparent 72%);
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 3.9rem;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 28px rgba(201, 162, 39, 0.12), 0 0 34px rgba(201, 162, 39, 0.08);
}

.membership-visual-card__mark span,
.membership-visual-card__mark small {
  position: relative;
  z-index: 1;
}

.membership-visual-card__mark small {
  margin-top: -1.65rem;
  color: rgba(245, 245, 245, 0.68);
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.membership-visual-card__meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(224, 224, 224, 0.72);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.membership-visual-card__lines {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.55rem;
}

.membership-visual-card__lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(201, 162, 39, 0.08));
}

.membership-visual-card__lines span:nth-child(2) { width: 82%; }
.membership-visual-card__lines span:nth-child(3) { width: 58%; }

.membership-hologram {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 46px;
  height: 38px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(201,162,39,0.2), rgba(255,255,255,0.08), rgba(139,26,26,0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.membership-hologram span {
  border-radius: 6px;
  background: rgba(255,255,255,0.16);
}

.membership-visual-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.64);
  color: var(--color-gray-100);
  font-size: 0.78rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  pointer-events: none;
  user-select: none;
}

.membership-visual-pill span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.14);
  color: var(--color-gold);
  font-size: 0.7rem;
}

.membership-visual-pill--left {
  left: -0.2rem;
  top: 32%;
  animation: membershipPillFloat 7s ease-in-out infinite;
}

.membership-visual-pill--right {
  right: -0.15rem;
  bottom: 22%;
  animation: membershipPillFloat 7s ease-in-out infinite -2s;
}

@keyframes membershipCardFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(1.2deg) translateY(-8px); }
}

@keyframes membershipCardShimmer {
  0%, 45% { transform: translateX(-55%) rotate(8deg); opacity: 0; }
  55% { opacity: 0.75; }
  78%, 100% { transform: translateX(55%) rotate(8deg); opacity: 0; }
}

@keyframes membershipHalo {
  0%, 100% { transform: scale(0.94); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.78; }
}

@keyframes membershipOrbitBreathe {
  0%, 100% { transform: scale(0.98); opacity: 0.72; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes membershipParticleFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.42; }
  50% { transform: translate3d(8px, -14px, 0); opacity: 0.9; }
}

@keyframes membershipPillFloat {
  0%, 100% { transform: translateY(0); opacity: 0.86; }
  50% { transform: translateY(-7px); opacity: 1; }
}

.memberships-plans {
  padding-top: 5.5rem;
}

.memberships-section-head {
  max-width: 760px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.memberships-section-head--left {
  margin-left: 0;
  text-align: left;
}

.memberships-section-head p {
  max-width: 650px;
  margin: 0.85rem auto 0;
  color: var(--color-gray-300);
  font-size: 1.03rem;
  line-height: 1.75;
}

.memberships-section-head--left p {
  margin-left: 0;
}

.memberships-compare .section-title {
  max-width: 560px;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.12;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}

.membership-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.membership-card--gratis {
  border-color: rgba(160, 185, 210, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(160, 185, 210, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    var(--color-bg-card);
}

.membership-card--gratis::after {
  background: linear-gradient(90deg, rgba(140, 165, 190, 0.15), rgba(190, 210, 230, 0.75), rgba(140, 165, 190, 0.15));
}

.membership-card__price--free {
  color: var(--color-gray-100);
}

.membership-card__feature-muted {
  color: var(--color-gray-400) !important;
  opacity: 0.88;
}

.membership-card__feature-muted::before {
  content: '—' !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--color-gray-400) !important;
}

.membership-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.membership-feature-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.membership-feature-table th,
.membership-feature-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.92rem;
}

.membership-feature-table thead th {
  padding-top: 1.15rem;
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.membership-feature-table tbody th[scope="row"] {
  text-align: left;
  color: var(--color-gray-100);
  font-weight: 600;
}

.membership-feature-table td {
  color: var(--color-gray-300);
}

.membership-feature-table__featured {
  background: rgba(201, 162, 39, 0.07);
  color: var(--color-gold-light);
}

.membership-compare-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.membership-compare-card--free {
  border-color: rgba(160, 185, 210, 0.28);
  background: rgba(160, 185, 210, 0.06);
}

.membership-compare-card--free span {
  color: #b8c9dc;
}

.membership-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.35rem, 2vw, 1.9rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
    var(--color-bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.membership-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.65), transparent);
  opacity: 0.75;
}

.membership-card--tier {
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 162, 39, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--color-bg-card);
}

.membership-card:hover {
  border-color: rgba(201, 162, 39, 0.36);
  transform: translateY(-7px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38), 0 0 34px rgba(201, 162, 39, 0.11);
}

.membership-card--bronce::after {
  background: linear-gradient(90deg, rgba(176, 108, 58, 0.2), rgba(213, 152, 93, 0.85), rgba(176, 108, 58, 0.2));
}

.membership-card--oro::after {
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.2), rgba(232, 197, 71, 0.95), rgba(201, 162, 39, 0.2));
}

.membership-card--popular {
  border-color: rgba(201, 162, 39, 0.65);
  background:
    radial-gradient(circle at 30% 0%, rgba(201, 162, 39, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(201, 162, 39, 0.09), rgba(255,255,255,0.02)),
    var(--color-bg-card);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.42), 0 0 34px rgba(201, 162, 39, 0.16);
  transform: translateY(-10px);
}

.membership-card--popular:hover {
  border-color: var(--color-gold-light);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.5), 0 0 42px rgba(201, 162, 39, 0.24);
}

.membership-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 82px;
}

.membership-card__label {
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 999px;
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.07);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.membership-card__duration {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.membership-card__price {
  margin: 1.25rem 0 1.35rem;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  letter-spacing: 0.035em;
  line-height: 0.9;
}

.membership-card__price span {
  display: block;
  margin-top: 0.4rem;
  color: var(--color-gray-300);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
}

.membership-card__features {
  display: grid;
  gap: 0.78rem;
  margin: 0 0 1.6rem;
  text-align: left;
}

.membership-card__features li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-gray-100);
  font-size: 0.9rem;
  line-height: 1.45;
}

.membership-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.14);
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 800;
}

.membership-card__btn {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  justify-content: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.membership-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.24);
}

.memberships-compare {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)),
    var(--color-bg-secondary);
}

.membership-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.membership-compare-card {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.membership-compare-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.055);
}

.membership-compare-card--featured {
  border-color: rgba(201, 162, 39, 0.42);
  background: rgba(201, 162, 39, 0.08);
}

.membership-compare-card span {
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.membership-compare-card strong {
  display: block;
  margin: 0.45rem 0 0.5rem;
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 2.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.membership-compare-card p {
  color: var(--color-gray-300);
  font-size: 0.92rem;
  line-height: 1.65;
}

.membership-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.membership-timeline::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 2.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
}

.membership-step {
  position: relative;
  z-index: 1;
  min-height: 245px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--color-bg-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.membership-step:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.28);
}

.membership-step__number {
  color: rgba(201, 162, 39, 0.56);
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.membership-step__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0.8rem 0 1.1rem;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.16);
  color: var(--color-gold);
}

.membership-step h3 {
  margin-bottom: 0.55rem;
  color: var(--color-white);
  font-size: 1.05rem;
}

.membership-step p {
  color: var(--color-gray-300);
  font-size: 0.88rem;
  line-height: 1.6;
}

.memberships-security {
  padding-top: 3rem;
}

.membership-security-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 20%, rgba(201, 162, 39, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(139, 26, 26, 0.16), rgba(201, 162, 39, 0.07)),
    var(--color-bg-secondary);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.membership-security-card__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(201, 162, 39, 0.11);
  color: var(--color-gold);
  font-size: 2rem;
}

.membership-security-card h2 {
  margin: 0.55rem 0 0.45rem;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.membership-security-card p {
  max-width: 760px;
  color: var(--color-gray-300);
  font-size: 0.95rem;
  line-height: 1.7;
}

.membership-security-card__lead {
  margin-bottom: 0.35rem;
  color: var(--color-gray-100) !important;
  font-weight: 600;
}

.memberships-addon {
  background: var(--color-bg-secondary);
}

.membership-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.membership-addon-card {
  padding: 1.5rem;
  border: 1px solid rgba(201, 162, 39, 0.17);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.membership-addon-card h3 {
  color: var(--color-gold);
  margin-bottom: 0.45rem;
}

.membership-addon-card p {
  margin-bottom: 1.1rem;
  color: var(--color-gray-300);
  font-size: 0.9rem;
}

.memberships-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1400px) and (min-width: 1101px) {
  .membership-grid--four,
  .membership-compare-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .memberships-hero__grid {
    grid-template-columns: 1fr;
  }

  .memberships-hero__visual {
    min-height: 360px;
  }

  .membership-grid,
  .membership-grid--four,
  .membership-compare-grid,
  .membership-compare-grid--four {
    grid-template-columns: 1fr;
  }

  .membership-card--popular {
    transform: none;
  }

  .membership-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .memberships-hero {
    padding: calc(var(--header-height) + 2.3rem) 0 3.4rem;
  }

  .memberships-hero__title {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.7vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: 0.022em;
  }

  .memberships-hero__title span {
    white-space: normal;
  }

  .memberships-hero__lead {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .memberships-hero__actions,
  .membership-addon-grid,
  .membership-timeline {
    grid-template-columns: 1fr;
  }

  .memberships-hero__actions {
    display: grid;
  }

  .memberships-hero__visual {
    min-height: 310px;
  }

  .membership-visual-bg,
  .membership-particle {
    opacity: 0.45;
  }

  .membership-orbit--one {
    width: 280px;
    height: 280px;
  }

  .membership-orbit--two,
  .membership-visual-pill {
    display: none;
  }

  .membership-visual-card {
    width: min(292px, 86vw);
    min-height: 330px;
    padding: 1rem;
    border-radius: 24px;
  }

  .membership-visual-card__mark {
    width: 118px;
    height: 118px;
    margin: 2rem auto 1.55rem;
    font-size: 3rem;
  }

  .membership-visual-card__mark small {
    margin-top: -1.25rem;
    font-size: 0.48rem;
  }

  .membership-visual-card__status,
  .membership-visual-card__meta {
    font-size: 0.58rem;
  }

  .membership-hologram {
    width: 38px;
    height: 32px;
    right: 0.9rem;
    bottom: 0.85rem;
  }

  .membership-security-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .membership-visual-card,
  .membership-visual-card::after,
  .membership-visual-bg,
  .membership-orbit--one,
  .membership-particle,
  .membership-visual-pill {
    animation: none;
  }
}

/* --- Code Access Page --- */
.code-access {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.code-input {
  font-family: monospace;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  padding: 0.75rem;
}

.email-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.email-display__text {
  font-size: 1rem;
  color: var(--color-gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* --- Premium Support / Atención Page --- */
.support-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 162, 39, 0.14), transparent 30rem),
    radial-gradient(circle at 86% 18%, rgba(139, 26, 26, 0.16), transparent 28rem),
    var(--color-bg-primary);
}

.support-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 4rem) 0 4.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.support-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 10, 11, 0.28), rgba(10, 10, 11, 0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 108px);
  pointer-events: none;
}

.support-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.support-hero__copy {
  max-width: 720px;
}

.support-hero__breadcrumb {
  margin-bottom: 1.25rem;
}

.support-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.support-hero__title {
  max-width: 620px;
  margin: 0.85rem 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-hero__lead {
  max-width: 680px;
  color: var(--color-gray-100);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.7;
}

.support-hero__note {
  margin-top: 0.95rem;
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.support-hero__note::after {
  content: '';
  display: block;
  width: min(22rem, 72vw);
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.55) 0%, rgba(201, 162, 39, 0.35) 55%, transparent 100%);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.14);
}

.support-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.55rem;
}

.support-topic-grid span {
  padding: 0.46rem 0.75rem;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.065);
  color: var(--color-gray-100);
  font-size: 0.78rem;
}

.support-hero__card {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.support-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
  animation: supportGlow 9s ease-in-out infinite;
}

.support-glow--one {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 68%);
}

.support-glow--two {
  width: 190px;
  height: 190px;
  right: 6%;
  bottom: 0;
  background: radial-gradient(circle, rgba(139, 26, 26, 0.18), transparent 70%);
  animation-delay: -3s;
}

.support-ticket {
  position: relative;
  z-index: 1;
  width: min(310px, 82vw);
  padding: 1.25rem;
  border: 1px solid rgba(232, 197, 71, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.15), transparent 22%),
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.024)),
    linear-gradient(180deg, rgba(201, 162, 39, 0.14), rgba(18, 18, 20, 0.96));
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.5), 0 0 42px rgba(201, 162, 39, 0.13);
  backdrop-filter: blur(16px);
  transform: rotate(2deg);
  animation: supportTicketFloat 7s ease-in-out infinite;
}

.support-ticket::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), transparent 34%, rgba(201,162,39,0.1));
  pointer-events: none;
}

.support-ticket__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-gray-300);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.support-ticket__top strong {
  color: var(--color-gold);
}

.support-ticket__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 3rem auto;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.26), rgba(201, 162, 39, 0.06) 64%, transparent);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 4rem;
}

.support-ticket__lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
}

.support-ticket__lines span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(201,162,39,0.08));
}

.support-ticket__lines span:nth-child(2) { width: 78%; }
.support-ticket__lines span:nth-child(3) { width: 56%; }

.support-section {
  padding-top: 4.5rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.support-side {
  display: grid;
  gap: 1rem;
}

.support-info-card,
.support-form-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--color-bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.support-info-card {
  padding: 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.support-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.25);
}

.support-info-card--highlight {
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 162, 39, 0.16), transparent 13rem),
    linear-gradient(180deg, rgba(201,162,39,0.07), rgba(255,255,255,0.018)),
    var(--color-bg-card);
}

.support-info-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.09);
  color: var(--color-gold);
}

.support-info-card h2,
.support-info-card h3 {
  margin-bottom: 0.45rem;
  color: var(--color-white);
}

.support-info-card p {
  color: var(--color-gray-300);
  font-size: 0.9rem;
  line-height: 1.65;
}

.support-links {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.support-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-gray-100);
  font-size: 0.88rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.support-links a::after {
  content: '→';
  color: var(--color-gold);
}

.support-links a:hover {
  transform: translateX(3px);
  border-color: rgba(201, 162, 39, 0.26);
  background: rgba(201, 162, 39, 0.06);
  color: var(--color-white);
}

.support-social {
  margin-top: 1rem;
}

.support-form-card {
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

.support-form-card .form-card__title {
  margin-top: 0.65rem;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.support-form-card .form-card__desc {
  max-width: 560px;
  margin-bottom: 1.6rem;
}

.support-form-card .form-group {
  margin-bottom: 1.05rem;
}

.support-form-card .form-group label {
  color: var(--color-gray-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.support-form-card .form-control {
  min-height: 50px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.support-form-card .form-control:focus {
  border-color: rgba(201, 162, 39, 0.65);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1), 0 10px 26px rgba(0, 0, 0, 0.18);
}

.support-select {
  position: relative;
}

.support-select__native {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.support-select__native option {
  background: #1b1b1f;
  color: #f5f5f5;
}

.support-select__native option:checked {
  background: #caa32c;
  color: #050505;
}

.support-select__trigger {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.44);
  border-radius: 14px;
  background: #1b1b1f;
  color: #f5f5f5;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.support-select--placeholder .support-select__trigger {
  color: #b8b8bf;
}

.support-select__trigger:hover,
.support-select__trigger:focus {
  outline: none;
  border-color: #caa32c;
  background: #202025;
  box-shadow: 0 0 0 4px rgba(202, 163, 44, 0.1), 0 10px 26px rgba(0, 0, 0, 0.18);
}

.support-select--invalid .support-select__trigger {
  border-color: var(--color-red-light);
}

.support-select__chevron {
  color: #caa32c;
  font-size: 1rem;
  transition: transform 0.22s ease;
}

.support-select.is-open .support-select__chevron {
  transform: rotate(180deg);
}

.support-select__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.45rem);
  bottom: auto;
  left: 0;
  right: 0;
  display: grid;
  max-height: 220px;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid rgba(202, 163, 44, 0.45);
  border-radius: 14px;
  background: #1b1b1f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255,255,255,0.04) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.support-select.is-open .support-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-select__option {
  width: 100%;
  padding: 0.68rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f5f5f5;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.support-select__option:hover,
.support-select__option:focus {
  outline: none;
  background: #2a2a2f;
  color: #f5f5f5;
}

/* Abierto: resaltar solo la opción bajo cursor/teclado */
.support-select.is-open .support-select__option.is-selected {
  background: transparent;
  color: #f5f5f5;
  font-weight: 400;
}

.support-select.is-open .support-select__option:hover,
.support-select.is-open .support-select__option:focus {
  outline: none;
  background: #caa32c;
  color: #050505;
  font-weight: 700;
}

.support-select__option.is-selected {
  background: #caa32c;
  color: #050505;
  font-weight: 700;
}

.support-select__option[data-value=""] {
  color: #b8b8bf;
}

.support-select__option[data-value=""].is-selected {
  color: #050505;
}

.support-form-card textarea.form-control {
  min-height: 145px;
}

.support-form-card .btn[type="submit"] {
  min-height: 52px;
  margin-top: 0.35rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@keyframes supportGlow {
  0%, 100% { transform: scale(0.94); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.78; }
}

@keyframes supportTicketFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-8px); }
}

@media (max-width: 960px) {
  .support-hero__grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-hero__card {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .support-hero {
    padding: calc(var(--header-height) + 2.2rem) 0 3.2rem;
  }

  .support-hero__title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .support-topic-grid {
    gap: 0.45rem;
  }

  .support-ticket {
    width: min(280px, 86vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-glow,
  .support-ticket {
    animation: none;
  }
}

/* --- Premium Member Access / Activar Código --- */
body[data-seo-page="acceso"] {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.82), rgba(5, 5, 6, 0.92)),
    radial-gradient(circle at 50% 15%, rgba(201, 162, 39, 0.12), transparent 24rem),
    #050506;
}

body[data-seo-page="acceso"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.9)),
    url('../assets/img/hero/hero.webp') center / cover no-repeat;
  filter: saturate(0.8) brightness(0.72);
  transform: scale(1.02);
}

body[data-seo-page="acceso"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 22%, rgba(201, 162, 39, 0.13), transparent 22rem),
    radial-gradient(circle at 16% 92%, rgba(201, 162, 39, 0.08), transparent 18rem),
    radial-gradient(circle at 88% 82%, rgba(139, 26, 26, 0.12), transparent 20rem),
    linear-gradient(90deg, rgba(0,0,0,0.42), transparent 35%, transparent 65%, rgba(0,0,0,0.42));
  pointer-events: none;
}

body[data-seo-page="acceso"] .page-header {
  display: none;
}

body[data-seo-page="acceso"] > .section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  padding: calc(var(--header-height) + 3.2rem) 0 3.2rem;
}

body[data-seo-page="acceso"] > .section::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    radial-gradient(circle at 12% 100%, rgba(201, 162, 39, 0.1), transparent 20rem),
    radial-gradient(circle at 88% 100%, rgba(201, 162, 39, 0.08), transparent 20rem),
    repeating-radial-gradient(circle at 10% 100%, rgba(201, 162, 39, 0.12) 0 1px, transparent 1px 10px);
  opacity: 0.42;
  pointer-events: none;
  mask-image: linear-gradient(transparent, black);
}

body[data-seo-page="acceso"] > .section .container {
  position: relative;
  z-index: 1;
  max-width: 560px !important;
}

body[data-seo-page="acceso"] .form-card {
  position: relative;
  overflow: visible;
  margin-top: 2.5rem;
  padding: clamp(1.55rem, 4vw, 2.4rem);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02)),
    rgba(13, 13, 16, 0.82);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(201, 162, 39, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(18px) saturate(1.12);
  animation: accesoPanelIn 0.55s ease both;
}

body[data-seo-page="acceso"] .form-card::before {
  content: '🔑';
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(201, 162, 39, 0.22), rgba(17,17,20,0.92) 64%),
    rgba(17, 17, 20, 0.94);
  color: var(--color-gold);
  font-size: 2rem;
  box-shadow: 0 0 0 10px rgba(201, 162, 39, 0.045), 0 0 34px rgba(201, 162, 39, 0.28), 0 18px 34px rgba(0,0,0,0.45);
  transform: translate(-50%, -50%);
}

html[data-acceso-modo="login"] body[data-seo-page="acceso"] .form-card::before {
  content: '🔒';
}

body[data-seo-page="acceso"] .form-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.13), transparent 28%, transparent 72%, rgba(201,162,39,0.09));
  pointer-events: none;
}

body[data-seo-page="acceso"] .acceso-view,
body[data-seo-page="acceso"] .acceso-success {
  position: relative;
  z-index: 1;
}

body[data-seo-page="acceso"] .acceso-view {
  padding-top: 1.55rem;
}

body[data-seo-page="acceso"] .acceso-fase-badge {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--color-gold);
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

body[data-seo-page="acceso"] .form-card__title {
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: clamp(2.15rem, 5vw, 3.1rem);
  line-height: 0.95;
}

body[data-seo-page="acceso"] .form-card__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

body[data-seo-page="acceso"] .form-card__desc {
  max-width: 340px;
  margin: 0 auto 1.65rem;
  color: #b7b7bf;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.65;
}

body[data-seo-page="acceso"] .form-group {
  margin-bottom: 1.05rem;
}

body[data-seo-page="acceso"] .form-group label {
  margin-bottom: 0.48rem;
  color: #e8e8ec;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body[data-seo-page="acceso"] .form-control {
  min-height: 52px;
  border-color: rgba(201, 162, 39, 0.18);
  border-radius: 13px;
  background: rgba(5, 5, 7, 0.62);
  color: var(--color-white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

body[data-seo-page="acceso"] .form-control:hover {
  border-color: rgba(201, 162, 39, 0.34);
  background: rgba(10, 10, 13, 0.72);
}

body[data-seo-page="acceso"] .form-control:focus {
  border-color: rgba(201, 162, 39, 0.72);
  background: rgba(12, 12, 15, 0.82);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12), 0 12px 28px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

body[data-seo-page="acceso"] .form-control::placeholder {
  color: rgba(224, 224, 224, 0.38);
}

body[data-seo-page="acceso"] .pwd-toggle {
  right: 0.75rem;
  color: #8d8d96;
}

body[data-seo-page="acceso"] .btn--primary.btn--block {
  min-height: 54px;
  margin-top: 0.35rem;
  border-radius: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.18), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

body[data-seo-page="acceso"] .btn--primary.btn--block:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(201, 162, 39, 0.26), inset 0 1px 0 rgba(255,255,255,0.35);
  filter: brightness(1.05);
}

body[data-seo-page="acceso"] .acceso-switch-link {
  color: #a8a8b1;
  font-size: 0.82rem;
}

body[data-seo-page="acceso"] .acceso-switch-link a,
body[data-seo-page="acceso"] .text-center a {
  color: var(--color-gold-light);
}

body[data-seo-page="acceso"] .acceso-success {
  border-color: rgba(201, 162, 39, 0.22);
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
}

.acceso-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.45rem 0 1rem;
}

html[data-acceso-modo="login"] .acceso-trust--activar,
html:not([data-acceso-modo="login"]) .acceso-trust--login {
  display: none;
}

.acceso-trust__item {
  padding: 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.acceso-trust__item:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.055);
}

.acceso-trust__item span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-gold);
}

.acceso-trust__item strong {
  display: block;
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.acceso-trust__item p {
  margin-top: 0.25rem;
  color: #9e9ea8;
  font-size: 0.72rem;
  line-height: 1.45;
}

@keyframes accesoPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
  body[data-seo-page="acceso"] > .section {
    padding: calc(var(--header-height) + 2.2rem) 0 2.6rem;
  }

  body[data-seo-page="acceso"] .form-card {
    margin-top: 2.1rem;
    border-radius: 24px;
  }

  body[data-seo-page="acceso"] .form-card::before {
    width: 74px;
    height: 74px;
    font-size: 1.7rem;
  }

  .acceso-trust {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-seo-page="acceso"] .form-card {
    animation: none;
  }
}

/* --- Premium About / Nosotros Page --- */
.about-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 162, 39, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(139, 26, 26, 0.16), transparent 28rem),
    var(--color-bg-primary);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 4rem) 0 4.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 10, 11, 0.24), rgba(10, 10, 11, 0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 108px);
  pointer-events: none;
}

.about-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-hero__copy {
  max-width: 670px;
}

.about-hero__breadcrumb {
  margin-bottom: 1.25rem;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.about-hero__title {
  max-width: 680px;
  margin: 0.8rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.85vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: 0.018em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.about-hero__lead {
  max-width: 620px;
  color: var(--color-gray-100);
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  line-height: 1.62;
  margin-bottom: 0;
  text-wrap: pretty;
}

.about-hero__note {
  max-width: 560px;
  margin: 0.65rem 0 0;
  color: var(--color-gray-300);
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.about-hero__note::after {
  content: '';
  display: block;
  width: min(22rem, 72vw);
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.55) 0%, rgba(201, 162, 39, 0.35) 55%, transparent 100%);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.14);
}

.about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.about-hero__chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.46rem 0.75rem;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.065);
  color: var(--color-gray-100);
  font-size: 0.78rem;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.about-hero__chips a::after {
  content: '→';
  color: var(--color-gold);
  font-size: 0.76rem;
  transition: transform 0.24s ease;
}

.about-hero__chips a:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.42);
  background: rgba(201, 162, 39, 0.12);
  color: var(--color-white);
}

.about-hero__chips a:hover::after {
  transform: translateX(2px);
}

.about-hero__visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 32%, rgba(201, 162, 39, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018)),
    linear-gradient(180deg, #17171b 0%, #0b0b0d 100%);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(201, 162, 39, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.about-hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 78px);
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

.about-hero__orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.about-hero__orb--one {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201, 162, 39, 0.14);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 68%);
}

.about-hero__orb--two {
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255,255,255,0.055);
  background: radial-gradient(circle, rgba(139, 26, 26, 0.08), transparent 72%);
}

.about-hero__badge {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: min(360px, 86%);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
    rgba(18, 18, 20, 0.76);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), 0 0 34px rgba(201, 162, 39, 0.1);
  backdrop-filter: blur(16px);
}

.about-hero__badge img {
  width: min(190px, 58vw);
  height: min(190px, 58vw);
  object-fit: contain;
}

.about-hero__badge-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.about-hero__badge-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.075);
  color: var(--color-gray-100);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-section-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-section-head--left {
  margin-left: 0;
  text-align: left;
}

.about-section-head p {
  max-width: 650px;
  margin: 0.85rem auto 0;
  color: var(--color-gray-300);
  font-size: 1rem;
  line-height: 1.72;
}

.about-section-head--left p {
  margin-left: 0;
}

.about-card-grid {
  display: grid;
  gap: 1rem;
}

.about-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-card,
.about-feature-card,
.about-value,
.about-closing-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--color-bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.about-card,
.about-feature-card {
  padding: 1.35rem;
  border-radius: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.about-card:hover,
.about-feature-card:hover,
.about-value:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 162, 39, 0.1), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    var(--color-bg-card);
}

.about-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.09);
  color: var(--color-gold);
}

.about-card h3,
.about-feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.about-card p,
.about-feature-card p {
  color: var(--color-gray-300);
  font-size: 0.9rem;
  line-height: 1.65;
}

.about-what {
  background: var(--color-bg-secondary);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-feature-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(201, 162, 39, 0.58);
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.about-feature-card--wide {
  grid-column: span 2;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-value {
  display: grid;
  place-items: center;
  gap: 0.7rem;
  min-height: 132px;
  padding: 1rem;
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-value span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 15px;
  background: rgba(201, 162, 39, 0.09);
  color: var(--color-gold);
}

.about-value strong {
  color: var(--color-gray-100);
  font-family: var(--font-heading);
}

.about-closing {
  padding-top: 3rem;
}

.about-closing-card {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(139, 26, 26, 0.14), rgba(201, 162, 39, 0.06)),
    var(--color-bg-secondary);
}

.about-closing-card h2 {
  max-width: 780px;
  margin: 0.8rem auto 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-closing-card .contact-social {
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 1080px) {
  .about-hero__grid,
  .about-card-grid--four,
  .about-feature-grid,
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: calc(var(--header-height) + 2.2rem) 0 3.2rem;
  }

  .about-hero__title {
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: normal;
  }

  .about-hero__visual {
    min-height: 320px;
  }

  .about-hero__badge img {
    width: min(150px, 52vw);
    height: min(150px, 52vw);
  }

  .about-card-grid--four,
  .about-feature-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-card--wide {
    grid-column: auto;
  }
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand p {
  color: var(--color-gray-300);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--color-gray-300);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--color-gray-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--color-gray-500);
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.footer__social a:hover {
  color: var(--color-gold);
}

/* --- Toast / Alerts --- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success { border-color: rgba(61, 90, 61, 0.5); }
.toast--error { border-color: rgba(139, 26, 26, 0.5); }

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1 / -1;
  color: var(--color-gray-300);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    var(--color-bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
  opacity: 0.82;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab {
  padding: 0.75rem 1.25rem;
  color: var(--color-gray-300);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab:hover { color: var(--color-white); }
.tab--active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--color-gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination__btn:hover,
.pagination__btn--active {
  background: var(--color-gold);
  color: var(--color-bg-primary);
  border-color: var(--color-gold);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* --- Utility Classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* Portal cliente — confirmación post-envío */
.cliente-confirmacion {
  text-align: center;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(201, 162, 39, 0.15);
}
.cliente-confirmacion__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.cliente-confirmacion__title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 2.25rem;
  letter-spacing: 0.08em;
  color: var(--color-gold, #d4af37);
  margin-bottom: 0.75rem;
}
.cliente-confirmacion__lead {
  color: var(--color-gray-300);
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}
.cliente-confirmacion__note {
  color: var(--color-gray-400);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.cliente-confirmacion__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}
.cliente-confirmacion__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin: 1.75rem auto;
  padding: 1.25rem;
  max-width: 32rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 480px) {
  .cliente-confirmacion__meta { grid-template-columns: 1fr; }
}

/* Portal cliente — acciones formulario */
.cliente-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cliente-form-actions__draft {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Portal cliente — modal envío a revisión */
.cliente-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.cliente-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.cliente-modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 2rem 1.75rem;
  background: var(--color-bg-card, #141418);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.cliente-modal__title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--color-gold, #d4af37);
  margin-bottom: 0.75rem;
}

.cliente-modal__text {
  color: var(--color-gray-300);
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.cliente-modal__actions {
  display: grid;
  gap: 0.75rem;
}

body.cliente-modal-open {
  overflow: hidden;
}

/* Portal cliente — ubicación Perú */
.form-row--ubigeo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .form-row--ubigeo { grid-template-columns: 1fr; }
}

/* Portal cliente — panel sesión */
.form-row--actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 640px) {
  .form-row--actions { grid-template-columns: 1fr; }
}

/* Fase 3+ — enlace premium discreto en portada (no usar en index hasta Fase portada) */
.hero__premium-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.hero__premium-link:hover {
  color: rgba(212, 175, 55, 0.95);
  opacity: 1;
}
.hero__premium-link::after {
  content: '→';
  font-size: 0.9em;
  opacity: 0.85;
  transition: transform 0.25s ease;
}
.hero__premium-link:hover::after {
  transform: translateX(3px);
}

/* Portal cliente — upgrades / videos */
.cliente-panel-mejoras {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.cliente-upgrade-banner {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(255, 255, 255, 0.02));
}

.cliente-upgrade-banner__title {
  margin: 0 0 0.35rem;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cliente-upgrade-banner__text {
  margin: 0 0 0.85rem;
  color: var(--color-gray-300);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cliente-video-locked {
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-gray-300);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cliente-video-locked a {
  color: var(--color-gold);
}

.cliente-fotos-empty {
  margin: 0.5rem 0 0;
}

.cliente-fotos-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cliente-foto-preview {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cliente-foto-preview__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--color-bg-input);
}

.cliente-foto-preview__info {
  padding: 0.5rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cliente-foto-preview__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}

.cliente-foto-preview__name {
  font-size: 0.8rem;
  color: var(--color-white);
  word-break: break-all;
  line-height: 1.3;
}

.cliente-foto-preview__size {
  font-size: 0.75rem;
  color: var(--color-gray-400);
}

.cliente-foto-preview__remove {
  align-self: flex-start;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
}

.cliente-foto-preview--loading {
  opacity: 0.85;
}

.detail-main-photo {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #111;
}

.detail-photo-frame {
  max-width: 560px;
  margin: 0 auto 2rem;
  padding: 0.75rem;
  background: #111;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 520px;
}

.detail-social,
.detail-videos {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-social__title,
.detail-videos__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin: 0 0 0.75rem;
}

.detail-social__buttons,
.detail-videos__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-social__btn,
.detail-videos__btn {
  text-decoration: none;
}

.detail-contact {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-contact__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin: 0 0 0.75rem;
}

.detail-contact__btn {
  text-decoration: none;
  display: inline-block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 11, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .card__image,
  .card--atleta .card__image {
    height: 240px;
  }

  .card__image img,
  .card__image .placeholder-img,
  .card-img {
    height: 100%;
  }

  .detail-hero {
    height: 220px;
  }
}

/* --- Premium Public Profile Detail System --- */
.profile-detail-page {
  background:
    radial-gradient(circle at 12% 6%, rgba(201, 162, 39, 0.11), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(139, 26, 26, 0.12), transparent 30rem),
    linear-gradient(180deg, #070708 0%, var(--color-bg-primary) 42%);
}

.profile-detail-page--basic-hero {
  position: relative;
  background: #17140f;
}

.profile-detail-page .detail-hero,
.profile-detail-page .page-header {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  height: auto;
  padding: calc(var(--header-height) + 3.2rem) 0 3.8rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.11);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 162, 39, 0.15), transparent 28rem),
    linear-gradient(180deg, rgba(18,18,20,0.68), rgba(10,10,11,0.98));
}

.profile-detail-page .detail-hero::after,
.profile-detail-page .page-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 90px),
    linear-gradient(180deg, transparent, rgba(10,10,11,0.92));
  pointer-events: none;
}

.profile-detail-page .detail-hero__bg {
  filter: brightness(0.38) saturate(0.9) blur(1px);
  transform: scale(1.08);
}

.profile-detail-page .detail-hero__overlay {
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 162, 39, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(5,5,6,0.58), rgba(5,5,6,0.84)),
    linear-gradient(0deg, var(--color-bg-primary) 0%, transparent 58%);
}

.profile-detail-page .detail-hero__content {
  position: relative;
  z-index: 2;
  inset: auto;
}

.profile-detail-page .detail-hero__content .container,
.profile-detail-page .page-header .container {
  position: relative;
  z-index: 2;
}

.profile-detail-page .page-header__breadcrumb {
  margin-bottom: 1.2rem;
  color: rgba(224,224,224,0.5);
}

.profile-detail-page .display-title,
.profile-detail-page .page-header__title {
  max-width: 980px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.045em;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.52);
}

.profile-detail-page .detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(1.35rem, 3vw, 2.5rem);
  padding: 3.2rem 0 4.8rem;
  align-items: start;
}

.profile-detail-page .detail-photo-frame,
.profile-detail-page .detail-layout > div:first-child > img:first-child,
.profile-detail-page #torneo-content .detail-layout > div:first-child > img:first-child,
.profile-detail-page #articulo-content article > .container > img:first-child {
  overflow: hidden;
  padding: 0.75rem !important;
  border: 1px solid rgba(201, 162, 39, 0.22) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    #101013 !important;
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.42), 0 0 36px rgba(201, 162, 39, 0.1);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.profile-detail-page .detail-photo-frame:hover,
.profile-detail-page .detail-layout > div:first-child > img:first-child:hover,
.profile-detail-page #articulo-content article > .container > img:first-child:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.42) !important;
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.5), 0 0 44px rgba(201, 162, 39, 0.15);
}

.profile-detail-page .detail-main-photo {
  border-radius: 20px;
  background: #0c0c0e;
}

.profile-detail-page .detail-main > p,
.profile-detail-page .detail-layout > div:first-child > p,
.profile-detail-page #articulo-content article > .container > div,
.profile-detail-page #articulo-content article > .container > p {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(26, 26, 30, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.profile-detail-page .detail-main > p,
.profile-detail-page .detail-layout > div:first-child > p {
  padding: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
}

.profile-detail-page #articulo-content article > .container {
  max-width: 920px !important;
}

.profile-detail-page #articulo-content article > .container > div,
.profile-detail-page #articulo-content article > .container > p {
  padding: clamp(1.2rem, 2vw, 1.7rem) !important;
}

.profile-detail-page blockquote {
  border: 1px solid rgba(201, 162, 39, 0.18) !important;
  border-left: 3px solid var(--color-gold) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 39, 0.12), transparent 14rem),
    rgba(26, 26, 30, 0.82) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.profile-detail-page .detail-sidebar {
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 162, 39, 0.1), transparent 15rem),
    linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.014)),
    rgba(18, 18, 20, 0.86);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.profile-detail-page .detail-sidebar__item {
  padding: 1rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.065);
}

.profile-detail-page .detail-sidebar__item:first-child {
  padding-top: 0;
}

.profile-detail-page .detail-sidebar__label {
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 700;
}

.profile-detail-page .detail-sidebar__value {
  color: var(--color-gray-100);
  line-height: 1.55;
}

.profile-detail-page .detail-sidebar .btn {
  border-radius: 999px;
}

.profile-detail-page .gallery {
  gap: 0.9rem;
}

.profile-detail-page .gallery__item {
  border-color: rgba(201, 162, 39, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    #0f0f12;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

.profile-detail-page .gallery__item:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(201, 162, 39, 0.34);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38), 0 0 24px rgba(201, 162, 39, 0.11);
}

.profile-detail-page .gallery__item img {
  object-fit: cover;
  transition: transform 0.42s ease, filter 0.42s ease;
}

.profile-detail-page .gallery__item:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.profile-detail-page .detail-social,
.profile-detail-page .detail-videos,
.profile-detail-page .detail-contact {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-detail-page .detail-social__buttons,
.profile-detail-page .detail-videos__buttons {
  gap: 0.65rem;
}

.profile-detail-page .detail-social__btn,
.profile-detail-page .detail-videos__btn,
.profile-detail-page .detail-contact__btn {
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
  .profile-detail-page .detail-layout {
    grid-template-columns: 1fr;
  }

  .profile-detail-page .detail-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .profile-detail-page .detail-hero,
  .profile-detail-page .page-header {
    min-height: 340px;
    padding: calc(var(--header-height) + 2.4rem) 0 2.8rem;
  }

  .profile-detail-page .display-title,
  .profile-detail-page .page-header__title {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .profile-detail-page .detail-layout {
    padding-top: 2rem;
  }
}

/* --- Print --- */
@media print {
  .header, .footer, .filters, .admin-sidebar { display: none; }
  body { background: white; color: black; }
}
