/* =========================================
   VARIABLES
========================================= */
:root {
  --verde:      #1ea952;
  --verde-dark: #177a3c;
  --azul:       #1a4fa8;
  --azul-dark:  #123d85;
  --azul-oscuro: #0b1528;
  --negro:      #0d0d0d;
  --gris-900:   #111827;
  --gris-800:   #1f2937;
  --gris-700:   #374151;
  --gris-500:   #6b7280;
  --gris-200:   #e5e7eb;
  --gris-100:   #f3f4f6;
  --gris-50:    #f9fafb;
  --blanco:     #ffffff;

  --fuente: "Inter", system-ui, -apple-system, sans-serif;
  --radio:  10px;
  --header-h: 110px;
  --transicion: 0.22s ease;
}

/* =========================================
   RESET
========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fuente);
  color: var(--gris-900);
  line-height: 1.65;
  background: var(--blanco);
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* =========================================
   CONTAINER
========================================= */
.container {
  width: min(1180px, 94%);
  margin-inline: auto;
}

/* =========================================
   HEADER
========================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--azul-oscuro);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow var(--transicion);
}
.header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}

/* Logo */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header__logo img {
  height: 76px;
  width: auto;
  object-fit: contain;
}

/* Nav desktop */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header__nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header__nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color var(--transicion), background var(--transicion);
  white-space: nowrap;
}
.header__nav a:hover {
  color: var(--blanco);
  background: rgba(255, 255, 255, 0.1);
}

/* Acciones (CTA + toggle) */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Botón CTA header */
.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  background: var(--verde);
  color: var(--blanco);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--transicion), transform var(--transicion);
}
.btn-cta:hover {
  background: var(--verde-dark);
  transform: translateY(-1px);
}

/* Hamburguesa */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Menú móvil con efecto Glassmorphism premium */
.mobile-menu {
  display: none;
  background: rgba(11, 23, 44, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.is-open {
  max-height: 400px;
}
.mobile-menu ul {
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.mobile-menu a:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.08);
}
.mobile-menu__cta {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%) !important;
  color: var(--blanco) !important;
  text-align: center;
  font-weight: 700 !important;
  margin-top: 0.75rem;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.mobile-menu__cta:active {
  transform: scale(0.96) !important;
  box-shadow: 0 2px 8px rgba(46, 204, 113, 0.15) !important;
}

/* =========================================
   BOTONES GLOBALES
========================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  background: var(--verde);
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn-primary:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,169,82,.35);
}
.btn-primary--full { width: 100%; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  background: transparent;
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.6);
  transition: background var(--transicion), border-color var(--transicion);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--blanco);
}

/* =========================================
   HERO
========================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

/* Foto de fondo */
.hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__photo img,
.hero__photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  /* Gradiente inspirado en la referencia: oscuro izquierda, más transparente derecha */
  background: linear-gradient(
    105deg,
    rgba(10,20,10,.82) 0%,
    rgba(10,20,10,.65) 45%,
    rgba(10,20,10,.25) 100%
  );
}

