/* =========================================================
   Alexandra Reyes Veltri · RE/MAX Premium
   Montserrat · texto de un solo color · azul RE/MAX de fondo,
   rojo solo en detalles (líneas y puntos).
   ========================================================= */
:root {
  --white: #ffffff;
  --cream: #f5f5ed;
  --ink: #03103c;
  --blue: #0543ff;
  --red: #ff0b0a;
  --dred: #680004;
  --mute: #4a5272;
  --line: rgba(3, 16, 60, .12);
  --line-strong: rgba(3, 16, 60, .22);
  --f: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1360px;
  --radius: 14px;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-color: var(--blue) var(--white); scrollbar-width: thin; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.6; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--blue); color: var(--white); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible { outline-color: var(--white); }
input, textarea { caret-color: var(--blue); }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.display { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.wl { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .1em .06em .02em; margin: -.08em -.1em -.06em -.02em; }
.wl .w { display: inline-block; }
.js-words .w { opacity: .14; }
.chat__q { display: block; }
.lead { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 36em; text-wrap: pretty; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: background .3s, color .3s, border-color .3s, transform .2s var(--ease-out); }
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--line { border: 1.5px solid currentColor; }
.btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--line-ink { border: 1.5px solid var(--line-strong); }
.btn--line-ink:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Fotos de Alexandra (pendientes): iniciales ---------- */
.media { position: relative; margin: 0; overflow: hidden; background: var(--cream); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty img { opacity: 0; }
.media.is-empty::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: clamp(56px, 8vw, 130px); letter-spacing: -.04em; color: var(--blue); }

/* ================= TRANSICIÓN ENTRE PÁGINAS ================= */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--blue); display: grid; place-items: center; transform: translateY(101%); pointer-events: none; }
.curtain img { width: 54px; }
html.is-entering .curtain { transform: translateY(0); }

/* ================= PRELOADER (primera visita) ================= */
.preloader { position: fixed; inset: 0; z-index: 160; background: var(--white); display: grid; place-items: center; }
.preloader__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.pin { width: clamp(64px, 8vw, 110px); height: auto; overflow: visible; }
.pin__s--dred { fill: var(--dred); } .pin__s--red { fill: var(--red); } .pin__s--navy { fill: var(--ink); } .pin__s--blue { fill: var(--blue); } .pin__s--cream { fill: var(--cream); }
.pin__outline { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.preloader__name { font-weight: 700; font-size: clamp(26px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.pl-line { display: block; overflow: hidden; padding-right: .1em; margin-right: -.1em; }
.pl-line span { display: block; }
.pl-line:last-child { font-weight: 600; font-size: .5em; letter-spacing: .02em; margin-top: 6px; }
.preloader__count { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + 10px); display: flex; align-items: flex-start; font-weight: 800; font-size: clamp(88px, 15vw, 230px); line-height: .8; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.preloader__pct { font-size: .28em; margin: .12em 0 0 .08em; opacity: 0; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(5, 67, 255, .12); }
.preloader__bar span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.pl-ch { display: inline-block; font-style: normal; }
.preloader__inner { margin-bottom: 12vh; }

/* ================= CURSOR ================= */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue); pointer-events: none; opacity: 0;
  display: grid; place-items: center; mix-blend-mode: normal; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, opacity .3s; }
.cursor__label { font-size: 11px; font-weight: 700; color: var(--white); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.cursor.is-link { width: 36px; height: 36px; margin: -18px 0 0 -18px; background: rgba(5, 67, 255, .16); }
.cursor.is-drag { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--blue); }
.cursor.is-drag .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ================= HEADER ================= */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter);
  color: var(--ink); transition: background .35s, box-shadow .35s, color .35s, transform .5s var(--ease); }
.header.is-light { color: var(--white); }
.header.is-scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand__pin { width: 44px; transition: transform .6s var(--ease-out); }
.brand:hover .brand__pin { transform: translateY(-3px) rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__text span { font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .8; }
.header__right { display: flex; align-items: center; gap: 12px; flex: none; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; }
.lang__btn { font-weight: 700; font-size: 12px; padding: 6px 11px; border-radius: 999px; letter-spacing: .04em; opacity: .7; transition: background .3s, color .3s, opacity .3s; }
.lang__btn.is-active { background: var(--blue); color: var(--white); opacity: 1; }
.burger { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 5px 0 16px; border-radius: 999px; border: 1.5px solid currentColor; }
.burger__label { font-size: 13px; font-weight: 700; }
.burger__lines { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); }
.burger__lines i { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .5s var(--ease); }
.burger__lines i:first-child { top: 12px; } .burger__lines i:last-child { top: 18px; }
body.menu-open .burger__lines i:first-child { transform: translateY(3px) rotate(45deg); }
body.menu-open .burger__lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
body.menu-open .header { color: var(--ink); background: var(--white); box-shadow: 0 1px 0 var(--line); transform: none; }

/* ================= MENÚ ================= */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--white); display: flex; flex-direction: column; padding-top: var(--header-h); clip-path: inset(0 0 100% 0); visibility: hidden; }
.menu__grid { flex: 1; display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); min-height: 0; border-top: 1px solid var(--line); }
.menu__photo { position: relative; display: flex; align-items: flex-end; padding: 24px; }
.menu__photo .media { position: absolute; inset: 0; }
.menu__photo img { filter: grayscale(1); }
.menu__quote { position: relative; margin: 0; padding: 8px 14px; background: var(--white); font-weight: 600; font-size: 15px; border-radius: 8px; }
.menu__col { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 22px; border-left: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .4s; }
.menu__col::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.menu__col:hover { color: var(--white); }
.menu__col:hover::before { transform: scaleY(1); }
.menu__col.is-current::after { content: ""; position: absolute; left: 22px; top: 28px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.menu__label { font-weight: 700; font-size: clamp(24px, 2.3vw, 40px); line-height: 1.05; letter-spacing: -.02em; margin-top: auto; transition: transform .6s var(--ease-out); }
.menu__col:hover .menu__label { transform: translateY(-12px); }
.menu__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; border: 1.5px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.socials a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-2px); }

/* ================= FOOTER ================= */
.footer { padding: 40px 0 44px; font-size: 14px; color: var(--mute); border-top: 1px solid var(--line); }
.footer__wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.footer__logo { width: 120px; }
.footer p { margin: 0 0 4px; }
.footer__credits { font-size: 12px; line-height: 1.5; }
.footer__credits a { text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   INICIO
   ========================================================= */
.h-scene { position: relative; height: 320vh; }
.h-scene__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--white); }
.h-scene__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; transform: scale(1.12); }
.h-scene__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 16, 60, .72) 0%, rgba(3, 16, 60, .35) 60%, rgba(3, 16, 60, .15) 100%); }
.h-scene__lines { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(90px, 16vh, 160px); }
.h-scene__line { position: absolute; left: 0; bottom: 0; max-width: 13ch; font-weight: 700; font-size: clamp(46px, 7.4vw, 128px); line-height: .98; letter-spacing: -.04em; }
.h-scene__line .w { display: inline-block; }
.h-scene__line:not(:first-child) { opacity: 0; }
.h-scene__foot { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; font-weight: 600; }
.h-scene__hint { display: flex; align-items: center; gap: 10px; }
.h-scene__hint i { width: 1.5px; height: 34px; background: rgba(255, 255, 255, .4); position: relative; overflow: hidden; }
.h-scene__hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--white); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.h-scene__bar { width: min(220px, 30vw); height: 2px; background: rgba(255, 255, 255, .3); }
.h-scene__bar span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }

.h-intro { padding: clamp(100px, 18vh, 200px) 0; }
.h-intro__wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.h-intro__photo { width: clamp(120px, 14vw, 210px); aspect-ratio: 1; border-radius: 50%; }
.h-intro__text { margin: 0 0 40px; font-weight: 600; font-size: clamp(26px, 3.3vw, 52px); line-height: 1.18; letter-spacing: -.025em; max-width: 24ch; }
.h-intro__text .w { opacity: .14; }

.h-reel { background: var(--cream); }
.h-reel__stage { height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.h-reel__head { padding: 0 var(--gutter); margin-bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.h-reel__head h2 { margin: 0; font-weight: 700; font-size: clamp(34px, 4.4vw, 68px); letter-spacing: -.03em; line-height: 1.05; }
.h-reel__head p { margin: 0; font-weight: 600; color: var(--mute); }
.h-reel__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.reel-card { position: relative; flex: none; width: clamp(300px, 42vw, 640px); height: min(60vh, 560px); margin: 0; border-radius: var(--radius); overflow: hidden; color: var(--white); }
.reel-card:nth-child(even) { width: clamp(240px, 30vw, 440px); }
.reel-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.reel-card::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(3, 16, 60, .8)); }
.reel-card figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; font-weight: 700; font-size: clamp(24px, 2.6vw, 42px); letter-spacing: -.03em; line-height: 1.05; }

