/* ============ Selectas — Landing B2B ============ */

/* Poppins autoalojada (evita dependencia externa de Google Fonts en el critical path) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

:root {
  --azul-marino: #1a2b4c;
  --azul-marino-suave: #1f4788;
  --gris-azulado: #6b7280;
  --blanco: #ffffff;
  --gris-claro: #f5f6f8;
  --linea: #e6e8ec;
  --verde: #3f7d3f;
  --whatsapp: #25d366;
  --dur-reveal: 2.4s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--azul-marino);
  background: var(--blanco);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.seccion { padding: 100px 0; }
.seccion--gris { background: var(--gris-claro); }

.titulo-seccion {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-marino);
  margin-bottom: 18px;
}

.subtexto-seccion {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  color: var(--gris-azulado);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border: 1.5px solid var(--azul-marino);
  border-radius: 100px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all .25s ease, transform .25s ease;
  cursor: pointer;
  background: transparent;
}

.btn:hover { transform: scale(1.06); }

.header__whatsapp,
.wa-flotante,
.hero__flecha,
.cliente-logo {
  transition: all .25s ease, transform .25s ease;
}
.header__whatsapp:hover { transform: scale(1.06); }
.wa-flotante:hover { transform: scale(1.08); }
.hero__flecha:hover { transform: translateY(-50%) scale(1.1); }

.btn--sobre-foto {
  border-color: rgba(255,255,255,.8);
  color: var(--blanco);
  background: rgba(10,20,40,.35);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.btn--sobre-foto:hover {
  background: var(--blanco);
  color: var(--azul-marino);
}

.btn--solido {
  background: var(--azul-marino);
  color: var(--blanco);
  border-color: var(--azul-marino);
}
.btn--solido:hover { background: var(--azul-marino-suave); }

.btn--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--blanco);
}
.btn--whatsapp:hover { background: #1ebc59; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 22px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 44px;
  width: 69px;
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}
.header.scrolled .header__logo img { filter: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 100px;
  padding: 8px 8px;
}

.nav a {
  color: var(--blanco);
  font-size: .9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background .2s ease;
  white-space: nowrap;
}

.nav a:hover { background: rgba(255,255,255,.2); }

.header__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 46px;
  height: 46px;
  border-radius: 100px;
  background: var(--whatsapp);
  color: var(--blanco);
  font-size: 1.3rem;
  padding: 0;
  transition: width .3s ease, padding .3s ease;
  overflow: hidden;
  white-space: nowrap;
}

.header__whatsapp-texto {
  display: none;
  font-size: .85rem;
  font-weight: 600;
}

@media (min-width: 1180px) {
  .header__whatsapp {
    width: auto;
    padding: 0 22px 0 18px;
  }
  .header__whatsapp-texto { display: inline-block; }
}

/* Rango "laptop": el pill de nav se aprieta para no desbordar el header */
@media (min-width: 721px) and (max-width: 1179px) {
  .header__inner { gap: 12px; }
  .nav { gap: 2px; }
  .nav a {
    font-size: .8rem;
    padding: 9px 13px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .header__logo img { height: 36px; width: 56px; }
  .nav a { padding: 8px 10px; font-size: .76rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.6rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Header scrolled state */
.header.scrolled { background: rgba(255,255,255,.95); box-shadow: 0 2px 18px rgba(0,0,0,.06); padding: 14px 0; }
.header.scrolled .nav { background: var(--gris-claro); border-color: var(--linea); }
.header.scrolled .nav a { color: var(--azul-marino); }
.header.scrolled .nav a:hover { background: var(--linea); }

/* ---------- Hero Carousel ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .7s ease;
}

.hero__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slide img,
.hero__slide video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero__flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  color: var(--blanco);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background .2s ease;
}
.hero__flecha:hover { background: rgba(255,255,255,.25); }
.hero__flecha--izq { left: 26px; }
.hero__flecha--der { right: 26px; }

@media (max-width: 720px) {
  .hero__flecha { display: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,.55) 0%, rgba(10,20,40,.35) 45%, rgba(10,20,40,.65) 100%);
}

.hero__contenido {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  padding: 0 24px;
  z-index: 2;
}

.hero__headline {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 700;
  max-width: 900px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.hero__subtexto {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.92);
}

.hero__dots {
  position: absolute;
  bottom: 100px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 3;
}

/* El botón real mide 24x24 (hit target accesible); el punto visible es el ::after centrado */
.hero__dot {
  width: 24px; height: 24px;
  background: transparent;
  cursor: pointer;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__dot::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .2s ease, transform .2s ease;
}
.hero__dot.activa::after { background: var(--blanco); transform: scale(1.2); }

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  z-index: 3;
  animation: rebote 2s infinite;
}

@keyframes rebote {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Nosotros ---------- */
.nosotros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nosotros__imagenes {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nosotros__imagenes img {
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.nosotros__img-1 { grid-column: 1; grid-row: 1 / 3; height: 100%; }
.nosotros__img-2 { grid-column: 2; grid-row: 1; height: 220px; }
.nosotros__img-3 { grid-column: 2; grid-row: 2; height: 220px; }

/* ---------- Carrusel de "Nosotros" para móviles (oculto en escritorio) ---------- */
.nosotros__carrusel-movil {
  display: none;
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
}

.nosotros__carrusel-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}

.nosotros__carrusel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

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

.nosotros__carrusel-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(10,20,40,.45);
  color: var(--blanco);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.nosotros__carrusel-flecha--izq { left: 12px; }
.nosotros__carrusel-flecha--der { right: 12px; }

.nosotros__carrusel-dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 2px;
  z-index: 2;
}

.nosotros__carrusel-dots .hero__dot::after { background: rgba(255,255,255,.5); }
.nosotros__carrusel-dots .hero__dot.activa::after { background: var(--blanco); }

.nosotros__texto .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  color: var(--verde);
  font-weight: 700;
  margin-bottom: 14px;
}

.nosotros__texto h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.25;
}

.nosotros__texto p {
  color: var(--gris-azulado);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.nosotros__stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat h3 {
  font-size: 2rem;
  color: var(--azul-marino);
  font-weight: 700;
}
.stat span {
  font-size: .85rem;
  color: var(--gris-azulado);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Beneficios / Proceso ---------- */
.beneficios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.beneficio {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 44px 32px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.beneficio:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,43,76,.08);
}

.beneficio__icono {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--gris-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-marino);
}

.beneficio h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.beneficio p {
  color: var(--gris-azulado);
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- Proceso banner (parallax fijo) ---------- */
.proceso {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.proceso--parallax {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 900px) {
  /* background-attachment:fixed es inconsistente en iOS Safari */
  .proceso--parallax { background-attachment: scroll; }
}

.proceso__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,.55);
}

.proceso__contenido {
  position: relative;
  z-index: 2;
  color: var(--blanco);
  padding: 0 24px;
}

.proceso__contenido h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  max-width: 700px;
}

