/* =========================================================
   BASE360 — Centro empresarial inmobiliario
   Paleta y tipografías según Manual Visual (LeadCenter)
   ========================================================= */

:root {
  /* Paleta corporativa */
  --navy: #071F36;        /* Azul noche — fondo institucional */
  --blue: #0787FA;        /* Azul eléctrico — 360 y acentos */
  --white: #FFFFFF;       /* Blanco — logotipo y contraste */
  --gray: #E9ECEF;        /* Gris claro — fondos secundarios */

  /* Derivados sólidos (sin degradados) */
  --navy-2: #0C2A47;
  --navy-line: #1B3A58;
  --blue-dark: #066FCC;
  --ink: #071F36;
  --muted: #4E5F70;
  --muted-light: #A9B8C6;
  --line: #D9DEE3;

  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Poppins', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-pad: clamp(80px, 11vw, 150px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--f-head); font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--light { color: var(--muted-light); }

.sec-num {
  font-family: var(--f-head); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.sec-num b { color: var(--blue); font-weight: 800; }
.sec-num::after { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .35; }
.sec-num--light { color: var(--white); }

.sec-title {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08; letter-spacing: -.025em;
  text-wrap: balance;
}
.sec-lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 58ch; }
.h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; letter-spacing: -.01em; }
.link { color: var(--blue-dark); font-weight: 500; border-bottom: 1px solid currentColor; transition: color .2s; }
.link:hover { color: var(--navy); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 8px; border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- Marca (recreación tipográfica del logotipo) ---------- */
.brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--white); }
.brand__word { font-family: var(--f-head); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.brand__word b { color: var(--blue); font-weight: 800; }
.brand__tag { font-family: var(--f-head); font-weight: 500; font-size: 7.6px; letter-spacing: .2em; text-transform: uppercase; margin-top: 5px; color: var(--white); opacity: .9; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--navy); border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), border-color .3s;
}
.header { border-bottom-color: var(--navy-line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--white); opacity: .8;
  position: relative; padding: 6px 0; transition: opacity .2s;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-current { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta { padding: 11px 18px; font-size: 14px; margin-left: 6px; }
.nav__cta .i { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Íconos ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .i--arrow { transition: transform .3s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  --shape: polygon(16% 0, 100% 0, 100% 100%, 25% 100%, 0 47%);
  position: relative; background: var(--navy); color: var(--white);
  padding-top: var(--header-h); overflow: hidden;
}
/* Planos decorativos en tonos sólidos de la paleta */
.hero__deco span { position: absolute; background: #0A2742; pointer-events: none; }
.hero__deco span:first-child { left: 0; top: 0; width: 30vw; height: 100%; clip-path: polygon(0 0, 26% 0, 0 58%); }
.hero__deco span:last-child { left: 0; bottom: 0; width: 22vw; height: 46%; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.hero__360 {
  position: absolute; right: 6px; top: 50%; z-index: 0;
  writing-mode: vertical-rl; transform: translateY(-58%) rotate(180deg);
  font-family: var(--f-head); font-weight: 800; font-size: 170px; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px #12487C; pointer-events: none; user-select: none;
}

.hero .wrap, .header .wrap { max-width: 1380px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.hero__copy { align-self: center; padding: clamp(32px, 4vw, 48px) 0 clamp(80px, 7vw, 100px); }

.hero__eyebrow {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px;
  font-family: var(--f-head); font-weight: 600; font-size: 13px; line-height: 1.75; letter-spacing: .16em; text-transform: uppercase; color: #C9D4DF;
}
.hero__eyebrow .i { width: 24px; height: 24px; color: var(--blue); margin-top: 1px; }
.hero__title {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(40px, 4.5vw, 74px); line-height: 1.02; letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { color: var(--blue); }
.hero__lead { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: #C9D4DF; max-width: 46ch; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__actions .btn--lg { padding: 18px 28px; border-radius: 10px; }
.hero .btn--ghost { border-color: #3A5470; }

/* Imagen con marco angular y línea azul paralela */
.hero__media { position: relative; margin: 0; }
.hero__frame { position: relative; height: clamp(460px, calc(100vh - var(--header-h) - 160px), 660px); }
.hero__line, .hero__gap, .hero__img { position: absolute; top: 0; bottom: 0; right: 0; clip-path: var(--shape); }
.hero__line { left: -18px; background: var(--blue); }
.hero__gap { left: -15px; background: var(--navy); }
.hero__img { left: 0; background: var(--navy-2); overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transform: scale(1.06); transition: transform 1.8s var(--ease-out); }

.hero__tag {
  position: absolute; right: -28px; bottom: 92px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: var(--navy); border: 1px solid #3A5470; border-radius: 14px; padding: 14px 24px 14px 18px;
  font-family: var(--f-head); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #C9D4DF;
}
.hero__tag .i { width: 28px; height: 28px; color: var(--blue); }
.hero__tag b { display: block; font-weight: 700; color: var(--white); margin-bottom: 2px; }

/* Barra de datos */
.facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: -64px clamp(0px, 2.4vw, 32px) clamp(56px, 6vw, 80px);
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 16px; padding: 30px 0;
}
.facts li { display: flex; align-items: center; gap: 18px; padding: 4px clamp(18px, 2.4vw, 32px); }
.facts li + li { border-left: 1px solid var(--navy-line); }
.facts__ico { flex: none; width: 60px; height: 60px; border-radius: 50%; background: #123559; color: var(--blue); display: grid; place-items: center; }
.facts__ico .i { width: 26px; height: 26px; }
.facts strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; line-height: 1.1; }
.facts span:not(.facts__ico) { display: block; margin-top: 4px; font-size: 14px; color: #C9D4DF; line-height: 1.45; }

/* Hero: animación de entrada (sólo si JS está activo; se resuelve con .is-ready) */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__tag, .js .facts { opacity: 0; transform: translateY(16px); }
.js .hero__media { opacity: 0; transform: translateX(40px); }
.hero.is-ready .hero__title .line > span { transform: none; transition: transform 1s var(--ease-out); }
.hero.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.hero.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero.is-ready .hero__eyebrow, .hero.is-ready .hero__lead, .hero.is-ready .hero__actions, .hero.is-ready .hero__tag, .hero.is-ready .facts,
.hero.is-ready .hero__media {
  opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease-out);
}
.hero.is-ready .hero__media { transition-delay: .1s; }
.hero.is-ready .hero__lead { transition-delay: .4s; }
.hero.is-ready .hero__actions { transition-delay: .5s; }
.hero.is-ready .facts { transition-delay: .7s; }
.hero.is-ready .hero__tag { transition-delay: 1s; }
.hero.is-ready .hero__img img { transform: scale(1); }
/* Red de seguridad: si el JS no llega, todo se muestra a los 2.5 s */
.js .hero:not(.is-ready) .hero__title .line > span,
.js .hero:not(.is-ready) .hero__eyebrow, .js .hero:not(.is-ready) .hero__lead, .js .hero:not(.is-ready) .hero__actions,
.js .hero:not(.is-ready) .hero__tag, .js .hero:not(.is-ready) .facts, .js .hero:not(.is-ready) .hero__media {
  animation: heroFallback .01s linear 2.5s forwards;
}
@keyframes heroFallback { to { opacity: 1; transform: none; } }

@media (max-width: 1360px) { .hero__360 { display: none; } .hero__tag { right: 16px; } }
@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(2, 1fr); padding: 8px 0; }
  .facts li { padding: 20px 24px; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}
@media (max-width: 920px) {
  .hero { --shape: polygon(9% 0, 100% 0, 100% 100%, 13% 100%, 0 50%); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 40px 0 36px; }
  .hero__frame { height: clamp(300px, 62vw, 460px); margin-left: 18px; }
  .hero__tag { right: 12px; bottom: 12px; padding: 10px 16px 10px 12px; font-size: 11px; }
  .facts { margin: 24px 0 56px; }
}
@media (max-width: 640px) {
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .hero__actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 20px; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--navy-line); }
  .facts__ico { width: 48px; height: 48px; }
  .hero__deco span:first-child { width: 60vw; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--sec-pad) 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .sec-lead { color: var(--muted-light); }

.sec-head { display: grid; gap: 22px; max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--row { max-width: none; grid-template-columns: minmax(180px, 1fr) 2.6fr; align-items: start; gap: 24px 48px; }
.sec-head--row .sec-num { padding-top: 14px; }
.sec-head--row > div { display: grid; gap: 20px; }

/* Revelado al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
/* El recorte va en la imagen (no en el contenedor observado) para que IntersectionObserver lo detecte */
.js .clip-reveal { background: transparent; }
.js .clip-reveal img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.2s var(--ease-out), transform 1.6s var(--ease-out); }
.js .clip-reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---------- Caja de ícono ---------- */
.ico-box { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--gray); color: var(--navy); margin-bottom: 18px; }
.ico-box .i { width: 24px; height: 24px; }
.ico-box--blue { background: var(--blue); color: var(--white); }
.profile .ico-box { margin-bottom: 4px; background: var(--gray); }

/* ---------- 01 Modelo ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.pillar { padding: 36px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__n { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; margin-bottom: 16px; }
.pillar__n--blue { color: var(--blue); }
.pillar p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.split__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy .h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 32px; }
.solves li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.solves li:last-child { border-bottom: 1px solid var(--line); }
.solves__q { font-size: 15px; color: var(--muted); position: relative; padding-left: 18px; }
.solves__q::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--muted); }
.solves__a { font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1.45; }
.note { margin-top: 28px; font-size: 14px; color: var(--muted); padding-left: 16px; border-left: 3px solid var(--blue); }

/* ---------- 02 Para quién ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile {
  background: var(--white); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--navy);
  transition: border-color .3s var(--ease), transform .4s var(--ease-out);
}
.profile:first-child { border-top-color: var(--blue); }
.profile:hover { transform: translateY(-4px); border-top-color: var(--blue); }
.profile__tag { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); }
.profile p:last-child { color: var(--muted); font-size: 15px; }

/* ---------- 03 Plan ---------- */
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.plan__intro { display: grid; gap: 24px; }
.plan__media { margin-top: 24px; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); }
.plan__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }

.price-card {
  position: sticky; top: calc(var(--header-h) + 32px);
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
}
.price-card__head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.price-card__label { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-dark); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; font-family: var(--f-head); }
.price__cur { font-weight: 700; font-size: 28px; }
.price__num { font-weight: 800; font-size: clamp(80px, 9vw, 120px); line-height: .9; letter-spacing: -.05em; color: var(--navy); }
.price__per { font-weight: 600; font-size: 16px; color: var(--muted); margin-left: 6px; }
.checklist { margin: 8px 0 32px; }
.checklist li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--gray); font-size: 15px; color: var(--muted); }
.checklist li b { color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue);
}
.checklist li::after {
  content: ''; position: absolute; left: 6px; top: 23px; width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.price-card__fine { margin-top: 20px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ---------- 04 Espacios ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  font-family: var(--f-head); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--muted);
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray); aspect-ratio: 3 / 4; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.g-item--wide { grid-column: span 2; aspect-ratio: auto; }
.g-item.is-hidden { display: none; }
.g-item.is-entering { opacity: 0; transform: translateY(12px); }
.g-btn { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute; left: 12px; bottom: 12px; pointer-events: none;
  background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 12px; letter-spacing: .04em;
  padding: 7px 12px; border-radius: 2px;
}
.g-item--video figcaption { background: var(--blue); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(7, 31, 54, .96);
  display: grid; place-items: center; padding: 64px 72px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; border-radius: var(--radius); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.lightbox__close, .lightbox__nav { position: absolute; color: var(--white); width: 48px; height: 48px; font-size: 34px; line-height: 1; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--navy-line); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- 05 Tarifas ---------- */
.rates { display: grid; grid-template-columns: 2fr 1fr; gap: 24px 48px; align-items: start; }
.toggle {
  grid-column: 1 / -1; justify-self: start; position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-radius: 10px; padding: 5px; border: 1px solid var(--line);
}
.toggle__opt { position: relative; z-index: 1; padding: 11px 30px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--muted); transition: color .3s; border-radius: 7px; }
.toggle__opt.is-active { color: var(--white); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--navy); border-radius: 7px; transition: transform .45s var(--ease-out); }
.toggle.is-publico .toggle__pill { transform: translateX(100%); }

