/* ==========================================================================
   BucalSport Legend - Official Stylesheet (Vanilla CSS3)
   Brand Colors: White, Deep Athletic Blue (#002B49), Accent Red (#E63946), Black (#0B0F19)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS RESET & CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-main: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-dark: #0B0F19;
  --bg-card: #FFFFFF;
  
  --primary-blue: #002B49;
  --primary-blue-hover: #001F35;
  --primary-blue-light: #EBF3FA;
  
  --accent-red: #E63946;
  --accent-red-hover: #D62828;
  --accent-red-light: #FDF2F4;
  
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-light: #E2E8F0;
  --border-focus: #002B49;
  
  --whatsapp-color: #25D366;
  --whatsapp-hover: #1EBE5D;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-red: 0 10px 25px rgba(230, 57, 70, 0.25);
  --shadow-blue: 0 10px 25px rgba(0, 43, 73, 0.25);

  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --header-height: 84px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, p, h1, h2, h3, h4, h5, h6, li, span, button, a {
  -webkit-user-select: auto;
  user-select: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   2. REUSABLE UTILITIES & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge-tag.red {
  background-color: var(--accent-red-light);
  color: var(--accent-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--accent-red);
}

.section-title .blue {
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(230, 57, 70, 0.35);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 43, 73, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--text-white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   3. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 72px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transform: scale(1.71);
  transform-origin: left center;
  transition: transform var(--transition-fast);
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.75);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--accent-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-cta {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .nav-menu .mobile-cta {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
  }

  .logo-img {
    transform: scale(1.2); /* Reducir escala en móviles para que quepa bien con el botón de menú */
  }

  .logo-wrapper:hover .logo-img {
    transform: scale(1.25);
  }
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 43, 73, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-mobile-logo {
  display: none;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

.hero-content h1 .accent-red {
  color: var(--accent-red);
}

.hero-content h1 .accent-blue {
  color: var(--primary-blue);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

@media (max-width: 992px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-buttons {
    justify-content: center;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-main);
  background: linear-gradient(135deg, #0B0F19 0%, #002B49 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  min-height: 500px;
  width: 100%;
}

.hero-image-card img {
  max-width: 90%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.05);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero-floating-badge {
    left: 10px;
    bottom: 10px;
  }
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-red-light);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
}

.floating-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   5. FEATURE HIGHLIGHTS (POR QUÉ BUCALSPORT)
   -------------------------------------------------------------------------- */
.features {
  background-color: var(--bg-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--bg-secondary);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-red);
  transition: height var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-main);
  border-color: rgba(230, 57, 70, 0.2);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background-color: var(--accent-red);
  color: var(--text-white);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. PRODUCTOS / CATÁLOGO
   -------------------------------------------------------------------------- */
.products {
  background-color: var(--bg-secondary);
}

