/* =====================================================
   ClimaPlus — site.css (sistema premium)
   Marino profundo + ámbar · retícula técnica · movimiento contenido
   Fuentes: Manrope (títulos) + IBM Plex Sans (texto)
===================================================== */

/* ---------- Fuentes (alojadas en el sitio) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff") format("woff");
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/plex.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --deep: #081A2E;
  --navy: #0A1E33;
  --navy-2: #0F2A47;
  --navy-3: #16385C;
  --ink: #14263A;
  --muted: #5A6B7D;
  --muted-2: #8A98A8;
  --line: #E3E8EE;
  --line-2: #D4DCE4;
  --mist: #F5F7FA;
  --mist-2: #EAF0F5;
  --blue: #0B5C8E;
  --sky: #7FB8DA;
  --gold: #E9A23B;
  --gold-2: #D48D24;
  --gold-soft: rgba(233, 162, 59, .14);
  --wa: #25D366;

  --on-dark: #fff;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-3: rgba(255, 255, 255, .5);
  --line-dark: rgba(255, 255, 255, .12);

  --f-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 8px;
  --r-sm: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

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

.lp {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.lp [hidden] {
  display: none !important;
}

.lp h1,
.lp h2,
.lp h3,
.lp h4 {
  font-family: var(--f-display);
  letter-spacing: -.025em;
  line-height: 1.12;
}

:where(.lp) a {
  color: inherit;
}

.lp :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
}

.skip:focus {
  left: 12px;
}

/* ---------- Tipografía de sección ---------- */
.lp-over {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.lp-over::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.lp-over b {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .08em;
}

.lp-over--light {
  color: var(--gold);
}

.lp-over--light b {
  color: #fff;
}

.lp-h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
}

.lp-h2--light {
  color: #fff;
}

.lp-lead {
  margin: 0 0 24px;
  max-width: 56ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.lp-lead--light {
  color: var(--on-dark-2);
}

.lp-head {
  margin-bottom: 56px;
}

.lp-head--center {
  text-align: center;
}

.lp-head--center .lp-over {
  justify-content: center;
}

.lp-head--center .lp-over::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.lp-head--center .lp-lead {
  margin-left: auto;
  margin-right: auto;
}

.lp-head--split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: end;
}

.lp-head--split .lp-h2,
.lp-head--split .lp-lead {
  margin-bottom: 0;
}

.lp-head--split>.lp-btn {
  justify-self: end;
}

/* ---------- Secciones ---------- */
.lp-sec {
  position: relative;
  padding: 112px 0;
  background: #fff;
}

.lp-sec--tight {
  padding: 64px 0;
}

.lp-sec--mist,
.lp-sec--ice {
  background: var(--mist);
}

.lp-sec--white {
  background: #fff;
}

.lp-sec--dark {
  background: var(--navy);
  color: #fff;
}

.lp-mt {
  margin-top: 56px;
}

.lp-flow,
.lp-hero__shape,
.lp-why__shape {
  display: none;
}

/* ---------- Botones ---------- */
.lp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.lp-btn i {
  transition: transform .35s var(--ease);
}

.lp-btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

.lp-btn:hover i.fa-arrow-up {
  transform: translateY(-3px);
}

.lp-btn--primary {
  background: var(--gold);
  color: var(--deep) !important;
}

.lp-btn--primary:hover {
  background: var(--gold-2);
}

.lp-btn--ghost,
.lp-btn--outline,
.lp-btn--wa {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line-2);
}

.lp-btn--ghost:hover,
.lp-btn--outline:hover,
.lp-btn--wa:hover {
  border-color: var(--navy);
}

.lp-btn--wa i {
  color: var(--wa);
  font-size: 1.15em;
}

.lp-hero .lp-btn--ghost,
.lp-hero .lp-btn--outline,
.lp-hero .lp-btn--wa,
.ph .lp-btn--ghost,
.ph .lp-btn--wa,
.lp-sec--dark .lp-btn--ghost,
.lp-sec--dark .lp-btn--wa,
.lp-final .lp-btn--ghost,
.lp-final .lp-btn--wa,
.band .lp-btn--ghost,
.band .lp-btn--wa,
.teaser .lp-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3);
}

.lp-hero .lp-btn--ghost:hover,
.lp-hero .lp-btn--outline:hover,
.lp-hero .lp-btn--wa:hover,
.ph .lp-btn--ghost:hover,
.ph .lp-btn--wa:hover,
.lp-sec--dark .lp-btn--wa:hover,
.lp-final .lp-btn--wa:hover,
.band .lp-btn--ghost:hover,
.band .lp-btn--wa:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .05);
}

.lp-btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.lp-btn--lg {
  padding: 16px 28px;
  font-size: 15.5px;
}

.lp-btn--block {
  width: 100%;
  padding: 17px 24px;
  font-size: 16px;
}

.lp-btn[disabled] {
  opacity: .7;
  cursor: progress;
}

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--deep);
  color: var(--on-dark-3);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 36px;
}

.topbar__r {
  display: flex;
  gap: 24px;
}

.topbar a {
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color .2s;
}

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

.topbar i {
  margin-right: 6px;
  color: var(--gold);
}

/* ---------- Navegación ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 30, 51, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: box-shadow .3s;
}

.lp-nav.is-scrolled {
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
}

.lp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.lp-nav__brand img {
  height: 44px;
  width: auto;
  transition: height .3s var(--ease);
}

.lp-nav.is-scrolled .lp-nav__brand img {
  height: 38px;
}

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

.lp-nav__links>a,
.lp-dd__btn {
  position: relative;
  padding: 8px 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-dark-2);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}

.lp-nav__links>a::after,
.lp-dd__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.lp-nav__links>a:hover,
.lp-dd__btn:hover,
.lp-nav__links>a[aria-current="page"],
.lp-dd__btn[aria-current="page"] {
  color: #fff;
}

.lp-nav__links>a:hover::after,
.lp-dd__btn:hover::after,
.lp-nav__links>a[aria-current="page"]::after,
.lp-dd__btn[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lp-dd {
  position: relative;
}

.lp-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lp-dd__btn i {
  font-size: 10px;
  transition: transform .3s var(--ease);
}

.lp-dd.is-open .lp-dd__btn i,
.lp-dd:hover .lp-dd__btn i {
  transform: rotate(180deg);
}

.lp-dd__menu {
  position: absolute;
  left: -24px;
  top: calc(100% + 14px);
  width: 340px;
  padding: 8px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 30px 60px -20px rgba(8, 26, 46, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}

.lp-dd__menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.lp-dd:hover .lp-dd__menu,
.lp-dd.is-open .lp-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lp-dd__menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background .2s;
}

.lp-dd__menu a:hover {
  background: var(--mist);
}

.lp-dd__menu--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 660px;
}

.lp-dd__col+.lp-dd__col {
  padding-left: 4px;
  border-left: 1px solid var(--line);
}

.lp-dd__sep {
  margin: 6px 12px 2px;
  padding-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-dd__menu strong {
  display: block;
  font-family: var(--f-display);
  font-size: 15px;
  color: var(--navy);
}

.lp-dd__menu small {
  font-size: 13px;
  color: var(--muted);
}

.lp-dd__ico {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--mist-2);
  color: var(--blue);
  transition: background .2s, color .2s;
}

.lp-dd__menu a:hover .lp-dd__ico {
  background: var(--navy);
  color: var(--gold);
}

.lp-nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lp-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.lp-nav__phone i {
  color: var(--gold);
}

.lp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.lp-burger span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}

.lp-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.lp-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.lp-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.lp-mobile {
  display: grid;
  gap: 0;
  padding: 8px 24px 28px;
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, .08);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.lp-mobile a {
  padding: 15px 2px;
  color: #fff;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  animation: mIn .5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}

.lp-mobile a.is-sub {
  padding-left: 14px;
  font-weight: 500;
  color: var(--on-dark-2);
}

.lp-mobile a.is-sub i {
  width: 22px;
  color: var(--gold);
}

.lp-mobile__t {
  margin: 16px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.lp-mobile .lp-btn {
  margin-top: 20px;
  border-bottom: 0;
}

@keyframes mIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 2px;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* ---------- Hero (inicio) ---------- */
.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(90% 90% at 85% 30%, var(--navy-3) 0%, var(--deep) 62%);
}

