/* =============================================================
   BLOC — Propiedades en Barcelona
   Archetype: Brutalist grid (hairlines, condensed type, one accent)
   Rules: no radius, no shadows, no gradients.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #fbfbf9;
  --ink:   #0b0b0b;
  --ink-2: #454540;
  --mute:  #86867e;
  --accent:#ff4f00;
  --line:  #0b0b0b;
  --line-soft: rgba(11, 11, 11, 0.14);

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --gutter: clamp(16px, 3vw, 32px);
  --demo-h: 30px;
  --head-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + var(--head-h) + 16px); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-top: var(--demo-h); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.display {
  font-family: var(--display); font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62;
  text-transform: uppercase; line-height: .86; letter-spacing: -0.01em;
}
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; }
.mute { color: var(--mute); }
.acc { color: var(--accent); }

/* 3. Utilities ------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.frame { border-left: 1px solid var(--line); border-right: 1px solid var(--line); max-width: 1440px; margin-inline: auto; }
.pad { padding: var(--gutter); }
.rule { border-top: 1px solid var(--line); }

/* Section label bar */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bar .mono b { font-weight: 500; color: var(--accent); }

/* Buttons: flat, hard edges, instant invert */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 0 20px; border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
}
.btn:hover, .btn:focus-visible { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.arrow::after { content: "→"; font-family: var(--sans); }

/* Demo bar */
.demo-bar { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--demo-h); display: flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-transform: uppercase; }
.demo-bar > span { overflow: hidden; text-overflow: ellipsis; }
.demo-bar b { color: var(--accent); font-weight: 500; }
.demo-long { display: none; }
@media (min-width: 720px) { .demo-long { display: inline; } }

/* 4. Header ---------------------------------------------------- */
.head { position: sticky; top: var(--demo-h); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-inner { max-width: 1440px; margin-inline: auto; height: var(--head-h); display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); border-right: 1px solid var(--line); font-family: var(--display); font-weight: 900; font-size: 30px; font-variation-settings: "wdth" 70; letter-spacing: .02em; }
.logo i { width: 14px; height: 14px; background: var(--accent); display: inline-block; }
.nav { display: none; }
.nav a { display: flex; align-items: center; padding: 0 22px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.nav a:hover { background: var(--ink); color: var(--paper); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--ink); }
.head-right { grid-column: 3; display: flex; align-items: stretch; }
.clock { display: none; align-items: center; padding: 0 18px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; }
.clock b { font-weight: 500; margin-left: 6px; }
.head-cta { display: none; align-items: center; padding: 0 22px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.head-cta:hover { background: var(--accent); color: var(--ink); }
.burger { width: var(--head-h); border-left: 1px solid var(--line); display: grid; place-content: center; gap: 6px; }
.burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; z-index: 49; top: calc(var(--demo-h) + var(--head-h)); left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); display: none; flex-direction: column; }
.menu.is-open { display: flex; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: 44px; text-transform: uppercase; line-height: 1; }
.menu a:hover { background: var(--ink); color: var(--paper); }
.menu a span { font-family: var(--mono); font-size: 12px; font-weight: 400; }
.menu .menu-foot { margin-top: auto; padding: var(--gutter); font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; display: grid; gap: 4px; }

/* 5. HOME hero ------------------------------------------------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-text { padding: calc(var(--gutter) * 1.2) var(--gutter) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; }
.hero-title { font-size: clamp(4rem, 21vw, 15.5rem); }
.hero-title .ln { display: block; overflow: hidden; }
.hero-title .ln > span { display: block; white-space: nowrap; }
.js .hero-title .ln > span { transform: translateY(102%); transition: transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .is-loaded .hero-title .ln > span { transform: none; }
.hero-title .dot { color: var(--accent); }
.hero-sub { max-width: 44ch; font-size: 1.05rem; color: var(--ink-2); }
.hero-img { position: relative; border-top: 1px solid var(--line); min-height: 320px; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.hero-img .tag { position: absolute; left: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 14px; }

/* Firma: retícula con coordenadas (solo en el hero, solo con ratón) */
.xhair { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 2; }
.xhair.is-ready { opacity: 1; }
.xhair .h, .xhair .v { position: absolute; background: var(--accent); }
.xhair .h { left: 0; right: 0; height: 1px; top: 0; }
.xhair .v { top: 0; bottom: 0; width: 1px; left: 0; }
.xhair .lbl { position: absolute; top: 0; left: 0; padding: 4px 7px; background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 11px; white-space: nowrap; }

