/* SIIC Consultoría — sistema visual. Ver DESIGN.md */

/* ------------------------------------------------------------------ tokens */
:root {
  --navy-950: #040f1c;
  --navy-900: #081829;
  --navy-800: #10253c;
  --navy-700: #17324f;
  --navy-600: #264a6d;
  --lime: #cddd32;
  --lime-hi: #ddeb52;
  --lime-deep: #9daa1c;
  --silver: #e3e7ec;
  --silver-2: #a9b4c2;
  --silver-3: #7d8a9b;
  --paper: #eef1f4;
  --ink-dark: #081829;

  --font-display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --font-text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;

  --step-mono: clamp(6rem, 25vw, 26rem);
  --step-head: clamp(2.25rem, 1.2rem + 4.4vw, 5rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 140px;
  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(96px, 14vw, 200px);
  --maxw: 1440px;
  --nav-h: 72px;

  --r-0: 0;
  --r-1: 6px;
  --r-pill: 999px;
  --shadow-float: 0 24px 60px -20px rgba(2, 8, 16, 0.75);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-ui: 220ms;
  --dur-modal: 420ms;

  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-gutter: stable; }
html:has(.toolbar) { scroll-padding-top: 220px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--silver);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--lime); color: var(--ink-dark); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.field-light :focus-visible { outline-color: var(--navy-800); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--lime); color: var(--ink-dark); padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 500; text-decoration: none; transition: transform var(--dur-ui) var(--ease-out);
}
.skip-link:focus { transform: translateY(96px); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ type */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-head);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-lead);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lead { font-size: var(--step-lead); line-height: 1.35; font-weight: 400; text-wrap: pretty; }
.muted { color: var(--silver-2); }
.small { font-size: var(--step-small); line-height: 1.45; }
.accent { color: var(--lime); }
.measure { max-width: 62ch; }

/* Marcador de contenido pendiente: visible a propósito */
.tbd {
  display: inline-block;
  background: var(--navy-700);
  color: var(--silver);
  padding: 0.15em 0.55em;
  border-radius: var(--r-1);
  font-style: italic;
}
.field-light .tbd { background: #dfe4ea; color: var(--navy-800); }
p.tbd-block { color: var(--silver-2); }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink-dark);
  --btn-bg-hover: var(--lime-hi);
  --btn-bg-press: var(--lime-deep);
  --btn-dot: rgba(8, 24, 41, 0.12);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 6px 6px 6px 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-text); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); background: var(--btn-bg-press); }
.btn__dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-dot); flex: none;
  transition: transform var(--dur-ui) var(--ease-out);
}
.btn__dot svg { width: 18px; height: 18px; }
.btn--plain { padding: 0 24px; }
.btn--secondary { --btn-bg: var(--navy-700); --btn-fg: var(--silver); --btn-bg-hover: var(--navy-600); --btn-bg-press: var(--navy-600); --btn-dot: rgba(227, 231, 236, 0.1); }
.btn--dark { --btn-bg: var(--navy-800); --btn-fg: var(--paper); --btn-bg-hover: var(--navy-700); --btn-bg-press: var(--navy-900); --btn-dot: rgba(227, 231, 236, 0.12); }
.btn--sm { min-height: 44px; font-size: 0.9375rem; padding-left: 18px; gap: 10px; }
.btn--sm .btn__dot { width: 32px; height: 32px; }
.btn--sm.btn--plain { padding: 0 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--btn-bg-hover); }
  .btn:hover .btn__dot { transform: translate(2px, -2px); }
  .btn:active { background: var(--btn-bg-press); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--silver);
  text-decoration: none; font-weight: 500;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--lime); }
  .link-arrow:hover svg { transform: translateX(4px); }
}

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); background: var(--navy-800); color: var(--silver);
  font-weight: 500; font-size: 0.9375rem; white-space: nowrap;
  transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--lime); color: var(--ink-dark); }
.chip .chip__n { font-variant-numeric: tabular-nums; opacity: 0.7; }
@media (hover: hover) and (pointer: fine) {
  .chip:not([aria-selected="true"]):not([aria-pressed="true"]):hover { background: var(--navy-700); }
}

