/* ===================== TOKENS (CLIMAPLUS HVAC) ===================== */
:root {
  /* Pantone 3015C (Azul ClimaPlus) */
  --cp-blue: #006298;
  --cp-blue-light: #1A7EB8;
  --cp-blue-100: rgba(0, 98, 152, .12);
  --cp-cyan: #38BDF8;
  --cp-cyan-light: #7DD3FC;

  /* Pantone 151C (Naranja ClimaPlus) */
  --cp-orange: #FF6600;
  --cp-orange-600: #E05500;
  --cp-orange-100: rgba(255, 102, 0, .14);
  --cp-orange-200: rgba(255, 102, 0, .28);

  --primary: #042037;
  --primary-2: #004570;
  --dark: #021424;

  --text: #0F172A;
  --muted: #475569;
  --bg: #FFFFFF;

  --fw-regular: 500;
  --fw-medium: 600;
  --fw-semibold: 700;
  --fw-bold: 800;

  --radius: 18px;
  --shadow: 0 18px 40px rgba(2, 8, 23, .10);
  --shadow-soft: 0 10px 25px rgba(2, 8, 23, .08);

  --focus: rgba(0, 98, 152, .25);

  --font-main: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "IBM Plex Sans", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
.section__title,
.hero__title,
.pageIntro__title {
  font-family: var(--font-display);
}



/* ===================== BASE ===================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--text);
  background: #f7f8fa;
  letter-spacing: -0.01em;
}

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

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.accent {
  color: var(--cp-blue);
}

/* ===================== NAV ===================== */
/* === TU CSS (igual) ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(2, 8, 23, .06);
  transition: box-shadow .2s ease, background .2s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 10px 40px rgba(2, 8, 23, .10);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  transition: padding .2s ease;
}

.nav.is-scrolled .nav__inner {
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand__logo {
  height: 54px;
  width: auto;
  display: block;
  transition: height .2s ease;
}

@media (max-width:720px) {
  .brand__logo {
    height: 42px;
  }
}

.nav__links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav__link {
  font-weight: 850;
  color: #0F172A;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--cp-blue);
}

.nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #0F172A;
  cursor: pointer;
}

.nav__mobile {
  display: none;
  border-top: 1px solid rgba(2, 8, 23, .06);
  background: rgba(255, 255, 255, .95);
  padding: 10px 0;
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile-link,
.nav__mobile-cta {
  display: block;
  padding: 12px 24px;
  color: #0F172A;
  font-weight: 850;
  text-decoration: none;
}

.nav__mobile-link:hover {
  background: #eef2ff;
}

.nav__mobile-cta {
  background: rgba(233, 116, 0, .10);
  color: #B85A00;
  margin: 8px 16px;
  border-radius: 999px;
  text-align: center;
  border: 1px solid rgba(233, 116, 0, .30);
}

/* Responsive (si no lo tenías ya) */
@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
  }
}

/* === ADD-ONS: Dropdown desktop + mejoras ================================= */

/* Para que el dropdown no “se corte” */
.nav,
.nav__inner {
  overflow: visible;
}

/* Focus visible (accesibilidad) */
.nav__link:focus-visible,
.nav__dropbtn:focus-visible,
.nav__menu-item:focus-visible {
  outline: 3px solid rgba(75, 141, 170, .35);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Contenedor dropdown */
.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Botón de dropdown con estilo de link */
.nav__dropbtn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0F172A;
  font-weight: 850;
}

.nav__dropbtn:hover {
  color: var(--cp-blue);
}

.nav__chev {
  font-size: .85em;
  opacity: .65;
  transform: translateY(1px);
  transition: transform .18s ease, opacity .18s ease;
}

/* Menú */
.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;

  display: block;
  /* importante */
  white-space: nowrap;
  /* evita que se haga multilinea */

  min-width: 320px;
  background: rgba(255, 255, 255, .98);
  border-radius: 16px;
  padding: 10px;

  border: 1px solid rgba(2, 8, 23, .10);
  box-shadow: 0 18px 50px rgba(2, 6, 23, .12);
  z-index: 100;

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: .18s ease;
}


.nav__menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #0F172A;
  font-weight: 800;
  text-decoration: none;
}

.nav__menu-item:hover {
  background: rgba(75, 141, 170, .10);
  /* cp-blue suave */
  color: #0F172A;
}