/* Contenido del hero */
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 4rem 2rem;
}
.hero__text {
  max-width: 580px;
}
.hero__kicker {
  display: inline-block;
  color: #6ee79c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--verde);
  padding-left: 0.75rem;
}
.hero__text h1 {
  color: var(--blanco);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero__desc {
  color: rgba(255,255,255,.8);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Barra de estadísticas */
.hero__stats-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--azul) 0%, var(--verde) 100%);
}
.stats-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.stat-item {
  flex: 1;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-item strong {
  color: var(--blanco);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-item span {
  color: rgba(255,255,255,.8);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.25);
  margin-block: 1rem;
}

/* =========================================
   SECCIONES
========================================= */
.section { padding-block: 5.5rem; }
.section--alt { background: var(--gris-50); }
.section--dark { background: var(--azul-oscuro); }

.section__intro {
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.section__intro--light h2,
.section__intro--light p { color: var(--blanco); }
.section__intro--light p  { color: rgba(255,255,255,.7); }

.section__label {
  display: inline-block;
  color: var(--azul);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section__label--light { color: #60a5fa; }

.section__intro h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 0.75rem;
}
.section__intro p {
  color: var(--gris-500);
  font-size: 1rem;
}

/* =========================================
   SERVICIOS
========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  overflow: hidden;
}
.svc-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--gris-200);
  border-bottom: 1px solid var(--gris-200);
  background: var(--blanco);
  transition: background var(--transicion);
  position: relative;
}
/* Quitar borde derecho en última columna y para card 7 */
.svc-card:nth-child(3n),
.svc-card:nth-child(7) { border-right: none; }
/* Quitar borde abajo en última fila (solo card 7 en desktop) */
.svc-card:nth-last-child(-n+1) { border-bottom: none; }
/* Card 7 toma toda la fila en desktop */
.svc-card:nth-child(7) { grid-column: span 3; }

.svc-card:hover { background: var(--gris-50); }
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azul) 0%, var(--verde) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-card__num {
  color: var(--gris-200);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 1rem;
}
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gris-900);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.svc-card p {
  font-size: 0.88rem;
  color: var(--gris-500);
  line-height: 1.7;
}

/* =========================================
   GALERÍA — DESKTOP & MOBILE DUAL
========================================= */
.gal-desktop {
  display: block;
  margin-top: 1.5rem;
}
.gal-main-wrap {
  width: 100%;
  background: #000;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin-bottom: 1rem;
}
.gal-main {
  position: relative;
  width: 100%;
  height: 500px;
  max-height: 65vh;
  overflow: hidden;
  background: #090e0a;
}
.gal-main-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.35);
  transform: scale(1.08);
  pointer-events: none;
  z-index: 1;
}
.gal-main img:not(.gal-main-bg) {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gal-main img:not(.gal-main-bg).is-fading {
  opacity: 0;
  transform: scale(1.01);
}
.gal-main-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 3;
}
.gal-main-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(13, 13, 13, 0.65);
  backdrop-filter: blur(4px);
  color: var(--blanco);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 10;
  letter-spacing: 0.05em;
}
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transicion), transform var(--transicion), opacity var(--transicion);
  z-index: 10;
  opacity: 0.85;
  padding: 0;
}
.gal-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}
.gal-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.gal-arrow--l { left: 1.25rem; }
.gal-arrow--r { right: 1.25rem; }

.gal-thumbs-wrap {
  width: 100%;
}
.gal-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.gal-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--negro);
  padding: 0;
  cursor: pointer;
  transition: border-color var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transicion);
}
.gal-thumb:hover img {
  transform: scale(1.05);
}
.gal-thumb.is-active {
  border-color: var(--azul);
  box-shadow: 0 0 0 2px rgba(26, 79, 168, 0.35);
}
.gal-thumb span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 80%, transparent 100%);
  color: var(--blanco);
  font-size: 0.72rem;
  padding: 0.6rem 0.25rem 0.35rem;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transicion);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  pointer-events: none;
}
.gal-thumb:hover span,
.gal-thumb.is-active span {
  opacity: 1;
}

/* MÓVIL (Por defecto oculto, activado en responsive) */
.gal-mobile {
  display: none;
  width: 100%;
}
.gal-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  border-radius: var(--radio);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.gal-slides::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.gal-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4/3;
  background: #090e0a;
  overflow: hidden;
}
.gal-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.35);
  transform: scale(1.08);
  pointer-events: none;
  z-index: 1;
}
.gal-slide img:not(.gal-slide-bg) {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gal-slide-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 75%, transparent 100%);
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 3;
}
.gal-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.gal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gris-200);
  border: none;
  cursor: pointer;
  transition: background var(--transicion), width var(--transicion), border-radius var(--transicion);
  padding: 0;
}
.gal-dot.is-active {
  background: var(--verde);
  width: 24px;
  border-radius: 4px;
}

/* =========================================
   COBERTURA
========================================= */
.coverage-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.coverage-map {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  aspect-ratio: 4/3;
  position: relative;
  background: var(--gris-100);
}
.coverage-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transition: opacity .3s ease;
}
.coverage-map.loading iframe {
  opacity: .4;
}
/* Spinner de carga sobre el mapa */
.coverage-map::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.coverage-map.loading::after {
  opacity: 1;
  background: rgba(255,255,255,.4);
}
.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
/* Botones de región */
.coverage-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  background: var(--blanco);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color var(--transicion), box-shadow var(--transicion), background var(--transicion);
}
.coverage-item:hover {
  border-color: var(--verde);
  box-shadow: 0 2px 12px rgba(30,169,82,.1);
  background: #f0fdf4;
}
.coverage-item.is-active {
  border-color: var(--azul);
  background: #f0f6ff;
  box-shadow: 0 2px 16px rgba(26,79,168,.15);
}
.coverage-item.is-active .coverage-num {
  background: var(--azul);
}
.coverage-item.is-active .coverage-arrow {
  color: var(--azul);
  transform: translateX(2px);
}
.coverage-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--gris-200);
  transition: color var(--transicion), transform var(--transicion);
}
.coverage-item:hover .coverage-arrow {
  color: var(--verde);
  transform: translateX(2px);
}
.coverage-num {
  background: var(--verde);
  color: var(--blanco);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 3px;
  letter-spacing: .02em;
}
.coverage-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gris-900);
}
.coverage-item p {
  font-size: 0.78rem;
  color: var(--gris-500);
  margin-top: 1px;
}

