/* =========================================================
   Abeto coches & casas — homepage
   Zodiak (headlines) + Satoshi (text) · ink / paper / night · one green accent
   ========================================================= */

:root {
  --ink: #0E100F;
  --ink-2: #454A47;
  --gray-l: rgba(14, 16, 15, .45);
  --paper: #F3F2EF;
  --paper-2: #E7E5E0;
  --card: #FFFFFF;
  --night: #0B0E0D;
  --night-2: #141917;
  --night-3: #1C2320;
  --white: #FFFFFF;
  --gray-d: rgba(255, 255, 255, .55);
  --text-d: rgba(255, 255, 255, .74);
  --line-l: rgba(14, 16, 15, .1);
  --line-d: rgba(255, 255, 255, .12);
  --accent: #7EE0A1;
  --accent-2: #2F7A4E;

  /* Type: Zodiak for headlines and figures, Satoshi for text, labels and buttons */
  --text: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Zodiak", Georgia, "Times New Roman", serif;
  --display-case: none;
  --display-weight: 400;
  --display-light: 300;
  --display-track: -.02em;
  --display-lh: 1.06;
  --ds: 1.08;         /* display size factor */
  --h2-max: 17em;
  --tag-track: -.01em;
  --label: var(--text);
  --label-size: .72rem;
  --label-track: .16em;
  --ui: var(--text);
  --ui-case: none;
  --ui-size: .92rem;
  --ui-track: -.005em;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --max-w: 1560px;
  --pad-x: clamp(16px, 3.2vw, 48px);
  --section-y: clamp(64px, 7.2vw, 120px);
  --radius: clamp(14px, 1.4vw, 22px);
  --gap: clamp(10px, 1.3vw, 20px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
::selection { background: var(--accent); color: var(--night); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--max-w) + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x); }
.mute { color: var(--gray-l); }

/* ---------- Type ---------- */
.h2, .hero__tag, .ticker span, .stat__num, .prop-end__num, .zone__name, .duo__title,
.car__name, .car__price, .reviews__rating, .office__name, .finale__title, .menu__list a {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  letter-spacing: var(--display-track);
}
.stat__num, .prop-end__num, .reviews__rating { font-weight: var(--display-light); }

.label {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--label); font-size: var(--label-size); font-weight: 500;
  letter-spacing: var(--label-track); text-transform: uppercase; line-height: 1.4;
  color: var(--ink-2);
}
.label--light { color: var(--text-d); }
.dot {
  display: inline-block; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(47, 122, 78, .14);
}
.label--light .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(126, 224, 161, .18); }

.h2 {
  margin-top: 1.1rem;
  max-width: var(--h2-max);
  font-size: calc(clamp(1.7rem, 2.5vw, 2.8rem) * var(--ds));
  line-height: var(--display-lh);
  text-wrap: balance;
}
.h2 .mute { display: block; }
.h2--light { color: var(--white); }
.h2--light .mute, .footer__claim .mute { color: var(--gray-d); }
.lead { font-size: 1.04rem; line-height: 1.6; color: var(--ink-2); }

/* SplitText masks: leave room for accented capitals and descenders */
.line-mask { padding: .16em 0 .12em; margin: -.16em 0 -.12em; }

/* ---------- Chips, pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-family: var(--label); font-size: calc(var(--label-size) * .92); font-weight: 500;
  letter-spacing: var(--label-track); text-transform: uppercase; white-space: nowrap;
}
.chip--light { background: rgba(255, 255, 255, .94); color: var(--ink); }

.pills { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.pills li {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(10, 12, 11, .5); color: var(--white);
  font-size: .8rem; font-weight: 500;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- Buttons ---------- */