.rates__table { background: var(--white); border-radius: var(--radius); padding: 8px clamp(20px, 3vw, 40px); }
.rate { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--gray); }
.rate:last-child { border-bottom: 0; }
.rate__name h3 { font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.3; }
.rate__name p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.rate__val { text-align: right; font-family: var(--f-head); display: grid; justify-items: end; min-width: 120px; }
.rate__val > span { font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.1; color: var(--navy); }
.rate__val small { font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.rate__val .v-pu--muted { font-size: 15px; font-weight: 600; color: var(--muted); }
.rates__table .v-pu { display: none; }
.rates__table[data-mode="publico"] .v-af { display: none; }
.rates__table[data-mode="publico"] .v-pu { display: block; }
.rates__table[data-mode="afiliado"] .v-af { color: var(--blue-dark); }
.rates__table.is-swapping .rate__val > span { animation: swapIn .45s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.extras { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: grid; gap: 18px; }
.extras ul li { padding: 11px 0; border-bottom: 1px solid var(--navy-line); font-size: 15px; }
.extras > p { font-size: 14px; color: var(--muted-light); }
.extras .btn--navy { background: var(--blue); }
.extras .btn--navy:hover { background: var(--white); color: var(--navy); }

/* ---------- 06 Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 40px 0 0; display: grid; gap: 14px; align-content: start; }
.step + .step { padding-left: 40px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--f-head); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -.04em; color: var(--gray); -webkit-text-stroke: 0; transition: color .5s var(--ease); }
.step.is-in .step__n { color: var(--blue); transition-delay: .3s; }
.step p { color: var(--muted); }

/* ---------- 07 FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq details { border-top: 1px solid #C9D0D7; }
.faq details:last-child { border-bottom: 1px solid #C9D0D7; }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--navy);
  transition: transform .35s var(--ease-out), background-color .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details[open] summary::before, .faq details[open] summary::after { background: var(--blue); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 48px 28px 0; color: var(--muted); }

/* ---------- 08 Ubicación ---------- */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.location__copy { display: grid; gap: 28px; }
.info { display: grid; }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.info > div:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info dd { font-weight: 500; }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--gray); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Cierre ---------- */
.closing { background: var(--gray); color: var(--navy); border-top: 4px solid var(--blue); padding: clamp(72px, 9vw, 120px) 0; }
.closing__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
.closing__motto { font-family: var(--f-head); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; }
.closing__motto span { color: var(--blue); }
.closing__side { display: grid; gap: 24px; justify-items: start; }
.closing__side p { font-size: 17px; }
.closing__side p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1.1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--navy-line); }
.brand--footer .brand__word { font-size: 34px; }
.brand--footer .brand__tag { font-size: 9.8px; }
.footer__h { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.footer__col p { font-size: 14px; color: var(--muted-light); margin-bottom: 6px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 12.5px; color: var(--muted-light); }

/* ---------- WhatsApp flotante (estático, sin pulsos) ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; border: 2px solid var(--white);
  box-shadow: 0 6px 20px rgba(7, 31, 54, .28);
  transition: transform .3s var(--ease-out), background-color .2s, opacity .3s;
}
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-float:hover { transform: translateY(-3px); background: #1EBE5A; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px;
    border-top: 1px solid var(--navy-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--navy-line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; padding: 16px; font-size: 16px; }
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

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

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  .plan, .split, .faq-grid, .location, .closing__inner { grid-template-columns: 1fr; }
  .sec-head--row { grid-template-columns: 1fr; }
  .sec-head--row .sec-num { padding-top: 0; }
  .pillars, .profiles, .steps { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .split__media { aspect-ratio: 4 / 3; order: 2; }
  .price-card, .faq-grid .sec-head { position: static; }
  .rates { grid-template-columns: 1fr; }
  .plan__media { order: 3; }
}

@media (max-width: 640px) {
  .brand__word { font-size: 22px; }
  .brand__tag { font-size: 6.4px; }
  .solves li { grid-template-columns: 1fr; gap: 6px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-item figcaption { left: 8px; bottom: 8px; font-size: 11px; padding: 5px 9px; }
  .rate { grid-template-columns: 1fr; gap: 10px; }
  .rate__val { justify-items: start; text-align: left; }
  .toggle { justify-self: stretch; }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
  .lightbox { padding: 64px 12px; }
  .lightbox__nav { top: auto; bottom: 12px; transform: none; }
  .lightbox__cap { bottom: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Sólo los efectos intrusivos se reducen; las microinteracciones se mantienen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =========================================================
   Multipágina — componentes
   ========================================================= */
.i--fill { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { color: var(--blue); font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { margin-top: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--blue-dark); border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .2s, gap .3s var(--ease-out); }
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.link-arrow .i { width: 18px; height: 18px; }

/* Cabecera de páginas internas */
.phero { --shape: polygon(14% 0, 100% 0, 100% 100%, 22% 100%, 0 50%); }
.phero .hero__copy { padding: clamp(48px, 6vw, 80px) 0; }
.phero .hero__title { font-size: clamp(36px, 4.2vw, 64px); }
.phero .hero__frame { height: clamp(300px, 30vw, 430px); margin: clamp(40px, 5vw, 64px) 0; }
.phero .hero__media { align-self: center; }
.crumbs { align-items: center; gap: 10px; font-size: 12px; }
.crumbs a { color: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.crumbs a:hover { border-color: currentColor; }
.crumbs span[aria-hidden] { color: var(--blue); }
@media (max-width: 920px) {
  .phero .hero__copy { padding: 40px 0 8px; }
  .phero .hero__frame { height: clamp(220px, 50vw, 340px); margin: 24px 0 48px 18px; }
}

/* Banda de ahorro (inicio) */
.save-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.save-band__copy { display: grid; gap: 24px; }
.save-band .hl { font-size: 1.15em; }
.plan-minis { display: grid; gap: 14px; }
.plan-mini {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 12px; padding: 22px 26px;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.plan-mini:hover { border-color: var(--blue); transform: translateX(4px); }
.plan-mini__price { font-family: var(--f-head); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.plan-mini__price small { font-size: 14px; font-weight: 600; color: var(--muted-light); margin-left: 2px; }
.plan-mini__pubs { color: #C9D4DF; font-size: 15px; }
.plan-mini__pubs b { color: var(--blue); font-family: var(--f-head); font-size: 20px; margin-right: 2px; }
.plan-mini__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: 13px; color: var(--white); }
.plan-mini__more .i { width: 16px; height: 16px; color: var(--blue); }

/* Fila de fotos (inicio) */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-row figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }
.photo-row figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 2px; }

/* Ubicación: puntos clave */
.loc-points { display: grid; gap: 12px; }
.loc-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.loc-points .i { color: var(--blue); width: 22px; height: 22px; }

/* Independencia (quiénes somos) */
.own { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy-line); }
.own li { display: grid; gap: 10px; align-content: start; padding: 32px 28px 8px 0; }
.own li + li { padding-left: 28px; border-left: 1px solid var(--navy-line); }
.own .i { width: 30px; height: 30px; color: var(--blue); margin-bottom: 6px; }
.own b { font-family: var(--f-head); font-size: 20px; }
.own span { color: #C9D4DF; font-size: 15px; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  display: flex; flex-direction: column; gap: 22px; background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 12px; padding: clamp(28px, 3vw, 40px);
}
.plan-card--entry { border-top-color: var(--blue); }
.plan-card__tag { align-self: flex-start; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--blue); padding: 6px 10px; border-radius: 4px; margin-bottom: -6px; }
.plan-card__price { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-head); color: var(--navy); }
.plan-card__price .cur { font-weight: 700; font-size: 24px; }
.plan-card__price .num { font-weight: 800; font-size: clamp(64px, 6vw, 84px); line-height: .9; letter-spacing: -.05em; }
.plan-card__price .per { font-weight: 600; font-size: 15px; color: var(--muted); margin-left: 6px; }
.plan-card__pubs { display: flex; align-items: center; gap: 14px; background: var(--gray); border-radius: 10px; padding: 16px 18px; font-size: 15px; line-height: 1.35; }
.plan-card__pubs .i { width: 26px; height: 26px; color: var(--blue); }
.plan-card__pubs b { font-family: var(--f-head); font-size: 26px; color: var(--navy); margin-right: 4px; }
.ticks { display: grid; flex: 1; align-content: start; }
.ticks li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gray); font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.ticks li:last-child { border-bottom: 0; }
.ticks .i { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; stroke-width: 2.4; }
.ticks b { color: var(--ink); font-weight: 500; }