.h-how { padding: clamp(100px, 16vh, 180px) 0; }
.h-how__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.h-how__head h2 { margin: 0; font-weight: 700; font-size: clamp(36px, 5vw, 80px); letter-spacing: -.035em; line-height: 1.02; max-width: 12ch; }
.h-how__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.h-how__list a { position: relative; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: clamp(18px, 2.6vw, 30px) 10px; border-bottom: 1px solid var(--line-strong); overflow: hidden; isolation: isolate; transition: color .45s, padding .45s var(--ease-out); }
.h-how__list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.h-how__list a:hover { color: var(--white); padding-left: 28px; padding-right: 28px; }
.h-how__list a:hover::before { transform: scaleY(1); }
.h-how__n { font-weight: 700; font-size: 15px; }
.h-how__txt { display: flex; flex-direction: column; gap: 6px; }
.h-how__d { font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; color: var(--mute); transition: color .45s; }
.h-how__list a:hover .h-how__d { color: rgba(255,255,255,.85); }
.h-how__t { font-weight: 700; font-size: clamp(26px, 3.4vw, 56px); letter-spacing: -.03em; line-height: 1.05; }
.h-how__list svg { font-size: 26px; transition: transform .45s var(--ease-out); }
.h-how__list a:hover svg { transform: translateX(6px); }

.end { background: var(--blue); color: var(--white); min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.end h2 { margin: 0 auto; font-weight: 700; font-size: clamp(44px, 7.6vw, 132px); letter-spacing: -.04em; line-height: 1; max-width: 12ch; }
.end p { margin: 26px auto 40px; font-size: clamp(18px, 1.5vw, 21px); }
.end__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =========================================================
   CÓMO TRABAJO
   ========================================================= */
.w-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(60px, 10vh, 110px); }
.w-hero h1 { font-size: clamp(50px, 9vw, 160px); max-width: 11ch; }

.w-split { position: relative; height: 260vh; }
.w-split__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.w-split__half { position: relative; display: flex; align-items: center; padding: 0 clamp(24px, 5vw, 80px); }
.w-split__half p { margin: 0; font-weight: 700; font-size: clamp(28px, 3.4vw, 56px); letter-spacing: -.03em; line-height: 1.1; max-width: 13ch; }
.w-split__left { background: var(--cream); }
.w-split__right { background: var(--blue); color: var(--white); z-index: 2; }
.w-split__grow { position: absolute; inset: 0 0 0 50%; background: var(--blue); z-index: 1; }
.w-split__after { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; text-align: center; color: var(--white); padding: 0 var(--gutter); opacity: 0; }
.w-split__after p { margin: 0; font-weight: 700; font-size: clamp(44px, 7vw, 120px); letter-spacing: -.04em; line-height: 1; max-width: 12ch; }

.w-steps { position: relative; height: 480vh; }
.w-steps__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: var(--header-h) var(--gutter) 40px; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.w-steps__label { margin: 0 0 24px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.w-steps__num { position: relative; height: clamp(120px, 16vw, 240px); overflow: hidden; font-weight: 800; font-size: clamp(120px, 16vw, 240px); line-height: 1; letter-spacing: -.06em; }
.w-steps__num span { position: absolute; left: 0; top: 0; }
.w-steps__texts { position: relative; min-height: 220px; margin-top: 20px; }
.w-step { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.w-step:first-child { opacity: 1; }
.w-step h3 { margin: 0 0 14px; font-weight: 700; font-size: clamp(28px, 3vw, 48px); letter-spacing: -.03em; line-height: 1.08; }
.w-step p { margin: 0; font-size: clamp(17px, 1.3vw, 19px); color: var(--mute); max-width: 30em; }
.w-steps__dots { display: flex; gap: 8px; margin-top: 30px; }
.w-steps__dots i { width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); transition: background .3s; }
.w-steps__dots i.is-on { background: var(--blue); }
.w-steps__pics { position: relative; height: min(72vh, 680px); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.w-steps__pics img, .w-steps__pics .w-steps__pin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-steps__pics > *:not(:first-child) { clip-path: inset(100% 0 0 0); }
.w-steps__pin { display: grid; place-items: center; background: var(--blue); }
.w-steps__pin img { position: static; width: 26%; height: auto; }

.w-promise { padding: clamp(100px, 16vh, 180px) 0; background: var(--cream); }
.w-promise h2 { margin: 0 0 48px; font-weight: 700; font-size: clamp(36px, 5vw, 80px); letter-spacing: -.035em; }
.w-promise__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.w-promise__list li { border-bottom: 1px solid var(--line-strong); padding: clamp(22px, 3vw, 36px) 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: baseline; }
.w-promise__list h3 { margin: 0; font-weight: 700; font-size: clamp(30px, 4.4vw, 72px); letter-spacing: -.035em; line-height: 1.02; }
.w-promise__list p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); color: var(--mute); max-width: 26em; }

.w-reviews { padding: clamp(90px, 14vh, 150px) 0; }
.w-reviews__wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px 60px; align-items: end; }
.w-reviews h2 { margin: 0 0 20px; font-weight: 700; font-size: clamp(36px, 5vw, 80px); letter-spacing: -.035em; line-height: 1.02; }
.w-reviews .lead { color: var(--mute); }
@media (max-width: 900px) { .w-reviews__wrap { grid-template-columns: 1fr; align-items: start; } }

/* =========================================================
   MI HISTORIA
   ========================================================= */
.s-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(60px, 10vh, 110px); background: var(--cream); }
.s-hero h1 { font-size: clamp(54px, 10vw, 180px); max-width: 10ch; }
.s-hero .lead { margin-top: 26px; }

.s-build { position: relative; height: 520vh; background: var(--cream); }
.s-build__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 70px); align-items: center; padding: var(--header-h) var(--gutter) 30px; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.house { width: 100%; height: auto; max-height: 78vh; overflow: visible; }
.house__sketch { display: none; }
.house__lines > * { fill: none; stroke: var(--ink); stroke-width: .7; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.house__glass { fill: var(--blue); fill-opacity: 0; }
.house__ink > * { fill: var(--ink); }
.s-build__chapters { position: relative; min-height: 190px; }
.chapter { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.chapter:first-child { opacity: 1; }
.chapter h3 { margin: 0 0 12px; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.chapter p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); max-width: 28em; }
.sb-year { display: flex; height: 1.05em; overflow: hidden; margin-bottom: 26px; font-weight: 800; font-size: clamp(64px, 7vw, 128px); line-height: 1.05; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.sb-digit { display: block; height: 1.05em; overflow: hidden; margin-right: -.045em; }
.sb-digit > span { display: flex; flex-direction: column; transition: transform 1s var(--ease); }
.sb-digit:nth-child(2) > span { transition-delay: .06s; }
.sb-digit:nth-child(3) > span { transition-delay: .12s; }
.sb-digit:nth-child(4) > span { transition-delay: .18s; }
.sb-digit i { display: block; height: 1.05em; font-style: normal; }
.sb-places { position: relative; margin-bottom: 26px; }
.sb-places ol { list-style: none; margin: 0; padding: 0; }
.sb-places li { display: flex; align-items: center; height: clamp(40px, 3.4vw, 56px); font-weight: 700; font-size: clamp(28px, 2.7vw, 44px); letter-spacing: -.02em; white-space: nowrap; transform: scale(.46); transform-origin: left center; opacity: .3; transition: transform .7s var(--ease-out), opacity .5s; }
.sb-places li.is-on { transform: none; opacity: 1; }
.sb-side { min-width: 0; padding-right: 8px; }
.sb-art { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 4vh; }
.sb-title { position: absolute; left: 0; top: 2vh; z-index: 1; }
.sb-title h1 { margin: 0; font-weight: 700; font-size: clamp(44px, 5.4vw, 96px); line-height: 1.02; letter-spacing: -.035em; max-width: 10ch; }
.sb-title p { margin: 18px 0 0; font-size: clamp(17px, 1.3vw, 20px); color: var(--mute); }

.s-quote { padding: clamp(110px, 18vh, 200px) 0; }
.s-quote blockquote { margin: 0; }
.s-quote p { margin: 0; font-weight: 700; font-size: clamp(30px, 4.4vw, 72px); letter-spacing: -.035em; line-height: 1.1; max-width: 20ch; }
.s-quote p .w { opacity: .14; }
.s-quote cite { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-style: normal; font-weight: 700; }
.s-quote cite .media { width: 56px; height: 56px; border-radius: 50%; }
.s-quote cite .media.is-empty::before { font-size: 18px; }

.s-reloc { background: var(--blue); color: var(--white); padding: clamp(100px, 16vh, 170px) 0; }
.s-reloc__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.s-reloc__img { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.s-reloc__img img { width: 100%; height: 100%; object-fit: cover; }
.s-reloc h2 { margin: 0 0 22px; font-weight: 700; font-size: clamp(38px, 5vw, 80px); letter-spacing: -.035em; line-height: 1.02; }
.s-reloc__list { list-style: none; padding: 0; margin: 32px 0 20px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .3); }
.s-reloc__list li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); font-weight: 700; display: flex; align-items: center; gap: 12px; }
.s-reloc__list li:nth-child(odd) { padding-right: 16px; }
.s-reloc__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); flex: none; }
.s-reloc__langs { margin: 0 0 30px; font-weight: 700; }

