.sucursal-banner {
  position: relative;
  height: 70vh;
  background: 
    linear-gradient(
      rgba(9, 10, 32, 0.85),
      rgba(9, 10, 32, 0.75)
    ),
    url('https://i.ibb.co/tTN43XTb/17.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.dark .sucursal-banner {
  background: 
    linear-gradient(
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.8)
    ),
    url('https://i.ibb.co/tTN43XTb/17.png') center/cover no-repeat;
}

.sucursal-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(207, 98, 27, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

body.dark .sucursal-banner::before {
  background: radial-gradient(circle at center, rgba(207, 98, 27, 0.3) 0%, transparent 70%);
}

.sucursal-banner:hover::before {
  opacity: 1;
}

.sucursal-content {
  max-width: 800px;
  color: white;
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
  transition: color 0.3s ease;
}

body.dark .sucursal-content {
  color: #CF621B;
}

.sucursal-title {
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

body.dark .sucursal-title {
  color: #CF621B;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.sucursal-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #CF621B;
  transition: width 0.5s ease;
}

.sucursal-content:hover .sucursal-title::after {
  width: 200px;
}

.sucursal-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

body.dark .sucursal-subtitle {
  color: rgba(207, 98, 27, 0.9);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.sucursal-btn {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, #CF621B 0%, #E9722C 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(207, 98, 27, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.dark .sucursal-btn {
  background: linear-gradient(135deg, #CF621B 0%, #E9722C 100%);
  color: #000;
  box-shadow: 0 10px 25px rgba(207, 98, 27, 0.4);
}

.sucursal-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E9722C 0%, #CF621B 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.sucursal-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(207, 98, 27, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark .sucursal-btn:hover {
  box-shadow: 0 15px 35px rgba(207, 98, 27, 0.6);
}

.sucursal-btn:hover::before {
  opacity: 1;
}

.sucursal-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 0;
}

.sucursal-btn:active::after {
  animation: ripple 0.6s ease-out;
}

/* Efecto de partículas flotantes */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(207, 98, 27, 0.3);
  border-radius: 50%;
  opacity: 0;
  animation: float 15s linear infinite;
}

body.dark .particle {
  background: rgba(207, 98, 27, 0.5);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Efecto adicional para mejorar la legibilidad en modo oscuro */
body.dark .sucursal-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .sucursal-title {
    font-size: 3rem;
  }
  
  .sucursal-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .sucursal-banner {
    height: 60vh;
  }
  
  .sucursal-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .sucursal-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .sucursal-btn {
    padding: 16px 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sucursal-title {
    font-size: 2rem;
  }
  
  .sucursal-subtitle {
    font-size: 1rem;
  }
  
  .sucursal-btn {
    padding: 14px 35px;
  }
}