/* ==========================================================================
   EPICSRIDERS — CAMPAÑA PRO-FONDOS
   Design System: Pristine Minimalist Athletic White
   Inspired by NikeLab, Sportify & High-Performance Human Editorial UI
   ========================================================================== */

:root {
  --pf-red: #FF2A3B;
  --pf-red-hover: #E01E2E;
  --pf-red-glow: rgba(255, 42, 59, 0.25);
  --pf-gold: #D97706;
  --pf-green: #059669;
  
  /* Pristine Light Canvas & Floating Cards */
  --pf-bg-base: #F8F9FA;
  --pf-bg-card: #FFFFFF;
  --pf-bg-card-subtle: #F1F3F5;
  --pf-border-card: rgba(0, 0, 0, 0.07);
  --pf-border-hover: rgba(0, 0, 0, 0.16);
  
  /* Contrast Typography */
  --pf-text-main: #0A0B0D;
  --pf-text-secondary: #4B5563;
  --pf-text-muted: #6B7280;
  
  /* Architecture Suite */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-athletic: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Prevent accidental horizontal overflow */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
  background-color: var(--pf-bg-base);
  color: var(--pf-text-main);
  font-family: var(--font-sans);
}

/* Container Mobile Ergonomics & Generous Gutters */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (min-width: 1100px) {
  .container {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
}

/* ==========================================================================
   HEADER NAVIGATION (Pristine Light Theme)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pf-btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--pf-red);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 42, 59, 0.3);
  white-space: nowrap;
}

.pf-btn-header-cta:hover {
  background: #FF3D4E;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 42, 59, 0.4);
}

@media (max-width: 768px) {
  .site-header .nav-menu {
    display: none;
  }
  .site-header .pf-btn-header-cta {
    display: none;
  }
  .mobile-menu-trigger {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION (Light Minimalist Sport Editorial)
   ========================================================================== */
.pf-hero {
  position: relative;
  padding: 7.5rem 0 3.5rem 0;
  overflow: hidden;
  background-color: var(--pf-bg-base);
}

.pf-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(255, 42, 59, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(255, 42, 59, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, #FFFFFF 0%, var(--pf-bg-base) 100%);
  pointer-events: none;
  z-index: 0;
}

.pf-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

/* Kicker Capsule */
.pf-kicker-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.pf-capsule-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-red);
  box-shadow: 0 0 8px var(--pf-red);
  animation: pfPulse 2s infinite ease-in-out;
}

@keyframes pfPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.pf-capsule-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-text-main);
}

.pf-capsule-sep {
  color: rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
}

.pf-capsule-edition {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-red);
}

/* Headline Art Direction */
.pf-hero-headline-wrap {
  margin-bottom: 1.15rem;
}

.pf-hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pf-text-muted);
  margin-bottom: 0.45rem;
}

.pf-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--pf-text-main);
  text-transform: uppercase;
  margin: 0;
  word-break: break-word;
}

.pf-hero-subtag {
  display: block;
  color: var(--pf-red);
}

.pf-hero-lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pf-text-secondary);
  max-width: 540px;
  margin-bottom: 1.85rem;
}

/* Call to Actions */
.pf-hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.pf-btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  background: var(--pf-red);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 42, 59, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.pf-btn-primary-action:hover {
  background: #FF3D4E;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 42, 59, 0.45);
  color: #FFFFFF;
}

.pf-btn-primary-action svg {
  transition: transform 0.2s ease;
}

.pf-btn-primary-action:hover svg {
  transform: translateX(4px);
}

.pf-btn-ghost-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  background: #FFFFFF;
  color: var(--pf-text-main);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.pf-btn-ghost-action:hover {
  background: #F1F3F5;
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--pf-text-main);
  transform: translateY(-2px);
}

/* Metric HUD Cockpit Panel (Crisp White Floating Tiles) */
.pf-hero-hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 520px;
}