.product-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-color: var(--primary-blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--accent-red);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-image-box {
  position: relative;
  height: 260px;
  background-color: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.product-specs {
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.spec-item:last-child {
  margin-bottom: 0;
}

.spec-item .label {
  color: var(--text-muted);
}

.spec-item .value {
  font-weight: 700;
  color: var(--text-dark);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.product-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   7. CÓMO FUNCIONA (PASO A PASO)
   -------------------------------------------------------------------------- */
.how-it-works {
  background-color: var(--bg-main);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

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

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

.step-card {
  background-color: var(--bg-secondary);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-red);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. DISEÑA TU PROTECTOR (INTERACTIVE VISUALIZER)
   -------------------------------------------------------------------------- */
.customizer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  position: relative;
}

.customizer .section-title {
  color: var(--text-white);
}

.customizer .section-subtitle {
  color: var(--text-light);
}

.customizer-box {
  background: #151C2C;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .customizer-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.visualizer-preview {
  background: radial-gradient(circle, #222C42 0%, #0F1626 100%);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.mouthguard-svg-container {
  width: 280px;
  height: 200px;
  position: relative;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-normal);
}

.mouthguard-svg-container:hover {
  transform: scale(1.05) rotate(-2deg);
}

.customizer-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-group h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.color-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition-fast);
}

.color-swatch:hover,
.color-swatch.active {
  border-color: var(--text-white);
  transform: scale(1.12);
}

.swatch-blue { background-color: #002B49; }
.swatch-red { background-color: #E63946; }
.swatch-black { background-color: #111111; }
.swatch-white { background-color: #FFFFFF; }
.swatch-gold { background-color: #FFD700; }

.custom-text-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #0F1626;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.custom-text-input:focus {
  border-color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   9. GARANTÍA & TECNOLOGÍA
   -------------------------------------------------------------------------- */
.warranty {
  background-color: var(--bg-main);
}

.warranty-box {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #001626 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--text-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .warranty-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

.warranty-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.warranty-content p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.warranty-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.warranty-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.warranty-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. INSTAGRAM & SOCIAL PROOF
   -------------------------------------------------------------------------- */
.instagram {
  background-color: var(--bg-secondary);
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.insta-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  background-color: var(--bg-dark);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 73, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. PREGUNTAS FRECUENTES (FAQ)
   -------------------------------------------------------------------------- */
.faq {
  background-color: var(--bg-main);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-main);
  transition: all var(--transition-fast);
}

.faq-header {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
}

.faq-header:hover {
  color: var(--accent-red);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--accent-red);
  color: var(--text-white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-body {
  padding-bottom: 24px;
}

.faq-body p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. BLOG & ARTÍCULOS
   -------------------------------------------------------------------------- */
.blog {
  background-color: var(--bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-image {
  height: 200px;
  background-color: var(--primary-blue-light);
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.06);
}

.blog-content {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   13. CONTACTO & FORMULARIO JOTFORM
   -------------------------------------------------------------------------- */
.contact {
  background-color: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-red-light);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-box {
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.jotform-placeholder {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-main);
  font-size: 1rem; /* 16px avoids auto-zoom on iOS */
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.1);
}

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

.btn-block {
  width: 100%;
  white-space: normal;
  line-height: 1.3;
  padding: 14px 20px;
  text-align: center;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   14. FOOTER & FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

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

.footer-brand p {
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: pulse-glow 2.5s infinite;
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1) rotate(6deg);
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Floating Instagram Button */
.instagram-float {
  position: fixed;
  bottom: 100px; /* Above WhatsApp */
  right: 28px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(214, 36, 159, 0.3);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: pulse-glow-ig 2.5s infinite;
  animation-delay: 1.25s; /* Offset from WhatsApp pulse */
}

.instagram-float:hover {
  transform: scale(1.1) rotate(-6deg);
}

@keyframes pulse-glow-ig {
  0% { box-shadow: 0 0 0 0 rgba(214, 36, 159, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(214, 36, 159, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 36, 159, 0); }
}

/* Modal for Jotform & Customizer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--accent-red);
  color: var(--text-white);
}

/* Custom Hero Divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px auto 20px auto;
  width: 100%;
  max-width: 450px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #c0ccda;
}

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0B5ED7;
  color: #0B5ED7;
  font-size: 14px;
}

/* Header Centered Layout Responsive Adjustments */
.mobile-logo-only {
  display: none;
}

.boxing-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent-red);
  font-size: 0.7rem;
}

.boxing-stars i:nth-child(2) {
  font-size: 0.85rem;
  color: #0B5ED7;
}

@media (max-width: 1024px) {
  .desktop-logo-only {
    display: none !important;
  }

  .mobile-logo-only.mobile-header-brand {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10;
    margin: 0 !important;
  }

  .mobile-header-brand .logo-img {
    height: 38px !important;
    width: auto;
    object-fit: contain;
    transform: scale(1) !important;
  }

  .nav-group {
    flex-direction: column;
    width: 100%;
    gap: 0 !important;
  }
  .nav-menu.center-nav {
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
}

/* Protectors List Styles */
.protectors-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.protector-row {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  height: 100%;
}

.protector-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.protector-img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  margin-bottom: 25px;
}

.protector-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.protector-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.protector-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.protector-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.tag-red, .tag-blue, .tag-purple {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.tag-red { background-color: #ff0000; }
.tag-blue { background-color: #0055ff; }
.tag-purple { background-color: #8a2be2; }

.protector-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto; /* Push list to bottom */
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.check-list li i {
  color: #0055ff;
  margin-top: 3px;
}

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

@media (max-width: 768px) {
  .protectors-list {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  .protector-row {
    text-align: center;
  }
  .protector-header {
    align-items: center;
  }
  .check-list li {
    justify-content: center;
    text-align: left;
  }
}

/* Sports Types Section */
.sports-types {
  background-color: #fff;
}

.sports-categories {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.sport-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.sport-category-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0;
  white-space: nowrap;
}

.sport-line {
  flex: 1;
  height: 1px;
  background-color: var(--primary-blue);
  opacity: 0.5;
}

.sports-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.sport-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 120px;
}

.sport-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--primary-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  background-color: #fff;
}

.sport-item:hover .sport-icon {
  background-color: var(--primary-blue);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sport-item span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

@media (max-width: 768px) {
  .sports-grid {
    justify-content: center;
  }
}

/* Features Highlights */
.features-highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 50px;
  text-align: center;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.highlight-icon {
  font-size: 3.5rem;
  color: var(--primary-blue);
}

.highlight-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 768px) {
  .features-highlights {
    flex-direction: column;
    gap: 40px;
  }
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: transparent;
  color: #25D366;
  border: 2px solid #25D366;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-whatsapp:hover {
  background-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   GLOBAL MULTI-DEVICE RESPONSIVE BREAKPOINTS (Smartwatch to 4K)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ULTRA-WIDE & 4K MONITORS (> 1600px)
   -------------------------------------------------------------------------- */
@media (min-width: 1601px) {
  .container {
    max-width: 1500px;
  }
  .hero-content h1 {
    font-size: 4rem;
  }
  .section-title {
    font-size: 3.25rem;
  }
}

/* --------------------------------------------------------------------------
   2. DESKTOP & LAPTOPS (1025px - 1400px)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .container {
    max-width: 1140px;
  }
  .hero-grid {
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   3. TABLETS PORTRAIT & IPAD (769px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 20px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: min(320px, 85vw);
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-mobile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }

  .hero-mobile-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 43, 73, 0.15));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-image-right {
    max-height: 400px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .protectors-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand img {
    max-height: 160px;
  }
}

/* --------------------------------------------------------------------------
   4. LARGE SMARTPHONES & FOLDABLES (577px - 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-item .stat-num {
    font-size: 1.6rem;
  }

  .stat-item .stat-label {
    font-size: 0.75rem;
  }

  .protectors-list {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .sports-grid {
    gap: 16px;
    justify-content: center;
  }

  .sport-item {
    width: 100px;
  }

  .sport-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }

  .sport-item span {
    font-size: 0.8rem;
  }

  .features-highlights {
    gap: 24px;
  }

  .highlight-icon {
    font-size: 2.8rem;
  }

  .form-box {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    right: 20px;
    bottom: 20px;
  }

  .instagram-float {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    right: 20px;
    bottom: 84px;
  }

  .modal-content {
    padding: 24px 18px;
    max-height: 88vh;
  }
}

/* --------------------------------------------------------------------------
   5. STANDARD & COMPACT SMARTPHONES (341px - 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  :root {
    --header-height: 70px;
  }

  .header {
    height: 70px;
  }

  .header.scrolled {
    height: 62px;
  }

  .mobile-header-brand .logo-img {
    height: 34px !important;
  }

  .boxing-stars {
    gap: 2px;
    font-size: 0.65rem;
  }

  .boxing-stars i:nth-child(2) {
    font-size: 0.78rem;
  }

  .header-actions {
    right: 12px !important;
  }

  .hero-mobile-logo img {
    height: 60px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .protector-row {
    padding: 20px 15px;
  }

  .form-box {
    padding: 20px 14px;
  }

  .protector-header h3 {
    font-size: 1.25rem;
  }

  .guia-header h2 {
    font-size: 1.6rem !important;
  }

  .guia-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px !important;
  }

  .guia-text ul {
    padding-left: 0 !important;
    list-style: none !important;
  }

  .guia-garantia {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand img {
    max-height: 120px !important;
    width: auto;
  }

  .footer-grid {
    gap: 30px;
  }

  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    right: 14px;
    bottom: 16px;
  }

  .instagram-float {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    right: 14px;
    bottom: 74px;
  }
}

/* --------------------------------------------------------------------------
   6. SMARTWATCHES & ULTRA-SMALL DEVICES (< 340px)
   -------------------------------------------------------------------------- */
@media (max-width: 340px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 10px;
  }

  .header {
    height: 60px;
  }

  .mobile-header-brand .logo-img {
    height: 28px !important;
  }

  .boxing-stars {
    gap: 1px;
    font-size: 0.55rem;
  }

  .mobile-toggle {
    font-size: 1.1rem;
    padding: 2px;
  }

  .hero-content h1 {
    font-size: 1.45rem;
  }

  .hero-mobile-logo img {
    height: 44px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .badge-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .sports-grid {
    gap: 10px;
  }

  .sport-item {
    width: 80px;
  }

  .sport-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .sport-item span {
    font-size: 0.7rem;
  }

  .protector-row {
    padding: 14px 10px;
  }

  .form-box {
    padding: 14px 10px;
  }

  .whatsapp-float,
  .instagram-float {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    right: 10px;
  }

  .whatsapp-float {
    bottom: 10px;
  }

  .instagram-float {
    bottom: 56px;
  }

  .modal-content {
    padding: 16px 10px;
  }
}

/* ==========================================================================
   MINIJUEGO INTERACTIVO: DESAFÍO DE BOXEO 60s
   ========================================================================== */
.boxing-challenge {
  background: radial-gradient(circle at 50% 30%, #001F35 0%, #0B0F19 75%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.boxing-challenge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.boxing-arena-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .boxing-arena-wrapper {
    grid-template-columns: 1fr;
  }
}

/* HUD Panel */
.boxing-hud {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hud-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.hud-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.hud-timer .hud-value {
  color: #FFD700;
}

.hud-score .hud-value {
  color: var(--accent-red);
}

.hud-combo .hud-value {
  color: #00E5FF;
}

.btn-sound-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.btn-sound-toggle:hover {
  background: var(--accent-red);
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Timer Bar */
.timer-bar-container {
  grid-column: 1 / -1;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: -16px;
  margin-bottom: 12px;
}

.timer-bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #25D366 0%, #FFD700 50%, #E63946 100%);
  transition: width 0.1s linear;
}

/* Boxing Ring Area */
.boxing-ring {
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(0, 43, 73, 0.8) 0%, rgba(11, 15, 25, 0.95) 80%);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(230, 57, 70, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 43, 73, 0.5);
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}

.boxing-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  transition: opacity 0.3s ease;
}

.boxing-start-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.start-content .start-icon {
  font-size: 3.5rem;
  color: var(--accent-red);
  margin-bottom: 16px;
  animation: pulse-glow-ig 2s infinite;
}

.start-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.start-content p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 24px auto;
}

/* Animated Boxer Character & Multi-Layer Stance Motion */
.boxer-character {
  width: 100%;
  max-width: 380px;
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: boxerIdle 3.2s ease-in-out infinite;
}

@keyframes boxerIdle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.6deg); }
}

.boxer-body-group {
  transform-origin: 200px 420px;
  animation: boxerBreathing 3.2s ease-in-out infinite;
}

@keyframes boxerBreathing {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.018) translateY(-4px); }
}

.boxer-head-group {
  transform-origin: 200px 280px;
  animation: boxerHeadBob 2.6s ease-in-out infinite;
  transition: transform 0.05s ease;
}

@keyframes boxerHeadBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(0.8deg); }
}

.glove-left {
  transform-origin: 115px 270px;
  animation: gloveLeftGuard 2.2s ease-in-out infinite;
}

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

.glove-right {
  transform-origin: 285px 270px;
  animation: gloveRightGuard 2.4s ease-in-out infinite 0.3s;
}

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

.boxer-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Directional Hit Snap Reactions */
.boxer-character.hit-left .boxer-ai-img {
  animation: headSnapRight 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes headSnapRight {
  0% { transform: rotate(0deg) translateX(0); }
  35% { transform: rotate(14deg) translateX(20px) translateY(4px); }
  100% { transform: rotate(0deg) translateX(0); }
}

.boxer-character.hit-right .boxer-ai-img {
  animation: headSnapLeft 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes headSnapLeft {
  0% { transform: rotate(0deg) translateX(0); }
  35% { transform: rotate(-14deg) translateX(-20px) translateY(4px); }
  100% { transform: rotate(0deg) translateX(0); }
}

.boxer-character.hit-center .boxer-ai-img {
  animation: headRecoil 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes headRecoil {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(0.9) translateY(18px); }
  100% { transform: scale(1) translateY(0); }
}

.boxer-character.hit-uppercut .boxer-ai-img {
  animation: headSnapUp 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes headSnapUp {
  0% { transform: translateY(0); }
  35% { transform: translateY(-24px) rotate(-3deg); }
  100% { transform: translateY(0); }
}

/* Ring Arena Shake on Punch */
.boxing-ring.ring-shake {
  animation: ringShake 0.16s cubic-bezier(0.36, 0.07, 0.19, 0.97) !important;
}

@keyframes ringShake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-6px, 4px); }
  50% { transform: translate(6px, -4px); }
  75% { transform: translate(-3px, 2px); }
  100% { transform: translate(0, 0); }
}

/* Flash on Impact */
.mouthguard-hit-flash.boxer-ai-img {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)) brightness(1.5) contrast(1.2) drop-shadow(0 0 15px #00E5FF) !important;
  transition: all 0.05s ease;
}

/* Floating 3D User Glove Punch & Shockwave Effects */
.glove-anim-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.impact-shockwave {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #00E5FF;
  box-shadow: 0 0 20px #00E5FF, inset 0 0 15px #00E5FF;
  pointer-events: none;
  animation: shockwaveExpand 0.35s ease-out forwards;
  z-index: 52;
}

@keyframes shockwaveExpand {
  0% { opacity: 1; transform: scale(0.2); }
  100% { opacity: 0; transform: scale(2.8); }
}

.hit-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFD700;
  box-shadow: 0 0 10px #FFD700;
  pointer-events: none;
  animation: sparkExplode 0.4s ease-out forwards;
  z-index: 53;
}

@keyframes sparkExplode {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2); }
}

