/* Casa San Fernando: landing de venta
   Radius rule: photos & panels 20px, buttons/pills full-round, small chips 12px. */

:root {
  --bg: #eff0ea;
  --bg-2: #e4e6dd;
  --surface: #f7f8f3;
  --ink: #121611;
  --ink-2: #4b5349;
  --ink-3: #6c7469;
  --line: rgb(18 22 17 / 0.12);
  --accent: #2e5a3a;
  --accent-hover: #24492e;
  --accent-ink: #f3f5ef;
  --accent-soft: #d5dfd1;
  --shadow: 0 1px 2px rgb(30 45 30 / 0.06), 0 12px 32px -12px rgb(30 45 30 / 0.18);

  --r-lg: 20px;
  --r-sm: 12px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 68px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e110e;
    --bg-2: #151915;
    --surface: #1a1f1a;
    --ink: #e9ece4;
    --ink-2: #a9b1a5;
    --ink-3: #8a9286;
    --line: rgb(233 236 228 / 0.12);
    --accent: #9cc59e;
    --accent-hover: #b3d6b4;
    --accent-ink: #0e110e;
    --accent-soft: #223024;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e110e; --bg-2: #151915; --surface: #1a1f1a; --ink: #e9ece4; --ink-2: #a9b1a5; --ink-3: #8a9286;
  --line: rgb(233 236 228 / 0.12); --accent: #9cc59e; --accent-hover: #b3d6b4; --accent-ink: #0e110e; --accent-soft: #223024;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 160px); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2, .h3, .hero__title, .contact__title, .fact__num, .price__value, .price-chip__value, .agent__phone, .brand__name, .dock__price span {
  font-family: var(--display);
  font-optical-sizing: auto;
}
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 500;
  max-width: 18ch;
  text-wrap: balance;
}
.h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 48ch; margin: 28px 0 0; letter-spacing: -0.01em; }
.body { color: var(--ink-2); max-width: 52ch; margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.15em; }
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass {
  color: #fff;
  background: rgb(255 255 255 / 0.14);
  border-color: rgb(255 255 255 / 0.28);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.btn--glass:hover { background: rgb(255 255 255 / 0.22); }
/* On the hero the primary must read over a photo in both themes */
.hero .btn--primary, .contact .btn--primary, .dock .btn--primary, .nav .btn--primary { background: #2e5a3a; color: #f3f5ef; }
.hero .btn--primary:hover, .contact .btn--primary:hover, .dock .btn--primary:hover, .nav .btn--primary:hover { background: #24492e; }

/* Glass material (web approximation of frosted glass) */
.glass {
  background: linear-gradient(135deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.06)), rgb(20 26 20 / 0.32);
  border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 20px 60px -20px rgb(0 0 0 / 0.5);
  color: #fff;
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .btn--glass, .nav.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(22 28 22 / 0.94); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--nav-h);
  color: #fff;
  transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-out);
}
.nav.is-solid {
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; flex: none; display: block; }
.brand__name { font-size: 1rem; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; opacity: 0.86; transition: opacity 200ms, background-color 200ms; }
.nav__links a:hover { opacity: 1; background: rgb(127 127 127 / 0.14); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent); }
.lang__btn { border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; opacity: 0.7; transition: background-color 200ms, opacity 200ms, color 200ms; }
.lang__btn[aria-pressed="true"] { opacity: 1; background: currentColor; }
.lang__btn[aria-pressed="true"] { background: rgb(255 255 255 / 0.92); color: #121611; }
.nav.is-solid .lang__btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .brand__name { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { width: 40px; padding: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: clip;
  background: #1a1d17;
}
.hero__sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 120px; pointer-events: none; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 40%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 12 10 / 0.42) 0%, rgb(10 12 10 / 0) 22%),
    linear-gradient(0deg, rgb(10 12 10 / 0.78) 0%, rgb(10 12 10 / 0.35) 38%, rgb(10 12 10 / 0) 62%),
    linear-gradient(90deg, rgb(10 12 10 / 0.4) 0%, rgb(10 12 10 / 0) 55%);
}
.hero__content {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(32px, 6vh, 72px);
}
.hero__title {
  margin: 0;
  font-size: clamp(2.9rem, 8.4vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__title .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .w > span { display: inline-block; }
.hero__loc { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 1rem; color: rgb(255 255 255 / 0.9); }
.hero__loc i { font-size: 1.1rem; color: #b9d7ba; }
.hero__sub { margin: 24px 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: rgb(255 255 255 / 0.88); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.price-chip { display: grid; gap: 4px; padding: 22px 26px; border-radius: var(--r-lg); min-width: 250px; }
.price-chip__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.78); }
.price-chip__value { font-size: 2.1rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-chip__value small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; opacity: 0.8; margin-left: 4px; }
.price-chip__meta { font-size: 0.9rem; color: rgb(255 255 255 / 0.82); }

@media (max-width: 860px) {
  .hero__content { grid-template-columns: 1fr; gap: 24px; }
  .price-chip { justify-self: start; min-width: 0; padding: 16px 20px; }
  .price-chip__value { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* Phones: the photo takes the top of the screen, cropped around the house,
   and the copy sits below it on the dark base so nothing covers the house. */
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; background: #121511; }
  .hero__media { position: relative; inset: auto; z-index: auto; height: max(320px, 56svh); overflow: hidden; }
  .hero__img {
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 135%;
    object-position: 66% 100%;
    transform-origin: 66% 80%;
  }
  .hero__media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(180deg, rgb(18 21 17 / 0) 0%, #121511 100%);
  }
  .hero__shade { inset: 0 0 auto 0; height: 140px; background: linear-gradient(180deg, rgb(10 12 10 / 0.5) 0%, rgb(10 12 10 / 0) 100%); }
  .hero__content { position: relative; margin-top: -56px; gap: 20px; padding-top: 0; padding-bottom: 32px; }
  .hero__loc { margin-bottom: 14px; font-size: 0.95rem; }
  .hero__sub { margin-top: 16px; font-size: 1rem; }
  .hero__ctas { flex-wrap: nowrap; margin-top: 24px; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 0; padding: 0 14px; --h: 50px; font-size: 0.95rem; }
  .price-chip { width: 100%; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; padding: 14px 18px; }
  .price-chip__label { grid-column: 1 / -1; }
  .price-chip__value { font-size: 1.55rem; }
  .price-chip__meta { font-size: 0.85rem; justify-self: end; text-align: right; }
}

/* ---------- Facts ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact { padding: clamp(28px, 4vw, 48px) 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.fact + .fact { padding-left: clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.fact__num { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__unit { font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--ink-2); letter-spacing: -0.02em; }
.fact__label { flex-basis: 100%; margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 24px 0; border-top: 1px solid var(--line); }
  .fact + .fact { border-left: 0; padding-left: 0; }
  .fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* ---------- Intro ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 2.5vw, 32px);
  row-gap: 32px;
  align-items: start;
}
.intro__copy { grid-column: 1 / span 5; grid-row: 1 / span 2; padding-top: 12px; }
.intro__main { grid-column: 7 / span 6; grid-row: 1; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; }
.intro__small { grid-column: 6 / span 3; grid-row: 2; margin-top: -90px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 0 0 8px var(--bg); }
.intro__main img, .intro__small img { width: 100%; height: 100%; object-fit: cover; }
.badges { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 0.9rem; }
.badges i { color: var(--accent); font-size: 1.1rem; }
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .intro__copy { grid-column: 1 / -1; grid-row: auto; }
  .intro__main { grid-column: 1 / -1; grid-row: auto; }
  .intro__small { grid-column: 3 / -1; grid-row: auto; margin-top: -110px; }
}

/* ---------- Day (horizontal) ---------- */
.day { background: var(--bg-2); }
.day__pin { padding-block: clamp(72px, 9vw, 120px); min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.day__head { margin-bottom: clamp(32px, 4vw, 56px); }
.day__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  will-change: transform;
}
.moment { flex: 0 0 auto; width: min(76vw, 560px); display: grid; gap: 20px; }
.moment:nth-child(even) { margin-top: 56px; }
.moment__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); }
.moment:nth-child(4n+1) .moment__img, .moment:nth-child(4n) .moment__img { aspect-ratio: 4 / 4.2; }
.moment__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.moment__text { display: grid; gap: 8px; padding-right: 8px; }
.moment__time { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); }
.moment__text p { margin: 0; color: var(--ink-2); max-width: 38ch; }