.btn, .cta__label, .header__nav a {
  font-family: var(--ui); font-size: var(--ui-size); font-weight: 500;
  letter-spacing: var(--ui-track); text-transform: var(--ui-case); white-space: nowrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .35s, color .35s, border-color .35s;
}
.btn .icon { font-size: 1.1rem; }
.btn--sm { height: 42px; padding: 0 18px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--glass {
  background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--outline { border-color: rgba(14, 16, 15, .18); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pill + round arrow */
.cta { display: inline-flex; align-items: center; gap: 4px; }
.cta__label {
  display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px;
  transition: background .35s;
}
.cta__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; flex: none;
  transition: transform .6s var(--ease-out), background .35s;
}
.cta__icon .icon { font-size: 1.12rem; }
.cta:hover .cta__icon { transform: rotate(45deg); }
.cta--sm .cta__label { height: 42px; padding: 0 18px; }
.cta--sm .cta__icon { width: 42px; height: 42px; }
.cta--sm .cta__icon .icon { font-size: 1rem; }
.cta--light .cta__label, .cta--light .cta__icon { background: var(--white); color: var(--ink); }
.cta--light:hover .cta__label, .cta--light:hover .cta__icon { background: var(--paper-2); }
.cta--dark .cta__label, .cta--dark .cta__icon { background: var(--ink); color: var(--white); }
.cta--dark:hover .cta__label, .cta--dark:hover .cta__icon { background: #26302B; }

.icon-btn {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease-out);
}
.icon-btn .icon { font-size: 1.1rem; }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn--sm .icon { font-size: .95rem; }
.icon-btn--glass {
  background: rgba(255, 255, 255, .1); color: var(--white); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.icon-btn--glass:hover { background: rgba(255, 255, 255, .22); }
.icon-btn--smoke {
  background: rgba(12, 14, 13, .46); color: var(--white); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.icon-btn--smoke:hover { background: rgba(12, 14, 13, .78); }
.icon-btn--light { background: var(--white); color: var(--ink); }
.icon-btn--dark { background: var(--ink); color: var(--white); }
.icon-btn--outline { border: 1px solid rgba(14, 16, 15, .16); color: var(--ink); }
.icon-btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Cursor: a small white dot in difference mode (black on light areas, white on dark ones) ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 0; height: 0; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot {
  position: absolute; left: -4px; top: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--white);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.cursor.is-visible .cursor__dot { opacity: 1; }
.cursor.is-hover .cursor__dot { transform: scale(1.8); }
.cursor.is-down .cursor__dot { transform: scale(.7); }
.cursor.is-hover.is-down .cursor__dot { transform: scale(1.4); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--night);
  clip-path: inset(0 0 0 0);
  animation: loader-failsafe 0s linear 5s forwards;
}
.no-js .loader { display: none; }
.loader__brand { width: min(260px, 58vw); }
.loader__logo { width: 100%; height: auto; clip-path: inset(0 100% 0 0); }
.loader__bar {
  position: absolute; left: 50%; bottom: 12vh;
  width: min(180px, 40vw); height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, .12); transform: translateX(-50%); overflow: hidden;
}
.loader__bar span { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding-inline: var(--pad-x);
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.header__bar {
  pointer-events: auto;
  max-width: var(--max-w); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 62px; padding: 0 8px 0 22px; border-radius: 999px;
  background: rgba(12, 14, 13, .24); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: background .5s, border-color .5s;
}
.header.is-scrolled .header__bar { background: rgba(12, 14, 13, .8); border-color: rgba(255, 255, 255, .08); }
.header__logo img { width: auto; height: 32px; }
.header__nav ul { display: flex; gap: 2px; }
.header__nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  transition: background .3s, color .3s;
}
.header__nav a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; margin-right: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.lang button {
  height: 32px; padding: 0 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .6);
  transition: background .3s, color .3s;
}
.lang button.is-active { background: var(--white); color: var(--ink); }
.header__cta { margin-left: 2px; }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .6s var(--ease-out);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 108px var(--pad-x) max(5vh, 28px);
  background: var(--night); color: var(--white);
  clip-path: inset(0 0 100% 0); pointer-events: none;
  transition: clip-path 1s var(--ease-io);
  overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__list a { display: block; padding: .3rem 0; font-size: calc(clamp(2rem, 8vw, 3.2rem) * var(--ds)); line-height: 1.2; }
.menu__contact { display: grid; gap: .3rem; margin-bottom: 1.4rem; color: var(--text-d); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  background: var(--night); color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 9, .4) 0%, rgba(8, 10, 9, 0) 20%),
    linear-gradient(0deg, rgba(8, 10, 9, .66) 0%, rgba(8, 10, 9, .22) 28%, rgba(8, 10, 9, 0) 48%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  height: 100%;
  max-width: calc(var(--max-w) + 2 * var(--pad-x)); margin-inline: auto;
  padding: 100px var(--pad-x) 0;
}
.hero__top { display: flex; justify-content: flex-end; }
.hero__pause .icon--play, .hero__pause.is-paused .icon--pause { display: none; }
.hero__pause.is-paused .icon--play { display: block; }
.hero__main {
  margin-top: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem;
  padding-bottom: clamp(30px, 6.5vh, 68px);
}
.hero__tag {
  max-width: 18em;
  font-size: calc(clamp(1.55rem, 2.3vw, 2.6rem) * var(--ds));
  line-height: var(--display-lh); letter-spacing: var(--tag-track);
}
.hero__actions { flex: none; }
.hero__actions .cta__label, .hero__actions .btn { height: 56px; padding: 0 clamp(28px, 3.4vw, 54px); }
.hero__actions .cta__icon { width: 56px; height: 56px; }

