/* ==========================================================
   GRÚAS SLP — Estilos principales
   Autor: Atlas Web
   Descripción: Landing page profesional para servicio de grúas
   ========================================================== */

/* ----------------------------------------------------------
   1. VARIABLES CSS (colores, fuentes, espaciados)
   ---------------------------------------------------------- */
:root {
  /* Paleta de colores */
  --color-dark:      #0f1117;   /* fondo oscuro principal */
  --color-dark-2:    #1a1d27;   /* fondo oscuro secundario */
  --color-dark-3:    #22263a;   /* tarjetas */
  --color-accent:    #F5C518;   /* amarillo dorado (acento) */
  --color-accent-dk: #d4a800;   /* amarillo oscuro (hover) */
  --color-white:     #ffffff;
  --color-gray:      #9aa0b2;
  --color-light:     #f4f5f8;   /* fondo sección clara */

  /* Tipografía */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Espaciado base */
  --gap:  1.5rem;
  --section-py: 5rem;

  /* Transición base */
  --transition: 0.3s ease;

  /* Bordes */
  --radius: 10px;
  --radius-lg: 16px;
}

/* ----------------------------------------------------------
   2. RESET Y BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------------------------------
   3. UTILIDADES
   ---------------------------------------------------------- */

/* Contenedor centrado con ancho máximo */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Encabezado de sección reutilizable */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--color-white);
  line-height: 1.1;
}

/* Línea decorativa debajo del título */
.section-line {
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.section-sub {
  margin-top: 0.75rem;
  color: var(--color-gray);
  font-size: 1rem;
}

/* ----------------------------------------------------------
   4. BOTONES
   ---------------------------------------------------------- */

/* Base de todos los botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

/* Botón primario (oscuro con texto blanco) */
.btn-primary {
  background: var(--color-dark-3);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.3);
}

/* Botón WhatsApp (verde) */
.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* Botón de tarjeta de servicio */
.btn-card {
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 0.875rem;
  padding: 0.6rem 1.3rem;
  margin-top: auto;
}
.btn-card:hover {
  background: var(--color-accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245,197,24,0.35);
}

/* ----------------------------------------------------------
   5. HEADER / NAVEGACIÓN
   ---------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

/* Clase que se agrega con JS al hacer scroll */
#header.scrolled {
  background: rgba(15, 17, 23, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 0.6rem 0;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* AGREGAR */
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: auto;
  height: 70px;
  object-fit: contain;
}

.logo-icon--sm {
  width: 36px;
  height: 36px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.logo-region {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}
.header-sticker {
  height: 200px;        /* ajusta el tamaño a tu gusto */
  width: auto;
  object-fit: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  top: -50px;
}

/* NAVEGACIÓN */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

/* Botón hamburguesa para móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Estado abierto del menú hamburguesa */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   6. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(10,10,18,0.85) 0%,
      rgba(15,17,30,0.6) 60%,
      rgba(10,10,18,0.2) 100%
    ),
    url('../img/dist2.jpeg')
    center / cover no-repeat;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,18,0.95) 20%, rgba(10,10,18,0.3) 40%, transparent 100%);
  pointer-events: none;
}



.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

/* Badge */
.hero-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.6s ease both;
}

/* Título */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}

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

/* Subtítulo */
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

/* Teléfono */
.hero-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s;
  animation: fadeSlideUp 0.7s 0.25s ease both;
}

.hero-phone:hover {
  opacity: 0.8;
}

/* Botones */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

/* Imagen grúa */
.hero-img-wrap {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 55%;
  max-width: 740px;
  z-index: 1;
  pointer-events: none;
  animation: fadeSlideRight 1s 0.4s ease both;
}

.hero-img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 0 0 0;
  opacity: 0.90;
  filter: drop-shadow(-10px 0 40px rgba(0,0,0,0.7));
}

/* Keyframes */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ----------------------------------------------------------
   7. SECCIÓN SERVICIOS
   ---------------------------------------------------------- */
.servicios {
  background: var(--color-light);
  padding: var(--section-py) 0;
}

.servicios .section-title,
.servicios .section-sub {
  color: var(--color-dark);
}