.nav__menu-sep {
  height: 1px;
  margin: 8px 6px;
  background: rgba(2, 8, 23, .10);
}

/* Abrir por hover / focus-within */
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.nav__dropdown.is-open .nav__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__dropdown.is-open .nav__chev {
  opacity: .95;
  transform: translateY(1px) rotate(180deg);
}


.nav__dropdown:hover .nav__chev,
.nav__dropdown:focus-within .nav__chev {
  opacity: .95;
  transform: translateY(1px) rotate(180deg);
}

/* Móvil: sublinks indentados (si usas is-sub) */
.nav__mobile-group {
  padding: 10px 0;
}

.nav__mobile-title {
  font-weight: 900;
  font-size: .95rem;
  color: rgba(15, 23, 42, .70);
  padding: 6px 24px;
}

.nav__mobile-link.is-sub {
  padding-left: 42px;
  font-weight: 800;
  opacity: .95;
}


/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg,
      var(--cp-orange),
      var(--cp-orange-600));
  color: white;
  box-shadow: 0 10px 25px rgba(255, 102, 0, .35);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(255, 102, 0, .50);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--cp-blue), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 98, 152, .30);
}

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .40);
}

.btn--lg {
  padding: 14px 24px;
  font-size: 16px;
}

/* NAV CTA (outline) */
.nav .btn--primary {
  background: rgba(255, 102, 0, .10);
  color: var(--cp-orange);
  border: 1px solid rgba(255, 102, 0, .40);
  box-shadow:
    0 8px 20px rgba(255, 102, 0, .20),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.nav .btn--primary:hover {
  background: var(--cp-orange);
  color: #ffffff;
  border-color: var(--cp-orange);
  box-shadow: 0 10px 25px rgba(255, 102, 0, .40);
  transform: translateY(-2px);
}

/* CTA pulse ring */
.pulse {
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(233, 116, 0, .75);
  animation: pulseRing 2.1s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% {
    transform: scale(.95);
    opacity: 1;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 640px;
  height: min(75vh, 780px);
  padding: 4.75rem 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  opacity: 1;
  transition: opacity 2.4s ease-in-out, transform 5.5s ease-out;
  will-change: opacity, transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 18, 28, .60) 0%, rgba(12, 18, 28, .84) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "copy proof"
    "copy aside";
  gap: 2rem 3rem;
  align-items: start;
}

.hero__copy {
  grid-area: copy;
  color: #fff;
}

.hero__proof {
  grid-area: proof;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  align-self: center;
  margin-top: 1.4rem;
}

.hero__aside {
  grid-area: aside;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: #4BB3E6;
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero .accent,
.section--dark .accent,
.pageIntro .accent {
  color: #4BB3E6;
  text-shadow: none;
}

.hero__title {
  font-size: clamp(2.6rem, 4.6vw, 4.15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1.1rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 1.9rem;
  color: rgba(255, 255, 255, .86);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.4rem;
}

/* Chips SOLO del hero */
.hero__chips {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.hero__chips .chip {
  -webkit-appearance: none;
  appearance: none;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.hero__chips .chip:hover {
  transform: translateY(-1px);
  background: rgba(56, 189, 248, .18);
  border-color: rgba(56, 189, 248, .85);
}

.hero__chips .chip--active {
  background: linear-gradient(135deg, var(--cp-blue), var(--primary-2));
  color: #ffffff;
  border: 1px solid var(--cp-cyan);
  box-shadow: 0 4px 14px rgba(0, 98, 152, .40);
}

/* Proof cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .95rem;
}

.stat {
  background: rgba(255, 255, 255, .085);
  border-radius: 18px;
  padding: 1.15rem 1.05rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
}

.stat__num--icon {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4BB3E6;
  margin-bottom: .45rem;
}

.stat__label {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-weight: 850;
}

.stat__desc {
  margin-top: .42rem;
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(235, 245, 255, .84);
}

/* Badges */
.hero__badge {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, .08);
  padding: .95rem 1.1rem;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
}

.hero__badge i {
  font-size: 1.25rem;
  color: #4BB3E6;
}

.hero__badge strong {
  display: block;
  font-size: .95rem;
  color: #fff;
}

.hero__badge span {
  font-size: .78rem;
  color: rgba(235, 245, 255, .78);
}

/* HERO responsive */
@media (max-width:1024px) {
  .hero {
    padding: 4.25rem 0;
    height: auto;
    min-height: 0;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "proof" "aside";
    gap: 2rem;
  }

  .hero__proof,
  .hero__aside {
    justify-self: start;
    max-width: 640px;
  }
}

@media (max-width:720px) {
  .hero__title {
    font-size: 2.15rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== SECTIONS / GRID ===================== */
.section {
  padding: 25px 0;
  background: var(--bg);
}

.section--alt {
  background: linear-gradient(180deg, #F3F7FB 0%, #F8FAFD 55%, #FFFFFF 100%);
}

.section--dark {
  background: linear-gradient(180deg, var(--primary), var(--dark));
  color: #fff;
}

.section__head {

  text-align: center;
  margin-bottom: 36px;
}

.section__head--light .section__title,
.section__head--light .section__subtitle {
  color: #fff;
}

.section__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 950;
  letter-spacing: -0.6px;
}

.section__subtitle {
  margin: 0 auto;
  max-width: 860px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===================== BENEFICIOS (cards) ===================== */
.card {
  position: relative;

  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 26px;

  border: 1px solid rgba(2, 8, 23, .08);
  box-shadow: 0 10px 30px rgba(2, 8, 23, .06);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(2, 8, 23, .12);
  border-color: rgba(75, 141, 170, .34);
}

/* ===== Numeración técnica (01 / 02 / 03) ===== */
.card__step {
  display: inline-block;
  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;

  color: var(--cp-blue);
  opacity: .85;
}

/* Línea técnica debajo del número */
.card__step::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 6px;

  background: linear-gradient(90deg,
      var(--cp-blue),
      transparent);

  border-radius: 2px;
  opacity: .6;

  transition: width .25s ease;
}

/* Micro–interacción elegante */
.card:hover .card__step {
  opacity: 1;
}

.card:hover .card__step::after {
  width: 42px;
}

/* Texto */
.card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}


/* ===================== SOLUCIONES (Process Split) ===================== */
.processSplit {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
}

.processSplit__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;

  background-image:
    var(--img);
  background-size: cover;
  background-position: center;

  box-shadow: 0 18px 55px rgba(2, 8, 23, .12);

  /* menos “marco” oscuro */
  border: 1px solid rgba(10, 42, 67, .18);
}

/* overlays técnicos más sutiles */
.processSplit__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 20% 30%, rgba(18, 59, 99, .16), transparent 62%),
    radial-gradient(700px 360px at 80% 70%, rgba(7, 26, 39, .18), transparent 60%);
  pointer-events: none;
}


.processSplit__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 39, .15), rgba(7, 26, 39, .45));
  pointer-events: none;
}