/* =========================================================
   INMUEBLES
   ========================================================= */
.l-page { padding-top: var(--header-h); }
.l-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.l-bar h1 { margin: 0; font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; }
.l-bar p { margin: 2px 0 0; color: var(--mute); font-size: 15px; }
.l-bar__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.l-bar__ext { font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.l-frame { position: relative; height: calc(100svh - var(--header-h) - 96px); min-height: 520px; background: var(--cream); }
.l-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--white); }
.l-frame__loading { position: absolute; inset: 0; display: grid; place-items: center; }
.l-frame__loading img { width: 46px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* =========================================================
   CONTACTO
   ========================================================= */
.c-hero { padding: calc(var(--header-h) + clamp(50px, 10vh, 110px)) 0 clamp(60px, 9vh, 100px); }
.c-hero h1 { font-weight: 800; font-size: clamp(44px, 16vw, 270px); letter-spacing: -.05em; line-height: .88; white-space: nowrap; }
.c-hero h1 .ch { display: inline-block; }
.c-hero .lead { margin-top: 26px; color: var(--mute); }
.c-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 7vh, 70px); align-items: stretch; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 240px; padding: 28px; border-radius: var(--radius); background: var(--cream); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), color .4s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateY(101%); transition: transform .55s var(--ease); }
.tile:hover { transform: translateY(-4px); color: var(--white); }
.tile:hover::before { transform: translateY(0); }
.tile--main { background: var(--blue); color: var(--white); }
.tile--main::before { background: var(--ink); }
.tile__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.tile__top svg { font-size: 26px; transition: transform .45s var(--ease-out); }
.tile:hover .tile__top svg { transform: translate(4px, -4px); }
.tile__v { font-weight: 700; font-size: clamp(20px, 1.9vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.tile__v--sm { font-size: clamp(16px, 1.35vw, 21px); overflow-wrap: anywhere; }

.c-chat { padding: 0 0 clamp(80px, 12vh, 140px); }
.c-chat__or { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font-weight: 700; }
.c-chat__or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.chat { position: relative; border-radius: var(--radius); background: var(--ink); color: var(--white); overflow: hidden; min-height: min(78vh, 680px); display: flex; flex-direction: column; }
.chat__progress { height: 4px; background: rgba(255, 255, 255, .15); }
.chat__progress span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .6s var(--ease); }
.chat__viewport { position: relative; flex: 1; overflow: hidden; }
.chat__track { display: flex; height: 100%; transition: transform .8s var(--ease); }
.chat__step { flex: none; width: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 80px); }
.chat__n { font-weight: 700; font-size: 14px; opacity: .6; margin-bottom: 18px; }
.chat__q { margin: 0 0 34px; font-weight: 700; font-size: clamp(34px, 5vw, 80px); letter-spacing: -.035em; line-height: 1.02; max-width: 16ch; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 12px; }
.chat__opt { padding: 18px 28px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .4); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); transition: background .3s, color .3s, border-color .3s, transform .2s var(--ease-out); }
.chat__opt:hover { border-color: var(--white); }
.chat__opt.is-on { background: var(--white); color: var(--ink); border-color: var(--white); }
.chat__opt:active { transform: scale(.97); }
.chat__input { width: 100%; max-width: 760px; padding: 10px 0 14px; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); outline: 0;
  font: 700 clamp(26px, 3.4vw, 52px) var(--f); letter-spacing: -.02em; caret-color: var(--white); transition: border-color .3s; }