.lp-hero:not(.lp-hero--form) {
  min-height: min(760px, calc(100vh - 112px));
  display: flex;
  flex-direction: column;
}

.lp-hero:not(.lp-hero--form) .lp-hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 96px 0 120px;
}

.lp-hero:not(.lp-hero--form) .lp-hero__copy {
  max-width: 640px;
}

.lp-hero__media {
  position: static;
}

.lp-hero__photo {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: -1;
  overflow: hidden;
}

.lp-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.08) translate3d(0, var(--py, 0), 0);
  animation: heroIn 2.4s var(--ease) .1s forwards;
}

@keyframes heroIn {
  to {
    transform: scale(1) translate3d(0, var(--py, 0), 0);
  }
}

.lp-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--deep) 0%, rgba(8, 26, 46, .86) 20%, rgba(8, 26, 46, .4) 58%, rgba(8, 26, 46, .2) 100%),
    linear-gradient(0deg, rgba(8, 26, 46, .75) 0%, rgba(8, 26, 46, 0) 40%);
}

.lp-tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark-2);
}

.lp-tag span {
  padding: 6px 12px;
  border: 1px solid rgba(233, 162, 59, .55);
  border-radius: 3px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lp-hero__title {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: #fff;
}

.lp-hero__title em,
.ph__title em {
  font-style: normal;
  color: var(--gold);
}

.lp-hero__sub {
  margin: 0 0 36px;
  max-width: 54ch;
  font-size: 1.15rem;
  color: var(--on-dark-2);
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lp-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark-2);
}

.lp-hero__chips i {
  margin-right: 6px;
  color: var(--gold);
}

/* Tarjeta flotante (vidrio oscuro) */
.lp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 14px 18px;
  background: rgba(8, 26, 46, .7);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  backdrop-filter: blur(14px);
  color: #fff;
}

.lp-float strong {
  display: block;
  font-family: var(--f-display);
  font-size: 14px;
  color: #fff;
}

.lp-float small {
  font-size: 12.5px;
  color: var(--on-dark-3);
}

.lp-float__ico,
.lp-float__ico--orange {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 17px;
}

.lp-hero:not(.lp-hero--form) .lp-float--temp {
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: 150px;
}

.lp-hero .lp-float--doc {
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: 60px;
}

/* Termostato */
.thermo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--f-display);
}

.thermo b {
  min-width: 2ch;
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.thermo small {
  margin-left: 6px;
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--on-dark-3);
}

.thermo sup {
  font-size: .8rem;
  font-weight: 600;
  color: var(--on-dark-3);
}

.thermo__bar {
  position: relative;
  display: block;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .2), var(--gold));
}

.thermo__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--t, 0%);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--deep);
  border: 2px solid var(--gold);
  transition: left .5s var(--ease);
}

/* Barra de garantías al pie del hero */
.hero-bar,
.lp-proof {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 26, 46, .65);
  backdrop-filter: blur(8px);
}

.lp-proof {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-bar__inner,
.lp-proof__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-bar__item,
.lp-proof__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 24px 24px 0;
  color: #fff;
}

.hero-bar__item+.hero-bar__item,
.lp-proof__item+.lp-proof__item {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.hero-bar__item>i,
.lp-proof__item>i {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 162, 59, .4);
  border-radius: var(--r-sm);
  color: var(--gold);
  font-size: 15px;
}

.hero-bar__item strong,
.lp-proof__item strong {
  display: block;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.hero-bar__item span,
.lp-proof__item span {
  font-size: 13px;
  color: var(--on-dark-3);
}

/* ---------- Hero con formulario (cotizar y landings) ---------- */
.lp-hero--form {
  padding: 88px 0 104px;
}

.lp-hero--form .lp-hero__inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.lp-hero--form .lp-hero__title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
}

.lp-hero__formwrap {
  position: relative;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.lp-hero__list {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.lp-hero__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-hero__list li>i {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 162, 59, .4);
  border-radius: var(--r-sm);
  color: var(--gold);
  font-size: 16px;
}

.lp-hero__list strong {
  display: block;
  font-family: var(--f-display);
  color: #fff;
}

.lp-hero__list span {
  font-size: 14px;
  color: var(--on-dark-3);
}

.lp-contactbtns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Hero de páginas internas ---------- */
.ph {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 112px;
  color: #fff;
  background: radial-gradient(90% 90% at 85% 30%, var(--navy-3) 0%, var(--deep) 62%);
}

.ph__inner {
  display: block;
}

.ph__inner>div:first-child {
  max-width: 660px;
}

.ph__media {
  position: static;
}

.ph__photo {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: -1;
  overflow: hidden;
}

.ph__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.08) translate3d(0, var(--py, 0), 0);
  animation: heroIn 2.4s var(--ease) .1s forwards;
}

.ph__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--deep) 0%, rgba(8, 26, 46, .86) 22%, rgba(8, 26, 46, .4) 60%, rgba(8, 26, 46, .2) 100%),
    linear-gradient(0deg, rgba(8, 26, 46, .7) 0%, rgba(8, 26, 46, 0) 40%);
}

.ph .lp-float--doc {
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: 48px;
}

.ph__title {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  color: #fff;
}

.ph__sub {
  margin: 0 0 32px;
  max-width: 56ch;
  font-size: 1.12rem;
  color: var(--on-dark-2);
}

.ph__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ph__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph__pills li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
}

.ph__pills i {
  margin-right: 6px;
  color: var(--gold);
}

.lp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--on-dark-3);
}

.lp-crumbs a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.lp-crumbs li+li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .25);
}