.processSplit__badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--cp-blue);
  display: grid;
  gap: 4px;
  box-shadow: 0 12px 32px rgba(2, 8, 23, .25), inset 0 1px 0 rgba(255, 255, 255, .65);
}

.processSplit__badgeKicker {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 800;
}

.processSplit__badgeTitle {
  font-size: 18px;
  color: #0A2A43;
  line-height: 1.2;
}

.processSplit__badgeText {
  font-size: 13px;
  color: #475569;
}

.processSplit__content {
  background: linear-gradient(180deg, #FFFFFF, #F1F5F9);
  border: 1px solid rgba(10, 42, 67, .18);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(2, 8, 23, .12);
  overflow: hidden;
}

.processSplit__stack {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.pstep {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFFFF, #F6F9FC);
  border: 1px solid rgba(10, 42, 67, .14);
  box-shadow: 0 12px 26px rgba(2, 8, 23, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pstep:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(2, 8, 23, .12);
  border-color: rgba(10, 42, 67, .30);
}

.pstep__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(75, 141, 170, .22), rgba(75, 141, 170, .10));
  border: 1px solid rgba(75, 141, 170, .35);
  color: #0A2A43;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.pstep__title {
  margin: 0 0 4px;
  font-size: 15.5px;
  line-height: 1.25;
  color: #0A2A43;
  font-weight: 700;
}

.pstep__title::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(to right, var(--cp-blue) 70%, transparent);
}

.pstep__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
}

.processSplit__note {
  margin: 0;
  font-size: 13px;
  color: #475569;
}

@media (max-width:980px) {
  .processSplit {
    grid-template-columns: 1fr;
  }

  .processSplit__media {
    min-height: 240px;
  }
}