/* Without the pinned pan (mobile / reduced motion): native snap scroller */
.day:not(.is-pinned) .day__pin { min-height: 0; }
.day:not(.is-pinned) .day__track {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
  padding-bottom: 8px;
}
.day:not(.is-pinned) .day__track::-webkit-scrollbar { display: none; }
.day:not(.is-pinned) .moment { scroll-snap-align: start; }
.day:not(.is-pinned) .moment__img img { transform: none; }
@media (max-width: 860px) {
  .moment { width: 82vw; }
  .moment:nth-child(even) { margin-top: 0; }
}

/* ---------- Inside bento ---------- */
.inside .h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 13vw, 190px);
  gap: clamp(10px, 1.2vw, 16px);
}
.bento__cell { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); position: relative; }
.bento__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .bento__cell:hover img { transform: scale(1.04); } }
.bento__cell--a { grid-column: span 7; grid-row: span 3; }
.bento__cell--b { grid-column: span 5; grid-row: span 2; }
.bento__cell--text {
  grid-column: span 5; grid-row: span 1;
  background: var(--accent); color: var(--accent-ink);
  padding: clamp(18px, 2vw, 28px);
  display: flex; align-items: center; gap: 18px;
}
.bento__cell--text i { font-size: 2rem; flex: none; }
.bento__cell--text p { margin: 0; font-size: clamp(0.98rem, 1.25vw, 1.12rem); line-height: 1.45; letter-spacing: -0.01em; }
.bento__cell--c { grid-column: span 4; grid-row: span 2; }
.bento__cell--d { grid-column: span 4; grid-row: span 2; }
.bento__cell--e { grid-column: span 4; grid-row: span 2; }
.bento__cell--e img { object-position: 50% 35%; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .bento__cell--a { grid-column: 1 / -1; grid-row: span 2; }
  .bento__cell--b { grid-column: 1 / -1; grid-row: span 2; }
  .bento__cell--text { grid-column: 1 / -1; grid-row: auto; }
  .bento__cell--c, .bento__cell--d { grid-column: span 1; grid-row: span 2; }
  .bento__cell--e { grid-column: 1 / -1; grid-row: span 2; }
}