/* Privacidad / 404: hero sin foto */
.ph .nf {
  padding: 40px 0;
}

/* ---------- Subnavegación ---------- */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subnav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
  display: none;
}

.subnav__label {
  flex: 0 0 auto;
  align-self: center;
  margin-right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.subnav a {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.subnav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}

.subnav a:hover,
.subnav a.is-active {
  color: var(--navy);
}

.subnav a:hover::after,
.subnav a.is-active::after {
  transform: scaleX(1);
}

/* ---------- Tarjeta base (línea ámbar que se dibuja) ---------- */
.icard,
.ind__item,
.prob__item,
.pick__item,
.plan,
.rel a,
.proj__card,
.tech {
  position: relative;
}

.icard::before,
.prob__item::before,
.pick__item::before,
.plan::before,
.rel a::before,
.proj__card::before,
.tech::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}

.icard:hover::before,
.prob__item:hover::before,
.pick__item:hover::before,
.plan:hover::before,
.rel a:hover::before,
.proj__card:hover::before,
.tech:hover::before {
  transform: scaleX(1);
}

/* ---------- Soluciones (inicio) ---------- */
.sol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sol__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--r);
  color: #fff;
  text-decoration: none;
}

.sol__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img) center/cover no-repeat;
  transition: transform 1.2s var(--ease);
}

.sol__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 26, 46, .25) 0%, rgba(8, 26, 46, .35) 30%, rgba(8, 26, 46, .85) 62%, rgba(8, 26, 46, .97) 100%);
  transition: background .6s;
}

.sol__card:hover::before {
  transform: scale(1.06);
}

.sol__card:hover::after {
  background: linear-gradient(180deg, rgba(8, 26, 46, .35) 0%, rgba(8, 26, 46, .8) 45%, rgba(8, 26, 46, .98) 100%);
}

.sol__n {
  position: absolute;
  top: 22px;
  left: 24px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
}

.sol__n::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: rgba(255, 255, 255, .4);
}

.sol__body {
  padding: 28px 24px;
}

.sol__card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 700;
}

.sol__card p {
  margin: 0 0 16px;
  font-size: .96rem;
  line-height: 1.55;
  color: var(--on-dark-2);
}

.sol__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s var(--ease), opacity .4s, margin .6s var(--ease);
}

.sol__card:hover .sol__chips,
.sol__card:focus-visible .sol__chips {
  max-height: 80px;
  margin-bottom: 18px;
  opacity: 1;
}

.sol__chips span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}

.sol__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.sol__more i {
  transition: transform .4s var(--ease);
}

.sol__card:hover .sol__more i {
  transform: translateX(6px);
}

/* ---------- Industrias (fondo oscuro, retícula de líneas) ---------- */
.ind {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.ind__item {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background .4s;
}

.ind__item:hover {
  background: rgba(255, 255, 255, .03);
}

.ind__n {
  display: block;
  margin-bottom: 28px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--on-dark-3);
}

.ind__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border: 1px solid rgba(233, 162, 59, .4);
  border-radius: var(--r-sm);
  color: var(--gold);
  font-size: 19px;
  transition: background .4s, color .4s;
}

.ind__item:hover .ind__ico {
  background: var(--gold);
  color: var(--deep);
}

.ind__item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #fff;
}

.ind__item p {
  margin: 0;
  font-size: .96rem;
  color: var(--on-dark-2);
}

/* ---------- Industrias interactivas ---------- */
.indx {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: stretch;
}

.indx__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.indx__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 8px 22px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  font: inherit;
  text-align: left;
  color: var(--on-dark-3);
  cursor: pointer;
  transition: color .3s, padding .4s var(--ease);
}

.indx__n {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.indx__tab i {
  width: 22px;
  font-size: 17px;
  text-align: center;
  color: var(--on-dark-3);
  transition: color .3s;
}

.indx__name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.indx__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.indx__tab:hover {
  color: #fff;
}

.indx__tab.is-active {
  padding-left: 14px;
  color: #fff;
}

.indx__tab.is-active i {
  color: var(--gold);
}

.indx__tab.is-active .indx__bar {
  transform: scaleX(var(--prog, 1));
}

.indx.is-auto .indx__tab.is-active .indx__bar {
  animation: indxProg var(--dur, 6s) linear forwards;
}

@keyframes indxProg {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.indx__stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--deep);
}

.indx__pane {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}

.indx__pane[hidden] {
  display: flex !important;
}

.indx__pane.is-active {
  opacity: 1;
  visibility: visible;
}

.indx__pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.08);
  transition: transform 6s var(--ease);
}

.indx__pane.is-active::before {
  transform: scale(1);
}

.indx__pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 46, .05) 0%, rgba(8, 26, 46, .45) 45%, rgba(8, 26, 46, .95) 100%);
}

.indx__body {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 40px 44px;
}

.indx__body>* {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}

.indx__pane.is-active .indx__body>* {
  opacity: 1;
  transform: none;
}

.indx__pane.is-active .indx__body>*:nth-child(2) { transition-delay: .08s; }
.indx__pane.is-active .indx__body>*:nth-child(3) { transition-delay: .16s; }
.indx__pane.is-active .indx__body>*:nth-child(4) { transition-delay: .24s; }
.indx__pane.is-active .indx__body>*:nth-child(5) { transition-delay: .32s; }

.indx__kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.indx__body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #fff;
}

.indx__body p {
  margin: 0 0 20px;
  color: var(--on-dark-2);
}

.indx__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.indx__chips span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 3px;
  background: rgba(8, 26, 46, .35);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

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

  .indx__list {
    flex-direction: row;
    overflow-x: auto;
    border-top: 0;
    scrollbar-width: none;
  }

  .indx__list::-webkit-scrollbar {
    display: none;
  }

  .indx__tab {
    flex: 0 0 auto;
    width: auto;
    padding: 14px 16px;
  }

  .indx__tab.is-active {
    padding-left: 16px;
  }

  .indx__n,
  .indx__tab i {
    display: none;
  }

  .indx__name {
    font-size: .98rem;
  }

  .indx__stage {
    min-height: 500px;
  }

  .indx__body {
    padding: 28px 24px;
  }
}

/* ---------- Por qué ---------- */
.lp-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lp-why>* {
  min-width: 0;
}

.lp-why__media {
  position: relative;
  height: 600px;
}

.lp-why__photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--img) center/cover no-repeat;
}

.lp-why__photo--a {
  left: 0;
  top: 0;
  width: 74%;
  height: 74%;
}

.lp-why__photo--b {
  right: 0;
  bottom: 0;
  width: 52%;
  height: 46%;
  outline: 8px solid #fff;
}

.lp-why__single {
  position: relative;
  height: 520px;
  border-radius: var(--r);
  background: var(--img) center/cover no-repeat;
}

.lp-why__single .lp-float {
  left: 24px;
  bottom: 24px;
}

.lp-why--flat {
  grid-template-columns: 1.1fr .9fr;
}