.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); background: rgba(4, 15, 28, 0.82); color: var(--silver);
  font-size: 0.8125rem; font-weight: 500; line-height: 1;
}
.tag--lime { background: var(--lime); color: var(--ink-dark); }
.tag--warn { background: var(--silver); color: var(--ink-dark); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color 300ms ease, transform 400ms var(--ease-out);
}
.site-header.is-solid { background: var(--navy-950); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand__name b { color: var(--lime); font-weight: 900; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 500; padding: 10px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out);
}
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); position: relative; }
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--silver); border-radius: 2px;
  transition: transform 320ms var(--ease-in-out), opacity 200ms ease;
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 28px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 520ms var(--ease-drawer), visibility 0s linear 520ms;
}
.nav-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 520ms var(--ease-drawer), visibility 0s; }
.mobile-menu ul { display: grid; gap: 4px; margin-bottom: 32px; }
.mobile-menu a.mm-link {
  display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 12vw, 4rem);
  letter-spacing: -0.03em; line-height: 1.05; text-decoration: none;
  opacity: 0; transform: translateY(32px);
  transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out);
}
.mobile-menu a.mm-link[aria-current="page"] { color: var(--lime); }
.nav-open .mobile-menu a.mm-link { opacity: 1; transform: none; }
.nav-open .mobile-menu li:nth-child(2) a { transition-delay: 60ms; }
.nav-open .mobile-menu li:nth-child(3) a { transition-delay: 120ms; }
.nav-open .mobile-menu li:nth-child(4) a { transition-delay: 180ms; }
.mobile-menu .mm-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* ------------------------------------------------------------------ intro */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-950);
  display: grid; place-items: center; cursor: pointer;
}
.intro__lockup { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.intro__mark { position: relative; flex: none; width: min(30vw, 220px); aspect-ratio: 1; }
.intro__word { display: flex; flex-direction: column; gap: 0.2em; }
.intro__line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.intro__siic, .intro__sub { display: block; font-family: var(--font-display); color: var(--silver); white-space: nowrap; }
.intro__siic { font-weight: 900; font-size: clamp(3rem, 11vw, 7.5rem); line-height: 0.9; letter-spacing: -0.02em; }
.intro__siic b { color: var(--lime); font-weight: 900; }
.intro__sub { font-weight: 500; font-size: clamp(0.85rem, 2.6vw, 1.6rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--silver-2); }
.intro__mark img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; }
.intro__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro__ring circle { fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; }
.intro__skip { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: var(--silver-2); font-size: var(--step-small); }
.intro[hidden] { display: none; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(12px, 2.5vh, 32px));
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5);
  align-items: start; padding-bottom: clamp(16px, 3vh, 32px);
}
.hero__copy { display: contents; }
.hero__statement {
  grid-column: 1 / span 5; font-size: clamp(1.375rem, 0.9rem + 1.2vw, 2rem); line-height: 1.2; letter-spacing: -0.01em;
  font-weight: 500; max-width: 30ch; text-wrap: balance;
}
.hero__statement span { color: var(--silver-2); }
.hero .picker { grid-column: 7 / span 6; justify-self: end; width: 100%; max-width: 600px; }

.hero-photo { position: relative; height: clamp(420px, 88svh, 980px); overflow: hidden; background: var(--navy-800); }
.hero-photo__slides { position: absolute; inset: -6% 0 auto 0; height: 112%; }
.hero-photo img, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-on { opacity: 1; animation: heroZoom 7s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-on { animation: none; } }
.hero-photo__dots { position: absolute; right: max(var(--gutter), 6%); bottom: calc(var(--gutter) + 12px); display: flex; gap: 8px; }
.hero-photo__dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(227, 231, 236, 0.35); transition: background 0.4s, width 0.4s; }
.hero-photo__dots span.is-on { width: 44px; background: var(--lime); }
@media (max-width: 600px) { .hero-photo__dots { right: auto; left: max(var(--gutter), 6%); bottom: calc(var(--gutter) + 52px); } }
.hero-photo figcaption { position: absolute; left: max(var(--gutter), 6%); bottom: var(--gutter); }

.mono {
  font-family: var(--font-display); font-weight: 900; font-size: var(--step-mono);
  --fit: min(calc((100vw - 2 * var(--gutter)) / 1.74), calc((100svh - var(--nav-h) - 300px) / 0.78));
  line-height: 0.74; letter-spacing: -0.055em; text-align: center; white-space: nowrap;
  margin: 0 calc(var(--gutter) * -0.2); padding-top: 0.02em; user-select: none;
}
.mono__line { display: block; overflow: hidden; padding-bottom: 0.035em; }
.mono__l { display: inline-block; color: var(--silver); }
.mono__l--i { color: var(--lime); }
.hero .mono { font-size: var(--fit); margin-bottom: -0.04em; }

/* selector Comprar / Vender / Construir */
.picker { max-width: 560px; }
.picker__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--navy-800); position: relative; }
.picker__tab {
  position: relative; z-index: 1; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 500; color: var(--silver); transition: color var(--dur-ui) ease;
}
.picker__tab[aria-selected="true"] { color: var(--ink-dark); background: var(--lime); }
.picker--js .picker__tab[aria-selected="true"] { background: transparent; }
.picker__pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--r-pill);
  background: var(--lime); transition: transform 380ms var(--ease-in-out), width 380ms var(--ease-in-out);
}
.picker__panels { margin-top: var(--s-5); display: grid; }
.picker__panel { grid-area: 1 / 1; display: grid; gap: var(--s-4); align-content: start; }
.picker__panel[hidden] { display: none; }
.picker__panel p { max-width: 44ch; }
.picker__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.picker__cats a { text-decoration: none; }

