/* ============================================================
   AUROVAS — Sistema de diseño
   Modernist · Blanco & Negro · Liquid Glass
   Tipografía: SK Modernist (Bold / Regular / Mono)
   ============================================================ */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: 'Sk-Modernist';
  src: url('../fonts/Sk-Modernist-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sk-Modernist';
  src: url('../fonts/Sk-Modernist-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sk-Modernist Mono';
  src: url('../fonts/Sk-Modernist-Mono.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Serif editorial para titulares de Noticias (mismo que las portadas de Aurovas Social) */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairItalic.ttf') format('truetype');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Tinta — escala monocroma modernista */
  --ink:      #0a0a0a;
  --ink-2:    #161616;
  --graphite: #333333;
  --grey:     #6b6b6b;
  --grey-2:   #9a9a9a;
  --line:     #e7e6e3;
  --line-2:   #f0efec;

  /* Fondos */
  --bg:       #ffffff;
  --bone:     #f6f5f2;   /* hueso cálido */
  --bone-2:   #efeeea;
  --white:    #ffffff;

  /* Funcional */
  --wa:       #1faa4f;
  --wa-2:     #25d366;

  /* Tipografía */
  --font-head: 'Sk-Modernist', 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --font-main: 'Sk-Modernist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Sk-Modernist Mono', 'Sk-Modernist', ui-monospace, monospace;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --gold:     #b8923a;   /* oro editorial Aurovas */

  /* Layout */
  --maxw: 1340px;
  --gut: clamp(20px, 4vw, 56px);
  --nav-h: 64px;

  /* Radios */
  --r-s: 14px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 36px;

  /* Liquid glass */
  --glass-tint:        rgba(255,255,255,0.40);
  --glass-tint-strong: rgba(255,255,255,0.58);
  --glass-tint-dark:   rgba(18,18,18,0.34);
  --glass-stroke:      rgba(255,255,255,0.55);
  --glass-blur: 18px;

  /* Sombra */
  --shadow-s: 0 2px 10px rgba(10,10,10,.05), 0 1px 2px rgba(10,10,10,.04);
  --shadow-m: 0 18px 50px -18px rgba(10,10,10,.22), 0 6px 18px -10px rgba(10,10,10,.12);
  --shadow-l: 0 40px 90px -30px rgba(10,10,10,.34), 0 12px 30px -16px rgba(10,10,10,.16);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--white); }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--ink);
  opacity: .55;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.display {
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: .96;
  letter-spacing: -.035em;
}
.h-xl { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.03em; }
.h-l  { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--grey); line-height: 1.55; font-weight: 400; }
.mono { font-family: var(--font-mono); }
strong, b { font-weight: 700; }

/* Tamaño por defecto de iconos inline (evita SVG sin dimensionar) */
.card__loc svg, .detail__loc svg { width: 14px; height: 14px; flex: none; }
.card__go svg, .masthead__cta svg, .tool__link svg, .crumb svg, .btn svg { width: 16px; height: 16px; flex: none; }
.cline svg { width: 19px; height: 19px; flex: none; }
.lb-btn svg, .lb-close svg { width: 26px; height: 26px; }

/* ---------- Layout utils ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 140px); }
.divider { height: 1px; background: var(--line); border: 0; }
.muted { color: var(--grey); }

/* ============================================================
   LIQUID GLASS  — base reutilizable
   ============================================================ */
.lg {
  position: relative;
  isolation: isolate;
  background: var(--glass-tint);
  border: 1px solid rgba(255,255,255,.30);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  box-shadow:
    var(--shadow-m),
    inset 0 1px 0.5px rgba(255,255,255,.6),
    inset 0 -1px 1px rgba(255,255,255,.18);
}
/* Anillo de refracción del cristal (borde con gradiente enmascarado).
   Simula la luz curvándose en el canto del vidrio — coste GPU ~nulo,
   a diferencia de un feDisplacementMap sobre backdrop (que rerasteriza
   cada frame al hacer scroll y congela el render). */
.lg--refract::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 0.8px;
  background: linear-gradient(135deg,
    rgba(255,255,255,.55) 0%,
    rgba(255,255,255,.04) 26%,
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,.07) 74%,
    rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
/* Brillo especular / sheen del cristal */
.lg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.5) 0%,
      rgba(255,255,255,.1) 14%,
      rgba(255,255,255,0) 32%,
      rgba(255,255,255,0) 66%,
      rgba(255,255,255,.08) 100%),
    radial-gradient(120% 80% at 18% 0%, rgba(255,255,255,.35), rgba(255,255,255,0) 50%);
}
.lg > * { position: relative; z-index: 2; }

.lg--strong { background: var(--glass-tint-strong); }

/* Glass sobre fondos oscuros (texto claro) */
.lg--dark {
  background: var(--glass-tint-dark);
  border-color: rgba(255,255,255,.16);
  box-shadow:
    var(--shadow-m),
    inset 0 1px 1px rgba(255,255,255,.30),
    inset 0 -10px 20px -14px rgba(255,255,255,.18);
  color: var(--white);
}
.lg--dark::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%);
}

/* Fallback navegadores sin backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg { background: rgba(255,255,255,.86); }
  .lg--dark { background: rgba(18,18,18,.82); }
}

/* ============================================================
   NAVBAR — pastilla flotante liquid glass
   ============================================================ */
.nav-shell {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 28px));
  z-index: 100;
  transition: top .4s var(--ease), width .4s var(--ease);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--nav-h);
  padding: 0 12px 0 22px;
  border-radius: 999px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-right: 8px;
}
.nav__mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.nav__word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .26em;
  padding-left: .06em;
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 10px 14px;
  border-radius: 999px;
  position: relative;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(255,255,255,.4); }
.nav__link.is-active { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }

.btn-ico {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  color: var(--ink);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn-ico svg { width: 19px; height: 19px; }
.btn-ico:hover { transform: translateY(-1px); }
.btn-ico--wa { color: #fff; background: var(--wa); box-shadow: 0 6px 16px -6px rgba(31,170,79,.7); }
.btn-ico--wa:hover { background: var(--wa-2); }

.nav__burger { display: none; }

/* Navbar reducida al hacer scroll */
.nav-shell.is-scrolled { top: 10px; }
.nav-shell.is-scrolled .nav { box-shadow: var(--shadow-l); }

/* Cristal del navbar UNIFORME: sin reflejo más blanco en la parte superior
   (igual arriba que abajo) — quitamos el sheen y los realces internos del top */
.nav.lg::after { background: none; }
.nav.lg { box-shadow: var(--shadow-m); }

/* ============================================================
   MASTHEAD — texto modernista, sin slideshow
   ============================================================ */
.masthead {
  padding-top: clamp(124px, 16vh, 188px);
  padding-bottom: clamp(34px, 5vw, 60px);
  position: relative;
}
.masthead__grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.masthead__title {
  margin-top: 22px;
  text-transform: none;
}
.masthead__title .thin { display: block; color: var(--grey-2); font-weight: 400; -webkit-text-stroke: 0; }
.masthead__aside { padding-bottom: 8px; }
.masthead__aside p { color: var(--grey); font-size: 1.02rem; }
.masthead__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  transition: gap .25s var(--ease);
}
.masthead__cta:hover { gap: 16px; }
.masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  flex: 1 1 160px;
  padding: 22px 26px 22px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem,3vw,2.3rem); letter-spacing: -.03em; }
.stat__l { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }

/* ============================================================
   BARRA DE FILTROS — glass
   ============================================================ */
.toolbar-wrap {
  position: sticky;
  top: 88px;
  z-index: 60;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 7px 20px;
  border-radius: 999px;
}
/* Cristal UNIFORME en la barra de filtros y la de mercado:
   sin reflejo más blanco en la parte superior (igual que el navbar) */
.toolbar.lg::after, .market.lg::after { background: none; }
.toolbar.lg, .market.lg { box-shadow: var(--shadow-m); }
.seg { display: inline-flex; padding: 3px; gap: 3px; background: rgba(10,10,10,.05); border-radius: 999px; }
.seg button {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  color: var(--grey);
  transition: all .25s var(--ease);
}
.seg button.is-active { background: var(--ink); color: #fff; box-shadow: var(--shadow-s); }
.fld { position: relative; display: inline-flex; align-items: center; }
.fld select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(10,10,10,.1);
  border-radius: 999px;
  padding: 8px 34px 8px 15px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.fld select:hover { background: rgba(255,255,255,.85); border-color: rgba(10,10,10,.2); }
.fld::after {
  content: '';
  position: absolute; right: 16px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.toolbar__count {
  position: absolute;
  right: 20px;
  bottom: 5px;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-2);
  line-height: 1;
  pointer-events: none;
}
.toolbar__count b { color: var(--grey); font-weight: 700; }

/* ============================================================
   GRID DE PROPIEDADES
   ============================================================ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: clamp(26px, 4vw, 48px);
}
.sec-head .masthead__cta { margin-bottom: 6px; }
.sec-head__title { margin-top: 14px; }

.grid-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 30px);
}

/* ---- Tarjeta de propiedad: foto a sangre + overlay + hover con movimiento ---- */
.card {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none; -webkit-user-select: none;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--bone);
  isolation: isolate;
  box-shadow: var(--shadow-s);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.card.in { opacity: 1; transform: none; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); }

.card__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.card:hover .card__img { transform: scale(1.07); }