.lp-checks {
  display: grid;
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.lp-checks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--muted);
}

.lp-checks li strong {
  color: var(--navy);
}

.lp-checks i {
  flex: 0 0 26px;
  height: 26px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 11px;
}

.lp-why__copy>.lp-btn {
  margin-top: 32px;
}

/* Cifras */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 96px;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 36px 32px 0 0;
}

.stat+.stat {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.stat__n {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 14px;
  color: var(--muted);
}

/* Tiles (cotizar/landings) */
.lp-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lp-tiles--2 {
  grid-template-columns: 1fr 1fr;
}

.lp-tile {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--r-sm);
  background: #fff;
}

.lp-tile strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.lp-tile span {
  font-size: 13px;
  color: var(--muted);
}

.lp-tile--orange {
  background: var(--navy);
  border-color: var(--navy);
  border-left-color: var(--gold);
}

.lp-tile--orange strong {
  color: var(--gold);
}

.lp-tile--orange span {
  color: var(--on-dark-2);
}

/* ---------- Proceso ---------- */
.lp-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-steps::before,
.lp-steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: var(--line-2);
}

.lp-steps::after {
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s var(--ease) .2s;
}

.lp-steps.is-on::after {
  transform: scaleX(1);
}

.lp-step {
  position: relative;
  z-index: 1;               /* siempre encima de la línea (::before / ::after) */
  padding-top: 0;
}

.lp-steps::before,
.lp-steps::after {
  z-index: 0;
}

/* Los pasos entran solo con fundido: si se desplazan, los círculos quedan
   fuera de la línea mientras dura la animación (se ve "descuadrado"). */
.lp .lp-step.reveal {
  transform: none;
}

.lp-step__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--mist);
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: background .5s, border-color .5s, color .5s;
}

.lp-steps.is-on .lp-step__n {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.lp-steps.is-on .lp-step:nth-child(1) .lp-step__n { transition-delay: .2s; }
.lp-steps.is-on .lp-step:nth-child(2) .lp-step__n { transition-delay: .7s; }
.lp-steps.is-on .lp-step:nth-child(3) .lp-step__n { transition-delay: 1.2s; }
.lp-steps.is-on .lp-step:nth-child(4) .lp-step__n { transition-delay: 1.7s; }

.lp-step h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--navy);
}

.lp-step p {
  margin: 0;
  font-size: .97rem;
  color: var(--muted);
}

/* Proceso sobre fondo oscuro (landings y otras páginas) */
.lp-sec--dark .lp-steps::before {
  background: var(--line-dark);
}

.lp-sec--dark .lp-step__n {
  background: var(--navy);
  border-color: var(--line-dark);
  color: #fff;
}

.lp-sec--dark .lp-steps.is-on .lp-step__n {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.lp-sec--dark .lp-step h3 {
  color: #fff;
}

.lp-sec--dark .lp-step p {
  color: var(--on-dark-2);
}

/* ---------- Teaser de proyectos ---------- */
.teaser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  padding: 140px 0;
  color: #fff;
  text-decoration: none;
}

.teaser::before {
  content: "";
  position: absolute;
  inset: -40px 0;
  z-index: -2;
  background: var(--img) center/cover no-repeat;
  transform: translate3d(0, var(--py2, 0), 0);
}

.teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 26, 46, .96) 0%, rgba(8, 26, 46, .82) 45%, rgba(8, 26, 46, .45) 100%);
}

.teaser__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}

.teaser__body p:not(.lp-over) {
  margin: 0 0 32px;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--on-dark-2);
}

.teaser__stats {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teaser__stats li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  background: rgba(8, 26, 46, .4);
  backdrop-filter: blur(8px);
  font-weight: 600;
}

.teaser__stats i {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 162, 59, .45);
  border-radius: var(--r-sm);
  color: var(--gold);
}

/* ---------- Marcas ---------- */
.brands-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.brands-row .lp-over {
  margin: 0;
  color: var(--muted-2);
}

.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 56px;
}

.brands img {
  height: 30px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: opacity .3s, filter .3s;
}

.brands img:hover {
  opacity: 1;
  filter: none;
}

.brands--marquee {
  display: block;
  max-width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brands__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.brands--marquee:hover .brands__track {
  animation-play-state: paused;
}

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

/* ---------- CTA final ---------- */
.lp-final {
  position: relative;
  padding: 88px 0;
  color: #fff;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.lp-final__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.lp-final h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
}

.lp-final p {
  margin: 0;
  max-width: 50ch;
  color: var(--on-dark-2);
}

.lp-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Banda CTA intermedia ---------- */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 48px;
  border-radius: var(--r);
  color: #fff;
  background: var(--navy);
}

.band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.band p {
  margin: 0;
  max-width: 52ch;
  color: var(--on-dark-2);
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Tarjetas de beneficio ---------- */
.icards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.icard {
  overflow: hidden;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .3s;
}

.icard:hover {
  border-color: var(--line-2);
}

.icard__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: var(--r-sm);
  background: var(--mist-2);
  color: var(--blue);
  font-size: 19px;
  transition: background .4s, color .4s;
}

.icard:hover .icard__ico,
.pick__item:hover .icard__ico {
  background: var(--navy);
  color: var(--gold);
}

.icard h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
}

.icard p {
  margin: 0;
  font-size: .96rem;
  color: var(--muted);
}

/* ---------- Grupos y bloques de tecnología ---------- */
.tgroup {
  margin-top: 80px;
}

.tgroup:first-of-type {
  margin-top: 0;
}

.tgroup__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}

.tgroup__head h3 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--navy);
}

.tgroup__head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.tgroup__tag {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}

.tech {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  margin-bottom: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  scroll-margin-top: calc(var(--nav-h) + 80px);
  transition: border-color .3s;
}

.tech:hover {
  border-color: var(--line-2);
}

.tech--flip {
  grid-template-columns: 1.05fr .95fr;
}

.tech--flip .tech__media {
  order: 2;
}

.tech__media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--mist);
}

.tech__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transition: transform 1.2s var(--ease);
}

/* Foto de producto (fondo blanco): se funde con un degradado de estudio */
.tech__media--contain {
  background: radial-gradient(70% 70% at 50% 48%, #fff 0%, var(--mist) 100%);
}

.tech__media--contain::before {
  inset: 48px 40px 36px;
  background-size: contain;
  mix-blend-mode: multiply;
}

.tech:hover .tech__media:not(.tech__media--contain)::before {
  transform: scale(1.05);
}

.tech__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tech__body {
  padding: 40px 44px;
}

.tech__body h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  color: var(--navy);
}

.tech__kicker {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-2);
}

.tech__body>p {
  margin: 0 0 24px;
  color: var(--muted);
}

.tech__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tech__cols h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}

.tech__cols h4 i {
  color: var(--blue);
}

.tech__cols .is-warn h4 i {
  color: var(--muted-2);
}

.tech__cols ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech__cols li {
  position: relative;
  padding-left: 16px;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--ink);
}