/* ---------- Manifesto ---------- */
.manifesto { padding: var(--section-y) 0 clamp(36px, 4vw, 64px); background: var(--paper); }
.manifesto__text {
  max-width: 1080px; margin-top: 1.5rem;
  font-size: clamp(1.45rem, 2.3vw, 2.55rem);
  line-height: 1.18; letter-spacing: -.03em;
}
.manifesto__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: clamp(2rem, 3.6vw, 3.2rem); padding-top: 1.6rem;
  border-top: 1px solid var(--line-l);
}
.manifesto__note { max-width: 46ch; font-size: 1.02rem; color: var(--ink-2); }
.gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: var(--gap);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.gallery__item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.gallery__item--low { margin-top: clamp(36px, 6vw, 96px); }
.gallery__item img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; }

/* Figures: no cards, just hairlines */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-l);
}
.stat { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.3rem, 2.2vw, 2rem) clamp(1rem, 2vw, 2rem) 0; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line-l); }
.stat__num { font-size: calc(clamp(2.4rem, 3.4vw, 3.6rem) * var(--ds)); line-height: 1; white-space: nowrap; }
.stat__num small { position: relative; top: .3em; margin-left: .3em; font-size: .32em; letter-spacing: .04em; color: var(--gray-l); vertical-align: top; }
.stat__label { max-width: 22ch; font-size: .94rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- Ticker: slim band between hairlines ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line-l); background: var(--paper); }
.ticker__track {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 32px);
  width: max-content; padding: clamp(12px, 1.3vw, 18px) 0;
  animation: ticker 80s linear infinite;
}
.ticker span { font-size: calc(clamp(1.3rem, 1.9vw, 2rem) * var(--ds)); line-height: 1.2; white-space: nowrap; }
.ticker img { flex: none; width: auto; height: calc(clamp(1.1rem, 1.6vw, 1.7rem) * var(--ds)); filter: brightness(0); opacity: .75; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Propiedades (horizontal) ---------- */
.props { position: relative; overflow: hidden; background: var(--paper); }
.props__pin { display: flex; align-items: center; height: 100vh; height: 100svh; }
.props__inner { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 6rem); padding-left: var(--pad-x); will-change: transform; }
.props__intro { flex: 0 0 clamp(300px, 27vw, 440px); }
.props__intro .h2 { font-size: calc(clamp(1.55rem, 2vw, 2.3rem) * var(--ds)); }
.props__intro .lead { margin: 1.3rem 0 1.8rem; max-width: 36ch; }
.props__track { flex: none; display: flex; align-items: center; gap: var(--gap); padding-right: var(--pad-x); }
.prop { flex: 0 0 clamp(300px, 76vh, 880px); margin-bottom: 5vh; }
.prop--low { margin: 5vh 0 0; }
.prop__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.prop__zoom { position: absolute; inset: 0; display: block; overflow: hidden; transition: transform 1.5s var(--ease-out); }
.prop:hover .prop__zoom { transform: scale(1.04); }
.prop__img { position: absolute; top: 0; left: -6%; width: 112%; max-width: none; height: 100%; object-fit: cover; }
.prop__go {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  opacity: 0; transform: scale(.8);
  transition: opacity .4s, transform .6s var(--ease-out);
}
.prop__go .icon { font-size: 1.15rem; }
.prop:hover .prop__go { opacity: 1; transform: none; }
.prop__body { padding: 14px 4px 0; }
.prop__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.prop__title { font-size: clamp(1.05rem, 1.25vw, 1.25rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.prop__price { font-size: clamp(1.05rem, 1.25vw, 1.25rem); letter-spacing: -.01em; white-space: nowrap; }
.prop__meta { margin-top: .3rem; font-size: .9rem; color: var(--gray-l); }
.prop-end {
  flex: 0 0 clamp(260px, 21vw, 340px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  min-height: clamp(360px, 44vh, 440px); padding: clamp(22px, 2.2vw, 30px); border-radius: var(--radius);
  background: var(--night); color: var(--white);
}
.prop-end__num { font-size: calc(clamp(3.6rem, 5.6vw, 5.6rem) * var(--ds)); line-height: .9; }
.prop-end__text { max-width: 18ch; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.02em; color: var(--text-d); }
.props__progress { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 4vh; height: 2px; border-radius: 2px; background: var(--line-l); overflow: hidden; }
.props__progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ---------- Section head (shared) ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; margin-bottom: clamp(2rem, 3.6vw, 3.4rem); }
.section-head__text { max-width: 38ch; font-size: 1.02rem; color: var(--ink-2); }
.section-head--dark .section-head__text { color: var(--text-d); }

/* ---------- Urbanizaciones ---------- */
.zones { position: relative; padding: var(--section-y) 0; background: var(--night); color: var(--white); }
.zones__list { border-top: 1px solid var(--line-d); }
.zone__link {
  position: relative;
  display: grid; grid-template-columns: 4rem minmax(0, 2fr) minmax(0, 1fr) 3.25rem; align-items: center; gap: 2rem;
  padding: clamp(.9rem, 1.6vw, 1.5rem) 0;
  border-bottom: 1px solid var(--line-d);
  transition: opacity .5s var(--ease-out);
}
.zones__list:hover .zone:not(:hover) .zone__link { opacity: .32; }
.zone__num { font-size: .85rem; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
.zone__name { font-size: calc(clamp(1.7rem, 3vw, 3.2rem) * var(--ds)); line-height: 1.1; transition: transform .8s var(--ease-out); }
.zone:hover .zone__name { transform: translateX(1.2rem); }
.zone__facts { font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.zone__thumb { display: none; }
.zone__arrow {
  justify-self: end; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d);
  transition: background .5s var(--ease-out), color .5s, border-color .5s, transform .7s var(--ease-out);
}
.zone__arrow .icon { font-size: 1.1rem; }
.zone:hover .zone__arrow { background: var(--white); border-color: var(--white); color: var(--ink); transform: rotate(45deg); }
.zones__cursor {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: clamp(240px, 20vw, 340px); aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--radius); pointer-events: none;
  opacity: 0; visibility: hidden;
  background: var(--night-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.zones__cursor img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.18);
  transition: opacity .55s var(--ease-out), transform 1.1s var(--ease-out);
}
.zones__cursor img.is-active { opacity: 1; transform: scale(1); }

/* ---------- Vender / Comprar: full-bleed panels, the hovered one widens ---------- */
.duo { padding: var(--section-y) var(--pad-x) 0; background: var(--paper); }
.duo__frame {
  display: flex; max-width: var(--max-w); height: clamp(500px, 76vh, 800px); margin-inline: auto;
  overflow: hidden; border-radius: var(--radius); background: var(--night); color: var(--white);
}
.duo__panel {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; align-items: flex-end;
  overflow: hidden;
  transition: flex-grow 1.2s var(--ease-out);
}
.duo__panel + .duo__panel { border-left: 1px solid rgba(255, 255, 255, .12); }
.duo__panel:hover { flex-grow: 1.35; }
/* The media box is taller than the panel so it can drift on scroll without showing an edge */
.duo__media { position: absolute; left: 0; right: 0; top: -6%; height: 112%; }
.duo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.duo__panel:hover .duo__img { transform: scale(1); }
.duo__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 14, 13, .92) 0%, rgba(11, 14, 13, .62) 42%, rgba(11, 14, 13, .14) 78%, rgba(11, 14, 13, .1) 100%); }
.duo__content { position: relative; width: 100%; max-width: 720px; padding: clamp(1.75rem, 3.4vw, 3.5rem); }
.duo__title { margin: 1.2rem 0 1.1rem; font-size: calc(clamp(1.75rem, 2.7vw, 2.9rem) * var(--ds)); line-height: var(--display-lh); text-wrap: balance; }
.duo__title .mute { color: rgba(255, 255, 255, .55); }
.duo__text { max-width: 44ch; margin-bottom: 1.9rem; color: rgba(255, 255, 255, .8); }