.card__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,8,8,.88) 0%, rgba(8,8,8,.6) 26%, rgba(8,8,8,.12) 52%, rgba(8,8,8,0) 74%),
    linear-gradient(to bottom, rgba(8,8,8,.32) 0%, rgba(8,8,8,0) 22%);
  transition: opacity .5s var(--ease);
}
.card:hover .card__scrim { opacity: .92; }
.card__link { position: absolute; inset: 0; z-index: 4; }

.card__new {
  position: absolute; top: 14px; left: 14px; z-index: 6;
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.card__video {
  position: absolute; top: 14px; right: 14px; z-index: 6;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 999px; background: rgba(8,8,8,.55); color: #fff;
  font-size: .66rem; padding-left: 2px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.card__wa {
  position: absolute; top: 13px; right: 13px; z-index: 6;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 999px; background: var(--wa); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(31,170,79,.7), inset 0 1px 1px rgba(255,255,255,.4);
  transition: transform .3s var(--ease), background .25s var(--ease);
}
.card__wa:hover { transform: scale(1.08); background: var(--wa-2); }
.card__wa svg { width: 19px; height: 19px; }

.card__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: clamp(18px,2.2vw,26px);
  display: flex; flex-direction: column; gap: 9px;
  color: #fff; pointer-events: none;
  transform-origin: bottom left;
  transition: transform .45s var(--ease-out);
}
.card:hover .card__content { transform: scale(var(--cshrink, 0.85)); }
.card__content, .card__content * { pointer-events: none; }
.card__kicker {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; display: inline-flex; align-items: center; gap: .7em;
}
.card__kicker::before { content: ''; width: 22px; height: 1px; background: #fff; opacity: .85; }
.card__loc {
  font-family: var(--font-mono); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.74);
}
.card__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -.02em; line-height: 1.05;
  color: #fff;
}
.card__priceRow { display: flex; align-items: center; gap: 10px; margin-top: 2px; min-height: 40px; }
.card__price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: #fff; }
.card__ref {
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; padding: 6px 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.12);
}
/* botón "ver" pequeño, a la derecha del precio (aparece en hover, no empuja) */
.card__go {
  margin-left: auto; flex: none;
  width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.5);
  opacity: 0; transform: scale(.7) translateX(5px);
  transition: opacity .3s var(--ease), transform .35s var(--ease-out);
}
.card:hover .card__go { opacity: 1; transform: scale(1) translateX(0); }
.card__go svg { width: 14px; height: 14px; }
@media (hover: none) { .card__go { opacity: 1; transform: none; } }

/* flechas para pasar imágenes dentro de la tarjeta */
.card__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 7; pointer-events: auto;
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow-s); border: 0;
  opacity: 0; transition: opacity .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.card:hover .card__nav { opacity: 1; }
.card__nav:hover { background: var(--ink); color: #fff; }
.card__prev { left: 12px; }
.card__next { right: 12px; }
.card__nav svg { width: 17px; height: 17px; }
@media (hover: none) { .card__nav { opacity: .92; width: 34px; height: 34px; } }
.card__specs {
  display: flex; gap: 18px; margin-top: 12px; padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
}
.card__specs .spec svg { color: rgba(255,255,255,.72); }

/* chips (se reutilizan en la ficha de propiedad) */
.chip { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; color: var(--ink); }
.chip--solid { background: var(--ink); color: #fff; }
.chip--glass { background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 4px 12px -5px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.9); color: var(--ink); }
.spec { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; }
.spec svg { width: 16px; height: 16px; color: var(--grey); flex: none; }

/* En pantallas táctiles el botón se muestra siempre (no hay hover) */
@media (hover: none) {
  .card__reveal { max-height: 84px; opacity: 1; }
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--grey);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .8rem;
}

/* ============================================================
   SECCIÓN NOSOTROS
   ============================================================ */
.about { background: var(--bone); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.about__txt p { color: var(--grey); margin-top: 18px; font-size: 1.06rem; max-width: 46ch; }
.about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--bone); padding: 22px 22px; }
.value h4 { font-size: 1.02rem; letter-spacing: -.01em; }
.value p { margin-top: 7px; font-size: .9rem; color: var(--grey); }
.value__n { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; color: var(--grey-2); display: block; margin-bottom: 9px; }
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   HERRAMIENTAS
   ============================================================ */