.tech__cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.tech__cols .is-warn li::before {
  background: var(--muted-2);
}

.tech__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease);
}

.tech__link:hover {
  background-size: 100% 1px;
}

.tech__link i {
  color: var(--gold-2);
  transition: transform .4s var(--ease);
}

.tech__link:hover i {
  transform: translateX(4px);
}

.tech__link--more {
  margin-left: 22px;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 560px) {
  .tech__link--more {
    display: flex;
    width: max-content;
    margin: 12px 0 0;
  }
}

/* ---------- Problemas / selector / relacionadas ---------- */
.prob {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prob__item {
  overflow: hidden;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.prob__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.prob__q i {
  margin-top: 3px;
  color: var(--gold-2);
}

.prob__a {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
  font-size: .95rem;
  color: var(--muted);
}

.pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pick__item {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  text-decoration: none;
}

.pick__item .icard__ico {
  flex: 0 0 48px;
  margin: 0;
}

.pick__item h3 {
  margin: 0 0 3px;
  font-size: 1.02rem;
  color: var(--navy);
}

.pick__item p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--muted);
}

.pick__go {
  margin-left: auto;
  color: var(--gold-2);
  transition: transform .4s var(--ease);
}

.pick__item:hover .pick__go {
  transform: translateX(4px);
}

.rel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rel a {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
}

.rel .ind__ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border-color: var(--line-2);
  color: var(--blue);
}

.rel a:hover .ind__ico {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.rel strong {
  display: block;
  font-family: var(--f-display);
  color: var(--navy);
}

.rel small {
  color: var(--muted);
}

.rel .fa-arrow-right {
  margin-left: auto;
  color: var(--gold-2);
  transition: transform .4s var(--ease);
}

.rel a:hover .fa-arrow-right {
  transform: translateX(4px);
}

/* ---------- Checklist (fondo oscuro) ---------- */
.chk {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.chk__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 26px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background .4s;
}

.chk__item:hover {
  background: rgba(255, 255, 255, .03);
}

.chk__item i {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 162, 59, .4);
  border-radius: var(--r-sm);
  color: var(--gold);
  font-size: 15px;
}

.chk__item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-display);
  color: #fff;
}

.chk__item span {
  font-size: .94rem;
  line-height: 1.45;
  color: var(--on-dark-2);
}

/* ---------- Pólizas ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.plan--hl {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.plan--hl::before {
  transform: scaleX(1);
}

.plan__flag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(233, 162, 59, .55);
  border-radius: 3px;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0 0 4px;
  font-size: 1.45rem;
  color: var(--navy);
}

.plan--hl h3 {
  color: #fff;
}

.plan__for {
  margin: 0 0 24px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gold-2);
}

.plan--hl .plan__for {
  color: var(--gold);
}

.plan ul {
  flex: 1;
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan--hl ul {
  border-top-color: var(--line-dark);
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: .97rem;
  line-height: 1.45;
}

.plan li i {
  margin-top: 4px;
  font-size: 12px;
  color: var(--gold-2);
}

.plan--hl li {
  color: var(--on-dark-2);
}

.plan--hl li i {
  color: var(--gold);
}

.plan--hl .lp-btn--outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3);
}

/* ---------- Proyectos ---------- */
.proj {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proj__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.proj__media {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.proj__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transition: transform 1.2s var(--ease);
}

.proj__card:hover .proj__media::before {
  transform: scale(1.05);
}

.proj__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.proj__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 28px;
}

.proj__body h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}

.proj__body p {
  margin: 0;
  color: var(--muted);
}

.proj__list {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.proj__list li {
  display: flex;
  gap: 10px;
  font-size: .94rem;
}

.proj__list i {
  margin-top: 5px;
  font-size: 11px;
  color: var(--gold-2);
}

/* ---------- Galería ---------- */
.lp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lp-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

/* Botón de contorno sobre fondos oscuros (bloque de cotización, calculadora) */
.lp-sec--dark .lp-btn--outline,
.calc__out .lp-btn--outline,
.calc__out .lp-btn--wa {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3);
}

.lp-sec--dark .lp-btn--outline:hover,
.calc__out .lp-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .05);
}

/* ---------- Calculadora: configurador con simulación 3D ---------- */
.ph.ph--compact {
  padding: 72px 0 48px;
}

.cfg-sec {
  padding: 40px 0 96px;
  background: linear-gradient(180deg, #EEF2F6 0%, #F5F7FA 60%);
}

.cfg {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr);
  gap: 24px;
  align-items: start;
}