/* ---------- Últimas novedades ---------- */
.news { padding: var(--section-y) 0; background: var(--paper); }
.news__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 8px 8px 16px; border-radius: var(--radius); background: var(--card); }
.card__media { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: calc(var(--radius) - 6px); background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media .chip { position: absolute; left: 10px; top: 10px; height: 28px; padding: 0 11px; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; padding: 0 8px; }
.card__title { font-size: 1.06rem; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.card__head .icon-btn { transition: transform .6s var(--ease-out), background .3s; }
.card:hover .card__head .icon-btn { transform: rotate(45deg); }
.card__table { display: grid; padding: 0 8px; }
.card__table div { display: flex; justify-content: space-between; gap: 1rem; padding: 9px 0; border-top: 1px solid var(--line-l); font-size: .9rem; }
.card__table dt { color: var(--gray-l); }
.card__table dd { font-weight: 500; text-align: right; }

/* ---------- Coches: film banner + showroom window ---------- */
.showroom {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(84px, 10vh, 112px) 0 clamp(40px, 6vh, 72px);
  background: var(--night); color: var(--white);
}
.showroom__banner {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  height: clamp(320px, 48vh, 560px); border-radius: var(--radius);
  background: var(--night-2);
}
.showroom__poster, .showroom__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showroom__video { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.showroom__video.is-playing { opacity: 1; }
.showroom__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 9, .82) 0%, rgba(8, 10, 9, .24) 56%, rgba(8, 10, 9, .08) 100%); }
.showroom__banner-content {
  position: relative; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  padding: clamp(22px, 2.6vw, 40px);
}
.showroom__aside { display: grid; justify-items: start; gap: 1.1rem; max-width: 46ch; }
.showroom__aside p { font-size: .98rem; line-height: 1.55; color: var(--text-d); }
.cars__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.car { display: flex; flex-direction: column; padding: 8px 8px 18px; border-radius: var(--radius); background: var(--night-2); transition: background .5s; }
.car:hover { background: var(--night-3); }
.car__media { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: calc(var(--radius) - 6px); background: #D6D6D3; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.car:hover .car__media img { transform: scale(1.05); }
.car__media .pills { left: 8px; top: auto; bottom: 8px; gap: 4px; }
.car__media .pills li { height: 24px; padding: 0 9px; font-size: .72rem; }
.car__body { display: grid; gap: .35rem; padding: 16px 8px 0; }
.car__kicker { font-family: var(--label); font-size: calc(var(--label-size) * .92); font-weight: 500; letter-spacing: var(--label-track); text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.car__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.car__name { font-size: calc(clamp(1.1rem, 1.25vw, 1.35rem) * var(--ds)); line-height: 1.15; }
.car__price { font-size: calc(clamp(1rem, 1.1vw, 1.2rem) * var(--ds)); white-space: nowrap; color: var(--text-d); }

/* ---------- Opiniones ---------- */
.reviews { padding: var(--section-y) 0; background: var(--paper); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); align-items: start; gap: clamp(2.5rem, 6vw, 8rem); }
.reviews__side { display: grid; justify-items: start; gap: 1rem; }
.reviews__rating { margin-top: .8rem; font-size: calc(clamp(3.8rem, 6vw, 6rem) * var(--ds)); line-height: .9; white-space: nowrap; }
.reviews__rating small { margin-left: .14em; font-size: .26em; color: var(--gray-l); }
.reviews__basis { font-size: .94rem; color: var(--ink-2); }
.stars { position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: .28em; color: rgba(14, 16, 15, .16); }
.stars::before { content: "★★★★★"; }
.stars span { position: absolute; inset: 0; width: var(--fill); overflow: hidden; white-space: nowrap; color: var(--ink); }
.stars span::before { content: "★★★★★"; }
.reviews__slides { display: grid; }
.review {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), visibility 0s .9s;
}
.review.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), visibility 0s; }
.review blockquote { font-size: clamp(1.4rem, 2.1vw, 2.3rem); line-height: 1.2; letter-spacing: -.025em; }
.review figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.8rem; }
.review figcaption b { display: block; font-weight: 500; }
.review figcaption em { display: block; font-size: .9rem; font-style: normal; color: var(--gray-l); }
.review__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 500; }
.reviews__nav { display: flex; align-items: center; gap: 8px; margin-top: 2.2rem; }
.reviews__count { margin-left: .8rem; font-size: .9rem; color: var(--gray-l); font-variant-numeric: tabular-nums; }
.reviews__count b { font-weight: 500; color: var(--ink); }

