/*
 * @castilloenfoca — Golden Ratio Visual System v4
 * Phi = 1.61803398875. This layer keeps the original identity and behavior,
 * while normalizing hierarchy, rhythm, geometry and responsive composition.
 */

:root {
  --phi: 1.61803398875;
  --phi-inverse: 0.61803398875;

  /* Fibonacci rhythm: 5, 8, 13, 21, 34, 55, 89, 144 */
  --g-1: 0.3125rem;
  --g-2: 0.5rem;
  --g-3: 0.8125rem;
  --g-4: 1.3125rem;
  --g-5: 2.125rem;
  --g-6: 3.4375rem;
  --g-7: 5.5625rem;
  --g-8: 9rem;

  /* One coherent modular type scale, derived from 1.125 and phi landmarks. */
  --type-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  --type-sm: clamp(0.875rem, 0.84rem + 0.16vw, 0.95rem);
  --type-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --type-lead: clamp(1.125rem, 1.04rem + 0.38vw, 1.3125rem);
  --type-h3: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
  --type-h2: clamp(2rem, 1.45rem + 2.2vw, 3.4375rem);
  --type-hero: clamp(2.75rem, 1.65rem + 4.45vw, 5.5625rem);

  --text-primary: #fffdf9;
  --text-secondary: #c9c2ba;
  --font-headline: var(--font-heading);
  --section-padding-y: clamp(var(--g-6), 7vw, var(--g-7));
  --content-max: 80.901rem; /* 1294.4px = 800 × phi */
  --reading-max: 49.5rem;
  --shadow-md: 0 13px 34px rgba(0, 0, 0, 0.48);
  --shadow-depth: 0 21px 55px rgba(0, 0, 0, 0.55);
  --gold-line: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.8), transparent);
}

/* Booking form: privacidad, antispam y retroalimentación accesible. */
.form-honeypot {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.booking-privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block: 0.75rem;
  color: var(--text-secondary, #c8c8c8);
  font-size: 0.9rem;
  line-height: 1.55;
}

.booking-privacy-consent input {
  flex: 0 0 1.25rem;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin-top: 0.1rem;
  accent-color: #ff9f0a;
}

.booking-privacy-consent a {
  color: #ffb52e;
  text-underline-offset: 0.2em;
}

.booking-form-status {
  min-block-size: 1.5rem;
  margin-block: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.booking-form-status[data-state="error"] { color: #ff8f87; }
.booking-form-status[data-state="warning"] { color: #ffd166; }
.booking-form-status[data-state="success"] { color: #51e28a; }
.booking-form-status[data-state="loading"] { color: #d7d7d7; }

html {
  scroll-padding-top: calc(var(--header-height) + var(--g-3));
}

body {
  line-height: 1.618;
  background-color: #070504;
  background-image:
    radial-gradient(ellipse 61.8% 38.2% at 85% 8%, rgba(255, 111, 24, 0.13), transparent 72%),
    radial-gradient(ellipse 38.2% 61.8% at 8% 45%, rgba(255, 179, 0, 0.065), transparent 76%),
    linear-gradient(180deg, #070504 0%, #0b0705 50%, #070504 100%);
}

body::before {
  opacity: 0.18;
  background-size: 233px 144px;
}

::selection {
  color: #090504;
  background: #ffb300;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(255, 179, 0, 0.95);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - clamp(2rem, 6.8vw, 6.875rem)), var(--content-max));
  max-width: none;
  padding-inline: 0;
}

p {
  text-wrap: pretty;
}

.display-title,
.hero-headline {
  text-wrap: balance;
  letter-spacing: -0.045em;
}

.gradient-text {
  background-image: linear-gradient(118deg, #fff0ba 0%, #ffbf2f 31%, #ff7a1a 72%, #ffb300 100%);
  background-size: 180% 100%;
  filter: drop-shadow(0 8px 22px rgba(255, 107, 20, 0.34));
}

.section-header {
  max-width: var(--reading-max);
  margin-bottom: var(--g-6);
}

.section-header::after {
  content: '';
  width: 89px;
  height: 1px;
  margin-top: var(--g-4);
  background: var(--gold-line);
}

.section-header h2,
.section-header .display-title {
  font-size: var(--type-h2);
  line-height: 1.06;
  margin-bottom: var(--g-3);
}

.section-header p {
  max-width: 61.8ch;
  font-size: var(--type-body);
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-tag {
  margin-bottom: var(--g-4);
  padding: var(--g-2) var(--g-4);
  font-size: var(--type-xs);
  letter-spacing: 0.1em;
  box-shadow: 0 0 21px rgba(255, 94, 30, 0.14);
}

/* Header: reduce visual noise and preserve a clear 61.8/38.2 hierarchy. */
.site-header {
  min-height: 72px;
  background: rgba(7, 5, 4, 0.84);
  border-bottom-color: rgba(255, 179, 0, 0.17);
  backdrop-filter: blur(21px) saturate(1.25);
}

.site-header.scrolled {
  background: rgba(7, 5, 4, 0.95);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.4);
}

.header-inner {
  min-height: 72px;
  gap: var(--g-4);
}

.brand-logo {
  flex: 0 0 auto;
}

.brand-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--g-3);
}

.nav-desktop {
  gap: 0.2rem;
  padding: var(--g-1) var(--g-2);
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 179, 0, 0.18);
}

.nav-link {
  padding: 0.58rem 0.68rem;
  font-size: 0.75rem;
  letter-spacing: -0.01em;
}

/* Hero: the copy occupies the golden major column, the moving subject the minor. */
.hero-section.veo-hero-format {
  min-height: min(1000px, 100svh);
  isolation: isolate;
}

.hero-video-bg {
  object-position: center 42%;
  filter: brightness(0.92) contrast(1.08) saturate(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 5, 4, 0.91) 0%, rgba(7, 5, 4, 0.66) 38.2%, rgba(7, 5, 4, 0.12) 72%, rgba(7, 5, 4, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 5, 4, 0.72) 0%, transparent 23.6%, transparent 76.4%, rgba(7, 5, 4, 0.74) 100%);
}

.hero-content-overlay {
  min-height: 100svh;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: calc(var(--header-height) + var(--g-6)) 0 var(--g-6);
}

.hero-text-badge {
  margin-bottom: var(--g-4);
  padding: var(--g-2) var(--g-4);
  background: rgba(7, 5, 4, 0.74);
}

.hero-headline {
  width: 61.8%;
  max-width: 50rem;
  margin-bottom: var(--g-4);
  font-family: var(--font-heading);
  font-size: var(--type-hero);
  line-height: 0.98;
  color: var(--text-primary);
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.72);
}

.hero-subtext {
  width: min(61.8%, 43rem);
  max-width: 61.8ch;
  margin-bottom: var(--g-5);
  padding: 0;
  font-size: var(--type-lead);
  line-height: 1.55;
  color: #f2ede6;
  background: none;
  backdrop-filter: none;
  text-shadow: 0 3px 13px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  justify-content: flex-start;
  gap: var(--g-3);
  margin-bottom: var(--g-5);
}

.btn-hero-main,
.btn-hero-secondary {
  min-height: 55px;
  padding-inline: var(--g-5) !important;
  border-radius: var(--g-3) !important;
}

.hero-response-promise-bar {
  justify-content: flex-start;
  max-width: 61.8rem;
  padding: var(--g-3) var(--g-4);
  border-radius: var(--g-3);
  background: rgba(7, 5, 4, 0.78);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.32);
}

/* Unified section rhythm. */
:where(
  .pillar-workflow-section,
  .video-lab-section,
  .ecosystem-section,
  .scouting-section,
  .success-cases-section,
  .hardware-section,
  .services-section,
  .testimonials-section,
  .gallery-section,
  .coverage-map-section,
  .booking-section,
  .faq-section
) {
  padding-block: var(--section-padding-y);
}

:where(
  .video-lab-section,
  .scouting-section,
  .services-section,
  .gallery-section,
  .booking-section
)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 94, 30, 0.035), transparent 38.2%, rgba(255, 179, 0, 0.02));
  border-block: 1px solid rgba(255, 179, 0, 0.045);
}

/* Panels and cards share one optical language. */
:where(
  .pillar-tab-btn,
  .pillar-panel-display,
  .veo-theater-container,
  .ecosystem-card,
  .player-card,
  .case-card,
  .hardware-showcase-box,
  .service-card,
  .testimonial-card,
  .gallery-item,
  .venue-card,
  .booking-box,
  .faq-item
) {
  border-color: rgba(255, 179, 0, 0.18);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.28);
}

.pillar-tabs-container {
  gap: var(--g-3);
  margin-bottom: var(--g-4);
}

.pillar-tab-btn {
  min-height: 144px;
  padding: var(--g-4);
  border-radius: var(--g-3);
}

.pillar-tab-btn.active::after {
  left: 19.1%;
  width: 61.8%;
}

.pillar-panel-display {
  grid-template-columns: minmax(0, 1.618fr) minmax(280px, 1fr);
  gap: var(--g-6);
  padding: var(--g-6);
  border-radius: var(--g-5);
}

.pillar-content-box h3 {
  font-size: var(--type-h3);
  line-height: 1.16;
}

.pillar-content-box p {
  max-width: 55ch;
  font-size: var(--type-body);
}

.pillar-media-preview {
  aspect-ratio: 1 / 1.618;
  max-height: 34rem;
  border-radius: var(--g-4);
}

.veo-theater-container {
  border-radius: var(--g-5);
}

.ecosystem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--g-4);
}

.ecosystem-card {
  min-height: 233px;
  padding: var(--g-5) var(--g-4);
  border-radius: var(--g-4);
}

.ecosystem-icon {
  width: 55px;
  height: 55px;
  margin-bottom: var(--g-4);
}

.scouting-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--g-4);
}

.player-card,
.case-card,
.service-card,
.testimonial-card {
  border-radius: var(--g-4);
}

.player-card-media {
  aspect-ratio: 1 / 1.236;
}

.player-card-body {
  padding: var(--g-4);
}

.success-cases-grid,
.testimonials-grid {
  gap: var(--g-4);
  margin-top: var(--g-5);
}

.case-image-holder {
  aspect-ratio: 1.618 / 1;
}

.case-content,
.testimonial-card {
  padding: var(--g-4);
}

.hardware-showcase-box {
  grid-template-columns: minmax(0, 1.618fr) minmax(280px, 1fr);
  gap: var(--g-6);
  padding: var(--g-6);
  border-radius: var(--g-5);
}

