/* =========================================
   VARIABLES Y BASE
   ========================================= */

:root {
  --primary: #28a745;      /* Verde confianza */
  --secondary: #6c757d;    /* Gris profesional */
  --accent: #f4a300;       /* Dorado/naranja cálido */
  --background: #f5f5f5;   /* Fondo claro */
  --text: #333333;         /* Texto principal */
  --white: #ffffff;
  --cta: #0d6efd;          /* Azul profesional */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text);
}


/* =========================================
   NAVBAR PREMIUM + IDIOMA + CTA
   ========================================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  overflow: visible; 
  height: auto; 
  padding-top: 16px; 
  padding-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* Logo */
.navbar .logo img {
  height: 90px;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.55);
}

/* Links desktop */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* CTA */
.btn-cta {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

/* Selector de idioma (desktop) */
.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  background: #f0f0f0;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  background: #e4e4e4;
  border-color: #b5b5b5;
}

.lang-btn.active {
  background: var(--cta);
  color: white;
  border-color: var(--cta);
  box-shadow: 0 0 6px rgba(13, 110, 253, 0.35);
}

/* Modo oscuro opcional */
@media (prefers-color-scheme: dark) {
  .lang-btn {
    background: #2f2f2f;
    color: #eee;
    border-color: #555;
  }
  .lang-btn:hover {
    background: #3a3a3a;
    border-color: #777;
  }
  .lang-btn.active {
    background: var(--cta);
    border-color: var(--cta);
    color: white;
  }
}

/* Ajustes responsivos del navbar */
@media (max-width: 900px) {
  .nav-links,
  .btn-cta,
  .language-switcher {
    display: none;
  }
}


/* =========================================
   MENÚ MÓVIL PREMIUM
   ========================================= */

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
}

/* Contenedor del menú móvil */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background-color: var(--white);
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  padding: 20px;
  transition: right 0.35s ease;
  z-index: 2000;
}

.mobile-menu.open {
  right: 0;
}

/* Header dentro del menú móvil */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
}

.mobile-logo {
  height: 70px;
  margin-right: auto;
  border-radius: 6px;
}

.close-menu {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  z-index: 3000;
}

.close-menu:hover {
  color: var(--primary);
}

.mobile-menu.open .close-menu {
  display: block;
}


/* Enlaces del menú móvil */
.mobile-nav-links {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav-links li a {
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s ease;
}

.mobile-nav-links li a:hover {
  color: var(--primary);
}

/* Botón WhatsApp dentro del menú */
.mobile-whatsapp {
  display: block;
  margin-top: 40px;
  background-color: #25D366;
  color: white;
  text-align: center;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.mobile-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

/* Fondo oscuro detrás del menú */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 1500;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Selector de idioma dentro del menú móvil */
.mobile-language {
  display: none;
}

@media (max-width: 900px) {

  /* Ocultar elementos desktop */
  .nav-links,
  .btn-cta,
  .language-switcher {
    display: none;
  }

  /* Mostrar hamburguesa */
  .menu-toggle {
    display: flex;
  }

  /* Mostrar idioma dentro del menú móvil */
  .mobile-language {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .mobile-language .lang-btn {
    padding: 6px 14px;
    font-size: 14px;
  }
}


/*chevron*/
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  display: none; /* oculto por defecto */
}

.scroll-top:hover {
  background-color: var(--accent);
  transform: scale(1.1);
}

.scroll-top svg {
  display: block;
}


.scroll-top:hover {
  background-color: var(--accent);
  transform: scale(1.1);
}


/* =========================================
   HERO PREMIUM (VERSIÓN FINAL)
   ========================================= */

.hero {
  margin-top: 100px;
  height: 100vh;
  background: linear-gradient(
              rgba(0,0,0,0.55), 
              rgba(0,0,0,0.55)
            ),
            url('../images/hero.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  animation: fadeHero 1.2s ease forwards;
}

@keyframes fadeHero {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-content {
  max-width: 800px;
  animation: fadeUpHero 1.2s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUpHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sello de experiencia */
.hero-sello {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hero-sello.animado {
  animation: pulso 2.5s ease-in-out infinite;
}

@keyframes pulso {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.0); }
  50% { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,255,255,0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.0); }
}

/* Título */
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Subtítulo */
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #f1f1f1;
}

/* Botón CTA */
.cta-button {
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  max-width: 90%;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

.cta-button:hover {
  background-color: #1f8a38;
  transform: translateY(-3px);
}

/* Responsivo */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Fix botón hero en pantallas pequeñas */
@media (max-width: 420px) {
  .cta-button {
    font-size: 1rem;
    padding: 12px 18px;
    width: 100%;
    max-width: 260px;
  }
}


/* VIDEO DE FONDO 
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

 Overlay para oscurecer el video 
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

 Contenido 
.hero-content {
  max-width: 800px;
  padding: 20px;
  animation: fadeUpHero 1.2s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUpHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

 Sello animado 
.hero-sello {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hero-sello.animado {
  animation: pulso 2.5s ease-in-out infinite;
}

@keyframes pulso {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.0); }
  50% { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,255,255,0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.0); }
}

 Título 
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

 Subtítulo 
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #f1f1f1;
}

 Botón 
.cta-button {
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  max-width: 90%;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

.cta-button:hover {
  background-color: #1f8a38;
  transform: translateY(-3px);
}

 Fix para pantallas pequeñas 
@media (max-width: 420px) {
  .cta-button {
    font-size: 1rem;
    padding: 12px 18px;
    width: 100%;
    max-width: 260px;
  }
}

 Responsivo 
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
} */



/* Secciones */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  color: var(--primary);
  margin-bottom: 20px;
}



/* =========================================
   SECCIÓN: NUESTROS SERVICIOS (PREMIUM+)
   ========================================= */

#servicios {
  padding: 80px 20px;
  text-align: center;
}

.servicios-titulo {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 800;
}

.servicios-subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Categorías */
.categoria-servicios {
  margin-bottom: 60px;
}

.categoria-titulo {
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.categoria-titulo::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Grid de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjetas */
.tarjeta-servicio {
  background: var(--white);
  border-radius: 14px;
  padding: 25px 20px 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.tarjeta-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

/* Iconos premium en círculo */
.icono-circulo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f0f0f0);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-circulo svg {
  width: 44px;
  height: 44px;
  stroke: var(--primary);
}

/* Textos de cada servicio */
.tarjeta-servicio h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.tarjeta-servicio p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.5;
}

/* Responsivo */
@media (max-width: 768px) {
  #servicios {
    padding: 60px 20px;
  }

  .servicios-titulo {
    font-size: 2.2rem;
  }

  .categoria-titulo {
    font-size: 1.5rem;
  }
}