/* ---------- Beneficios con fondo rotativo Ken Burns ---------- */
.beneficios-seccion {
  position: relative;
  overflow: hidden;
}

.beneficios-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.beneficios-bg__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.6s ease;
  animation: kenburns 22s ease infinite;
}

.beneficios-bg__img.activa { opacity: 1; z-index: 1; }

@keyframes kenburns {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.beneficios-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,16,32,.72);
  z-index: 2;
}

.beneficios-contenido { position: relative; z-index: 3; }

.titulo-seccion--claro { color: var(--blanco); }
.subtexto-seccion--claro { color: rgba(255,255,255,.8); }

.beneficios-seccion .beneficio {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.2);
}

/* ---------- Inocuidad certificada ---------- */
.inocuidad-seccion { background: var(--gris-claro); }

.inocuidad__cabecera {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.inocuidad__cabecera .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  color: var(--verde);
  font-weight: 700;
  margin-bottom: 14px;
}
.inocuidad__cabecera h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.inocuidad__cabecera p {
  color: var(--gris-azulado);
  font-size: 1.02rem;
}

.inocuidad__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.inocuidad__item {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.inocuidad__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,43,76,.08);
}
.inocuidad__item img {
  height: 64px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
}
.inocuidad__item p {
  color: var(--gris-azulado);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 720px) {
  .inocuidad__grid { grid-template-columns: 1fr; }
  .inocuidad__item { flex-direction: column; text-align: center; }
}