.hardware-visual {
  aspect-ratio: 1.618 / 1;
  border-radius: var(--g-4);
}

/* Two broad service columns outperform four compressed columns. */
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--g-4);
}

.service-card {
  min-height: 610px;
  padding: var(--g-5);
}

.service-card.featured-card {
  border-color: rgba(255, 179, 0, 0.72);
  box-shadow: 0 21px 55px rgba(0, 0, 0, 0.48), 0 0 34px rgba(255, 139, 0, 0.13);
}

.service-card h3 {
  font-size: var(--type-h3);
}

.service-price-box {
  padding: var(--g-4);
  border-radius: var(--g-3);
}

.service-card-footer a,
.btn-whatsapp-submit {
  min-height: 55px;
  border-radius: var(--g-3);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--g-4);
}

.gallery-item {
  aspect-ratio: 1 / 1.618;
  border-radius: var(--g-4);
}

.gallery-item-overlay {
  opacity: 1;
  padding: var(--g-4);
  background: linear-gradient(180deg, transparent 52%, rgba(7, 5, 4, 0.94) 100%);
}

.venues-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--g-4);
}

.venue-card {
  min-height: 233px;
  padding: var(--g-5);
  border-radius: var(--g-4);
}

.coverage-radius-banner {
  padding: var(--g-4) var(--g-5);
  border-radius: var(--g-4);
}

.booking-box {
  padding: var(--g-6);
  border-radius: var(--g-5);
}

.booking-grid {
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.618fr);
  gap: var(--g-6);
}

.booking-info p {
  max-width: 38.2ch;
}

.booking-contact-card {
  padding: var(--g-4);
  border-radius: var(--g-3);
}

.booking-form {
  gap: var(--g-3);
}

.form-control {
  min-height: 55px;
  padding: var(--g-3) var(--g-4);
  border-radius: var(--g-2);
}

.form-control:focus {
  border-color: rgba(255, 179, 0, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 179, 0, 0.1);
}

.faq-accordion-list {
  max-width: 55rem;
  gap: var(--g-3);
}

.faq-question {
  min-height: 89px;
  padding: var(--g-4) var(--g-5);
  font-size: var(--type-body);
}

.faq-answer {
  padding: var(--g-4) var(--g-5) var(--g-5);
}

.site-footer {
  padding-top: var(--g-7);
}

/* Motion remains tactile but never distorts the geometry. */
:where(
  .pillar-tab-btn,
  .ecosystem-card,
  .player-card,
  .case-card,
  .service-card,
  .testimonial-card,
  .gallery-item,
  .venue-card
):hover {
  transform: translateY(-5px);
}

@media (max-width: 1500px) {
  .brand-sub,
  .live-status-badge {
    display: none;
  }
}