/* ---------- Instagram reels ---------- */
.reels { overflow: hidden; padding: var(--section-y) 0; background: var(--night); color: var(--white); }
.reels__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.reels__track {
  display: flex; gap: var(--gap);
  padding-inline: var(--pad-x);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x);
  scrollbar-width: none; cursor: grab;
}
.reels__track::-webkit-scrollbar { display: none; }
.reels__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reels__track.is-dragging .reel { pointer-events: none; }
.reel {
  position: relative; flex: 0 0 clamp(200px, 16.5vw, 270px);
  aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius);
  background: var(--night-2); scroll-snap-align: start;
}
.reel video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.4s var(--ease-out); }
.reel:hover video { transform: scale(1.06); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 9, .8) 0%, rgba(8, 10, 9, 0) 44%); pointer-events: none; }
.reel__icon { position: absolute; top: 14px; right: 14px; font-size: 1.25rem; }
.reel__caption { position: absolute; left: 16px; right: 16px; bottom: 40px; font-size: 1rem; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.reel__views { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-d); }
.reel__views .icon { font-size: .8rem; }

/* ---------- Oficinas: the whole section fits one screen ---------- */
.offices {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(84px, 11vh, 120px) 0 clamp(40px, 6vh, 72px);
  background: var(--paper);
}
.offices .section-head { margin-bottom: clamp(1.4rem, 3vh, 2.4rem); }
.offices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.office { display: flex; flex-direction: column; padding: 8px; border-radius: var(--radius); background: var(--card); }
.office__media { height: clamp(140px, 23vh, 280px); overflow: hidden; border-radius: calc(var(--radius) - 6px); background: var(--paper-2); }
.office__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.office__body { display: grid; gap: 1rem; padding: 18px 14px 12px; }
.office__name { font-size: calc(clamp(1.45rem, 1.8vw, 1.9rem) * var(--ds)); line-height: 1.1; }
.office__table div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: 8px 0; border-top: 1px solid var(--line-l); }
.office__table dt { display: flex; align-items: center; gap: .5rem; align-self: start; font-size: .9rem; color: var(--gray-l); }
.office__table dt .icon { font-size: 1rem; }
.office__table dd { font-size: .95rem; line-height: 1.45; }

