/* ── RESET Y VARIABLES ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --azul: #1E293B;
  --azul-medio: #2d3f57;
  --azul-claro: #e8eef6;
  --azul-suave: #f0f4fa;
  --acento: #F59E0B;
  --acento-hover: #d97706;
  --whatsapp: #25d366;
  --blanco: #FFFFFF;
  --gris-claro: #f8f9fb;
  --gris-texto: #64748b;
  --texto-body: #374151;
  --borde: #e2e8f0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto-body);
  background: var(--blanco);
  overflow-x: hidden
}

/* ── CANVAS FONDO ELECTRICO ── */
#electricCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* El canvas queda detrás de todos los elementos del hero */
.hero>*:not(#electricCanvas) {
  position: relative;
  z-index: 1;
}

/* ── SCROLL REVEAL ── */
/* Estado inicial: oculto y desplazado hacia abajo */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado visible: aparece cuando entra en el viewport */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Versión escalonada: los hijos aparecen uno a uno con retardo */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* Retardos escalonados para cada hijo */
.reveal-stagger.is-visible>*:nth-child(1) {
  transition-delay: 0.05s
}

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.12s
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.19s
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.26s
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.33s
}

.reveal-stagger.is-visible>*:nth-child(6) {
  transition-delay: 0.40s
}

/* ── ANIMACIONES KEYFRAMES ── */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* Rebote para el botón de llamada */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  20% {
    transform: translateY(-10px)
  }

  40% {
    transform: translateY(-4px)
  }

  60% {
    transform: translateY(-7px)
  }

  80% {
    transform: translateY(-2px)
  }
}

/* Pulso de brillo para el botón de WhatsApp flotante */
@keyframes wpulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45)
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7), 0 0 0 9px rgba(37, 211, 102, 0.1)
  }
}

/* Animaciones de entrada para los elementos del hero */
.hero-badge {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
  animation-delay: 0.10s;
}

.hero-title {
  opacity: 0;
  animation: fadeInDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.40s;
}

.hero-sub {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.75s;
}

.hero-btns {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
  animation-delay: 1.05s;
}

.hero-trust {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
  animation-delay: 1.30s;
}

/* Clase que activa el rebote en el botón de llamada */
.btn-bounce {
  animation: bounce 0.7s ease infinite;
}

/* ── NAV ── */
nav {
  background: var(--azul);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--acento);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 8px;
  scale: 1.6;
}

.nav-cta {
  background: var(--acento);
  color: var(--azul);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--acento-hover)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
  margin-left: 36px
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--acento)
}

@media(max-width:760px) {
  .nav-links {
    display: none
  }
}

/* ── MENÚ HAMBURGUESA (MÓVIL) ── */
/* Solo visible en pantallas pequeñas */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 210;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s, background 0.25s;
}

/* Animación de las tres barras convirtiéndose en X al abrir */
.nav-burger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: var(--acento)
}

.nav-burger.active span:nth-child(2) {
  opacity: 0
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: var(--acento)
}

/* Panel deslizante del menú móvil */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 78%;
  max-width: 320px;
  background: var(--azul);
  z-index: 200;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  /* oculto fuera de pantalla */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 90px 28px 32px;
  border-left: 1px solid rgba(245, 158, 11, 0.25);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0)
}

/* visible al activarse */

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blanco);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-drawer-link i {
  color: var(--acento);
  width: 20px;
  font-size: 15px
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  color: var(--acento);
  padding-left: 10px
}

.mobile-drawer-cta {
  margin-top: 28px;
  background: var(--acento);
  color: var(--azul);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.mobile-drawer-wa {
  margin-top: 12px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Capa oscura semitransparente que cubre el fondo al abrir el menú */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.6);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto
}

.drawer-spark {
  position: absolute;
  top: 24px;
  left: 28px;
  color: rgba(245, 158, 11, 0.5);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.3px
}

@media(max-width:760px) {
  .nav-burger {
    display: flex
  }

  .nav-cta {
    display: none
  }
}

/* ── HERO ── */
.hero {
  background: var(--azul);
  padding: 68px 28px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Cuadrícula decorativa de fondo */
.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--acento);
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 7vw, 62px);
  font-weight: 900;
  color: var(--blanco);
  line-height: 1.07;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--acento)
}

.hero-sub-text {
  font-size: clamp(15px, 2.5vw, 17px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto 38px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px
}

/* Botón principal (amarillo) */
.btn-primary {
  background: var(--acento);
  color: var(--azul);
  border: none;
  border-radius: 10px;
  padding: 17px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: background 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  background: var(--acento-hover);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5)
}

/* Botón secundario (transparente con borde) */
.btn-secondary {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 15px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08)
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.hero-trust-item i {
  color: var(--acento);
  font-size: 14px
}

