/* ===== ANIMACIONES GLOBALES ===== */

/* Keyframes para fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Keyframes para slide up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keyframes para slide down */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keyframes para slide from left */
@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keyframes para slide from right */
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keyframes para scale in */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Keyframes para float (efecto flotante continuo) */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Keyframes para pulse (pulso sutil) */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Keyframes para shimmer (brillo deslizante) */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Keyframes para rotate */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Keyframes para bounce in */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Keyframes para slide and fade */
@keyframes slideAndFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CLASES DE UTILIDAD PARA ANIMACIONES ===== */

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-down {
  animation: slideDown 0.8s ease-out forwards;
}

.animate-slide-left {
  animation: slideFromLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideFromRight 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out forwards;
}

/* Delays para animaciones escalonadas */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Animación flotante continua para elementos decorativos */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Animación de pulso sutil */
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ===== ANIMACIONES APLICADAS A SECCIONES ===== */

/* Sección 2: Marcas - Animaciones manejadas por Stimulus scroll-animations */
/* .marcas-title, .marcas-subtitle y .marcas-logos - animaciones por JS */

/* Sección 3: Quiénes Somos - Animaciones manejadas por Stimulus scroll-animations */

/* Sección 4: Productos - Animaciones manejadas por Stimulus */
.tab-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
  transform: translateY(-3px);
}

/* Sección 5: Sucursales - Animaciones manejadas por Stimulus */
.sucursal-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sección 6: Estadísticas - Mantener hover original, solo agregar entrada */
/* Remover opacity: 0 para no romper el diseño existente */
/* .estadistica-card ya tiene sus estilos, solo mejoramos hover */

.estadistica-icon {
  transition: transform 0.3s ease;
}

.estadistica-card:hover .estadistica-icon {
  transform: scale(1.15) rotate(5deg);
}

/* Sección 7: Descarga App - Animaciones manejadas por Stimulus */

/* Sección 8: Mapa */
.sucursal-tarjeta {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sucursal-tarjeta:hover {
  transform: translateX(10px);
}

/* Sección 9: Contacto - Animaciones manejadas por Stimulus */

/* Efectos hover mejorados */
.form-grupo input,
.form-grupo textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-grupo input:focus,
.form-grupo textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(114, 190, 2, 0.2);
}

/* Footer animaciones */
.social-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-item:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Animación para logos de marcas (carrusel) - Ya tiene estilos en home.css */

/* Animación para botones de productos */
.miniatura-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.miniatura-btn:hover {
  transform: scale(1.1);
}

/* Glass effects con animación */
.glass-effect,
.glass-effect-s7 {
  animation: float 6s ease-in-out infinite;
}

.glass-effect:nth-child(2),
.glass-effect-s7:nth-child(2) {
  animation-delay: 2s;
  animation-duration: 7s;
}

.glass-effect:nth-child(3),
.glass-effect-s7:nth-child(3) {
  animation-delay: 4s;
  animation-duration: 8s;
}

/* Responsive: desactivar algunas animaciones en móviles */
@media (max-width: 768px) {
  .animate-float,
  .glass-effect,
  .glass-effect-s7 {
    animation: none;
  }

  /* Animaciones más rápidas en móvil */
  .animate-slide-up,
  .animate-slide-down,
  .animate-slide-left,
  .animate-slide-right,
  .animate-scale-in,
  .animate-bounce-in {
    animation-duration: 0.5s;
  }
}

/* Preferencias de movimiento reducido (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Sección 1: Carrusel Hero - Ocupa toda la pantalla */
.seccion1 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Video wrapper */
.carousel-video-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-video-wrapper.active {
  opacity: 1;
}

/* Video element */
.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

/* Thumbnail (imagen de preview) */
.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

/* Info Box - Blur Effect */
.info-box {
  position: relative;
  width: 40%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4rem 3rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sucursal-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 2rem;
}