/* ---------- Cierre: full-bleed, melts into the footer ---------- */
.finale {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(620px, 100vh, 1040px); min-height: clamp(620px, 100svh, 1040px);
  background: var(--night); color: var(--white);
}
.finale__media { position: absolute; inset: 0; overflow: hidden; }
.finale__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; }
.finale__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--night) 0%, rgba(11, 14, 13, .84) 18%, rgba(11, 14, 13, .2) 50%, rgba(11, 14, 13, 0) 76%),
    linear-gradient(90deg, rgba(11, 14, 13, .3) 0%, rgba(11, 14, 13, 0) 55%);
}
.finale__inner { position: relative; padding-top: 28vh; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.finale__title { margin-top: 1.2rem; font-size: calc(clamp(1.8rem, 8vw, 2.4rem) * var(--ds)); line-height: var(--display-lh); text-wrap: balance; }
.finale__title .mute { color: rgba(255, 255, 255, .58); }
.finale__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem;
  margin-top: clamp(2rem, 3.6vw, 3rem); padding-top: clamp(1.5rem, 2.6vw, 2.2rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.finale__contact { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; }
.finale__contact a { display: inline-flex; align-items: center; gap: .6rem; font-size: 1rem; color: rgba(255, 255, 255, .86); transition: color .3s; }
.finale__contact a:hover { color: var(--accent); }
.finale__contact .icon { font-size: 1.05rem; color: rgba(255, 255, 255, .55); }

/* ---------- Footer ---------- */
.footer { overflow: hidden; padding-top: clamp(3.5rem, 6vw, 5rem); background: var(--night); color: var(--white); }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line-d); }
.footer__claim { max-width: 22ch; font-size: clamp(1.4rem, 2vw, 2.1rem); line-height: 1.12; letter-spacing: -.03em; }
.newsletter { width: min(100%, 420px); }
.newsletter label { display: block; margin-bottom: .9rem; font-size: .9rem; color: var(--gray-d); }
.newsletter__row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .3s;
}
.newsletter__row:focus-within { border-color: rgba(255, 255, 255, .4); }
.newsletter input { flex: 1; min-width: 0; padding: .6rem 0; background: none; border: 0; outline: none; color: var(--white); font: inherit; font-size: 1rem; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .42); }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.footer__cols h4 { margin-bottom: 1rem; font-family: var(--label); font-size: var(--label-size); font-weight: 500; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--gray-d); }
.footer__cols li, .footer__cols p { font-size: .96rem; line-height: 1.9; color: rgba(255, 255, 255, .84); }
.footer__cols a { transition: color .3s; }
.footer__cols a:hover { color: var(--accent); }
.socials { display: flex; gap: 6px; margin-top: 1.2rem; }
.footer__brand { overflow: hidden; padding: .5rem 0 clamp(1rem, 2vw, 2rem); }
.footer__brand img { width: 100%; height: auto; opacity: .92; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.4rem 0 1.8rem; border-top: 1px solid var(--line-d);
  font-size: .85rem; color: rgba(255, 255, 255, .5);
}
.footer__bottom ul { display: flex; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--white); }