.tools__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,26px); margin-top: 12px; }
.tool {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  background: var(--white);
}
.tool:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tool__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; }
.tool__ico svg { width: 22px; height: 22px; }
.tool h3 { font-size: 1.22rem; letter-spacing: -.02em; }
.tool p { color: var(--grey); font-size: .95rem; }
.tool__link { margin-top: auto; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; transition: gap .25s var(--ease); }
.tool:hover .tool__link { gap: 13px; }
/* Tarjeta Omni · banner destacado (todo en uno) */
.tool--omni { grid-column: 1 / -1; background: var(--ink); border-color: var(--ink); color: #fff; }
.tool--omni h3 { color: #fff; font-size: 1.28rem; }
.tool--omni p { color: rgba(255,255,255,.72); max-width: 64ch; }
.tool--omni .tool__ico { background: #fff; color: var(--ink); }
.tool--omni .tool__link { color: #fff; }
.tool--omni:hover { box-shadow: var(--shadow-l); }
/* "te llega" en verde dentro de la Omni */
.mini--ok b { color: var(--wa); }

/* Calculadora hipoteca */
.calc {
  margin-top: clamp(30px,5vw,54px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px,4vw,54px);
  align-items: center;
  border-radius: var(--r-xl);
  padding: clamp(28px,4vw,52px);
}
.calc__field { margin-bottom: 22px; }
.calc__field:last-child { margin-bottom: 0; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.calc__row label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.calc__val { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.calc input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px; border-radius: 3px;
  background: var(--line-2);
  outline: none;
}
.calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink);
  border: 3px solid #fff;
  box-shadow: var(--shadow-m);
  cursor: pointer;
}
.calc__out { text-align: center; }
.calc__out .eyebrow { justify-content: center; }
.calc__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem,6vw,4rem); letter-spacing: -.04em; margin: 10px 0 2px; }
.calc__sub { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.calc__note { margin-top: 22px; font-size: .8rem; color: var(--grey); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { background: var(--ink); color: #fff; }
.contact .eyebrow { color: var(--grey-2); }
.contact .eyebrow::before { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,6vw,90px); }
.contact__title { color: #fff; margin-top: 16px; }
.contact__lead { color: #b9b9b9; margin-top: 18px; max-width: 40ch; }
.contact__list { margin-top: 36px; display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-m); overflow: hidden; }
.cline { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--ink); }
.cline svg { width: 19px; height: 19px; color: #fff; flex: none; }
.cline__k { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }
.cline__v { font-size: 1.05rem; margin-top: 2px; }
.cline a:hover { text-decoration: underline; }

.form { border-radius: var(--r-l); padding: clamp(26px,3vw,40px); }
.form .field { margin-bottom: 16px; }
.form label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); display: block; margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 13px 15px;
  color: #fff;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #7a7a7a; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.form textarea { resize: vertical; min-height: 96px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(255,255,255,.4); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn--w-auto { width: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050505; color: #cfcfcf; padding-top: clamp(60px,7vw,96px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .nav__mark { width: 34px; height: 34px; color: #fff; }
.footer__brand .lock { display: flex; align-items: center; gap: 12px; }
.footer__brand .nav__word { color: #fff; }
.footer__brand p { color: #8a8a8a; margin-top: 18px; max-width: 32ch; font-size: .92rem; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #fff; transition: background .25s var(--ease), transform .25s var(--ease); }
.footer__social a:hover { background: #fff; color: #050505; transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h5 { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__col a, .footer__col li { display: block; color: #8a8a8a; font-size: .9rem; padding: 5px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 26px 0 34px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #6a6a6a; }
.footer__bottom a { color: #6a6a6a; }
.footer__bottom a:hover { color: #cfcfcf; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(31,170,79,.7), inset 0 1px 1px rgba(255,255,255,.4);
  transition: transform .3s var(--ease);
}
.wa-float::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--wa);
  opacity: .5;
  animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:.5} 70%{transform:scale(1.35);opacity:0} 100%{opacity:0} }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   PÁGINA DETALLE
   ============================================================ */
.detail { padding-top: clamp(110px, 14vh, 150px); }
.crumb { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 26px; transition: gap .25s var(--ease); }
.crumb:hover { gap: 14px; color: var(--ink); }
.detail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.detail__title { font-size: clamp(2rem,4.6vw,3.4rem); letter-spacing: -.03em; }
.detail__loc { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.detail__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem,3.4vw,2.6rem); letter-spacing: -.03em; white-space: nowrap; }
.detail__price small { display: block; font-family: var(--font-mono); font-size: .6rem; font-weight: 400; letter-spacing: .16em; color: var(--grey); text-transform: uppercase; }

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 1fr;
  gap: 10px;
  border-radius: var(--r-l);
  overflow: hidden;
  margin-bottom: 14px;
}
.gallery__main { grid-row: span 2; aspect-ratio: 3/2; }
.gallery__cell { position: relative; overflow: hidden; cursor: pointer; background: var(--bone); }
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__cell:hover img { transform: scale(1.05); }
.gallery__more {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(10,10,10,.5);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gallery__cell:nth-child(n+6) { display: none; }

.detail__cols { display: grid; grid-template-columns: 1.55fr .9fr; gap: clamp(30px,5vw,68px); margin-top: clamp(34px,5vw,58px); align-items: start; }
.specs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.specs-grid .sg { background: #fff; padding: 22px 20px; }
.sg__n { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; }
.sg__l { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-top: 5px; }
.detail h3.block-h { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: -.02em; margin: clamp(34px,4vw,52px) 0 18px; }
.detail__desc p { color: var(--graphite); margin-bottom: 14px; line-height: 1.75; }
.amen { display: flex; flex-wrap: wrap; gap: 9px; }
.amen span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.amen svg { width: 14px; height: 14px; color: var(--ink); }

.aside-card { position: sticky; top: 96px; border-radius: var(--r-l); padding: 26px; }
.aside-card__price { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; letter-spacing: -.03em; }
.aside-card__ref { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.aside-card .btn { margin-top: 16px; }
.aside-card__agent { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.aside-card__agent .av { width: 46px; height: 46px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.map-embed { margin-top: 14px; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,8,8,.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.lightbox.open { display: grid; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-l); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 999px; color: #fff; display: grid; place-items: center; }
.lb-btn svg { width: 26px; height: 26px; }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close { position: absolute; top: 26px; right: 30px; color: #fff; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; }
.lb-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; color: #fff; }

/* ============================================================
   REVEAL animaciones
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .card { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-props { grid-template-columns: repeat(2, 1fr); }
  .tools__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .detail__cols { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-grid; }
  .masthead__grid { grid-template-columns: 1fr; }
  .masthead__aside { padding-bottom: 0; }
  .about__grid, .contact__grid, .calc { grid-template-columns: 1fr; }
  .about__media { order: -1; aspect-ratio: 16/10; }
  .specs-grid { grid-template-columns: repeat(2,1fr); }
  .toolbar-wrap { top: 80px; }
}
@media (max-width: 560px) {
  :root { --nav-h: 58px; }

  /* 2 por fila en TODAS las rejillas (propiedades, herramientas, blog) */
  .grid-props { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tools__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { grid-row: auto; }
  .gallery__cell:nth-child(n+3) { display: none; }
  .specs-grid { grid-template-columns: repeat(2,1fr); }
  .nav { padding-left: 16px; }
  .nav__word { font-size: 1rem; }

  /* Barra de filtros: compacta, en rejilla y SIN sticky (no tapa las tarjetas) */
  .toolbar-wrap { position: static; top: auto; margin-bottom: 18px; }
  .toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 24px; }
  .toolbar .seg { grid-column: 1 / -1; width: 100%; }
  .toolbar .seg button { flex: 1; padding: 10px 6px; font-size: .6rem; letter-spacing: .08em; }
  .toolbar .fld { width: 100%; }
  .toolbar .fld select { width: 100%; font-size: .6rem; letter-spacing: .06em; padding: 11px 28px 11px 14px; }
  .toolbar .fld:nth-child(2) { grid-column: 1 / -1; }   /* "Todas las zonas" a todo el ancho */
  .toolbar__count { position: static; grid-column: 1 / -1; text-align: center; margin-top: 2px; }

  /* Tarjeta de propiedad — VERTICAL y compacta para 2 columnas */
  .card { aspect-ratio: 3 / 4; }
  .card__content { padding: 11px; gap: 4px; }
  .card__kicker { font-size: .46rem; letter-spacing: .12em; }
  .card__kicker::before { width: 13px; }
  .card__loc { font-size: .5rem; letter-spacing: .08em; }
  .card__title { font-size: .9rem; line-height: 1.12; }
  .card__priceRow { min-height: 0; gap: 6px; margin-top: 1px; }
  .card__price { font-size: 1rem; }
  .card__ref { display: none; }
  .card__specs { gap: 9px; margin-top: 7px; padding-top: 7px; }
  .card__specs .spec { font-size: .6rem; gap: 4px; }
  .card__specs .spec svg { width: 13px; height: 13px; }
  .card__nav { display: none; }     /* sin flechas en móvil; la ficha tiene el slider completo */
  .card__new { font-size: .5rem; padding: 6px 10px; }

  /* Tool card (selección de herramientas) compacta a 2 col */
  .tool { padding: 18px 14px 15px; gap: 8px; }
  .tool__ico { width: 38px; height: 38px; border-radius: 11px; }
  .tool__ico svg { width: 18px; height: 18px; }
  .tool h3 { font-size: .96rem; }
  .tool p { font-size: .76rem; line-height: 1.4; }
  .tool__link { font-size: .56rem; }

  /* Blog card compacta a 2 col */
  .bpost__body { padding: 13px; gap: 7px; }
  .bpost__title { font-size: .9rem; line-height: 1.18; }
  .bpost__ex { display: none; }      /* el extracto no cabe a 2 col: imagen + título + meta */
  .bpost__meta { font-size: .5rem; gap: 7px; }
  .bpost__cat { font-size: .48rem; padding: 6px 9px; top: 10px; left: 10px; }
  .bcat { font-size: .58rem; padding: 8px 13px; }
}

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-head); font-weight: 700; font-size: 2rem; letter-spacing: -.02em; padding: 10px; }
.mobile-menu .eyebrow { margin-top: 26px; }
.mm-close { position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; display: grid; place-items: center; }

/* ============================================================
   HERRAMIENTAS · página de calculadoras
   ============================================================ */
.thero { position: relative; overflow: hidden; padding: clamp(132px,18vh,210px) 0 clamp(34px,5vw,64px); }
.thero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.thero__bg::before, .thero__bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.thero__bg::before { width: 460px; height: 460px; top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(10,10,10,.10), transparent 70%);
  animation: drift1 19s ease-in-out infinite alternate; }
.thero__bg::after { width: 400px; height: 400px; top: -40px; right: -90px;
  background: radial-gradient(circle, rgba(10,10,10,.07), transparent 70%);
  animation: drift2 23s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(90px,70px) scale(1.25); } }
@keyframes drift2 { to { transform: translate(-70px,50px) scale(1.15); } }
.thero__inner { position: relative; }
.thero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.8rem,8vw,6.2rem); line-height: .95; letter-spacing: -.04em; margin: 18px 0 22px; }
.thero__title .word { display: inline-block; opacity: 0; transform: translateY(46px) rotate(3deg); animation: wordIn .95s var(--ease-out) forwards; margin-right: .22em; }
.thero__title .word.thin { color: var(--grey-2); }
.thero__title .word:nth-child(1) { animation-delay: .08s; }
.thero__title .word:nth-child(2) { animation-delay: .20s; }
.thero__title .word:nth-child(3) { animation-delay: .32s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.thero .lead { max-width: 60ch; }
.thero__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tchip { display: inline-flex; align-items: center; gap: 11px; padding: 12px 19px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--white); transition: all .3s var(--ease); }
.tchip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-m); }
.tchip__n { font-size: .6rem; color: var(--grey-2); }
.tchip:hover .tchip__n { color: rgba(255,255,255,.6); }

.tools-wrap { }
.calc-panel { padding-block: clamp(16px,2vw,26px); border-top: 1px solid var(--line); scroll-margin-top: 0; }
.calc-panel:first-child { border-top: 0; }
.calc-panel__head { max-width: 760px; margin-bottom: 12px; }
.calc-panel__head h2 { margin: 4px 0 6px; font-size: clamp(1.45rem,2.7vw,2.05rem); }
.calc-panel__head p { color: var(--grey); font-size: .88rem; line-height: 1.45; }

