/* =====================================================
   OMNIPURE — styles.css
   Estructura: Variables → Reset → Utilidades →
               Navbar → Hero → Stats → Enfoque →
               Servicios → Industrias → Certs →
               Clientes → CTA → Footer → Responsive
   ===================================================== */

/* ---- Variables ---- */
:root {
  --blue:        #3491CF;
  --blue-dark:   #2577B0;
  --blue-deeper: #1A5F8F;
  --blue-dark:   #2563EB;
  --blue-deeper: #1D4ED8;
  --n900:        #171717;
  --n700:        #404040;
  --g800:        #1F2937;
  --g600:        #4B5563;
  --g200:        #E5E7EB;
  --g100:        #F3F4F6;
  --stone50:     #F5F5F4;
  --white:       #FFFFFF;

  --font-main:   'Poppins', sans-serif;
  --font-stat:   'Inter', sans-serif;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-nav:  0 10px 21px rgba(0,0,0,0.12);

  --transition:  0.25s ease;
  --max-w:       1400px;
  --section-px:  clamp(20px, 6vw, 120px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--stone50);
  color: var(--n900);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Utilidades ---- */
.text-blue  { color: var(--blue); }
.fw-bold    { font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}
.btn--primary:active {
  transform: translateY(0);
}

/* fade-up animation (activada por JS) */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease var(--delay, 0s),
              transform 0.65s ease var(--delay, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  max-width: 1560px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-nav);
  z-index: 1000;
  transition: box-shadow var(--transition), top var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 80px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar__logo-img {
  height: 90px;
  width: auto;
  display: block;
}

/* Menu */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar__link {
  padding: 8px 18px;
  font-size: 17px;
  font-weight: 400;
  color: var(--g800);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.navbar__link:hover {
  color: var(--blue);
  background: rgba(59,130,246,0.06);
}
.navbar__link--active {
  color: var(--blue);
  font-weight: 700;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--g800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */

/* --- Keyframes burbujas: caen desde arriba y rebotan --- */
@keyframes bubble-drop-1 {
  0%   { transform: translateY(-600px); opacity: 0; }
  65%  { opacity: 1; }
  82%  { transform: translateY(20px); opacity: 1; }
  100% { transform: translateY(0px); opacity: 1; }
}
@keyframes bubble-drop-2 {
  0%   { transform: translateY(-350px) rotate(-6deg); opacity: 0; }
  70%  { opacity: 1; }
  85%  { transform: translateY(12px) rotate(-6deg); opacity: 1; }
  100% { transform: translateY(0px) rotate(-6deg); opacity: 1; }
}
@keyframes bubble-drop-3 {
  0%   { transform: translateY(-300px) rotate(31.48deg); opacity: 0; }
  70%  { opacity: 1; }
  85%  { transform: translateY(10px) rotate(31.48deg); opacity: 1; }
  100% { transform: translateY(0px) rotate(31.48deg); opacity: 1; }
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--stone50);
}

/* Imagen ocupa TODO el fondo */
.hero__image-col {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* Degradado sobre la imagen para que el texto sea legible */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to left,
    rgba(245,245,244,0.92) 28%,
    rgba(245,245,244,0.40) 46%,
    rgba(245,245,244,0.05) 62%,
    transparent 100%
  );
  pointer-events: none;
}

/* --- Burbujas (imagen real PNG transparente) --- */
.hero__deco {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  object-fit: contain;
}

/* Grande — arriba derecha */
.hero__deco--1 {
  width: clamp(700px, 70vw, 1200px);
  top: -80px;
  right: -200px;
  opacity: 1;
  transform-origin: center center;
  animation: bubble-drop-1 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

/* --- Contenido texto — derecha --- */
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 120px clamp(32px, 6vw, 120px) 80px 0;
  gap: 28px;
  width: 50%;
  max-width: 760px;
}

.hero__title {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.19;
  color: var(--n700);
}

.hero__desc {
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--n900);
  max-width: 520px;
}

/* =====================================================
   STATS
   ===================================================== */
.stats {
  background: var(--white);
  padding: 70px var(--section-px) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.stats__grid {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 56px);
  flex-wrap: nowrap;
  width: 100%;
  max-width: var(--max-w);
}

.stats__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats__number {
  font-size: clamp(28px, 3.2vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue);
  white-space: nowrap;
}

.stats__label {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0,0,0,0.7);
  max-width: 140px;
}

.stats__divider {
  width: 100%;
  max-width: var(--max-w);
  height: 3px;
  background: var(--g200);
  margin: 48px 0;
}
.stats__map {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats__map-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-top: 6px;
}

.stats__tagline {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--n900);
  max-width: 680px;
  text-align: center;
}

/* =====================================================
   ENFOQUE
   ===================================================== */