@media (max-width: 1200px) {
  .container {
    width: min(calc(100% - var(--g-6)), var(--content-max));
  }

  .nav-desktop,
  .btn-share-header {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .ecosystem-grid,
  .scouting-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-panel-display,
  .hardware-showcase-box {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
    gap: var(--g-5);
    padding: var(--g-5);
  }
}

@media (max-width: 820px) {
  :root {
    --section-padding-y: var(--g-6);
  }

  body {
    padding-bottom: 74px;
  }

  .container {
    width: calc(100% - var(--g-5));
  }

  .header-inner {
    min-height: 64px;
  }

  .hero-section.veo-hero-format,
  .hero-content-overlay {
    min-height: 100svh;
  }

  .hero-video-bg {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 5, 4, 0.72) 0%, rgba(7, 5, 4, 0.18) 24%, rgba(7, 5, 4, 0.66) 67%, rgba(7, 5, 4, 0.94) 100%),
      linear-gradient(90deg, rgba(7, 5, 4, 0.54), transparent);
  }

  .hero-content-overlay {
    justify-content: flex-end;
    padding: calc(var(--header-height) + var(--g-5)) 0 var(--g-6);
  }

  .hero-headline,
  .hero-subtext {
    width: 100%;
  }

  .hero-headline {
    font-size: clamp(2.45rem, 11vw, 4.25rem) !important;
    line-height: 0.98;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-response-promise-bar {
    width: 100%;
    align-items: flex-start;
  }

  .pillar-tabs-container,
  .pillar-panel-display,
  .hardware-showcase-box,
  .services-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .pillar-panel-display,
  .hardware-showcase-box,
  .booking-box {
    padding: var(--g-4);
    border-radius: var(--g-4);
  }

  .pillar-media-preview {
    aspect-ratio: 1.618 / 1;
    max-height: 377px;
  }

  .service-card {
    min-height: 0;
    padding: var(--g-4);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--g-3);
  }

  .gallery-item {
    border-radius: var(--g-3);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - var(--g-4));
  }

  .hero-text-badge {
    max-width: 100%;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 8.2vw, 2.5rem) !important;
  }

  .btn-share-header {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    justify-content: center;
    flex: 0 0 42px;
  }

  .btn-share-header span {
    display: none;
  }

  .hero-cta-group,
  .hero-cta-group > a {
    width: 100%;
  }

  .ecosystem-grid,
  .scouting-cards-grid,
  .success-cases-grid,
  .testimonials-grid,
  .gallery-grid,
  .venues-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card,
  .venue-card {
    min-height: 0;
  }

  /* Mobile full-frame scouting: preserve the complete athletic gesture. */
  .case-image-holder {
    aspect-ratio: 4 / 5;
    position: relative;
    padding: 5px;
    background:
      linear-gradient(145deg, rgba(28, 114, 65, 0.5), rgba(7, 12, 9, 0.96) 42%),
      #07110b;
    border-bottom: 1px solid rgba(255, 179, 0, 0.38);
  }

  .case-image-holder img {
    object-fit: contain;
    object-position: center center;
    border-radius: calc(var(--g-4) - 5px) calc(var(--g-4) - 5px) 8px 8px;
    transform: none !important;
  }

  .case-card:hover .case-image-holder img {
    transform: none !important;
  }

  .player-card-media,
  .gallery-item {
    aspect-ratio: 1 / 1.35;
  }

  .faq-question {
    min-height: 72px;
    padding: var(--g-4);
  }

  .faq-answer {
    padding: var(--g-3) var(--g-4) var(--g-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile focus mode: all information remains available, but repeated content
   becomes a calm, guided horizontal story instead of one endless wall. */
.mobile-rail-guide {
  display: none;
}

@media (max-width: 820px) {
  body > section:not(#hero) .section-header {
    margin-bottom: 28px;
  }

  body > section:not(#hero) .section-header > p {
    max-width: 34ch;
    margin-inline: auto;
    line-height: 1.55;
  }

  .mobile-rail-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 12px;
    color: #8f998f;
    font: 700 0.62rem/1.2 var(--font-mono, monospace);
    letter-spacing: 0.075em;
    text-transform: uppercase;
  }

  .mobile-rail-guide::before {
    content: '';
    flex: 0 0 22px;
    height: 1px;
    background: #ff9c1a;
    box-shadow: 0 0 10px rgba(255, 156, 26, 0.5);
  }

  .mobile-rail-guide > span {
    margin-right: auto;
  }

  .mobile-rail-guide > b {
    color: #ffad2e;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-rail-guide.is-complete > b {
    color: #94a094;
  }

  .focus-content-rail {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: minmax(0, auto) !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84%, 1fr);
    align-items: stretch;
    gap: 14px !important;
    width: 100%;
    margin-top: 0 !important;
    padding: 0 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .focus-content-rail::-webkit-scrollbar {
    display: none;
  }

  .focus-content-rail > * {
    min-width: 0;
    height: 100%;
    opacity: 1 !important;
    transform: none !important;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    box-shadow: none !important;
  }

  .scouting-cards-grid.focus-content-rail,
  .services-grid.focus-content-rail {
    grid-auto-columns: minmax(90%, 1fr);
  }

  .ecosystem-grid.focus-content-rail,
  .testimonials-grid.focus-content-rail,
  .venues-grid.focus-content-rail {
    grid-auto-columns: minmax(82%, 1fr);
  }

  .focus-content-rail .player-card,
  .focus-content-rail .case-card,
  .focus-content-rail .service-card,
  .focus-content-rail .testimonial-card,
  .focus-content-rail .ecosystem-card,
  .focus-content-rail .venue-card {
    border-color: rgba(255, 174, 36, 0.16);
  }

  .focus-content-rail .service-card {
    min-height: 0;
  }

  .focus-content-rail .player-card:hover,
  .focus-content-rail .case-card:hover,
  .focus-content-rail .service-card:hover,
  .focus-content-rail .testimonial-card:hover {
    transform: none;
  }
}

/* Editorial hierarchy v1: the player archive leads, supporting chapters breathe. */
.player-delivery-stage[data-editorial-lead="true"] {
  margin-top: clamp(34px, 5vw, 72px);
  scroll-margin-top: calc(var(--header-height, 86px) + 18px);
}

section[data-editorial-chapter] {
  scroll-margin-top: calc(var(--header-height, 86px) + 18px);
}

.mobile-detail-toggle {
  display: none;
}

@media (max-width: 820px) {
  .player-delivery-stage[data-editorial-lead="true"] {
    width: calc(100% - 16px);
    margin-top: 18px;
    margin-bottom: 72px;
  }

  section[data-editorial-chapter] {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  section[data-editorial-chapter] + section[data-editorial-chapter] {
    border-top: 1px solid rgba(255, 174, 36, 0.08);
  }

  section[data-editorial-chapter] .section-header {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0 0 30px !important;
    padding: 4px 2px 0 !important;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  section[data-editorial-chapter] .section-header::before {
    content: attr(data-chapter);
    position: absolute;
    z-index: 0;
    top: -28px;
    right: 0;
    width: auto;
    height: auto;
    border: 0;
    color: rgba(255, 156, 26, 0.105);
    background: none;
    font: 900 clamp(4.6rem, 24vw, 6.4rem)/1 var(--font-heading, sans-serif);
    letter-spacing: -0.08em;
    pointer-events: none;
  }

  section[data-editorial-chapter] .section-header::after {
    content: '';
    position: static;
    display: block;
    width: 38.2%;
    max-width: 128px;
    height: 2px;
    margin-top: 22px;
    border: 0;
    background: linear-gradient(90deg, #ff9c1a, transparent);
  }

  section[data-editorial-chapter] .section-tag {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    width: fit-content;
    max-width: calc(100% - 54px);
    min-height: 0;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }

  section[data-editorial-chapter] .section-tag .dot {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 14px #ff6a1a;
  }

  section[data-editorial-chapter] .section-tag span:last-child {
    color: #c58f43;
    font-size: 0.62rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  section[data-editorial-chapter] .display-title {
    position: relative;
    z-index: 1;
    width: min(100%, 12ch);
    margin: 0;
    color: #f7f5ef;
    font-size: clamp(2.15rem, 10.7vw, 3.2rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-align: left;
  }

  section[data-editorial-chapter] .section-header > p {
    position: relative;
    z-index: 1;
    width: min(100%, 31ch);
    max-width: 31ch;
    margin: 18px 0 0;
    color: #a7afa6;
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
  }

  .mobile-detail-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 44px;
    margin: 14px 0 0;
    padding: 10px 13px;
    border: 1px solid rgba(255, 170, 38, 0.22);
    border-radius: 11px;
    color: #d9ded8;
    background: rgba(255, 255, 255, 0.025);
    font: 800 0.64rem/1 var(--font-mono, monospace);
    letter-spacing: 0.09em;
    cursor: pointer;
  }

  .mobile-detail-toggle b {
    color: #ff9c1a;
    font-size: 1.2rem;
    line-height: 1;
  }

  .focus-content-rail .service-features-list,
  .focus-content-rail .player-stats-bars {
    max-height: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 320ms ease, margin 320ms ease, opacity 220ms ease;
  }

  .focus-content-rail .is-details-open .service-features-list,
  .focus-content-rail .is-details-open .player-stats-bars {
    max-height: 520px;
    margin-top: 16px !important;
    margin-bottom: 12px !important;
    opacity: 1;
    pointer-events: auto;
  }

  .focus-content-rail .service-card-footer,
  .focus-content-rail .player-card-footer {
    margin-top: 16px;
  }
}

/* Cinematic hero sequence: uninterrupted film, timed message, clean reset. */
.hero-section.veo-hero-format .hero-content-overlay {
  visibility: hidden;
  pointer-events: none;
}

.hero-section.veo-hero-format .hero-content-overlay > * {
  opacity: 0;
  filter: blur(14px);
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section.veo-hero-format.is-copy-visible .hero-content-overlay {
  visibility: visible;
  pointer-events: auto;
}

.hero-section.veo-hero-format.is-copy-visible .hero-content-overlay > * {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.hero-section.is-copy-visible .hero-content-overlay > :nth-child(1) { transition-delay: 80ms; }
.hero-section.is-copy-visible .hero-content-overlay > :nth-child(2) { transition-delay: 190ms; }
.hero-section.is-copy-visible .hero-content-overlay > :nth-child(3) { transition-delay: 310ms; }
.hero-section.is-copy-visible .hero-content-overlay > :nth-child(4) { transition-delay: 430ms; }
.hero-section.is-copy-visible .hero-content-overlay > :nth-child(5) { transition-delay: 540ms; }

.hero-section.veo-hero-format.is-copy-hiding .hero-content-overlay > * {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, -24px, 0);
  transition-delay: 0ms;
  transition-duration: 520ms;
}

.hero-section.veo-hero-format .hero-overlay {
  transition: background 900ms ease, opacity 900ms ease;
}

.hero-section.veo-hero-format.is-video-playing .hero-overlay {
  opacity: 0.22;
  background:
    linear-gradient(180deg, rgba(7, 5, 4, 0.48) 0%, transparent 24%, transparent 78%, rgba(7, 5, 4, 0.44) 100%);
}

.hero-section.veo-hero-format.is-copy-visible .hero-overlay {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(7, 5, 4, 0.91) 0%, rgba(7, 5, 4, 0.66) 38.2%, rgba(7, 5, 4, 0.12) 72%, rgba(7, 5, 4, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 5, 4, 0.72) 0%, transparent 23.6%, transparent 76.4%, rgba(7, 5, 4, 0.74) 100%);
}

.hero-cinematic-progress {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.hero-cinematic-progress span {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: left center;
}

.hero-video-progress {
  background: linear-gradient(90deg, #ff5e1e, #ffb300 61.8%, #fff0ba);
  box-shadow: 0 0 16px rgba(255, 179, 0, 0.76);
  transform: scaleX(var(--hero-video-progress, 0));
}

.hero-reading-progress {
  opacity: 0;
  background: linear-gradient(90deg, #fff0ba, #ffb300, #ff5e1e);
}

.hero-section.is-copy-visible .hero-video-progress {
  opacity: 0;
}

.hero-section.is-copy-visible .hero-reading-progress {
  opacity: 1;
  animation: heroReadingWindow 9s linear forwards;
}

@keyframes heroReadingWindow {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 820px) {
  .hero-section.veo-hero-format.is-copy-visible .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 5, 4, 0.72) 0%, rgba(7, 5, 4, 0.18) 24%, rgba(7, 5, 4, 0.66) 67%, rgba(7, 5, 4, 0.94) 100%),
      linear-gradient(90deg, rgba(7, 5, 4, 0.54), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section.veo-hero-format .hero-content-overlay > * {
    filter: none;
    transform: none;
  }
}

/* Mobile-first refinement: preserve the desktop system while making every
   high-use action fit, read and feel intentional on narrow phones. */
@media (max-width: 820px) {
  html {
    scroll-padding-top: calc(var(--header-height) + var(--g-3));
  }

  section[id] {
    scroll-margin-top: calc(var(--header-height) + var(--g-3));
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header .container {
    width: calc(100% - 20px);
    padding-inline: 0;
  }

  .header-inner {
    gap: var(--g-2);
  }

  .header-inner > .brand-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 50px);
    overflow: hidden;
  }

  .header-inner .brand-text-block {
    min-width: 0;
    overflow: hidden;
  }

  .header-inner .brand-name {
    overflow: hidden;
    font-size: clamp(0.78rem, 4vw, 0.98rem);
    text-overflow: ellipsis;
  }

  .header-actions {
    flex: 0 0 40px;
    width: 40px;
    margin-left: auto;
  }

  .btn-secondary-glass.btn-share-header,
  .header-actions .live-status-badge {
    display: none;
  }

  .header-actions .mobile-menu-toggle {
    display: flex;
    flex: 0 0 40px;
  }

  .mobile-nav-drawer {
    width: min(86vw, 340px);
    max-width: calc(100vw - 16px);
    padding: var(--g-4);
    box-sizing: border-box;
  }

  .mobile-drawer-header .brand-logo {
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
    max-width: calc(100% - 42px);
  }

  .mobile-drawer-header .brand-icon-wrapper {
    width: 32px;
    height: 32px;
  }

  .mobile-drawer-header .brand-text-block {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .mobile-drawer-header .brand-name {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.62rem;
    text-overflow: ellipsis;
  }

  .mobile-bottom-bar {
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
    justify-content: stretch;
  }

  .mobile-nav-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    font-size: clamp(0.52rem, 2.6vw, 0.64rem);
  }

  .mobile-nav-item svg {
    width: 19px;
    height: 19px;
  }

  .mobile-nav-whatsapp-cta {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin-inline: 4px;
  }

  .section-header h2,
  .display-title {
    overflow-wrap: normal;
    word-break: normal;
  }

  .booking-box,
  .booking-grid,
  .booking-info,
  .booking-form,
  .form-row,
  .form-group {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .booking-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-grid {
    gap: var(--g-5);
  }

  .booking-info p {
    max-width: none;
  }

  .booking-contact-card {
    min-width: 0;
    max-width: 100%;
  }

  .booking-contact-card > div:last-child {
    min-width: 0;
  }

  .booking-contact-card a,
  .booking-contact-card span,
  .booking-contact-card p {
    overflow-wrap: anywhere;
  }

  .form-control,
  .btn-whatsapp-submit {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .veo-theater-container,
  .veo-bottom-bar,
  .veo-controls-row,
  .veo-clips-speed-bar {
    min-width: 0;
    max-width: 100%;
  }

  .veo-controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .veo-play-group {
    width: 100%;
    justify-content: space-between;
  }

  .veo-highlight-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
    gap: 5px;
  }

  .chip-highlight {
    min-width: 0;
    min-height: 38px;
    padding: 5px 4px;
    justify-content: center;
    font-size: clamp(0.56rem, 2.5vw, 0.7rem);
    text-align: center;
  }

  .chip-highlight svg {
    display: none;
  }

  .veo-clips-speed-bar {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
    gap: 7px;
  }

  .veo-clips-group,
  .veo-speed-group {
    display: grid;
    width: 100%;
    gap: 4px;
  }

  .veo-clips-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .veo-speed-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn-speed {
    min-width: 0;
    min-height: 42px;
    padding: 6px 5px;
  }

  .scouting-filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: var(--g-2);
  }

  .btn-filter-pill {
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero-content-overlay {
    justify-content: center;
    padding:
      calc(var(--header-height) + var(--g-3)) 0
      calc(76px + env(safe-area-inset-bottom));
  }

  .hero-text-badge {
    margin-bottom: var(--g-3);
    padding: 7px var(--g-3);
    font-size: clamp(0.54rem, 2.8vw, 0.64rem);
    line-height: 1.35;
  }

  .hero-headline {
    margin-bottom: var(--g-3);
    font-size: clamp(1.4rem, 7.4vw, 2.4rem) !important;
    line-height: 0.98;
    text-wrap: wrap;
  }

  .hero-subtext {
    margin-bottom: var(--g-4);
    font-size: clamp(0.84rem, 3.9vw, 0.98rem);
    line-height: 1.45;
  }

  .hero-cta-group {
    gap: var(--g-2);
    margin-bottom: 0;
  }

  .btn-hero-main,
  .btn-hero-secondary {
    min-height: 47px;
    padding: 9px 12px !important;
    font-size: 0.78rem;
  }

  .hero-response-promise-bar {
    display: none;
  }

  .section-header h2,
  .display-title {
    font-size: clamp(1.45rem, 7.8vw, 1.85rem) !important;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .section-header p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .section-tag {
    max-width: 100%;
    padding: 7px 12px;
    line-height: 1.3;
  }

  .player-card-media {
    aspect-ratio: 4 / 5;
  }

  .booking-box {
    padding: var(--g-3);
  }

  .booking-info h2 {
    font-size: clamp(1.45rem, 7.8vw, 1.85rem) !important;
    text-wrap: wrap;
  }

  .service-card h3 {
    font-size: clamp(1.05rem, 5.8vw, 1.3rem);
    text-wrap: wrap;
  }

  .booking-contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--g-3);
    text-align: center;
  }

  .booking-contact-card,
  .booking-contact-text {
    align-items: center;
  }

  .booking-contact-text {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
  }

  .booking-contact-card a,
  .booking-contact-card span,
  .booking-contact-card p {
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* ==========================================================================
   Mobile Golden Composition v5
   390px reference: 21px gutters / 348px content / Fibonacci 8·13·21·34·55.
   This final layer only affects phones and keeps the desktop composition intact.
   ========================================================================== */
@media (max-width: 560px) {
  :root {
    --header-height: 64px;
    --section-padding-y: var(--g-6);
  }

  .container {
    width: calc(100% - (2 * var(--g-4)));
  }

  .site-header,
  .header-inner {
    min-height: var(--header-height);
  }

  .site-header .container {
    width: calc(100% - (2 * var(--g-3)));
  }

  .header-inner {
    gap: var(--g-3);
  }

  .header-actions,
  .header-actions .mobile-menu-toggle {
    width: 42px;
    flex-basis: 42px;
  }

  .header-inner .brand-name {
    font-size: clamp(0.84rem, 3.8vw, 0.96rem);
    letter-spacing: -0.025em;
  }

  .section-header {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    margin-bottom: var(--g-5);
  }

  .section-header::after {
    width: 55px;
    margin-top: var(--g-3);
  }

  .section-header h2,
  .section-header .display-title {
    max-width: 17ch;
    margin-inline: auto;
    margin-bottom: var(--g-3);
    font-size: clamp(1.75rem, 7.6vw, 2.125rem) !important;
    line-height: 1;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .section-header p {
    max-width: 34ch;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.618;
    text-wrap: pretty;
  }

  .section-tag {
    max-width: min(100%, 21rem);
    margin-bottom: var(--g-3);
    padding: var(--g-2) var(--g-3);
    font-size: 0.6875rem;
    letter-spacing: 0.085em;
  }

  .pillar-tabs-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--g-2);
    margin-bottom: var(--g-4);
  }

  .pillar-tab-btn {
    min-height: 0;
    aspect-ratio: 1 / 1.618;
    padding: var(--g-3) var(--g-2);
    border-radius: var(--g-3);
  }

  .pillar-step-number {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .pillar-tab-title {
    font-size: 0.76rem;
    line-height: 1.18;
    text-wrap: balance;
  }

  .pillar-tab-desc {
    display: none;
  }

  .pillar-panel-display,
  .hardware-showcase-box,
  .booking-box {
    gap: var(--g-4);
    padding: var(--g-4);
    border-radius: var(--g-4);
  }

  .pillar-content-box .display-title,
  .booking-info h2 {
    max-width: 15ch;
    font-size: clamp(1.75rem, 7.6vw, 2.125rem) !important;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .ecosystem-grid,
  .scouting-cards-grid,
  .success-cases-grid,
  .services-grid,
  .testimonials-grid,
  .venues-grid {
    gap: var(--g-4);
  }

  .ecosystem-card,
  .service-card,
  .testimonial-card,
  .venue-card,
  .player-card-body,
  .case-content {
    padding: var(--g-4);
  }

  .ecosystem-card,
  .venue-card {
    min-height: 0;
  }

  .ecosystem-icon,
  .service-icon-box {
    margin-bottom: var(--g-3);
  }

  .player-card,
  .case-card,
  .service-card,
  .testimonial-card,
  .venue-card,
  .booking-contact-card,
  .service-price-box {
    border-radius: var(--g-4);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--g-3);
  }

  .gallery-item {
    aspect-ratio: 1 / 1.618;
    border-radius: var(--g-3);
  }

  .gallery-item-overlay {
    padding: var(--g-3);
    background: linear-gradient(180deg, transparent 44%, rgba(7, 5, 4, 0.96) 100%);
  }

  .gallery-item-info h4 {
    font-size: 0.8rem;
    line-height: 1.18;
  }

  .gallery-item-info span {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .booking-grid {
    gap: var(--g-5);
  }

  .booking-contact-card {
    padding: var(--g-4);
  }

  .booking-form {
    gap: var(--g-3);
  }

  .form-control,
  .btn-whatsapp-submit,
  .service-card-footer a {
    min-height: 55px;
  }
}

/* ==========================================================================
   Mobile Golden Composition v5.1 — full-body imagery + ordered navigation.
   ========================================================================== */
@media (max-width: 560px) {
  /* A symmetric viewfinder gives every chapter a recognizable visual signature. */
  .section-header {
    position: relative;
    padding: var(--g-5) var(--g-4) var(--g-4);
    overflow: hidden;
    border: 1px solid rgba(255, 179, 0, 0.18);
    border-radius: var(--g-4);
    background:
      linear-gradient(90deg, rgba(255, 179, 0, 0.72), rgba(255, 179, 0, 0.08)) left 13px top 13px / 34px 1px no-repeat,
      linear-gradient(180deg, rgba(255, 179, 0, 0.72), rgba(255, 179, 0, 0.08)) left 13px top 13px / 1px 34px no-repeat,
      linear-gradient(270deg, rgba(255, 179, 0, 0.72), rgba(255, 179, 0, 0.08)) right 13px top 13px / 34px 1px no-repeat,
      linear-gradient(180deg, rgba(255, 179, 0, 0.72), rgba(255, 179, 0, 0.08)) right 13px top 13px / 1px 34px no-repeat,
      radial-gradient(ellipse 61.8% 38.2% at 50% 0%, rgba(255, 111, 24, 0.15), transparent 76%),
      rgba(18, 10, 7, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 21px 55px rgba(0, 0, 0, 0.24);
  }

  /* Portrait golden rectangle: the complete player remains visible head-to-toe. */
  .pillar-media-preview {
    --pillar-preview-bg: url('../assets/optimized/responsive/IMG_6700-480.webp');
    isolation: isolate;
    aspect-ratio: 1 / 1.618;
    max-height: none;
    border-color: rgba(255, 179, 0, 0.42);
    background: #090705;
  }

  .pillar-media-preview::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: -21px;
    background:
      linear-gradient(180deg, rgba(7, 5, 4, 0.14), rgba(7, 5, 4, 0.72)),
      var(--pillar-preview-bg) center / cover no-repeat;
    filter: blur(18px) saturate(0.82) brightness(0.72);
    transform: scale(1.08);
    opacity: 0.78;
  }

  .pillar-media-preview::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: var(--g-3);
    pointer-events: none;
    border: 1px solid rgba(255, 179, 0, 0.3);
    border-radius: var(--g-3);
    box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.22);
  }

  .pillar-media-preview img {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    padding: var(--g-3);
    object-fit: contain !important;
    object-position: center center !important;
    filter: contrast(1.04) saturate(1.04) brightness(1.02) drop-shadow(0 13px 21px rgba(0, 0, 0, 0.42));
    transform: none !important;
  }

  /* Ten destinations, two equal columns and five identical rows. */
  .footer-top {
    align-items: center;
    gap: var(--g-4);
    text-align: center;
  }

  .footer-top > .brand-logo {
    align-self: center;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: var(--g-3);
    font-size: 0.72rem;
  }

  .footer-nav > span {
    display: none;
  }

  .footer-nav .nav-link {
    display: flex;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    padding: var(--g-2) var(--g-3);
    border: 1px solid rgba(255, 179, 0, 0.18);
    border-radius: var(--g-3);
    background: rgba(255, 179, 0, 0.035);
    line-height: 1.2;
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    gap: var(--g-3);
    padding-top: var(--g-4);
    text-align: center;
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--g-2) var(--g-3);
  }
}

/* ========================================================================== 
   Mobile Golden Composition v5.2 — Phi-safe headline scale
   1.618rem preserves the modular system while keeping the widest sports-font
   words inside the 21px mobile gutters on compact screens.
   ========================================================================== */
@media (max-width: 560px) {
  .section-header h2,
  .section-header .display-title,
  .booking-info > .display-title {
    font-size: 1.618rem !important;
    line-height: 1.04;
    letter-spacing: -0.032em;
  }
}

/* ========================================================================== 
   Match Lab Full-Frame Video v5.3
   Native clips are 9:16. The primary image is never cropped; desktop uses a
   synchronized ambient layer and phones use the exact native composition.
   ========================================================================== */
.veo-video-wrapper {
  aspect-ratio: 16 / 9;
  max-height: 720px;
  isolation: isolate;
  background:
    radial-gradient(ellipse 61.8% 100% at 50% 50%, rgba(255, 116, 24, 0.14), transparent 72%),
    #050403;
}

.veo-video-wrapper .veo-video-ambient {
  position: absolute;
  z-index: 0;
  inset: -34px;
  width: calc(100% + 68px) !important;
  height: calc(100% + 68px) !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none;
  filter: blur(28px) brightness(0.34) saturate(1.18);
  transform: scale(1.04);
  opacity: 0.72;
}

.veo-video-wrapper #veoVideo,
.veo-video-wrapper .veo-active-video {
  z-index: 1;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent;
  filter: drop-shadow(0 21px 34px rgba(0, 0, 0, 0.62));
}

.veo-video-wrapper .tactical-overlay,
.veo-video-wrapper .tactical-annotation-layer {
  z-index: 3;
}

@media (max-width: 560px) {
  .veo-video-wrapper {
    aspect-ratio: 9 / 16;
    max-height: none;
  }

  .veo-video-wrapper .veo-video-ambient {
    display: none !important;
  }

  .veo-video-wrapper #veoVideo,
  .veo-video-wrapper .veo-active-video {
    object-fit: contain !important;
    filter: none;
  }
}

/* ========================================================================== 
   Editorial Sports Finish v5.4
   A quieter premium shell: clear announcement, light navigation capsule,
   broad dark surfaces and restrained orange accents. Brand and behavior stay
   entirely Castillo Enfoca.
   ========================================================================== */
:root {
  --header-height: 110px;
  --editorial-ink: #0b100c;
  --editorial-paper: #f1f0ea;
  --editorial-line: rgba(255, 255, 255, 0.13);
}

.site-header {
  height: auto;
  min-height: var(--header-height);
  padding-bottom: 8px;
  border: 0;
  background: rgba(8, 12, 9, 0.88);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.12);
}

.site-header.scrolled {
  background: rgba(8, 12, 9, 0.96);
  border: 0;
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.3);
}

.site-announcement {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 5px 1rem;
  overflow: hidden;
  color: #160b04;
  background: linear-gradient(90deg, #ffb21a, #ff7a1a 61.8%, #ff9e21);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.site-header .header-inner {
  width: min(calc(100% - 32px), var(--content-max));
  max-width: var(--content-max) !important;
  min-height: 64px;
  height: 64px;
  margin: 8px auto 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  color: var(--editorial-ink);
  background: rgba(241, 240, 234, 0.97);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.28);
}

.site-header .brand-icon-wrapper {
  color: #130b05;
  background: linear-gradient(135deg, #ffb21a, #ff7519);
  border-color: rgba(19, 11, 5, 0.12);
  box-shadow: none;
}

.site-header .brand-icon-wrapper svg {
  color: #130b05;
}

.site-header .brand-name {
  color: var(--editorial-ink);
}

.site-header .brand-name span {
  color: #e84d12;
}

.site-header .brand-sub {
  color: #4e574f;
}

.site-header .nav-desktop {
  gap: 0.08rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .nav-link {
  padding: 0.62rem 0.58rem;
  color: #293129;
  font-size: 0.73rem;
}

.site-header .nav-link:hover {
  color: #050705;
}

.site-header .nav-link::after {
  height: 3px;
  background: #f05b1a;
}

.site-header .header-actions > .live-status-badge {
  display: none;
}

.site-header .btn-share-header {
  min-height: 40px;
  padding-inline: 14px;
  color: #fff;
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
  box-shadow: none;
}

.site-header .btn-share-header:hover {
  color: #fff;
  background: #202820;
  border-color: #202820;
}

.hero-section.veo-hero-format {
  background: #0a100c;
}

.hero-section.veo-hero-format.is-copy-visible .hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 9, 0.96) 0%, rgba(8, 13, 9, 0.79) 42%, rgba(8, 13, 9, 0.14) 74%),
    linear-gradient(180deg, rgba(8, 13, 9, 0.58), transparent 36%, rgba(8, 13, 9, 0.54));
}

.hero-text-badge,
.section-tag {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff7e9;
  background: rgba(11, 16, 12, 0.58);
  box-shadow: none;
}

.btn-hero-main {
  color: var(--editorial-ink) !important;
  background: var(--editorial-paper) !important;
  border-color: var(--editorial-paper) !important;
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.25) !important;
}

.btn-hero-main:hover {
  color: var(--editorial-ink) !important;
  background: #fff !important;
}

.btn-hero-secondary {
  border-color: rgba(255, 255, 255, 0.64) !important;
  background: rgba(11, 16, 12, 0.42) !important;
}

:where(
  .pillar-panel-display,
  .ecosystem-card,
  .player-card,
  .case-card,
  .hardware-showcase-box,
  .service-card,
  .testimonial-card,
  .venue-card,
  .booking-box,
  .faq-item
) {
  border-color: var(--editorial-line) !important;
  border-radius: clamp(18px, 2vw, 28px) !important;
}

@media (max-width: 820px) {
  :root {
    --header-height: 96px;
  }

  .site-announcement {
    min-height: 26px;
    gap: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.055em;
  }

  .site-announcement span:nth-of-type(4),
  .site-announcement span:nth-of-type(5) {
    display: none;
  }

  .site-header .header-inner {
    width: calc(100% - 20px);
    min-height: 58px;
    height: 58px;
    margin-top: 6px;
    padding-inline: 10px;
    border-radius: 17px;
  }

  .site-header .brand-icon-wrapper {
    width: 38px;
    height: 38px;
  }

  .site-header .brand-sub {
    display: none;
  }

  .site-header .mobile-menu-toggle {
    color: var(--editorial-ink);
    background: transparent;
    border-color: rgba(11, 16, 12, 0.22);
    box-shadow: none;
  }

  .site-header .hamburger-bar {
    background: var(--editorial-ink);
  }
}

@media (max-width: 390px) {
  .site-announcement {
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .site-header .brand-name {
    font-size: 0.9rem;
  }
}

/* ========================================================================== 
   v5.5 — Full athletic frame: preserve feet and complete body in every card
   ========================================================================== */

/* The source photographs are 3:4 portraits. Matching their real ratio avoids
   destructive cropping on both desktop and mobile without stretching them. */
.case-image-holder,
.player-card-media {
  aspect-ratio: 3 / 4;
  box-sizing: border-box;
  padding: clamp(4px, 0.45vw, 7px);
  background:
    radial-gradient(circle at 50% 38%, rgba(36, 121, 70, 0.32), transparent 58%),
    #07110b;
  border-bottom: 1px solid rgba(255, 179, 0, 0.32);
}

.case-image-holder img,
.player-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: calc(clamp(18px, 2vw, 28px) - 7px) calc(clamp(18px, 2vw, 28px) - 7px) 8px 8px;
  transform: none !important;
}

.case-card:hover .case-image-holder img,
.player-card:hover .player-card-media img {
  transform: none !important;
}

/* ========================================================================== 
   v5.6 — Permanent no-crop media contract

   Product rule: every real photograph and every primary video must expose its
   complete native frame. Only an element explicitly marked as "ambient" may
   use a decorative crop. Keep this layer last so later responsive rules cannot
   accidentally reintroduce cover on user-visible media.
   ========================================================================== */

[data-media-frame="full"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(36, 121, 70, 0.28), transparent 61.8%),
    #050806;
}

:where(
  .pillar-media-preview,
  .player-card-media,
  .case-image-holder,
  .hardware-visual,
  .gallery-item
)[data-media-frame="full"] {
  aspect-ratio: 3 / 4;
}

/* Global safety net: no primary image or video may be cropped. */
img:not([data-media-role="ambient"]),
video:not([data-media-role="ambient"]) {
  object-fit: contain !important;
  object-position: center center !important;
}

/* Disable media zooms: scaling a contained frame would crop it again. */
[data-media-frame="full"] > img:not([data-media-role="ambient"]),
[data-media-frame="full"] > video:not([data-media-role="ambient"]) {
  z-index: 1;
  transform: none !important;
}

[data-media-frame="full"]:hover > img:not([data-media-role="ambient"]),
[data-media-frame="full"]:hover > video:not([data-media-role="ambient"]) {
  transform: none !important;
}

/* The hero keeps cinematic depth without sacrificing any video pixels: the
   blurred poster fills unused space while the live video remains complete. */
.hero-bg-media[data-media-frame="full"]::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -34px;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.08), rgba(5, 8, 6, 0.52)),
    url('../assets/optimized/hero_stadium_poster.webp') center / cover no-repeat;
  filter: blur(26px) brightness(0.58) saturate(1.08);
  transform: scale(1.06);
}