.user-punch-glove {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cfilter id='gloveShadow'%3E%3CfeDropShadow dx='0' dy='8' stdDeviation='6' flood-color='%23000' flood-opacity='0.6'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M25 55 Q10 20 50 10 Q90 20 75 55 Q70 85 50 92 Q30 85 25 55 Z' fill='%23E63946' stroke='%23FFFFFF' stroke-width='4' filter='url(%23gloveShadow)'/%3E%3Cellipse cx='50' cy='32' rx='28' ry='18' fill='%23D62828'/%3E%3Crect x='30' y='68' width='40' height='16' rx='8' fill='%23FFFFFF'/%3E%3Ctext x='50' y='80' font-family='Outfit' font-weight='900' font-size='9' fill='%23002B49' text-anchor='middle'%3ELEGEND%3C/text%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 70;
}

.punch-from-left {
  animation: punchFlyLeft 0.22s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

.punch-from-right {
  animation: punchFlyRight 0.22s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes punchFlyLeft {
  0% { opacity: 0; transform: translate(-90px, 120px) scale(0.3) rotate(-30deg); }
  45% { opacity: 1; transform: translate(0, 0) scale(1.35) rotate(0deg); }
  100% { opacity: 0; transform: translate(15px, -20px) scale(0.9) rotate(15deg); }
}

@keyframes punchFlyRight {
  0% { opacity: 0; transform: translate(90px, 120px) scale(0.3) rotate(30deg); }
  45% { opacity: 1; transform: translate(0, 0) scale(1.35) rotate(0deg); }
  100% { opacity: 0; transform: translate(-15px, -20px) scale(0.9) rotate(-15deg); }
}

.hit-popup-text {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: #FFD700;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(230, 57, 70, 0.8);
  pointer-events: none;
  animation: hitPopup 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  z-index: 80;
}

@keyframes hitPopup {
  0% { opacity: 1; transform: scale(0.5) translateY(0); }
  40% { opacity: 1; transform: scale(1.35) translateY(-25px); }
  100% { opacity: 0; transform: scale(1) translateY(-55px); }
}

/* Leaderboard Ranking Card */
.boxing-leaderboard-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  max-height: 520px;
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.leaderboard-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 4px;
  max-height: 400px;
}

.leaderboard-list::-webkit-scrollbar {
  width: 5px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.leaderboard-row.rank-1 {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
  border-color: rgba(255, 215, 0, 0.4);
}

.leaderboard-row.rank-2 {
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.05) 100%);
  border-color: rgba(192, 192, 192, 0.4);
}