/* =========================================
   CONTACTO
========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.contact-channels h3,
.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 0.4rem;
}
.contact-channels > p,
.contact-form > p {
  color: rgba(255,255,255,.6);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-channels h3 { margin-bottom: 1.25rem; }

/* Tarjetas de canal */
.ch-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--blanco);
  transition: background var(--transicion);
}
.ch-card:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.ch-card:hover { background: rgba(255,255,255,.06); }
.ch-card--wa .ch-card__icon { color: #25d366; }
.ch-card--tel .ch-card__icon { color: #3b82f6; }
.ch-card--mail .ch-card__icon { color: #ea4335; }
.ch-card--ig .ch-card__icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #ffffff;
}

.ch-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.8);
}
.ch-card div strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.ch-card div span {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

/* Formulario */
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radio);
  padding: 2rem;
}
.contact-form h3 { margin-bottom: 0.35rem; }
.contact-form > p { margin-bottom: 1.5rem; }

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.field input,
.field select,
.field textarea {
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  color: var(--blanco);
  font-size: 0.92rem;
  transition: border-color var(--transicion), background var(--transicion);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.3); }
.field select option { background: var(--gris-800); color: var(--blanco); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--azul);
  background: rgba(255,255,255,.1);
}
.field textarea { resize: vertical; min-height: 100px; }

/* Botones de acción y estado del formulario */
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .form-actions {
    grid-template-columns: 1fr;
  }
}

.btn-gmail-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #ea4335;
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn-gmail-submit:hover {
  background: #d93025;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.25);
}

.btn-whatsapp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #25d366;
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn-whatsapp-submit:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
}
.form-status.success {
  background: rgba(30, 169, 82, 0.12);
  color: #6ee79c;
  border: 1px solid rgba(30, 169, 82, 0.25);
}
.form-status.error {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: var(--azul-oscuro);
  color: rgba(255,255,255,.5);
}
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img { margin-bottom: 1rem; opacity: .9; }
.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer__col h4 {
  color: var(--blanco);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transicion);
}
.footer__col a:hover { color: var(--blanco); }
.footer__bottom {
  padding-block: 1.25rem;
  font-size: 0.78rem;
  text-align: center;
}