/* Grid de 4 columnas → responsive */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* Tarjeta de servicio */
.card {
  background: var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Ícono de tarjeta */
.card-icon {
  width: 72px;
  height: 72px;
  background: rgba(245,197,24,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: background var(--transition);
}

.card-icon svg {
  width: 44px;
  height: 44px;
}
.card-icon i {
  font-size: 2rem;
  color: var(--color-accent);
}

.card:hover .card-icon {
  background: rgba(245,197,24,0.18);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  flex: 1;
}

.card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(83%) sepia(94%) saturate(500%) hue-rotate(360deg) brightness(102%) contrast(97%);
}

/* ----------------------------------------------------------
   SECCIÓN SOBRE NOSOTROS
   ---------------------------------------------------------- */
.nosotros {
  background: var(--color-dark);
  padding: var(--section-py) 0;
}

.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Imagen */
.nosotros-img-wrap {
  position: relative;
}

.nosotros-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* Badge "24/7" sobre la imagen */
.nosotros-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.badge-txt {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Texto */
.nosotros-label {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.nosotros-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.nosotros-desc {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Estadísticas */
.nosotros-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--color-gray);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .nosotros-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nosotros-badge {
    right: 1rem;
  }

  .nosotros-img {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .nosotros-stats {
    gap: 1.25rem;
  }

  .nosotros-img {
    height: 260px;
  }
}

/* ----------------------------------------------------------
   8. SECCIÓN COBERTURA
   ---------------------------------------------------------- */
.cobertura {
  background: var(--color-dark-2);
  padding: var(--section-py) 0;
}

/* Contenedor del mapa */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 2px solid rgba(245,197,24,0.2);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

/* Badge decorativo sobre el mapa */
.map-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15,17,23,0.9);
  border: 1px solid rgba(245,197,24,0.5);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

/* ----------------------------------------------------------
   9. SECCIÓN GALERÍA / CARRUSEL
   ---------------------------------------------------------- */
.galeria {
  background: var(--color-dark);
  padding: var(--section-py) 0;
}

/* Contenedor principal del carrusel */
/* Contenedor principal del carrusel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  height: 460px;
  touch-action: pan-y;  /* fix del scroll en móvil */
}

/* Track (se mueve horizontalmente) */
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Cada slide */
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Leyenda del slide */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

/* Flechas de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15,17,23,0.8);
  border: 2px solid rgba(245,197,24,0.5);
  color: var(--color-accent);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn--prev { left: 1rem; }
.carousel-btn--next { right: 1rem; }

/* Indicadores (puntos) */
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

.slide-gru2 img { object-position: center bottom; }
.slide-gru4 img { object-position: center bottom; }
.slide-gru5 img { object-position: center bottom; }

/* Botón flotante de llamada */
.call-float {
  position: fixed;
  bottom: 8rem;        /* encima del botón de WhatsApp */
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #1a73e8;  /* azul */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,115,232,0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse-call 2.5s infinite;
}

.call-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(26,115,232,0.6);
  animation: none;
}

@keyframes pulse-call {
  0%, 100% { box-shadow: 0 4px 20px rgba(26,115,232,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(26,115,232,0.7), 0 0 0 8px rgba(26,115,232,0.1); }
}

/* Ajuste en móvil */
@media (max-width: 560px) {
  .call-float {
    bottom: 4rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
}

/* ----------------------------------------------------------
   10. BOTÓN FLOTANTE WHATSAPP
   ---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}

/* Animación de pulso para llamar la atención */
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ----------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-gray);
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.footer-link:hover { opacity: 0.75; }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}

.footer-atlas {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}
.footer-atlas strong { color: var(--color-accent); }

/* ----------------------------------------------------------
   12. RESPONSIVE — TABLET (≤ 900px)
   ---------------------------------------------------------- */
@media (max-width: 900px) {

  /* Header */
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background: var(--color-dark-2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
  }

  .logo {
    margin-left: -2rem; /* mueve el logo a la izquierda */
  }

  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.3rem; }

  /* Hero */
  .hero-img-wrap { display: none; }
  .hero-content { max-width: 100%; }
  .hero { background-position: 70% center; }

  /* Servicios */
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mapa */
  .map-wrap iframe { height: 320px; }

  /* Carrusel — SIN flex-direction: column, SIN height fijo */
  .carousel {
    height: auto;
    touch-action: pan-y;
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    flex-direction: row; /* IMPORTANTE: siempre horizontal */
  }

  .carousel-slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  height: 320px; /* altura fija igual para todos */
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* recorta para llenar sin deformar */
  object-position: center;
}

.header-sticker {
    height: 90px;     /* más pequeño */
    top: -10px;       /* ajuste vertical */
    left: 60%;        /* moverlo un poco a la derecha del logo */
    transform: translateX(-50%);
  }
}

/* ----------------------------------------------------------
   13. RESPONSIVE — MÓVIL (≤ 560px)
   ---------------------------------------------------------- */
@media (max-width: 560px) {

  .hero-title { font-size: 2.4rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Servicios */
  .servicios-grid { grid-template-columns: 1fr; }

  /* Mapa */
  .map-wrap iframe { height: 260px; }

  /* Carrusel — heredar todo de 900px, solo ajustar botones */
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Footer */
  .footer-contact { flex-direction: column; gap: 0.5rem; }

  /* WhatsApp flotante */
  .whatsapp-float {
    bottom: 0.2rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .nosotros-badge {
  bottom: 1rem;
  right: 0.5rem;
  padding: 0.6rem 0.9rem;
}

.badge-num {
  font-size: 1.4rem;
}

.badge-txt {
  font-size: 0.65rem;

}
@media (max-width: 560px) {
  .nosotros-stats {
    flex-direction: column;  /* apila los stats verticalmente */
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .stat {
    flex-direction: row;     /* ícono+texto en fila */
    align-items: center;
    gap: 0.75rem;
  }

  .stat-num {
    font-size: 1rem;         /* texto más pequeño */
    white-space: nowrap;
  }

  .stat-lbl {
    font-size: 0.8rem;
  }
}
}