/* ---------- Amenities ---------- */
.amen { padding-top: 0; }
.amen .h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.amen__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.amen__head { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.amen__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.amen__group li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; letter-spacing: -0.01em; }
.amen__group li i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; flex: none; }
@media (max-width: 860px) { .amen__groups { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-2); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.filter { border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); transition: background-color 250ms ease, color 250ms ease; }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); }
@media (max-width: 560px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}
.masonry {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(70px, 8.4vw, 118px); grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px);
}
@media (max-width: 860px) { .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 22vw; } }
.tile {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  grid-row: span 2;
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg);
  position: relative;
}
.tile--tall { grid-row: span 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), opacity 400ms ease; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.04); pointer-events: none; }
@media (hover: hover) { .tile:hover img { transform: scale(1.035); } }
.tile.is-hidden { display: none; }

/* ---------- Video ---------- */
.video { padding-top: clamp(64px, 8vw, 120px); }
.video .h2 { margin-bottom: clamp(28px, 3.5vw, 48px); }
.video__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); transition: transform 1.2s var(--ease-out), filter 400ms ease; }
.video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; border: 0; background: none; cursor: pointer; color: #fff; }
.video__play-ring {
  display: grid; place-items: center; width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: rgb(255 255 255 / 0.18); border: 1px solid rgb(255 255 255 / 0.4);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  transition: transform 400ms var(--ease-out), background-color 300ms ease;
}
.video__play-label { font-weight: 500; letter-spacing: -0.01em; text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }
@media (hover: hover) {
  .video__frame:hover img { transform: scale(1.03); filter: brightness(0.72); }
  .video__frame:hover .video__play-ring { transform: scale(1.08); background: rgb(255 255 255 / 0.26); }
}
.video__play:active .video__play-ring { transform: scale(0.95); }

/* ---------- Location ---------- */
.loc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.loc__list { list-style: none; padding: 0; margin: 40px 0 36px; }
.loc__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.loc__list li:first-child { border-top: 1px solid var(--line); }
.loc__place { font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; }
.loc__dist { font-family: var(--mono); font-size: 0.9rem; color: var(--accent); white-space: nowrap; }
.loc__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); }
.loc__aerial { grid-column: 1 / -1; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.loc__aerial img { width: 100%; height: 100%; object-fit: cover; }
.loc__map { grid-column: 1 / -1; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-2); border: 1px solid var(--line); }
.loc__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.02); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .loc__map iframe { filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9); } }
@media (max-width: 860px) {
  .loc__grid { grid-template-columns: 1fr; }
  .loc__map { aspect-ratio: 4 / 3; }
}