/* Comparativo */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 18px 24px; border-bottom: 1px solid var(--gray); text-align: center; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.compare thead th:first-child { text-align: left; }
.compare tbody tr:nth-child(even) { background: #F6F7F9; }
.compare td b { font-family: var(--f-head); font-size: 18px; }
.compare .yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E3F0FE; color: var(--blue-dark); }
.compare .yes .i { width: 16px; height: 16px; stroke-width: 2.6; }

/* Calculadora de ahorro */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.calc__inputs { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 30px; }
.calc__label { display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-head); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.calc__label output { font-weight: 800; font-size: 20px; color: var(--blue); min-width: 2ch; text-align: right; }
.calc input[type="range"] { width: 100%; accent-color: var(--blue); height: 28px; cursor: pointer; }
.calc__plans { border: 0; padding: 0; margin: 0; }
.calc__plans legend { width: 100%; }
.calc__plans label { display: inline-block; margin-right: 8px; cursor: pointer; position: relative; }
.calc__plans input { position: absolute; opacity: 0; }
.calc__plans span { display: inline-block; padding: 10px 20px; border: 1.5px solid #3A5470; border-radius: 8px; font-family: var(--f-head); font-weight: 700; transition: background-color .2s, border-color .2s; }
.calc__plans input:checked + span { background: var(--blue); border-color: var(--blue); }
.calc__plans input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.calc__result { background: var(--white); color: var(--ink); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: grid; align-content: center; gap: 4px; }
.calc__line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray); color: var(--muted); }
.calc__line small { display: block; font-size: 12px; }
.calc__line b { font-family: var(--f-head); font-size: 22px; color: var(--navy); }
.calc__total { display: grid; gap: 4px; padding: 22px 0 8px; }
.calc__total span { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); }
.calc__total b { font-family: var(--f-head); font-weight: 800; font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.calc__total.is-neg b { color: var(--muted); font-size: 32px; }
.calc__note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.calc__fine { margin-top: 20px; font-size: 13px; color: var(--muted-light); max-width: 90ch; }

/* Incluido / adicional */
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.incl__col { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.incl__col--extra { border-top-color: var(--navy); background: #F6F7F9; }
.incl__col .h3 { display: flex; align-items: center; gap: 12px; }
.incl__col .h3 .i { color: var(--blue); width: 24px; height: 24px; }
.incl__col li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.incl__col li::before { content: ''; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.incl__col--extra li::before { background: var(--navy); }

/* Servicios */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: border-color .3s, transform .4s var(--ease-out); }
.svc:hover { border-color: var(--blue); transform: translateY(-3px); }
.svc .ico-box { margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: 14.5px; flex: 1; }
.svc .h3 { font-size: 18px; }
.badge { align-self: flex-start; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; background: #E3F0FE; color: var(--blue-dark); }
.badge--extra { background: var(--gray); color: var(--navy); }

/* Tarifas */
.tariff { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.tariff__row { display: grid; grid-template-columns: 2.2fr 1fr 1fr .8fr; gap: 16px; align-items: center; padding: 20px clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--gray); }
.tariff__row:last-child { border-bottom: 0; }
.tariff__row--head { background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding-top: 16px; padding-bottom: 16px; }
.tariff__name b { display: block; font-family: var(--f-head); font-size: 16px; }
.tariff__name small { color: var(--muted); font-size: 13.5px; }
.tariff__af { font-family: var(--f-head); font-weight: 800; font-size: 24px; color: var(--blue-dark); }
.tariff__pu { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--muted); }
.tariff__save { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.tariff__note { margin: 20px 0 32px; font-size: 13.5px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--blue); }

/* Instalaciones: espacios */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.space { padding: 32px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.space + .space { padding-left: 28px; border-left: 1px solid var(--line); }
.space .ico-box { margin-bottom: 4px; }
.space p { color: var(--muted); font-size: 15px; }

/* Comunidad: unirse */
.join { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.join > div:first-child { display: grid; gap: 20px; }
/* Base para futuros perfiles de agentes (etapa posterior) */
.agent-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__channels { display: grid; gap: 28px; }
.quick { display: grid; gap: 12px; }
.quick__btn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s, background-color .25s; }
.quick__btn:hover { border-color: var(--blue); background: #F4F9FF; }
.quick__btn > .i:first-child { width: 26px; height: 26px; color: var(--blue); }
.quick__btn b { display: block; font-family: var(--f-head); font-size: 17px; }
.quick__btn small { color: var(--muted); font-size: 14px; }
.quick__btn .i--arrow { color: var(--navy); transition: transform .3s var(--ease-out); }
.quick__btn:hover .i--arrow { transform: translateX(4px); }
.socials { display: flex; flex-wrap: wrap; gap: 18px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); }
.socials .i { width: 18px; height: 18px; }
.cform { background: var(--gray); border-radius: 12px; padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.cform__intro { color: var(--muted); font-size: 14.5px; margin-top: -8px; }
.cform__field { display: grid; gap: 8px; }
.cform__field > span { font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.cform__field small { font-weight: 500; color: var(--muted); }
.cform input, .cform select, .cform textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 14px; width: 100%;
  transition: border-color .2s;
}
.cform textarea { resize: vertical; min-height: 110px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--blue); }
.cform__error { color: #B42318; font-size: 14px; font-weight: 500; }
.cform .btn { background: #25D366; color: var(--white); }
.cform .btn:hover { background: #1EBE5A; }

/* Pie: enlaces */
.footer__about p { margin-top: 18px; font-size: 14px; color: var(--muted-light); max-width: 30ch; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { font-size: 14px; color: var(--muted-light); transition: color .2s; }
.footer__links a:hover { color: var(--white); }

@media (max-width: 1080px) {
  .svc-grid, .svc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .own, .spaces { grid-template-columns: repeat(2, 1fr); }
  .own li:nth-child(3), .space:nth-child(3) { padding-left: 0; border-left: 0; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 920px) {
  .save-band, .calc, .incl, .contact, .join { grid-template-columns: 1fr; }
  .cform { position: static; }
  .tariff__row { grid-template-columns: 1.6fr 1fr 1fr; }
  .tariff__row > :nth-child(4) { display: none; }
}
@media (max-width: 640px) {
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .svc-grid, .svc-grid--4, .own, .spaces { grid-template-columns: 1fr; }
  .own li, .own li + li, .space, .space + .space { padding: 24px 0; border-left: 0; }
  .own li + li { border-top: 1px solid var(--navy-line); }
  .space + .space { border-top: 1px solid var(--line); }
  .plan-mini { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 20px; }
  .plan-mini__pubs { grid-column: 1; }
  .plan-mini__more { grid-column: 2; grid-row: 1 / span 2; }
  .tariff__row--head { display: none; }
  .tariff__row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .tariff__name { grid-column: 1 / -1; margin-bottom: 4px; }
  .tariff__af::before, .tariff__pu::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .calc__plans span { padding: 10px 14px; }
}
.plan-card__tag--empty { visibility: hidden; }

/* ---------- Ajustes finales ---------- */
/* Inicio: membresía destacada S/50 */
.feat { background: var(--white); color: var(--ink); border-radius: 12px; border-top: 4px solid var(--blue); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.feat .plan-card__tag { margin-bottom: -4px; }
.feat__more { font-size: 14px; color: var(--muted); }
.feat__more a { color: var(--blue-dark); font-weight: 600; border-bottom: 1px solid currentColor; }

/* Celulares: comparativo y calculadora sin cortes */
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; }
  .compare { min-width: 0; font-size: 13px; table-layout: fixed; }
  .compare th, .compare td { padding: 12px 6px; }
  .compare th[scope="row"], .compare thead th:first-child { padding-left: 12px; width: 46%; }
  .compare td { font-size: 12px; }
  .compare thead th { font-size: 11.5px; letter-spacing: 0; }
  .compare thead th:first-child { padding-left: 12px; }
  .compare td b { font-size: 15px; }
  .compare .yes { width: 24px; height: 24px; }
  .calc__label { font-size: 14px; }
  .calc__plans { display: flex; gap: 8px; }
  .calc__plans legend { margin-bottom: 12px; }
  .calc__plans label { margin: 0; flex: 1; }
  .calc__plans span { display: block; text-align: center; padding: 10px 0; }
  .calc__line { flex-wrap: wrap; }
  .socials { flex-direction: column; gap: 10px; }
}

/* ---------- Últimas observaciones ---------- */
/* Inicio: desglose del ahorro S/50 */
.save-band .sec-title .hl { font-size: inherit; }
.savings { display: grid; border-top: 1px solid var(--navy-line); max-width: 460px; }
.savings li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--navy-line); color: #C9D4DF; }
.savings b { font-family: var(--f-head); font-weight: 700; color: var(--white); }
.savings__total span { color: var(--white); font-weight: 500; }
.savings__total b { color: var(--blue); font-size: 20px; }
.savings__fine { font-size: 12.5px; color: var(--muted-light); margin-top: -8px; }

/* Planes: "en 6 portales" y refuerzo del plan S/50 */
.plan-card__pubs small { display: block; font-size: 12.5px; color: var(--muted); }
.plan-card__hl { display: flex; gap: 12px; align-items: flex-start; background: #E3F0FE; border-left: 3px solid var(--blue); border-radius: 8px; padding: 14px 16px; font-size: 14.5px; line-height: 1.45; color: var(--navy); }
.plan-card__hl .i { width: 20px; height: 20px; color: var(--blue); margin-top: 1px; }
.plan-card__hl b { font-family: var(--f-head); }

/* Membresías: visibilidad en 6 portales */
.visib { display: flex; align-items: center; gap: 22px; background: var(--navy); color: var(--white); border-radius: 12px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px); }
.visib__ico { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.visib__ico .i { width: 26px; height: 26px; }
.visib p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; }
.visib b { color: var(--blue); }

/* Inicio: acceso directo a salas y coworking */
.rent { background: var(--white); padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.rent__inner { display: grid; grid-template-columns: 1.6fr auto; gap: 32px 64px; align-items: center; border-left: 4px solid var(--blue); padding-left: clamp(24px, 3vw, 40px); }
.rent__copy { display: grid; gap: 16px; }
.rent__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }

@media (max-width: 920px) {
  .rent__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .visib { flex-direction: column; align-items: flex-start; }
  .rent__cta .btn { width: 100%; }
}
@media (max-width: 1080px) { .plan-card__tag--empty { display: none; } }
.facts strong small { font-size: .55em; font-weight: 600; letter-spacing: 0; color: #C9D4DF; }
.facts strong.nowrap { white-space: nowrap; }
.footer__about .footer__company { margin-top: 22px; font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--white); }
.footer__about .footer__company + p { margin-top: 6px; }
.nf .hero__copy { padding: clamp(80px, 12vw, 160px) 0; max-width: 760px; }
.nf .wrap { position: relative; z-index: 1; }