.calc-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(16px,2vw,30px); padding: clamp(15px,1.7vw,22px); border-radius: var(--r-l); }
.calc-inputs .field, .calc-inputs .field-range { margin-bottom: 10px; }
.calc-inputs .field:last-child, .calc-inputs .field-range:last-child { margin-bottom: 0; }
.calc-inputs label { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.hint { text-transform: none; letter-spacing: 0; color: var(--grey-2); font-size: .9em; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-num { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.55); border: 1px solid var(--glass-stroke); border-radius: 12px; padding: 2px 14px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.field-num:focus-within { border-color: var(--ink); background: rgba(255,255,255,.85); }
.field-num input { width: 100%; border: 0; background: transparent; padding: 9px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; outline: none; -moz-appearance: textfield; color: var(--ink); }
.field-num input::-webkit-outer-spin-button, .field-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field-num span { font-family: var(--font-mono); color: var(--grey); }
.frow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.frow label { margin: 0; }
.fval { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.field-range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px; background: var(--line-2); outline: none; }
.field-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: var(--shadow-m); cursor: pointer; transition: transform .15s var(--ease); }
.field-range input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.14); }
.field-range input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; cursor: pointer; }
.seg--block { display: flex; width: 100%; gap: 3px; padding: 4px; background: rgba(10,10,10,.05); border-radius: 999px; }
.seg--block button { flex: 1; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 9px 10px; border-radius: 999px; color: var(--grey); transition: all .25s var(--ease); }
.seg--block button.is-active { background: var(--ink); color: #fff; box-shadow: var(--shadow-s); }

.calc-output { display: flex; flex-direction: column; }
.result-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.85rem,3.4vw,2.6rem); letter-spacing: -.04em; line-height: 1; margin: 3px 0 5px; }
.result-sub { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); min-height: 1.1em; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.compare__cell { border: 1px solid var(--line); border-radius: 16px; padding: 12px 15px; background: rgba(255,255,255,.4); transition: all .35s var(--ease); }
.compare__cell.is-win { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: var(--shadow-m); transform: translateY(-2px); }
.compare__k { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.compare__cell.is-win .compare__k { color: rgba(255,255,255,.65); }
.compare__v { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; margin-top: 5px; }
.compare__d { font-size: .72rem; color: var(--grey); margin-top: 3px; }
.compare__cell.is-win .compare__d { color: rgba(255,255,255,.7); }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 18px; background: var(--line-2); }
.bar__cap { background: var(--ink); transition: width .6s var(--ease-out); }
.bar__int { background: var(--grey-2); transition: width .6s var(--ease-out); }
.bar-legend { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.mini-rows { margin-top: auto; padding-top: 9px; }
.mini { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 5px 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--graphite); }
.mini b { font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.mini--total { border-top: 1.5px solid var(--ink); margin-top: 4px; }
.mini--total b { font-size: 1.15rem; }
.calc-disclaimer { margin-top: 11px; font-size: .76rem; color: var(--grey-2); max-width: 800px; line-height: 1.55; }

.tools-cta { padding-block: clamp(40px,6vw,84px); }
.tools-cta__card { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: clamp(30px,4vw,56px); border-radius: var(--r-xl); }
.tools-cta__card h2 { color: #fff; margin: 12px 0 10px; }
.tools-cta__card p { color: #b9b9b9; max-width: 42ch; }
.tools-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.tools-cta__btns .btn { width: auto; }
.btn--ghost-light { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }

@media (max-width: 920px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-output { margin-top: 8px; }
}
@media (max-width: 560px) {
  .field.two { grid-template-columns: 1fr; }
  .tools-cta__card { flex-direction: column; align-items: flex-start; }
  .tools-cta__btns .btn { width: 100%; }
}

/* ============================================================
   BLOG · índice
   ============================================================ */
.blog-hero { position: relative; overflow: hidden; padding: clamp(128px,17vh,196px) 0 0; }
.blog-hero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.9rem,9vw,7rem); line-height: .9; letter-spacing: -.045em; margin: 16px 0 22px; }
.blog-hero__title .word { display: inline-block; opacity: 0; transform: translateY(54px); animation: wordIn .9s var(--ease-out) forwards; margin-right: .22em; }
.blog-hero__title .word:nth-child(1){animation-delay:.05s}
.blog-hero__title .word:nth-child(2){animation-delay:.15s}
.blog-hero__title .word:nth-child(3){animation-delay:.25s}
.blog-hero__title .word:nth-child(4){animation-delay:.35s}
.blog-hero__title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.blog-hero .lead { max-width: 56ch; }
.blog-search { display: flex; align-items: center; gap: 12px; max-width: 580px; margin-top: 26px; padding: 5px 8px 5px 22px; border-radius: 999px; }
.blog-search__ico { display: grid; place-items: center; color: var(--grey); }
.blog-search__ico svg { width: 20px; height: 20px; }
.blog-search input { flex: 1; border: 0; background: transparent; outline: none; padding: 16px 6px; font-size: 1rem; color: var(--ink); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bcat { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--grey); transition: all .25s var(--ease); }
.bcat:hover { color: var(--ink); border-color: var(--grey-2); }
.bcat.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.marquee { margin-top: clamp(40px,6vw,72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; align-items: center; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem,3vw,2.3rem); letter-spacing: -.02em; padding: 0 .45em; }
.marquee__track i { color: var(--grey-2); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

.blog-feed { padding-block: clamp(40px,6vw,80px); }
.bfeature { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; margin-bottom: clamp(26px,4vw,46px); background: var(--white); transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); opacity: 0; transform: translateY(20px); }
.bfeature.in { opacity: 1; transform: none; }
.bfeature:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); }
.bfeature__media { position: relative; overflow: hidden; min-height: 300px; max-height: 420px; }
.bfeature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.bfeature:hover .bfeature__media img { transform: scale(1.05); }
.bfeature__body { padding: clamp(26px,3vw,50px); display: flex; flex-direction: column; justify-content: center; }
.bfeature__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem,3vw,2.5rem); letter-spacing: -.03em; line-height: 1.04; margin: 14px 0 14px; }
.bfeature__ex { color: var(--grey); margin-bottom: 18px; max-width: 48ch; }

.bpost__cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); color: var(--ink); }
.bgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,30px); }
.bpost { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--white); opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .5s var(--ease-out); }
.bpost.in { opacity: 1; transform: none; }
.bpost:hover { box-shadow: var(--shadow-l); transform: translateY(-6px); }
.bpost__link { position: absolute; inset: 0; z-index: 3; }
.bpost__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--bone); }
.bpost__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.bpost:hover .bpost__media img { transform: scale(1.06); }
.bpost__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bpost__title { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.16; }
.bpost__ex { color: var(--grey); font-size: .92rem; line-height: 1.55; flex: 1; }
.bpost__meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); margin-top: 6px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-2); }
.blog-empty { padding: 80px 0; text-align: center; color: var(--grey); }
.link-btn { text-decoration: underline; color: var(--ink); font: inherit; }

/* ============================================================
   ARTÍCULO
   ============================================================ */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; z-index: 200; }
.art-hero { padding-top: clamp(104px,13vh,140px); }
.art-hero__inner { max-width: 920px; }
.art-cat { display: inline-block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; }
.art-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem,5vw,4rem); letter-spacing: -.035em; line-height: 1.02; }
.art-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.art-av { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.art-meta__author { font-weight: 700; }
.art-meta__sub { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }
.art-cover { width: min(var(--maxw),100%); margin: clamp(32px,5vw,56px) auto 0; padding-inline: var(--gut); }
.art-cover img { width: 100%; aspect-ratio: 16/6; max-height: 340px; object-fit: cover; border-radius: var(--r-l); border: 1px solid var(--line); }
.art-fig { margin: 26px 0; }
.art-fig img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); display: block; }
.art-fig + .art-fig { margin-top: 18px; }

.art-layout { display: grid; grid-template-columns: 60px minmax(0,760px); gap: 34px; justify-content: center; padding-block: clamp(34px,5vw,60px); align-items: start; }
.art-share { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.art-share__l { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); writing-mode: vertical-rl; }
.art-share__btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .25s var(--ease); position: relative; }
.art-share__btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.art-share__btn svg { width: 18px; height: 18px; }
.art-share__btn.done::after { content: '¡Copiado!'; position: absolute; left: 54px; white-space: nowrap; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

.article-body { font-size: 1.13rem; line-height: 1.8; color: var(--graphite); }
.article-body > p:first-of-type::first-letter { font-family: var(--font-head); font-weight: 700; font-size: 3.4em; line-height: .78; float: left; margin: 8px 14px 0 0; color: var(--ink); }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem,2.4vw,1.95rem); letter-spacing: -.02em; color: var(--ink); margin: 42px 0 16px; }
.article-body h3 { font-size: 1.22rem; margin: 28px 0 12px; color: var(--ink); }
.article-body ul { margin: 0 0 22px; }
.article-body li { position: relative; padding-left: 26px; margin-bottom: 11px; }
.article-body li::before { content: ''; position: absolute; left: 0; top: .75em; width: 11px; height: 1.5px; background: var(--ink); }
.article-body blockquote { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--ink); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem,2vw,1.4rem); line-height: 1.32; letter-spacing: -.02em; color: var(--ink); }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.art-tools-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding: 26px 28px; border-radius: var(--r-l); }
.art-tools-cta strong { font-family: var(--font-head); font-size: 1.18rem; }
.art-tools-cta p { color: var(--grey); font-size: .92rem; margin-top: 4px; }
.art-tools-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--w-auto { width: auto; }
.art-related { padding-bottom: clamp(50px,7vw,90px); }

@media (max-width: 1080px) { .bgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) {
  .bfeature { grid-template-columns: 1fr; }
  .bfeature__media { min-height: 240px; aspect-ratio: 16/9; }
  .art-layout { grid-template-columns: 1fr; }
  .art-share { position: static; flex-direction: row; justify-content: flex-start; margin-bottom: 8px; }
  .art-share__l { writing-mode: horizontal-tb; }
}
@media (max-width: 560px) {
  .bgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .blog-hero__title .outline { -webkit-text-stroke-width: 1.5px; }
  .art-tools-cta { flex-direction: column; align-items: flex-start; }
}

/* Teaser de herramientas en home (4 columnas) */
.tools__grid--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1080px) { .tools__grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .tools__grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Blog: skeleton de carga, paginación */
.bskel { min-height: 340px; border-radius: var(--r-m); border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--bone) 30%, var(--bone-2) 50%, var(--bone) 70%);
  background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.blog-more { display: flex; justify-content: center; margin-top: clamp(30px,4vw,52px); }
.blog-count { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); }

/* ============================================================
   BARRA DE MERCADO (Cádiz / Madrid / Mapa)
   ============================================================ */
.market-wrap { display: flex; justify-content: center; margin-bottom: 14px; }
.market { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; }
.market__btn {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 28px; border-radius: 999px; color: var(--grey);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.market__btn:hover { color: var(--ink); }
.market__btn.is-active { background: var(--ink); color: #fff; box-shadow: var(--shadow-s); }

/* ============================================================
   ESTADO VACÍO DE REGIÓN (p. ej. Madrid próximamente)
   ============================================================ */
.region-empty {
  text-align: center; padding: clamp(50px,8vw,96px) 24px;
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bone);
}
.region-empty h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem,3.4vw,2.2rem); letter-spacing: -.025em; margin: 14px 0 12px; }
.region-empty p { color: var(--grey); max-width: 48ch; margin: 0 auto 22px; }
.region-empty .btn { display: inline-flex; }

/* ============================================================
   MAPA DE PROPIEDADES (Leaflet · estilo idealista en B/N)
   ============================================================ */
