* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

    html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      overflow-x: hidden;
    }

    body {
      background-image: url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/tu-fondo2.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      z-index: 0;
      font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 
               'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overscroll-behavior: none;
      touch-action: pan-y;
    }

    button {
      font-family: inherit;
      -webkit-tap-highlight-color: transparent;
    }
    /* --- Capa semitransparente encima del fondo --- */
    body::before {
      content: "";
      position: fixed;
      inset: 0; /* cubre toda la pantalla */
      background: rgba(0, 0, 0, 0.45); /* ← ajusta opacidad/color */
      pointer-events: none; /* no bloquea clics */
      z-index: -1; /* queda detrás del contenido y delante del fondo */
    }

    /* Home screen specific styles */
    .home-container {
      min-height: 100vh;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    body.dark-mode .home-container {
      background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    }

    .home-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23ffffff04" points="0,300 1000,100 1000,400 0,600"/></svg>');
      pointer-events: none;
    }

    .home-content {
      text-align: center;
      max-width: 600px;
      width: 100%;
      z-index: 1;
      position: relative;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-radius: 24px;
      padding: 3rem 2rem;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    body.dark-mode .home-content {
      background: rgba(45, 55, 72, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .home-title {
      font-size: 2.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, #667eea, #764ba2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    body.dark-mode .home-title {
      background: linear-gradient(135deg, #90cdf4, #a78bfa);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .home-subtitle {
      color: #6b7280;
      font-size: 1.1rem;
      margin-bottom: 2rem;
      font-weight: 400;
    }

    body.dark-mode .home-subtitle {
      color: #9ca3af;
    }

    .home-icon {
      font-size: 4rem;
      margin-bottom: 1.5rem;
      display: flex;
      justify-content: center;
      align-items: center;
      animation: heartbeat 2s ease-in-out infinite;
    }

    .home-icon img {
      filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(196deg) brightness(95%) contrast(72%);
    }

    @keyframes heartbeat {
      0% { transform: scale(1); }
      14% { transform: scale(1.1); }
      28% { transform: scale(1); }
      42% { transform: scale(1.1); }
      70% { transform: scale(1); }
    }

    .language-selector-home {
      display: inline-block;
      margin: 0 0.5rem 2rem;
      padding: 0.75rem 1.5rem;
      border-radius: 12px;
      border: 2px solid transparent;
      background: rgba(255, 255, 255, 0.7);
      color: #374151;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(5px);
    }

    .language-selector-home:hover {
      background: rgba(255, 255, 255, 0.9);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .language-selector-home.active {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      border-color: rgba(255, 255, 255, 0.3);
    }

    body.dark-mode .language-selector-home {
      background: rgba(45, 55, 72, 0.7);
      color: #e2e8f0;
    }

    body.dark-mode .language-selector-home:hover {
      background: rgba(45, 55, 72, 0.9);
    }

    body.dark-mode .language-selector-home.active {
      background: linear-gradient(135deg, #4299e1, #9f7aea);
    }

    .start-button {
      background: linear-gradient(135deg, #ef4444, #dc2626);
      color: white;
      font-weight: 700;
      padding: 1rem 2.5rem;
      border-radius: 16px;
      font-size: 1.25rem;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
      position: relative;
      overflow: hidden;
    }

    .start-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }

    .start-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4);
    }

    .start-button:hover::before {
      left: 100%;
    }

    .start-button:active {
      transform: translateY(-1px);
    }

    @media (max-width: 768px) {
      .home-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
      }

      .home-title {
        font-size: 2rem;
      }

      .home-subtitle {
        font-size: 1rem;
      }

      .language-selector-home {
        margin: 0 0.25rem 1.5rem;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
      }

      .start-button {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
      }
    }

    .subtitle {
      color: #6c757d;
      font-size: 0.9em;
      margin-top: 0.5rem;
      font-weight: 400;
      transition: color 0.3s ease;
    }

    body.dark-mode .subtitle {
      color: #a0aec0;
    }

    .card-button {
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
      border-radius: 16px;
      margin-bottom: 1.25rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1.5rem;
      background-color: #fff;
      cursor: pointer;
      width: 100%;
      min-height: 200px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* ← Sombra base sutil */
    }

    body.dark-mode .card-button {
      background-color: #2d3748;
      color: #f7fafc;
    }

    .card-button:hover {
      transform: translateY(-4px); /* ← Movimiento sutil */
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12); /* ← Sombra más pronunciada pero elegante */
      background-color: #f8faff;
    }

    .card-button:active {
      transform: translateY(-2px); /* ← Feedback al hacer clic */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    body.dark-mode .card-button:hover {
      background-color: #3a4a5e;
    }

    .card-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: #4299e1;
      transition: all 0.3s ease;
    }

    /* ✅ DESPUÉS (más sutil) */
    .card-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: #4299e1;
      transition: transform 0.2s ease, color 0.2s ease; /* ← Añade esto */
    }

    .card-button:hover .card-icon {
      transform: scale(1.08); /* ← Reduce de 1.15 a 1.08 */
      color: #3182ce;
    }

    .emergency-btn {
      background-color: #dc3545;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      padding: 0.85rem 1.75rem;
      border-radius: 12px;
      font-weight: 700;
      box-shadow: 0 6px 12px rgba(220, 53, 69, 0.25);
      color: white;
      border: none;
      cursor: pointer;
    }

    .emergency-btn:hover {
      background-color: #c82333;
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
    }

    .emergency-btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 6px rgba(220, 53, 69, 0.25);
    }
    .language-selector {
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 6px;
      transition: all 0.2s ease;
      border: 1px solid #e5e7eb;
      font-weight: 600;
      margin: 0 4px;
    }

    .language-selector:hover {
      background-color: #f0f4f8;
    }

    .language-selector.active {
      background-color: #4299e1;
      color: white;
      border-color: #4299e1;
    }

    .tab {
      cursor: pointer;
      transition: all 0.3s ease;
      padding: 0.75rem 1.25rem;
      font-weight: 600;
      border-radius: 6px 6px 0 0;
    }

    .tab:hover {
      background-color: #f0f4f8;
    }

    .tab.active {
      border-bottom: 3px solid #4299e1;
      color: #2b6cb0;
      background-color: #ebf5ff;
    }

    .section-container {
      width: 100%;
      margin: 0;
      padding: 1rem;
    }

    @media (min-width: 640px) {
      .section-container {
        padding: 1.5rem;
      }
    }

    @media (min-width: 1024px) {
      .section-container {
        padding: 2rem;
      }
    }

    .section-card {
      padding: 1rem;
      border-radius: 16px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      margin-bottom: 2.5rem;
      background-color: #fff;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    @media (min-width: 640px) {
      .section-card {
        padding: 1.5rem;
      }
    }

    @media (min-width: 1024px) {
      .section-card {
        padding: 2rem;
      }
    }

    body.dark-mode .section-card {
      background-color: #2d3748;
    }

    h1, h2, h3 {
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .main-heading {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      color: #2d3748;
    }

    body.dark-mode .main-heading {
      color: #f7fafc;
    }

    .section-heading {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: #3182ce;
      line-height: 1.3;
    }

    body.dark-mode .section-heading {
      color: #63b3ed;
    }

    .subsection-heading {
      font-size: 1.5rem;
      font-weight: 600;
      line-height: 1.4;
      margin-top: 2rem;
      margin-bottom: 1.5rem;
      color: #2d3748;
    }

    body.dark-mode .subsection-heading {
      color: #e2e8f0;
    }

    .tab-container {
      display: flex;
      margin-bottom: 2rem;
      border-bottom: 2px solid #e2e8f0;
      padding-bottom: 1rem;
      flex-wrap: wrap;
    }

    body.dark-mode .tab-container {
      border-color: #4a5568;
    }

    .tab-content {
      padding: 1.5rem 0;
    }

    .list-item {
      margin-bottom: 1rem;
      padding-left: 1.5rem;
      position: relative;
    }

    .step-number {
      background: linear-gradient(135deg, #4299e1, #3182ce);
      color: white;
      border-radius: 50%;
      width: 3rem;
      height: 3rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      margin-right: 1.5rem;
      box-shadow: 0 4px 8px rgba(66, 153, 225, 0.3);
      transition: all 0.3s ease;
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .step-number:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 12px rgba(66, 153, 225, 0.4);
    }

    body.dark-mode .step-number {
      background: linear-gradient(135deg, #63b3ed, #4299e1);
      box-shadow: 0 4px 8px rgba(99, 179, 237, 0.3);
    }

    body.dark-mode .step-number:hover {
      box-shadow: 0 6px 12px rgba(99, 179, 237, 0.4);
    }

    .warning-box {
      background-color: #fef5e7;
      border-left: 4px solid #f59e0b;
      padding: 1rem;
      margin: 1rem 0;
      border-radius: 0 8px 8px 0;
    }

    body.dark-mode .warning-box {
      background-color: #451a03;
      border-color: #f59e0b;
    }

    .info-box {
      background-color: #eff6ff;
      border-left: 4px solid #3b82f6;
      padding: 1rem;
      margin: 1rem 0;
      border-radius: 0 8px 8px 0;
    }

    body.dark-mode .info-box {
      background-color: #1e3a8a;
      border-color: #3b82f6;
    }

    @media (max-width: 768px) {
      .section-card {
        padding: 1.5rem;
      }

      .main-heading {
        font-size: 2rem;
      }

      .section-heading {
        font-size: 1.75rem;
      }

      .tab-container {
        flex-direction: column;
      }

      .tab {
        margin-bottom: 0.5rem;
        border-radius: 6px;
      }
    }

    /* Fixed emergency button styles */
    .fixed.emergency-btn {
      animation: pulse 2s infinite;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .fixed.emergency-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 10px 20px rgba(220, 53, 69, 0.4);
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
      }
    }

    @media (max-width: 640px) {
      .fixed.emergency-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        left: 1rem;
        bottom: 1rem;
      }

      #emergency-dropdown {
        max-width: 85vw;
        font-size: 0.85rem;
      }

      #emergency-dropdown a {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
      }
    }

    /* Dark mode toggle button styles */
    .dark-mode-toggle {
      cursor: pointer;
      padding: 8px;
      border-radius: 50%;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: #4299e1;
      background-color: transparent;
      border: none;
    }

    .dark-mode-toggle:hover {
      background-color: rgba(66, 153, 225, 0.1);
    }

    body.dark-mode .dark-mode-toggle {
      color: #90cdf4;
    }

    body.dark-mode .dark-mode-toggle:hover {
      background-color: rgba(144, 205, 244, 0.1);
    }

    body.dark-mode .bg-white {
      background-color: #2d3748 !important;
    }

    body.dark-mode .border-gray-200 {
      border-color: #4a5568;
    }

    body.dark-mode .text-gray-600,
    body.dark-mode .text-blue-700,
    body.dark-mode .text-gray-800 {
      color: #a0aec0;
    }

    body.dark-mode .tab {
      color: #e2e8f0;
    }

    body.dark-mode .tab:hover {
      background-color: #4a5568;
    }

    body.dark-mode .tab.active {
      background-color: #2c5282;
      color: #ebf8ff;
      border-color: #4299e1;
    }

    body.dark-mode header.bg-white {
      background-color: #2d3748;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    body.dark-mode .border-b {
      border-color: #4a5568;
    }

    body.dark-mode .fixed.emergency-btn {
      box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
    }

    body.dark-mode .list-disc,
    body.dark-mode .list-decimal {
      color: #e2e8f0;
    }

    /* Enhanced step styling */
    .step-container {
      background-color: #f8faff;
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      border-left: 4px solid #4299e1;
      transition: all 0.3s ease;
    }

    .step-container:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(66, 153, 225, 0.15);
      background-color: #f0f8ff;
    }

    body.dark-mode .step-container {
      background-color: #2a3441;
      border-left-color: #63b3ed;
    }

    body.dark-mode .step-container:hover {
      background-color: #334155;
      box-shadow: 0 4px 12px rgba(99, 179, 237, 0.15);
    }

    .step-title {
      font-size: 1.5rem;
      line-height: 1.7;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #2d3748;
    }

    body.dark-mode .step-title {
      color: #f7fafc;
    }

    .step-description {
      color: #4a5568;
      line-height: 1.6;
    }

    body.dark-mode .step-description {
      color: #cbd5e0;
    }

    /* Dark mode text fixes */
    body.dark-mode .text-black,
    body.dark-mode .text-gray-900 {
      color: #f7fafc !important;
    }

    body.dark-mode .text-gray-700 {
      color: #cbd5e0 !important;
    }

    body.dark-mode .text-gray-500 {
      color: #9ca3af !important;
    }

    body.dark-mode h1,
    body.dark-mode h2,
    body.dark-mode h3,
    body.dark-mode h4,
    body.dark-mode h5,
    body.dark-mode h6 {
      color: #f7fafc;
    }

    body.dark-mode p,
    body.dark-mode div,
    body.dark-mode span,
    body.dark-mode li {
      color: #e2e8f0;
    }

    body.dark-mode .text-blue-700 {
      color: #63b3ed !important;
    }

    body.dark-mode .text-blue-600 {
      color: #4299e1 !important;
    }

    /* Dropdown dark mode fixes */
    body.dark-mode #emergency-dropdown {
      background-color: #2d3748;
      border: 1px solid #4a5568;
    }

    body.dark-mode #emergency-dropdown a {
      color: #e2e8f0;
    }

    body.dark-mode #emergency-dropdown a:hover {
      background-color: #4a5568;
    }

    /* Language selector dark mode */
    body.dark-mode .language-selector {
      background-color: #2d3748;
      color: #e2e8f0;
      border-color: #4a5568;
    }

    body.dark-mode .language-selector:hover {
      background-color: #4a5568;
    }

    body.dark-mode .language-selector.active {
      background-color: #4299e1;
      color: #ffffff;
    }

    /* Hidden class */
    .hidden {
      display: none !important;
    }

    /* Emergency button visibility fix */
    #emergency-dropdown-btn {
      position: fixed;
      bottom: 1.5rem;
      left: 1.5rem;
      z-index: 50;
    }

    /* Only show emergency button when main screen is visible */
    #main-screen.hidden #emergency-dropdown-btn {
      display: none !important;
    }

    /* Language visibility */
    .lang-es, .lang-qu, .lang-ay { display: none; }
    body[data-lang="es"] .lang-es { display: inline; }
    body[data-lang="qu"] .lang-qu { display: inline; }
    body[data-lang="ay"] .lang-ay { display: inline; }
    body[data-lang="es"] .lang-es.block { display: block; }
    body[data-lang="qu"] .lang-qu.block { display: block; }
    body[data-lang="ay"] .lang-ay.block { display: block; }

    /* Emergency dropdown positioning */
    #emergency-dropdown {
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      margin-bottom: 0.5rem;
      background-color: white;
      border-radius: 0.5rem;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      min-width: max-content;
      max-width: 90vw;
      border: 1px solid #e5e7eb;
    }

    #emergency-dropdown a {
      display: block;
      padding: 0.75rem 1rem;
      color: #374151;
      text-decoration: none;
      white-space: nowrap;
      transition: background-color 0.2s ease;
      font-size: 0.9rem;
      text-align: center;
    }

    #emergency-dropdown a:hover {
      background-color: #f3f4f6;
    }