/* Subhead */
.subhead {
  text-align: center;
  margin-top: 22px;
  margin-bottom: 10px;
}

.subhead--spaced {
  margin-top: 30px;
}

.subhead__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.subhead__text {
  margin: 0 auto;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* ===================== ALCANCE (service cards) ===================== */
.service {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(2, 8, 23, .08);
  box-shadow: 0 10px 30px rgba(2, 8, 23, .06);
  border-bottom: 4px solid rgba(233, 116, 0, .60);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(2, 8, 23, .12);
  border-color: rgba(75, 141, 170, .34);
}

.service__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.service__icon {
  font-size: 28px;
  color: var(--cp-blue);
}

.service__title {
  margin: 0;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.service__text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ===================== TIPOS HVAC&R (typesPro) ===================== */
.typesPro {
  margin-top: clamp(26px, 4vw, 46px);
}

.typesPro__head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 16px;
}

.typesPro__title {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 900;
  color: var(--primary);
}

.typesPro__subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.typesPro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 18px);
  align-items: stretch;
  margin-top: 14px;
}

.typeHero {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  box-shadow: 0 20px 40px rgba(2, 8, 23, .06), 0 2px 6px rgba(2, 8, 23, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.typeHero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(2, 8, 23, .10);
  border-color: rgba(75, 141, 170, .24);
}

.typeHero__media {
  height: 150px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  position: relative;
  filter: saturate(.95) contrast(1.06);
}

.typeHero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 39, .04) 0%, rgba(7, 26, 39, .10) 100%),
    radial-gradient(900px 420px at 50% 0%, rgba(75, 141, 170, .06), transparent 70%);
  pointer-events: none;
}

.typeHero__media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cp-orange), rgba(233, 116, 0, 0));
  opacity: .60;
}

.typeHero__media--tall {
  min-height: 220px;
}

.typeHero__content {
  padding: 18px;
  border-top: 1px solid rgba(75, 141, 170, .18);
}

.typeHero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--cp-blue);
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: .08em;
}

.typeHero__title {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
}

.typeHero__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.typeHeroLink {
  display: contents;
}

/* Chips SOLO en typeHero */
.typeHero__mini {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.typeHero__mini .chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0A2A43;
  border: 1px solid rgba(75, 141, 170, .22);
  background: rgba(255, 255, 255, .92);
}

.typeHero__mini .chip--accent {
  background: rgba(75, 141, 170, .16);
  border-color: rgba(75, 141, 170, .35);
}

.typesPro__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(245, 247, 251, .92));
}

.typesPro__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.typesPro__bar {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(2, 8, 23, .06);
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.barItem {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(10, 42, 67, .92);
  font-weight: 900;
  font-size: 13px;
}

.barItem i {
  color: var(--cp-blue);
}

@media (max-width:980px) {
  .typesPro__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:900px) {
  .typeHero__media--tall {
    min-height: 200px;
  }

  .typesPro__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================== PROJECTS ===================== */
.project {
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, .45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.project__img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project:hover .project__img {
  transform: scale(1.06);
}

.project__body {
  padding: 18px;
}

.project__title {
  margin: 0 0 6px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.project__text {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.65;
}

/* ===================== NOSOTROS (split) ===================== */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}

.split__img {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-block;
  background: rgba(75, 141, 170, .12);
  color: var(--cp-blue);
  font-weight: 950;
  padding: 8px 12px;
  border-radius: 999px;
  margin: 0 0 10px;
}

.split__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 950;
  letter-spacing: -0.6px;
}

.split__text {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #0F172A;
  font-weight: 850;
}

.list i {
  color: var(--cp-blue);
  margin-right: 8px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #071A27;
  color: rgba(255, 255, 255, .78);
  padding: 56px 0 0;
}

/* GRID */
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  align-items: start;
}

.footer__col {
  min-width: 0;
  line-height: 1.4;
}

/* BRAND */
.brand--footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand--footer .brand__logo {
  height: 65px;
  width: auto;
}

.brand__text {
  font-weight: 950;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand__accent {
  color: var(--cp-blue);
}

.footer__desc {
  margin: 0;
  line-height: 1.5;
}

/* TITLES */
.footer__col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 950;
}

/* ITEMS (clave para alineación perfecta) */
.footer__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
}