.cfg__view {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cfg__stage {
  position: relative;
  margin: 0;
  height: clamp(440px, 64vh, 640px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: radial-gradient(120% 95% at 25% 0%, #FFFFFF 0%, #EAF0F6 55%, #DCE5EF 100%);
  box-shadow: 0 30px 60px -40px rgba(8, 26, 46, .45);
  transition: background .6s;
}

.cfg__stage[data-sol="alta"] {
  background: radial-gradient(120% 95% at 20% 0%, #FFFBF2 0%, #F6EDDF 55%, #EADCC8 100%);
}

.cfg__stage[data-sol="baja"] {
  background: radial-gradient(120% 95% at 25% 0%, #F7F9FB 0%, #E4E9EF 55%, #D3DBE4 100%);
}

.cfg__canvas,
.cfg__stage>svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cfg__canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.cfg__canvas canvas:active {
  cursor: grabbing;
}

.cfg__stage>svg {
  padding: 30px 20px 120px;
}

.cfg__stage.is-3d>svg {
  display: none;
}

.cfg__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.cfg__badge,
.cfg__hint,
.cfg__rot button,
.cfg__legend {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 42, 71, .08);
}

.cfg__badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.cfg__rot {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.cfg__hint {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.cfg__rot button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.cfg__rot button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.cfg__stage:not(.is-3d) .cfg__rot {
  display: none;
}

.cfg__legend {
  position: absolute;
  top: 60px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
}

.cfg__legend span:empty {
  display: none;
}

#cfgExtra {
  font-weight: 700;
  color: var(--navy);
}

.cfg__result {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  background: rgba(8, 26, 46, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cfg__tr {
  display: grid;
  gap: 2px;
}

.cfg__k {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold);
}

.cfg__big {
  font-family: var(--f-display);
  line-height: 1;
}

.cfg__big b {
  font-size: 2.6rem;
  font-weight: 700;
}

.cfg__big small {
  font-size: 1rem;
  color: var(--on-dark-2);
}

.cfg__rango {
  font-size: 12.5px;
  color: var(--on-dark-2);
}

.cfg__eq {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
  margin: 0 0 0 auto;
}

.cfg__eq div {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
}

.cfg__eq dt {
  font-size: 11px;
  color: var(--on-dark-2);
}

.cfg__eq dd {
  margin: 2px 0 0;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.cfg__sug {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cfg__sug .cfg__k {
  color: var(--gold-2);
}

.cfg__sug>div:first-child {
  flex: 1 1 320px;
}

.cfg__sug p:not(.cfg__k) {
  margin: 4px 0 6px;
  color: var(--ink);
}

.cfg__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cfg__panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.cfg__step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.cfg__step:first-child {
  margin-top: 0;
}

.cfg__step span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-size: 11px;
  letter-spacing: 0;
}

.cfg__types,
.cfg__seg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

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

.cfg__types label,
.cfg__seg label {
  position: relative;
  cursor: pointer;
}

.cfg__types input,
.cfg__seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cfg__types span,
.cfg__seg span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 74px;
  padding: 10px 6px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--navy);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.cfg__types i,
.cfg__seg i {
  font-size: 18px;
  color: var(--muted);
  transition: color .2s;
}

.cfg__seg small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.cfg__types label:hover span,
.cfg__seg label:hover span {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.cfg__types input:checked+span,
.cfg__seg input:checked+span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.cfg__types input:checked+span i,
.cfg__seg input:checked+span i {
  color: var(--gold);
}

.cfg__seg input:checked+span small {
  color: var(--on-dark-2);
}

.cfg__types input:focus-visible+span,
.cfg__seg input:focus-visible+span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cfg__range {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 10px;
}

.cfg__range label {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.cfg__val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cfg__val input {
  width: 92px;
  padding: 7px 10px;
  font: inherit;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: var(--navy);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
}

.cfg__val input:focus {
  outline: none;
  border-color: var(--blue);
}

.cfg__val em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.cfg__range input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  margin: 4px 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold) var(--pct, 0%), #E3E8EE var(--pct, 0%));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.cfg__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(8, 26, 46, .2);
}

.cfg__range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: #fff;
}

.cfg__range .calc__hint {
  grid-column: 1 / -1;
}

.cfg__note {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .cfg {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  }

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

  .cfg__eq div:nth-child(3) {
    display: none;
  }
}

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

  /* En móvil solo el visor se queda fijo arriba mientras mueves los controles */
  .cfg__view {
    display: contents;
  }

  .cfg__stage {
    position: sticky;
    top: var(--nav-h);
    z-index: 4;
    order: 1;
    height: 46vh;
    min-height: 300px;
    border-radius: 14px;
  }

  .cfg__panel {
    order: 2;
    padding: 20px 18px;
  }

  .cfg__sug {
    order: 3;
  }

  .cfg__hint,
  .cfg__legend {
    display: none;
  }

  .cfg__result {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 10px;
    padding: 10px 12px;
  }

  .cfg__big b {
    font-size: 1.9rem;
  }

  .cfg__rango {
    font-size: 11px;
  }

  .cfg__eq div {
    padding: 6px 10px;
  }

  .cfg__eq dd {
    font-size: .95rem;
  }

  .cfg__badge {
    font-size: 12px;
    padding: 6px 11px;
  }
}

/* ---------- Calculadora de capacidad ---------- */
.calc {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}

.calc__main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

/* Simulación isométrica (assets/js/calc-scene.js) */
.calc__scene {
  margin: 0;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, #fff 0%, #F7F9FC 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.calc__scene svg {
  display: block;
  width: 100%;
  height: auto;
}

.calc__scene figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 6px 10px 0;
  font-size: 12.5px;
  color: var(--muted);
}

.calc__scene figcaption em {
  margin-left: auto;
  font-style: normal;
  opacity: .8;
}

.sc-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-radius: 50%;
  vertical-align: 0;
}

.sc-dot--sun { background: #E9A23B; opacity: .55; }
.sc-dot--heat { background: #E9A23B; }
.sc-dot--cold { background: #3B9BE0; }
.sc-dot--ret { background: #4E5C73; }
.cfg__stage:not(.is-3d) .sc-ret { display: none; } /* la ilustración SVG de respaldo no dibuja el retorno */

.sc-lbl {
  font: 600 12px/1 var(--f-body, sans-serif);
  fill: #5A6B7D;
}

.sc-lbl--b {
  font: 700 14px/1 var(--f-display, sans-serif);
  fill: #0E2A47;
}

.sc-lbl--blue {
  fill: #0B5C8E;
}

.sc-air {
  stroke-dasharray: 3 7;
  animation: scAir 1.2s linear infinite;
}

@keyframes scAir {
  to { stroke-dashoffset: -20; }
}

.sc-heat {
  opacity: 0;
  animation: scHeat 2.2s ease-in-out infinite;
}

@keyframes scHeat {
  0% { opacity: 0; transform: translateY(4px); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-12px); }
}

.sc-rays {
  transform-origin: 92px 64px;
  animation: scSpin 40s linear infinite;
}

@keyframes scSpin {
  to { transform: rotate(360deg); }
}

.sc-pop {
  animation: scPop .45s var(--ease) both;
}

@keyframes scPop {
  from { opacity: 0; transform: translateY(-8px); }
}

.sc-fade {
  transition: opacity .4s;
}

@media (prefers-reduced-motion: reduce) {
  .sc-air, .sc-heat, .sc-rays, .sc-pop { animation: none; }
  .sc-heat { opacity: .7; }
}

.calc__in {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.calc__t {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: var(--navy);
}

.lp-field select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6B7D' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  appearance: none;
}

.lp-field select:focus {
  outline: none;
  border-color: var(--blue);
}

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

.calc__hint i {
  color: var(--gold-2);
}

.calc__out {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: grid;
  gap: 14px;
  padding: 36px;
  border-radius: var(--r);
  color: #fff;
  background: radial-gradient(90% 90% at 85% 20%, var(--navy-3) 0%, var(--deep) 70%);
}

.calc__k {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.calc__big {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
}

.calc__big small {
  font-size: .4em;
  color: var(--on-dark-2);
}

.calc__rango {
  margin: 0;
  color: var(--on-dark-2);
}

.calc__eq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0;
}

.calc__eq div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
}

.calc__eq dt {
  font-size: 12px;
  color: var(--on-dark-2);
}

.calc__eq dd {
  margin: 2px 0 0;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.calc__sug {
  padding: 16px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.calc__sug p:not(.calc__k) {
  margin: 6px 0 8px;
  color: #fff;
}

.calc__sug .tech__link {
  color: #fff;
}

.calc__note {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--on-dark-2);
}

.calc .lp-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

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

  .calc__out {
    position: static;
  }

  .calc__in,
  .calc__out {
    padding: 26px 22px;
  }
}

/* ---------- Franja de servicios especializados (inicio) ---------- */
.spec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 28px;
}

.spec__label {
  margin-right: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease);
}

.spec a i {
  color: var(--gold-2);
}

.spec a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Bloque de cotización en páginas internas (src/partials/form.html) ---------- */
.qf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
  background: radial-gradient(90% 90% at 85% 30%, var(--navy-3) 0%, var(--deep) 62%);
}

.qf__inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.qf__lead {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 1.08rem;
  color: var(--on-dark-2);
}

.qf .lp-hero__shape {
  z-index: -1;
}

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

/* ---------- Formulario ---------- */
.lp-form {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--r);
  color: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6);
}