.prop-map {
  height: clamp(440px, 72vh, 780px);
  border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-m);
}
.prop-map .leaflet-tile { filter: grayscale(1) contrast(1.04); }
.leaflet-container { font-family: var(--font-main); background: var(--bone); }
.leaflet-container a { color: var(--ink); }

/* marcador de precio */
.price-marker { background: transparent !important; border: 0 !important; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: -.01em;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.map-pin:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translate(-50%,-50%) scale(1.06); z-index: 999; }

/* popup */
.leaflet-popup-content-wrapper { border-radius: var(--r-m); padding: 0; overflow: hidden; box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.leaflet-popup-content { margin: 0 !important; width: 232px !important; }
.map-pop { display: block; color: var(--ink); }
.map-pop__img { width: 100%; height: 132px; object-fit: cover; display: block; }
.map-pop__price { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; padding: 12px 14px 0; }
.map-pop__t { display: block; padding: 3px 14px 0; font-weight: 700; font-size: .92rem; }
.map-pop__l { display: block; padding: 3px 14px 14px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.leaflet-control-zoom a { border-radius: 8px !important; color: var(--ink) !important; border-color: var(--line) !important; }

@media (max-width: 560px) {
  .market__btn { padding: 10px 18px; font-size: .68rem; }
}

/* ============================================================
   MENÚ DISEÑADORES (dropdown)
   ============================================================ */
.nav__dd { position: relative; }
.nav__dd-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px; padding: 10px; border-radius: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__dd-h { display: block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); padding: 8px 12px 8px; }
.nav__dd-item { display: block; padding: 12px; border-radius: 13px; transition: background .2s var(--ease); }
.nav__dd-item:hover { background: rgba(10,10,10,.05); }
.nav__dd-item b { display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: -.01em; }
.nav__dd-item span { display: block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }

/* ============================================================
   PÁGINA DISEÑADOR (VTIM) — cursor + film scrubbed
   ============================================================ */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; border-radius: 50%; mix-blend-mode: difference; will-change: transform; }