.main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.sucursal-name {
  font-family: 'Poppins', sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sucursal-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.sucursal-address {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sucursal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.btn-location {
  padding: 0.8rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.5rem;
  background: #72BE02;
  color: #fff;
  border: 2px solid #72BE02;
}

.btn-location:hover {
  background: #5da002;
  border-color: #5da002;
  transform: translateY(-2px);
}

.location-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-call-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.8rem 0;
}

.btn-call-link:hover {
  color: #72BE02;
  text-decoration: none;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 4rem;
  left: calc(100% + 3rem);
  width: calc(150% - 6rem);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 3rem;
  padding: 0 3rem;
}

.carousel-buttons {
  display: flex;
  gap: 1.5rem;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.carousel-btn svg {
  width: 28px;
  height: 28px;
  color: #fff;
  transition: transform 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(114, 190, 2, 0.3);
  border-color: #72BE02;
  transform: scale(1.1);
}

.carousel-btn:hover svg {
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.indicator-line {
  width: 500px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  flex-grow: 1;
  max-width: 600px;
}

.carousel-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  min-width: 60px;
  text-align: center;
}

/* Responsive Design */
/* Tablets (1024px y menores) */
@media (max-width: 1024px) {
  .info-box {
    width: 55%;
    padding: 3rem 2rem 3rem 2rem;
  }

  .main-title {
    font-size: 3rem;
  }

  .sucursal-name {
    font-size: 2rem;
  }

  .sucursal-description {
    font-size: 1rem;
  }

  .sucursal-address {
    font-size: 0.95rem;
  }

  .btn-location,
  .btn-call-link {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
  }

  .carousel-controls {
    width: 45%;
    bottom: 3rem;
    padding: 0 2rem;
    gap: 2rem;
  }

  .carousel-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .carousel-btn svg {
    width: 24px;
    height: 24px;
  }

  .indicator-line {
    max-width: 300px;
  }

  .carousel-number {
    font-size: 2.2rem;
  }
}

/* Tablets pequeñas y móviles landscape (768px y menores) */
@media (max-width: 768px) {
  .info-box {
    width: 100%;
    height: auto;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-right: none;
    background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    justify-content: flex-start;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
  }

  .seccion1 {
    overflow: visible;
  }

  .sucursal-info {
    padding-bottom: 0;
    padding-top: 0.5rem;
  }

  .main-title {
    font-size: 2rem;
    margin-bottom: 0.4rem;
  }

  .sucursal-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .sucursal-description {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }

  .sucursal-address {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .address-icon {
    width: 16px;
    height: 16px;
  }

  .sucursal-buttons {
    flex-direction: row;
    gap: 0.6rem;
    width: 100%;
    margin-bottom: 0.6rem;
  }

  .btn-location {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
    flex: 1;
    justify-content: center;
  }

  .btn-call-link {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .btn-call-link:hover {
    background: rgba(114, 190, 2, 0.3);
    border-color: #72BE02;
  }

  .location-icon {
    width: 14px;
    height: 14px;
  }

  .carousel-controls {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 0;
    gap: 0.6rem;
    justify-content: flex-end;
    background: none;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .carousel-buttons {
    gap: 0.6rem;
    order: 1;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .carousel-btn:hover {
    background: rgba(114, 190, 2, 0.4);
  }

  .indicator-line {
    display: none;
  }

  .carousel-number {
    font-size: 1.6rem;
    order: 2;
    min-width: auto;
  }
}

/* Móviles pequeños (480px y menores) */
@media (max-width: 480px) {
  .info-box {
    padding: 1rem 1rem 0 1rem;
  }

  .sucursal-info {
    padding-top: 0.3rem;
  }

  .main-title {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
  }

  .sucursal-name {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }

  .sucursal-description {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .sucursal-address {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
  }

  .address-icon {
    width: 12px;
    height: 12px;
  }

  .sucursal-buttons {
    gap: 0.5rem;
    flex-direction: column;
    margin-bottom: 0.5rem;
  }

  .btn-location,
  .btn-call-link {
    font-size: 0.75rem;
    padding: 0.6rem 0.9rem;
    width: 100%;
  }

  .location-icon {
    width: 12px;
    height: 12px;
  }

  .carousel-controls {
    top: 1rem;
    right: 1rem;
    bottom: auto;
    padding: 0;
    gap: 0.5rem;
  }

  .carousel-buttons {
    gap: 0.5rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .indicator-line {
    display: none;
  }

  .carousel-number {
    font-size: 1.4rem;
  }
}

/* Sección 2: Principales Marcas */
.seccion2 {
  height: 40vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.marcas-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.marcas-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #04534E;
  text-align: center;
  margin: 0;
}

.marcas-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #333;
  text-align: center;
  margin: 0;
}

.marcas-logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marcas-logos {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}

.marcas-logos:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marca-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.marca-logo:hover {
  transform: scale(1.1);
}

/* Responsive - Sección 2 */
/* Pantallas medianas (1300px y menores) */
@media (max-width: 1300px) {
  .seccion2 {
    height: auto;
    min-height: 38vh;
    padding: 2.5rem 2rem;
  }

  .marcas-logos {
    gap: 1.3rem;
    width: 95%;
  }

  .marca-logo {
    height: 58px;
  }
}

/* Tablets grandes (1100px y menores) */
@media (max-width: 1100px) {
  .seccion2 {
    min-height: 36vh;
    padding: 2.5rem 1.8rem;
  }

  .marcas-title {
    font-size: 2.3rem;
  }

  .marcas-subtitle {
    font-size: 1.15rem;
  }

  .marcas-logos {
    gap: 1.1rem;
    width: 95%;
  }

  .marca-logo {
    height: 52px;
  }
}

/* Tablets medianas (1024px y menores) */
@media (max-width: 1024px) {
  .seccion2 {
    min-height: 35vh;
    padding: 2.5rem 1.5rem;
  }

  .marcas-title {
    font-size: 2.2rem;
  }

  .marcas-subtitle {
    font-size: 1.1rem;
  }

  .marcas-logos {
    gap: 1rem;
    width: 95%;
  }

  .marca-logo {
    height: 50px;
  }
}

/* Tablets pequeñas-medianas (900px y menores) */
@media (max-width: 900px) {
  .seccion2 {
    min-height: 32vh;
    padding: 2.2rem 1.3rem;
  }

  .marcas-title {
    font-size: 2rem;
  }

  .marcas-subtitle {
    font-size: 1.05rem;
  }

  .marcas-logos {
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: center;
  }

  .marca-logo {
    height: 48px;
  }
}

/* Tablets pequeñas (768px y menores) */
@media (max-width: 768px) {
  .seccion2 {
    min-height: 30vh;
    padding: 2rem 1rem;
  }

  .marcas-container {
    gap: 1.5rem;
  }

  .marcas-title {
    font-size: 1.8rem;
  }

  .marcas-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .marcas-logos {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .marca-logo {
    height: 45px;
  }
}

/* Móviles pequeños (480px y menores) */
@media (max-width: 480px) {
  .seccion2 {
    min-height: auto;
    padding: 1.5rem 0.8rem;
  }

  .marcas-container {
    gap: 1rem;
  }

  .marcas-title {
    font-size: 1.5rem;
  }

  .marcas-subtitle {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }

  .marcas-logos {
    flex-wrap: nowrap;
    gap: 0.8rem;
  }

  .marca-logo {
    height: 35px;
  }
}

/* Móviles muy pequeños (360px y menores) */
@media (max-width: 360px) {
  .seccion2 {
    padding: 1.2rem 0.5rem;
  }

  .marcas-title {
    font-size: 1.3rem;
  }

  .marcas-subtitle {
    font-size: 0.75rem;
  }

  .marcas-logos {
    gap: 0.6rem;
  }

  .marca-logo {
    height: 30px;
  }
}

/* Sección 3: Quiénes Somos */
.seccion3 {
  height: 100vh;
  position: relative;
  background-image: url(/assets/QuienesSomos/Fondo-43d5aa94581f4d54ab0786897dd623729f7f5c054c50d667b2e98933f26fa134.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.seccion3-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.seccion3-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 4rem;
  gap: 4rem;
}

.quienes-columna1 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.quienes-box {
  background-color: transparent;
  padding: 5rem 2rem 18rem 2rem;
  border: 2px solid #fff;
  border-radius: 0;
  max-width: 720px;
}

.quienes-title {
  font-family: 'Poppins', sans-serif;
  font-size: 7.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  text-align: center;
  word-wrap: break-word;
}

.quienes-columna2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 8rem;
}

.quienes-parrafo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.8;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.trabajador-img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 70vh;
  width: auto;
  object-fit: contain;
  z-index: 3;
}

/* Responsive - Sección 3 */
/* Pantallas entre 1310px y 1250px */
@media (max-width: 1310px) and (min-width: 1251px) {
  .seccion3-content {
    padding: 3.8rem 3.5rem;
    gap: 3.2rem;
  }

  .quienes-box {
    padding: 5rem 2.2rem 17rem 2.2rem;
    max-width: 680px;
  }

  .quienes-title {
    font-size: 6.8rem;
  }

  .quienes-columna2 {
    margin-top: 7.5rem;
    gap: 1.9rem;
    padding-right: 1rem;
  }

  .quienes-parrafo {
    font-size: 1.55rem;
    line-height: 1.8;
  }

  .trabajador-img {
    height: 67vh;
  }
}

/* Pantallas medianas (1250px y menores) */
@media (max-width: 1250px) {
  .seccion3-content {
    padding: 3.5rem 3rem;
    gap: 3rem;
  }

  .quienes-box {
    padding: 4.5rem 2rem 16rem 2rem;
    max-width: 650px;
  }

  .quienes-title {
    font-size: 6.5rem;
  }

  .quienes-columna2 {
    margin-top: 7rem;
    gap: 1.8rem;
  }

  .quienes-parrafo {
    font-size: 1.5rem;
    line-height: 1.75;
  }

  .trabajador-img {
    height: 65vh;
  }
}

/* Pantallas entre 1040px y 1030px */
@media (max-width: 1040px) and (min-width: 1025px) {
  .seccion3-content {
    padding: 3.2rem 2.8rem;
    gap: 2.8rem;
  }

  .quienes-box {
    padding: 4.2rem 2rem 15rem 2rem;
    max-width: 600px;
  }

  .quienes-title {
    font-size: 5.8rem;
  }

  .quienes-columna2 {
    margin-top: 6.5rem;
    gap: 1.7rem;
    padding-right: 1rem;
  }

  .quienes-parrafo {
    font-size: 1.45rem;
    line-height: 1.72;
  }

  .trabajador-img {
    height: 62vh;
  }
}

/* Tablets grandes (1024px y menores) */
@media (max-width: 1024px) {
  .seccion3-content {
    padding: 3rem 2.5rem;
    gap: 2.5rem;
  }

  .quienes-box {
    padding: 4rem 1.8rem 14rem 1.8rem;
    max-width: 580px;
  }

  .quienes-title {
    font-size: 5.5rem;
  }

  .quienes-columna2 {
    margin-top: 6rem;
    gap: 1.6rem;
  }

  .quienes-parrafo {
    font-size: 1.4rem;
    line-height: 1.7;
  }

  .trabajador-img {
    height: 60vh;
  }
}

/* Tablets medianas (900px y menores) */
@media (max-width: 900px) {
  .seccion3-content {
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .quienes-box {
    padding: 3.5rem 1.5rem 12rem 1.5rem;
    max-width: 520px;
  }

  .quienes-title {
    font-size: 5rem;
  }

  .quienes-columna2 {
    margin-top: 5rem;
    gap: 1.4rem;
  }

  .quienes-parrafo {
    font-size: 1.3rem;
    line-height: 1.65;
  }

  .trabajador-img {
    height: 55vh;
  }
}

/* Tablets pequeñas (768px y menores) */
@media (max-width: 768px) {
  .seccion3 {
    height: auto;
    min-height: 100vh;
  }

  .seccion3-content {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    align-items: center;
  }

  .quienes-box {
    padding: 3rem 1.5rem 3rem 1.5rem;
    max-width: 100%;
    width: 100%;
  }

  .quienes-title {
    font-size: 4.5rem;
  }

  .quienes-columna2 {
    margin-top: 0;
    gap: 1.2rem;
    order: 2;
  }

  .quienes-columna1 {
    order: 1;
  }

  .quienes-parrafo {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .trabajador-img {
    height: 45vh;
  }
}

/* Móviles medianos (630px y menores) */
@media (max-width: 630px) {
  .seccion3-content {
    padding: 2.5rem 1.5rem 1rem 1.5rem;
  }

  .quienes-box {
    padding: 2.8rem 1.3rem 2.8rem 1.3rem;
  }

  .quienes-title {
    font-size: 3.8rem;
  }

  .quienes-columna2 {
    gap: 1rem;
  }

  .quienes-parrafo {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .trabajador-img {
    height: 50vh;
  }
}

/* Móviles (550px y menores) */
@media (max-width: 550px) {
  .seccion3-content {
    padding: 2rem 1.2rem 1rem 1.2rem;
  }

  .quienes-box {
    padding: 2.5rem 1.2rem 2.5rem 1.2rem;
  }

  .quienes-title {
    font-size: 3.3rem;
  }

  .quienes-parrafo {
    font-size: 1rem;
  }

  .trabajador-img {
    height: 45vh;
  }
}

/* Móviles pequeños (480px y menores) */
@media (max-width: 480px) {
  .seccion3-content {
    padding: 2rem 1rem 0.8rem 1rem;
    gap: 1.5rem;
  }

  .quienes-box {
    padding: 2rem 1rem 2rem 1rem;
    border-width: 1.5px;
  }

  .quienes-title {
    font-size: 3rem;
    -webkit-text-stroke: 0.8px #fff;
    text-stroke: 0.8px #fff;
  }

  .quienes-columna2 {
    gap: 0.9rem;
  }

  .quienes-parrafo {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .trabajador-img {
    height: 45vh;
  }
}

/* Móviles muy pequeños (360px y menores) */
@media (max-width: 360px) {
  .seccion3-content {
    padding: 1.5rem 0.8rem 0.6rem 0.8rem;
    gap: 1rem;
  }

  .quienes-box {
    padding: 1.5rem 0.8rem 1.5rem 0.8rem;
  }

  .quienes-title {
    font-size: 2.5rem;
  }

  .quienes-columna2 {
    gap: 0.7rem;
  }

  .quienes-parrafo {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .trabajador-img {
    height: 40vh;
  }
}

/* Contenedor compartido para secciones 4 y 5 */
.seccion4-5-container {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fdf0 50%, #ffffff 100%);
  overflow: hidden;
}

/* Manchas de efecto glass verde compartidas */
.seccion4-5-container::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(114, 190, 2, 0.12) 0%, rgba(114, 190, 2, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  left: -150px;
  filter: blur(80px);
  z-index: 0;
}

.seccion4-5-container::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(42, 133, 35, 0.1) 0%, rgba(42, 133, 35, 0.03) 50%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  right: -200px;
  filter: blur(100px);
  z-index: 0;
}

/* Sección 4: Nuestros Productos */
.seccion4 {
  min-height: 100vh;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 1rem 2rem;
  overflow: visible;
  position: relative;
}

.productos-title,
.productos-tabs,
.productos-content {
  position: relative;
  z-index: 1;
}

/* Manchas adicionales de efecto glass en el contenedor compartido */
.seccion4-5-container .glass-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.seccion4-5-container .glass-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(114, 190, 2, 0.15) 0%, rgba(114, 190, 2, 0.06) 50%, transparent 70%);
  top: 15%;
  left: 15%;
}

.seccion4-5-container .glass-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 133, 35, 0.12) 0%, rgba(42, 133, 35, 0.04) 50%, transparent 70%);
  top: 50%;
  right: 10%;
}

.seccion4-5-container .glass-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(114, 190, 2, 0.14) 0%, rgba(114, 190, 2, 0.05) 50%, transparent 70%);
  bottom: 15%;
  left: 25%;
}

.productos-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #2A8523;
  text-align: center;
  margin: 0 0 3rem 0;
}

.productos-tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 5rem;
  justify-content: space-between;
  width: 95%;
  max-width: 1600px;
}

.tab-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #72BE02;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
  white-space: nowrap;
}

.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
  background-color: #2A8523;
}

.productos-content {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 3rem;
  width: 95%;
  max-width: 1600px;
  align-items: flex-start;
  overflow: visible;
}

.productos-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.producto-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #04312E;
  margin: 0;
}

.producto-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin: 0;
}

.productos-imagenes {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  min-height: 700px;
}

.circulo-exterior {
  position: relative;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 35px solid #2A8523;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -175px; /* Parte del círculo sale de la pantalla */
}