.lp-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.lp-form__head {
  padding: 30px 32px 20px;
  border-bottom: 1px solid var(--line);
}

.lp-form__head h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  color: var(--navy);
}

.lp-form__head p {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
}

.lp-form__body {
  display: grid;
  gap: 18px;
  padding: 26px 32px 30px;
}

.lp-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.lp-opt {
  font-weight: 400;
  color: var(--muted);
}

.lp-field--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Que las celdas y campos puedan encogerse en móvil (si no, se desbordan) */
.lp-field--2>div,
.calc>*,
.qf__inner>*,
.lp-field input,
.lp-field select,
.lp-field textarea {
  min-width: 0;
}

.lp-field input,
.lp-field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
  color: #A2AEBB;
}

.lp-field input:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(233, 162, 59, .25);
}

.lp-field input.is-invalid,
.lp-chips.is-invalid {
  border-color: #C0392B;
  background: #FFF6F5;
}

.lp-field textarea {
  min-height: 100px;
  resize: vertical;
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
}

.lp-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lp-chip span {
  display: inline-block;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.lp-chip span:hover {
  border-color: var(--navy);
}

.lp-chip input:checked+span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.lp-chip input:focus-visible+span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.lp-hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.lp-form__legal {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  color: var(--muted);
}

.lp-form__legal a {
  color: var(--blue);
}

.lp-form__error {
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  color: #9B2C1F;
  background: #FFF6F5;
  border: 1px solid #F3C9C3;
  border-radius: var(--r-sm);
}

.lp-form__success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 44px 28px 36px;
  text-align: center;
}

.lp-form__success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 24px;
}

.lp-form__success h3 {
  margin: 8px 0 0;
  font-size: 1.4rem;
  color: var(--navy);
}

.lp-form__success p {
  margin: 0 0 10px;
  color: var(--muted);
}

.lp-form__success-call {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.lp-form.is-flash {
  animation: flash 1.4s var(--ease);
}

@keyframes flash {
  30% {
    box-shadow: 0 0 0 4px rgba(233, 162, 59, .6), 0 50px 100px -30px rgba(0, 0, 0, .6);
  }
}

/* Oficina / mini pasos */
.lp-office {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.lp-office__t {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.lp-office__t span {
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
}

.lp-office a,
.lp-office>span {
  display: flex;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.lp-office i {
  width: 16px;
  margin-top: 4px;
  color: var(--gold-2);
}

.lp-ministeps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.lp-ministeps div {
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.lp-ministeps small {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold-2);
}

/* ---------- FAQ ---------- */
.lp-faq {
  max-width: 880px;
}

.lp-faq__item {
  border-bottom: 1px solid var(--line-2);
}

.lp-faq__item:first-of-type {
  border-top: 1px solid var(--line-2);
}

.lp-faq__item summary {
  position: relative;
  padding: 24px 56px 24px 0;
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary:hover {
  color: var(--blue);
}

.lp-faq__item summary::before,
.lp-faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--gold-2);
  transition: transform .4s var(--ease);
}

.lp-faq__item summary::after {
  transform: rotate(90deg);
}

.lp-faq__item[open] summary::after {
  transform: rotate(0);
}

.lp-faq__item p {
  margin: 0;
  padding: 0 56px 26px 0;
  color: var(--muted);
  animation: faqIn .5s var(--ease);
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ---------- Texto legal / 404 ---------- */
.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.35rem;
  color: var(--navy);
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}

.prose p,
.prose li {
  line-height: 1.75;
}

.prose ul {
  padding-left: 20px;
}

.prose a {
  color: var(--blue);
}

.prose__box {
  margin: 14px 0;
  padding: 18px 22px;
  background: var(--mist);
  border-left: 2px solid var(--gold);
}

.nf {
  padding: 80px 0;
  text-align: center;
}

.nf__code {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--gold);
}

.nf .lp-h2 {
  color: #fff;
}

.nf p {
  max-width: 46ch;
  margin: 12px auto 32px;
  font-size: 1.1rem;
  color: var(--on-dark-2);
}

.nf__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Footer ---------- */
.lp-footer {
  padding: 80px 0 0;
  font-size: 15px;
  color: var(--on-dark-3);
  background: var(--deep);
}

.lp-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}

.lp-footer__brand img {
  width: auto;
  height: 40px;
  margin-bottom: 18px;
}

.lp-footer__brand p {
  max-width: 36ch;
  margin: 0 0 24px;
  line-height: 1.6;
}

.lp-footer__col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.lp-footer__t {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.lp-footer__col a {
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color .2s;
}

.lp-footer__col a:hover {
  color: #fff;
}

.lp-footer__contact a,
.lp-footer__contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-footer__contact i {
  width: 16px;
  margin-top: 4px;
  color: var(--gold);
}

.lp-footer__contact .fa-whatsapp {
  color: var(--wa);
}

.lp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.lp-footer--mini {
  padding-top: 0;
}

.lp-footer--mini .lp-footer__bottom {
  align-items: center;
  border-top: 0;
}

/* ---------- Flotantes ---------- */
.lp-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--wa);
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(8, 26, 46, .6);
  transition: background .2s;
}

.lp-wa:hover {
  background: var(--navy-2);
}

.lp-mobilebar {
  display: none;
}

/* =====================================================
   MOVIMIENTO — contenido y deliberado
===================================================== */
.lp .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.lp .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Primera pantalla: entrada solo con CSS (no espera a JavaScript) */
.lp .lp-hero .reveal,
.lp .ph .reveal,
.lp .lp-proof .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: introUp 1s var(--ease) both;
  animation-delay: calc(.1s + var(--k, 0) * 90ms);
}

.lp-hero .reveal:nth-child(2), .ph .reveal:nth-child(2), .lp-proof .reveal:nth-child(2) { --k: 1; }
.lp-hero .reveal:nth-child(3), .ph .reveal:nth-child(3), .lp-proof .reveal:nth-child(3) { --k: 2; }
.lp-hero .reveal:nth-child(4), .ph .reveal:nth-child(4), .lp-proof .reveal:nth-child(4) { --k: 3; }
.lp-hero .reveal:nth-child(5), .ph .reveal:nth-child(5), .lp-proof .reveal:nth-child(5) { --k: 4; }
.lp-hero .reveal:nth-child(n+6), .ph .reveal:nth-child(n+6) { --k: 5; }
.lp-hero .lp-float.reveal, .ph .lp-float.reveal { --k: 6; }

@keyframes introUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* .ph__media contiene la foto absoluta del hero (z-index -1 contra .ph).
   Si se anima, crea bloque contenedor / contexto de apilamiento y la foto
   desaparece (alto 0) o tapa el texto. La foto ya entra con heroIn;
   aquí solo se anima la tarjeta flotante. */
.lp .ph .ph__media.reveal {
  animation: none;
}