.cur-dot { width: 7px; height: 7px; background: #fff; }
.cur-ring { width: 40px; height: 40px; border: 1.5px solid #fff; transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .25s; }
.cur-ring.hover { width: 66px; height: 66px; background: rgba(255,255,255,.14); }
.cur-ring.down { width: 30px; height: 30px; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor select, body.has-cursor input, body.has-cursor .nav__link { cursor: none !important; }
@media (hover: none) { .cur-dot, .cur-ring { display: none !important; } }

.film { position: relative; height: 640vh; background: #0a0a0a; }
.film__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0a0a0a; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__scrim { position: absolute; inset: 0; background: radial-gradient(125% 90% at 50% 28%, rgba(0,0,0,.18), rgba(0,0,0,.5) 62%, rgba(0,0,0,.82)); }
.film__grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.fstep { position: absolute; max-width: min(560px, 86vw); color: #fff; z-index: 3; opacity: 0; transform: translateY(var(--ty, 0px)); will-change: opacity, transform; }
.fstep--intro { left: 50%; top: 48%; max-width: min(940px, 92vw); text-align: center; transform: translate(-50%, calc(-50% + var(--ty, 0px))); }
.fstep.left { left: clamp(24px, 7vw, 112px); bottom: clamp(86px, 15vh, 160px); }
.fstep.right { right: clamp(24px, 7vw, 112px); bottom: clamp(86px, 15vh, 160px); text-align: right; }
.film__eyebrow { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.film__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.04em; margin: 18px 0 16px; }
.film__sub { color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.fstep__n { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.fstep__t { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1.02; margin: 12px 0 14px; }
.fstep__d { color: rgba(255,255,255,.84); font-size: clamp(.98rem, 1.3vw, 1.12rem); line-height: 1.6; }
.fstep__mat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fstep.right .fstep__mat { justify-content: flex-end; }
.fstep__mat span { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 8px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }

.film__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.16); z-index: 4; }
.film__progress span { display: block; height: 100%; width: 0; background: #fff; }
.film__hint { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; transition: opacity .45s var(--ease); }
.film__hint i { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: hintMove 1.7s ease-in-out infinite; }
@keyframes hintMove { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.mat { background: var(--white); padding: 30px 26px 36px; }
.mat__n { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; color: var(--grey-2); }
.mat h3 { font-size: 1.18rem; letter-spacing: -.015em; margin: 14px 0 8px; }
.mat p { color: var(--grey); font-size: .92rem; }
.vtim-specs { background: var(--bone); }
.vtim-note { margin-top: 22px; font-size: .8rem; color: var(--grey); max-width: 72ch; }

@media (max-width: 760px) {
  .film { height: 560vh; }
  .fstep.left, .fstep.right { left: 22px; right: 22px; max-width: none; text-align: left; bottom: 96px; }
  .fstep.right .fstep__mat { justify-content: flex-start; }
  .mat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .mat-grid { grid-template-columns: 1fr; } }

/* VTIM · anotaciones que señalan sobre el vídeo */
.annos { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.anno { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 11px; opacity: 0; }
.anno__dot { width: 11px; height: 11px; border-radius: 50%; background: #fff; position: relative; flex: none; box-shadow: 0 0 0 5px rgba(255,255,255,.18), 0 2px 8px rgba(0,0,0,.4); }
.anno__dot::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: annoPulse 2.1s ease-out infinite; }
@keyframes annoPulse { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.anno__lbl { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(10,10,10,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); padding: 8px 13px; border-radius: 999px; white-space: nowrap; transform: translateX(-8px); transition: transform .45s var(--ease-out); }
.anno.on .anno__lbl { transform: translateX(0); }

/* VTIM · cargador del recorrido */
.film__loader { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(10,10,10,.55); transition: opacity .6s var(--ease); }
.film__loader.hide { opacity: 0; pointer-events: none; }
.film__loadbar { width: 210px; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.film__loadbar i { display: block; height: 100%; width: 0; background: #fff; transition: width .2s linear; }
.film__loadtxt { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.film__scrollword { display: inline-block; margin-top: 22px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ============================================================
   FICHA DE PROPIEDAD — slider moderno + layout pro
   ============================================================ */
.detail__kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.detail__kicker svg { width: 15px; height: 15px; flex: none; }

.spec-strip { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; padding: 18px 0; margin-bottom: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-strip span { display: inline-flex; align-items: center; gap: 9px; font-size: .96rem; color: var(--graphite); }
.spec-strip b { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.spec-strip svg { width: 19px; height: 19px; color: var(--ink); flex: none; }

.pslider { margin: clamp(20px,3vw,30px) 0 clamp(34px,5vw,52px); }
.pslider__stage { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--bone); aspect-ratio: 16/9; max-height: 50vh; box-shadow: var(--shadow-l); cursor: zoom-in; touch-action: pan-y; }
.pslider__track { display: flex; height: 100%; will-change: transform; transition: transform .75s cubic-bezier(.16,1,.3,1); }
.pslide { min-width: 100%; height: 100%; overflow: hidden; }
.pslide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.085); transition: transform 6s ease-out; -webkit-user-drag: none; user-select: none; }
.pslide.is-active img { transform: scale(1); }
.pslider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow-m); transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); z-index: 3; }
.pslider__nav:hover { background: var(--ink); color: #fff; }
.pslider__prev { left: 16px; } .pslider__prev:hover { transform: translateY(-50%) translateX(-2px); }
.pslider__next { right: 16px; } .pslider__next:hover { transform: translateY(-50%) translateX(2px); }
.pslider__nav svg { width: 22px; height: 22px; }
.pslider__badge { position: absolute; top: 16px; left: 16px; z-index: 3; }
.pslider__new { position: absolute; top: 16px; right: 16px; z-index: 3; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; background: #fff; color: var(--ink); padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow-s); }
.pslider__count { position: absolute; right: 16px; bottom: 16px; z-index: 3; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: #fff; background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 13px; border-radius: 999px; }
.pslider__expand { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(10,10,10,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); padding: 9px 14px; border-radius: 999px; transition: background .25s var(--ease); }
.pslider__expand:hover { background: var(--ink); }
.pslider__expand svg { width: 15px; height: 15px; }
.pslider__thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 8px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.pslider__thumbs::-webkit-scrollbar { height: 6px; }
.pslider__thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.pthumb { flex: 0 0 auto; width: 104px; height: 70px; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .5; position: relative; box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb:hover { opacity: .85; transform: translateY(-2px); }
.pthumb.is-active { opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(0,0,0,.55); }
.pthumb.is-active::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 12px; }

/* descripción pro */
.detail__desc { font-size: 1.06rem; line-height: 1.8; color: var(--graphite); max-width: 66ch; position: relative; }
.detail__desc p { margin-bottom: 16px; }
.detail__desc p:first-of-type { font-size: 1.18rem; line-height: 1.6; color: var(--ink); }
.detail__desc.is-clamped { max-height: 312px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.readmore { margin-top: 8px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: gap .25s var(--ease); }
.readmore:hover { gap: 14px; }
.readmore svg { width: 14px; height: 14px; transform: rotate(90deg); }

/* amenities refinado */
.amen span { transition: border-color .2s var(--ease), background .2s var(--ease); }
.amen span:hover { border-color: var(--ink); background: var(--bone); }

@media (max-width: 560px) {
  .pslider__stage { aspect-ratio: 4/3; }
  .pslider__nav { width: 44px; height: 44px; }
  .pthumb { width: 84px; height: 58px; }
  .spec-strip { gap: 10px 20px; }
}

/* ============================================================
   FICHA · layout sticky (izq fija) + descripción con foco
   ============================================================ */
.pdetail { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px,5vw,72px); align-items: start; }
.pdetail__left { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.plead__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem,4vw,3.2rem); letter-spacing: -.03em; line-height: 1; }
.plead__ref { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 8px; }
.plead__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; margin: 24px 0; }
.plead__spec { background: var(--white); padding: 16px; display: flex; align-items: center; gap: 12px; }
.plead__spec svg { width: 20px; height: 20px; color: var(--ink); flex: none; }
.plead__spec b { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; display: block; letter-spacing: -.02em; }
.plead__spec span { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.plead .btn { width: 100%; }
.plead__agent { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.plead__agent .av { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }

.pdetail__right { padding: clamp(30px,7vh,110px) 0 clamp(40px,10vh,140px); min-width: 0; }
.pdetail__right .eyebrow { margin-bottom: 22px; }
.pdesc { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem,2.1vw,1.85rem); line-height: 1.55; letter-spacing: -.02em; color: var(--ink); }
.pdesc p { margin-bottom: .55em; }
.pw { color: rgb(190,188,183); transition: color .18s linear; }
.pdetail__right .block-h { margin-top: clamp(40px,6vh,72px); }

@media (max-width: 900px) {
  .pdetail { grid-template-columns: 1fr; gap: 6px; }
  .pdetail__left { position: static; height: auto; padding-top: 6px; }
  .pdetail__right { padding: 26px 0 36px; }
  .pdesc { font-size: clamp(1.2rem,4.6vw,1.5rem); }
}

/* ============================================================
   FICHA · baraja de imágenes (prev / actual / next)
   ============================================================ */
.pstack { margin-top: clamp(20px,3vh,30px); }
.pstack__deck { position: relative; width: 84%; margin: 0 auto; aspect-ratio: 4/3; }
.pcard { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: var(--bone); cursor: pointer; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .5s var(--ease), box-shadow .5s var(--ease); will-change: transform, opacity; }
.pcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pcard--cur { box-shadow: 0 32px 64px -24px rgba(0,0,0,.6), 0 14px 28px -18px rgba(0,0,0,.4); cursor: zoom-in; }
.pcard__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 999px; background: rgba(8,8,8,.5); color: #fff; font-size: 1.3rem; padding-left: 5px; pointer-events: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 12px 32px -12px rgba(0,0,0,.65); transition: opacity .3s var(--ease); }
.pstack__bar { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 0 8%; }
.pstack__count { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.pstack__count b { color: var(--ink); font-weight: 700; }
.pstack__expand { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.pstack__expand:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pstack__expand svg { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .pstack__deck { width: 78%; }
  .pdetail__left { gap: 0; }
}
@media (max-width: 560px) {
  .pstack__deck { width: 88%; aspect-ratio: 4/3; }
}

/* ============================================================
   FICHA · morph de scroll (características ↔ slider ↔ descripción)
   ============================================================ */
.pmorph { position: relative; }
.pmorph__pin { position: sticky; top: 0; height: 100vh; }

.plead { position: absolute; top: 94px; left: 0; width: 37%; transform-origin: left top; will-change: transform; }
.plead .detail__kicker { margin-bottom: 4px; }
.plead__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem,2.1vw,2.1rem); letter-spacing: -.03em; line-height: 1.03; margin: 8px 0 14px; }
.plead__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem,2.8vw,2.5rem); letter-spacing: -.03em; line-height: 1; }
.plead__ref { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 7px; }
.plead__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; margin: 18px 0; }
.plead__spec { background: var(--white); padding: 13px 14px; display: flex; align-items: center; gap: 10px; }
.plead__spec svg { width: 18px; height: 18px; color: var(--ink); flex: none; }
.plead__spec b { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; display: block; letter-spacing: -.02em; }
.plead__spec span { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.plead__cta { display: flex; gap: 10px; }
.plead__cta .btn { width: auto; flex: 1; }

.pstack { position: absolute; left: 0; bottom: 4vh; width: 34%; margin: 0; transform-origin: left top; will-change: transform; }
.pcard { border-radius: 16px; }
.pdiv { position: absolute; left: 0; width: 37%; height: 1px; background: var(--line); z-index: 1; display: none; }
.pstack__deck { position: relative; width: 90%; margin: 0 auto; aspect-ratio: 4/3; }
.pstack__bar { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 0 5%; }
.pstack__arrow { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease); }
.pstack__arrow:hover { background: var(--ink); color: #fff; }
.pstack__arrow svg { width: 16px; height: 16px; }
.pstack__count { margin: 0 2px; }
.pstack__expand { margin-left: auto; }

.pdescview { position: absolute; top: 0; right: 0; width: 56%; height: 100vh; overflow: hidden; }
.pdescview__inner { position: absolute; top: 0; left: 0; right: 0; padding: 34vh 0 28vh; will-change: transform; }
.pdescview__inner .eyebrow { margin-bottom: 20px; }
.pdesc { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem,2vw,1.9rem); line-height: 1.5; letter-spacing: -.02em; color: var(--ink); }
.pdesc p { margin-bottom: .5em; }
.pw { color: rgb(192,190,185); transition: color .12s linear; }

@media (max-width: 900px) {
  /* Orden en móvil: SLIDER → CARACTERÍSTICAS → DESCRIPCIÓN (y que quepan juntos) */
  .pmorph__pin { position: static; height: auto; display: flex; flex-direction: column; }
  .plead, .pstack, .pdescview { position: static; width: 100%; transform: none !important; }
  .pstack { order: 1; margin: 0 0 14px; }
  .plead  { order: 2; margin-bottom: 4px; }
  .pdescview { order: 3; height: auto; overflow: visible; }
  .pdescview__inner { position: static; padding: 6px 0 0; transform: none !important; }
  .pdesc { font-size: clamp(1.2rem,4.6vw,1.5rem); }

  /* Slider con SWIPE NATIVO: scroll-snap horizontal (suave, con inercia) */
  .pstack__deck { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; box-shadow: 0 16px 36px -22px rgba(0,0,0,.5); }
  .pstack__deck::-webkit-scrollbar { display: none; }
  .pcard { position: relative; inset: auto; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; opacity: 1 !important; transform: none !important; box-shadow: none; border-radius: 16px; }
  .pstack__bar { padding: 0; margin-top: 12px; }

  /* Cabecera y características compactas para que entren con el slider */
  .plead .detail__kicker { font-size: .6rem; margin-bottom: 2px; }
  .plead__title { font-size: clamp(1.35rem,5vw,1.7rem); margin: 6px 0 8px; }
  .plead__price { font-size: clamp(1.5rem,6.5vw,1.95rem); }
  .plead__ref { margin-top: 4px; }
  .plead__specs { margin: 12px 0; }
  .plead__spec { padding: 11px 12px; gap: 9px; }
  .plead__spec b { font-size: .95rem; }
  .plead__spec span { font-size: .5rem; }
  .plead__cta { margin-top: 2px; }
  .detail { padding-top: clamp(88px,12vh,120px); }
  .crumb { margin-bottom: 16px; }
}

/* ============================================================
   DISEÑADORES · índice editorial de estudios y proyectos
   ============================================================ */
.dz-page { overflow: clip; }

/* ---- Masthead ---- */
.dz-mast { padding: clamp(118px, 15vh, 168px) var(--gut) clamp(26px, 4vw, 46px); }
.dz-mast__head { border-bottom: 1px solid var(--line); padding-bottom: clamp(18px, 2.4vw, 30px); }
.dz-mast__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.8rem, 11vw, 8rem); line-height: .92; letter-spacing: -.045em; margin-top: .16em; }
.dz-mast__title > span { display: inline-block; }
.dz-mast__row { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(26px, 3.4vw, 46px); }
.dz-mast__lead { max-width: 50ch; font-size: clamp(1.04rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.dz-mast__aside { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.4vw, 26px); }
.dz-market { justify-content: flex-start; margin-bottom: 0; }
.dz-mast__stats { display: flex; flex-wrap: wrap; gap: 26px 46px; }
.dz-stat b { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.03em; line-height: 1; }
.dz-stat span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }

/* ---- Región / contenido ---- */
.dz-region { padding-bottom: clamp(20px, 4vw, 50px); }

/* bloque por diseñador (dossier + obra) */
.dz { padding: clamp(34px, 5vw, 70px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.dz:last-of-type { border-bottom: 0; }
.dz__grid { display: grid; grid-template-columns: minmax(250px, 32%) 1fr; gap: clamp(26px, 4vw, 64px); align-items: start; }
.dz__info { position: sticky; top: 104px; align-self: start; }
.dz__idx { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .26em; color: var(--grey-2); margin-bottom: 20px; }
.dz__info .eyebrow { margin-bottom: 14px; }
.dz__name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.04; letter-spacing: -.03em; }
.dz__role { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.dz__bio { margin-top: 18px; font-size: .99rem; line-height: 1.64; color: var(--ink-2); }
.dz__stats { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.dz__stat b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }
.dz__stat span { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); }
.dz__works { min-width: 0; }
.dz__more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2vw, 28px); margin-top: clamp(18px, 2vw, 28px); }

/* tarjeta de proyecto */
.dzp { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 0; text-decoration: none; color: var(--ink); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.dzp.lg { background: var(--white); }
.dzp:hover { transform: translateY(-5px); box-shadow: 0 34px 64px -30px rgba(10,10,10,.45); }
.dzp__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone); }
.dzp__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: transform .9s var(--ease-out), filter .6s var(--ease-out); }
.dzp:hover .dzp__media img { transform: scale(1.06); filter: grayscale(0) contrast(1.03); }
.dzp__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.06), rgba(10,10,10,0) 32%, rgba(10,10,10,.34)); }
.dzp__tag, .dzp__yr { position: absolute; top: 0; z-index: 3; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; padding: 9px 14px; border-radius: 0; background: rgba(10,10,10,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dzp__tag { left: 0; }
.dzp__yr { right: 0; }
.dzp__body { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 11px; }
.dzp__loc { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.dzp__t { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.08; letter-spacing: -.02em; }
.dzp__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.dzp__meta span { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .04em; color: var(--ink-2); padding: 5px 10px; border: 1px solid var(--line); border-radius: 0; }
.dzp__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.dzp__price { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.dzp__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.dzp__cta i { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; transition: background .3s var(--ease), color .3s var(--ease), transform .45s var(--ease-out); }
.dzp__cta i svg { width: 15px; height: 15px; }
.dzp:hover .dzp__cta i { background: var(--ink); color: #fff; transform: translateX(3px); }

/* proyecto destacado del estudio */
.dzp--feature { max-width: 760px; }
.dzp--feature .dzp__media { aspect-ratio: auto; height: clamp(260px, 32vh, 380px); }
.dzp--feature .dzp__body { padding: clamp(20px, 2vw, 32px); gap: 12px; }
.dzp--feature .dzp__t { font-size: clamp(1.4rem, 2.1vw, 2rem); }
.dzp--feature .dzp__price { font-size: 1.32rem; }

/* ---- Mapa ---- */
.dz-map { height: clamp(440px, 64vh, 700px); border-radius: 0; overflow: hidden; border: 1px solid var(--line); margin-top: clamp(20px, 3vw, 36px); }
.dz-map .leaflet-tile { filter: grayscale(1) contrast(1.04); }
.dz-map .leaflet-container { font-family: var(--font-mono); background: var(--bone); }
.dz-map .leaflet-popup-content { margin: 0; width: 230px !important; }
.dz-map .leaflet-popup-content-wrapper { border-radius: 16px; overflow: hidden; padding: 0; }

/* ---- Estado vacío ---- */
.dz-empty { text-align: center; padding: clamp(48px, 9vw, 110px) 0; }
.dz-empty h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.025em; margin: 14px 0 12px; }
.dz-empty p { color: var(--grey); max-width: 50ch; margin: 0 auto 24px; line-height: 1.6; }

/* ---- Animaciones de entrada ---- */
.dz-anim, .dz-rise { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); will-change: opacity, transform; }
.dz-rise { transform: translateY(56px); }
.dzp--feature.dz-rise { transform: translateY(72px); transition-delay: .08s; }
.dz-anim.is-in, .dz-rise.is-in { opacity: 1; transform: none; }
.dz-anim[data-i="0"] { transition-delay: .04s; }
.dz-anim[data-i="1"] { transition-delay: .12s; }
.dz-anim[data-i="2"] { transition-delay: .22s; }
.dz-anim[data-i="3"] { transition-delay: .32s; }
@keyframes dzSwap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dz-swap { animation: dzSwap .55s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  .dz-anim, .dz-rise { opacity: 1 !important; transform: none !important; transition: none; }
}

@media (max-width: 900px) {
  .dz-mast__row { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .dz__grid { grid-template-columns: 1fr; gap: 22px; }
  .dz__info { position: static; }
  .dz__stats { margin-top: 18px; padding-top: 18px; }
  .dzp--feature { max-width: none; }
  .dzp--feature .dzp__media { height: auto; aspect-ratio: 16 / 10; }
}

/* Acercar Propiedades y Herramientas (menos hueco vertical) */
#propiedades { padding-bottom: clamp(30px, 4vw, 60px); }
#herramientas { padding-top: clamp(30px, 4vw, 60px); }

/* ============================================================
   HERRAMIENTAS · selector de comunidad + instrucciones
   ============================================================ */
.field-sel { position: relative; background: rgba(255,255,255,.55); border: 1px solid var(--glass-stroke); border-radius: 12px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.field-sel:focus-within { border-color: var(--ink); background: rgba(255,255,255,.85); }
.field-sel select { width: 100%; border: 0; background: transparent; padding: 10px 40px 10px 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); appearance: none; -webkit-appearance: none; outline: none; cursor: pointer; }
.field-sel::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey); transform: translateY(-65%) rotate(45deg); pointer-events: none; }

/* Instrucciones "cómo calcularlo de verdad" (desplegable) */
.calc-how { margin-top: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.5); overflow: hidden; max-width: 860px; }
.calc-how > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.calc-how > summary::-webkit-details-marker { display: none; }
.calc-how > summary::after { content: '+'; font-family: var(--font-head); font-size: 1.4rem; line-height: 1; color: var(--grey); }
.calc-how[open] > summary::after { content: '\2212'; }
.calc-how__body { padding: 2px 20px 20px; }
.calc-how__body > p { font-size: .88rem; color: var(--grey); margin-bottom: 12px; }
.calc-how ol { margin: 0; padding-left: 1.15em; display: grid; gap: 10px; }
.calc-how li { font-size: .93rem; line-height: 1.55; color: var(--graphite); }
.calc-how li b { font-weight: 700; color: var(--ink); }
body.has-cursor summary { cursor: none !important; }

/* aviso de estimación destacado */
.calc-note { margin-top: 10px; display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.5; color: var(--graphite); background: rgba(10,10,10,.04); border-radius: 12px; padding: 10px 15px; max-width: 860px; }
.calc-note b { color: var(--ink); }

/* ============================================================
   ¿POR QUÉ AUROVAS? · página del método + explainer animado
   ============================================================ */
.why-hero { padding: clamp(120px, 15vh, 182px) var(--gut) clamp(18px, 3vw, 38px); }
.why-hero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 8vw, 6rem); line-height: .95; letter-spacing: -.04em; margin: .12em 0 .26em; }
.why-hero__lead { max-width: 54ch; font-size: clamp(1.04rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--ink-2); }