/* ------------------------------------------------------------------ marquee */
.marquee { overflow: hidden; padding-block: clamp(20px, 3vw, 40px); background: var(--navy-950); }
.marquee__track { display: flex; width: max-content; }
.marquee__group {
  display: flex; flex: none; align-items: center; gap: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 7vw, 7rem); letter-spacing: -0.035em; line-height: 1;
}
.marquee__dot { width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--lime); flex: none; }
.marquee__group span:not(.marquee__dot) { white-space: nowrap; }

/* ------------------------------------------------------------------ section heads */
.head { display: grid; gap: var(--s-5); margin-bottom: clamp(40px, 6vw, 80px); }
.head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); align-items: end; }
.head--split .display { grid-column: 1 / span 7; }
.head--split .head__aside { grid-column: 9 / span 4; }
@media (max-width: 860px) {
  .head--split { grid-template-columns: 1fr; }
  .head--split .display, .head--split .head__aside { grid-column: 1; }
}

/* ------------------------------------------------------------------ category band */
.band { display: flex; height: clamp(520px, 68svh, 760px); background: var(--navy-950); }
.panel {
  position: relative; flex: var(--grow, 2) 1 0; min-width: 0; overflow: hidden; color: var(--silver);
  text-decoration: none; transition: flex-grow 600ms var(--ease-in-out);
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 900ms var(--ease-out); }
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient( /* taste-skill-ignore: velo neutro bajo texto sobre foto */to top, rgba(4, 15, 28, 0.88) 0%, rgba(4, 15, 28, 0.35) 42%, rgba(4, 15, 28, 0) 70%);
}
.panel__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 28px); display: grid; gap: 6px; }
.panel__n { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 7vw, 7rem); line-height: 0.85; letter-spacing: -0.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.panel__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); letter-spacing: -0.01em; line-height: 1.1; }
.panel__go { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-small); color: var(--silver); opacity: 0.85; }
.panel__go svg { width: 16px; height: 16px; transition: transform var(--dur-ui) var(--ease-out); }
.panel .tag { position: absolute; z-index: 1; top: 12px; left: 12px; }
@media (hover: hover) and (pointer: fine) {
  .band:hover .panel { flex-grow: 1.6; }
  .band .panel:hover, .band .panel:focus-visible { flex-grow: 5; }
  .panel:hover img { transform: scale(1.06); }
  .panel:hover .panel__go svg { transform: translateX(4px); }
}
.band-caption { padding-top: var(--s-4); }
@media (max-width: 760px) {
  .band { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .panel { aspect-ratio: 3 / 4; }
  .panel__n { font-size: 3.25rem; }
}

/* ------------------------------------------------------------------ about / split blocks */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); row-gap: var(--s-7); }
.split__title { grid-column: 1 / span 5; }
.split__body { grid-column: 7 / span 6; display: grid; gap: var(--s-5); align-content: start; }
.split__title .display { position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__title, .split__body { grid-column: 1; }
  .split__title .display { position: static; }
}
.person { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); background: var(--navy-800); }
.person__mark { width: 64px; height: 64px; flex: none; border-radius: 50%; }
.person__name { font-weight: 700; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.person__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* socios */
.partners-wrap { margin-top: var(--s-9); display: grid; gap: var(--s-6); }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime); }
.partners__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.1; margin-top: 8px; text-wrap: balance; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); max-width: 900px; }
@media (max-width: 700px) { .partners { grid-template-columns: 1fr; } }
.partner { display: grid; gap: var(--s-5); min-width: 0; align-content: start; }
.partner__photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, var(--navy-700), var(--navy-900)); display: grid; place-items: center; align-content: center; gap: var(--s-4); }
.partner__mark { width: 96px; height: 96px; border-radius: 50%; opacity: 0.55; }
.partner__ph { font-size: var(--step-small); color: var(--silver-2); letter-spacing: 0.08em; }
.partner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner__body { display: grid; gap: var(--s-3); justify-items: start; min-width: 0; }
.partner__line { width: 48px; height: 3px; background: var(--lime); }
.partner__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -0.01em; }
.partner__role { font-family: var(--font-display); font-weight: 500; color: var(--silver-2); }
.partner__bio { max-width: 52ch; }
.partner__links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--s-2); }

/* figure lines */
.figures { display: grid; gap: 28px; margin-top: var(--s-4); }
.figure { display: grid; grid-template-columns: 132px 1fr; column-gap: 24px; align-items: baseline; }
.figure__n { text-align: right; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.25rem, 3vw, 3rem); line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.figure__t { max-width: 40ch; }
@media (max-width: 560px) { .figure { grid-template-columns: 88px 1fr; } }