.hero-bg-media[data-media-frame="full"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-media[data-media-frame="full"] .hero-video-bg {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* La portada conserva siempre el cuadro completo. El fondo ambiental cubre
   el espacio sobrante sin recortar jugadores, balón ni pies. */
@media (min-width: 821px) {
  .hero-bg-media[data-media-frame="full"] .hero-video-bg {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Precios: foco luminoso de alta legibilidad sin alterar la arquitectura de servicios. */
#servicios .service-price-box {
  isolation: isolate;
  min-height: 178px;
  padding: clamp(20px, 2.5vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 176, 46, 0.78);
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 196, 82, 0.3), transparent 54%),
    linear-gradient(145deg, rgba(57, 25, 7, 0.98), rgba(20, 13, 8, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 201, 0.22),
    inset 0 -18px 44px rgba(0, 0, 0, 0.18),
    0 16px 36px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(255, 134, 20, 0.16);
}

#servicios .service-price-box::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -72px;
  left: 50%;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 178, 47, 0.18);
  filter: blur(42px);
  transform: translateX(-50%);
  pointer-events: none;
}

#servicios .service-price-box::after {
  content: '';
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(255, 222, 160, 0.08);
  border-radius: calc(var(--g-3) - 5px);
  pointer-events: none;
}

#servicios .service-card:hover .service-price-box {
  border-color: #ffc14f;
  background:
    radial-gradient(circle at 50% -16%, rgba(255, 205, 105, 0.38), transparent 56%),
    linear-gradient(145deg, rgba(67, 29, 7, 0.99), rgba(22, 14, 8, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 218, 0.3),
    0 20px 42px rgba(0, 0, 0, 0.36),
    0 0 38px rgba(255, 139, 18, 0.26);
  transform: translateY(-2px);
}