/* Keyframes de entrada */
@keyframes slide-from-left {
  0%   { transform: translateX(-80px); opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}
@keyframes slide-from-right {
  0%   { transform: translateX(80px);  opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}

.enfoque {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 900px;
  overflow: hidden;
  align-items: stretch;
}

/* Columna imagen — más corta que el panel azul */
.enfoque__image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.enfoque__img {
  width: 100%;
  height: 72%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* animación: entra de izquierda a derecha — lenta y visual */
  opacity: 0;
  transform: translateX(-140px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.enfoque.in-view .enfoque__img {
  opacity: 1;
  transform: translateX(0);
}

/* Burbujas: overlap con la imagen (margin negativo sube las burbujas) */
.enfoque__burbu {
  width: 100%;
  max-width: 440px;
  opacity: 0.92;
  pointer-events: none;
  display: block;
  margin-top: -80px; /* sube para tocar/overlap con la imagen */
  position: relative;
  z-index: 2;
}

/* Panel azul — entra de derecha a izquierda, lento y visual */
.enfoque__content {
  background: #3491CF;
  padding: clamp(60px, 8vw, 140px) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 48px;
  opacity: 0;
  transform: translateX(140px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.enfoque.in-view .enfoque__content {
  opacity: 1;
  transform: translateX(0);
}

/* Todos los hijos del panel también entran con el panel */
.enfoque__title,
.enfoque__grid,
.enfoque__item {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.enfoque.in-view .enfoque__title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.35s;
}
.enfoque.in-view .enfoque__item:nth-child(1) { opacity:1; transform:translateX(0); transition-delay: 0.45s; }
.enfoque.in-view .enfoque__item:nth-child(2) { opacity:1; transform:translateX(0); transition-delay: 0.55s; }
.enfoque.in-view .enfoque__item:nth-child(3) { opacity:1; transform:translateX(0); transition-delay: 0.65s; }
.enfoque.in-view .enfoque__item:nth-child(4) { opacity:1; transform:translateX(0); transition-delay: 0.75s; }
.enfoque.in-view .enfoque__item:nth-child(5) { opacity:1; transform:translateX(0); transition-delay: 0.85s; }
.enfoque.in-view .enfoque__item:nth-child(6) { opacity:1; transform:translateX(0); transition-delay: 0.95s; }
.enfoque.in-view .enfoque__grid {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.enfoque__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.19;
  color: var(--white);
}

.enfoque__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
}

.enfoque__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.enfoque__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.enfoque__icon svg { width: 100%; height: 100%; }

.enfoque__item h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 8px;
}
.enfoque__item p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

/* =====================================================
   SERVICIOS
   ===================================================== */
.servicios {
  padding: clamp(60px, 7vw, 120px) var(--section-px);
  background: var(--stone50);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.servicios__header {
  text-align: center;
}
.servicios__eyebrow {
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--n700);
  line-height: 1;
  margin-bottom: 4px;
}
.servicios__title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--n700);
}

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.servicios__card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 388 / 453;
  cursor: pointer;
}

/* Imagen: zoom suave al hover */
.servicios__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.servicios__card:hover img {
  transform: scale(1.06);
}

/* Overlay base — siempre visible, cubre parte inferior */
.servicios__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.88) 100%);
  pointer-events: none;
}

/* Overlay hover — capa extra que aparece encima con fade suave */
.servicios__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.servicios__card:hover::after {
  opacity: 1;
}

/* Contenedor de texto — siempre abajo */
.servicios__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

/* Título siempre visible */
.servicios__label {
  font-size: 18px;
  font-weight: 700;
  color: #E5E7EB;
  line-height: 1.4;
  display: block;
}

/* Descripción: oculta en reposo, aparece en hover */
.servicios__desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.90);
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}
.servicios__card:hover .servicios__desc {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   INDUSTRIAS
   ===================================================== */
.industrias {
  background: var(--white);
  padding: clamp(60px, 7vw, 100px) var(--section-px);
}

.industrias__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.industrias__eyebrow {
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--n900);
  letter-spacing: 0.5px;
}

.industrias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industrias__card {
  background: var(--g100);
  padding: 36px 36px 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.industrias__card:hover {
  background: #3491CF;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(52,145,207,0.30);
}

.industrias__icon {
  width: 72px;
  height: 72px;
  transition: filter 0.4s ease;
}
.industrias__icon svg {
  width: 100%;
  height: 100%;
  transition: stroke 0.4s ease;
}
/* Al hover: íconos SVG se vuelven blancos */
.industrias__card:hover .industrias__icon svg path,
.industrias__card:hover .industrias__icon svg rect,
.industrias__card:hover .industrias__icon svg circle,
.industrias__card:hover .industrias__icon svg ellipse,
.industrias__card:hover .industrias__icon svg line,
.industrias__card:hover .industrias__icon svg polyline,
.industrias__card:hover .industrias__icon svg polygon {
  stroke: #ffffff;
  fill: none;
}

.industrias__card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--n900);
  transition: color 0.4s ease;
}
.industrias__card:hover h3 {
  color: #ffffff;
}

.industrias__card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  color: var(--n900);
  transition: color 0.4s ease;
}
.industrias__card:hover p {
  color: rgba(255,255,255,0.90);
}