.pf-hud-card {
  background: #FFFFFF;
  border: 1px solid var(--pf-border-card);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.pf-hud-card:hover {
  border-color: rgba(255, 42, 59, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.pf-hud-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-hud-val {
  font-family: var(--font-athletic, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--pf-text-main);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pf-hud-val.red { color: var(--pf-red); }
.pf-hud-val.gold { color: var(--pf-text-main); }

.pf-hud-val small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: normal;
  margin-left: 0.1rem;
}

/* ==========================================================================
   PRIZE SHOWCASE CARD (Studio Lighting & White Minimalist Card)
   ========================================================================== */
.pf-prize-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--pf-border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: border-color 0.25s ease;
}

.pf-prize-card:hover {
  border-color: rgba(255, 42, 59, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pf-prize-media {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #F8F9FA;
}

.pf-prize-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-prize-card:hover .pf-prize-img {
  transform: scale(1.03);
}

.pf-prize-overlay {
  display: none !important;
}

.pf-prize-badges-row {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.pf-prize-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
}

.pf-prize-badge.official {
  background: var(--pf-red);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(255, 42, 59, 0.4);
}

.pf-prize-badge.gold {
  background: #FFFBEB;
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: var(--pf-gold);
}

.pf-prize-body {
  padding: 1.4rem;
  background: #FFFFFF;
}

.pf-prize-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pf-text-main);
  text-transform: uppercase;
  margin: 0 0 0.35rem 0;
}

.pf-prize-body p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--pf-text-secondary);
  margin: 0;
}

/* Miniaturas Galería */
.pf-gallery-strip {
  display: flex;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem 0.25rem 1.4rem;
  background: #FFFFFF;
  overflow-x: auto;
  scrollbar-width: none;
}

.pf-gallery-strip::-webkit-scrollbar {
  display: none;
}

.pf-gallery-thumb-btn {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  overflow: hidden;
  background: #F1F3F5;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pf-gallery-thumb-btn.active {
  border-color: var(--pf-red);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 42, 59, 0.35);
}

.pf-gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desglose de Ganadores */
.pf-winners-box {
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 1.1rem 0;
}

.pf-winners-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-family: var(--font-sans);
}

.pf-winners-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pf-gold);
}

.pf-winners-date {
  font-size: 0.72rem;
  color: var(--pf-text-muted);
  font-weight: 600;
}

.pf-winners-content {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.55;
  white-space: pre-line;
}

.pf-prize-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pf-prize-val {
  font-family: var(--font-athletic);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pf-text-main);
  line-height: 1;
}

.pf-prize-val span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--pf-red);
}

/* ==========================================================================
   CAMPAIGN TELEMETRY METRICS STRIP (Pure White Card)
   ========================================================================== */
.pf-metrics-strip {
  background: #FFFFFF;
  border: 1px solid var(--pf-border-card);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 2rem 0 3.5rem 0;
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.05);
}

.pf-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pf-metric-item {
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 1.1rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pf-metric-label {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-text-muted);
  margin-bottom: 0.35rem;
  white-space: nowrap;
}

.pf-metric-val {
  font-family: var(--font-athletic);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--pf-text-main);
  letter-spacing: 0.02em;
}

.pf-metric-val.green { color: var(--pf-green); }
.pf-metric-val.amber { color: var(--pf-gold); }
.pf-metric-val.red   { color: var(--pf-red); }

.pf-progress-wrap {
  width: 100%;
  height: 8px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.pf-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FF2A3B 0%, #F59E0B 100%);
  border-radius: 9999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   PARTICIPATION PROTOCOL (Steps in Crisp White Cards)
   ========================================================================== */
.pf-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.pf-step-card {
  background: #FFFFFF;
  border: 1px solid var(--pf-border-card);
  border-radius: 18px;
  padding: 1.4rem 1.35rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pf-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 42, 59, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.pf-step-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.pf-step-num {
  font-family: var(--font-athletic, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--pf-red);
  margin-bottom: 0;
  display: inline-block;
  flex-shrink: 0;
}

.pf-step-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pf-text-main);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.pf-step-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--pf-text-secondary);
  line-height: 1.55;
  margin: 0;
  width: 100%;
}