.why-point { padding-bottom: clamp(50px, 8vw, 110px); }
.why-point__head { display: flex; gap: clamp(16px, 3vw, 34px); align-items: flex-start; }
.why-point__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.03em; color: var(--line); line-height: .85; flex: none; }
.why-point__title { margin-top: 6px; }
.why-point__intro { color: var(--grey); max-width: 60ch; margin-top: 12px; line-height: 1.55; }

/* ---- Tarjeta-explainer (stage oscuro cinematográfico) ---- */
.mkt { position: relative; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(125% 145% at 50% 0%, #1b1b1b 0%, #0c0c0c 52%, #050505 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-l), inset 0 1px 0 rgba(255,255,255,.08); margin-top: clamp(22px, 3vw, 40px); }
.mkt__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(110% 120% at 50% 0%, transparent 55%, rgba(0,0,0,.55)); }
.mkt__stage { position: relative; aspect-ratio: 16 / 9; z-index: 2; }

.msc { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(22px, 4vw, 58px); opacity: 0; visibility: hidden; transform: scale(.994); transition: opacity .55s var(--ease-out), visibility .55s, transform .8s var(--ease-out); }
.msc.is-active { opacity: 1; visibility: visible; transform: none; }
.msc--c { align-items: center; text-align: center; }
.msc__kick { font-family: var(--font-mono); font-size: clamp(.58rem, 1vw, .72rem); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.msc__head { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.03em; color: rgba(255,255,255,.92); }
.msc__head.sm { font-size: clamp(1.45rem, 3.4vw, 2.55rem); }
.msc__head em { font-style: normal; color: #fff; font-size: 1.12em; }
.msc__sub { font-family: var(--font-mono); font-size: clamp(.64rem, 1.05vw, .82rem); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); max-width: 60ch; }

/* revelado escalonado dentro de cada escena */
.msc .r { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.msc.is-active .r { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 95ms); }

/* S2 · tres capas */
.mlayers { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 780px; }
.mlayer { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.045); text-align: left; }
.mlayer__n { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: rgba(255,255,255,.5); }
.mlayer__t b { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.06rem; letter-spacing: -.01em; }
.mlayer__t i { font-style: normal; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.mlayer p { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.4; }

/* S3 · fórmula */
.mform { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 10px; width: 100%; }
.mform__box { flex: 1 1 150px; max-width: 215px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.045); text-align: left; }
.mform__box span { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.mform__box b { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.04rem; margin-top: 6px; letter-spacing: -.01em; }
.mform__box i { display: block; font-style: normal; color: rgba(255,255,255,.55); font-size: .76rem; margin-top: 7px; line-height: 1.35; }
.mform__box--win { background: #fff; border-color: #fff; }
.mform__box--win span { color: rgba(10,10,10,.5); } .mform__box--win b { color: var(--ink); } .mform__box--win i { color: rgba(10,10,10,.7); }
.mform__op { align-self: center; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: rgba(255,255,255,.45); }

/* S4 · cadena de multiplicación */
.mchain { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.mchain__node { min-width: 98px; padding: 16px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.045); }
.mchain__node b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; line-height: 1; letter-spacing: -.02em; }
.mchain__node span { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 8px; display: block; }
.mchain__node--win { background: #fff; border-color: #fff; }
.mchain__node--win b { color: var(--ink); } .mchain__node--win span { color: rgba(10,10,10,.55); }
.mchain__op { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em; color: rgba(255,255,255,.55); }

/* S5 · teléfonos / cuentas */
.mphones { display: grid; grid-template-columns: repeat(10, 1fr); gap: 9px; width: 100%; max-width: 720px; }
.mphone { aspect-ratio: 1 / 1.7; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.04); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mphone i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.75); opacity: 0; transform: scale(.3); transition: opacity .4s, transform .45s var(--ease-out); }
.msc.is-active .mphone i:nth-child(1) { opacity: 1; transform: none; transition-delay: calc(var(--i,0) * 95ms + 40ms); }
.msc.is-active .mphone i:nth-child(2) { opacity: 1; transform: none; transition-delay: calc(var(--i,0) * 95ms + 130ms); }
.msc.is-active .mphone i:nth-child(3) { opacity: 1; transform: none; transition-delay: calc(var(--i,0) * 95ms + 220ms); }

/* S6 · contador de alcance */
.mbig { display: flex; align-items: flex-start; justify-content: center; gap: 6px; color: #fff; }
.mbig__pre { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 4vw, 3rem); color: rgba(255,255,255,.5); margin-top: .2em; }
.mbig__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 11vw, 7.4rem); letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.mbig2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.8rem); color: rgba(255,255,255,.82); }
.mbig2 em { font-style: normal; color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: .58em; letter-spacing: .12em; text-transform: uppercase; }