/* =========================================
   QUIÉNES SOMOS & HISTORIA
========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
  align-items: start;
}
.about-history p {
  color: var(--gris-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.about-kicker-card {
  margin-top: 1.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--azul);
}
.kicker-quote {
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gris-900);
  letter-spacing: -0.01em;
}
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-card {
  background: var(--blanco);
  padding: 1.75rem 2rem;
  border-radius: var(--radio);
  border: 1px solid var(--gris-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.about-card__icon {
  color: var(--azul);
  margin-bottom: 0.85rem;
  display: flex;
}
.about-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--gris-900);
}
.about-card p {
  font-size: 0.88rem;
  color: var(--gris-500);
  line-height: 1.65;
}

.about-img-wrap {
  margin-top: 2rem;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gris-200);
}
.about-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.about-img-caption {
  display: block;
  background: var(--blanco);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--gris-500);
  font-weight: 500;
  border-top: 1px solid var(--gris-100);
}

/* =========================================
   CLIENTES CONFIANZA
========================================= */
.trusted-clients {
  margin-top: 2rem;
  border-top: 1px solid var(--gris-200);
  padding-top: 3.5rem;
}
.trusted-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gris-500);
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.5rem;
}
.client-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
  transition: border-color var(--transicion), box-shadow var(--transicion), transform var(--transicion);
  cursor: default;
  user-select: none;
  padding: 0.65rem;
}
.client-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--transicion);
}
.client-badge:hover {
  border-color: var(--gris-300);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.client-badge:hover img {
  filter: grayscale(0) opacity(1);
}

/* =========================================
   TABLA DE TRIPULACIÓN
========================================= */
.crew-section {
  margin-top: 5.5rem;
  border-top: 1px solid var(--gris-200);
  padding-top: 5rem;
}
.section__intro--center {
  text-align: center;
  margin-inline: auto;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 2.5rem;
  border-radius: var(--radio);
  border: 1px solid #d1ebd9;
  box-shadow: 0 4px 24px rgba(0,0,0,0.02);
}
.crew-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--blanco);
  min-width: 700px;
}
.crew-table th, 
.crew-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #d1ebd9;
  vertical-align: middle;
}
.crew-table th:not(:last-child),
.crew-table td:not(:last-child) {
  border-right: 1px solid #d1ebd9;
}
.crew-table tr:last-child td {
  border-bottom: none;
}
.crew-table th {
  background: #e6f7ed;
  font-size: 0.85rem;
  color: var(--verde-dark);
  font-weight: 700;
}
.crew-table tbody tr:nth-child(even) {
  background: #f4fbf7;
}
.crew-table tbody tr:hover {
  background: #e1f7eb;
  transition: background var(--transicion);
}
.crew-table th strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gris-900);
}
.crew-table th span {
  font-size: 0.72rem;
  color: var(--gris-500);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}
.crew-role {
  font-size: 0.92rem;
  color: var(--gris-800);
  width: 28%;
}
.status-yes, 
.status-no {
  text-align: center;
  width: 24%;
}
.badge-yes,
.badge-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-yes {
  background: #e6f7ed;
  color: #177a3c;
}
.badge-no {
  background: #fdf2f2;
  color: #b91c1c;
}
.crew-table-note {
  font-size: 0.8rem;
  color: var(--gris-500);
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* =========================================
   PROCESO DE COORDINACIÓN
========================================= */
.process-section {
  margin-top: 5.5rem;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step-card {
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  padding: 2.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--azul);
  box-shadow: 0 8px 30px rgba(26,79,168,0.06);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(30,169,82,0.2);
}
.step-card h4 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--gris-900);
}
.step-card p {
  font-size: 0.85rem;
  color: var(--gris-500);
  line-height: 1.65;
}

/* =========================================
   EMAILS CONVENIOS
========================================= */
.convenios-emails {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.convenios-emails a {
  color: #6ee79c;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transicion);
  width: fit-content;
}
.convenios-emails a svg {
  flex-shrink: 0;
  color: #6ee79c;
  transition: color var(--transicion);
}
.convenios-emails a:hover,
.convenios-emails a:hover svg {
  color: var(--blanco);
}

/* responsive overrides */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .step-card {
    padding: 1.75rem 1.25rem;
  }
}

/* =========================================
   WHATSAPP FAB
========================================= */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transicion), box-shadow var(--transicion);
  animation: fabPulse 2.5s infinite ease-in-out;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover {
  animation-play-state: paused;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.65);
}