/* ------------------------------------------------------------------ services (paper field) */
.field-light { background: var(--paper); color: var(--ink-dark); }
.field-light .muted { color: #4a5a6e; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
.service { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-4); padding-block: var(--s-5); align-items: start; }
.service + .service { margin-top: 0; }
.service__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); color: var(--lime); display: grid; place-items: center; }
.service__ico svg { width: 22px; height: 22px; }
.service h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.2; letter-spacing: -0.01em; }
.service p { margin-top: 6px; font-size: 1rem; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ table of developments */
.devlist { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); }
.devlist__media { grid-column: 1 / span 5; position: relative; overflow: hidden; align-self: end; aspect-ratio: 4 / 5; background: var(--navy-800); }
.devlist__media img { position: absolute; inset: -5% 0 auto; width: 100%; height: 110%; object-fit: cover; }
.devlist__media .tag { position: absolute; left: 12px; bottom: 12px; }
.devlist__rows { grid-column: 7 / span 6; align-self: end; display: grid; }
.devrow {
  display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-5); row-gap: 2px; align-items: center;
  padding: 20px 16px; margin-inline: -16px; text-decoration: none; border-radius: var(--r-1);
  transition: background-color var(--dur-ui) ease;
}
.devrow__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.devrow__meta { grid-column: 1; color: var(--silver-2); font-size: var(--step-small); }
.devrow__price { grid-row: 1 / span 2; grid-column: 2; text-align: right; display: flex; align-items: center; gap: 12px; color: var(--lime); font-weight: 500; font-variant-numeric: tabular-nums; }
.devrow__price svg { width: 20px; height: 20px; color: var(--silver); transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .devrow:hover { background: var(--navy-800); }
  .devrow:hover .devrow__price svg { transform: translateX(4px); }
}
@media (max-width: 860px) {
  .devlist { grid-template-columns: 1fr; row-gap: var(--s-7); }
  .devlist__media, .devlist__rows { grid-column: 1; }
  .devlist__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .devrow { grid-template-columns: 1fr; }
  .devrow__price { grid-row: auto; grid-column: 1; text-align: left; margin-top: 6px; }
}

/* ------------------------------------------------------------------ contact rows */
.contact-rows { display: grid; }
.crow {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5);
  min-height: clamp(84px, 11vw, 150px); padding: 0 var(--gutter) clamp(14px, 1.6vw, 24px);
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1rem + 4vw, 5.25rem);
  line-height: 1; letter-spacing: -0.03em; text-decoration: none; color: var(--silver);
}
.crow:nth-child(odd) { background: var(--navy-800); }
.crow:nth-child(even) { background: var(--navy-900); }
.crow small { font-family: var(--font-text); font-size: var(--step-small); letter-spacing: 0; color: var(--silver-2); padding-bottom: 0.4em; text-align: right; }
.crow .tbd { font-size: 0.5em; letter-spacing: -0.01em; font-family: var(--font-text); }
a.crow { transition: color var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) { a.crow:hover { color: var(--lime); } }
.crow--hola { background: var(--lime) !important; color: var(--ink-dark); font-weight: 900; align-items: center; }
.crow--hola .roundgo {
  display: grid; place-items: center; width: clamp(56px, 7vw, 96px); height: clamp(56px, 7vw, 96px); flex: none; border-radius: 50%;
  background: var(--ink-dark); color: var(--lime); transition: transform var(--dur-ui) var(--ease-out);
}
.crow--hola .roundgo svg { width: 40%; height: 40%; }
@media (hover: hover) and (pointer: fine) { .crow--hola:hover { color: var(--ink-dark); } .crow--hola:hover .roundgo { transform: translateX(6px) rotate(-12deg); } }
@media (max-width: 560px) { .crow { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; } .crow small { text-align: left; padding: 0; } .crow--hola { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); padding-top: clamp(72px, 10vw, 140px); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); row-gap: var(--s-7); }
.footer__invite { grid-column: 1 / span 7; display: grid; gap: var(--s-6); justify-items: start; }
.footer__links { grid-column: 10 / span 3; display: grid; gap: 10px; align-content: start; }
.footer__links a { text-decoration: none; color: var(--silver); width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--lime); } }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(72px, 10vw, 140px); color: var(--silver-2); font-size: var(--step-small); }
.footer__mono { font-size: 54vw; text-align: left; margin: 0 0 -0.2em calc(var(--gutter) * -0.5); line-height: 0.8; color: var(--navy-800); }
.footer__mono .mono__l { color: var(--navy-800); }
.footer__mono .mono__l--i { color: var(--lime); }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__invite, .footer__links { grid-column: 1; }
  .footer__links { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------ WhatsApp float */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 8px; border-radius: var(--r-pill);
  background: var(--lime); color: var(--ink-dark); text-decoration: none; font-weight: 500;
  box-shadow: var(--shadow-float); /* taste-skill-ignore: botón flotante */
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease;
}
.wa-float__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-dark); color: var(--lime); }
.wa-float__ico svg { width: 24px; height: 24px; }
.wa-float:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--lime-hi); } }
@media (max-width: 560px) { .wa-float { padding: 0 8px; } .wa-float__txt { display: none; } }