.footer__item a,
.footer__item span {
  line-height: 1.4;
}

/* Dirección multilínea */
.footer__item--top {
  align-items: start;
}

.footer__item i {
  margin-top: 2px;
  min-width: 16px;
  text-align: center;
}

/* LINKS */
.footer__col a {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--cp-blue);
  text-decoration: underline;
}

/* MAP */
.footer__col--map {
  min-width: 260px;
}

.footer__map {
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
}

.footer__map iframe {
  width: 100%;
  height: 160px;
  border: 0;
  display: block;
}

/* BOTTOM */
.footer__bottom {
  padding: 16px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__legal a {
  margin-left: 14px;
  color: rgba(255, 255, 255, .7);
  font-weight: 800;
}

.footer__legal a:hover {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal a {
    margin: 0 8px;
  }

  .footer__map iframe {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}


/* ===================== WHATSAPP FLOAT ===================== */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .35);
  z-index: 100;
  font-size: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .45);
}

.wa__tooltip {
  position: absolute;
  right: 68px;
  background: #042037;
  color: #ffffff;
  padding: 7px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
  border: 1px solid rgba(255, 255, 255, .10);
}

.wa:hover .wa__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;

}

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

.reveal--left {
  transform: translateX(-18px);
}

.reveal--right {
  transform: translateX(18px);
}

.reveal--zoom {
  transform: scale(.97);
}

.reveal--left.is-visible,
.reveal--right.is-visible {
  transform: translateX(0);
}

.reveal--zoom.is-visible {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .pulse::after {
    animation: none;
  }
}

/* ===================== RESPONSIVE (GLOBAL) ===================== */
@media (max-width:980px) {
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

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

  .nav__toggle {
    display: block;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   LEGAL / PÁGINAS LEGALES
========================= */

.container--narrow {
  max-width: 980px;
}

/* =========================
   HERO / INTRO (LEGAL)
========================= */

/* Si tu NAV es sticky/fixed, esto evita que el hero se sienta “pegado” */
.pageIntro {
  padding: clamp(22px, 3vw, 44px) 0;
}

/* Kicker con estilo pro */
.pageIntro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: .80rem;
  letter-spacing: .16em;
  text-transform: uppercase;
    color: rgba(75, 141, 170, .95);
}

.pageIntro__kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(233, 116, 0, .70);
}

/* Afinar jerarquía del título/subtítulo (sin romper tu diseño general) */
.pageIntro__title {
  margin: 0 0 8px;
  line-height: 1.05;
}

.pageIntro__subtitle {
  max-width: 62ch;
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

/* Separación elegante entre hero y contenido */
.pageIntro+.section {
  padding-top: clamp(18px, 2vw, 28px);
}

/* =========================
   LAYOUT LEGAL
========================= */

.legalLayout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Card base */
.legalCard {
  background: #fff;
  border: 1px solid rgba(10, 42, 67, .10);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10, 42, 67, .06);
  padding: 22px 22px;
}

/* Sticky TOC */
.legalCard--sticky {
  position: sticky;
  top: 92px;
  /* si tu nav es más alto, sube este valor */
  backdrop-filter: blur(6px);
}

/* Sidebar title */
.legalAside__title {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: .2px;
}

/* Sidebar TOC */
.legalToc {
  display: grid;
  gap: 6px;
}

.legalToc a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.legalToc a:hover {
  color: var(--primary);
  background: rgba(75, 141, 170, .08);
  /* cp-blue suave */
  border-color: rgba(75, 141, 170, .18);
  transform: translateX(2px);
}

/* ===== TOC INLINE (por si lo usas en vez del sidebar) ===== */
.legalTocBox {
  margin: 18px 0 26px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(75, 141, 170, .08);
  border: 1px solid rgba(75, 141, 170, .18);
}

.legalTocBox__title {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.legalTocBox__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legalTocBox__links a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--primary);
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(10, 42, 67, .10);
  font-size: .95rem;
  transition: border-color .2s ease, transform .2s ease;
}

.legalTocBox__links a:hover {
  border-color: rgba(233, 116, 0, .35);
  transform: translateY(-1px);
}

/* =========================
   TYPOGRAFÍA LEGAL
========================= */

.legal h2 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  color: var(--primary);
  scroll-margin-top: 110px;
  /* para que al dar click no lo tape el nav */
}