#servicios .service-price-header {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 190, 73, 0.48);
  border-radius: 999px;
  color: #ffd27a;
  background: rgba(255, 153, 20, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

#servicios .service-price-main {
  gap: 7px;
  min-height: 54px;
  align-items: center;
}

#servicios .service-price-value {
  color: #fff8e9;
  font-size: clamp(2.75rem, 4.2vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-shadow: 0 0 24px rgba(255, 188, 64, 0.32), 0 3px 0 rgba(0, 0, 0, 0.34);
}

#servicios .service-price-value.custom-quote {
  color: #ffc14f;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  letter-spacing: -0.025em;
  text-shadow: 0 0 24px rgba(255, 153, 20, 0.32);
}

#servicios .service-price-currency {
  padding: 5px 8px;
  border: 1px solid rgba(255, 195, 83, 0.35);
  border-radius: 999px;
  color: #ffd88e;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

#servicios .service-price-sub {
  margin-top: 8px;
  color: #fff7e8;
  font-size: 0.86rem;
  font-weight: 750;
}

#servicios .service-price-bcv {
  margin-top: 8px;
  color: #cbd3c9;
  font-size: 0.78rem;
}

#servicios .service-price-bcv .bcv-calc-amount {
  color: #39ef82;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(57, 239, 130, 0.28);
}

#servicios .service-price-extra-badge {
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 194, 79, 0.5);
  color: #fff4df;
  background: rgba(4, 6, 4, 0.38);
  font-size: 0.72rem;
}

#servicios .featured-card .service-price-box {
  border-color: #ff9f1c;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 218, 123, 0.42), transparent 56%),
    linear-gradient(145deg, #572306, #1a0e08 76%);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 222, 0.34),
    0 18px 46px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(255, 119, 16, 0.28);
}

@media (max-width: 820px) {
  #servicios .service-price-box {
    min-height: 166px;
    padding: 20px 16px;
  }

  #servicios .service-price-value {
    font-size: clamp(2.8rem, 14vw, 3.65rem);
  }

  #servicios .service-price-value.custom-quote {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }
}

