:root {
  --tinta: #1d2b3a;
  --tinta-2: #2c3e50;
  --crema: #f4ede1;
  --papel: #fcf9f3;
  --coral: #e84d2c;
  --coral-2: #ff5a3c;
  --teal: #2ec4b6;
  --oro: #c98a2d;
  --radio: 18px;
  --sombra: 0 20px 50px rgba(29, 43, 58, 0.14);
  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fuente);
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.contenedor {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 43, 58, 0.08);
}
.nav__interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo__img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.logo__txt { line-height: 1.1; }
.logo__nombre { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.3px; }
.logo__sub { font-size: 0.72rem; color: var(--coral); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }

.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a { font-weight: 600; font-size: 0.96rem; transition: color 0.2s; }
.nav__links a:hover { color: var(--coral); }
.nav__cta {
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--coral-2); transform: translateY(-1px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  color: #fff;
  padding: 90px 0 120px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--tinta);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(20, 28, 38, 0.94), rgba(20, 28, 38, 0.55));
}
.hero__grilla {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero__insignia {
  display: inline-flex;
  gap: 8px;
  background: rgba(255, 90, 60, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 22px 0 6px;
  font-weight: 900;
}
.hero h1 em { font-style: normal; color: var(--coral-2); }
.hero h1 span { color: var(--teal); }
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: 0.92;
  max-width: 620px;
  margin-top: 20px;
}
.hero__acciones { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.boton {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.boton:hover { background: var(--coral-2); transform: translateY(-2px); }
.boton--linea {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.boton--linea:hover { background: rgba(255, 255, 255, 0.2); }

.hero__datos {
  display: flex;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.hero__dato b { display: block; font-size: 1.25rem; }

/* Video */
.hero__video {
  position: relative;
  width: min(360px, 100%);
  margin-inline: auto;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  background: #000;
  aspect-ratio: 9 / 16;
}
.hero__video .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}
.hero__etiqueta {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
}

/* ============ SECCIONES ============ */
.seccion { padding: 84px 0; }
.seccion--blanca { background: var(--papel); }
.seccion--tinta { background: var(--tinta); color: #fff; }

.seccion__encabezado { max-width: 760px; margin-bottom: 44px; }
.seccion__etiqueta {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.8rem;
}
.seccion h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin: 12px 0 14px;
  font-weight: 900;
}
.seccion h2 em { font-style: normal; color: var(--coral); }
.seccion__encabezado p { color: #5a6472; font-size: 1.05rem; }
.seccion--tinta .seccion__encabezado p { color: #c9d2dd; }

/* ============ CARACTERÍSTICAS / POR QUÉ ============ */
.rejilla { display: grid; gap: 20px; }
.rejilla--3 { grid-template-columns: repeat(3, 1fr); }
.rejilla--4 { grid-template-columns: repeat(4, 1fr); }

.tarjeta {
  background: #fff;
  border-radius: var(--radio);
  padding: 26px;
  box-shadow: var(--sombra);
  border: 1px solid rgba(29, 43, 58, 0.05);
}
.tarjeta .icono {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--crema);
  margin-bottom: 16px;
}
.tarjeta h3 { font-size: 1.12rem; margin-bottom: 8px; font-weight: 800; }
.tarjeta p { color: #5a6472; font-size: 0.95rem; }

/* ============ GALERÍA ============ */
.galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.galeria__item {
  border-radius: var(--radio);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sombra);
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.galeria__item:hover img { transform: scale(1.06); }
.galeria__item .pie {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 14px 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.galeria--linea {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.galeria--linea .galeria__item {
  min-width: 240px;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}

/* ============ PROCESO ============ */
.pasos { counter-reset: paso; display: grid; gap: 0; }
.paso {
  display: grid;
  grid-template-columns: 52px 1.1fr 0.7fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(29, 43, 58, 0.08);
}
.paso__num {
  counter-increment: paso;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
}
.paso__num::before { content: counter(paso); }
.paso h3 { font-size: 1.3rem; font-weight: 800; }
.paso p { color: #5a6472; font-size: 0.96rem; margin-top: 4px; }
.paso__img { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sombra); }
.paso__img img { width: 100%; height: 100%; object-fit: cover; }
.paso__dur { font-size: 0.9rem; font-weight: 800; color: var(--coral); text-align: right; }

/* ============ SERVICIOS (catálogo) ============ */
.tarjetas { display: grid; gap: 20px; }
.tarjetas--2 { grid-template-columns: repeat(2, 1fr); }
.tarjeta--grande a { display: block; }
.tarjeta--grande h3 { font-size: 1.35rem; }
.tarjeta--grande p { margin-top: 4px; }
.precio { font-weight: 900; color: var(--coral); font-size: 1.15rem; margin-top: 14px; }
.enlace { display: inline-block; margin-top: 14px; color: var(--coral); font-weight: 700; }
.enlace:hover { text-decoration: underline; }

/* ============ CONTACTO ============ */
.contacto__grilla {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.asesores { display: grid; gap: 14px; }
.asesor {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--sombra);
}
.asesor__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.asesor h4 { font-weight: 800; }
.asesor .cargo { font-size: 0.82rem; color: var(--coral); font-weight: 600; }
.asesor .tel { font-size: 0.95rem; font-weight: 700; }
.asesor__botones { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  transition: transform 0.15s;
}
.chip:hover { transform: translateY(-1px); }
.chip--wpp { background: #25d366; }
.chip--tel { background: var(--tinta-2); }

/* Datos de contacto */
.dato {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29, 43, 58, 0.08);
}
.dato .icono { font-size: 1.4rem; }
.dato b { display: block; font-weight: 800; }
.dato p { color: #5a6472; }

/* Mapa */
.mapa {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  min-height: 300px;
  background: var(--tinta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  text-align: center;
  padding: 30px;
}

/* ============ REDES / CTA ============ */
.redes { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.redes a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  color: var(--tinta);
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 14px;
  box-shadow: var(--sombra);
  transition: transform 0.2s, color 0.2s;
}
.redes a:hover { transform: translateY(-2px); color: var(--coral); }

/* ============ CLIENTES QUE BUSCAN ============ */
.buscadores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.buscador {
  background: #fff;
  border: 1px solid rgba(29, 43, 58, 0.06);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.buscador:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.buscador__tag { font-size: 0.78rem; font-weight: 800; color: var(--coral); text-transform: uppercase; letter-spacing: 0.06em; }
.buscador h3 { font-size: 1.06rem; margin-top: 6px; font-weight: 800; }
.buscador p { color: #5a6472; font-size: 0.9rem; margin-top: 6px; }
.buscador .enlace { font-size: 0.9rem; }

/* ============ FOOTER ============ */
.footer { background: var(--tinta); color: #c9d2dd; padding: 60px 0 30px; }
.footer__grilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer a, .footer .nit { display: block; margin-bottom: 8px; font-size: 0.93rem; transition: color 0.2s; }
.footer a:hover { color: var(--coral-2); }
.footer .pie { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.85rem; text-align: center; opacity: 0.85; }
.footer .logo__nombre { color: #fff; }
.nit { font-weight: 800; color: #fff; }

/* ============ TRANSPARENCIA ADS ============ */
.transparencia {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  font-size: 0.98rem;
}
.transparencia p { max-width: 720px; color: #cfd7e1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero__grilla { grid-template-columns: 1fr; }
  .rejilla--4 { grid-template-columns: repeat(2, 1fr); }
  .rejilla--3 { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .paso { grid-template-columns: 52px 1fr; }
  .paso__dur { text-align: left; }
  .contacto__grilla { grid-template-columns: 1fr; }
  .buscadores { grid-template-columns: repeat(2, 1fr); }
  .footer__grilla { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .rejilla--4, .rejilla--3, .tarjetas--2, .buscadores { grid-template-columns: 1fr; }
  .footer__grilla { grid-template-columns: 1fr; }
  .seccion { padding: 60px 0; }
}

/* ============ IMG LOAD ============ */
img.ld { opacity: 0; transition: opacity 0.6s; }
img.ld[src] { opacity: 1; }