/* ---------- Reveal genérico (fade + movimiento) ---------- */
.reveal {
  opacity: 0;
  transition: opacity var(--dur-reveal) ease, transform var(--dur-reveal) ease;
  will-change: transform, opacity;
}
.reveal--izq { transform: translateX(-60px); }
.reveal--der { transform: translateX(60px); }
.reveal.visible { opacity: 1; transform: translateX(0); }

/* Fade-up: para tarjetas (beneficios, productos, clientes, form) */
.reveal-up {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity var(--dur-reveal) ease, transform var(--dur-reveal) ease;
  will-change: transform, opacity;
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* Fade-text: solo opacidad, sin movimiento, para títulos y párrafos */
.fade-text {
  opacity: 0;
  transition: opacity var(--dur-reveal) ease;
}
.fade-text.visible { opacity: 1; }

/* Stagger — retraso progresivo para elementos dentro de un grid */
.beneficios .beneficio:nth-child(1),
.productos-grid .producto-card:nth-child(1),
.clientes-grid .cliente-logo:nth-child(1) { transition-delay: 0s; }
.beneficios .beneficio:nth-child(2),
.productos-grid .producto-card:nth-child(2),
.clientes-grid .cliente-logo:nth-child(2) { transition-delay: .12s; }
.beneficios .beneficio:nth-child(3),
.productos-grid .producto-card:nth-child(3),
.clientes-grid .cliente-logo:nth-child(3) { transition-delay: .24s; }
.productos-grid .producto-card:nth-child(4),
.clientes-grid .cliente-logo:nth-child(4) { transition-delay: .36s; }
.productos-grid .producto-card:nth-child(5),
.clientes-grid .cliente-logo:nth-child(5) { transition-delay: .48s; }
.productos-grid .producto-card:nth-child(6),
.clientes-grid .cliente-logo:nth-child(6) { transition-delay: .6s; }
.productos-grid .producto-card:nth-child(7),
.clientes-grid .cliente-logo:nth-child(7) { transition-delay: .72s; }
.productos-grid .producto-card:nth-child(8),
.clientes-grid .cliente-logo:nth-child(8) { transition-delay: .84s; }

.nosotros__imagenes { perspective: 1000px; }

.tilt {
  transition: transform .25s ease, box-shadow .25s ease;
  transform-style: preserve-3d;
}
.tilt:hover {
  box-shadow: 0 20px 45px rgba(26,43,76,.22);
  z-index: 2;
}

/* ---------- Productos ---------- */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

.producto-card { text-align: center; }

.producto-card__circulo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--blanco);
  border: 1px solid var(--linea);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 26px;
}

.producto-card__circulo img { object-fit: contain; width: 100%; height: 100%; }

.producto-card__circulo--foto {
  padding: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.producto-card__circulo--foto img { object-fit: cover; }
.producto-card:hover .producto-card__circulo--foto {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(26,43,76,.16);
}

.producto-card h3 {
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.productos-cta { text-align: center; margin-top: 50px; }
.productos-cta p { color: var(--gris-azulado); margin-bottom: 20px; }

/* ---------- Clientes ---------- */
.clientes-seccion {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
@media (max-width: 900px) {
  .clientes-seccion { background-attachment: scroll; }
}

.clientes-seccion__overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,246,248,.93);
  z-index: 0;
}

.clientes-seccion .container { position: relative; z-index: 1; }

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--linea);
  border-radius: 4px;
  overflow: hidden;
}

.clientes-grid--15 { grid-template-columns: repeat(5, 1fr); }

.cliente-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 26px;
  border: 1px solid var(--linea);
  height: 180px;
  background: var(--blanco);
  transition: all .25s ease;
}

.cliente-logo:hover { transform: scale(1.04); box-shadow: 0 12px 30px rgba(26,43,76,.1); z-index: 2; }

.cliente-logo img { max-height: 110px; width: auto; max-width: 100%; }

/* ---------- Cobertura ---------- */
.cobertura {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.titulo-seccion--izq { text-align: left; }

.cobertura__texto p {
  color: var(--gris-azulado);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 30px;
}
.cobertura__texto p strong { color: var(--azul-marino); }

.cobertura__mapa {
  width: 100%;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--linea);
  box-shadow: 0 16px 40px rgba(26,43,76,.08);
}

@media (max-width: 980px) {
  .cobertura { grid-template-columns: 1fr; }
  .titulo-seccion--izq { text-align: center; }
  .cobertura__mapa { height: 340px; }
}