/* Fondo brasa: atmósfera carbón, vino y cobre tomada de la referencia del cliente. */
body {
  background-color: #190b09;
  background-image:
    radial-gradient(ellipse 78% 48% at -12% 16%, rgba(255, 42, 16, 0.68), transparent 57%),
    radial-gradient(ellipse 54% 38% at 108% 9%, rgba(181, 48, 28, 0.56), transparent 63%),
    radial-gradient(ellipse 48% 34% at 52% 45%, rgba(104, 21, 12, 0.38), transparent 67%),
    radial-gradient(ellipse 52% 62% at 78% 72%, rgba(106, 31, 21, 0.48), transparent 68%),
    radial-gradient(ellipse 46% 34% at 5% 90%, rgba(255, 68, 12, 0.42), transparent 68%),
    linear-gradient(118deg, #3a120d 0%, #170908 38.2%, #32120e 61.8%, #120706 100%);
  background-attachment: fixed;
  background-size: cover;
}

body::before {
  inset: -8%;
  width: 116%;
  height: 116%;
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgba(255, 213, 128, 0.92) 0 1px, rgba(255, 62, 17, 0.45) 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 79, 20, 0.74) 0 1px, transparent 2px),
    radial-gradient(ellipse 30% 22% at 5% 34%, rgba(255, 45, 21, 0.52), transparent 72%),
    radial-gradient(ellipse 32% 24% at 92% 78%, rgba(255, 76, 22, 0.3), transparent 74%),
    linear-gradient(164deg, transparent 0 13%, rgba(4, 3, 3, 0.48) 13.2% 22%, transparent 22.2% 48%, rgba(93, 28, 20, 0.26) 48.2% 56%, transparent 56.2%),
    repeating-linear-gradient(153deg, transparent 0 88px, rgba(255, 54, 19, 0.075) 89px 90px, transparent 91px 144px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 5px);
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: 89px 144px, 144px 233px, cover, cover, cover, 233px 144px, 5px 5px;
  filter: saturate(1.22) contrast(1.08);
  transform: translate3d(0, 0, 0) scale(1.02);
  animation: emberFieldBreath 9s ease-in-out infinite alternate;
}

@keyframes emberFieldBreath {
  0% {
    opacity: 0.58;
    transform: translate3d(-1.2%, 0.7%, 0) scale(1.02);
  }
  55% {
    opacity: 0.78;
  }
  100% {
    opacity: 0.68;
    transform: translate3d(1.2%, -0.8%, 0) scale(1.045);
  }
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll;
  }

  body::before {
    opacity: 0.66;
    background-size: 89px 144px, 144px 233px, cover, cover, cover, 233px 144px, 5px 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

/* Contraste luminoso sobre brasa: lectura general, precios y dorsal en tres niveles. */
body {
  --text-primary: #fffefa;
  --text-secondary: #f0e7e2;
  --text-pure: #ffffff;
  --text-headline: #ffffff;
  --text-body: #f5eeea;
  --text-muted: #d3c5bf;
}

section[data-editorial-chapter] .section-header > p,
.player-delivery-intro > p,
.service-card > p,
.service-features-list span,
.case-content > p,
.testimonial-card > p,
.venue-card > p,
.faq-answer p {
  color: #f3ebe7;
  text-shadow: 0 1px 12px rgba(255, 238, 225, 0.08), 0 2px 3px rgba(0, 0, 0, 0.72);
}

section[data-editorial-chapter] .display-title,
.service-card h3,
.case-content h3,
.testimonial-card h3,
.venue-card h3,
.faq-question-text {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.72), 0 0 18px rgba(255, 238, 222, 0.08);
}

/* Nivel máximo: el precio se reconoce incluso con una mirada rápida. */
#servicios .service-price-box {
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 228, 0.38),
    inset 0 -18px 44px rgba(0, 0, 0, 0.18),
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(255, 119, 15, 0.32);
}

#servicios .service-price-value {
  color: #fffef7;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.72);
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.88),
    0 0 18px rgba(255, 218, 143, 0.72),
    0 0 38px rgba(255, 131, 20, 0.62),
    0 4px 5px rgba(0, 0, 0, 0.7);
}

#servicios .service-price-value.custom-quote {
  color: #ffd568;
  -webkit-text-stroke: 0.25px rgba(255, 241, 196, 0.72);
  text-shadow:
    0 0 8px rgba(255, 236, 180, 0.72),
    0 0 22px rgba(255, 174, 44, 0.68),
    0 0 40px rgba(255, 91, 8, 0.42);
}

#servicios .service-price-header {
  color: #fff0c1;
  border-color: rgba(255, 210, 119, 0.74);
  text-shadow: 0 0 12px rgba(255, 188, 64, 0.52);
}

#servicios .service-price-currency {
  color: #fff2c9;
  border-color: rgba(255, 222, 152, 0.66);
  text-shadow: 0 0 10px rgba(255, 197, 88, 0.48);
}

#servicios .service-price-sub {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 247, 227, 0.2), 0 2px 3px rgba(0, 0, 0, 0.72);
}

#servicios .service-price-bcv,
#servicios .service-price-extra-badge {
  color: #fff9ed;
}

#servicios .service-price-bcv .bcv-calc-amount {
  color: #65ff9f;
  text-shadow: 0 0 8px rgba(101, 255, 159, 0.68), 0 0 20px rgba(34, 221, 111, 0.34);
}

/* Identidad del jugador: contraste editorial absoluto sobre el lienzo claro. */
.player-delivery-intro h2 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.84), 0 0 24px rgba(255, 255, 255, 0.14);
}

.player-delivery-intro h2 span {
  color: #ff9b25;
  text-shadow: 0 0 12px rgba(255, 155, 37, 0.52), 0 0 30px rgba(255, 71, 10, 0.34);
}

.player-kit-copy h3 {
  color: #030403;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.player-kit-copy h3 span {
  color: #df5209;
  text-shadow: 0 1px 0 #fff, 0 0 16px rgba(255, 90, 10, 0.12);
}

.player-kit-kicker {
  color: #853602;
  font-weight: 950;
}

.player-kit-copy p {
  color: #29302b;
  font-weight: 900;
}

.player-kit-copy strong {
  color: #050605;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.player-kit-download {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
}

@media (max-width: 820px) {
  .hero-bg-media[data-media-frame="full"] .hero-video-bg {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .hero-cinematic-progress {
    bottom: calc(64px + env(safe-area-inset-bottom));
  }
}

/* En portatiles de poca altura, comprime el mensaje sin ocultar contenido. */
@media (min-width: 821px) and (max-height: 900px) {
  .hero-section.veo-hero-format .hero-content-overlay {
    padding: calc(var(--header-height) + 24px) 0 18px;
  }

  .hero-section.veo-hero-format .hero-text-badge {
    margin-bottom: 12px;
  }

  .hero-section.veo-hero-format .hero-headline {
    margin-bottom: 14px;
    font-size: clamp(2.65rem, 5.4vw, 4.15rem);
    line-height: 0.95;
  }

  .hero-section.veo-hero-format .hero-subtext {
    margin-bottom: 18px;
    font-size: clamp(0.95rem, 1.45vw, 1.1rem);
    line-height: 1.42;
  }

  .hero-section.veo-hero-format .hero-cta-group {
    margin-bottom: 18px;
  }

  .hero-section.veo-hero-format .btn-hero-main,
  .hero-section.veo-hero-format .btn-hero-secondary {
    min-height: 48px;
  }

  .hero-section.veo-hero-format .hero-response-promise-bar {
    padding: 8px 14px;
  }
}

.hero-bg-media[data-media-frame="full"] .hero-overlay,
.gallery-item[data-media-frame="full"] .gallery-item-overlay {
  z-index: 2;
}

/* This is the only approved crop: an inaccessible, blurred backdrop whose
   purpose is to fill letterbox space behind the complete primary video. */
[data-media-role="ambient"] {
  object-fit: cover !important;
  object-position: center center !important;
}

/* Entrega digital: el foco comercial principal de la página. */
.player-delivery-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 1160px);
  margin: 0 auto clamp(48px, 7vw, 88px);
  padding: clamp(26px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 153, 0, 0.52);
  border-radius: clamp(24px, 3vw, 42px);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 112, 13, 0.2), transparent 30%),
    linear-gradient(145deg, #11150f 0%, #050705 68%);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.55),
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 10px rgba(255, 138, 31, 0.025);
}

.player-delivery-stage::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 174, 36, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 174, 36, 0.2) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, #000, transparent 70%);
}

.player-delivery-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -120px;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 157, 0, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(255, 157, 0, 0.025),
    0 0 0 104px rgba(255, 157, 0, 0.018);
}

.player-delivery-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.618fr) minmax(250px, 1fr);
  gap: 14px clamp(28px, 5vw, 76px);
  margin-bottom: clamp(28px, 4vw, 46px);
}

.player-delivery-signal {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 164, 27, 0.34);
  border-radius: 999px;
  color: #ffb02e;
  background: rgba(255, 125, 15, 0.08);
  font: 800 0.7rem/1 var(--font-mono, monospace);
  letter-spacing: 0.13em;
}

.player-delivery-signal i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a1f;
  box-shadow: 0 0 16px #ff5a1f;
}

.player-delivery-intro h2 {
  margin: 0;
  color: #fff;
  font: 900 clamp(2.25rem, 5.2vw, 5rem)/0.88 var(--font-heading, sans-serif);
  letter-spacing: -0.055em;
}

.player-delivery-intro h2 span {
  display: block;
  color: #ff8a1f;
}

.player-delivery-intro > p {
  align-self: end;
  margin: 0;
  max-width: 36ch;
  color: #c2c9c1;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.6;
}

.player-delivery-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.player-delivery-proof span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 16px;
  color: #cbd1ca;
  background: rgba(4, 7, 5, 0.88);
  font: 700 0.68rem/1.25 var(--font-mono, monospace);
  letter-spacing: 0.055em;
}

.player-delivery-proof b {
  color: #ff9c22;
  font-size: 1.18rem;
}

/* Vista previa del jugador: una pausa editorial antes de la grilla comercial. */
.player-kit-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr);
  width: 100%;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 179, 0, 0.28);
  border-radius: clamp(22px, 2.6vw, 34px);
  background: #f1f0ea;
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.32);
}

.player-kit-carousel {
  position: relative;
  width: 100%;
  margin-bottom: 72px;
}

.player-kit-carousel-track {
  display: grid;
  width: 100%;
}

.player-kit-carousel-track > .player-kit-preview {
  grid-area: 1 / 1;
}

.player-kit-carousel-track > .player-kit-preview[hidden] {
  display: none !important;
}