/* =====================================================
   CERTIFICACIONES
   ===================================================== */
.certs {
  background: var(--stone50);
  padding: clamp(60px, 7vw, 100px) var(--section-px) clamp(60px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  overflow: visible;
}

/* Burbujas — entre texto legalidad y nuestros clientes, derecha */
.certs__burbu {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: clamp(300px, 34vw, 520px);
  opacity: 0.90;
  pointer-events: none;
  z-index: 0;
}

/* Asegurar que el contenido quede sobre las burbujas */
.certs__header,
.certs__grid,
.certs__footer {
  position: relative;
  z-index: 1;
}

.certs__eyebrow {
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--n700);
  text-align: center;
  letter-spacing: 0.5px;
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.certs__card {
  background: var(--white);
  border-radius: var(--radius-md);
  border-bottom: 5px solid var(--blue);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition);
}
.certs__card:hover {
  transform: translateY(-4px);
}

.certs__img {
  width: 100%;
  aspect-ratio: 288/247;
  object-fit: cover;
  border-radius: 12px;
}

.certs__card p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--n900);
}
.certs__badge {
  font-weight: 700 !important;
  color: var(--blue) !important;
  text-align: center;
}

.certs__footer {
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--n900);
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* =====================================================
   CLIENTES
   ===================================================== */
.clientes {
  background: var(--stone50);
  padding: clamp(40px, 5vw, 80px) 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

.clientes__header {
  padding: 0 var(--section-px);
}
.clientes__eyebrow {
  font-size: 24px;
  font-weight: 400;
  color: var(--n900);
  margin-bottom: 8px;
}
.clientes__title {
  font-family: var(--font-stat);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.375;
  color: var(--n900);
}

/* Infinite scroll carousel */
.clientes__track-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.clientes__track-wrapper::before,
.clientes__track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.clientes__track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.clientes__track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.clientes__track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}
.clientes__track:hover { animation-play-state: paused; }

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clientes__logo {
  width: 240px;
  height: 200px;
  background: var(--white);
  border-right: 1px solid var(--g200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  flex-shrink: 0;
}
.clientes__logo img {
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(60%);
  transition: filter var(--transition);
}
.clientes__logo:hover img { filter: grayscale(0%); }

.clientes__footer {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--n900);
  text-align: right;
  max-width: 740px;
  margin-left: auto;
  padding-right: var(--section-px);
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-final {
  position: relative;
  background: var(--stone50);
  padding: clamp(80px, 10vw, 140px) var(--section-px);
  text-align: center;
  overflow: hidden;
}

/* Burbujas de fondo CTA */
.cta-final__burbu {
  position: absolute;
  top: 36%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: clamp(547px, 138vw, 1209px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.cta-final__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-final__content h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--g800);
  max-width: 560px;
}
.cta-final__content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--g600);
  max-width: 660px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--g200);
}

.footer__main {
  display: grid;
grid-template-columns: 280px 1fr auto auto;  /* ← se cambió */
  align-items: start;  /* ← esto se agregó */
  gap: 64px;
  padding: 64px var(--section-px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* ← esto se agregó */
  gap: 20px;
}

.footer__logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social-link {
  width: 38px;
  height: 38px;
  background: var(--g600);
  color: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer__social-link:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav h4,
.footer__contact h4 {
  font-size: 18px;
  font-weight: 400;
  color: var(--g800);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer__nav a,
.footer__contact a,
.footer__contact p {
  font-size: 15px;
  color: var(--g600);
  line-height: 1.75;
  transition: color var(--transition);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--blue); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--section-px);
  border-top: 1px solid var(--g200);
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 15px;
  color: var(--g600);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
  .certs__grid { grid-template-columns: repeat(3, 1fr); }
  .industrias__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero {
    justify-content: center;
  }
  .hero::after {
    background: linear-gradient(
      to top,
      rgba(245,245,244,0.98) 30%,
      rgba(245,245,244,0.75) 55%,
      rgba(245,245,244,0.20) 100%
    );
  }
  .hero__content {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding: 120px clamp(20px, 5vw, 48px) 60px;
    justify-content: flex-end;
    min-height: 100vh;
  }
  .hero__deco--3 { display: none; }

  .enfoque {
    grid-template-columns: 1fr;
  }
  .enfoque__image-col { max-height: 400px; }
  .enfoque__grid { grid-template-columns: 1fr; }

  .servicios__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .navbar {
    width: calc(100% - 24px);
    top: 12px;
  }
  .navbar__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-nav);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .navbar__menu.open { display: flex; }
  .navbar__hamburger { display: flex; }

  .stats__grid { gap: 24px; }
  .stats__item { flex-direction: column; align-items: flex-start; gap: 4px; }

  .servicios__grid { grid-template-columns: 1fr 1fr; }
  .industrias__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr 1fr; }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px var(--section-px);
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .servicios__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr; }
  .enfoque__grid { gap: 32px; }
}