/* ------------------------------------------------------------------ page head (cartera / asesores) */
.page-head { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(32px, 4vw, 56px); }
.page-head__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); row-gap: var(--s-5); align-items: end; }
.page-head__grid > h1 { grid-column: 1 / span 7; font-size: clamp(3.5rem, 2rem + 8vw, 10rem); line-height: 0.85; letter-spacing: -0.045em; }
.page-head__aside { grid-column: 8 / span 5; display: grid; gap: var(--s-4); }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__grid > h1, .page-head__aside { grid-column: 1; } }

.counts { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.counts span { color: var(--silver-2); }
.counts b { color: var(--lime); font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ cartera toolbar */
.toolbar {
  position: sticky; top: var(--nav-h); z-index: 20; background: var(--navy-900);
  padding-block: 12px; transition: transform 400ms var(--ease-out);
}
.toolbar.nav-hidden { transform: translateY(calc(var(--nav-h) * -1)); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 12px; }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 44px 0 16px; border-radius: var(--r-pill);
  border: 0; background: var(--navy-800); color: var(--silver); font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  transition: background-color var(--dur-ui) ease;
}
.select select:hover { background: var(--navy-700); }
.select option { background: var(--navy-800); color: var(--silver); }
.select svg { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--silver-2); }
.select label { position: absolute; left: -9999px; }
.filters__count { margin-left: auto; color: var(--silver-2); font-size: var(--step-small); }
.filters__reset { min-height: 44px; padding: 0 12px; color: var(--silver-2); text-decoration: underline; text-underline-offset: 0.25em; font-size: var(--step-small); }
.filters__reset:hover { color: var(--silver); }
@media (max-width: 560px) {
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .select select { padding: 0 34px 0 14px; font-size: 0.875rem; }
  .select svg { right: 12px; }
  .filters .select select { width: 100%; }
  .filters__count { margin-left: 0; }
}

/* ------------------------------------------------------------------ cards grid */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding-top: var(--s-6); padding-bottom: var(--section); }
.grid-cards > .card--wide { grid-column: 1 / -1; flex-direction: row; }
.card--wide .card__media { flex: 0 0 58%; aspect-ratio: 16 / 10; }
.card--wide .card__body { padding: clamp(24px, 3vw, 48px); align-content: center; gap: 12px; }
.card--wide .card__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); font-weight: 900; letter-spacing: -0.025em; }
.card--wide .card__summary { color: var(--silver-2); font-size: 1rem; max-width: 48ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-cards > .card--wide { flex-direction: column; } .card--wide .card__media { flex: none; } }
@media (max-width: 680px) { .grid-cards { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; text-align: left; width: 100%;
  background: var(--navy-800); color: var(--silver); text-decoration: none;
  transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.card:active { transform: scale(0.985); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.card--wide .card__media { aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card__tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__legend { position: absolute; left: 12px; bottom: 12px; }
.card__body { display: grid; gap: 8px; padding: clamp(18px, 1.8vw, 24px); flex: 1; align-content: start; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.15; letter-spacing: -0.01em; }
.card__loc { color: var(--silver-2); font-size: 0.9375rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { color: var(--lime); font-weight: 500; font-size: 1.125rem; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.card__price small { color: var(--silver-2); font-weight: 400; font-size: 0.8125rem; }
.card__keys { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; color: var(--silver); font-size: 0.9375rem; }
.card__keys .k { white-space: nowrap; }
.card__keys .k span { color: var(--silver-2); margin-right: 6px; }
.card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; font-size: 0.9375rem; color: var(--silver); }
.card__go svg { width: 18px; height: 18px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { background: var(--navy-700); }
  .card:hover .card__media img { transform: scale(1.05); }
  .card:hover .card__go { color: var(--lime); }
  .card:hover .card__go svg { transform: translateX(4px); }
}

.empty { padding: var(--s-9) 0 var(--section); display: grid; gap: var(--s-4); justify-items: start; }

/* ------------------------------------------------------------------ detail dialog */
.detail {
  position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--navy-950); color: var(--silver);
  overflow: hidden;
}
.detail::backdrop { background: rgba(4, 15, 28, 0.6); }
.detail[open] { animation: detail-in var(--dur-modal) var(--ease-drawer); }
.detail.is-closing { animation: detail-out 220ms var(--ease-out) forwards; }
@keyframes detail-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes detail-out { to { opacity: 0; transform: translateY(16px); } }
.detail__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.detail__bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding-inline: var(--gutter); background: var(--navy-950);
}
.detail__crumb { color: var(--silver-2); font-size: var(--step-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--navy-800); color: var(--silver);
  transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--navy-700); } }

.detail__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); padding: 0 var(--gutter) var(--s-8); }
@media (max-width: 980px) { .detail__top { grid-template-columns: 1fr; } }