@keyframes fabPulse {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 4px 22px rgba(37, 211, 102, 0.7); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/* =========================================
   RESPONSIVE — TABLET ≤ 1024px
========================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-card                        { border-right: 1px solid var(--gris-200); border-bottom: 1px solid var(--gris-200); }
  .svc-card:nth-child(2n)          { border-right: none; }
  .svc-card:nth-child(7)           { grid-column: span 2; border-right: none; }
  .svc-card:nth-last-child(-n+1)   { border-bottom: none; }

  .coverage-layout { grid-template-columns: 1fr; }
  .coverage-map { aspect-ratio: 16/7; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

/* =========================================
   RESPONSIVE — MÓVIL ≤ 768px
========================================= */
@media (max-width: 768px) {
  :root { --header-h: 80px; }

  /* Contenedores y espaciado general para dar aire y holgura */
  .container {
    width: 90%;
  }
  .section {
    padding-block: 3.5rem 3rem;
  }

  /* Logo más compacto en móvil */
  .header__logo img { height: 52px; }

  /* Header: ocultar nav desktop, mostrar hamburguesa */
  .header__nav  { display: none; }
  .nav__toggle  { display: flex; }
  .mobile-menu  { display: block; }

  /* Hero */
  .hero {
    min-height: auto;
  }
  .hero__photo-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,20,10,.75) 0%,
      rgba(10,20,10,.6) 100%
    );
  }
  .hero__body {
    padding-block: 2.5rem 2rem;
  }
  .hero__kicker {
    margin-bottom: 0.75rem;
  }
  .hero__text h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }
  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  .hero__ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding-block: 0.75rem;
  }

  /* Stats bar con CSS Grid para evitar bugs de orden y bordes */
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-item {
    padding: 1.2rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .stat-item strong {
    font-size: 1.5rem;
  }
  .stat-item span {
    font-size: 0.72rem;
  }
  .stat-item:nth-of-type(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
  .stat-item:nth-last-of-type(-n+2) {
    border-bottom: none;
  }
  .stat-divider {
    display: none;
  }

  /* Tarjetas de servicios: Menos padding lateral para dar espacio al texto */
  .services-grid { grid-template-columns: 1fr; }
  .svc-card {
    padding: 1.75rem 1.25rem;
    border-right: none !important;
    border-bottom: 1px solid var(--gris-200) !important;
    grid-column: span 1 !important;
  }
  .svc-card:last-child { border-bottom: none !important; }

  /* Quiénes somos: Ajustes de padding en tarjetas e imagen */
  .about-card {
    padding: 1.5rem 1.25rem;
  }
  .about-img {
    height: 280px;
  }

  /* Pasos del proceso: Menos padding */
  .step-card {
    padding: 1.5rem 1.25rem;
  }

  /* Interacciones táctiles premium (Active/Tap Feedback) */
  .svc-card:active,
  .about-card:active,
  .step-card:active {
    transform: scale(0.975);
    background-color: var(--gris-50) !important;
    transition: transform 0.15s ease, background-color 0.15s ease;
  }

  /* Galería */
  .gal-desktop { display: none; }
  .gal-mobile { display: block; }

  /* Cobertura */
  .coverage-map { aspect-ratio: 4/3; }

  /* Formulario y Contacto */
  .field-row { grid-template-columns: 1fr; }
  .contact-form {
    padding: 1.75rem 1.25rem;
  }

  /* Clientes */
  .client-badge {
    width: 140px;
    height: 68px;
    padding: 0.5rem;
  }

  /* Footer */
  .footer__main { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }

  /* FAB */
  .wa-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* =========================================
   RESPONSIVE — PEQUEÑO ≤ 480px
========================================= */
@media (max-width: 480px) {
  .section { padding-block: 3rem 2.5rem; }
}

/* =========================================
   ANIMACIÓN ENTRADA
========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   FORM HIGHLIGHT ANIMATION
========================================= */
@keyframes formPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 79, 168, 0.4);
    border-color: rgba(26, 79, 168, 0.6);
  }
  50% {
    box-shadow: 0 0 25px 8px rgba(26, 79, 168, 0.85);
    border-color: var(--azul);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 79, 168, 0);
  }
}
.contact-form.form-highlight {
  animation: formPulse 1.6s ease-out;
}

/* =========================================
   MEDIOS DE PAGO (FOOTER)
========================================= */
.footer__payments {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background: rgba(0, 0, 0, 0.2);
}
.footer__payments-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.payments-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.payments-bar {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(to bottom, var(--azul) 0%, var(--verde) 100%);
  border-radius: 2px;
}
.payments-title h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blanco);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.payments-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.payment-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  transition: background var(--transicion), border-color var(--transicion), transform var(--transicion);
  user-select: none;
}
.payment-logo-badge:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.payment-logo-badge img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.2) opacity(0.85);
  transition: filter var(--transicion);
}
.payment-logo-badge:hover img {
  filter: grayscale(0) opacity(1);
}

/* Text-based badge styles */
.payment-logo-badge--text {
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transicion), border-color var(--transicion), transform var(--transicion), color var(--transicion);
}
.payment-logo-badge--text:hover {
  color: var(--blanco);
}
.payment-icon-svg {
  stroke: currentColor;
  opacity: 0.75;
  transition: opacity var(--transicion);
}
.payment-logo-badge--text:hover .payment-icon-svg {
  opacity: 1;
}
.payment-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.payment-badge-text .p-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.payment-badge-text .p-desc {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer__payments-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .payments-logos {
    gap: 1rem;
    width: 100%;
  }
  .payment-logo-badge {
    height: 46px;
    padding: 0.4rem 0.8rem;
  }
}