/* S7 · embudo */
.mfunnel { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 700px; }
.mstep { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.045); padding: 11px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mstep b { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.mstep span { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); text-align: right; }
.mfunnel .mstep:nth-child(2) { width: 88%; } .mfunnel .mstep:nth-child(3) { width: 76%; } .mfunnel .mstep:nth-child(4) { width: 65%; } .mfunnel .mstep:nth-child(5) { width: 54%; }
.mstep--win { background: #fff; border-color: #fff; } .mstep--win b { color: var(--ink); } .mstep--win span { color: rgba(10,10,10,.6); }

.mkt__logo { width: 118px; height: 59px; margin-top: 6px; filter: brightness(0) invert(1); }

/* ---- UI del reproductor ---- */
.mkt__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 4; }
.mkt__bar i { display: block; height: 100%; width: 0; background: #fff; }
.mkt__chapters { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; gap: 5px; z-index: 4; }
.mkt__chip { height: 4px; flex: 1; border-radius: 999px; background: rgba(255,255,255,.22); cursor: pointer; padding: 0; border: 0; transition: background .3s var(--ease); }
.mkt__chip.on { background: #fff; }
.mkt__chip:hover { background: rgba(255,255,255,.6); }
.mkt__replay { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 6; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: #fff; border: 0; padding: 14px 22px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-l); transition: transform .25s var(--ease); }
.mkt__replay:hover { transform: translate(-50%,-50%) scale(1.04); }
.mkt.is-done .mkt__stage { filter: brightness(.55); transition: filter .5s var(--ease); }
body.has-cursor .mkt__chip, body.has-cursor .mkt__replay { cursor: none !important; }

/* ---- Resumen + CTA ---- */
.why-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 30px); margin-top: clamp(26px, 3.5vw, 46px); }
.why-key { border-top: 2px solid var(--ink); padding-top: 16px; }
.why-key__n { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; color: var(--grey-2); }
.why-key b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; margin: 9px 0; letter-spacing: -.01em; }
.why-key p { color: var(--grey); font-size: .92rem; line-height: 1.55; }
.why-foot { margin-top: 18px; font-size: .76rem; color: var(--grey-2); }
.why-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(26px, 4vw, 44px); }
.why-cta .btn span svg { width: 17px; height: 17px; }
.why-cta__more { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }

@media (prefers-reduced-motion: reduce) {
  .msc .r, .msc.is-active .r { opacity: 1 !important; transform: none !important; transition: none; }
  .mphone i { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 760px) {
  .mkt__stage { aspect-ratio: auto; min-height: 74vh; }
  .msc { gap: 13px; }
  .mlayer { grid-template-columns: auto 1fr; row-gap: 4px; }
  .mlayer p { grid-column: 1 / -1; }
  .mphones { grid-template-columns: repeat(5, 1fr); max-width: 320px; }
  .mform__box { flex-basis: 130px; }
  .mstep span { display: none; }
  .why-keys { grid-template-columns: 1fr; }
  .why-point__head { gap: 14px; }
}

/* ============================================================
   PERIÓDICO · cabecera del blog (paleta Aurovas) — añadido
   ============================================================ */
.np-masthead { padding: clamp(82px,10vw,120px) 0 8px; background: var(--bone); }
.np-dateline {
  display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--grey); padding:9px 0; border-top:2px solid var(--ink); border-bottom:1px solid var(--line);
}
.np-dateline #np-date { color:var(--ink); font-weight:700; text-transform:capitalize; letter-spacing:.06em; }
.np-edition { letter-spacing:.22em; }
.np-nameplate { text-align:center; padding:clamp(20px,4vw,40px) 0 clamp(16px,2.4vw,24px); border-bottom:3px double var(--ink); }
.np-name { font-family:var(--font-head); font-weight:700; font-size:clamp(3.2rem,12vw,7.5rem); letter-spacing:-.045em; line-height:.88; }
.np-tagline { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.26em; text-transform:uppercase; color:var(--grey); margin-top:12px; }
.np-tools { display:flex; flex-direction:column; align-items:center; gap:14px; padding:20px 0 4px; }
.np-tools .blog-search { width:min(560px,100%); }
.np-tools .blog-cats { justify-content:center; }
/* feed con aire de periódico: filete superior + la primera historia como apertura */
.blog-feed { border-top:1px solid var(--line); }
.bfeature { border-bottom:2px solid var(--ink); padding-bottom:clamp(20px,3vw,34px); margin-bottom:clamp(22px,3vw,36px); }
.bpost__cat, .art-cat { font-family:var(--font-mono); letter-spacing:.16em; text-transform:uppercase; }
@media (max-width:640px){
  .np-dateline { font-size:.5rem; gap:6px; justify-content:center; text-align:center; }
  .np-dateline .np-edition { order:-1; width:100%; text-align:center; }
}

/* El mapa no debe tapar la barra superior: aislamos su contexto de apilado */
#prop-map{ position:relative; z-index:0; isolation:isolate; }

/* ============================================================
   NOTICIAS · tratamiento de PERIÓDICO editorial (serif + Aurovas)
   Titulares en Playfair (igual que las portadas de Aurovas Social),
   cuerpo en Sk-Modernist, acentos en oro. Aspecto de diario real.
   ============================================================ */
.np-nameplate { border-top: 1px solid var(--ink); }
.np-tagline { font-family: var(--font-serif); font-style: italic; letter-spacing: .01em; }

/* Índice / portada */
.bfeature__title, .bpost__title { font-family: var(--font-serif); font-weight: 800; letter-spacing: -.012em; }
.bfeature__title { line-height: 1.0; }
.bpost__title { line-height: 1.14; }
.bpost__cat { color: var(--gold) !important; }
.bcat.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.bfeature__ex, .bpost__ex { font-family: var(--font-main); }

/* Artículo */
.art-cat { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.art-title { font-family: var(--font-serif); font-weight: 800; letter-spacing: -.012em; line-height: 1.035; }
.article-body { font-size: 1.12rem; line-height: 1.8; }
.article-body h2 { font-family: var(--font-serif); font-weight: 800; letter-spacing: -.01em; }
.article-body h3 { font-family: var(--font-serif); font-weight: 700; }
.article-body > p:first-of-type::first-letter { font-family: var(--font-serif); color: var(--gold); font-size: 3.9em; line-height: .72; margin: 6px 12px 0 0; }
.article-body blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 600; border-left-color: var(--gold); }
.article-body strong { color: var(--ink); }

/* Imágenes de la noticia: editoriales, contenidas (no gigantes), con marco fino */
.art-cover img { aspect-ratio: 16/8; max-height: 460px; border-radius: 10px; }
.art-fig { margin: 30px 0; }
.art-fig img { max-height: 360px; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 44px -28px rgba(0,0,0,.45); }

/* ============================================================
   CTA final de cada NOTICIA — tarjeta profesional (sustituye al
   texto plano del final). Botones legibles (texto blanco).
   ============================================================ */
.art-cta { margin: 46px 0 6px; padding: clamp(22px,3.6vw,38px); border-radius: 20px; background: var(--ink); color: var(--bone); box-shadow: 0 30px 70px -40px rgba(0,0,0,.55); }
.art-cta__eyebrow { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.art-cta__title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.35rem,2.6vw,2rem); line-height: 1.08; letter-spacing: -.01em; color: #fff; margin: 12px 0 10px; }
.art-cta__text { color: rgba(245,241,232,.84); font-size: 1.02rem; line-height: 1.65; max-width: 62ch; margin: 0; }
.art-cta__text strong { color: #fff; font-weight: 700; }
.art-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.art-cta a.btn { text-decoration: none; }
.art-cta a.btn--wa { background: var(--wa); color: #fff; }
.art-cta a.btn--light { background: var(--bone); color: var(--ink); }
.art-cta a.btn--light:hover { background: #fff; }
/* Refuerzo global: los botones dentro del cuerpo del artículo NO heredan color/subrayado de enlace */
.article-body a.btn { text-decoration: none; }
.article-body a.btn--ink, .article-body a.btn--wa { color: #fff; }