.gallery { display: grid; gap: 10px; align-content: start; }
@media (min-width: 981px) { .gallery, .gallery--empty { position: sticky; top: 72px; align-self: start; } }
.gallery__stage { position: relative; aspect-ratio: 4 / 3; background: var(--navy-800); overflow: hidden; }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 260ms ease; }
.gallery__stage img.is-cover { object-fit: cover; }
.gallery__stage .tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.gallery__nav { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 8px; z-index: 1; }
.gallery__stage .gallery__count { left: auto; bottom: auto; top: 12px; right: 12px; }
.gallery__zoom { position: absolute; inset: 0; z-index: 0; cursor: zoom-in; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; border-radius: var(--r-1); overflow: hidden; opacity: 0.55; transition: opacity var(--dur-ui) ease; outline-offset: 2px; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--lime); } /* taste-skill-ignore: anillo de selección */
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .thumbs button:hover { opacity: 1; } }
.gallery--empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--navy-800); color: var(--silver-2); text-align: center; padding: var(--s-6); }

.info { display: grid; gap: var(--s-5); align-content: start; }
.info__kicker { color: var(--silver-2); font-size: var(--step-small); }
.info h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.info__price { display: grid; gap: 6px; }
.info__price strong { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); color: var(--lime); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.info__legend { display: flex; flex-wrap: wrap; gap: 6px; }
.ficha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.ficha div { background: var(--navy-800); padding: 14px 16px; }
.ficha dt { color: var(--silver-2); font-size: 0.8125rem; }
.ficha dd { font-weight: 500; margin-top: 2px; line-height: 1.35; }
@media (max-width: 340px) { .ficha { grid-template-columns: 1fr; } }
.info h2:focus { outline: none; }
.checks { display: grid; gap: 10px; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; line-height: 1.45; }
.checks svg { width: 20px; height: 20px; color: var(--lime); margin-top: 2px; }
.agent { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 16px; background: var(--navy-800); }
.agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--navy-700); }
.agent__label { color: var(--silver-2); font-size: 0.8125rem; }
.agent__name { font-weight: 700; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.2; }
.agent__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.agent__actions a { text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.detail__more { padding: 0 var(--gutter) var(--s-9); display: grid; gap: clamp(56px, 7vw, 96px); }
.block h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: var(--s-5); }
.block__note { margin-top: var(--s-4); }

.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.model { background: var(--navy-800); display: flex; flex-direction: column; }
.model__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.model__media img { width: 100%; height: 100%; object-fit: cover; }
.model__media .tag { position: absolute; left: 10px; bottom: 10px; }
.model__body { padding: 18px 18px 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.model__name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.01em; }
.model__sub { color: var(--silver-2); font-size: 0.9375rem; }
.model__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; font-size: 0.9375rem; }
.model__specs dt { color: var(--silver-2); font-size: 0.8125rem; }
.model__specs dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.model__price { color: var(--lime); font-weight: 500; font-variant-numeric: tabular-nums; }
.model__incl { font-size: 0.9375rem; color: var(--silver-2); }
.model__incl summary { cursor: pointer; color: var(--silver); font-weight: 500; min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; }
.model__incl summary::-webkit-details-marker { display: none; }
.model__incl summary::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-700); color: var(--lime); font-weight: 700; transition: transform var(--dur-ui) var(--ease-out); }
.model__incl[open] summary::after { transform: rotate(45deg); }
.model__incl ul { padding-left: 18px; display: grid; gap: 4px; }
.model--text .model__body { padding-top: 22px; }

.amen { display: flex; flex-wrap: wrap; gap: 8px; }
.amen span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--navy-800); }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); margin-top: var(--s-5); }
.photo-row figure { position: relative; overflow: hidden; background: var(--navy-800); aspect-ratio: 4 / 5; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }
.photo-row .tag { position: absolute; left: 10px; bottom: 10px; }
@media (max-width: 680px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }
.plus { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.plus figure { background: #fff; padding: 8px; }
.plus figure img { width: 100%; }
.plus figcaption { margin-top: 10px; }
@media (max-width: 860px) { .plus { grid-template-columns: 1fr; } }
.subs { display: grid; gap: 2px; }
.subs li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4px 24px; background: var(--navy-800); padding: 16px 18px; }
.subs b { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.subs span { color: var(--silver-2); }
@media (max-width: 680px) { .subs li { grid-template-columns: 1fr; } }
.plan { background: #fff; padding: clamp(6px, 1vw, 12px); }
.plan button { display: block; width: 100%; cursor: zoom-in; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4, 15, 28, 0.96); display: grid; grid-template-rows: auto 1fr; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; height: 64px; padding-inline: var(--gutter); }
.lightbox__img { min-height: 0; display: grid; place-items: center; padding: 0 var(--gutter) var(--gutter); overflow: auto; }
.lightbox__img img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }

/* ------------------------------------------------------------------ advisors */
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 28px); padding-bottom: var(--section); }
.acard { background: var(--navy-800); display: flex; flex-direction: column; }
.acard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-700); display: block; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.acard__body { padding: 20px; display: grid; gap: 4px; flex: 1; align-content: start; }
.acard__name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.15; }
.acard__name a { text-decoration: none; }
.acard__role { color: var(--silver-2); }
.acard__n { color: var(--lime); font-size: var(--step-small); margin-top: 4px; }
.acard__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.acard__actions a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .acard:hover .acard__media img { transform: scale(1.04); } }