.circulo-interior {
  width: 630px;
  height: 630px;
  border-radius: 50%;
  border: 30px solid #72BE02;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.imagen-principal {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.miniaturas-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.miniatura-btn {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #e0e0e0;
  background-color: #fff;
  padding: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
}

/* Posicionar las 5 miniaturas en el lado izquierdo del círculo */
.miniatura-btn:nth-child(1) {
  top: 10%;
  left: 2%;
  transform: translate(-50%, -50%);
}

.miniatura-btn:nth-child(2) {
  top: 30%;
  left: -6%;
  transform: translate(-50%, -50%);
}

.miniatura-btn:nth-child(3) {
  top: 50%;
  left: -8%;
  transform: translate(-50%, -50%);
}

.miniatura-btn:nth-child(4) {
  top: 70%;
  left: -6%;
  transform: translate(-50%, -50%);
}

.miniatura-btn:nth-child(5) {
  top: 90%;
  left: 2%;
  transform: translate(-50%, -50%);
}

.miniatura-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.miniatura-btn.active {
  background-color: #72BE02;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px #72BE02;
  transform: scale(1.3);
  z-index: 10;
}

.miniatura-btn:nth-child(1).active,
.miniatura-btn:nth-child(2).active,
.miniatura-btn:nth-child(3).active,
.miniatura-btn:nth-child(4).active,
.miniatura-btn:nth-child(5).active {
  transform: translate(-50%, -50%) scale(1.3);
}

.miniatura-btn.active img {
  filter: grayscale(0%);
}