.mapa-marcador span {
  display: block;
  width: 18px; height: 18px;
  background: var(--azul-marino);
  border: 3px solid var(--blanco);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(26,43,76,.25);
}

/* ---------- Cotiza / Formulario ---------- */
.cotiza-seccion {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cotiza-seccion__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,20,40,.88) 40%, rgba(10,20,40,.6) 100%);
  z-index: 0;
}

.cotiza-seccion .container { position: relative; z-index: 1; }

.cotiza {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.cotiza__texto h2 {
  color: var(--blanco);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.cotiza__texto p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 30px;
}

.cotiza__pasos { list-style: none; margin-bottom: 30px; }
.cotiza__pasos li {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--blanco);
  font-weight: 500;
}
.cotiza__pasos span {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--azul-marino);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
}

.form-card {
  background: var(--gris-claro);
  border-radius: 12px;
  padding: 44px;
}

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.form-card > p {
  color: var(--gris-azulado);
  margin-bottom: 26px;
  font-size: .95rem;
}

.campo { margin-bottom: 18px; }
.campo label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.campo input,
.campo textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--linea);
  border-radius: 6px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--blanco);
}
.campo textarea { resize: vertical; min-height: 100px; }
.campo input:focus, .campo textarea:focus { outline: 2px solid var(--azul-marino-suave); }

.form-card button { width: 100%; justify-content: center; margin-top: 6px; }

.form-card button.cargando { opacity: .7; pointer-events: none; }

.form-card__error {
  display: none;
  color: #c0392b;
  font-size: .85rem;
  margin-top: 14px;
  text-align: center;
}
.form-card__error a { text-decoration: underline; font-weight: 600; }
.form-card__error.visible { display: block; }

.form-card__exito {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-card__exito.visible {
  display: block;
  animation: exitoFade .5s ease;
}
.form-card__exito-icono {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(63,125,63,.12);
  color: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-card__exito h3 { margin-bottom: 10px; }
.form-card__exito p { color: var(--gris-azulado); }

@keyframes exitoFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--azul-marino);
  color: rgba(255,255,255,.85);
  padding: 70px 0 30px;
}

.footer__sellos {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer__sellos-texto {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.6);
}
.footer__sellos img {
  height: 46px;
  width: auto;
  background: var(--blanco);
  border-radius: 6px;
  padding: 4px 8px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.footer__logo img { height: 46px; width: 72px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__col h3 {
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer__col p, .footer__col a {
  display: block;
  margin-bottom: 12px;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
}
.footer__col a:hover { color: var(--blanco); }

.footer__item {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.footer__item--top { align-items: flex-start; }
.footer__item svg {
  flex-shrink: 0;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}
.footer__item--top svg { margin-top: 2px; }

.footer__social { display: flex; gap: 14px; margin-top: 10px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.footer__social a:hover { background: rgba(255,255,255,.15); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom a { text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 1000;
  animation: pulso 2.4s infinite;
}
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Instagram feed ---------- */
.instagram-seccion { background: var(--gris-claro); text-align: center; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.instagram-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.instagram-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.instagram-item:hover img { transform: scale(1.08); }

.instagram-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,43,76,0);
  transition: background .25s ease;
}
.instagram-item:hover::after { background: rgba(26,43,76,.15); }

.instagram-cta { display: flex; justify-content: center; }

@media (max-width: 980px) {
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* ---------- Aviso de Privacidad (página interna) ---------- */
.legal {
  padding: 160px 0 100px;
  max-width: 860px;
  margin: 0 auto;
}
.legal h1 { font-size: 2rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--gris-azulado); line-height: 1.8; margin-bottom: 14px; }
.legal ul { padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nosotros, .cotiza { grid-template-columns: 1fr; }
  .beneficios { grid-template-columns: 1fr 1fr; }
  .productos-grid { grid-template-columns: repeat(3, 1fr); }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid--15 { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.abierto {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 24px;
    background: var(--blanco);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
  }
  .nav.abierto a { color: var(--azul-marino); padding: 12px 20px; }
  .nav-toggle { display: flex; }
  .beneficios { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros__imagenes { display: none; }
  .nosotros__carrusel-movil { display: block; }
  .seccion { padding: 70px 0; }
  .form-card { padding: 30px 24px; }
}
