/* Posicionamiento en la tarjeta */
.product-card .countdown-container {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ========================================
   SECCIÓN DE CARACTERÍSTICAS
   ======================================== */

.features-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 60px 20px;
  margin: 0;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgb(255, 255, 255);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.5;
  margin: 0;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Responsive para móviles */
@media (max-width: 640px) {
  .features-section {
    padding: 40px 15px;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    padding: 25px 15px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-text {
    font-size: 1rem;
  }
}

/* Contenedor de estadísticas */
.stats-container {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

/* Cuadro individual de estadística */
.stat-box {
  background-color: rgba(255, 215, 0, 0.85);
  /* Amarillo con transparencia */
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  min-width: 250px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background-color: rgba(255, 215, 0, 0.95);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Número de la estadística */
.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}

/* Etiqueta de la estadística */
.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  line-height: 1.3;
}

/* Responsive: tablets y móviles */
@media (max-width: 768px) {
  .stats-container {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 10px;
    gap: 15px;
  }

  .stat-box {
    min-width: 150px;
    padding: 15px 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }
}

/* ========================================
   ALERTA DE SEGURIDAD
   ======================================== */

.security-alert {
  background: linear-gradient(135deg, #f4c129 0%, #e1f46b 100%);
  border-bottom: 4px solid #eeff00;
  box-shadow: 0 4px 12px rgba(230, 241, 19, 0.3);
  animation: pulseAlert 3s ease-in-out infinite;
  position: relative;
  top: 70px;
  z-index: 100;
  width: 100%;
}

@keyframes pulseAlert {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
  }

  50% {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
  }
}

.security-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.alert-icon {
  font-size: 2rem;
  animation: shake 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(-5deg);
  }

  20%,
  40%,
  60%,
  80% {
    transform: rotate(5deg);
  }
}

.alert-text {
  color: #212529;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
  flex: 1;
  min-width: 300px;
}

.alert-text strong {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #8c1c1c;
  text-shadow: 1px 1px 2px rgba(238, 255, 0, 0.5);
}

.alert-text .highlight {
  background: rgba(211, 47, 47, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: #8c1c1c;
  display: inline-block;
  margin: 0 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .security-content {
    padding: 12px 15px;
    gap: 12px;
  }

  .alert-icon {
    font-size: 1.5rem;
  }

  .alert-text {
    font-size: 0.9rem;
    min-width: 200px;
  }

  .alert-text strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .security-content {
    padding: 10px 12px;
    gap: 10px;
  }

  .alert-icon {
    font-size: 1.3rem;
  }

  .alert-text {
    font-size: 0.85rem;
  }

  .alert-text strong {
    font-size: 0.95rem;
  }

  .alert-text .highlight {
    display: block;
    margin: 5px 0;
  }
}

/* ========================================
   BANNER DE GANADORES RECIENTES
   ======================================== */

.winners-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px 0;
  margin: 30px 0;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
  overflow: hidden;
  position: relative;
}

.winners-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
  pointer-events: none;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.winners-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.trophy-icon {
  font-size: 3rem;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.winners-content {
  flex: 1;
  max-width: 700px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.winners-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.winner-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
  transition: all 0.3s ease;
}

.winner-name {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  display: block;
}

.winner-product {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.winner-location {
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 400;
  display: block;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Animación de pulso para el contenedor */
.winners-content {
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .winners-banner {
    padding: 15px 0;
    margin: 20px 0;
  }

  .winners-container {
    gap: 15px;
    padding: 0 15px;
  }

  .trophy-icon {
    font-size: 2rem;
  }

  .winners-content {
    padding: 20px 15px;
  }

  .winners-title {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .winner-name {
    font-size: 1.2rem;
  }

  .winner-product {
    font-size: 1rem;
  }

  .winner-location {
    font-size: 0.85rem;
  }

  .winner-info {
    min-height: 70px;
  }
}

@media (max-width: 480px) {
  .trophy-icon {
    font-size: 1.5rem;
  }

  .winners-title {
    font-size: 0.95rem;
  }

  .winner-name {
    font-size: 1rem;
  }

  .winner-product {
    font-size: 0.9rem;
  }

  .winner-location {
    font-size: 0.8rem;
  }
}

/* ========================================
   ESTILOS FAQ (ORIGINALES)
   ======================================== */

/* Estilos para la sección FAQ */
.faq-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 20px;
  margin-top: 40px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-main-title {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tabs */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.faq-tab {
  background: white;
  border: 3px solid #dee2e6;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #495057;
}

.faq-tab:hover {
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.faq-tab.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-color: #0056b3;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

/* Contenido FAQ */
.faq-content {
  display: none;
  animation: fadeIn 0.4s ease-in;
}

.faq-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Items FAQ */
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #212529;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
  color: #007bff;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 25px;
  border-top: 2px solid #e9ecef;
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #495057;
  font-size: 1rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-main-title {
    font-size: 1.8rem;
  }

  .faq-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .faq-tab {
    width: 100%;
    text-align: center;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

/* Animación suave para la altura */
.faq-answer {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   COUNTDOWN BADGES
   ======================================== */

/* Estilos para el contador de días restantes */
.countdown-container {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown-badge {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  min-width: 150px;
  animation: pulseGlow 2s ease-in-out infinite;
}

.countdown-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.countdown-badge.normal {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: 2px solid #1e7e34;
}

.countdown-badge.warning {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #212529;
  border: 2px solid #e65100;
  animation: pulseWarning 1.5s ease-in-out infinite;
}

.countdown-badge.urgent {
  background: linear-gradient(135deg, #ff5722, #f44336);
  color: white;
  border: 2px solid #d32f2f;
  animation: pulseUrgent 1s ease-in-out infinite;
}

.countdown-badge.today {
  background: linear-gradient(135deg, #9c27b0, #673ab7);
  color: white;
  border: 2px solid #4a148c;
  animation: pulseToday 0.8s ease-in-out infinite;
}

.countdown-badge.expired {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  border: 2px solid #343a40;
  opacity: 0.8;
  animation: none;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  50% {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }
}

@keyframes pulseWarning {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
  }

  50% {
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
  }
}

@keyframes pulseUrgent {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.5);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 6px 24px rgba(244, 67, 54, 0.8);
    transform: scale(1.05);
  }
}

@keyframes pulseToday {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.6);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 8px 28px rgba(156, 39, 176, 0.9);
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  .countdown-badge {
    font-size: 0.95rem;
    padding: 10px 20px;
    min-width: 130px;
  }
}

/* Posicionamiento en la tarjeta */
.product-card .countdown-container {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ARREGLO 1: TOP BAR - Evitar que el botón se corte */
@media (max-width: 768px) {
  .top-bar {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .top-bar .logo {
    flex: 1;
    min-width: 150px;
  }

  .top-bar .logo img {
    width: 35px;
    height: 35px;
  }

  .top-bar .logo span {
    font-size: 1.1em;
  }

  .top-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .top-buttons .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 8px 10px;
    gap: 5px;
  }

  .top-bar .logo {
    min-width: 120px;
  }

  .top-bar .logo img {
    width: 30px;
    height: 30px;
  }

  .top-bar .logo span {
    font-size: 1rem;
  }

  .top-buttons {
    gap: 5px;
  }

  .top-buttons .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
  }
}

/* ========================================
   SECCIÓN HERO - MEJORADA PARA MÓVIL
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 70px;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Contenedor de estadísticas - Posicionamiento mejorado */
.stats-container {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
  width: auto;
}

.stat-box {
  background-color: rgba(255, 215, 0, 0.85);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  min-width: 250px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background-color: rgba(255, 215, 0, 0.95);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  line-height: 1.3;
}

/* Texto hero */
.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  z-index: 10;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 30px 25px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.hero-text h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.hero-text h1 span {
  color: #ffd700;
  display: block;
}

.hero-text p {
  color: white;
  font-size: 1.1rem;
  margin: 0 0 20px 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

.btn-hero {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
  background: linear-gradient(135deg, #0056b3, #003d82);
}

/* ========================================
   RESPONSIVE HERO - TABLET (1030px y menor)
   ======================================== */

@media (max-width: 1030px) {
  .hero {
    min-height: 450px;
    margin-top: 60px;
  }

  .stats-container {
    left: 5%;
    gap: 15px;
  }

  .stat-box {
    min-width: 220px;
    padding: 18px 20px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
  }

  .hero-text {
    right: 0;
    left: 60%;
    transform: translate(-50%, -50%);
    max-width: 420px;
    width: 90%;
    padding: 25px 20px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .btn-hero {
    padding: 12px 35px;
    font-size: 1rem;
  }
}

/* ========================================
   RESPONSIVE HERO - TABLET PEQUEÑA (770px)
   ======================================== */

@media (max-width: 770px) {
  .hero {
    position: relative;
    min-height: 600px;
    margin-top: 50px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 0;
  }

  .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Los indicadores se colocan en la parte superior dentro de la imagen */
  .stats-container {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 10px 0;
    z-index: 10;
    margin-top: 20px;
  }

  .stat-box {
    min-width: 140px;
    width: calc(50% - 6px);
    padding: 15px 12px;
    border-radius: 10px;
    flex-grow: 0;
  }

  .stat-number {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .stat-label {
    font-size: 11px;
    line-height: 1.2;
  }

  .hero-text {
    width: calc(100% - 40px);
    max-width: 100%;
    margin-top: auto;
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .hero-text h1 span {
    display: block;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .btn-hero {
    padding: 11px 30px;
    font-size: 0.95rem;
    width: auto;
  }
}

/* ========================================
   RESPONSIVE HERO - MÓVIL PEQUEÑO (480px)
   ======================================== */

@media (max-width: 480px) {
  .hero {
    min-height: 550px;
    margin-top: 45px;
    padding: 15px 0;
  }

  .stats-container {
    gap: 10px;
    padding: 15px 8px 0;
    margin-top: 15px;
  }

  .stat-box {
    min-width: 110px;
    width: calc(50% - 5px);
    padding: 12px 10px;
    border-radius: 8px;
  }

  .stat-number {
    font-size: 20px;
    margin-bottom: 3px;
  }

  .stat-label {
    font-size: 10px;
    line-height: 1.1;
  }

  .hero-text {
    width: calc(100% - 30px);
    margin-bottom: 25px;
    padding: 18px 15px;
    background: rgba(0, 0, 0, 0.45);
    position: relative;
    left: 0;
    top: 0;
    transform: none;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .btn-hero {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* ========================================
   RESPONSIVE HERO - MÓVIL EXTRA PEQUEÑO (360px)
   ======================================== */

@media (max-width: 360px) {
  .hero {
    min-height: 500px;
    padding: 10px 0;
  }

  .stats-container {
    padding: 12px 5px 0;
    gap: 8px;
    margin-top: 10px;
  }

  .stat-box {
    min-width: 95px;
    width: calc(50% - 4px);
    padding: 10px 8px;
  }

  .stat-number {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .stat-label {
    font-size: 9px;
    line-height: 1.1;
  }

  .hero-text {
    width: calc(100% - 20px);
    margin-bottom: 20px;
    padding: 15px 12px;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
  }

  .hero-text h1 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .hero-text p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .btn-hero {
    padding: 9px 20px;
    font-size: 0.85rem;
  }
}

/* ========================================
   ASEGURAR QUE TODO ESTÁ DENTRO DE LA IMAGEN
   ======================================== */

.hero {
  box-sizing: border-box;
}

.hero * {
  box-sizing: border-box;
}