/* ── BARRA CONTACTO ── */
.contact-bar {
  background: var(--azul-medio);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blanco);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.c-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.c-phone {
  background: var(--acento);
  color: var(--azul)
}

.c-wa {
  background: var(--whatsapp);
  color: var(--blanco)
}

.sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 22px
}

/* ── STATS ── */
.stats-bar {
  background: var(--acento);
  padding: 30px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 10px 36px;
  border-right: 1px solid rgba(30, 41, 59, 0.2);
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.stat-item:last-child {
  border-right: none
}

.stat-item:hover {
  transform: scale(1.2)
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--azul);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(30, 41, 59, 0.7);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px
}

/* ── SOBRE MÍ ── */
.about-section {
  background: var(--azul);
  padding: 72px 28px;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

@media(max-width:820px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }
}

.about-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center
}

.about-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4/5;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--azul-medio), #16202f);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.about-photo .ph-icon {
  font-size: 54px;
  color: rgba(245, 158, 11, 0.35)
}

/* Círculo de "15+ años" sobre la foto */
.about-photo-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--acento);
  color: var(--azul);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  border: 4px solid var(--azul);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  text-align: center;
}

.about-photo-badge small {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.3px
}

.about-content .hero-badge-wrap {
  margin-bottom: 18px
}

.about-content h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blanco);
  font-size: clamp(26px, 4.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.about-content h2 span {
  color: var(--acento)
}

.about-content .accent-line {
  margin: 14px 0 18px
}

.about-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 14px
}

.about-signature {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-signature .sig-line {
  width: 46px;
  height: 2px;
  background: var(--acento)
}

.about-signature span {
  font-family: 'Montserrat', sans-serif;
  color: var(--blanco);
  font-weight: 700;
  font-size: 15px
}

.about-signature small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  margin-top: 1px
}

.about-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px
}

/* Etiquetas de credenciales (autorizaciones, seguros...) */
.about-cred {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--acento);
  font-weight: 600;
}

/* ── GALERÍA DE TRABAJOS ── */
.gallery-section {
  padding: 72px 28px;
  background: var(--gris-claro)
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Foto destacada ocupa toda la columna izquierda (2 filas) */
.gallery-item--featured {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(160deg, var(--azul-medio), var(--azul));
  border: 1px solid var(--borde);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(30, 41, 59, 0.22)
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06)
}

@media(max-width:760px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--featured {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16/9;
  }
  .gallery-item {
    aspect-ratio: 4/3;
  }
}

@media(max-width:440px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--featured {
    grid-column: auto;
    aspect-ratio: 4/3;
  }
}

/* Capa oscura con info que aparece al hacer hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1
}

.gallery-overlay .gal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--acento);
  color: var(--azul);
  font-size: 11px;
  font-weight: 700;
  border-radius: 14px;
  padding: 3px 10px;
  margin-bottom: 6px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.gallery-overlay h4 {
  color: var(--blanco);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px
}

/* Icono de rayo en esquina superior derecha de cada foto */
.gallery-item .spark-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 50%;
  color: var(--acento);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-item:hover .spark-corner {
  opacity: 1
}

/* ── LIGHTBOX ── */
/* Capa que cubre toda la pantalla al ampliar una foto */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.lightbox-overlay.active {
  display: flex
}

.lightbox-box {
  max-width: 720px;
  width: 100%;
  background: var(--azul);
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--azul-medio), #16202f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 158, 11, 0.4);
  font-size: 48px;
  overflow: hidden
}

.lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.lightbox-info {
  padding: 20px 24px
}

.lightbox-info h4 {
  color: var(--blanco);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  margin-bottom: 6px
}

.lightbox-info p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: var(--blanco);
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.lightbox-close:hover {
  opacity: 1
}

/* ── SECCIONES GENÉRICAS ── */
.section {
  padding: 64px 28px
}

.section-alt {
  background: var(--gris-claro)
}

.section-dark {
  background: var(--azul);
  padding: 64px 28px
}

.section-header {
  text-align: center;
  margin-bottom: 44px
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-dark .section-header h2 {
  color: var(--blanco)
}

.section-header .lead {
  font-size: 16px;
  color: var(--gris-texto);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6
}

.section-dark .section-header .lead {
  color: rgba(255, 255, 255, 0.65)
}

/* Línea decorativa debajo del título de sección */
.accent-line {
  width: 48px;
  height: 4px;
  background: var(--acento);
  border-radius: 2px;
  margin: 12px auto 0
}

/* ── SERVICIOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  background: var(--blanco);
  border-radius: 14px;
  padding: 28px 22px;
  border: 1.5px solid var(--borde);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(30, 41, 59, 0.1);
  border-color: var(--acento)
}

/* Tarjeta de urgencias con fondo destacado */
.service-card.urgente {
  border-color: var(--acento);
  background: linear-gradient(135deg, #fffdf0, var(--blanco))
}

.s-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: var(--azul-suave);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--azul);
  margin-bottom: 18px;
}