.soon { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); row-gap: var(--s-7); padding-bottom: var(--section); align-items: end; }
.soon__word { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 900; font-size: min(13.5vw, 14rem); line-height: 0.82; letter-spacing: -0.05em; color: var(--navy-600); white-space: nowrap; overflow: hidden; }
.soon__word span { color: var(--lime); }
.soon__text { grid-column: 1 / span 6; display: grid; gap: var(--s-5); justify-items: start; }
.soon__slots { grid-column: 8 / span 5; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { aspect-ratio: 4 / 5; background: var(--navy-800); display: grid; place-items: end start; padding: 12px; }
.slot svg { width: 40%; height: auto; color: var(--navy-600); margin: auto; }
@media (max-width: 860px) { .soon__text, .soon__slots { grid-column: 1 / -1; } .soon__word { font-size: calc((100vw - 2 * var(--gutter)) / 6.3); } }

.demo-banner { background: var(--lime); color: var(--ink-dark); font-weight: 500; font-size: var(--step-small); text-align: center; padding: 10px var(--gutter); position: relative; z-index: 60; margin-top: var(--nav-h); }
.demo-banner + main .page-head { padding-top: clamp(40px, 7vw, 96px); }
.demo-banner a { font-weight: 700; }

.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding-bottom: clamp(56px, 7vw, 96px); }
.profile__photo { aspect-ratio: 4 / 5; background: var(--navy-800); overflow: hidden; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__info { display: grid; gap: var(--s-5); justify-items: start; }
.profile__info h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 6.5rem); line-height: 0.9; letter-spacing: -0.04em; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile__photo { max-width: 360px; } }

/* ------------------------------------------------------------------ motion states (solo con JS + GSAP) */
.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.motion .is-in[data-reveal], .motion .is-in [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .panel, .panel img, .card__media img, .mobile-menu, .mobile-menu a.mm-link, .picker__pill, .site-header { transition-duration: 0.01ms !important; }
  .motion [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ por qué */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 6vw, 80px); }
.why li { display: grid; gap: 12px; align-content: start; padding-top: 20px; }
.why__mark { display: block; width: 40px; height: 6px; border-radius: var(--r-pill); background: var(--lime); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ hero responsive */
@media (max-width: 1100px) {
  .hero__statement { grid-column: 1 / -1; max-width: 30ch; }
  .hero .picker { grid-column: 1 / -1; justify-self: start; margin-top: var(--s-5); }
}
@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 12px); justify-content: flex-start; }
  .hero .mono { order: -1; font-size: calc((100vw - 2 * var(--gutter)) / 1.82); margin-bottom: var(--s-5); }
  .hero__grid { grid-template-columns: 1fr; padding-bottom: var(--s-7); }
  .hero-photo { height: auto; aspect-ratio: 4 / 3.4; }
  .picker__tabs { display: flex; width: 100%; }
  .picker__tab { flex: 1; padding: 0 10px; }
}

/* ---------- 28 oct 2026: asesor en tarjeta, marcador sin foto, correo de contacto ---------- */
.card__agent { display: flex; gap: 6px; align-items: baseline; margin-top: 8px; font-size: var(--step-small); color: var(--silver); }
.card__agent span { color: var(--silver-2); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.acard__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px;
  background: radial-gradient(120% 90% at 50% 20%, var(--navy-600), var(--navy-900)); color: var(--silver); text-align: center; }
.acard__ph img { width: 34%; height: auto !important; opacity: 0.9; object-fit: contain !important; transform: none !important; }
.acard__ph b { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 6vw, 3.5rem); letter-spacing: 0.02em; line-height: 1; color: var(--lime); }
.acard__ph small { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-2); }
.profile__photo { position: relative; }
.acard__ph--lg b { font-size: clamp(3.5rem, 9vw, 6rem); }
.acard__tel { color: var(--silver); margin-top: 6px; font-variant-numeric: tabular-nums; }
.acard__mail { font-size: var(--step-small); overflow-wrap: anywhere; }
.acard__mail a { color: var(--silver-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .acard__mail a:hover { color: var(--lime); } }
.crow--mail span { font-size: clamp(1.15rem, 0.7rem + 2.6vw, 3.25rem); overflow-wrap: anywhere; letter-spacing: -0.02em; }
.socios-note { margin-top: var(--s-8); padding: var(--s-6) var(--gutter); background: var(--navy-800); display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; justify-content: space-between; }
.socios-note p { max-width: 52ch; }
.legal { display: grid; gap: var(--s-5); padding-bottom: var(--section); }
.legal a { color: var(--lime); }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .footer__legal a:hover { color: var(--lime); } }