.legal h3 {
  margin: 14px 0 6px;
  font-size: 1.05rem;
  color: var(--primary-2);
}

.legal p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: var(--text);
}

/* List nicer */
.legal ul {
  margin: 10px 0 14px;
  padding-left: 0;
  list-style: none;
}

.legal li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  line-height: 1.7;
  color: var(--text);
}

.legal li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(233, 116, 0, .75);
  /* cp-orange */
}

/* Callout (ARCO) */
.legalCallout {
  margin: 16px 0 18px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(75, 141, 170, .08);
  border: 1px solid rgba(75, 141, 170, .18);
}

.legalCallout__title {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.legalMail {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed rgba(10, 42, 67, .35);
}

.legalMail:hover {
  border-bottom-style: solid;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .legalLayout {
    grid-template-columns: 1fr;
  }

  .legalCard--sticky {
    position: relative;
    top: auto;
  }
}

/* Mobile: evita que el H1 se vea gigante o apretado */
@media (max-width: 640px) {
  .pageIntro__title {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }
}

/* ===============================
   BRANDS / MARCAS
================================ */

.brandsCarousel {
  overflow: hidden;
  margin-top: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(4, 32, 55, .08);
  border-radius: 20px;
  padding: 22px 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(4, 32, 55, .04);
}

.brandsTrack {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: max-content;
  animation: brandsScroll 40s linear infinite;
}

.brandsTrack img {
  height: 52px;
  width: auto;
  filter: grayscale(0%) opacity(1);
  transition: filter .3s ease, transform .3s ease, opacity .3s ease;
}

.brandsTrack img:hover {
  transform: scale(1.08);
  filter: grayscale(0%) opacity(1);
}

@keyframes brandsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brandsNote {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}


.sectionDivider{
  margin: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(10,42,67,.12),
    transparent
  );
}


#marcas .section__title{
  letter-spacing: -0.02em;
}

#marcas .section__title span{
  color: var(--cp-blue);
}

#marcas{
   border-bottom: 1px solid rgba(10,42,67,.08);
  padding-top: 10px;
  padding-bottom: 36px;
}

#marcas .section__text{
  max-width: 720px;
  margin-inline: auto;
  color: #475569; /* muted */
}

/* =====================================================
   LANDING PAGE COMPONENTS
===================================================== */

/* Badge Tag */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 98, 152, .08);
  color: var(--cp-blue);
  border: 1px solid rgba(0, 98, 152, .18);
  margin-bottom: 0.75rem;
}

.badge-tag--light {
  background: rgba(75, 179, 230, .12);
  color: #4BB3E6;
  border-color: rgba(75, 179, 230, .25);
}

.badge-tag--orange {
  background: rgba(255, 102, 0, .10);
  color: var(--cp-orange);
  border-color: rgba(255, 102, 0, .25);
}

.title--lg {
  font-size: clamp(2rem, 3.2vw, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

/* Check lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.4;
}

.check-list li i {
  color: var(--cp-orange);
  font-size: 0.85rem;
  margin-top: 3px;
}

/* Benefits Grid (5 Columns) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}

@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, .45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .20);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(75, 179, 230, .14);
  border: 1px solid rgba(75, 179, 230, .25);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #4BB3E6;
  margin-bottom: 1rem;
}

.benefit-card__title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 850;
  margin: 0 0 0.5rem;
}

.benefit-card__text {
  color: rgba(235, 245, 255, .78);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* Lead Capture Box */
.lead-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: linear-gradient(135deg, #042037 0%, #072e4f 100%);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 25px 60px rgba(4, 32, 55, .25);
  border: 1px solid rgba(255, 255, 255, .12);
  align-items: center;
}

@media (max-width: 980px) {
  .lead-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

.lead-box__title {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.lead-box__text {
  color: rgba(235, 245, 255, .84);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.lead-box__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #FFFFFF;
}

.contact-item i {
  font-size: 1.35rem;
  width: 32px;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(235, 245, 255, .65);
}

.contact-item a, .contact-item span {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--cp-orange);
}

/* Form Styling */
.lead-form {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.lead-form__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 1.2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1E293B;
  background: #F8FAFC;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cp-blue);
  box-shadow: 0 0 0 3px rgba(0, 98, 152, .15);
  background: #FFFFFF;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.btn--block {
  width: 100%;
  justify-content: center;
}