/* =========================================
   TESTIMONIOS ULTRA PREMIUM (VERSIÓN FINAL)
   ========================================= */

.testimonios-premium {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #fafafa, #f2f2f2);
}

/* Título */
.testimonios-titulo {
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.testimonios-titulo::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background-color: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Subtítulo */
.testimonios-subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Grid */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Tarjetas */
.testimonio-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  /* Animación */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.testimonio-card:nth-child(2) {
  animation-delay: 0.15s;
}

.testimonio-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

/* Foto del cliente */
.testimonio-foto {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Estrellas */
.estrellas {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* Icono de comillas */
.icono-comillas {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f0f0f0);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-comillas svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
}

/* Texto */
.testimonio-texto {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonio-nombre {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
}

/* Responsivo */
@media (max-width: 768px) {
  .testimonios-titulo {
    font-size: 2rem;
  }
}



/* =========================================
   GALERÍA ANTES Y DESPUÉS (PREMIUM)
   ========================================= */

.galeria-premium {
  padding: 80px 20px;
  text-align: center;
  background: #f9f9f9;
}

.galeria-titulo {
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.galeria-titulo::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background-color: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.galeria-subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Grid general */
.galeria-grid {
  display: grid;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Cada par Antes/Después */
.galeria-par {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: center;
}

/* Bloque de imagen */
.imagen-bloque {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  /* Animación */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.imagen-bloque img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Etiquetas Antes / Después */
.etiqueta {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: white;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.etiqueta.despues {
  background-color: var(--accent);
}

/* Animación */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .galeria-titulo {
    font-size: 2rem;
  }
}



/* =========================================
   CONTACTO PREMIUM
   ========================================= */

.contacto-section {
  padding: 80px 20px;
  background-color: var(--background);
  text-align: center;
}

.contacto-titulo {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}

.contacto-subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Contenedor general */
.contacto-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Tarjeta de información */
.contacto-info {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: left;
}

.contacto-info h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.contacto-info p {
  margin-bottom: 12px;
  font-size: 1rem;
}

/* Botón WhatsApp */
.whatsapp-btn {
  display: block;
  margin-top: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

/* Botón llamada */
.call-btn {
  display: block;
  margin-top: 15px;
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: 0.3s ease;
}

.call-btn:hover {
  background-color: #0069d9;
  transform: translateY(-2px);
}

/* Mapa */
.contacto-mapa {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 10px;

  /* Borde degradado premium */
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  border: 4px solid transparent;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Formulario */
.contacto-form {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Iconos dentro de inputs */
.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.7;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--secondary);
  border-radius: 6px;
  font-size: 1rem;
}

/* Botón enviar */
.contacto-form button {
  background-color: var(--primary);
  color: var(--white);
  padding: 14px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.contacto-form button:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

/* Mensaje de éxito */
.success-message {
  display: none;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sello Atención 24/7 */
.sello-247 {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: pulso247 2.5s ease-in-out infinite;
}

@keyframes pulso247 {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.07); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}



/* =========================================
   FOOTER PREMIUM
   ========================================= */

.footer {
  background: linear-gradient(
    to bottom,
    #2c2c2c 0%,
    #1f1f1f 40%,
    #181818 100%
  );
  color: var(--white);
  padding: 40px 20px 20px;
  margin-top: 60px;
  position: relative;
  text-align: center;
}

/* Línea luminosa superior */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;

  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );

  box-shadow: 0 0 12px var(--accent);
  animation: shineMove 3.5s linear infinite;
}

@keyframes shineMove {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* Contenedor */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
  text-align: center;
}

/* Logo */
.footer-logo img {
  height: 90px;
  border-radius: 8px;
  box-shadow:
    0 0 12px rgba(255,255,255,0.35),
    0 0 22px rgba(255,255,255,0.15);
  transition: 0.4s ease;
  opacity: 0.95;
}

.footer-logo img:hover {
  transform: scale(1.55);
  box-shadow:
    0 0 18px rgba(255,255,255,0.45),
    0 0 28px rgba(255,255,255,0.25);
  opacity: 1;
}

/* Enlaces */
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--accent);
}

/* Contacto rápido */
.footer-contacto {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-call,
.footer-whatsapp {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
}

.footer-call {
  background-color: #007bff;
}

.footer-call:hover {
  background-color: #0069d9;
  transform: translateY(-2px);
}

.footer-whatsapp {
  background-color: #25D366;
}

.footer-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

.footer-ubicacion {
  margin-top: 10px;
  opacity: 0.9;
}

/* Línea inferior */
.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom a {
  text-decoration: none;
  color: var(--primary);
}

/* Sello final premium */
.footer-sello {
  margin-top: 30px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  display: inline-block;

  /* Fondo premium */
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);

  /* Halo */
  box-shadow:
    0 0 12px rgba(255, 215, 0, 0.45),
    0 0 22px rgba(255, 215, 0, 0.25);

  /* Animación */
  animation: selloGlow 3s ease-in-out infinite;
}

@keyframes selloGlow {
  0% {
    box-shadow:
      0 0 10px rgba(255, 215, 0, 0.35),
      0 0 20px rgba(255, 215, 0, 0.15);
  }
  50% {
    box-shadow:
      0 0 18px rgba(255, 215, 0, 0.55),
      0 0 30px rgba(255, 215, 0, 0.35);
  }
  100% {
    box-shadow:
      0 0 10px rgba(255, 215, 0, 0.35),
      0 0 20px rgba(255, 215, 0, 0.15);
  }
}


/* =========================================
   RESPONSIVE FINAL CONSOLIDADO
   ========================================= */

/* Tablets grandes */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.2rem; }
  .cta-button { font-size: 1rem; padding: 12px 24px; }
}

/* Móviles medianos */
@media (max-width: 768px) {

  /* Hero */
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.1rem; }

  /* Servicios */
  #servicios { padding: 60px 20px; }
  .servicios-titulo { font-size: 2.2rem; }
  .categoria-titulo { font-size: 1.5rem; }

  /* Testimonios */
  .testimonios-titulo { font-size: 2rem; }

  /* Galería */
  .galeria-titulo { font-size: 2rem; }

  /* Comparación antes/después */
  .comparacion {
    flex-direction: column;
    max-width: 100%;
    gap: 15px;
  }

  .comparacion .imagen,
  .comparacion img {
    width: 100%;
  }
}

/* Móviles pequeños */
@media (max-width: 600px) {

  /* Hero */
  .hero {
    height: auto;
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    padding: 15px;
  }
}


/* Móviles extra pequeños */
@media (max-width: 420px) {
  .cta-button {
    font-size: 1rem;
    padding: 12px 18px;
    width: 100%;
    max-width: 260px;
  }
}


/*Prueba sello*/
.footer-sello-animado {
  text-align: center;
  margin-top: 40px;
}

/* Medalla dorada premium */
.medalla-premium {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
              #fff7c8,
              #ffd95a 40%,
              #caa032 70%,
              #8a6b1f 100%);
  box-shadow:
    0 0 18px rgba(255, 215, 0, 0.55),
    0 0 32px rgba(255, 215, 0, 0.35),
    inset 0 0 12px rgba(255, 255, 255, 0.4);
  position: relative;
  animation: medallaGlow 3.5s ease-in-out infinite;
}

/* Icono central */
.medalla-icon {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff8c4;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 215, 0, 0.9);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Animación premium */
@keyframes medallaGlow {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 14px rgba(255, 215, 0, 0.45),
      0 0 26px rgba(255, 215, 0, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 22px rgba(255, 215, 0, 0.75),
      0 0 40px rgba(255, 215, 0, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 14px rgba(255, 215, 0, 0.45),
      0 0 26px rgba(255, 215, 0, 0.25);
  }
}

/* Texto */
.sello-texto {
  margin-top: 18px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  opacity: 0.95;
}