/* Search strip */
.search { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.search > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-field { display: grid; gap: 2px; padding: 12px var(--gutter); }
.s-field label, .s-field legend { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.s-field select { border: 0; background: transparent; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 75; font-size: 22px; text-transform: uppercase; padding: 2px 22px 2px 0; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0b' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 2px center; }
.s-toggle { display: flex; }
.s-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.s-toggle label { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.s-toggle label + input + label { border-left: 1px solid var(--line); }
.s-toggle input:checked + label { background: var(--ink); color: var(--paper); }
.s-toggle input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -3px; }
.search .btn { grid-column: 1 / -1; min-height: 64px; border: 0; padding: 0 var(--gutter); font-size: 14px; }

/* Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); white-space: nowrap; padding: 14px 0; }
.marquee-track { display: inline-flex; animation: mq 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; text-transform: uppercase; padding-right: .4em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee-track span:nth-child(3n+2) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee-track span i { font-style: normal; color: var(--accent); -webkit-text-stroke: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* 6. Property cards ------------------------------------------- */
.grid { display: grid; grid-template-columns: 1fr; }
.grid > * { border-bottom: 1px solid var(--line); }
.card { display: flex; flex-direction: column; position: relative; background: var(--paper); transition: background .15s; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #e8e8e4; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform 1s var(--ease); }
.card:hover .card-img img, .card:focus-within .card-img img { filter: none; transform: scale(1.03); }
.card-badge { position: absolute; top: 0; left: 0; padding: 7px 10px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.card-badge.rent { background: var(--accent); color: var(--ink); }
.card-body { padding: 16px var(--gutter) 18px; display: grid; gap: 10px; }
.card-top { display: flex; justify-content: space-between; gap: 12px; }
.card h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 68; font-size: 30px; line-height: .95; text-transform: uppercase; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.specs { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 10px; gap: 4px 16px; }
.price { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: 34px; line-height: 1; white-space: nowrap; }
.price small { font-family: var(--mono); font-size: 12px; font-weight: 400; }
.card:hover { background: #fff; }
.card:hover .price { color: var(--accent); }

/* 7. Services (hover invert) ---------------------------------- */
.services { display: grid; grid-template-columns: 1fr; }
.svc { display: grid; gap: 14px; padding: 26px var(--gutter) 30px; border-bottom: 1px solid var(--line); min-height: 240px; align-content: space-between; transition: background .12s, color .12s; }
.svc:hover { background: var(--ink); color: var(--paper); }
.svc:hover .mute { color: #b5b5ad; }
.svc h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(2.8rem, 5.2vw, 4.6rem); line-height: .86; text-transform: uppercase; }
.svc p { font-size: .98rem; max-width: 34ch; }
.svc .go { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.svc:hover .go { color: var(--accent); }

/* 8. Numbers --------------------------------------------------- */
.nums { display: grid; grid-template-columns: 1fr 1fr; }
.num { padding: 22px var(--gutter) 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.num:nth-child(2n) { border-right: 0; }
.num b { display: block; white-space: nowrap; font-family: var(--mono); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -.04em; line-height: 1; }
.num span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--mute); max-width: 26ch; }

/* 9. Split CTA ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.split-img { position: relative; min-height: 340px; overflow: hidden; border-bottom: 1px solid var(--line); }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease); }
.split:hover .split-img img { filter: none; }
.split-text { padding: calc(var(--gutter) * 1.5) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.split-text h2 { font-size: clamp(4rem, 12vw, 9rem); }
.split-text p { max-width: 44ch; color: var(--ink-2); }

/* 10. Listing page -------------------------------------------- */
.page-title { padding: calc(var(--gutter) * 1.4) var(--gutter) var(--gutter); border-bottom: 1px solid var(--line); display: grid; gap: 18px; }
.page-title h1 { font-size: clamp(4.2rem, 17vw, 12rem); line-height: .94; }
.page-title p { max-width: 52ch; color: var(--ink-2); }
.filters { position: sticky; top: calc(var(--demo-h) + var(--head-h)); z-index: 30; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-bottom: 1px solid var(--line); }
.filters > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters .s-field select { font-size: 18px; }
.filters .s-toggle { grid-column: 1 / -1; }
.results-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.results-bar button { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.results-bar button:hover { color: var(--accent); }
.card[hidden] { display: none; }
.empty { display: none; padding: 60px var(--gutter); text-align: center; border-bottom: 1px solid var(--line); }
.empty.is-visible { display: block; }
.empty b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: 56px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }

/* 11. Property detail ----------------------------------------- */
.crumbs { padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--accent); }
.prop-head { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.prop-head > div { padding: var(--gutter); }
.prop-head h1 { font-size: clamp(3.4rem, 10vw, 8rem); margin: 14px 0 12px; }
.prop-price { border-top: 1px solid var(--line); display: grid; align-content: end; gap: 6px; }
.prop-price .price { font-size: clamp(2.6rem, 5.2vw, 4.6rem); white-space: nowrap; }
.gallery { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.g-main { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8e8e4; border-bottom: 1px solid var(--line); }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-count { position: absolute; right: 0; bottom: 0; background: var(--paper); border-left: 1px solid var(--line); border-top: 1px solid var(--line); padding: 8px 12px; }
.g-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); }
.g-thumbs button { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-right: 1px solid var(--line); }
.g-thumbs button:last-child { border-right: 0; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.g-thumbs button:hover img, .g-thumbs button[aria-pressed="true"] img { filter: none; }
.g-thumbs button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 4px var(--accent); }
.prop-body { display: grid; grid-template-columns: 1fr; }
.prop-main { border-bottom: 1px solid var(--line); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.spec { padding: 14px var(--gutter); border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.spec:nth-child(2n) { border-right: 0; }
.spec b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.energy { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-family: var(--mono); font-weight: 500; color: #fff; }
.e-A { background: #1a9641; } .e-B { background: #52b151; } .e-C { background: #a6d96a; color: var(--ink); } .e-D { background: #f6e43b; color: var(--ink); } .e-E { background: #fdae61; color: var(--ink); }
.desc { padding: var(--gutter); display: grid; gap: 1em; max-width: 72ch; font-size: 1.05rem; }
.feats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.feats li { padding: 12px var(--gutter); border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 13px; text-transform: uppercase; display: flex; gap: 12px; }
.feats li::before { content: "■"; color: var(--accent); }
.mortgage { padding: var(--gutter); border-top: 1px solid var(--line); display: grid; gap: 6px; }
.mortgage b { font-family: var(--mono); font-weight: 500; font-size: 30px; letter-spacing: -.03em; }
.visit { padding: var(--gutter); display: grid; gap: 16px; align-content: start; }
.visit h2 { font-size: 3.4rem; }

/* 12. Forms ---------------------------------------------------- */
.form { display: grid; gap: 14px; }
.form[hidden] { display: none; }
.field { display: grid; gap: 4px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--ink); background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; }
.field select { padding-right: 34px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0b' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field.is-invalid input, .field.is-invalid select { border-color: #d40000; box-shadow: inset 0 0 0 1px #d40000; }
.field .err { font-family: var(--mono); font-size: 11.5px; color: #d40000; min-height: 1em; text-transform: uppercase; }
.form-row { display: grid; gap: 14px; }
.form .btn { width: 100%; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.note { font-family: var(--mono); font-size: 11.5px; color: var(--mute); text-transform: uppercase; }
.success { display: none; border: 1px solid var(--ink); padding: 22px; gap: 12px; }
.success.is-visible { display: grid; }
.success b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: 48px; line-height: .9; text-transform: uppercase; }
.success b::before { content: "■ "; color: var(--accent); }

/* 13. Vender / Estudio ----------------------------------------- */
.steps { display: grid; grid-template-columns: 1fr; }
.step { padding: 22px var(--gutter) 28px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.step .n { font-family: var(--mono); font-size: 48px; line-height: 1; color: var(--accent); }
.step h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: 30px; text-transform: uppercase; line-height: 1; }
.step p { color: var(--ink-2); font-size: .98rem; }
.fee { padding: calc(var(--gutter) * 1.4) var(--gutter); border-bottom: 1px solid var(--line); display: grid; gap: 14px; background: var(--accent); }
.fee h2 { font-size: clamp(4rem, 14vw, 10rem); }
.fee p { max-width: 50ch; }
.two { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.two > * { padding: var(--gutter); }
.two > * + * { border-top: 1px solid var(--line); }
.two h2 { font-size: clamp(3rem, 8vw, 5.6rem); margin-bottom: 16px; }
.team { display: grid; grid-template-columns: 1fr 1fr; }
.member { padding: 18px var(--gutter); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.member:nth-child(2n) { border-right: 0; }
.member b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: 24px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.hours li.is-today { color: var(--accent); }
.hours li.is-today span:first-child::after { content: " ← hoy"; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--ink); margin-bottom: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.status i { width: 8px; height: 8px; background: var(--mute); }
.status.is-open i { background: var(--accent); }
.wide-img { position: relative; aspect-ratio: 21 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.wide-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.credits li { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.credits strong { font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 800; text-transform: uppercase; font-size: 18px; }
.credits a { text-decoration: underline; text-underline-offset: 3px; }
.credits a:hover { color: var(--accent); }

/* 14. Footer --------------------------------------------------- */
.foot { border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; }
.foot-grid > div { padding: 18px var(--gutter) 22px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 14px; }
.foot-grid > div:nth-child(2n) { border-right: 0; }
.foot-grid h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.foot-grid a:hover { color: var(--accent); }
.foot-big { padding: var(--gutter); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.foot-big span.display { font-size: clamp(3.6rem, 12vw, 9rem); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px var(--gutter) 22px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--mute); }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* 15. Reveal --------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal-all [data-reveal], .reveal-all .hero-title .ln span { opacity: 1 !important; transform: none !important; }
.reveal[data-split] { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* 16. Responsive ----------------------------------------------- */
@media (min-width: 540px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .grid > * { border-right: 1px solid var(--line); }
  .grid > *:nth-child(2n) { border-right: 0; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feats li:nth-child(odd) { border-right: 1px solid var(--line-soft); }
}
@media (min-width: 720px) {
  .search { grid-template-columns: 1.3fr repeat(3, 1fr) auto; }
  .search > * { border-bottom: 0; }
  .search .btn { grid-column: auto; min-width: 200px; }
  .search > *:last-child { border-right: 0; }
  .filters { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .filters > * { border-bottom: 0; }
  .filters .s-toggle { grid-column: auto; }
  .filters > *:last-child { border-right: 0; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:nth-child(odd) { border-right: 1px solid var(--line); }
  .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .num:nth-child(2n) { border-right: 1px solid var(--line); }
  .num:last-child { border-right: 0; }
  .num { border-bottom: 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step + .step { border-left: 1px solid var(--line); }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
  .spec:nth-child(2n) { border-right: 1px solid var(--line-soft); }
  .spec:nth-child(4n) { border-right: 0; }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .foot-grid > div:last-child { border-right: 0; }
  .team { grid-template-columns: repeat(4, 1fr); }
  .member:nth-child(2n) { border-right: 1px solid var(--line); }
  .member:last-child { border-right: 0; }
}
@media (min-width: 960px) {
  :root { --head-h: 68px; }
  .nav { display: flex; }
  .clock, .head-cta { display: flex; }
  .burger, .menu { display: none !important; }
  .hero { grid-template-columns: 8fr 4fr; min-height: calc(100svh - var(--demo-h) - var(--head-h) - 90px); }
  .hero-img { border-top: 0; border-left: 1px solid var(--line); }
  .hero-title { font-size: clamp(7rem, 15.5vw, 15.5rem); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid > *:nth-child(2n) { border-right: 1px solid var(--line); }
  .grid > *:nth-child(3n) { border-right: 0; }
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc { border-right: 1px solid var(--line); border-bottom: 0; min-height: 340px; }
  .svc:last-child { border-right: 0; }
  .split { grid-template-columns: 1fr 1fr; }
  .split-img { border-bottom: 0; border-right: 1px solid var(--line); min-height: 560px; }
  .prop-head { grid-template-columns: 8fr 4fr; }
  .prop-price { border-top: 0; border-left: 1px solid var(--line); }
  .gallery { grid-template-columns: 8fr 4fr; height: min(72vh, 640px); }
  .gallery > * { min-height: 0; }
  .g-main { aspect-ratio: auto; height: 100%; }
  .g-main img { position: absolute; inset: 0; }
  .g-main { border-bottom: 0; border-right: 1px solid var(--line); }
  .g-thumbs { grid-template-columns: 1fr; grid-auto-rows: 1fr; height: 100%; }
  .g-thumbs img { position: absolute; inset: 0; }
  .g-thumbs button { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: auto; }
  .g-thumbs button:last-child { border-bottom: 0; }
  .prop-body { grid-template-columns: 8fr 4fr; }
  .prop-main { border-bottom: 0; border-right: 1px solid var(--line); }
  .visit { position: sticky; top: calc(var(--demo-h) + var(--head-h)); align-self: start; }
  .two { grid-template-columns: 1fr 1fr; }
  .two > * + * { border-top: 0; border-left: 1px solid var(--line); }
}

/* 17. Reduced motion — only the intrusive bits ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 90s; }
}