.lp .ph .ph__media .lp-float {
  animation: introUp 1s var(--ease) .5s both;
}

.lp-over.reveal::before { transform-origin: left; }

/* Línea del eyebrow que se dibuja */
.lp-over.reveal::before {
  transform: scaleX(0);
  transition: transform 1s var(--ease) .25s;
}

.lp-over.reveal.is-visible::before {
  transform: scaleX(1);
}

/* Fotos que se revelan con máscara */
.lp .reveal--mask {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease);
  transition-delay: calc(var(--d, 0) * 160ms);
}

.lp .reveal--mask.is-visible {
  clip-path: inset(0 0 0 0);
}

.lp-why__photo.reveal--mask {
  background-size: 115%;
  transition: clip-path 1.4s var(--ease), background-size 2.2s var(--ease);
}

.lp-why__photo.reveal--mask.is-visible {
  background-size: cover;
}

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

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

/* Tarjetas de soluciones: aparición escalonada desde abajo */
.sol__card.reveal {
  transform: translateY(48px);
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .lp .reveal,
  .lp .reveal--mask {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1100px) {

  .sol,
  .icards,
  .prob {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol__card {
    min-height: 420px;
  }

  .sol__card::after {
    background: linear-gradient(180deg, rgba(8, 26, 46, .45) 0%, rgba(8, 26, 46, .82) 40%, rgba(8, 26, 46, .97) 100%);
  }

  .sol__chips {
    max-height: 80px;
    margin-bottom: 18px;
    opacity: 1;
  }

  .ind,
  .chk,
  .icards--3,
  .pick,
  .proj,
  .plans,
  .rel {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-steps,
  .lp-gallery {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .lp-steps::before,
  .lp-steps::after {
    display: none;
  }

  .lp-why {
    gap: 56px;
  }

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

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(n+3) {
    padding-top: 32px;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-h: 68px;
  }

  .lp-nav__links {
    display: none;
  }

  .lp-burger {
    display: flex;
  }

  .lp-nav__cta:not(.lp-nav__cta--always) {
    display: none;
  }

  .topbar__inner>span:first-child {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-end;
  }

  .lp-head--split,
  .lp-why,
  .lp-why--flat,
  .teaser__inner,
  .lp-hero--form .lp-hero__inner,
  .tech,
  .tech--flip,
  .brands-row {
    grid-template-columns: 1fr;
  }

  .lp-head--split {
    gap: 20px;
  }

  .lp-head--split>.lp-btn {
    justify-self: start;
  }

  .tech--flip .tech__media {
    order: 0;
  }

  .tech__media {
    min-height: 260px;
  }

  .lp-hero:not(.lp-hero--form) {
    min-height: 0;
  }

  .lp-hero:not(.lp-hero--form) .lp-hero__inner {
    padding: 72px 0 180px;
  }

  .lp-hero__photo,
  .ph__photo {
    inset: 0;
  }

  .lp-hero__photo::after,
  .ph__photo::after {
    background: linear-gradient(180deg, rgba(8, 26, 46, .92) 0%, rgba(8, 26, 46, .82) 55%, rgba(8, 26, 46, .6) 100%);
  }

  .lp-hero:not(.lp-hero--form) .lp-float--temp {
    left: 24px;
    right: auto;
    bottom: 40px;
  }

  .hero-bar__inner,
  .lp-proof__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-bar__item:nth-child(3),
  .lp-proof__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-bar__item:nth-child(n+3),
  .lp-proof__item:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .ph {
    padding: 64px 0 72px;
  }

  .ph .lp-float {
    display: none;
  }

  .lp-why__media {
    height: 460px;
  }

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

  .lp-footer__brand,
  .lp-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .lp {
    font-size: 16px;
  }

  .topbar {
    display: none;
  }

  .lp-nav__phone {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--r-sm);
  }

  .lp-nav__phone span {
    display: none;
  }

  .lp-nav__cta--always {
    display: none;
  }

  .lp-sec {
    padding: 80px 0;
  }

  .lp-head {
    margin-bottom: 40px;
  }

  .sol,
  .icards,
  .icards--3,
  .prob,
  .ind,
  .chk,
  .pick,
  .proj,
  .plans,
  .rel,
  .tech__cols,
  .lp-field--2,
  .lp-ministeps,
  .hero-bar__inner,
  .lp-proof__inner {
    grid-template-columns: 1fr;
  }

  .hero-bar__item,
  .lp-proof__item {
    padding: 16px 0 !important;
    border-left: 0 !important;
  }

  .hero-bar__item+.hero-bar__item,
  .lp-proof__item+.lp-proof__item {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .lp-steps {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .lp-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-gallery img {
    height: 140px;
  }

  .sol__card {
    min-height: 380px;
  }

  .lp-why__media {
    height: 340px;
  }

  .lp-why__photo--b {
    outline-width: 5px;
  }

  .lp-why__single {
    height: 320px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 64px;
  }

  .stat {
    padding-right: 12px;
  }

  .stat+.stat {
    padding-left: 16px;
  }

  .stat:nth-child(3) {
    padding-left: 0;
  }

  .tech__body {
    padding: 28px 24px;
  }

  .lp-form__head,
  .lp-form__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .band {
    padding: 32px 24px;
  }

  .band__actions .lp-btn,
  .ph__actions .lp-btn,
  .lp-hero__actions .lp-btn,
  .lp-final__actions .lp-btn {
    width: 100%;
  }

  .teaser {
    padding: 96px 0;
  }

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

  .ind__item {
    padding: 28px 24px;
  }

  .lp-hero:not(.lp-hero--form) .lp-hero__inner {
    padding: 56px 0 150px;
  }

  .lp-wa {
    display: none;
  }

  .lp-mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(8, 26, 46, .97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .lp-mobilebar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: var(--r-sm);
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
  }

  .lp-mobilebar__btn--wa i {
    color: var(--wa);
  }

  .lp-mobilebar__btn--form {
    background: var(--gold);
    color: var(--deep);
  }

  .lp-footer {
    padding-bottom: 76px;
  }
}

/* Logo de marca dentro de una tarjeta .tech (página /marcas/) */
.tech__media--logo {
  background: radial-gradient(70% 70% at 50% 48%, #fff 0%, var(--mist) 100%);
  min-height: 260px;
}

.tech__media--logo::before {
  inset: 30% 16%;
  background-size: contain;
}

.tech:hover .tech__media--logo::before {
  transform: none;
}

/* Industrias (home): enlace secundario a la página del giro */
.indx__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, .45);
}

.indx__more:hover {
  text-decoration-color: #fff;
}

.indx__pane.is-active .indx__body>*:nth-child(6) { transition-delay: .4s; }

@media (max-width: 640px) {
  .indx__more {
    display: flex;
    margin: 16px 0 0;
  }
}

/* Índices (/soluciones/, /industrias/): 4 tarjetas por fila en escritorio */
@media (min-width: 1100px) {
  .rel--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