.player-kit-carousel-arrow {
  position: absolute;
  z-index: 7;
  top: 50%;
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid #ff9b25;
  border-radius: 50%;
  color: #ff9b25;
  background: #050705;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 0 6px rgba(255, 142, 20, 0.1);
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
  touch-action: manipulation;
}

.player-kit-carousel-arrow--prev {
  left: -28px;
}

.player-kit-carousel-arrow--next {
  right: -28px;
  width: 78px;
  height: 118px;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 28px;
  color: #ff9b25;
  background: #f8f7f3;
  animation: playerKitNextNudge 2.8s ease-in-out infinite;
}

.player-kit-carousel-arrow--next > img {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  background: #fff;
}

.player-kit-carousel-arrow-icon {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #ff9b25;
  border-radius: 50%;
  color: #ff9b25;
  background: #050705;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.38);
  place-items: center;
}

.player-kit-carousel-arrow-icon svg {
  width: 18px;
  height: 18px;
}

.player-kit-carousel-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-kit-carousel-arrow:not(:disabled):hover,
.player-kit-carousel-arrow:not(:disabled):focus-visible {
  color: #101410;
  border-color: #ff9b25;
  background: #ff9b25;
  transform: translateY(-50%) scale(1.08);
}

.player-kit-carousel-arrow--next:not(:disabled):hover,
.player-kit-carousel-arrow--next:not(:disabled):focus-visible {
  color: #ff9b25;
  background: #f8f7f3;
}

@keyframes playerKitNextNudge {
  0%, 72%, 100% { margin-right: 0; }
  82% { margin-right: 8px; }
  91% { margin-right: 0; }
}

.player-kit-carousel-arrow:disabled {
  color: #ff9b25;
  border-color: #ff9b25;
  background: #050705;
  opacity: 1;
  cursor: default;
}

.player-kit-carousel-status {
  position: absolute;
  z-index: 7;
  right: 50%;
  bottom: 16px;
  min-width: 74px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 148, 20, 0.34);
  border-radius: 999px;
  color: #ffae3d;
  background: rgba(5, 8, 5, 0.82);
  font: 900 0.68rem/1 var(--font-mono, monospace);
  letter-spacing: 0.1em;
  text-align: center;
  transform: translateX(50%);
  backdrop-filter: blur(10px);
}

.player-kit-carousel-tabs {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: -54px;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 148, 20, 0.32);
  border-radius: 999px;
  background: rgba(5, 8, 5, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
}

.player-kit-carousel-tabs button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #e9e3d8;
  background: transparent;
  font: 800 0.68rem/1 var(--font-mono, monospace);
  letter-spacing: 0.08em;
  cursor: pointer;
  touch-action: manipulation;
}

.player-kit-carousel-tabs button b {
  color: #ff9b25;
  font-size: 0.78rem;
}

.player-kit-carousel-tabs button.is-active {
  border-color: #ff9b25;
  color: #101410;
  background: #ff9b25;
}

.player-kit-carousel-tabs button.is-active b {
  color: #101410;
}

.player-kit-preview.is-entering-forward {
  animation: playerKitForward 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.player-kit-preview.is-entering-backward {
  animation: playerKitBackward 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes playerKitForward {
  from { opacity: 0; transform: translateX(4%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes playerKitBackward {
  from { opacity: 0; transform: translateX(-4%); }
  to { opacity: 1; transform: translateX(0); }
}

.player-kit-download {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 330px;
  min-height: 60px;
  padding: 14px 18px 14px 21px;
  border: 1px solid rgba(16, 20, 16, 0.22);
  border-radius: 14px;
  color: #fff;
  background: #101410;
  box-shadow: 0 10px 24px rgba(16, 20, 16, 0.2);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.player-delivery-stage.is-visible .player-delivery-intro {
  animation: playerDeliveryReveal 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.player-delivery-stage.is-visible .player-kit-preview {
  animation: playerCardReveal 820ms 100ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.player-delivery-stage.is-visible .player-kit-download {
  animation: playerCtaSignal 820ms 900ms ease-out 2;
}

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

@keyframes playerCardReveal {
  from { opacity: 0; transform: translateY(38px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes playerCtaSignal {
  0%, 100% { box-shadow: 0 10px 24px rgba(16, 20, 16, 0.2); }
  50% { box-shadow: 0 0 0 9px rgba(255, 138, 31, 0.14), 0 14px 34px rgba(255, 105, 10, 0.34); }
}

.player-kit-download svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #ff8a1f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-kit-download:hover,
.player-kit-download:focus-visible {
  color: #101410;
  background: #ff8a1f;
  transform: translateY(-2px);
}

.player-kit-download:hover svg,
.player-kit-download:focus-visible svg {
  stroke: #101410;
}

.player-kit-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  color: #101410;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 179, 0, 0.2), transparent 38.2%),
    #f1f0ea;
}

.player-kit-kicker {
  margin-bottom: 18px;
  color: #a24c0d;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.player-kit-copy h3 {
  margin: 0 0 18px;
  color: #101410;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.player-kit-copy h3 span {
  display: block;
  color: #e76f18;
}

.player-kit-copy p {
  margin: 0 0 16px;
  color: #535a53;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.player-kit-copy strong {
  color: #101410;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  letter-spacing: 0.04em;
}

.player-kit-visual {
  display: grid;
  min-width: 0;
  margin: 0;
  place-items: center;
  background: #fff;
}

.player-kit-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 700px) {
  .player-delivery-stage {
    width: 100%;
    padding: 18px 12px 12px;
    border-radius: 24px;
  }

  .player-delivery-intro {
    grid-template-columns: 1fr;
    padding: 8px 8px 0;
  }

  .player-delivery-signal,
  .player-delivery-proof {
    grid-column: auto;
  }

  .player-delivery-intro h2 {
    font-size: clamp(2.15rem, 11.4vw, 3.2rem);
  }

  .player-delivery-intro > p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .player-delivery-proof {
    grid-template-columns: 1fr;
  }

  .player-delivery-proof span {
    min-height: 46px;
  }

  .player-kit-preview {
    grid-template-columns: 1fr;
    width: min(100%, 430px);
    min-height: 0;
  }

  .player-kit-carousel-arrow {
    top: 58%;
    width: 44px;
    border-color: rgba(255, 148, 20, 0.82);
  }

  .player-kit-carousel-arrow--prev {
    left: 8px;
  }

  .player-kit-carousel-arrow--next {
    right: 8px;
    top: 67%;
    width: 66px;
    height: 98px;
    border-radius: 23px;
  }

  .player-kit-carousel-status {
    bottom: 10px;
    min-width: 68px;
    padding: 7px 10px;
  }

  .player-kit-carousel-tabs {
    bottom: 52px;
    width: max-content;
    max-width: calc(100% - 28px);
  }

  .player-kit-carousel-tabs button {
    min-height: 44px;
    padding-inline: 12px;
  }

  .player-kit-copy {
    align-items: center;
    padding: 92px 22px 22px;
    text-align: center;
  }

  .player-kit-download {
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    min-width: 0;
    min-height: 58px;
    font-size: 0.72rem;
  }

  .player-kit-kicker,
  .player-kit-copy h3 {
    margin-bottom: 12px;
  }

  .player-kit-visual img {
    height: auto;
    max-height: 510px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-delivery-stage.is-visible .player-delivery-intro,
  .player-delivery-stage.is-visible .player-kit-preview,
  .player-delivery-stage.is-visible .player-kit-download {
    animation: none;
  }

  .player-kit-preview.is-entering-forward,
  .player-kit-preview.is-entering-backward,
  .player-kit-carousel-arrow--next {
    animation: none;
  }
}

/* Player delivery vault: clear preview + protected archive */
.has-player-gallery {
  overflow: hidden;
}

.player-gallery-dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 157, 0, 0.42);
  border-radius: 28px;
  color: #f6f2e9;
  background: #080a08;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.82), 0 0 62px rgba(255, 119, 0, 0.12);
}

.player-gallery-dialog::backdrop {
  background: rgba(2, 4, 3, 0.88);
  backdrop-filter: blur(14px);
}

.player-gallery-shell {
  position: relative;
  max-height: 92dvh;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #ff8a1f #111510;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 119, 0, 0.14), transparent 34%),
    linear-gradient(180deg, #0c100c 0%, #060806 100%);
}

.player-gallery-header,
.player-gallery-preview,
.player-gallery-vault,
.player-gallery-paywall {
  padding-inline: clamp(20px, 5vw, 64px);
}

.player-gallery-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 157, 0, 0.22);
  background: rgba(8, 10, 8, 0.92);
  backdrop-filter: blur(18px);
}

.player-gallery-eyebrow,
.player-gallery-section-heading > span,
.player-gallery-paywall > div > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffad24;
  font: 700 0.72rem/1.2 var(--font-mono, monospace);
  letter-spacing: 0.18em;
}

.player-gallery-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a1f;
  box-shadow: 0 0 15px #ff5a1f;
}

.player-gallery-header h2 {
  margin: 10px 0 6px;
  color: #fff;
  font: 800 clamp(1.45rem, 3.4vw, 2.6rem)/0.96 var(--font-display, sans-serif);
  letter-spacing: -0.035em;
}

.player-gallery-header h2 span {
  color: #ff8a1f;
}

.player-gallery-header p {
  margin: 0;
  color: #9ea69e;
  font-size: 0.9rem;
}

.player-gallery-header p strong {
  color: #e8eee8;
}

.player-gallery-close,
.player-gallery-lightbox > button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 157, 0, 0.32);
  border-radius: 50%;
  color: #fff;
  background: #151915;
  font: 300 2rem/1 sans-serif;
  cursor: pointer;
}

.player-gallery-preview,
.player-gallery-vault {
  padding-top: clamp(34px, 5vw, 58px);
}

.player-gallery-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.618fr) minmax(240px, 1fr);
  gap: 8px clamp(24px, 5vw, 72px);
  margin-bottom: 24px;
}

.player-gallery-section-heading > span {
  grid-column: 1 / -1;
}

.player-gallery-section-heading h3 {
  margin: 0;
  color: #fff;
  font: 800 clamp(1.55rem, 3vw, 2.4rem)/1 var(--font-display, sans-serif);
  letter-spacing: -0.03em;
}

.player-gallery-section-heading p {
  align-self: end;
  margin: 0;
  color: #9ea69e;
  line-height: 1.55;
}

.player-gallery-clear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.player-gallery-clear {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 157, 0, 0.26);
  border-radius: 18px;
  background: #121712;
  cursor: zoom-in;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.player-gallery-clear:hover,
.player-gallery-clear:focus-visible {
  z-index: 2;
  border-color: #ff9c1a;
  outline: none;
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.player-gallery-clear img,
.player-gallery-locked img,
.player-video-locked img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  user-select: none;
  -webkit-user-drag: none;
}

.player-gallery-clear > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  background: rgba(4, 7, 5, 0.78);
  backdrop-filter: blur(10px);
  font: 700 0.72rem/1 var(--font-mono, monospace);
  letter-spacing: 0.1em;
}