.leaderboard-row.rank-3 {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.2) 0%, rgba(205, 127, 50, 0.05) 100%);
  border-color: rgba(205, 127, 50, 0.4);
}

.rank-pos {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  width: 32px;
  color: var(--text-light);
}

.rank-1 .rank-pos { color: #FFD700; }
.rank-2 .rank-pos { color: #C0C0C0; }
.rank-3 .rank-pos { color: #CD7F32; }

.rank-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}

.rank-score {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--accent-red);
}

.leaderboard-loading {
  text-align: center;
  padding: 30px;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Mobile Adjustments for Boxing Challenge */
@media (max-width: 576px) {
  .boxing-hud {
    padding: 12px 10px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    position: relative;
  }

  .hud-item {
    flex: 1 1 40%;
  }

  .hud-value {
    font-size: 1.25rem;
  }

  .hud-label {
    font-size: 0.65rem;
  }

  .btn-sound-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    font-size: 1rem;
    z-index: 10;
  }

  .hero-mobile-logo img {
    transform: scale(1.4);
    transform-origin: center bottom;
    margin-bottom: 10px;
  }

  .boxing-ring {
    min-height: 360px;
  }

  .boxer-character {
    height: 330px;
  }

  .start-content h3 {
    font-size: 1.5rem;
  }

  .start-content p {
    font-size: 0.85rem;
  }
}

/* Dizzy Stars Floating Above Boxer's Head */
.dizzy-stars-layer {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  font-size: 1.6rem;
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.dizzy-stars-layer.active {
  opacity: 1;
  animation: dizzyOrbit 1.2s linear infinite;
}

@keyframes dizzyOrbit {
  0% { transform: translateX(-50%) rotate(0deg) scale(1); }
  50% { transform: translateX(-50%) rotate(180deg) scale(1.25); }
  100% { transform: translateX(-50%) rotate(360deg) scale(1); }
}

/* Funny Eye Reaction on Impact */
.hit-dizzy-eyes #pupil-left {
  animation: eyeWobbleLeft 0.25s ease-in-out !important;
}

.hit-dizzy-eyes #pupil-right {
  animation: eyeWobbleRight 0.25s ease-in-out !important;
}