/* ==========================================================================
   INTERACTIVE NUMBER GRID (Framed in Pristine White Master Card)
   ========================================================================== */
.pf-grid-section {
  padding: 1rem 0 5rem 0;
}

.pf-grid-board-card {
  background: #FFFFFF;
  border: 1px solid var(--pf-border-card);
  border-radius: 24px;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  box-shadow: 0 15px 45px -5px rgba(0, 0, 0, 0.06), 0 2px 10px rgba(0, 0, 0, 0.02);
}

.pf-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pf-grid-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pf-text-main);
  text-transform: uppercase;
  margin: 0;
}

.pf-legend {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pf-text-muted);
  flex-wrap: wrap;
}

.pf-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pf-dot-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.pf-dot-indicator.avail { background: var(--pf-green); box-shadow: 0 0 8px rgba(5, 150, 105, 0.4); }
.pf-dot-indicator.pend  { background: var(--pf-gold); box-shadow: 0 0 8px rgba(217, 119, 6, 0.4); }
.pf-dot-indicator.sold  { background: #9CA3AF; }
.pf-dot-indicator.sel   { background: var(--pf-red); box-shadow: 0 0 8px rgba(255, 42, 59, 0.5); }

/* Search & Filters Track */
.pf-search-bar-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.pf-search-input {
  flex: 1;
  min-width: 220px;
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--pf-text-main);
  font-family: var(--font-sans);
  font-size: 16px !important; /* Critical: Prevents iOS Safari auto-zoom on mobile */
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pf-search-input:focus {
  border-color: var(--pf-red);
  background: #FFFFFF;
}

.pf-filter-track {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.pf-filter-track::-webkit-scrollbar {
  display: none;
}

.pf-filter-btn {
  padding: 0.65rem 1.05rem;
  background: #F1F3F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  color: var(--pf-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.pf-filter-btn:hover {
  color: var(--pf-text-main);
  background: #E5E7EB;
}

.pf-filter-btn.active {
  background: #0A0B0D;
  color: #FFFFFF;
  border-color: #0A0B0D;
}

/* Number Buttons Grid */
.pf-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pf-num-btn {
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: var(--pf-text-main);
  font-family: var(--font-athletic);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.pf-num-btn:hover:not(:disabled) {
  border-color: var(--pf-red);
  background: rgba(255, 42, 59, 0.06);
  color: var(--pf-red);
  transform: translateY(-2px);
}

.pf-num-btn.is-selected {
  background: var(--pf-red) !important;
  border-color: var(--pf-red) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(255, 42, 59, 0.4);
  transform: translateY(-3px) scale(1.04);
}

.pf-num-btn.is-pending {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #B45309;
  cursor: not-allowed;
}

.pf-num-btn.is-sold {
  background: #F3F4F6;
  border-color: transparent;
  color: #9CA3AF;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.5;
}

/* ==========================================================================
   STICKY RESERVATION BAR (Bottom Screen)
   ========================================================================== */
.pf-sticky-checkout {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(255, 42, 59, 0.15);
  z-index: 90;
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-sticky-checkout.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pf-sticky-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.pf-sticky-count {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--pf-text-secondary);
  white-space: nowrap;
}

.pf-sticky-total {
  font-family: var(--font-athletic, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pf-red);
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pf-sticky-total small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pf-red);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.pf-btn-reserve {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  background: var(--pf-red);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 42, 59, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pf-btn-reserve:hover {
  background: #FF3D4E;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 42, 59, 0.45);
}

/* ==========================================================================
   CHECKOUT DIALOG / MODAL (Crisp Minimalist White Sheet)
   ========================================================================== */
.pf-modal {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  color: var(--pf-text-main);
  padding: 0;
  max-width: 500px;
  width: 92vw;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 0 35px rgba(255, 42, 59, 0.1);
}

.pf-modal::backdrop {
  background: rgba(10, 11, 13, 0.6);
  backdrop-filter: blur(6px);
}

.pf-modal-header {
  padding: 1.35rem 1.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-modal-body {
  padding: 1.5rem 1.6rem;
  max-height: 80vh;
  overflow-y: auto;
}

.pf-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 90px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}

.pf-num-chip {
  background: rgba(255, 42, 59, 0.1);
  border: 1px solid rgba(255, 42, 59, 0.3);
  color: var(--pf-red);
  font-family: var(--font-athletic);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

.pf-payment-box {
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.pf-payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pf-payment-row:last-child {
  border-bottom: none;
}

.pf-copy-badge {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--pf-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pf-copy-badge:hover {
  background: #0A0B0D;
  color: #FFFFFF;
  border-color: #0A0B0D;
}

/* ==========================================================================
   MODAL FORM INPUTS & ANTI-ZOOM FOR MOBILE
   iOS Safari triggers auto-zoom on inputs with font-size < 16px.
   ========================================================================== */
.pf-input-control,
#orderForm input,
#orderForm textarea,
#orderForm select {
  width: 100%;
  box-sizing: border-box;
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #0A0B0D;
  font-family: var(--font-sans);
  font-size: 16px !important; /* Critical: Prevents iOS Safari auto-zoom on mobile */
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pf-input-control:focus,
#orderForm input:focus,
#orderForm textarea:focus,
#orderForm select:focus {
  background: #FFFFFF;
  border-color: #FF2A3B;
  box-shadow: 0 0 0 3px rgba(255, 42, 59, 0.12);
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (TABLETS & MOBILE SMARTPHONES)
   ========================================================================== */
@media (max-width: 992px) {
  .pf-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .pf-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf-steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pf-hero {
    padding-top: 5.75rem;
    padding-bottom: 2.5rem;
  }
  
  .pf-kicker-capsule {
    margin-bottom: 0.85rem;
  }
  
  .pf-hero-headline {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.05;
  }
  
  .pf-hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }
  
  .pf-hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  
  .pf-btn-primary-action,
  .pf-btn-ghost-action {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
  }
  
  /* Telemetría 3 Columnas compacta en móvil */
  .pf-hero-hud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: 100%;
  }
  
  .pf-hud-card {
    padding: 0.65rem 0.45rem;
    border-radius: 12px;
    text-align: center;
    align-items: center;
    min-width: 0;
  }
  
  .pf-hud-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
  }
  
  .pf-hud-val {
    font-size: 1.05rem;
    justify-content: center;
    white-space: nowrap;
  }
  
  .pf-hud-val small {
    font-size: 0.62rem;
  }

  /* Prize Showcase Media */
  .pf-prize-media {
    height: 250px;
  }
  
  .pf-prize-body {
    padding: 1.15rem;
  }
  
  .pf-prize-body h3 {
    font-size: 1.25rem;
  }
  
  /* 2x2 Telemetry Grid */
  .pf-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  
  .pf-metric-item {
    padding: 0.85rem 0.65rem;
  }
  
  .pf-metric-val {
    font-size: 1.85rem;
  }

  /* Steps as clean vertical cards */
  .pf-steps-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  
  .pf-step-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
  }

  .pf-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .pf-step-num {
    font-size: 1.55rem;
    margin-bottom: 0;
  }
  
  .pf-step-title {
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .pf-step-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    width: 100%;
  }

  /* Grid Board Section Card */
  .pf-grid-board-card {
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .pf-numbers-grid {
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    gap: 0.4rem;
  }
  
  .pf-num-btn {
    height: 46px;
    font-size: 1.15rem;
    border-radius: 8px;
  }

  /* Sticky checkout bar on mobile */
  .pf-sticky-checkout {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    gap: 0.5rem;
  }
  
  .pf-sticky-summary {
    gap: 0.45rem;
    white-space: nowrap;
  }

  .pf-sticky-count {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .pf-sticky-total {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .pf-sticky-total small {
    font-size: 0.65rem;
  }
  
  .pf-btn-reserve {
    padding: 0.65rem 0.95rem;
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: 10px;
    letter-spacing: 0.01em;
  }

  /* Anti-zoom strict for form inputs on mobile touch screens */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}