.player-gallery-clear > span b {
  color: #ffad24;
}

.player-gallery-vault {
  padding-bottom: clamp(34px, 5vw, 58px);
}

.player-gallery-locked-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.player-gallery-locked {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: #111511;
}

.player-gallery-locked figcaption,
.player-lock-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 4, 0.76));
  text-align: left;
}

.player-gallery-locked svg,
.player-lock-badge svg {
  width: 24px;
  fill: none;
  stroke: #ffad24;
  stroke-width: 1.7;
}

.player-gallery-locked figcaption span,
.player-lock-badge span {
  font: 800 0.72rem/1.1 var(--font-mono, monospace);
  letter-spacing: 0.08em;
}

.player-gallery-locked figcaption small,
.player-lock-badge small {
  display: block;
  margin-top: 4px;
  color: #ffad24;
  font-size: 0.58rem;
}

.player-video-locked {
  position: relative;
  aspect-ratio: 16 / 6.18;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 157, 0, 0.24);
  border-radius: 18px;
  background: #111511;
}

.player-video-locked .player-lock-badge {
  background: rgba(2, 5, 3, 0.48);
}

.player-video-locked .player-lock-badge svg {
  width: 34px;
}

.player-video-locked .player-lock-badge span {
  font-size: clamp(0.86rem, 2vw, 1.1rem);
}

.player-gallery-paywall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 157, 0, 0.28);
  background: #10130f;
}

.player-gallery-paywall > div {
  display: grid;
  gap: 5px;
}

.player-gallery-paywall strong {
  color: #fff;
  font-size: 1.15rem;
}

.player-gallery-paywall small {
  color: #9ea69e;
}

.player-gallery-paywall > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #0b100b;
  background: linear-gradient(105deg, #ffbd3e, #ff710d);
  box-shadow: 0 12px 30px rgba(255, 113, 13, 0.2);
  font: 800 0.82rem/1 var(--font-mono, monospace);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.player-gallery-lightbox[hidden] {
  display: none;
}

.player-gallery-lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 4, 3, 0.94);
  cursor: zoom-out;
}

.player-gallery-lightbox > img {
  max-width: min(1100px, 94vw);
  max-height: 88dvh;
  object-fit: contain !important;
  border-radius: 14px;
  box-shadow: 0 30px 80px #000;
}

.player-gallery-lightbox > button {
  position: fixed;
  z-index: 2;
  top: 22px;
  right: 22px;
}

@media (max-width: 760px) {
  .player-gallery-dialog {
    width: calc(100% - 14px);
    max-height: 96dvh;
    border-radius: 20px;
  }

  .player-gallery-shell {
    max-height: 96dvh;
    padding-bottom: 76px;
  }

  .player-gallery-header,
  .player-gallery-preview,
  .player-gallery-vault,
  .player-gallery-paywall {
    padding-inline: 16px;
  }

  .player-gallery-header {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .player-gallery-header h2 span {
    display: block;
    margin-top: 5px;
    font-size: 0.64em;
    letter-spacing: 0.03em;
  }

  .player-gallery-header p {
    max-width: 30ch;
    line-height: 1.45;
  }

  .player-gallery-close {
    width: 40px;
    height: 40px;
  }

  .player-gallery-section-heading {
    grid-template-columns: 1fr;
  }

  .player-gallery-section-heading > span {
    grid-column: auto;
  }

  .player-gallery-clear-grid {
    grid-template-columns: 1fr;
  }

  .player-gallery-clear {
    aspect-ratio: 4 / 4.8;
  }

  .player-gallery-locked-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-video-locked {
    aspect-ratio: 16 / 9;
  }

  .player-gallery-paywall {
    flex-direction: column;
    align-items: stretch;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .player-gallery-paywall > a {
    width: 100%;
  }
}

/* Proporción áurea editorial: 61.8% para la idea principal y 38.2% para el contexto. */
@media (min-width: 821px) {
  section[data-editorial-chapter] .section-header {
    display: grid;
    grid-template-columns: minmax(0, 1.618fr) minmax(260px, 1fr);
    column-gap: clamp(34px, 5vw, 76px);
    align-items: end;
    text-align: left;
  }

  section[data-editorial-chapter] .section-header > .section-tag {
    grid-column: 1 / -1;
    justify-self: start;
  }

  section[data-editorial-chapter] .section-header > .display-title {
    grid-column: 1;
    max-width: 12ch;
    margin-inline: 0;
    text-align: left;
  }

  section[data-editorial-chapter] .section-header > p {
    grid-column: 2;
    align-self: end;
    max-width: 34ch;
    margin: 0 0 4px;
    text-align: left;
  }

  section[data-editorial-chapter] .section-header > .bcv-indicator-pill {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 18px;
  }
}

/* Sistema final de texto secundario: escaneable, proporcional y subordinado. */
:where(
  section[data-editorial-chapter] .section-header > p,
  .player-delivery-intro > p,
  .pillar-content-box > p,
  .ecosystem-card > p,
  .service-card > p,
  .service-features-list span,
  .case-content > p,
  .hardware-content > p,
  .booking-info > p,
  .testimonial-card > p,
  .venue-card > p,
  .faq-answer p
) {
  color: #cbbdb7;
  font-size: clamp(0.84rem, 0.8rem + 0.18vw, 0.95rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-shadow: none;
}

section[data-editorial-chapter] .section-header > p {
  max-width: 36ch;
  padding-left: 21px;
  border-left: 2px solid rgba(255, 156, 32, 0.46);
  color: #d3c5bf;
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  line-height: 1.618;
  letter-spacing: -0.006em;
}

section[data-editorial-chapter] .section-header > p strong {
  color: #f1d39b;
  font-weight: 750;
}

@media (max-width: 820px) {
  section[data-editorial-chapter] .section-header > p {
    width: calc(100% - 34px);
    max-width: 36ch;
    margin: 18px 0 0 34px;
    padding-left: 13px;
    color: #cbbdb7;
    font-size: 0.86rem;
    line-height: 1.55;
  }
}

/* Jerarquía luminosa comercial: precios > dorsal > capítulos editoriales. */
#servicios .section-tag,
#servicios .display-title {
  filter: drop-shadow(0 0 16px rgba(255, 221, 151, 0.32)) drop-shadow(0 0 34px rgba(255, 93, 10, 0.2));
}

#servicios .service-price-box {
  border-color: rgba(255, 208, 103, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 244, 0.62),
    inset 0 0 38px rgba(255, 178, 45, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(255, 218, 139, 0.36),
    0 0 62px rgba(255, 105, 10, 0.34);
}

#servicios .service-price-value {
  text-shadow:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 16px rgba(255, 244, 211, 0.96),
    0 0 34px rgba(255, 190, 67, 0.84),
    0 0 58px rgba(255, 83, 7, 0.58),
    0 4px 6px rgba(0, 0, 0, 0.76);
}

/* Fotografía de acción: primera puerta comercial y tarjeta más visible. */
#servicios .service-card[data-service-id="fotos"] {
  border-color: rgba(255, 211, 119, 0.92) !important;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 178, 48, 0.18), transparent 44%),
    linear-gradient(155deg, rgba(45, 22, 13, 0.98), rgba(20, 11, 8, 0.98) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 218, 0.22),
    0 24px 58px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(255, 190, 75, 0.3),
    0 0 74px rgba(255, 75, 8, 0.22);
}

#servicios .service-card[data-service-id="fotos"]::before {
  height: 5px;
  opacity: 1;
  background: linear-gradient(90deg, #fff0b7, #ffb52e 38.2%, #ff5412 100%);
  box-shadow: 0 0 22px rgba(255, 164, 31, 0.82);
}

#servicios .service-card[data-service-id="fotos"] .service-icon-box {
  color: #fff3c9;
  border-color: rgba(255, 218, 139, 0.92);
  background: linear-gradient(145deg, rgba(255, 177, 42, 0.32), rgba(255, 77, 12, 0.14));
  box-shadow: 0 0 18px rgba(255, 218, 145, 0.32), 0 0 34px rgba(255, 93, 10, 0.26);
}

#servicios .service-card[data-service-id="fotos"] h3 {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.34), 0 0 28px rgba(255, 163, 42, 0.24), 0 3px 4px rgba(0, 0, 0, 0.72);
}

#servicios .service-card[data-service-id="fotos"] .service-card-footer a,
#servicios .service-card[data-service-id="fotos"] .service-tag-badge {
  color: #ffd771;
  text-shadow: 0 0 12px rgba(255, 178, 43, 0.42);
}

/* Segundo nivel: dorsal intensa, pero deliberadamente por debajo de precios. */
.player-delivery-stage[data-editorial-lead="true"] {
  border-color: rgba(255, 179, 54, 0.76);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.58),
    inset 0 1px rgba(255, 255, 255, 0.1),
    0 0 34px rgba(255, 166, 36, 0.22),
    0 0 68px rgba(255, 71, 9, 0.13);
}

.player-delivery-stage .player-kit-download {
  box-shadow: 0 12px 28px rgba(16, 20, 16, 0.3), 0 0 24px rgba(255, 137, 25, 0.26);
}

.player-delivery-stage .player-kit-copy h3 span {
  text-shadow: 0 1px 0 #fff, 0 0 18px rgba(255, 90, 10, 0.2);
}

/* Tercer nivel en adelante: luz editorial medida, nunca igual al precio. */
section[data-editorial-chapter]:not(#servicios) .display-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.78), 0 0 18px rgba(255, 235, 211, 0.12);
}

section[data-editorial-chapter]:not(#servicios) .section-tag {
  filter: drop-shadow(0 0 10px rgba(255, 117, 24, 0.15));
}

@media (max-width: 820px) {
  #servicios .service-card[data-service-id="fotos"] {
    box-shadow:
      inset 0 1px 0 rgba(255, 244, 218, 0.22),
      0 18px 42px rgba(0, 0, 0, 0.48),
      0 0 28px rgba(255, 190, 75, 0.28),
      0 0 48px rgba(255, 75, 8, 0.18);
  }
}