.service-card.urgente .s-icon {
  background: #fff3cd;
  color: #b45309
}

.urgente-tag {
  display: inline-block;
  background: var(--acento);
  color: var(--azul);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.6
}

/* ── CONFIANZA ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.trust-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.trust-card:hover {
  background: rgba(255, 255, 255, 0.1)
}

.t-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--acento);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--azul);
  margin-bottom: 16px;
}

.trust-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65
}

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.review-card {
  background: var(--blanco);
  border-radius: 14px;
  padding: 24px 20px;
  border: 1.5px solid var(--borde);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px
}

.stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 1px
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gris-texto);
  font-weight: 500
}

.google-g {
  color: #4285f4;
  font-weight: 700;
  font-size: 13px
}

.review-text {
  font-size: 14px;
  color: var(--texto-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px
}

/* Avatar circular con iniciales del cliente */
.r-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--blanco);
  flex-shrink: 0;
}

.r-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--azul)
}

.r-date {
  font-size: 12px;
  color: var(--gris-texto);
  margin-top: 2px
}

/* ── CTA FINAL ── */
.cta-final {
  background: var(--acento);
  padding: 60px 28px;
  text-align: center
}

.cta-final h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 900;
  color: var(--azul);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-final p {
  font-size: 16px;
  color: rgba(30, 41, 59, 0.8);
  margin-bottom: 30px;
  line-height: 1.6
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px
}

/* Botón oscuro sobre fondo amarillo */
.btn-dark {
  background: var(--azul);
  color: var(--blanco);
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-dark:hover {
  background: var(--azul-medio)
}

/* Botón verde de WhatsApp */
.btn-wa {
  background: var(--whatsapp);
  color: var(--blanco);
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

/* ── FOOTER ── */
footer {
  background: #0f172a;
  padding: 48px 28px 28px;
  color: rgba(255, 255, 255, 0.75)
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 36px;
  max-width: 960px;
  margin: 0 auto 36px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 12px;
  line-height: 1.2;
}

.footer-logo span {
  color: var(--acento)
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6)
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  line-height: 2.1;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--acento)
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--acento);
  margin-top: 2px;
  width: 14px;
  flex-shrink: 0
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
  /* SPAND LINEA DE CLIK A NOVABAIT */
  
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: var(--acento);
}

/* Insignia de habilitación profesional */
.hab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--acento);
  font-weight: 600;
}

/* ── WHATSAPP FLOTANTE ── */
/* Botón fijo en la esquina inferior derecha con animación de pulso */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 999;
  background: var(--whatsapp);
  color: var(--blanco);
  border-radius: 50px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  animation: wpulse 2.5s infinite;
}

.wa-float i {
  font-size: 20px
}

/* En móvil se oculta el texto del botón de WhatsApp flotante */
@media(max-width:580px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(30, 41, 59, 0.15);
    width: 100%;
    padding: 14px 20px
  }

  .sep {
    display: none
  }

  .wa-float .wa-text {
    display: none
  }

  .wa-float {
    padding: 16px
  }
}
/* ── CARRUSEL DE MARCAS ── */
.brands-section {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.brands-section .section-header {
  padding: 0 36px;
  margin-bottom: 32px;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 28px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
  align-items: center;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 0 48px;
  white-space: nowrap;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.95;
}

.brand:hover {
  transform: scale(1.08);
  opacity: 1;
}

.brand svg { display: block; }

.brands-section .row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.brands-section .row:nth-child(2) {
  border-top: 1px solid #eee;
}

.row-label {
  flex: 0 0 190px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  text-transform: uppercase;
  padding-left: 36px;
  border-right: 2px solid #1a1a1a;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.brands-section .row .marquee-wrapper {
  flex: 1;
  min-width: 0;
  padding: 28px 0;
}

@media (max-width: 768px) {
  .brands-section {
    padding: 40px 0;
  }
  .brands-section .section-header {
    padding: 0 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .brands-section {
    padding: 32px 0;
  }
  .brands-section .section-header {
    padding: 0 16px;
  }
  .brands-section .row {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #eee;
  }
  .row-label {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #1a1a1a;
    padding: 9px 16px;
    font-size: 11px;
    letter-spacing: 1.2px;
    align-self: auto;
    height: auto;
  }
  .brands-section .row .marquee-wrapper {
    padding: 14px 0;
    width: 100%;
  }
  .brand {
    height: 70px;
    padding: 0 22px;
  }
  .brand svg {
    max-height: 36px;
    width: auto;
  }
}