/* ---------- Uses ---------- */
.uses { padding-top: 0; }
.uses .h2 { margin-bottom: clamp(32px, 4vw, 56px); max-width: 16ch; }
.uses__list { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border-top: 1px solid var(--ink); }
.use { padding: 32px clamp(16px, 2.5vw, 36px) 0 0; display: grid; gap: 12px; align-content: start; }
.use + .use { padding-left: clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.use i { font-size: 1.8rem; color: var(--accent); margin-bottom: 8px; }
.use p { margin: 0; color: var(--ink-2); max-width: 36ch; }
.use:first-child .h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 860px) {
  .uses__list { grid-template-columns: 1fr; }
  .use, .use + .use { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Price + FAQ ---------- */
.price { background: var(--bg-2); }
.price__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.price__card {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.price__label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.price__value { margin: 14px 0 0; font-size: clamp(3rem, 6.5vw, 5.4rem); font-weight: 400; letter-spacing: -0.035em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.price__value span { font-size: 0.26em; letter-spacing: 0; margin-left: 10px; color: var(--ink-2); font-weight: 500; vertical-align: 0.9em; }
.price__note { margin: 20px 0 28px; color: var(--ink-2); max-width: 34ch; }
.faq__title { margin-bottom: 18px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: clamp(1.05rem, 1.5vw, 1.22rem); letter-spacing: -0.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: transform 400ms var(--ease-out), background-color 250ms, color 250ms; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 56px 24px 0; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 860px) {
  .price__grid { grid-template-columns: 1fr; }
  .price__card { position: static; }
}

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; color: #fff; overflow: clip; background: #121512; padding-block: clamp(96px, 12vw, 180px); }
.contact__media { position: absolute; inset: -10% 0; z-index: -2; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 10 8 / 0.82) 0%, rgb(8 10 8 / 0.5) 55%, rgb(8 10 8 / 0.35) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact__title { margin: 0; font-size: clamp(3rem, 8vw, 7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 0.98; }
.contact__sub { margin: 24px 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgb(255 255 255 / 0.86); }
.agent { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); display: grid; gap: 20px; }
.agent__id { display: flex; align-items: center; gap: 14px; }
.agent__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #2e5a3a; color: #eff0ea; font-weight: 600; letter-spacing: 0.02em; }
.agent__name { margin: 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.agent__role { margin: 0; font-size: 0.9rem; color: rgb(255 255 255 / 0.78); }
.agent__phone { font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; text-decoration: none; font-variant-numeric: tabular-nums; width: fit-content; }
.agent__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.agent__ctas { display: grid; gap: 10px; }
.share { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.18); }
.share__label { margin: 0 0 12px; font-size: 0.92rem; color: rgb(255 255 255 / 0.84); }
.share__row { display: flex; gap: 8px; }
.share__btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.28); background: rgb(255 255 255 / 0.08); color: #fff;
  font-size: 1.25rem; cursor: pointer; text-decoration: none;
  transition: background-color 200ms, transform 160ms var(--ease-out);
}
.share__btn:hover { background: rgb(255 255 255 / 0.2); }
.share__btn:active { transform: scale(0.94); }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__shade { background: linear-gradient(180deg, rgb(8 10 8 / 0.55), rgb(8 10 8 / 0.82)); }
}

/* ---------- Footer ---------- */
.footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer p { margin: 0; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__mark { width: 26px; height: 26px; flex: none; }
.footer strong { color: var(--ink); font-weight: 500; }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform 500ms var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock__price span { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.03em; }
.dock__price small { color: var(--ink-2); }
@media (max-width: 860px) {
  .dock { display: flex; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Lightbox ---------- */
.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: hidden;
}
.lb::backdrop { background: rgb(8 10 8 / 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb[open] { display: grid; }
.lb__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px clamp(8px, 6vw, 96px); touch-action: pan-y; user-select: none; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); will-change: transform; -webkit-user-drag: none; }
.lb__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.1); color: #fff; font-size: 1.3rem; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color 200ms, transform 160ms var(--ease-out);
}
.lb__btn:hover { background: rgb(255 255 255 / 0.2); }
.lb__btn:active { transform: scale(0.94); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb__next { right: 16px; top: 50%; translate: 0 -50%; }
.lb__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; margin: 0; font-family: var(--mono); font-size: 0.85rem; color: rgb(255 255 255 / 0.8); }
@media (max-width: 640px) { .lb__prev, .lb__next { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  translate: -50% 0; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 0.92rem;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 300ms ease, transform 400ms var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Reveal (initial states only when JS + motion are allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); }
  .js .clip-reveal { clip-path: inset(18% 0 0 0 round var(--r-lg)); }
  .js .clip-reveal img { transform: scale(1.12); }
  .js .hero__eyebrow, .js .hero__sub, .js .hero__ctas, .js .price-chip { opacity: 0; }
}