.chat__input::placeholder { color: rgba(255, 255, 255, .45); }
.chat__input:focus { border-color: var(--white); }
.chat__err { min-height: 26px; margin: 12px 0 0; font-weight: 600; font-size: 15px; }
.chat__nav { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.chat__hint { font-size: 13px; opacity: .6; }
.chat__back { font-weight: 600; font-size: 14px; opacity: .7; text-decoration: underline; text-underline-offset: 3px; }
.chat__summary { max-width: 720px; padding: 24px 26px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 17px; line-height: 1.6; margin-bottom: 26px; white-space: pre-line; }

.c-info { padding: 0 0 clamp(80px, 12vh, 130px); }
.c-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.c-card { padding: 28px; border-radius: var(--radius); background: var(--cream); display: flex; flex-direction: column; }
.c-card h2 { margin: 0 0 14px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.c-card dl { margin: 0; }
.c-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.c-card dl div:last-child { border-bottom: 0; }
.c-card dt { color: var(--mute); }
.c-card dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.c-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mute); }
.c-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.c-state i.is-open { background: #12a150; box-shadow: 0 0 0 4px rgba(18, 161, 80, .18); }
.c-card__place { margin-top: auto; font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.c-card__place span { display: block; font-size: 15px; font-weight: 600; color: var(--mute); letter-spacing: 0; margin-top: 6px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu__grid { grid-template-columns: 1fr; grid-template-rows: 24vh repeat(4, 1fr); }
  .menu__col { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; padding: 0 var(--gutter); }
  .menu__col.is-current::after { left: auto; right: var(--gutter); top: 50%; margin-top: -5px; }
  .menu__label { margin-top: 0; font-size: clamp(28px, 8vw, 40px); }
  .menu__col:hover .menu__label { transform: translateX(8px); }
  .h-intro__wrap { grid-template-columns: 1fr; }
  .h-how__head { flex-direction: column; align-items: flex-start; }
  .w-split__stage { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .w-split__grow { inset: 50% 0 0 0; }
  .w-steps__stage, .s-build__stage { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .w-steps__pics { height: 34vh; order: -1; }
  .w-steps__num { height: 90px; font-size: 90px; }
  .w-steps__texts { min-height: 230px; }
  .house { max-height: 40vh; }
  .s-build__chapters { min-height: 200px; }
  .sb-year { font-size: 64px; margin-bottom: 14px; }
  .sb-places { margin-bottom: 14px; }
  .sb-places li { height: 30px; font-size: 26px; }
  .sb-art { height: auto; padding-bottom: 0; }
  .sb-title { position: static; margin-bottom: 8px; }
  .sb-title h1 { font-size: 40px; }
  .sb-title p { display: none; }
  .w-promise__list li { grid-template-columns: 1fr; gap: 8px; }
  .s-reloc__wrap, .c-info__grid { grid-template-columns: 1fr; }
  .s-reloc__img { aspect-ratio: 16 / 10; }
  .c-tiles { grid-template-columns: 1fr; }
  .tile { min-height: 160px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__text span, .burger__label { display: none; }
  .burger { padding: 0 5px; border: 0; }
  .lang__btn { padding: 6px 9px; }
  .h-how__list a { grid-template-columns: 44px 1fr auto; }
  .s-reloc__list { grid-template-columns: 1fr; }
  .s-reloc__list li:nth-child(odd) { padding-right: 0; }
  .footer__wrap { grid-template-columns: 1fr; }
  .l-bar { flex-direction: column; align-items: flex-start; }
  .l-frame { height: calc(100svh - var(--header-h) - 150px); }
  .chat__opt { flex: 1 1 100%; }
  .chat { min-height: 76svh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================= TIPOGRAFÍA: sin palabras viudas =================
   Titulares con líneas equilibradas y párrafos sin una palabra sola al final. */
h1, h2, h3, .display, .h-scene__line, .chat__q, .menu__label, .tile__v, .end h2, .w-split__half p, .w-split__after p, .sb-title h1 { text-wrap: balance; }
p, li, .lead, blockquote p, .chapter p { text-wrap: pretty; }
.end h2 { max-width: 14ch; }
.lead, .end p, .c-hero .lead, .chat__summary { text-wrap: balance; }

/* ================= SELLO WHATSAPP (círculo con texto que gira) ================= */
.wa-badge { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 50; width: 112px; height: 112px;
  border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 16px 36px -14px rgba(5, 67, 255, .7); transform: scale(0) rotate(-90deg); opacity: 0;
  transition: transform .8s var(--ease-out), opacity .4s, background .35s; }
.wa-badge.is-visible { transform: none; opacity: 1; }
body.menu-open .wa-badge { transform: scale(0); opacity: 0; }
.wa-badge:hover { background: var(--ink); }
.wa-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: badgeSpin 14s linear infinite; }
.wa-badge:hover .wa-badge__ring { animation-duration: 5s; }
.wa-badge__ring text { font: 700 10.5px var(--f); letter-spacing: .14em; text-transform: uppercase; fill: currentColor; }
@keyframes badgeSpin { to { transform: rotate(360deg); } }
.wa-badge__core { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center; font-size: 18px;
  transition: transform .5s var(--ease-out), color .35s; }
.wa-badge:hover .wa-badge__core { transform: scale(1.12) rotate(-45deg); color: var(--ink); }
@media (max-width: 600px) { .wa-badge { width: 88px; height: 88px; } .wa-badge__core { width: 32px; height: 32px; font-size: 15px; } }

/* ================= REPARTO DE TEXTOS (sin pisar fotos ni líneas descompensadas) ================= */
/* Portada: el texto vive en la mitad izquierda, que en la foto está despejada */
.h-scene__line { max-width: min(46vw, 15ch); font-size: clamp(40px, 4.9vw, 92px); line-height: 1.02; text-wrap: balance; }
.h-scene__stage::after { background: linear-gradient(90deg, rgba(3, 16, 60, .82) 0%, rgba(3, 16, 60, .55) 38%, rgba(3, 16, 60, .08) 62%, rgba(3, 16, 60, 0) 100%); }
@media (max-width: 900px) {
  .h-scene__line { max-width: none; font-size: clamp(34px, 8.6vw, 56px); }
  .h-scene__stage::after { background: linear-gradient(180deg, rgba(3, 16, 60, 0) 30%, rgba(3, 16, 60, .55) 55%, rgba(3, 16, 60, .9) 100%); }
  .h-scene__bg { object-position: 62% 20%; }
}
/* Mi historia */
.sb-title h1 { max-width: none; font-size: clamp(40px, 4.4vw, 76px); }
.sb-title p { max-width: 30em; text-wrap: balance; }
/* Contacto: preguntas del formulario */
.chat__q { max-width: 20ch; }
/* Portada: texto de presentación */
.h-intro__text { max-width: 30ch; }
.h-intro__text { max-width: 40ch; font-size: clamp(24px, 2.5vw, 40px); text-wrap: balance; }
@media (max-width: 900px) {
  .sb-art { flex-direction: column; align-items: stretch; }
  .sb-title h1 { font-size: clamp(30px, 8vw, 40px); }
  .lead, .end p { text-wrap: pretty; }
}

/* ================= INICIO · QUIÉN ES (Alexandra de cuerpo entero) ================= */
.h-intro { padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px); overflow: hidden; }
.h-intro__wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.h-intro__art { position: relative; max-width: 560px; width: 100%; justify-self: center; clip-path: inset(-60% -20% 0 -20%); }
.h-intro__disc { position: absolute; left: 4%; right: 4%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--blue); }
.h-intro__cut { position: relative; display: block; width: 84%; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(3, 16, 60, .22)); }
.h-intro__name { margin: 0 0 26px; font-weight: 800; font-size: clamp(60px, 7.6vw, 132px); line-height: .9; letter-spacing: -.045em; }
.h-intro__tags { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.h-intro__tags li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.h-intro__tags li:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.h-intro .h-intro__text { max-width: 32em; margin: 0 0 34px; font-weight: 500; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; letter-spacing: 0; color: var(--mute); text-wrap: pretty; }
@media (max-width: 900px) {
  .h-intro__wrap { grid-template-columns: 1fr; }
  .h-intro__art { max-width: 380px; }
  .h-intro__name { font-size: clamp(52px, 15vw, 80px); }
}
.end p { text-wrap: balance; }

/* Alexandra sale del círculo: arriba libre, abajo recortada por la curva del círculo */
.h-intro__art { aspect-ratio: 1 / 1.28; clip-path: none; }
.h-intro__disc { left: 4%; right: 4%; bottom: 0; }
.h-intro__fig { position: absolute; inset: 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% var(--cy, 60%) no-repeat, radial-gradient(circle var(--r, 46%) at 50% var(--cy, 60%), #000 99.5%, transparent 100%) no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% var(--cy, 60%) no-repeat, radial-gradient(circle var(--r, 46%) at 50% var(--cy, 60%), #000 99.5%, transparent 100%) no-repeat; }
.h-intro__fig .h-intro__cut { position: absolute; left: 10%; top: 1%; width: 80%; margin: 0; }

/* ================= PORTADA EN 3D (fondo + sombra + personas) ================= */
.h-scene__stage { perspective: 1400px; }
.h-scene__stage::after { display: none; }
.h-scene__layers { position: absolute; inset: -5%; transform-style: preserve-3d; will-change: transform; }
.h-scene__layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; transform: none; }
.h-scene__bg { z-index: 0; }
.h-scene__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 16, 60, .86) 0%, rgba(3, 16, 60, .6) 36%, rgba(3, 16, 60, .18) 60%, rgba(3, 16, 60, .05) 100%); }
.h-scene__people { z-index: 2; filter: drop-shadow(-24px 30px 40px rgba(3, 16, 60, .35)); }
.h-scene__lines, .h-scene__foot { z-index: 3; }
@media (max-width: 900px) {
  .h-scene__layers img { object-position: 64% 20%; }
  .h-scene__shade { z-index: 3; background: linear-gradient(180deg, rgba(3, 16, 60, 0) 32%, rgba(3, 16, 60, .55) 56%, rgba(3, 16, 60, .92) 100%); }
  .h-scene__lines, .h-scene__foot { z-index: 4; }
}
.h-scene__layers { inset: -3%; }
.h-scene__layers img { object-position: 84% 35%; }
@media (max-width: 900px) { .h-scene__layers img { object-position: 66% 20%; } }

/* Menú: foto de Alexandra en color, encuadrada en su cara */
.menu__photo img { filter: none; object-position: 50% 8%; }

/* ================= INICIO · LO QUE TE PROMETO (paneles que se abren) ================= */
.h-promise { padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 110px); }
.h-promise__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }
.h-promise__head h2 { margin: 0 0 16px; font-weight: 700; font-size: clamp(38px, 5vw, 84px); letter-spacing: -.035em; line-height: 1.02; }
.h-promise__head .lead { color: var(--mute); max-width: 34em; }
.h-promise__panels { display: flex; gap: 14px; height: min(70vh, 620px); }
.pp { position: relative; flex: 1; min-width: 0; border-radius: var(--radius); overflow: hidden; color: var(--white); cursor: default;
  transition: flex .8s var(--ease-out); }
.pp:hover { flex: 2.1; }
.pp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.pp:hover img { transform: scale(1.0); }
.pp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,16,60,.05) 30%, rgba(3,16,60,.88) 100%); transition: background .6s; }
.pp:hover::after { background: linear-gradient(180deg, rgba(3,16,60,.15) 10%, rgba(5,67,255,.9) 100%); }
.pp__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 34px); }
.pp__n { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; opacity: .85; }
.pp h3 { margin: 0; font-weight: 700; font-size: clamp(24px, 2.2vw, 38px); letter-spacing: -.025em; line-height: 1.08; }
.pp p { margin: 0; max-width: 30em; font-size: 16px; line-height: 1.55; opacity: 0; max-height: 0; overflow: hidden; transform: translateY(14px);
  transition: opacity .5s .1s, transform .6s var(--ease-out), max-height .6s var(--ease-out), margin .6s var(--ease-out); }
.pp:hover p { opacity: 1; max-height: 9em; margin-top: 12px; transform: none; }
@media (max-width: 900px) {
  .h-promise__head { flex-direction: column; align-items: flex-start; }
  .h-promise__panels { flex-direction: column; height: auto; }
  .pp { min-height: 340px; }
  .pp p { opacity: 1; max-height: none; margin-top: 10px; transform: none; }
}
@media (min-width: 901px) {
  .h-promise__panels:not(:hover) .pp:first-child { flex: 2.1; }
  .h-promise__panels:not(:hover) .pp:first-child img { transform: scale(1); }
  .h-promise__panels:not(:hover) .pp:first-child p { opacity: 1; max-height: 9em; margin-top: 12px; transform: none; }
}