.audio-player-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.audio-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0;  /* ✨ AGREGADO: más espacio arriba y abajo */
}

.time-display {
  font-size: 1rem;  /* ✨ CAMBIADO: de 0.875rem a 1rem (más grande) */
  font-weight: 600;  /* ✨ CAMBIADO: de 500 a 600 (más grueso) */
  color: #666;
  min-width: 45px;  /* ✨ CAMBIADO: de 40px a 45px */
  text-align: center;
}

.progress-container {
  flex: 1;
  height: 44px;  /* ✨ CAMBIADO: de 8px a 12px (más alta) */
  background-color: #e5e7eb;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.2s;
  position: relative;
}

.progress-container:hover {
  height: 44px;  /* ✨ CAMBIADO: de 10px a 16px (más alta al hover) */
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #9333ea, #7c3aed);
  border-radius: 9999px;
  width: 0%;
  transition: width 0.1s linear;
}

/* Modo oscuro */
.dark-mode .time-display {
  color: #9ca3af;
}

.dark-mode .progress-container {
  background-color: #374151;
}

.dark-mode .progress-bar {
  background: linear-gradient(90deg, #a855f7, #9333ea);
}
/* ========================================
   MODAL DE CONTACTO E INFORMACIÓN
   ======================================== */

/* Modal de Contacto e Información */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Modo oscuro para el modal */
.dark-mode .modal {
    background: rgba(0, 0, 0, 0.8);
}

.dark-mode .modal-content {
    background: #1f2937;
    color: #f3f4f6;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.dark-mode .modal-header {
    border-bottom-color: #374151;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc2626;
}

.dark-mode .modal-title {
    color: #f87171;
}

.close-button {
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.close-button:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
    color: #dc2626;
}

.dark-mode .close-button {
    background: #374151;
    color: #9ca3af;
}

.dark-mode .close-button:hover {
    background: #4b5563;
    color: #f87171;
}

.contact-section {
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.dark-mode .section-subtitle {
    color: #e5e7eb;
}

.contact-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.dark-mode .contact-item {
    background: #374151;
}

.dark-mode .contact-item:hover {
    background: #4b5563;
}

.contact-item-title {
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.dark-mode .contact-item-title {
    color: #f87171;
}

.contact-item-content {
    color: #4b5563;
    font-size: 0.95rem;
}

.dark-mode .contact-item-content {
    color: #d1d5db;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.dark-mode .contact-link {
    color: #60a5fa;
}

.dark-mode .contact-link:hover {
    color: #93c5fd;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-button {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-button:hover {
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.dark-mode .social-button {
    background: #374151;
    border-color: #4b5563;
    color: #d1d5db;
}

.dark-mode .social-button:hover {
    border-color: #f87171;
    color: #f87171;
    box-shadow: 0 4px 12px rgba(248, 113, 113, 0.3);
}

.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.institution-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.institution-item:hover {
    background: #f3f4f6;
}

.dark-mode .institution-item {
    background: #374151;
}

.dark-mode .institution-item:hover {
    background: #4b5563;
}

.institution-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #dc2626;
}

.dark-mode .institution-item strong {
    color: #f87171;
}

.institution-item p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.dark-mode .institution-item p {
    color: #9ca3af;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resource-link:hover {
    background: #f3f4f6;
    transform: translateX(4px);
    color: #dc2626;
}

.dark-mode .resource-link {
    background: #374151;
    color: #d1d5db;
}

.dark-mode .resource-link:hover {
    background: #4b5563;
    color: #f87171;
}

.donate-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.dark-mode .donate-section {
    background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
}

.donate-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.75rem;
}

.dark-mode .donate-title {
    color: #fef3c7;
}

.donate-text {
    color: #78350f;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dark-mode .donate-text {
    color: #fde68a;
}

.donate-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.donate-button {
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.donate-button:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.3);
}

.dark-mode .donate-button {
    background: #fbbf24;
    color: #78350f;
}

.dark-mode .donate-button:hover {
    background: #fcd34d;
    box-shadow: 0 6px 12px rgba(251, 191, 36, 0.4);
}

.about-text {
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

.dark-mode .about-text {
    color: #d1d5db;
}

/* Botón de contacto flotante en home screen */
.home-container .contact-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.home-container .contact-button:hover {
    background: #b91c1c;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.dark-mode .home-container .contact-button {
    background: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.dark-mode .home-container .contact-button:hover {
    background: #dc2626;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* Scrollbar personalizado para el modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark-mode .modal-content::-webkit-scrollbar-track {
    background: #1f2937;
}

.dark-mode .modal-content::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark-mode .modal-content::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-button {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .institutions-grid {
        grid-template-columns: 1fr;
    }
    
    .donate-methods {
        flex-direction: column;
    }
    
    .donate-button {
        width: 100%;
        justify-content: center;
    }
}
/* ========================================
   FONDOS INDIVIDUALES PARA BOTONES
   ======================================== */

/* RCP */
.card-rcp {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-rcp.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-rcp h2,
.card-rcp .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-rcp:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-rcp.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-rcp {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-rcp.png");
}

/* HERIDAS */
.card-heridas {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-heridas.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-heridas h2,
.card-heridas .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-heridas:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-heridas.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-heridas {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-heridas.png");
}

/* QUEMADURAS */
.card-quemaduras {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-quemaduras.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-quemaduras h2,
.card-quemaduras .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-quemaduras:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-quemaduras.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-quemaduras {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-quemaduras.png");
}

/* FRACTURAS */
.card-fracturas {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-fracturas.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-fracturas h2,
.card-fracturas .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-fracturas:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-fracturas.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-fracturas {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-fracturas.png");
}

/* ENVENENAMIENTO */
.card-envenenamiento {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-envenenamiento.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-envenenamiento h2,
.card-envenenamiento .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-envenenamiento:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-envenenamiento.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-envenenamiento {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-envenenamiento.png");
}

/* EMERGENCIAS */
.card-emergencias {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-emergencias.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-emergencias h2,
.card-emergencias .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-emergencias:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-emergencias.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-emergencias {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-emergencias.png");
}

/* BOTIQUÍN */
.card-botiquin {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-botiquin.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-botiquin h2,
.card-botiquin .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-botiquin:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-botiquin.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-botiquin {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-botiquin.png");
}

/* GLOSARIO */
.card-glosario {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-glosario.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
}

.card-glosario h2,
.card-glosario .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-glosario:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-glosario.png");
  transform: scale(1.02);
  transition: all 0.3s ease;
}

body.dark-mode .card-glosario {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-glosario.png");
}
/* =========================
   HOME – FONDO PRINCIPAL
   ========================= */
.home-bg {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-home.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}
/* =========================
   TEXTO LEGIBLE SOBRE IMAGEN
   ========================= */
.home-bg h1,
.home-bg h2,
.home-bg p,
.home-bg span {
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}
/* =========================
   MODO OSCURO
   ========================= */
body.dark-mode .home-bg {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("https://cdn.jsdelivr.net/gh/nauthix/data_set@main/img/fondo-home.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-title {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}
/* LIMITAR TAMAÑO DE IMÁGENES - SOLUCIÓN PRINCIPAL */
.step-container img,
.section-card img,
.tab-content img,
.info-box img,
.warning-box img {
  max-width: 550px !important;
  width: 100%;
  height: auto;
  margin: 1rem auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mejorar cajas de información y advertencia */
.warning-box,
.info-box {
  font-size: 1.05rem;
  line-height: 1.6;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.warning-box strong,
.info-box strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Mejorar listas */
.warning-box ul,
.info-box ul,
.step-description ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.warning-box li,
.info-box li {
  margin-bottom: 0.5rem;
}

/* Audio player - mejor espaciado */
.audio-player-container {
  margin: 2rem 0;
}
/* Ampliar el contenedor de sección para los pasos horizontales */
#section-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.section-card {
    max-width: 1400px; /* Aumentado de 900px a 1400px */
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

/* Dar más espacio a los pasos en grid de 4 columnas */
.grid-cols-4 {
    gap: 1.5rem; /* Aumentar gap de 1rem a 1.5rem */
}

/* Ajustar padding de step-container */
.step-container {
    padding: 1.5rem;
}

/* Responsive mejorado */
@media (min-width: 1024px) {
    .section-card {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 1280px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }
    
    .section-card {
        padding: 1.5rem 1rem;
    }
}
/* BOTÓN DE DESCARGA APP */
.card-buttone {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  cursor: pointer;
  width: 100%;
  min-height: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-buttone:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-buttone:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-buttone .card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.card-buttone:hover .card-icon {
  transform: scale(1.08);
}

/* FONDO DE IMAGEN PARA DESCARGA */
.card-download {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)
    ),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=800&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  overflow: hidden;
}

.card-download h2,
.card-download .subtitle {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.card-download:hover {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=800&q=80");
  transform: scale(1.02);
}

body.dark-mode .card-download {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.50),
      rgba(0, 0, 0, 0.50)
    ),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=800&q=80");
}
/* Header transparente */
header.bg-white {
  background-color: transparent !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none !important;
}

/* Si quieres un fondo semitransparente con blur */
header.bg-white {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Modo oscuro */
body.dark-mode header.bg-white {
  background-color: rgba(45, 55, 72, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* MODO CLARO - Azul fino y elegante */
header h1 {
  color: #2563eb !important;
  font-weight: 700;
}

header .language-selector {
  color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.5);
  font-weight: 600;
}

header .language-selector:hover {
  background-color: rgba(37, 99, 235, 0.15);
  color: #1d4ed8 !important;
}

header .language-selector.active {
  background-color: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
}

header .dark-mode-toggle,
header #back-btn {
  color: #2563eb !important;
}

header .dark-mode-toggle:hover,
header #back-btn:hover {
  color: #1d4ed8 !important;
}

/* MODO OSCURO - Azul eléctrico NEÓN */
body.dark-mode header h1 {
  color: #00ffff !important;
  font-weight: 800;
  text-shadow: 
    0 0 10px rgba(0, 255, 255, 0.8),
    0 0 20px rgba(0, 255, 255, 0.5),
    0 0 30px rgba(0, 255, 255, 0.3);
}

body.dark-mode header .language-selector {
  color: #00ffff !important;
  border-color: rgba(0, 255, 255, 0.6);
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.6);
}

body.dark-mode header .language-selector:hover {
  background-color: rgba(0, 255, 255, 0.15);
  color: #00ffff !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

body.dark-mode header .language-selector.active {
  background-color: #00ffff;
  color: #000000 !important;
  border-color: #00ffff;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.8),
    0 0 40px rgba(0, 255, 255, 0.4);
  font-weight: 700;
}

body.dark-mode header .dark-mode-toggle,
body.dark-mode header #back-btn {
  color: #00ffff !important;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

body.dark-mode header .dark-mode-toggle:hover,
body.dark-mode header #back-btn:hover {
  color: #00ffff !important;
  text-shadow: 
    0 0 15px rgba(0, 255, 255, 1),
    0 0 25px rgba(0, 255, 255, 0.6);
}

/* Header transparente para ambos modos */
header.bg-white {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode header.bg-white {
  background-color: rgba(45, 55, 72, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* ========================================
   SOLO CONTENIDO TRANSPARENTE
   ======================================== */

/* Fondo transparente para las tarjetas de sección */
.section-card {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .section-card {
  background-color: rgba(45, 55, 72, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Info-box transparente */
.info-box {
  background-color: rgba(239, 246, 255, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.dark-mode .info-box {
  background-color: rgba(30, 58, 138, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Warning-box transparente */
.warning-box {
  background-color: rgba(254, 245, 231, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.dark-mode .warning-box {
  background-color: rgba(69, 26, 3, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Step-container transparente */
.step-container {
  background-color: rgba(248, 250, 255, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.dark-mode .step-container {
  background-color: rgba(42, 52, 65, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body {
  font-family: 'Inter', 'Roboto', sans-serif;
}