@keyframes eyeWobbleLeft {
  0% { transform: translate(0, 0); }
  40% { transform: translate(12px, -6px) scale(1.4); }
  100% { transform: translate(0, 0); }
}

@keyframes eyeWobbleRight {
  0% { transform: translate(0, 0); }
  40% { transform: translate(-12px, 6px) scale(1.4); }
  100% { transform: translate(0, 0); }
}

/* Boxer Frame-by-Frame Sprite Animation (Option 2) */
.boxer-sprite-container {
  width: 100%;
  max-width: 400px;
  height: auto;
  position: relative;
  aspect-ratio: 1/1; /* Prevents layout shift */
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.boxer-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.05s ease;
  pointer-events: none;
}

.boxer-frame.active {
  opacity: 1;
}

/* Flash on Impact */
.mouthguard-hit-flash.boxer-sprite-container {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)) brightness(1.5) contrast(1.2) drop-shadow(0 0 15px #00E5FF) !important;
  transition: all 0.05s ease;
}

/* --------------------------------------------------------------------------
   IDLE SHOP / UPGRADES (NEW)
   -------------------------------------------------------------------------- */
.boxing-shop-card {
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-header h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.shop-items-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-item {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.shop-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.shop-item-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  width: 60px;
  text-align: center;
}

.shop-item-info {
  flex-grow: 1;
  padding-left: 16px;
}

.shop-item-info h4 {
  color: #FFF;
  margin-bottom: 4px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-item-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.level-badge {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-shop {
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}

.btn-shop:hover {
  background: #FFD700;
  color: #000;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.btn-shop:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  box-shadow: none;
}