/* ================= INICIO · PASTILLAS EN MOVIMIENTO ================= */
.h-pills { padding: clamp(46px, 7vh, 80px) 0 0; overflow: hidden; display: grid; gap: 14px; }
.h-pills__row { display: flex; width: max-content; }
.h-pills__row ul { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; animation: pillsL 38s linear infinite; }
.h-pills__row.is-right ul { animation-name: pillsR; animation-duration: 44s; }
.h-pills__row:hover ul { animation-play-state: paused; }
.h-pills li { flex: none; padding: clamp(14px, 1.4vw, 20px) clamp(22px, 2.2vw, 34px); border-radius: 999px; border: 1.5px solid var(--line-strong);
  font-weight: 700; font-size: clamp(17px, 1.7vw, 26px); letter-spacing: -.01em; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.h-pills li.is-fill { background: var(--blue); border-color: var(--blue); color: var(--white); }
.h-pills li:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
@keyframes pillsL { to { transform: translateX(-100%); } }
@keyframes pillsR { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .h-pills__row ul { animation: none; } }

/* ================= PROMESA: banda azul tipográfica (sin fotos, distinta del carrusel) ================= */
.h-promise { background: var(--blue); color: var(--white); margin-top: clamp(40px, 6vh, 70px); }
.h-promise__head .lead { color: rgba(255, 255, 255, .86); }
.h-promise__cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .3); }
.pc { position: relative; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px) clamp(30px, 3.4vw, 48px); border-right: 1px solid rgba(255, 255, 255, .3); isolation: isolate; overflow: hidden; transition: color .45s; }
.pc:first-child { padding-left: 0; }
.pc:last-child { border-right: 0; padding-right: 0; }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.pc:hover { color: var(--ink); }
.pc:hover::before { transform: scaleY(1); }
.pc:first-child:hover, .pc:last-child:hover { padding-left: clamp(20px, 2.4vw, 36px); padding-right: clamp(20px, 2.4vw, 36px); }
.pc__n { display: block; margin-bottom: 26px; font-weight: 800; font-size: clamp(64px, 7vw, 120px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .92); transition: color .45s, -webkit-text-stroke-color .45s; }
.pc:hover .pc__n { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.pc h3 { margin: 0 0 12px; font-weight: 700; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -.025em; line-height: 1.1; }
.pc p { margin: 0; font-size: 16px; line-height: 1.6; opacity: .88; max-width: 28em; }
@media (max-width: 900px) {
  .h-promise__cols { grid-template-columns: 1fr; }
  .pc, .pc:first-child, .pc:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
  .pc:hover { padding-left: 18px !important; padding-right: 18px !important; }
}
/* Números de la promesa: macizos, sin contorno ni solapes */
.pc__n { letter-spacing: 0; color: rgba(255, 255, 255, .28); -webkit-text-stroke: 0; }
.pc:hover .pc__n { color: var(--blue); -webkit-text-stroke: 0; }

/* Carrusel de Pozuelo: al pasar el ratón la foto se tiñe de azul RE/MAX */
.reel-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 67, 255, .08) 15%, rgba(5, 67, 255, .9) 100%); opacity: 0; transition: opacity .6s var(--ease-out); pointer-events: none; }
.reel-card:hover::before { opacity: 1; }
.reel-card figcaption { z-index: 2; transition: transform .6s var(--ease-out); }
.reel-card:hover figcaption { transform: translateY(-8px); }

/* ================= INICIO · CUATRO PASOS como desplegable ================= */
.h-how__item { border-bottom: 1px solid var(--line-strong); }
.h-how__row { position: relative; width: 100%; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: clamp(18px, 2.6vw, 30px) 10px;
  text-align: left; overflow: hidden; isolation: isolate; transition: color .45s, padding .45s var(--ease-out); }
.h-how__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.h-how__row:hover, .h-how__item.is-open .h-how__row { color: var(--white); padding-left: 28px; padding-right: 28px; }
.h-how__row:hover::before, .h-how__item.is-open .h-how__row::before { transform: scaleY(1); }
.h-how__row:hover .h-how__d, .h-how__item.is-open .h-how__d { color: rgba(255, 255, 255, .85); }
.h-how__arrow { display: grid; place-items: center; width: clamp(48px, 4vw, 60px); height: clamp(48px, 4vw, 60px); border-radius: 50%; border: 1.5px solid currentColor; font-size: 22px; flex: none;
  transition: background .4s, color .4s, border-color .4s; }