/* ---------- WhatsApp ---------- */
.wa-fab {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--night);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .45);
  transform: scale(0); transition: transform .7s var(--ease-out), background .3s;
}
.wa-fab.is-visible { transform: scale(1); }
.wa-fab:hover { background: var(--white); }
.wa-fab .icon { font-size: 1.5rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 768px) {
  /* Two fixed lines: "Si tienes un sueño," / "nosotros lo hacemos realidad." */
  .finale__title { font-size: min(calc(3.3rem * var(--ds)), calc(3.4vw * var(--ds))); white-space: nowrap; }
}

@media (max-width: 1180px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .hero__main { flex-direction: column; align-items: flex-start; }

  .props__pin { display: block; height: auto; padding: clamp(56px, 8vw, 96px) 0 var(--section-y); }
  .props__inner { display: block; padding-left: 0; }
  .props__intro { padding-inline: var(--pad-x); margin-bottom: 2.5rem; }
  .props__track {
    align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: var(--pad-x); scroll-padding-inline: var(--pad-x);
  }
  .props__track::-webkit-scrollbar { display: none; }
  .prop, .prop--low { margin: 0; flex-basis: min(80vw, 520px); scroll-snap-align: start; }
  .prop-end { flex-basis: min(70vw, 360px); min-height: 0; scroll-snap-align: start; }
  .prop__go { opacity: 1; transform: none; }
  .props__progress { display: none; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--low { margin-top: 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 1.8rem; border-top: 1px solid var(--line-l); }

  .section-head { flex-direction: column; align-items: flex-start; }
  .zones__cursor { display: none; }
  .zone__link { grid-template-columns: 2.4rem minmax(0, 1fr) 76px; gap: .5rem 1rem; }
  .zone__num { grid-row: 1 / span 2; align-self: start; padding-top: .6rem; }
  .zone__name { grid-column: 2; }
  .zone__facts { grid-column: 2; grid-row: 2; font-size: .88rem; }
  .zone__thumb { display: block; grid-column: 3; grid-row: 1 / span 2; width: 76px; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
  .zone__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .zone__arrow { display: none; }
  .zones__list:hover .zone:not(:hover) .zone__link { opacity: 1; }

  .duo__frame { flex-direction: column; height: auto; }
  .duo__panel { min-height: 64vh; min-height: 64svh; }
  .duo__panel:hover { flex-grow: 1; }
  .duo__panel + .duo__panel { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }

  .showroom { min-height: 0; }
  .showroom__banner { height: auto; min-height: 62vh; min-height: 62svh; }
  .showroom__banner-content { flex-direction: column; align-items: flex-start; }
  .cars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { grid-template-columns: minmax(0, 1fr); }
  .reels__head { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .manifesto__row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .offices { min-height: 0; }
  .offices__grid { grid-template-columns: minmax(0, 1fr); }
  .office__media { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 767px) {
  .header { top: 10px; }
  .header__bar { height: 58px; padding: 0 6px 0 18px; }
  .header__logo img { height: 28px; }
  .lang, .header__icon:first-of-type, .header__cta { display: none; }

  .h2 { font-size: calc(clamp(1.55rem, 7vw, 2rem) * var(--ds)); }
  .zone__link { grid-template-columns: 2rem minmax(0, 1fr) 64px; }
  .zone__name { font-size: calc(clamp(1.35rem, 6.4vw, 1.8rem) * var(--ds)); }
  .zone__thumb { width: 64px; }

  .hero { min-height: 600px; }
  .hero__inner { padding-top: 84px; }
  .hero__tag { font-size: calc(clamp(1.45rem, 6.6vw, 1.9rem) * var(--ds)); text-wrap: balance; }
  .hero__tag br { display: none; }

  .news__grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); scroll-padding-inline: var(--pad-x);
  }
  .news__grid::-webkit-scrollbar { display: none; }
  .news__grid .card { flex: 0 0 78vw; scroll-snap-align: start; }

  .cars__grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); scroll-padding-inline: var(--pad-x);
  }
  .cars__grid::-webkit-scrollbar { display: none; }
  .cars__grid .car { flex: 0 0 82vw; scroll-snap-align: start; }
  .hero__actions .cta__label, .hero__actions .btn { height: 52px; padding: 0 24px; }
  .hero__actions .cta__icon { width: 52px; height: 52px; }

  .finale__inner { padding-top: 34vh; }
  .finale__row { align-items: flex-start; }
  .finale__contact { flex-direction: column; }

  .office__table div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .zones__cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .ticker__track { animation: none; }
}