/* Responsive - Sección 4 */
/* Pantallas grandes-medianas (1200px y menores) */
@media (max-width: 1200px) {
  .productos-tabs {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-btn {
    flex: 0 1 auto;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }

  .circulo-exterior {
    width: 550px;
    height: 550px;
    border-width: 28px;
    margin-right: -140px;
  }

  .circulo-interior {
    width: 494px;
    height: 494px;
    border-width: 24px;
  }

  .miniatura-btn {
    width: 75px;
    height: 75px;
  }

  .producto-subtitle {
    font-size: 2.6rem;
  }

  .producto-description {
    font-size: 1.2rem;
  }

  .productos-imagenes {
    min-height: 550px;
  }
}

/* Tablets (1024px y menores) */
@media (max-width: 1024px) {
  .seccion4 {
    min-height: auto;
    height: auto;
    padding: 2rem 1.5rem 2rem 1.5rem;
  }

  .productos-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .productos-tabs {
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    width: 100%;
  }

  .tab-btn {
    flex: 1 1 45%;
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
    white-space: normal;
    text-align: center;
  }

  .productos-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .productos-info {
    order: 1;
    text-align: center;
    align-items: center;
  }

  .producto-subtitle {
    font-size: 2.2rem;
  }

  .producto-description {
    font-size: 1.1rem;
  }

  .productos-imagenes {
    order: 2;
    justify-content: center;
    min-height: 500px;
  }

  .circulo-exterior {
    width: 480px;
    height: 480px;
    border-width: 25px;
    margin-right: 0;
  }

  .circulo-interior {
    width: 430px;
    height: 430px;
    border-width: 22px;
    padding: 1.5rem;
  }

  .miniatura-btn {
    width: 70px;
    height: 70px;
  }

  /* Reposicionar 5 miniaturas alrededor del círculo */
  .miniatura-btn:nth-child(1) {
    top: 5%;
    left: 50%;
  }

  .miniatura-btn:nth-child(2) {
    top: 30%;
    left: 95%;
  }

  .miniatura-btn:nth-child(3) {
    top: 70%;
    left: 95%;
  }

  .miniatura-btn:nth-child(4) {
    top: 95%;
    left: 50%;
  }

  .miniatura-btn:nth-child(5) {
    top: 50%;
    left: 5%;
  }
}

/* Tablets pequeñas (768px y menores) */
@media (max-width: 768px) {
  .seccion4 {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .productos-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .productos-tabs {
    gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .tab-btn {
    flex: 1 1 45%;
    font-size: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 20px;
  }

  .producto-subtitle {
    font-size: 1.6rem;
  }

  .producto-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .productos-imagenes {
    min-height: 400px;
  }

  .circulo-exterior {
    width: 350px;
    height: 350px;
    border-width: 20px;
  }

  .circulo-interior {
    width: 310px;
    height: 310px;
    border-width: 18px;
    padding: 1rem;
  }

  .miniatura-btn {
    width: 55px;
    height: 55px;
    border-width: 3px;
  }

  .miniatura-btn.active {
    box-shadow: 0 0 0 3px #72BE02;
  }

  /* Ajustar posiciones de 5 miniaturas para móvil */
  .miniatura-btn:nth-child(1) {
    top: 5%;
    left: 50%;
  }

  .miniatura-btn:nth-child(2) {
    top: 30%;
    left: 93%;
  }

  .miniatura-btn:nth-child(3) {
    top: 70%;
    left: 93%;
  }

  .miniatura-btn:nth-child(4) {
    top: 95%;
    left: 50%;
  }

  .miniatura-btn:nth-child(5) {
    top: 50%;
    left: 7%;
  }
}

/* Teléfonos landscape y tablets pequeñas (576px y menores) */
@media (max-width: 576px) {
  .seccion4 {
    padding: 1.5rem 1rem;
  }

  .productos-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .productos-tabs {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.25rem);
    font-size: 0.7rem;
    padding: 0.65rem 0.5rem;
    border-radius: 20px;
    white-space: normal;
    line-height: 1.2;
  }

  .productos-info {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .producto-subtitle {
    font-size: 1.5rem;
  }

  .producto-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .productos-imagenes {
    min-height: 350px;
  }

  .circulo-exterior {
    width: 300px;
    height: 300px;
    border-width: 18px;
  }

  .circulo-interior {
    width: 264px;
    height: 264px;
    border-width: 16px;
    padding: 1rem;
  }

  .miniatura-btn {
    width: 48px;
    height: 48px;
    border-width: 2px;
    padding: 4px;
  }

  .miniatura-btn.active {
    box-shadow: 0 0 0 2px #72BE02;
  }

  /* Posiciones de 5 miniaturas */
  .miniatura-btn:nth-child(1) {
    top: 5%;
    left: 50%;
  }

  .miniatura-btn:nth-child(2) {
    top: 30%;
    left: 93%;
  }

  .miniatura-btn:nth-child(3) {
    top: 70%;
    left: 93%;
  }

  .miniatura-btn:nth-child(4) {
    top: 95%;
    left: 50%;
  }

  .miniatura-btn:nth-child(5) {
    top: 50%;
    left: 7%;
  }
}

/* Teléfonos medianos (480px y menores) - iPhone SE, Android estándar */
@media (max-width: 480px) {
  .seccion4 {
    padding: 1.5rem 0.8rem;
  }

  .productos-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .productos-tabs {
    gap: 0.4rem;
    margin-bottom: 1.2rem;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 0.4rem);
    max-width: calc(50% - 0.2rem);
    font-size: 0.65rem;
    padding: 0.55rem 0.4rem;
  }

  .producto-subtitle {
    font-size: 1.3rem;
  }

  .producto-description {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .productos-imagenes {
    min-height: 320px;
  }

  .circulo-exterior {
    width: 270px;
    height: 270px;
    border-width: 15px;
  }

  .circulo-interior {
    width: 240px;
    height: 240px;
    border-width: 14px;
    padding: 0.8rem;
  }

  .miniatura-btn {
    width: 42px;
    height: 42px;
  }

  .miniatura-btn.active {
    transform: scale(1.15);
  }

  .miniatura-btn:nth-child(1).active,
  .miniatura-btn:nth-child(2).active,
  .miniatura-btn:nth-child(3).active,
  .miniatura-btn:nth-child(4).active,
  .miniatura-btn:nth-child(5).active {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Teléfonos pequeños (414px y menores) - iPhone Plus/Max */
@media (max-width: 414px) {
  .seccion4 {
    padding: 1.2rem 0.6rem;
  }

  .productos-title {
    font-size: 1.5rem;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 0.3rem);
    max-width: calc(50% - 0.15rem);
    font-size: 0.6rem;
    padding: 0.5rem 0.3rem;
  }

  .producto-subtitle {
    font-size: 1.2rem;
  }

  .producto-description {
    font-size: 0.85rem;
  }

  .productos-imagenes {
    min-height: 300px;
  }

  .circulo-exterior {
    width: 250px;
    height: 250px;
    border-width: 14px;
  }

  .circulo-interior {
    width: 222px;
    height: 222px;
    border-width: 13px;
  }

  .miniatura-btn {
    width: 40px;
    height: 40px;
  }

  /* Ajuste de posiciones de 5 miniaturas para pantallas pequeñas */
  .miniatura-btn:nth-child(1) {
    top: 5%;
    left: 50%;
  }

  .miniatura-btn:nth-child(2) {
    top: 30%;
    left: 95%;
  }

  .miniatura-btn:nth-child(3) {
    top: 70%;
    left: 95%;
  }

  .miniatura-btn:nth-child(4) {
    top: 95%;
    left: 50%;
  }

  .miniatura-btn:nth-child(5) {
    top: 50%;
    left: 5%;
  }
}

/* Teléfonos compactos (390px y menores) - iPhone 12/13/14 */
@media (max-width: 390px) {
  .seccion4 {
    padding: 1rem 0.5rem;
  }

  .productos-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .productos-tabs {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .tab-btn {
    font-size: 0.65rem;
    padding: 0.55rem 0.6rem;
    border-radius: 15px;
  }

  .producto-subtitle {
    font-size: 1.15rem;
  }

  .producto-description {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .productos-imagenes {
    min-height: 280px;
  }

  .circulo-exterior {
    width: 230px;
    height: 230px;
    border-width: 12px;
  }

  .circulo-interior {
    width: 206px;
    height: 206px;
    border-width: 11px;
    padding: 0.6rem;
  }

  .miniatura-btn {
    width: 36px;
    height: 36px;
    border-width: 2px;
    padding: 3px;
  }
}

/* Teléfonos muy pequeños (360px y menores) - Galaxy S, Android pequeños */
@media (max-width: 360px) {
  .seccion4 {
    padding: 0.8rem 0.4rem;
  }

  .productos-title {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }

  .productos-tabs {
    gap: 0.3rem;
    margin-bottom: 0.8rem;
  }

  .tab-btn {
    font-size: 0.6rem;
    padding: 0.5rem 0.5rem;
    border-radius: 12px;
  }

  .producto-subtitle {
    font-size: 1.05rem;
  }

  .producto-description {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .productos-imagenes {
    min-height: 250px;
  }

  .circulo-exterior {
    width: 210px;
    height: 210px;
    border-width: 10px;
  }

  .circulo-interior {
    width: 190px;
    height: 190px;
    border-width: 9px;
    padding: 0.5rem;
  }

  .miniatura-btn {
    width: 32px;
    height: 32px;
    padding: 2px;
  }

  .miniatura-btn.active {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #72BE02;
  }

  .miniatura-btn:nth-child(1).active,
  .miniatura-btn:nth-child(2).active,
  .miniatura-btn:nth-child(3).active,
  .miniatura-btn:nth-child(4).active,
  .miniatura-btn:nth-child(5).active {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Dispositivos muy pequeños (320px y menores) - iPhone 5/SE antiguo */
@media (max-width: 320px) {
  .seccion4 {
    padding: 0.6rem 0.3rem;
  }

  .productos-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }

  .productos-tabs {
    gap: 0.25rem;
    margin-bottom: 0.7rem;
  }

  .tab-btn {
    font-size: 0.55rem;
    padding: 0.45rem 0.4rem;
    border-radius: 10px;
  }

  .productos-info {
    gap: 0.6rem;
    padding: 0 0.3rem;
  }

  .producto-subtitle {
    font-size: 0.95rem;
  }

  .producto-description {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .productos-imagenes {
    min-height: 220px;
  }

  .circulo-exterior {
    width: 180px;
    height: 180px;
    border-width: 8px;
  }

  .circulo-interior {
    width: 164px;
    height: 164px;
    border-width: 7px;
    padding: 0.4rem;
  }

  .miniatura-btn {
    width: 28px;
    height: 28px;
    padding: 2px;
    border-width: 1.5px;
  }

  /* Posiciones ajustadas para pantallas muy pequeñas */
  .miniatura-btn:nth-child(1) {
    top: -2%;
    left: 35%;
  }

  .miniatura-btn:nth-child(2) {
    top: -2%;
    left: 65%;
  }

  .miniatura-btn:nth-child(3) {
    top: 32%;
    left: 97%;
  }

  .miniatura-btn:nth-child(4) {
    top: 68%;
    left: 97%;
  }

  .miniatura-btn:nth-child(5) {
    top: 102%;
    left: 65%;
  }

  .miniatura-btn:nth-child(6) {
    top: 102%;
    left: 35%;
  }

  .miniatura-btn:nth-child(7) {
    top: 50%;
    left: 3%;
  }

  .miniatura-btn.active {
    transform: scale(1.08);
  }

  .miniatura-btn:nth-child(1).active,
  .miniatura-btn:nth-child(2).active,
  .miniatura-btn:nth-child(3).active,
  .miniatura-btn:nth-child(4).active,
  .miniatura-btn:nth-child(5).active,
  .miniatura-btn:nth-child(6).active,
  .miniatura-btn:nth-child(7).active {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* Sección 5: Nuestras Sucursales */
.seccion5 {
  height: 100vh;
  max-height: 100vh;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow: hidden;
}

.seccion5 * {
  box-sizing: border-box;
}

.sucursales-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2A8523;
  text-align: center;
  margin: 0 0 1rem 0;
  flex-shrink: 0;
}

.sucursales-cards-container {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh - 100px);
  max-height: calc(100vh - 100px);
  align-items: stretch;
  justify-content: center;
  margin: 0 auto;
  padding: 0 2rem;
  flex: 1;
}

.sucursal-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  flex-shrink: 0;
}

/* Tarjeta activa (expandida) - Más cuadrada */
.sucursal-card.active {
  width: 600px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Tarjeta comprimida */
.sucursal-card.compressed {
  width: 200px;
  flex-shrink: 0;
  flex-grow: 0;
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.5s ease;
}

.sucursal-card.compressed .card-background {
  filter: grayscale(50%);
}

.sucursal-card.active .card-background {
  filter: grayscale(0%);
}

/* Overlay oscuro para mejor legibilidad del texto */
.card-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  transition: all 0.5s ease;
}

.sucursal-card.compressed .card-content {
  opacity: 0;
  pointer-events: none;
}

.sucursal-card.active .card-content {
  opacity: 1;
  pointer-events: auto;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Botón de comprimir/expandir */
.card-toggle-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  pointer-events: none;
}

.card-toggle-btn:hover {
  transform: scale(1.15);
}

.card-toggle-btn:active {
  transform: scale(0.95);
}

/* Icono dentro del botón */
.toggle-icon {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Botón en tarjetas comprimidas - Esquina inferior izquierda */
.sucursal-card.compressed .card-toggle-btn {
  bottom: 2rem;
  left: 2rem;
  right: auto;
}

.sucursal-card.compressed .card-toggle-btn:hover {
  transform: scale(1.1);
}

.sucursal-card.compressed .card-toggle-btn:active {
  transform: scale(0.95);
}

/* Responsive - Sección 5 */
/* Pantallas entre 1500px y 1201px */
@media (max-width: 1500px) and (min-width: 1201px) {
  .sucursales-cards-container {
    gap: 1rem;
    padding: 0 1rem;
  }

  .sucursal-card.active {
    width: 480px;
  }

  .sucursal-card.compressed {
    width: 160px;
  }

  .sucursal-card {
    border-radius: 30px;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

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

  .card-toggle-btn {
    width: 50px;
    height: 50px;
  }

  .toggle-icon {
    width: 45px;
    height: 45px;
  }
}

/* Diseño Collage - Pantallas (1200px y menores) */
@media (max-width: 1200px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 1rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    gap: 0.6rem;
    width: 100%;
    padding: 0;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Collage Layout */
  /* Tarjeta 1 - Fila superior, ancho completo */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  /* Tarjeta 2 - Lado izquierdo, ocupa 2 filas */
  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  /* Tarjeta 3 - Lado derecho arriba */
  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  /* Tarjeta 4 - Lado derecho abajo */
  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  /* Tarjeta 5 - Fila inferior, ancho completo */
  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .sucursal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .card-content {
    padding: 1rem;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .card-description {
    font-size: 0.8rem;
    display: block;
    line-height: 1.3;
  }

  .card-toggle-btn {
    display: none;
  }

  .sucursal-card.compressed .card-content {
    opacity: 1;
    pointer-events: auto;
  }

  .sucursal-card.compressed .card-background {
    filter: none;
  }
}


/* Tablets (1024px y menores) */
@media (max-width: 1024px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.8rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    gap: 0.5rem;
    width: 100%;
    padding: 0;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    min-height: 0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .sucursal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .card-content {
    padding: 0.8rem;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .card-description {
    font-size: 0.75rem;
    display: block;
    line-height: 1.3;
  }

  .card-toggle-btn {
    display: none;
  }

  .sucursal-card.compressed .card-content {
    opacity: 1;
    pointer-events: auto;
  }

  .sucursal-card.compressed .card-background {
    filter: none;
  }
}

/* Tablets pequeñas (768px y menores) */
@media (max-width: 768px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.6rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    gap: 0.4rem;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    border-radius: 14px;
    min-height: 0;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .card-content {
    padding: 0.6rem;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  }

  .card-description {
    font-size: 0.68rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
}

/* Teléfonos (576px y menores) */
@media (max-width: 576px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.5rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 55px);
    max-height: calc(100vh - 55px);
    gap: 0.4rem;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    min-height: 0;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .card-content {
    padding: 0.5rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-description {
    font-size: 0.65rem;
    -webkit-line-clamp: 2;
  }
}

/* Teléfonos pequeños (480px y menores) */
@media (max-width: 480px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.4rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    gap: 0.35rem;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    border-radius: 10px;
    min-height: 0;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .card-content {
    padding: 0.4rem;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-description {
    font-size: 0.6rem;
    -webkit-line-clamp: 2;
  }
}

/* Teléfonos muy pequeños (390px y menores) */
@media (max-width: 390px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.3rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 45px);
    max-height: calc(100vh - 45px);
    gap: 0.3rem;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    border-radius: 8px;
    min-height: 0;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .card-content {
    padding: 0.35rem;
  }

  .card-title {
    font-size: 0.85rem;
  }

  .card-description {
    font-size: 0.55rem;
  }
}

/* Dispositivos muy pequeños (360px y menores) */
@media (max-width: 360px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.25rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    gap: 0.25rem;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    border-radius: 7px;
    min-height: 0;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .card-content {
    padding: 0.3rem;
  }

  .card-title {
    font-size: 0.8rem;
  }

  .card-description {
    font-size: 0.5rem;
    -webkit-line-clamp: 2;
  }
}

/* Dispositivos muy pequeños (320px y menores) */
@media (max-width: 320px) {
  .seccion5 {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0.2rem;
    justify-content: flex-start;
    overflow: hidden;
  }

  .sucursales-title {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
    flex-shrink: 0;
  }

  .sucursales-cards-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: calc(100vh - 35px);
    max-height: calc(100vh - 35px);
    gap: 0.2rem;
    flex: none;
  }

  .sucursal-card.active,
  .sucursal-card.compressed {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
  }

  .sucursal-card {
    border-radius: 6px;
    min-height: 0;
  }

  /* Collage Layout */
  .sucursal-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sucursal-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .sucursal-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .sucursal-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .sucursal-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .card-content {
    padding: 0.25rem;
  }

  .card-title {
    font-size: 0.75rem;
  }

  .card-description {
    font-size: 0.45rem;
    -webkit-line-clamp: 2;
  }
}

/* Sección 6: Estadísticas */
.seccion6 {
  height: 40vh;
  background-image: url(/assets/FondoSeccion6-ab1add14499545516fed70d33da4f72be873c47c47233e9b94f398a758bd22c1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.estadisticas-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  gap: 2rem;
}

.estadistica-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.estadistica-card:hover {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.estadistica-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.estadistica-numero {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.estadistica-texto {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}
/* Responsive Sección 6 - Estadísticas (4 tarjetas en fila) */

/* ≤ 1200px */
@media (max-width: 1200px) {
  .seccion6 {
    height: 35vh;
    padding: 1.5rem 1rem;
  }

  .estadisticas-container {
    gap: 1rem;
  }

  .estadistica-card {
    width: 200px;
    height: 180px;
    padding: 1rem;
    border-radius: 22px;
    gap: 0.5rem;
  }

  .estadistica-icon {
    width: 42px;
    height: 42px;
  }

  .estadistica-numero {
    font-size: 2rem;
  }

  .estadistica-texto {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
}

/* ≤ 1024px */
@media (max-width: 1024px) {
  .seccion6 {
    height: 30vh;
    padding: 1.2rem 0.8rem;
  }

  .estadisticas-container {
    gap: 0.8rem;
  }

  .estadistica-card {
    width: 160px;
    height: 150px;
    padding: 0.8rem;
    border-radius: 18px;
    gap: 0.4rem;
  }

  .estadistica-icon {
    width: 35px;
    height: 35px;
  }

  .estadistica-numero {
    font-size: 1.6rem;
  }

  .estadistica-texto {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .seccion6 {
    height: 25vh;
    padding: 1rem 0.5rem;
  }

  .estadisticas-container {
    gap: 0.5rem;
  }

  .estadistica-card {
    width: 130px;
    height: 120px;
    padding: 0.6rem;
    border-radius: 14px;
    gap: 0.3rem;
  }

  .estadistica-icon {
    width: 28px;
    height: 28px;
  }

  .estadistica-numero {
    font-size: 1.3rem;
  }

  .estadistica-texto {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }
}

/* ≤ 576px */
@media (max-width: 576px) {
  .seccion6 {
    height: 22vh;
    padding: 0.8rem 0.4rem;
  }

  .estadisticas-container {
    gap: 0.4rem;
  }

  .estadistica-card {
    width: 100px;
    height: 95px;
    padding: 0.5rem;
    border-radius: 12px;
    gap: 0.2rem;
  }

  .estadistica-icon {
    width: 22px;
    height: 22px;
  }

  .estadistica-numero {
    font-size: 1rem;
  }

  .estadistica-texto {
    font-size: 0.45rem;
    letter-spacing: 0.3px;
  }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .seccion6 {
    height: 20vh;
    padding: 0.6rem 0.3rem;
  }

  .estadisticas-container {
    gap: 0.3rem;
  }

  .estadistica-card {
    width: 85px;
    height: 80px;
    padding: 0.4rem;
    border-radius: 10px;
    gap: 0.15rem;
  }

  .estadistica-icon {
    width: 18px;
    height: 18px;
  }

  .estadistica-numero {
    font-size: 0.85rem;
  }

  .estadistica-texto {
    font-size: 0.38rem;
    letter-spacing: 0;
  }
}

/* ≤ 390px */
@media (max-width: 390px) {
  .seccion6 {
    height: 18vh;
    padding: 0.5rem 0.25rem;
  }

  .estadisticas-container {
    gap: 0.25rem;
  }

  .estadistica-card {
    width: 75px;
    height: 70px;
    padding: 0.3rem;
    border-radius: 8px;
    gap: 0.1rem;
  }

  .estadistica-icon {
    width: 15px;
    height: 15px;
  }

  .estadistica-numero {
    font-size: 0.75rem;
  }

  .estadistica-texto {
    font-size: 0.32rem;
  }
}

/* ≤ 360px */
@media (max-width: 360px) {
  .seccion6 {
    height: 16vh;
  }

  .estadistica-card {
    width: 68px;
    height: 62px;
    padding: 0.25rem;
    border-radius: 7px;
  }

  .estadistica-icon {
    width: 13px;
    height: 13px;
  }

  .estadistica-numero {
    font-size: 0.65rem;
  }

  .estadistica-texto {
    font-size: 0.28rem;
  }
}

/* ≤ 320px */
@media (max-width: 320px) {
  .seccion6 {
    height: 15vh;
  }

  .estadisticas-container {
    gap: 0.2rem;
  }

  .estadistica-card {
    width: 60px;
    height: 55px;
    padding: 0.2rem;
    border-radius: 6px;
  }

  .estadistica-icon {
    width: 11px;
    height: 11px;
  }

  .estadistica-numero {
    font-size: 0.55rem;
  }

  .estadistica-texto {
    font-size: 0.24rem;
  }
}


/* Sección 7: Descarga App */
.seccion7 {
  min-height: 100vh;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fdf0 50%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 2rem 4rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Manchas de efecto glass verde en sección 7 */
.seccion7::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(114, 190, 2, 0.3) 0%, rgba(114, 190, 2, 0.12) 50%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  filter: blur(60px);
  z-index: 0;
}

.seccion7::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(42, 133, 35, 0.25) 0%, rgba(42, 133, 35, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
  filter: blur(70px);
  z-index: 0;
}

/* Manchas adicionales */
.glass-effect-s7 {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.glass-s7-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(114, 190, 2, 0.35) 0%, rgba(114, 190, 2, 0.15) 50%, transparent 70%);
  top: 20%;
  left: 10%;
}

.glass-s7-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 133, 35, 0.3) 0%, rgba(42, 133, 35, 0.12) 50%, transparent 70%);
  top: 50%;
  right: 15%;
}

.glass-s7-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(114, 190, 2, 0.32) 0%, rgba(114, 190, 2, 0.13) 50%, transparent 70%);
  bottom: 20%;
  left: 30%;
}

.descarga-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  z-index: 3;
  position: relative;
  margin-top: 2rem;
  padding: 0 20%;
}

.descarga-subtitulo {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #04534E;
  margin: 0;
  letter-spacing: 3px;
}

.descarga-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 7rem;
  font-weight: 900;
  background: linear-gradient(to top, #72BE02 0%, #04534E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 4px;
}

.descarga-texto {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #04534E;
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}

.celular-img {
  position: absolute;
  bottom: 0;
  left: 2%;
  height: 80vh;
  width: auto;
  object-fit: contain;
  z-index: 2;
}

.taladro-img {
  position: absolute;
  top: 6%;
  right: 4%;
  height: 40vh;
  width: auto;
  object-fit: contain;
  z-index: 2;
}

/* Botones de descarga */
.app-buttons {
  position: absolute;
  bottom: 6rem;
  left: 60%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 4.5rem;
  z-index: 3;
}

.app-store-btn,
.play-store-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 2rem;
  background-color: #000;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-width: 220px;
  position: relative;
  overflow: hidden;
}

.app-store-btn::before,
.play-store-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.app-store-btn:hover::before,
.play-store-btn:hover::before {
  left: 100%;
}

.app-store-btn:hover,
.play-store-btn:hover {
  background-color: #1a1a1a;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.app-store-btn:active,
.play-store-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.app-store-btn svg {
  color: #fff;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  transition: transform 0.3s ease;
}

.app-store-btn:hover svg {
  transform: scale(1.1);
}

.play-store-btn svg {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  transition: transform 0.3s ease;
}

.play-store-btn:hover svg {
  transform: scale(1.1);
}

.app-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.app-btn-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #ddd;
  line-height: 1;
  letter-spacing: 0.2px;
}

.app-btn-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.3px;
}
/* ===================== SECCIÓN 7 – RESPONSIVE ===================== */

/* ===== DESKTOP GRANDE (≤ 1600px) ===== */
@media (max-width: 1600px) {
  .descarga-subtitulo {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .descarga-titulo {
    font-size: 5rem;
    letter-spacing: 3px;
  }

  .descarga-texto {
    font-size: 1.4rem;
  }

  .descarga-content {
    padding: 0 10%;
  }

  .app-buttons {
    left: 55%;
  }
}

/* ===== (≤ 1500px) ===== */
@media (max-width: 1500px) {
  .celular-img {
    height: 65vh;
  }

  .app-buttons {
    left: auto;
    right: 4%;
    transform: none;
  }
}

/* ===== DESKTOP MEDIO (≤ 1200px) ===== */
@media (max-width: 1200px) {
  .descarga-content {
    padding: 0 8%;
    gap: 1.5rem;
  }

  .descarga-titulo {
    font-size: 4rem;
  }

  .descarga-texto {
    font-size: 1.2rem;
  }

  .celular-img {
    height: 65vh;
  }

  .taladro-img {
    height: 30vh;
  }

  .app-buttons {
    gap: 3rem;
  }
}

/* ===== TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .descarga-content {
    padding: 0 8%;
    gap: 1.5rem;
  }

  .descarga-titulo {
    font-size: 3.6rem;
  }

  .descarga-texto {
    font-size: 1.2rem;
  }

  .celular-img {
    height: 55vh;
  }

  .taladro-img {
    height: 22vh;
  }

  .app-buttons {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 3rem;
    gap: 2rem;
  }
}

/* ===== TABLET MEDIA (≤ 988px) - Layout centrado ===== */
@media (max-width: 988px) {
  .seccion7 {
    justify-content: center;
    align-items: center;
  }

  .descarga-content {
    text-align: center;
    align-items: center;
  }

  .descarga-titulo {
    font-size: 3.2rem;
  }

  .descarga-texto {
    font-size: 1.1rem;
    text-align: center;
  }

  .taladro-img {
    position: relative;
    top: auto;
    right: auto;
    height: 18vh;
  }

  .celular-img {
    position: relative;
    bottom: auto;
    left: auto;
    height: 40vh;
  }

  .app-buttons {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    justify-content: center;
    gap: 1.5rem;
  }

  .app-buttons img {
    height: 45px;
  }
}

/* Partículas para sección 7 */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.particle-top-left {
  background: radial-gradient(circle, #72BE02 0%, #2A8523 100%);
  box-shadow: 0 0 10px rgba(114, 190, 2, 0.6);
  animation: floatParticleTopLeft 4s ease-in-out infinite;
}

.particle-bottom-right {
  background: radial-gradient(circle, #2A8523 0%, #04534E 100%);
  box-shadow: 0 0 10px rgba(42, 133, 35, 0.6);
  animation: floatParticleBottomRight 4s ease-in-out infinite;
}

@keyframes floatParticleTopLeft {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translate(60px, 60px) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translate(120px, 120px) scale(0.3);
    opacity: 0;
  }
}

@keyframes floatParticleBottomRight {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translate(-60px, -60px) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translate(-120px, -120px) scale(0.3);
    opacity: 0;
  }
}

/* ===== TABLET PEQUEÑA (≤ 768px) - Layout centrado ===== */
@media (max-width: 768px) {
  .seccion7 {
    padding: 2rem 1rem;
    min-height: 100vh;
    justify-content: center;
    gap: 1rem;
  }

  .descarga-content {
    padding: 0;
    gap: 0.8rem;
    order: 2;
  }

  .descarga-subtitulo {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
  }

  .descarga-titulo {
    font-size: 2.8rem;
    letter-spacing: 1.5px;
  }

  .descarga-texto {
    font-size: 1.1rem;
  }

  .taladro-img {
    position: relative;
    top: auto;
    right: auto;
    height: 15vh;
    order: 1;
  }

  .celular-img {
    position: relative;
    bottom: auto;
    left: auto;
    height: 25vh;
    order: 3;
  }

  .app-buttons {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0;
    order: 4;
  }

  .app-store-btn,
  .play-store-btn {
    padding: 0.6rem 1.2rem;
    min-width: 150px;
    border-radius: 12px;
  }

  .app-store-btn svg,
  .play-store-btn svg {
    width: 28px;
    height: 28px;
  }

  .app-btn-subtitle {
    font-size: 0.65rem;
  }

  .app-btn-title {
    font-size: 1.05rem;
  }

  /* Efectos en esquinas para móvil */
  .glass-effect-s7 {
    display: none;
  }

  .seccion7::before {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    filter: blur(40px);
    background: radial-gradient(circle, rgba(114, 190, 2, 0.4) 0%, rgba(114, 190, 2, 0.15) 50%, transparent 70%);
  }

  .seccion7::after {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    filter: blur(40px);
    background: radial-gradient(circle, rgba(42, 133, 35, 0.35) 0%, rgba(42, 133, 35, 0.12) 50%, transparent 70%);
  }
}

/* ===== MÓVIL (≤ 576px) ===== */
@media (max-width: 576px) {
  .seccion7 {
    padding: 1.5rem 0.8rem;
    gap: 0.8rem;
  }

  .descarga-subtitulo {
    font-size: 1.1rem;
  }

  .descarga-titulo {
    font-size: 2.3rem;
  }

  .descarga-texto {
    font-size: 1rem;
  }

  .taladro-img {
    height: 12vh;
  }

  .celular-img {
    height: 20vh;
  }

  .app-buttons {
    gap: 0.8rem;
  }

  .app-store-btn,
  .play-store-btn {
    padding: 0.5rem 1rem;
    min-width: 130px;
    border-radius: 10px;
  }

  .app-store-btn svg,
  .play-store-btn svg {
    width: 24px;
    height: 24px;
  }

  .app-btn-subtitle {
    font-size: 0.55rem;
  }

  .app-btn-title {
    font-size: 0.9rem;
  }

  /* Efectos esquinas */
  .seccion7::before {
    width: 150px;
    height: 150px;
    top: -40px;
    left: -40px;
    filter: blur(35px);
  }

  .seccion7::after {
    width: 150px;
    height: 150px;
    bottom: -40px;
    right: -40px;
    filter: blur(35px);
  }
}

/* ===== MÓVIL PEQUEÑO (≤ 480px) ===== */
@media (max-width: 480px) {
  .seccion7 {
    padding: 1.2rem 0.6rem;
    gap: 0.6rem;
  }

  .descarga-subtitulo {
    font-size: 1rem;
  }

  .descarga-titulo {
    font-size: 2rem;
  }

  .descarga-texto {
    font-size: 0.9rem;
  }

  .taladro-img {
    height: 10vh;
  }

  .celular-img {
    height: 18vh;
  }

  .app-buttons {
    gap: 0.6rem;
  }

  .app-store-btn,
  .play-store-btn {
    padding: 0.4rem 0.8rem;
    min-width: 115px;
    border-radius: 8px;
    gap: 0.5rem;
  }

  .app-store-btn svg,
  .play-store-btn svg {
    width: 20px;
    height: 20px;
  }

  .app-btn-subtitle {
    font-size: 0.5rem;
  }

  .app-btn-title {
    font-size: 0.8rem;
  }

  /* Efectos esquinas */
  .seccion7::before {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -30px;
    filter: blur(30px);
  }

  .seccion7::after {
    width: 120px;
    height: 120px;
    bottom: -30px;
    right: -30px;
    filter: blur(30px);
  }
}

/* ===== MÓVIL MUY PEQUEÑO (≤ 390px) ===== */
@media (max-width: 390px) {
  .seccion7 {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
  }

  .descarga-subtitulo {
    font-size: 0.9rem;
  }

  .descarga-titulo {
    font-size: 1.7rem;
  }

  .descarga-texto {
    font-size: 0.8rem;
  }

  .taladro-img {
    height: 8vh;
  }

  .celular-img {
    height: 15vh;
  }

  .app-buttons {
    gap: 0.5rem;
  }

  .app-store-btn,
  .play-store-btn {
    padding: 0.35rem 0.6rem;
    min-width: 100px;
    border-radius: 7px;
  }

  .app-store-btn svg,
  .play-store-btn svg {
    width: 18px;
    height: 18px;
  }

  .app-btn-subtitle {
    font-size: 0.45rem;
  }

  .app-btn-title {
    font-size: 0.7rem;
  }

  /* Efectos esquinas */
  .seccion7::before {
    width: 100px;
    height: 100px;
    top: -25px;
    left: -25px;
    filter: blur(25px);
  }

  .seccion7::after {
    width: 100px;
    height: 100px;
    bottom: -25px;
    right: -25px;
    filter: blur(25px);
  }
}

/* ===== MÓVIL EXTRA PEQUEÑO (≤ 360px) ===== */
@media (max-width: 360px) {
  .seccion7 {
    gap: 0.4rem;
  }

  .descarga-subtitulo {
    font-size: 0.8rem;
  }

  .descarga-titulo {
    font-size: 1.5rem;
  }

  .descarga-texto {
    font-size: 0.75rem;
  }

  .taladro-img {
    height: 7vh;
  }

  .celular-img {
    height: 13vh;
  }

  .app-store-btn,
  .play-store-btn {
    padding: 0.3rem 0.5rem;
    min-width: 90px;
    border-radius: 6px;
  }

  .app-store-btn svg,
  .play-store-btn svg {
    width: 16px;
    height: 16px;
  }

  .app-btn-subtitle {
    font-size: 0.4rem;
  }

  .app-btn-title {
    font-size: 0.65rem;
  }

  /* Efectos esquinas */
  .seccion7::before {
    width: 80px;
    height: 80px;
    top: -20px;
    left: -20px;
    filter: blur(20px);
  }

  .seccion7::after {
    width: 80px;
    height: 80px;
    bottom: -20px;
    right: -20px;
    filter: blur(20px);
  }
}

/* ===== SECCIÓN 8: SUCURSALES Y MAPA ===== */
.seccion8 {
  display: flex;
  width: 100%;
  min-height: 80vh;
  padding: 1.5rem 0;
  background: #ffffff;
  overflow: visible;
}

/* Columna de sucursales (35% del ancho) */
.sucursales-columna {
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1rem 2rem 3rem;
  gap: 1rem;
  overflow-y: visible;
  background: #f9f9f9;
}

/* Tarjeta de sucursal */
.sucursal-tarjeta {
  position: relative;
  width: 75%;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sucursal-tarjeta.active {
  width: 95%;
  height: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Fondo de la tarjeta con imagen */
.tarjeta-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  transition: filter 0.4s ease;
}

.sucursal-tarjeta:hover .tarjeta-fondo,
.sucursal-tarjeta.active .tarjeta-fondo {
  filter: brightness(0.5);
}

/* Información de la tarjeta */
.tarjeta-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tarjeta-nombre {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.4rem 0;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tarjeta-direccion {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  margin: 0 0 0.25rem 0;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.tarjeta-telefono {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Columna del mapa (65% del ancho) */
.mapa-columna {
  width: 65%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3rem 2rem 2rem;
  background: #ffffff;
}

#leaflet-map {
  width: 100%;
  height: 600px;
  max-width: 1100px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  background: #e5e5e5;
  border: none;
  z-index: 1;
}

/* Estilos para marcadores personalizados de Leaflet */
.custom-marker {
  background: transparent;
  border: none;
}

.marker-pin {
  width: 36px;
  height: 46px;
  background: #04534E;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.marker-pin::after {
  content: '';
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.marker-pin.active {
  background: #72BE02;
  transform: rotate(-45deg) scale(1.3);
  z-index: 1000 !important;
}

.marker-pin.user {
  background: #2196F3;
}

.marker-pin:hover {
  transform: rotate(-45deg) scale(1.15);
}

/* Estilos para marcadores con logo personalizado */
.custom-marker-logo {
  background: transparent;
  border: none;
}

.marker-logo-container {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid #04534E;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 4px;
}

.marker-logo-container:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.marker-logo-container.active {
  border-color: #72BE02;
  transform: scale(1.3);
  box-shadow: 0 8px 20px rgba(114, 190, 2, 0.5);
  z-index: 1000 !important;
}

.marker-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Marcador de usuario (origen) */
.custom-marker-user {
  background: transparent;
  border: none;
}

.marker-user-pin {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid #2196F3;
}

/* Estilos para popup de Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
  margin: 12px 16px;
}

.popup-content h4 {
  margin: 0 0 8px 0;
  color: #04534E;
  font-size: 1.1rem;
  font-weight: 700;
}

.popup-content p {
  margin: 0 0 12px 0;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
}

.btn-direcciones {
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #72BE02 0%, #04534E 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-direcciones:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(114, 190, 2, 0.4);
}

/* Ocultar panel de instrucciones de ruta */
.leaflet-routing-container {
  display: none;
}

/* Responsive - Sección 8 */
@media (max-width: 1024px) {
  .seccion8 {
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding: 1rem 0;
  }

  .sucursales-columna {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .sucursales-columna::-webkit-scrollbar {
    height: 6px;
  }

  .sucursales-columna::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
  }

  .sucursales-columna::-webkit-scrollbar-thumb {
    background: #72BE02;
    border-radius: 3px;
  }

  .sucursal-tarjeta {
    flex: 0 0 200px;
    width: 200px;
    height: 140px;
    scroll-snap-align: start;
  }

  .sucursal-tarjeta.active {
    flex: 0 0 200px;
    width: 200px;
    height: 140px;
    border: 3px solid #72BE02;
  }

  .tarjeta-info {
    padding: 0.8rem;
  }

  .tarjeta-nombre {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .tarjeta-direccion {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mapa-columna {
    width: 100%;
    padding: 1rem;
  }

  #leaflet-map {
    height: 450px;
    border-radius: 15px;
  }
}

@media (max-width: 768px) {
  .seccion8 {
    padding: 0.5rem 0;
  }

  .sucursales-columna {
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .sucursal-tarjeta,
  .sucursal-tarjeta.active {
    flex: 0 0 170px;
    width: 170px;
    height: 120px;
    border-radius: 12px;
  }

  .tarjeta-info {
    padding: 0.6rem;
  }

  .tarjeta-nombre {
    font-size: 0.9rem;
  }

  .tarjeta-direccion {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
  }

  .mapa-columna {
    padding: 0.8rem;
  }

  #leaflet-map {
    height: 400px;
    border-radius: 12px;
  }

  /* Popup más grande en móvil */
  .popup-content h4 {
    font-size: 1rem;
  }

  .popup-content p {
    font-size: 0.8rem;
  }

  .btn-direcciones {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .sucursales-columna {
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .sucursal-tarjeta,
  .sucursal-tarjeta.active {
    flex: 0 0 150px;
    width: 150px;
    height: 110px;
    border-radius: 10px;
  }

  .tarjeta-info {
    padding: 0.5rem;
  }

  .tarjeta-nombre {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }

  .tarjeta-direccion {
    font-size: 0.65rem;
    -webkit-line-clamp: 2;
  }

  .mapa-columna {
    padding: 0.6rem;
  }

  #leaflet-map {
    height: 350px;
    border-radius: 10px;
  }

  /* Marcadores más grandes en móvil */
  .marker-pin {
    width: 32px;
    height: 42px;
  }

  .marker-pin::after {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .sucursales-columna {
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .sucursal-tarjeta,
  .sucursal-tarjeta.active {
    flex: 0 0 140px;
    width: 140px;
    height: 100px;
    border-radius: 8px;
  }

  .sucursal-tarjeta.active {
    border-width: 2px;
  }

  .tarjeta-info {
    padding: 0.4rem;
  }

  .tarjeta-nombre {
    font-size: 0.8rem;
  }

  .tarjeta-direccion {
    font-size: 0.6rem;
    -webkit-line-clamp: 1;
  }

  .mapa-columna {
    padding: 0.5rem;
  }

  #leaflet-map {
    height: 320px;
    border-radius: 8px;
  }
}

@media (max-width: 390px) {
  .sucursales-columna {
    gap: 0.4rem;
    padding: 0.4rem;
  }

  .sucursal-tarjeta,
  .sucursal-tarjeta.active {
    flex: 0 0 130px;
    width: 130px;
    height: 90px;
    border-radius: 8px;
  }

  .tarjeta-info {
    padding: 0.35rem;
  }

  .tarjeta-nombre {
    font-size: 0.75rem;
  }

  .tarjeta-direccion {
    display: none;
  }

  #leaflet-map {
    height: 300px;
  }

  .popup-content h4 {
    font-size: 0.95rem;
  }

  .popup-content p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .btn-direcciones {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .sucursal-tarjeta,
  .sucursal-tarjeta.active {
    height: 58px;
  }

  .tarjeta-nombre {
    font-size: 0.55rem;
  }

  #leaflet-map {
    height: 200px;
  }
}

/* ===== SECCIÓN 9: CONTÁCTANOS ===== */
.seccion9 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  padding: 2rem 3rem;
  overflow: hidden;
}

/* Contenedor con cuadro que agrupa ambas columnas */
.contacto-contenedor {
  display: flex;
  width: 95%;
  max-width: 1800px;
  height: 95%;
  background: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 2.5rem 2.5rem;
  gap: 2rem;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.2);
}

/* Columna izquierda (50%) */
.contacto-columna-izquierda {
  width: 50%;
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2.5%;
}

.contacto-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(to right, #72BE02 0%, #355801 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: 2px;
  text-align: center;
  width: 75%;
}

.contacto-subtitulo {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #333333;
  margin: 0 0 0.3rem 0;
  line-height: 1.5;
  width: 75%;
}

/* Información de contacto */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.2rem 0 0.5rem 0;
  width: 75%;
}

.info-linea {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-linea:hover {
  background: #f8fdf0;
  transform: translateX(5px);
}

.info-icono {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.info-icono-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.info-texto {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #333333;
  margin: 0;
  line-height: 1.4;
}

.info-link {
  text-decoration: none;
  color: #333333;
  transition: all 0.3s ease;
}

.info-link:hover {
  color: #72BE02;
  text-decoration: underline;
}

.contacto-imagen {
  width: 50%;
  max-width: 400px;
  height: auto;
  margin-top: auto;
  flex-shrink: 0;
}

/* Columna derecha (50%) */
.contacto-columna-derecha {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5%;
}

.formulario-tarjeta {
  background: #ffffff;
  border-radius: 30px;
  border: none;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  width: 75%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.formulario-logo {
  width: 200px;
  height: auto;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

/* Formulario */
.contacto-formulario {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
  justify-content: center;
}

.form-grupo {
  display: flex;
  flex-direction: column;
}

.form-grupo input,
.form-grupo textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  padding: 1.3rem 1.2rem;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.form-grupo input::placeholder,
.form-grupo textarea::placeholder {
  color: #999999;
  font-weight: 400;
}

.form-grupo input:focus,
.form-grupo textarea:focus {
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(114, 190, 2, 0.2), 0 4px 15px rgba(0, 0, 0, 0.12);
}

.form-grupo textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-enviar {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #72BE02 0%, #5fa001 100%);
  border: none;
  border-radius: 15px;
  padding: 1.3rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.3rem;
  box-shadow: 0 6px 20px rgba(114, 190, 2, 0.35);
  width: 100%;
  flex-shrink: 0;
}

.btn-enviar:hover {
  background: linear-gradient(135deg, #5fa001 0%, #4d8001 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(114, 190, 2, 0.45);
}

.btn-enviar:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(114, 190, 2, 0.35);
}

/* ===== ESPACIO REAL ENTRE 1600px y 1000px ===== */
@media (max-width: 1600px) and (min-width: 1001px) {
  .contacto-contenedor {
    width: 98%;
    padding: 2.2rem 2.5rem;
    gap: 3rem;
  }

  .contacto-columna-izquierda,
  .contacto-columna-derecha {
    padding: 0 2%;
  }

  .contacto-titulo {
    font-size: 2.8rem;
    letter-spacing: 1.2px;
    width: 90%;
  }

  .contacto-subtitulo,
  .contacto-info {
    width: 90%;
  }

  .contacto-imagen {
    width: 60%;
    max-width: 460px;
  }

  .formulario-tarjeta {
    width: 85%;
  }
}


/* Tablets hacia abajo */
@media (max-width: 1024px) {
  .seccion9 {
    height: auto;
    padding: 2.5rem 1.5rem;
  }

  .contacto-contenedor {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 2rem;
    gap: 2rem;
  }

  .contacto-columna-izquierda,
  .contacto-columna-derecha {
    width: 100%;
    padding: 0;
  }

  .contacto-imagen {
    width: 100%;
    max-width: 360px;
    margin: 1.5rem auto 0;
  }

  .formulario-tarjeta {
    width: 100%;
    height: auto;
  }
}

/* ===================== MÓVIL ===================== */
@media (max-width: 768px) {
  .contacto-titulo {
    font-size: 2.4rem;
    width: 100%;
  }

  .contacto-subtitulo {
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .contacto-info {
    width: 100%;
  }

  .info-icono {
    width: 34px;
    height: 34px;
  }

  .info-texto {
    font-size: 0.95rem;
  }

  .formulario-logo {
    width: 150px;
  }

  .form-grupo input,
  .form-grupo textarea {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .btn-enviar {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* ===================== MÓVIL PEQUEÑO ===================== */
@media (max-width: 480px) {
  .seccion9 {
    padding: 1.5rem 1rem;
  }

  .contacto-contenedor {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }

  .contacto-titulo {
    font-size: 2rem;
  }

  .contacto-imagen {
    max-width: 100%;
  }

  .formulario-logo {
    width: 130px;
  }
}

/* ===== FOOTER ===== */
.footer-section {
  width: 100%;
  height: 40vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-container {
  width: 80%;
  height: 20vh;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
  gap: 1.5rem;
}

/* Fila 1 - Tres columnas */
.footer-row-1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.footer-text {
  display: flex;
  align-items: center;
}

.footer-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #49700F;
  margin: 0;
  line-height: 1.4;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.social-item:hover {
  transform: translateY(-3px);
}

.social-icon {
  width: 30px;
  height: 30px;
}

.social-item span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #333333;
}

/* Fila 2 - Dos columnas */
.footer-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0 16.66%;
}

.footer-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-link a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #49700F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: #72BE02;
}

.footer-copyright {
  margin-top: 2.5rem;
}

.footer-copyright p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #49700F;
  margin: 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container {
    width: 90%;
    height: auto;
    padding: 1.5rem;
  }

  .footer-row-1 {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .footer-text {
    justify-content: center;
  }

  .footer-text p {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-row-2 {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .footer-section {
    height: auto;
    padding: 2rem 0;
  }

  .footer-text p {
    font-size: 0.8rem;
  }

  .footer-logo-img {
    height: 50px;
  }

  .social-icon {
    width: 25px;
    height: 25px;
  }

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

  .footer-link a {
    font-size: 0.75rem;
  }

  .footer-copyright p {
    font-size: 0.75rem;
  }
}
/* Import Google Font - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
  background-color: transparent;
  padding: 1rem 1rem;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
}

.navbar-hidden {
  transform: translateY(-150px) !important;
  opacity: 0 !important;
}

/* Efecto de desenfoque con sombra gradiente desde arriba */
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 100%);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.navbar.no-blur::before {
  display: none !important;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 98%;
  margin: 0 0 0 0;
  padding-left: 0.5rem;
  position: relative;
  z-index: 1001;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #72BE02;
}

.nav-link.active {
  border-bottom-color: #72BE02;
  color: #fff;
}

/* Botón Hamburguesa */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10002;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Overlay (fondo oscuro detrás del menú) */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

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

/* Menú Móvil Desplegable */
.navbar-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, #2A8523 0%, #72BE02 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.navbar-mobile-menu.active {
  right: 0;
}

.nav-link-mobile {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  border: 2px solid transparent;
}

.nav-link-mobile:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-5px);
}

.nav-link-mobile.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  font-weight: 600;
}

/* Responsive Design */

/* Ocultar menú móvil en pantallas grandes */
@media (min-width: 661px) {
  .navbar-mobile-menu {
    display: none !important;
  }

  .navbar-overlay {
    display: none !important;
  }

  .hamburger-btn {
    display: none !important;
  }
}

/* Menú hamburguesa (660px y menores) */
@media (max-width: 660px) {
  .navbar-links-desktop {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  .navbar-container {
    padding-right: 0.5rem;
  }

  .navbar {
    padding: 0.7rem 0.8rem;
  }

  .logo-img {
    height: 32px;
  }
}

/* Ajustes para móviles muy pequeños */
@media (max-width: 360px) {
  .hamburger-btn {
    width: 26px;
    height: 22px;
  }

  .hamburger-line {
    height: 2.5px;
  }

  .hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .navbar-mobile-menu {
    width: 75%;
  }

  .nav-link-mobile {
    font-size: 1.3rem;
    padding: 0.7rem 1.2rem;
  }
}

/* Tablets grandes (1024px y menores, pero más de 660px) */
@media (max-width: 1024px) and (min-width: 661px) {
  .navbar {
    padding: 0.9rem 1rem;
  }

  .navbar-container {
    width: 96%;
  }

  .logo-img {
    height: 40px;
  }

  .navbar-links {
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.2rem;
    padding-bottom: 0.4rem;
    border-bottom-width: 2.5px;
  }
}

/* Tablets pequeñas (768px a 661px) */
@media (max-width: 768px) and (min-width: 661px) {
  .navbar {
    padding: 0.8rem 0.8rem;
  }

  .navbar-container {
    width: 95%;
    padding-left: 0.3rem;
  }

  .logo-img {
    height: 35px;
  }

  .navbar-links {
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 1rem;
    padding-bottom: 0.3rem;
    border-bottom-width: 2px;
  }

  .navbar::before {
    height: 150px;
  }
}

/* Estilos generales del body */
html, body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ===================== DROPDOWN SUCURSALES ===================== */

/* Dropdown Desktop */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  padding-bottom: 0.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-toggle:hover {
  color: #72BE02;
}

.dropdown-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, #72BE02 0%, #2A8523 100%);
  color: #fff;
}

/* Dropdown Mobile */
.nav-dropdown-mobile {
  width: 100%;
}

.dropdown-toggle-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.dropdown-toggle-mobile:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.dropdown-toggle-mobile .dropdown-arrow {
  width: 24px;
  height: 24px;
}

.dropdown-menu-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-top: 0.5rem;
}

.dropdown-menu-mobile.show {
  max-height: 300px;
}

.dropdown-item-mobile {
  display: block;
  padding: 0.7rem 1.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item-mobile:last-child {
  border-bottom: none;
}

.dropdown-item-mobile:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive para dropdown */
@media (max-width: 1024px) and (min-width: 661px) {
  .dropdown-toggle {
    font-size: 1.2rem;
  }

  .dropdown-arrow {
    width: 18px;
    height: 18px;
  }

  .dropdown-menu {
    min-width: 200px;
  }

  .dropdown-item {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}

@media (max-width: 768px) and (min-width: 661px) {
  .dropdown-toggle {
    font-size: 1rem;
  }

  .dropdown-arrow {
    width: 16px;
    height: 16px;
  }

  .dropdown-menu {
    min-width: 180px;
  }

  .dropdown-item {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 360px) {
  .dropdown-toggle-mobile {
    font-size: 1.3rem;
    padding: 0.7rem 1.2rem;
  }

  .dropdown-item-mobile {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}
/* ===================== PÁGINA DE SUCURSAL ===================== */

.sucursal-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* Video de fondo */
.sucursal-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.sucursal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sucursal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* Contenido principal */
.sucursal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 120px 5% 150px;
  z-index: 1;
}

.sucursal-info {
  max-width: 600px;
}

.sucursal-nombre {
  font-family: 'Inter', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sucursal-frase {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.sucursal-horario {
  margin-bottom: 2.5rem;
}

.sucursal-horario p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #7DFD4A;
  margin: 0.3rem 0;
  line-height: 1.5;
}

/* Footer con estado y botones */
.sucursal-footer {
  position: fixed;
  bottom: 140px;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

/* Botones */
.sucursal-botones {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.btn-ver-mapa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2.5rem;
  background-color: #7DE101;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-ver-mapa:hover {
  background-color: #6bc501;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 225, 1, 0.4);
}

.btn-llamar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0;
  background-color: transparent;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-llamar:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.estado-abierto {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estado-abierto::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #7DFD4A;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 253, 74, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(125, 253, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 253, 74, 0);
  }
}

/* Carrusel de marcas */
.sucursal-marcas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  background: #ffffff;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.marcas-track {
  display: flex;
  gap: 4rem;
  animation: scrollMarcas 25s linear infinite;
  width: max-content;
}

.marca-item {
  height: 45px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.marca-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scrollMarcas {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Modal del mapa */
.mapa-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mapa-modal.show {
  opacity: 1;
  visibility: visible;
}

.mapa-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.mapa-modal.show .mapa-modal-content {
  transform: scale(1);
}

.mapa-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.mapa-modal-close:hover {
  background: #f0f0f0;
}

.mapa-modal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #04534E;
  margin: 0 0 0.5rem 0;
}

.mapa-direccion {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #666;
  margin: 0 0 1.5rem 0;
}

.mapa-iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.btn-como-llegar-modal {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #72BE02 0%, #04534E 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-como-llegar-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 190, 2, 0.4);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
  .sucursal-nombre {
    font-size: 4rem;
  }

  .sucursal-frase {
    font-size: 1.2rem;
  }

  .sucursal-content {
    padding: 110px 5% 120px;
  }
}

@media (max-width: 768px) {
  .sucursal-content {
    padding: 100px 6% 180px;
    justify-content: flex-end;
  }

  .sucursal-info {
    max-width: 100%;
  }

  .sucursal-nombre {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
  }

  .sucursal-frase {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .sucursal-horario {
    margin-bottom: 1.8rem;
  }

  .sucursal-horario p {
    font-size: 0.95rem;
    margin: 0.25rem 0;
  }

  .sucursal-footer {
    bottom: 110px;
    flex-direction: row;
    gap: 1rem;
  }

  .sucursal-botones {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .btn-ver-mapa {
    padding: 1rem 2rem;
    font-size: 1.15rem;
  }

  .btn-llamar {
    font-size: 1.15rem;
  }

  .btn-icon {
    width: 24px;
    height: 24px;
  }

  .estado-abierto {
    font-size: 0.95rem;
  }

  .marca-item {
    height: 35px;
  }

  .marcas-track {
    gap: 3rem;
  }

  .sucursal-marcas {
    padding: 0.9rem 0;
  }

  .mapa-modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .mapa-iframe {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .sucursal-content {
    padding: 90px 5% 160px;
    justify-content: flex-end;
  }

  .sucursal-nombre {
    font-size: 2.2rem;
  }

  .sucursal-frase {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .sucursal-horario {
    margin-bottom: 1.5rem;
  }

  .sucursal-horario p {
    font-size: 0.85rem;
  }

  .sucursal-footer {
    bottom: 100px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .sucursal-botones {
    flex-direction: row;
    gap: 1.2rem;
  }

  .btn-ver-mapa {
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
  }

  .btn-llamar {
    font-size: 1.05rem;
  }

  .btn-icon {
    width: 22px;
    height: 22px;
  }

  .estado-abierto {
    order: -1;
  }

  .estado-abierto {
    font-size: 0.9rem;
  }

  .mapa-modal-content {
    padding: 1.2rem;
    border-radius: 12px;
  }

  .mapa-modal-content h3 {
    font-size: 1.3rem;
  }

  .mapa-direccion {
    font-size: 0.9rem;
  }

  .mapa-iframe {
    height: 280px;
    border-radius: 10px;
  }

  .btn-como-llegar-modal {
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  .marca-item {
    height: 30px;
  }

  .marcas-track {
    gap: 2.5rem;
  }

  .sucursal-marcas {
    padding: 0.8rem 0;
  }
}

@media (max-width: 480px) {
  .sucursal-content {
    padding: 85px 4% 150px;
    justify-content: flex-end;
  }

  .sucursal-nombre {
    font-size: 1.9rem;
    letter-spacing: 1px;
  }

  .sucursal-frase {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .sucursal-horario p {
    font-size: 0.8rem;
  }

  .sucursal-footer {
    bottom: 90px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .sucursal-botones {
    flex-direction: row;
    gap: 1rem;
  }

  .btn-ver-mapa {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-llamar {
    font-size: 0.95rem;
  }

  .btn-icon {
    width: 20px;
    height: 20px;
  }

  .estado-abierto {
    font-size: 0.85rem;
    order: -1;
  }

  .marca-item {
    height: 28px;
  }

  .marcas-track {
    gap: 2rem;
  }
}

@media (max-width: 360px) {
  .sucursal-content {
    padding: 80px 4% 140px;
    justify-content: flex-end;
  }

  .sucursal-nombre {
    font-size: 1.6rem;
  }

  .sucursal-frase {
    font-size: 0.85rem;
  }

  .sucursal-horario p {
    font-size: 0.75rem;
  }

  .sucursal-footer {
    bottom: 80px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .sucursal-botones {
    flex-direction: row;
    gap: 0.8rem;
  }

  .btn-ver-mapa {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .btn-llamar {
    font-size: 0.85rem;
  }

  .btn-icon {
    width: 18px;
    height: 18px;
  }

  .estado-abierto {
    font-size: 0.8rem;
    order: -1;
  }

  .estado-abierto::before {
    width: 10px;
    height: 10px;
  }

  .marca-item {
    height: 24px;
  }

  .marcas-track {
    gap: 1.5rem;
  }

  .sucursal-marcas {
    padding: 0.6rem 0;
  }

  .mapa-modal-content {
    padding: 1rem;
  }

  .mapa-modal-content h3 {
    font-size: 1.1rem;
  }

  .mapa-iframe {
    height: 250px;
  }

  .mapa-modal-close {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