.h-how__arrow svg { transition: transform .55s var(--ease-out); }
.h-how__row:hover .h-how__arrow { background: var(--white); color: var(--blue); border-color: var(--white); }
.h-how__item.is-open .h-how__arrow { background: var(--white); color: var(--blue); border-color: var(--white); }
.h-how__item.is-open .h-how__arrow svg { transform: rotate(90deg); }
.h-how__panel { height: 0; overflow: hidden; }
.h-how__more { padding: 26px 28px 34px calc(90px + 20px + 28px); background: var(--cream); }
.h-how__more p { margin: 0; max-width: 46em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; }
@media (max-width: 600px) {
  .h-how__row { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .h-how__more { padding: 22px 18px 26px; }
}

/* ================= FOOTER v2: redes, contacto y créditos recogidos ================= */
.footer { padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 15px; color: var(--mute); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { width: 140px; margin-bottom: 18px; }
.footer__brand p { margin: 0; line-height: 1.6; }
.footer__brand b { color: var(--ink); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__h { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.footer__h::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 2px; }
.footer__col a { position: relative; color: var(--ink); font-weight: 600; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__small { margin: 2px 0 0; font-size: 13px; }
.footer__social { display: inline-flex !important; align-items: center; gap: 12px; }
.footer__social svg { width: 38px; height: 38px; padding: 10px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s; }
.footer__social:hover svg { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer__social::after { display: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__credits { max-width: 520px; text-align: right; }
.footer__credits summary { cursor: pointer; list-style: none; font-weight: 600; }
.footer__credits summary::-webkit-details-marker { display: none; }
.footer__credits summary::after { content: " +"; color: var(--red); }
.footer__credits[open] summary::after { content: " –"; }
.footer__credits p { margin-top: 8px; font-size: 12px; line-height: 1.6; }
.footer__credits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; } .footer__credits { text-align: left; } }
.footer { padding-bottom: clamp(120px, 12vw, 150px); }

/* ================= BANDERAS ================= */
.flag { width: 1.5em; height: 1em; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(3, 16, 60, .12); overflow: hidden; display: inline-block; vertical-align: -.12em; }
.flags { display: inline-flex; gap: 4px; margin-right: .6em; vertical-align: middle; }
.flags .flag { transition: transform .5s var(--ease-out); }
.has-flags:hover .flag, .h-pills li:hover .flag { animation: flagWave .9s var(--ease-out); }
.flags .flag:nth-child(2) { animation-delay: .08s !important; } .flags .flag:nth-child(3) { animation-delay: .16s !important; }
@keyframes flagWave { 0%, 100% { transform: none; } 30% { transform: translateY(-4px) rotate(-8deg); } 60% { transform: translateY(1px) rotate(5deg); } }
.s-reloc__langs p { margin: 0 0 12px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.langchips { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.langchips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; transition: background .35s, color .35s, transform .45s var(--ease-out); }
.langchips li:hover { background: var(--white); color: var(--blue); transform: translateY(-3px); }
.langchips li:hover .flag { animation: flagWave .9s var(--ease-out); }
.langchips .flag { width: 28px; height: 19px; box-shadow: none; }
.footer__brand p { text-wrap: balance; }

/* ================= CÓMO TRABAJO v3 ================= */
.w-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy, #03103c); }
.w-hero__media { position: absolute; inset: -4%; z-index: 0; }
.w-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.w-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3, 16, 60, .35) 0%, rgba(3, 16, 60, .1) 35%, rgba(3, 16, 60, .78) 100%); }
.w-hero__wrap { position: relative; z-index: 2; }
.w-hero h1 { max-width: 9.5ch; }
.w-hero__sub { margin: 28px 0 0; max-width: 30em; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; opacity: .92; text-wrap: pretty; }
.w-hero__sub::before { content: ""; display: block; width: 44px; height: 3px; background: var(--red); margin-bottom: 20px; border-radius: 2px; }

/* Lo que nunca haré: frases tachadas en rojo */
.w-no { position: relative; height: 320vh; background: var(--cream); }
.w-no__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.w-no__t { margin: 0 0 clamp(24px, 4vh, 44px); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.w-no__t::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 1px; }
.w-no__list { list-style: none; margin: 0; padding: 0; counter-reset: no; }
.w-no__list li { position: relative; width: fit-content; max-width: 100%; font-weight: 800; font-size: clamp(34px, 6.2vw, 104px); letter-spacing: -.045em; line-height: 1.08; color: var(--ink); padding: .04em 0; }
.w-no__list li span { white-space: nowrap; }
.w-no__list li i { position: absolute; left: -.08em; right: -.08em; top: 54%; height: max(4px, .075em); background: var(--red); border-radius: 99px; transform: scaleX(0); transform-origin: left center; }
.w-no__after { margin: clamp(28px, 5vh, 56px) 0 0; font-weight: 700; font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.02em; color: var(--blue); }
.w-no__after::after { content: " ↓"; }
@media (max-width: 700px) { .w-no__list li { font-size: clamp(26px, 8.4vw, 40px); } }

/* Fotos del método en vertical */
.w-steps__pics { height: min(78vh, 720px); aspect-ratio: 3 / 4; width: auto; max-width: 100%; justify-self: center; }
@media (max-width: 900px) { .w-steps__pics { height: 38vh; aspect-ratio: auto; width: 100%; } .w-steps__pics img { object-position: 50% 30%; } }

/* La promesa: tres cartas que se apilan al hacer scroll */
.w-vow { padding: clamp(100px, 14vh, 160px) 0 clamp(60px, 8vh, 100px); background: var(--white); }
.w-vow__t { margin: 0 0 clamp(36px, 5vh, 56px); font-weight: 800; font-size: clamp(40px, 6vw, 96px); letter-spacing: -.045em; line-height: 1; }
.w-vow__deck { display: grid; gap: 6vh; padding-bottom: 6vh; }
.vow { position: sticky; top: calc(var(--header-h) + 20px); min-height: min(68vh, 600px); display: grid; grid-template-columns: 1.1fr 1fr; border-radius: calc(var(--radius) * 1.4); overflow: hidden; transform-origin: 50% 0; box-shadow: 0 30px 60px -40px rgba(3, 16, 60, .45); }
.vow--1 { background: var(--cream); color: var(--ink); }
.vow--2 { background: var(--blue); color: var(--white); top: calc(var(--header-h) + 44px); }
.vow--3 { background: #03103c; color: var(--white); top: calc(var(--header-h) + 68px); }
.vow__img { position: relative; overflow: hidden; }
.vow__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.vow:hover .vow__img img { transform: scale(1.04); }
.vow__body { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 64px); }
.vow__n { font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.vow__n b { font-weight: 600; opacity: .5; }
.vow__n::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 1px; }
.vow--2 .vow__n::before { background: var(--white); }
.vow h3 { margin: auto 0 0; font-weight: 800; font-size: clamp(36px, 4.6vw, 76px); letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.vow p { margin: 0; max-width: 30em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; opacity: .85; text-wrap: pretty; }
@media (max-width: 900px) {
  .vow { grid-template-columns: 1fr; grid-template-rows: 30vh auto; min-height: 0; }
  .vow--2 { top: calc(var(--header-h) + 32px); } .vow--3 { top: calc(var(--header-h) + 44px); }
  .vow__body { gap: 18px; }
}

.footer__design { flex: none; font-weight: 600; letter-spacing: .04em; position: relative; }
.footer__design b { font-weight: 800; color: var(--ink); }
.footer__design::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.footer__design:hover::after { transform: scaleX(1); transform-origin: left; }
.w-hero h1 { max-width: 12.5ch; }

/* ================= Etiquetas en pastilla con borde rojo (sin puntos ni rayas rojas) ================= */
.footer__h, .w-no__t, .vow__n { display: inline-flex; align-items: center; width: fit-content; padding: 7px 14px; border: 1.5px solid var(--red); border-radius: 999px; line-height: 1; }
.footer__h::before, .w-no__t::before, .vow__n::before, .w-hero__sub::before { display: none !important; }
.footer__h { margin-bottom: 10px; }
.vow__n { font-size: 13px; }
.vow--2 .vow__n, .vow--3 .vow__n { border-color: var(--white); }
.footer__col a::after, .footer__design::after { display: none; }
.footer__col a, .footer__design { transition: color .3s; }
.footer__col a:hover, .footer__design:hover, .footer__design:hover b { color: var(--blue); }
.footer__social:hover { color: var(--ink); }
/* Lo que nunca haré: en vez de tachar, un círculo rojo con ✕ y la frase se apaga */
.w-no__list li { display: flex; align-items: center; gap: .32em; }
.w-no__list li i { position: static; flex: none; order: -1; width: .62em; height: .62em; border-radius: 50%; border: max(2px, .05em) solid var(--red); background: none; transform: scale(0); display: grid; place-items: center; }
.w-no__list li i::before, .w-no__list li i::after { content: ""; position: absolute; width: 46%; height: max(2px, .05em); background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.w-no__list li i::after { transform: rotate(-45deg); }
.w-no__list li i { position: relative; }
.w-no__list li i::before, .w-no__list li i::after { top: calc(50% - max(1px, .025em)); left: 27%; }

/* ================= MI HISTORIA v3 ================= */
.s-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: #03103c; padding: calc(var(--header-h) + 40px) 0 clamp(60px, 10vh, 110px); }
.s-hero__media { position: absolute; inset: -4% 0; }
.s-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 16, 60, .88) 0%, rgba(3, 16, 60, .62) 34%, rgba(3, 16, 60, .08) 62%, rgba(3, 16, 60, 0) 100%); }
.s-hero__wrap { position: relative; z-index: 2; }
.s-hero h1 { max-width: 9.5ch; font-size: clamp(48px, 7vw, 124px); }
.s-hero__sub { margin: 26px 0 0; max-width: 24em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; opacity: .92; text-wrap: balance; }
@media (max-width: 900px) {
  .s-hero__media img { object-position: 66% 20%; }
  .s-hero::after { background: linear-gradient(180deg, rgba(3, 16, 60, 0) 30%, rgba(3, 16, 60, .6) 58%, rgba(3, 16, 60, .94) 100%); }
}
.sb-art { padding-top: 0; }

/* Cita con banda de ciudades */
.s-quote { position: relative; overflow: hidden; padding: clamp(70px, 10vh, 110px) 0 clamp(110px, 16vh, 180px); background: var(--cream); }
.s-cities { display: grid; gap: 14px; margin-bottom: clamp(70px, 11vh, 130px); }
.s-cities ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; }
.s-cities li { display: inline-flex; align-items: center; gap: 16px; padding: 16px 30px 16px 18px; border-radius: 999px; background: var(--white); font-weight: 800; font-size: clamp(22px, 2.6vw, 42px); letter-spacing: -.03em; white-space: nowrap; box-shadow: 0 1px 0 var(--line); }
.s-cities ul:nth-child(2) li:nth-child(odd) { background: var(--blue); color: var(--white); }
.s-cities .flag { width: 1.4em; height: .94em; border-radius: 4px; }
.s-quote__wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.s-quote__pic { margin: 0; width: clamp(200px, 24vw, 360px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.s-quote__pic img { width: 100%; height: 100%; object-fit: cover; }
.s-quote blockquote { position: relative; margin: 0; }
.s-quote__mark { position: absolute; left: -.08em; top: -.52em; font-weight: 800; font-size: clamp(120px, 14vw, 220px); line-height: 1; color: var(--red); }
.s-quote p { position: relative; max-width: 18ch; text-wrap: balance; }
.s-quote cite { display: inline-flex; margin-top: 30px; padding: 8px 16px; border: 1.5px solid var(--red); border-radius: 999px; font-style: normal; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) { .s-quote__wrap { grid-template-columns: 1fr; } .s-quote__pic { width: 160px; } .s-quote__mark { top: -.4em; font-size: 110px; } }

/* Relocation: Madrid a sangre + tarjeta */
.s-reloc { position: relative; overflow: hidden; padding: clamp(120px, 20vh, 220px) 0; background: #03103c; color: var(--ink); }
.s-reloc__bg { position: absolute; inset: -10% 0; }
.s-reloc__bg img { width: 100%; height: 100%; object-fit: cover; }
.s-reloc__wrap { position: relative; display: flex; justify-content: flex-end; grid-template-columns: none; }
.s-reloc__card { width: min(620px, 100%); background: var(--white); border-radius: calc(var(--radius) * 1.4); padding: clamp(28px, 4vw, 56px); box-shadow: 0 40px 80px -40px rgba(3, 16, 60, .6); }
.s-reloc__card h2 { color: var(--blue); }
.s-reloc__card .lead { color: var(--mute); }
.s-reloc__list { border-top-color: var(--line); }
.s-reloc__list li { border-bottom-color: var(--line); }
.s-reloc__list li::before { background: var(--blue); }
.s-reloc__langs p { color: var(--mute); opacity: 1; }
.s-reloc .langchips li { background: var(--cream); border-color: var(--line); color: var(--ink); }
.s-reloc .langchips li:hover { background: var(--blue); color: var(--white); }
.s-reloc .langchips .flag { box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .s-reloc { padding: 40vh 0 24px; } .s-reloc__bg { inset: 0 0 auto; height: 55%; } }
@media (min-width: 901px) { .sb-art { align-items: center; padding: calc(var(--header-h) + 2vh) 0 4vh; } .house { max-height: 74vh; } }
.s-hero h1 { max-width: 12em; font-size: clamp(46px, 6.4vw, 112px); }

/* Sin parpadeo al cambiar de página: el azul tapa la página desde el primer pintado */
html.is-entering::after { content: ""; position: fixed; inset: 0; z-index: 149; background: var(--blue) url("../assets/logos/logo-nuevo-globo.png") center / 54px auto no-repeat; }
html.is-entering body { overflow: hidden; }

/* Toque rojo: idioma activo */
.lang__btn.is-active { background: var(--red); color: var(--white); }
.lang__btn:not(.is-active):hover { opacity: 1; color: var(--red); }
.s-quote { padding: clamp(110px, 18vh, 200px) 0; }
.nw { white-space: nowrap; }

/* Texto siempre de un solo color: nada de letras azules o rojas */
.s-reloc__card h2, .w-no__after { color: var(--ink); }
.footer__col a:hover, .footer__design:hover, .footer__design:hover b { color: var(--ink); opacity: .6; }
.lang__btn:not(.is-active):hover { color: inherit; }
@media (max-width: 600px) { .w-hero h1 { font-size: 40px; } }

/* ================= HISTORIA v4: lema y relocation ================= */
@media (min-width: 901px) { .sb-side { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 2vh); padding-bottom: 4vh; } }

.s-quote { position: relative; overflow: hidden; padding: clamp(80px, 12vh, 130px) 0 0; background: var(--blue); color: var(--white); }
.s-quote__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 90px); align-items: end; }
.s-quote__pic { margin: 0; align-self: end; height: min(74vh, 720px); width: auto; max-width: 100%; border-radius: 0; overflow: visible; aspect-ratio: auto; }
.s-quote__pic img { display: block; height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom; margin: 0 auto; }
.s-quote__body { margin: 0; align-self: center; padding-bottom: clamp(60px, 10vh, 120px); }
.s-quote__label { display: inline-flex; margin: 0 0 28px; padding: 8px 16px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.s-quote .s-quote__text { margin: 0; max-width: 17ch; font-weight: 700; font-size: clamp(34px, 4.2vw, 72px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.s-quote .s-quote__text .w { opacity: 1; }
.s-quote cite { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; padding: 0; border: 0; font-style: normal; font-size: 15px; font-weight: 500; }
.s-quote cite b { font-size: 18px; font-weight: 700; }
.s-quote cite span { opacity: .75; }
@media (max-width: 900px) {
  .s-quote__wrap { grid-template-columns: 1fr; }
  .s-quote__body { order: -1; padding-bottom: 20px; }
  .s-quote__pic { height: 52vh; width: 100%; }
}

.s-reloc { padding: clamp(100px, 16vh, 170px) 0; background: var(--cream); color: var(--ink); overflow: visible; }
.s-reloc__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
.s-reloc__head h2 { margin: 0; color: var(--ink); font-weight: 800; font-size: clamp(42px, 6vw, 100px); letter-spacing: -.045em; line-height: 1; }
.s-reloc__head .lead { margin: 0; color: var(--mute); text-wrap: pretty; }
.s-reloc__pano { margin: 0; height: clamp(260px, 52vh, 560px); border-radius: calc(var(--radius) * 1.4); overflow: hidden; }
.s-reloc__pano img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.s-reloc__steps { list-style: none; margin: clamp(28px, 4vh, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.s-reloc__steps li { display: flex; flex-direction: column; gap: 28px; padding: 24px; border-radius: var(--radius); background: var(--white); transition: transform .45s var(--ease-out), box-shadow .45s; }
.s-reloc__steps li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(3, 16, 60, .4); }
.s-reloc__steps span { width: fit-content; padding: 6px 12px; border: 1.5px solid var(--red); border-radius: 999px; font-weight: 700; font-size: 12px; }
.s-reloc__steps b { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.s-reloc__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: clamp(36px, 6vh, 60px); }
.s-reloc__foot .langchips { margin: 0; }
.s-reloc .langchips li { background: var(--white); }
@media (max-width: 900px) { .s-reloc__head { grid-template-columns: 1fr; } .s-reloc__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .s-reloc__steps { grid-template-columns: 1fr; } .s-reloc__steps li { flex-direction: row; align-items: center; gap: 16px; padding: 18px; } }
@media (min-width: 901px) { .sb-side { transform: translateY(6vh); } }
.s-quote p.s-quote__label { max-width: none; font-size: 13px; line-height: 1; letter-spacing: .1em; font-weight: 700; }
.s-quote cite { align-items: flex-start; text-align: left; }
.s-quote cite b { font-size: 18px; }
.s-quote cite span { font-size: 15px; }

/* Promesa: sin parpadeo (capa propia, sin filtros ni zoom en la foto mientras se apilan) */
.vow { will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.vow__img img { transform: translateZ(0); transition: none; }
.vow:hover .vow__img img { transform: translateZ(0); }

/* Contacto: WhatsApp en azul; llamar y email se llenan de rojo al pasar (nunca dos azules a la vez) */
.tile:not(.tile--main)::before { background: var(--red); }
.tile--main::before { background: #03103c; }
/* ¿Qué necesitas?: opciones en rojo */
.chat__opt:hover { border-color: var(--red); background: rgba(255, 11, 10, .14); }
.chat__opt.is-on { background: var(--red); border-color: var(--red); color: var(--white); }

/* ================= HISTORIA v5 ================= */
/* Lema: fondo crema, texto de un color, tamaño contenido */
.s-quote { padding: clamp(110px, 18vh, 200px) 0; background: var(--cream); color: var(--ink); overflow: hidden; }
.s-quote__wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1120px; margin: 0 auto; }
.s-quote__pic { margin: 0; width: clamp(200px, 20vw, 290px); height: auto; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--white); align-self: center; }
.s-quote__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; margin: 0; max-width: 100%; }
.s-quote__body { padding: 0; align-self: center; }
.s-quote p.s-quote__label { display: inline-flex; margin: 0 0 30px; padding: 8px 16px; border: 1.5px solid var(--red); border-radius: 999px; color: var(--ink); }
.s-quote .s-quote__text { max-width: 24ch; font-weight: 500; font-size: clamp(28px, 2.9vw, 46px); line-height: 1.28; letter-spacing: -.02em; text-wrap: balance; }
.s-quote .s-quote__text .w { opacity: .18; }
.s-quote cite { margin-top: 36px; }
.s-quote cite span { opacity: 1; color: var(--mute); }
@media (max-width: 900px) {
  .s-quote__wrap { grid-template-columns: 1fr; gap: 36px; }
  .s-quote__body { order: 0; }
  .s-quote__pic { width: 180px; height: auto; }
}
/* Relocation: la tarjeta sobre fondo liso */
.s-reloc { padding: clamp(100px, 16vh, 170px) 0; background: var(--white); }
.s-reloc__wrap { display: flex; justify-content: center; }
.s-reloc__card { width: min(760px, 100%); background: var(--cream); box-shadow: none; }
.s-reloc__card h2 { margin: 0 0 22px; font-weight: 700; font-size: clamp(38px, 5vw, 80px); letter-spacing: -.035em; line-height: 1.02; }
.s-reloc .langchips li { background: var(--white); }
.s-quote { background: var(--white); }
.s-quote__pic { background: var(--cream); }
.s-reloc { background: var(--cream); }
.s-reloc__card { background: var(--white); }
.s-reloc .langchips li { background: var(--cream); }
.vow__n, .vow--2 .vow__n, .vow--3 .vow__n { border: 0; padding: 0; border-radius: 0; }

/* Casa + columna: todo centrado en vertical, mismo aire arriba y abajo */
@media (min-width: 901px) {
  .s-build__stage { padding-top: var(--header-h); padding-bottom: var(--header-h); align-items: center; }
  .sb-art { height: auto; align-self: center; padding: 0; align-items: center; }
  .sb-side { align-self: center; padding: 0; transform: none; display: block; }
  .house { max-height: min(72vh, calc(100svh - var(--header-h) * 2 - 40px)); }
}

/* ================= HISTORIA v6: Madrid que se abre + lema pequeño ================= */
.s-reloc { padding: clamp(100px, 16vh, 170px) 0; background: var(--white); color: var(--ink); overflow: hidden; }
.s-reloc__pano { margin: 0; height: clamp(320px, 78vh, 820px); border-radius: 0; overflow: hidden; will-change: clip-path; }
.s-reloc__pano img { width: 100%; height: 100%; margin: 0; object-fit: cover; transform-origin: 50% 50%; }
.s-reloc__steps span { border: 0; padding: 0; border-radius: 0; color: var(--mute); font-size: 13px; letter-spacing: .06em; }
.s-reloc__steps li { background: var(--cream); }
.s-reloc .langchips li { background: var(--cream); }

.s-motto { padding: clamp(90px, 14vh, 150px) 0; background: var(--cream); text-align: center; }
.s-motto blockquote { margin: 0 auto; max-width: 760px; }
.s-motto p { margin: 0 auto; max-width: 30ch; font-weight: 500; font-size: clamp(22px, 2vw, 32px); line-height: 1.4; letter-spacing: -.01em; text-wrap: balance; }
.s-motto p .w { opacity: .18; }
.s-motto cite { display: block; margin-top: 22px; font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* Todo el fondo blanco: sin franjas beige entre secciones (el beige queda solo en tarjetas) */
.h-reel, .w-promise, .s-build, .w-no, .s-quote, .s-reloc, .s-motto { background: var(--white); }

/* Servicios de mudanza desplegables */
.s-reloc__steps { align-items: start; }
.s-reloc__steps li.rs { display: block; padding: 0; gap: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: background .4s, color .4s, transform .45s var(--ease-out), box-shadow .45s; }
.rs__head { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; width: 100%; padding: 24px 24px 26px; text-align: left; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.rs__n { color: var(--mute); font-weight: 700; font-size: 13px; letter-spacing: .06em; transition: color .4s; }
.rs__head b { padding-right: 44px; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.rs__plus { position: absolute; right: 20px; bottom: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.rs__plus::before, .rs__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.rs__plus::after { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.rs__head:hover .rs__plus { background: var(--white); border-color: var(--white); }
.rs__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.rs__more > div { overflow: hidden; }
.rs__more p { margin: 0; padding: 0 24px 26px; font-size: 15px; line-height: 1.55; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); text-wrap: pretty; }
.rs.is-open { background: var(--blue); color: var(--white); }
.rs.is-open .rs__n { color: rgba(255, 255, 255, .7); }
.rs.is-open .rs__plus { transform: rotate(180deg); border-color: rgba(255, 255, 255, .5); }
.rs.is-open .rs__plus::after { transform: rotate(0deg); }
.rs.is-open .rs__head:hover .rs__plus { background: var(--white); color: var(--blue); }
.rs.is-open .rs__more { grid-template-rows: 1fr; }
.rs.is-open .rs__more p { opacity: .92; transform: none; transition-delay: .12s; }
.s-reloc__steps li.rs.is-open { background: var(--blue); color: var(--white); }
.s-reloc__steps li.rs:not(.is-open):hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(3, 16, 60, .4); }

.rs__more p { box-sizing: border-box; }
.s-reloc__steps li.rs .rs__head { min-height: 100%; }

/* Idiomas y botón en la misma línea */
.s-reloc__foot { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label ." "chips btn"; align-items: center; column-gap: 24px; row-gap: 12px; margin-top: clamp(40px, 6vh, 64px); }
.s-reloc__foot .s-reloc__langs { display: contents; }
.s-reloc__foot .s-reloc__langs p { grid-area: label; margin: 0; }
.s-reloc__foot .langchips { grid-area: chips; margin: 0; }
.s-reloc__foot > .btn { grid-area: btn; }
@media (max-width: 700px) { .s-reloc__foot { grid-template-columns: 1fr; grid-template-areas: "label" "chips" "btn"; } .s-reloc__foot > .btn { justify-self: start; margin-top: 12px; } }
.chat__opt:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* Texto que aparece al elegir qué necesitas */
.chat__desc { margin: 28px 0 0; max-width: 34em; min-height: 3.2em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; opacity: .9; text-wrap: pretty; }
.chat__nav--first { margin-top: 24px; }
.js-next1[disabled] { opacity: .35; pointer-events: none; }

/* Lo que nunca haré: vuelve la línea roja que tacha cada frase */
.w-no__list li { display: block; width: fit-content; max-width: 100%; font-size: clamp(32px, 5.4vw, 92px); }
.w-no__list li i { position: absolute; order: 0; left: -.06em; right: -.06em; top: 54%; width: auto; height: max(4px, .075em); border: 0; border-radius: 99px; background: var(--red); transform: scaleX(0); transform-origin: left center; display: block; }
.w-no__list li i::before, .w-no__list li i::after { content: none; display: none; }
@media (max-width: 700px) { .w-no__list li { font-size: clamp(24px, 7.6vw, 38px); } }
.w-steps__num { color: var(--blue); }
.preloader[hidden] { display: none !important; }

/* titulares de portada en 3 líneas (móvil): una sola línea por tramo, los cortes los pone el script */
.is-m3 { max-width: none !important; white-space: nowrap; }

/* Portada en móvil: la foto arriba, entera de alto (Alexandra y la pareja), y los textos debajo sobre azul noche */
@media (max-width: 600px) {
  .h-scene__stage { background: #03103c; }
  .h-scene__layers { inset: 0 0 auto 0; height: 60svh; }
  .h-scene__layers img { object-position: 74% 18%; }
  .h-scene__shade { z-index: 3; background: linear-gradient(180deg, rgba(3, 16, 60, 0) 55%, rgba(3, 16, 60, .7) 82%, #03103c 100%); }
  .h-scene__lines { bottom: clamp(84px, 13svh, 120px); }
}
@media (max-width: 600px) {
  .h-scene__layers { height: 52svh; -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%); mask-image: linear-gradient(180deg, #000 68%, transparent 100%); }
  .h-scene__layers img { object-position: 92% 20%; }
  .h-scene__shade { background: linear-gradient(180deg, rgba(3, 16, 60, .25) 0%, rgba(3, 16, 60, 0) 30%); }
}
@media (max-width: 600px) {
  .h-scene__layers { top: calc(var(--header-h) - 8px); height: 50svh; }
  .h-scene__lines { bottom: 24svh; }
}

/* Tachado controlado por --k */
.w-no__list li i { transform: scaleX(var(--k, 0)); }
@media (max-width: 600px) {
  .w-no { height: auto; }
  .w-no__stage { position: static; height: auto; padding: clamp(80px, 12vh, 110px) 0; }
  .w-no__list li { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.15; padding: .1em 0; }
  .w-no__list li span { white-space: normal; background: linear-gradient(var(--red), var(--red)) 0 58% / calc(var(--k, 0) * 100%) max(3px, .075em) no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .w-no__list li i { display: none; }
  .w-no__list li + li { margin-top: .35em; }
}

/* Footer en móvil: más compacto, páginas y redes en dos columnas */
@media (max-width: 560px) {
  .footer { padding: 48px 0 120px; font-size: 14px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
  .footer__brand, .footer__top > .footer__col:nth-child(2) { grid-column: 1 / -1; }
  .footer__brand { display: flex; align-items: center; gap: 16px; }
  .footer__logo { width: 96px; margin: 0; }
  .footer__brand p { font-size: 13px; line-height: 1.45; }
  .footer__col { gap: 8px; }
  .footer__h { margin-bottom: 4px; }
  .footer__social svg { width: 32px; height: 32px; padding: 8px; }
  .footer__bottom { gap: 10px; padding-top: 18px; font-size: 12px; }
}
/* Mi historia en móvil: igual que la portada, foto arriba y texto debajo */
@media (max-width: 600px) {
  .s-hero { background: #03103c; }
  .s-hero__media { inset: calc(var(--header-h) - 8px) 0 auto 0; height: 50svh; -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%); mask-image: linear-gradient(180deg, #000 68%, transparent 100%); }
  .s-hero__media img { object-position: 64% 30%; }
  .s-hero::after { background: linear-gradient(180deg, rgba(3, 16, 60, .25) 0%, rgba(3, 16, 60, 0) 25%); }
}
.h-scene__hint i::after { background: var(--red); }

/* Portada en ordenador: las personas nunca se cortan por arriba (se ajustan al alto y se apoyan abajo a la derecha); el fondo sigue llenando */
@media (min-width: 901px) {
  .h-scene__people { object-fit: contain; object-position: 100% 100%; transform: scale(.94); transform-origin: 100% 100%; }
}