/* Oficina (dirección larga), tarjeta digital pendiente, nota de contacto, textos legales */
.crow--addr span { font-size: clamp(1.05rem, 0.7rem + 1.6vw, 2.25rem); letter-spacing: -0.01em; line-height: 1.15; max-width: 30ch; }
.btn--soon { opacity: 0.55; cursor: default; pointer-events: none; }
.btn--soon small { font-size: 0.75em; color: var(--silver-2); margin-left: 2px; }
.contact-note { color: var(--silver-2); font-size: var(--step-small); padding-top: var(--s-4); }
.contact-note a, .legal-note a { color: var(--lime); }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.2; margin-top: var(--s-4); }
.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin-top: var(--s-2); }
.legal ul, .legal ol { padding-left: 1.25em; display: grid; gap: 0.4em; max-width: 72ch; }
.legal p, .legal li { max-width: 72ch; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--step-small); }
.legal .box { border: 1px solid var(--line, rgba(255,255,255,.14)); border-radius: 14px; padding: var(--s-4); max-width: 72ch; }
.legal .tbd { color: var(--lime); }

/* Misión y visión */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.14); }
.mv__k { font-family: var(--font-display); font-weight: 700; color: var(--lime); letter-spacing: .04em; text-transform: uppercase; font-size: var(--step-small); margin-bottom: 8px; }
@media (max-width: 720px) { .mv { grid-template-columns: 1fr; } }

/* Logo bajo «Quiénes somos» */
.qs-head { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: clamp(24px, 3vw, 40px); justify-items: start; }
.qs-head .display { position: static; }
.qs-logo { width: clamp(160px, 22vw, 300px); height: auto; filter: drop-shadow(0 12px 32px rgba(0,0,0,.35)); }
@media (max-width: 860px) { .qs-head { position: static; } .qs-logo { width: 150px; } }


/* ---------- 9 nov 2026: ajustes de Alejandro y Camilo ---------- */
/* Logo en la página de inicio */
.hero__brand { grid-column: 1 / span 6; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.hero__brand .hero__statement { grid-column: auto; margin: 0; }
.hero__logo { flex: none; width: clamp(96px, 9vw, 150px); height: auto; filter: drop-shadow(0 10px 28px rgba(0,0,0,.4)); }
@media (max-width: 1100px) { .hero__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hero__brand { flex-direction: column; align-items: flex-start; } .hero__logo { width: 104px; } }

/* Misión y visión con letra más grande */
.mv p:not(.mv__k) { font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.4rem); line-height: 1.5; color: var(--silver); }
.mv__k { font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem); }

/* Trayectoria de Alejandro */
.partner__cv { display: grid; gap: 6px; margin: 4px 0 8px; padding: 0; list-style: none; color: var(--silver); font-size: inherit; line-height: 1.45; }
.partner__cv li { position: relative; padding-left: 18px; }
.partner__cv li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 3px; border-radius: 2px; background: var(--lime); }

/* Contacto: texto de entrada más grande */
.head__aside.contact-lead { font-size: clamp(1.2rem, 0.95rem + 0.9vw, 1.75rem); line-height: 1.4; }
.head--split .head__aside.contact-lead { grid-column: 7 / span 6; }
@media (max-width: 860px) { .head--split .head__aside.contact-lead { grid-column: 1; } }

/* Fotos completas, sin recortar: la foto se ve entera y el espacio sobrante se rellena con la misma foto desenfocada */
.card__media, .gallery__stage { isolation: isolate; background-size: cover; background-position: center; }
.card__media::before, .gallery__stage::before {
  content: ""; position: absolute; inset: -20px; z-index: -1; background-image: inherit; background-size: cover; background-position: center;
  filter: blur(18px) brightness(.55) saturate(1.1);
}
.card__media img { object-fit: contain !important; }
.gallery__stage img, .gallery__stage img.is-cover { object-fit: contain; }

/* 11 nov 2026: fotos completas en desarrollos (modelos y amenidades), sin acercamiento */
.model__media { background: var(--navy-800); }
.model__media img { object-fit: contain; }
.photo-row figure { aspect-ratio: 4 / 3; background: var(--navy-800); }
.photo-row img { object-fit: contain; }
@media (max-width: 680px) { .photo-row figure:first-child { aspect-ratio: 4 / 3; } }
/* Galería del detalle: sin el fondo desenfocado (se veía como foto con zoom) y más panorámica */
.gallery__stage { aspect-ratio: 16 / 10; background-image: none !important; background-color: var(--navy-800); }
.gallery__stage::before { display: none; }
