/* =========================================================================
   M13 Property — design system
   Palette derives from the brand mark: ink (#0b1018, the original theme
   colour) plus a brass accent that reads as warm on the Costa del Sol
   photography and as metallic against the alpine interiors.
   ========================================================================= */

/* ------------------------------------------------------------ 1. tokens */

:root {
  /* colour */
  --ink: #0b1018;
  --ink-2: #131a26;
  --ink-3: #1d2634;
  --paper: #ffffff;
  --bone: #faf8f5;
  --sand: #f2ede5;
  --line: #e5ded2;
  --line-soft: #efe9df;
  --brass: #8d6733;          /* 5.1:1 on white — AA for small text */
  --brass-hi: #c9a46b;
  --brass-soft: #e9dcc5;
  --text: #14181f;
  --muted: #5b6472;
  --muted-light: rgba(255, 255, 255, 0.68);

  /* type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --fs-eyebrow: 0.72rem;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3.4rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 3.6vw, 4.75rem);

  /* space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 78rem;
  --section-y: clamp(4rem, 8vw, 8rem);
  --radius: 2px;
  --radius-lg: 4px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  --header-h: 84px;
}

/* -------------------------------------------------------------- 2. base */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv05' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

/* Any <picture> rendered with a declared ratio crops to that box, so grids of
   cards stay aligned regardless of the source photograph's proportions. */
.picture--fit { aspect-ratio: var(--ratio); overflow: hidden; }
.picture--fit img { width: 100%; height: 100%; object-fit: cover; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

address { font-style: normal; }

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--brass); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}

.u-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Inline by default — the reset makes every svg a block, which would push an
   icon sitting inside a text link onto a line of its own. Flex and grid
   children blockify anyway, so this is safe everywhere else. */
.icon { display: inline-block; vertical-align: -0.125em; width: 1em; height: 1em; flex: none; }

/* ------------------------------------------------------------ 3. layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 48rem; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--tint { background: var(--bone); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__foot { margin-top: clamp(2rem, 4vw, 3.5rem); display: flex; justify-content: center; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

/* --------------------------------------------------------- 4. typography */

.eyebrow {
  margin: 0 0 1rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow--light { color: var(--brass-hi); }
.section--dark .eyebrow { color: var(--brass-hi); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.section-head__title { font-size: var(--fs-h2); }
.section-head__lead {
  margin: 1.15rem 0 0;
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 42rem;
}
.section--dark .section-head__lead { color: var(--muted-light); }
.section-head--center .section-head__lead { margin-inline: auto; }

.prose { color: var(--muted); }
.prose p + p { margin-top: 1.05em; }
.prose--lg { font-size: var(--fs-lead); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.prose a:hover { color: var(--brass); }
.prose h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  color: var(--text);
  margin: 2.25em 0 0.6em;
}
.prose h2:first-child { margin-top: 0; }

/* ----------------------------------------------------------- 5. buttons */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--accent { --btn-bg: var(--brass); --btn-bd: var(--brass); }
.btn--accent:hover { --btn-bg: #6f4f26; --btn-bd: #6f4f26; }

.btn--primary:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: var(--ink); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.12); --btn-bd: #fff; }

.btn--text {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: transparent;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--brass);
  border-radius: 0;
  font-weight: 500;
}
.btn--text:hover { --btn-fg: var(--brass); transform: none; }
.section--dark .btn--text { --btn-fg: #fff; }

.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; justify-content: center; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.badge--sale { background: var(--brass); color: #fff; }
.badge--managed { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------ 6. header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.site-header__brand { display: flex; align-items: center; margin-right: auto; color: var(--ink); }
.site-header__logo { width: auto; height: 34px; }

.site-nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  pointer-events: none;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav__link.is-active { color: var(--brass); }

.site-header__actions { display: flex; align-items: center; gap: clamp(0.75rem, 1.6vw, 1.25rem); }

.lang {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.lang__item {
  position: relative;
  padding: 0.25rem 0;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.lang__item:hover { color: var(--text); }
/* The active language is marked by weight and a hairline under the word —
   nothing that can collide with the separator beside it. */
.lang__item.is-current { color: var(--text); font-weight: 700; }
.lang__item.is-current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
}
.lang__sep {
  width: 1px;
  height: 0.9em;
  background: var(--line);
  flex: none;
}

/* transparent header over a hero image */
.site-header--over {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-color: transparent;
  color: #fff;
}
.site-header--over .site-header__brand,
.site-header--over .site-nav__link { color: #fff; }
.site-header--over .site-nav__link.is-active { color: var(--brass-hi); }
.site-header--over .lang__item { color: rgba(255, 255, 255, 0.72); }
.site-header--over .lang__item:hover { color: #fff; }
.site-header--over .lang__item.is-current { color: #fff; }
.site-header--over .lang__item.is-current::after { background: var(--brass-hi); }
.site-header--over .lang__sep { background: rgba(255, 255, 255, 0.32); }
.site-header--over .burger { color: #fff; }
.site-header--over .btn--accent { --btn-bg: var(--brass); --btn-bd: var(--brass); }

.site-header--over.is-stuck {
  background: rgba(11, 16, 24, 0.92);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.site-header.is-stuck:not(.site-header--over) { box-shadow: 0 1px 24px rgba(11, 16, 24, 0.07); }

.burger { display: none; padding: 0.4rem; color: var(--text); }
.burger__box { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; }
.burger__box > * { grid-area: 1 / 1; width: 1.5rem; height: 1.5rem; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.burger__icon--close { opacity: 0; transform: rotate(-45deg); }
body.is-drawer-open .burger__icon--open { opacity: 0; transform: rotate(45deg); }
body.is-drawer-open .burger__icon--close { opacity: 1; transform: rotate(0); }

/* ------------------------------------------------------------ 7. drawer */

.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 24, 0.6);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(24rem, 100%);
  background: var(--paper);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
/* Focused programmatically when the drawer opens; the ring would otherwise
   appear for touch users, who never asked for it. */
.drawer__panel:focus { outline: none; }

.drawer__nav > ul { display: flex; flex-direction: column; }
/* The rule separates top-level entries, so it sits on the list item — a
   service group stays one block instead of being split from its own children. */
.drawer__nav > ul > li + li { border-top: 1px solid var(--line-soft); }
.drawer__nav > ul > li > a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  transition: color var(--dur) var(--ease);
}
.drawer__nav > ul > li > a:hover,
.drawer__nav > ul > li > a:active { color: var(--brass); }

.drawer__sub { display: flex; flex-direction: column; padding: 0 0 0.9rem; }
.drawer__sub a {
  display: block;
  padding: 0.42rem 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.drawer__sub a:hover,
.drawer__sub a:active { color: var(--brass); }
.drawer__foot { display: grid; gap: 1rem; }
.drawer__mail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* --------------------------------------------------------------- 8. hero */

.hero {
  position: relative;
  min-height: min(100svh, 60rem);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 4rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media .picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(11, 16, 24, 0.92) 0%, rgba(11, 16, 24, 0.6) 42%, rgba(11, 16, 24, 0.32) 68%, rgba(11, 16, 24, 0.62) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  text-shadow: 0 1px 30px rgba(11, 16, 24, 0.4);
}
.hero .eyebrow--light { color: #f2e5cd; }
.hero__title {
  font-size: var(--fs-h1);
  max-width: 18ch;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero__lead {
  max-width: 44ch;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 8vw, 7rem);
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero__scroll-line { display: block; width: 3.5rem; height: 1px; background: currentColor; transform-origin: left; animation: scrollLine 2.6s var(--ease) infinite; }
@keyframes scrollLine { 0%, 100% { transform: scaleX(0.35); } 50% { transform: scaleX(1); } }

@media (min-width: 900px) { .hero__scroll { display: flex; } }

.strip { background: var(--ink); color: rgba(255, 255, 255, 0.78); }
.strip__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem clamp(1rem, 3vw, 2.5rem);
  font-size: var(--fs-small);
}
.strip__label {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-hi);
}
.strip__list { display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1rem, 3vw, 2.25rem); }
.strip__list li { position: relative; padding-left: 1.1rem; }
.strip__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* -------------------------------------------------------- 9. home blocks */

.intro { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 62rem) { .intro { grid-template-columns: 1fr 1fr; align-items: start; } }
.intro .section-head { margin-bottom: 1.75rem; }
.intro__lede .btn--text { margin-top: 1.75rem; }

.pillars { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 34rem) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
.pillar__num {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brass);
}
.pillar__title { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.pillar__text { margin: 0; font-size: var(--fs-small); color: var(--muted); }

.svc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 40rem) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: var(--bone); transition: background var(--dur) var(--ease); }
.svc:hover { background: var(--paper); }
.svc__link { display: flex; flex-direction: column; height: 100%; padding: clamp(1.75rem, 3vw, 2.5rem); }
.svc__icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass);
  font-size: 1.25rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc:hover .svc__icon { background: var(--brass); border-color: var(--brass); color: #fff; }
.svc__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.svc__text { margin: 0 0 1.5rem; font-size: var(--fs-small); color: var(--muted); }
.svc__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--brass);
}
.svc__arrow { transition: transform var(--dur) var(--ease); }
.svc:hover .svc__arrow { transform: translateX(4px); }

.markets { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 56rem) { .markets { grid-template-columns: 1fr 1fr; } }
.market { border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.market__media { overflow: hidden; }
.market__media img { width: 100%; transition: transform 0.8s var(--ease); }
.market:hover .market__media img { transform: scale(1.04); }
.market__body { padding: clamp(1.5rem, 3vw, 2.5rem); flex: 1; display: flex; flex-direction: column; }
.market__icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin: -3.6rem 0 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--brass);
  position: relative;
}
.market__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 400; letter-spacing: -0.015em; }
.market__place {
  display: flex; align-items: center; gap: 0.45rem;
  margin: 0.4rem 0 1rem;
  font-size: var(--fs-small);
  color: var(--brass);
}
.market__text { color: var(--muted); font-size: 0.9875rem; margin-bottom: 1.5rem; }
.market .ticks { margin-top: auto; }

.ticks { display: grid; gap: 0.7rem; }
.ticks li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-small); color: var(--muted); }
.ticks--lg li { font-size: var(--fs-body); }
.ticks .tick { margin-top: 0.42em; color: var(--brass); font-size: 0.9em; }
.section--dark .ticks li { color: var(--muted-light); }
@media (min-width: 40rem) { .ticks--two { grid-template-columns: 1fr 1fr; gap: 0.7rem 1.75rem; } }

.steps { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.14); }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ink); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.step__num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--brass-hi);
}
.step__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.step__text { margin: 0; font-size: var(--fs-small); color: var(--muted-light); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { width: 100%; }
.split__body .section-head { margin-bottom: 1.5rem; }
.split__body .ticks { margin-top: 2rem; }
.split__stamp {
  position: absolute;
  right: -0.75rem;
  bottom: -0.75rem;
  width: clamp(5rem, 10vw, 7.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--brass);
  color: #fff;
}
.split__mark { width: 46%; }

.promises { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 52rem) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { text-align: center; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); }
.promise__icon {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--brass-soft);
  color: var(--brass);
}
.promise__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.promise__text { margin: 0; font-size: var(--fs-small); color: var(--muted); }

.faq { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .faq { grid-template-columns: 0.85fr 1.15fr; } }
.faq__head .section-head { margin-bottom: 1.25rem; }
.faq__aside { font-size: var(--fs-small); color: var(--muted); }
.faq__aside a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--brass); }
.qa__chevron { color: var(--brass); transition: transform 0.3s var(--ease); font-size: 1.1rem; }
.qa[open] .qa__chevron { transform: rotate(180deg); }
.qa__a { padding-bottom: 1.5rem; color: var(--muted); max-width: 52ch; }
.qa__a p { margin: 0; }

.cta-band {
  background: var(--ink);
  color: #fff;
  background-image: radial-gradient(90rem 40rem at 80% -20%, rgba(201, 164, 107, 0.22), transparent 60%);
}
.cta-band__inner {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
  text-align: center;
}
.cta-band__title { font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-band__text { color: var(--muted-light); font-size: var(--fs-lead); margin-bottom: 2.25rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* --------------------------------------------------------- 10. page hero */

.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  isolation: isolate;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media .picture, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(11, 16, 24, 0.94), rgba(11, 16, 24, 0.72) 55%, rgba(11, 16, 24, 0.5));
}
.page-hero:not(.page-hero--image) {
  background-image: radial-gradient(70rem 34rem at 12% -30%, rgba(201, 164, 107, 0.24), transparent 62%);
}
.page-hero__inner { max-width: var(--container); margin-inline: auto; }
.page-hero__title { font-size: var(--fs-h1); max-width: 20ch; text-wrap: balance; }
.page-hero__lead { margin: 1.35rem 0 0; max-width: 48ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.8); }

.crumbs { padding: 1.25rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--line); }
.crumbs a:hover { color: var(--brass); }
.crumbs [aria-current] { color: var(--text); }

/* ----------------------------------------------------------- 11. cards */

.card { background: var(--paper); border: 1px solid var(--line); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { border-color: var(--brass); transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(11, 16, 24, 0.4); }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; overflow: hidden; }
.card__media img { width: 100%; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__status { position: absolute; top: 1rem; left: 1rem; }
.card__body { padding: clamp(1.35rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.card__place { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.6rem; font-size: 0.8125rem; color: var(--brass); }
.card__pin { font-size: 0.95em; }
.card__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.card__text { margin: 0 0 1.25rem; font-size: var(--fs-small); color: var(--muted); }
.card__cta {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 500;
}
.card__arrow { transition: transform var(--dur) var(--ease); }
.card:hover .card__arrow { transform: translateX(4px); }

.facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.facts__item { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); color: var(--muted); }
.facts__icon { color: var(--brass); font-size: 1.05em; }
.facts__value { font-weight: 600; color: var(--text); }
.facts--compact { margin-bottom: 1.25rem; }
.facts:not(.facts--compact) {
  gap: 0;
  border: 1px solid var(--line);
}
.facts:not(.facts--compact) .facts__item {
  flex: 1 1 8rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.1rem 1.35rem;
}
.facts:not(.facts--compact) .facts__item + .facts__item { border-left: 1px solid var(--line); }
.facts:not(.facts--compact) .facts__value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }
.facts__label { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------------------------------------------------------- 12. filters */

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.filters__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.filters__group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  color: var(--muted);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--text); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__count { margin: 0 0 0 auto; font-size: var(--fs-small); color: var(--muted); }
.filters__empty { padding: 3rem 0; text-align: center; color: var(--muted); }
.card.is-hidden { display: none; }

/* -------------------------------------------------- 13. property detail */

.prop-hero { position: relative; }
.prop-hero__media img { width: 100%; max-height: 68svh; object-fit: cover; }
.prop-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  position: relative;
  margin-top: clamp(-6rem, -5vw, -3rem);
}
.prop-hero__panel {
  display: inline-block;
  max-width: min(100%, 42rem);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2.25rem);
  background: var(--paper);
}
.prop-hero__title {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);
  margin: 0.9rem 0 0.6rem;
  text-wrap: balance;
}
.prop-hero__place {
  display: flex; align-items: center; gap: 0.45rem;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--brass);
}

.prop { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 62rem) { .prop { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr); } }
.prop__facts { margin-bottom: clamp(2rem, 4vw, 3rem); }
.prop__h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 2.5rem 0 1.1rem; }
.prop__main > .prose:first-of-type + .prop__h2 { margin-top: 2.5rem; }

.rooms { font-size: var(--fs-small); }
.rooms th, .rooms td { padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.rooms th { font-weight: 500; color: var(--muted); }
.rooms td { text-align: right; font-weight: 600; }

.prop__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.prop-card { border: 1px solid var(--line); background: var(--bone); padding: clamp(1.5rem, 3vw, 2rem); }
.prop-card__ref { margin: 0 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prop-card__price { font-family: var(--font-display); font-size: 2rem; margin: 0 0 1.5rem; }
.prop-card__list { margin: 0 0 1.5rem; display: grid; gap: 0.75rem; }
.prop-card__list > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.prop-card__list dt { color: var(--muted); }
.prop-card__list dd { margin: 0; font-weight: 600; text-align: right; }
.prop-card__text { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.25rem; }
.prop-card .btn { width: 100%; justify-content: center; }
.prop-card__managed { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 1.25rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.prop-card__managed .icon { color: var(--brass); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 0.75rem; }
.gallery__item { overflow: hidden; border: 1px solid var(--line); }
.gallery__item img { width: 100%; transition: transform 0.6s var(--ease), opacity var(--dur) var(--ease); }
.gallery__item:hover img { transform: scale(1.06); opacity: 0.9; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(11, 16, 24, 0.95);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: grid; place-items: center; height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: 88svh; object-fit: contain; }
.lightbox__nav, .lightbox__close { color: #fff; padding: 0.75rem; font-size: 1.5rem; opacity: 0.7; transition: opacity var(--dur) var(--ease); }
.lightbox__nav:hover, .lightbox__close:hover { opacity: 1; }
.lightbox__nav--prev { transform: rotate(180deg); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }

/* ------------------------------------------------- 14. services detail */

.svc-jump { border-bottom: 1px solid var(--line); background: var(--paper); }
.svc-jump ul { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 0.9rem 0; }
.svc-jump ul::-webkit-scrollbar { display: none; }
@media (min-width: 64rem) { .svc-jump ul { flex-wrap: wrap; overflow: visible; } }
.svc-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  color: var(--muted);
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.svc-jump a:hover { border-color: var(--ink); color: var(--text); }
.svc-jump .icon { color: var(--brass); }

.svc-detail { scroll-margin-top: calc(var(--header-h) + 4rem); }
.svc-detail__badge {
  position: absolute;
  top: 0; left: 0;
  padding: 0.75rem 1rem;
  background: var(--brass);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}
.svc-detail__icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass);
  font-size: 1.25rem;
}
.svc-detail__title { font-family: var(--font-display); font-size: var(--fs-h2); margin-bottom: 0.75rem; }
.svc-detail__summary { font-size: var(--fs-lead); color: var(--text); margin-bottom: 1.25rem; max-width: 40ch; }
.svc-detail .ticks { margin: 2rem 0; }

/* ------------------------------------------------------------- 15. about */

.numbers { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.14); }
@media (min-width: 40rem) { .numbers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.number { background: var(--ink); padding: clamp(1.75rem, 3vw, 2.5rem); text-align: center; }
.number__value { display: block; font-family: var(--font-display); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; color: var(--brass-hi); }
.number__label { display: block; margin-top: 0.75rem; font-size: var(--fs-small); color: var(--muted-light); }

.values { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 40rem) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2rem); }
.value__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1.25rem; border-radius: 50%; background: var(--brass-soft); color: var(--brass); }
.value__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.value__text { margin: 0; font-size: var(--fs-small); color: var(--muted); }

.office-card { display: grid; gap: 0.9rem; margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--bone); font-size: var(--fs-small); }
.office-card p { display: flex; gap: 0.7rem; margin: 0; color: var(--muted); }
.office-card .icon { margin-top: 0.3em; color: var(--brass); }
.office-card a:hover { color: var(--brass); }

/* ------------------------------------------------------------ 16. forms */

.contact { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 62rem) { .contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); } }
.contact__h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin-bottom: 1.75rem; }

/* One grid for every short field, so inputs and selects are always the same
   width and sit on the same baseline. The last field spans the empty cell. */
.form__grid { display: grid; gap: 0 1.25rem; align-items: start; }
@media (min-width: 34rem) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__grid > .field:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.field { margin: 0 0 1.25rem; display: grid; gap: 0.45rem; }
.field__label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }
.field__req { color: var(--brass); margin-left: 0.2em; }
.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(141, 103, 51, 0.16);
}
.field__input--area { resize: vertical; min-height: 8rem; font-family: inherit; }
/* Same computed height for text inputs and selects regardless of UA defaults. */
.field__input:not(.field__input--area) { line-height: 1.5; }
.field__input::placeholder { color: #6b7280; }
.field__select { position: relative; display: block; }
.field__select select {
  appearance: none;
  padding-right: 2.75rem;
  /* Selects inherit a UA line-height; pin it so they match the inputs. */
  line-height: 1.5;
  height: auto;
}
.field__chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field__error { font-size: 0.8125rem; color: #b3261e; min-height: 0; }
.field.has-error .field__input { border-color: #b3261e; }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; margin-bottom: 1.75rem; }
.field--check label { font-size: var(--fs-small); color: var(--muted); }
.field--check label a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.field--check .field__error { grid-column: 1 / -1; }
.check { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--brass); }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { font-size: 0.8125rem; color: var(--muted); }
.form__success {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--brass);
  background: var(--brass-soft);
  font-size: var(--fs-small);
}
.form__success[hidden] { display: none; }
.form__success-icon { color: var(--brass); }
.form.is-sending .btn { opacity: 0.6; pointer-events: none; }

.contact__details { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--bone); }
.contact__details li { display: grid; gap: 0.35rem; font-size: var(--fs-small); }
.contact__key { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__key .icon { color: var(--brass); font-size: 1.15em; }
.contact__details a:hover { color: var(--brass); }
.contact__map {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  font-size: var(--fs-small);
  transition: border-color var(--dur) var(--ease);
}
.contact__map:hover { border-color: var(--brass); }
.contact__map .icon:first-child { color: var(--brass); }
.contact__map .icon:last-child { margin-left: auto; }

/* ------------------------------------------------- 17. legal / not found */

.legal h2:first-of-type { margin-top: 0; }
.legal__intro { padding: 1.25rem 1.5rem; background: var(--bone); border-left: 2px solid var(--brass); color: var(--text); }
.legal__todo {
  padding: 0.9rem 1.1rem;
  background: #fff8e6;
  border: 1px dashed #d8b25f;
  color: #6b5320;
  font-size: var(--fs-small);
}

.notfound { text-align: center; padding-block: clamp(5rem, 12vw, 10rem); }
.notfound__title { font-size: var(--fs-h1); margin-bottom: 1rem; }
.notfound__text { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 2.25rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ------------------------------------------------------------ 18. footer */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: var(--fs-small); }
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 44rem) { .site-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .site-footer__inner { grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; } }
.site-footer__logo { width: auto; height: 74px; color: #fff; }
.site-footer__blurb { margin: 1.5rem 0; max-width: 30ch; }
.site-footer__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer__col ul { display: grid; gap: 0.65rem; }
.site-footer__col a { transition: color var(--dur) var(--ease); }
.site-footer__col a:hover { color: var(--brass-hi); }
.site-footer__address { line-height: 1.7; margin-bottom: 1.25rem; }
.site-footer__address strong { color: #fff; font-weight: 600; }
.site-footer__contact { display: grid; gap: 0.6rem; }
.site-footer__contact a { display: flex; align-items: center; gap: 0.55rem; }
.site-footer__contact .icon { color: var(--brass-hi); }
.site-footer .lang { margin-top: 0.5rem; }
.site-footer .lang__item { color: rgba(255, 255, 255, 0.62); }
.site-footer .lang__item:hover { color: #fff; }
.site-footer .lang__item.is-current { color: #fff; }
.site-footer .lang__item.is-current::after { background: var(--brass-hi); }
.site-footer .lang__sep { background: rgba(255, 255, 255, 0.28); }

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__bar {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.8125rem;
}
.site-footer__bar p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.25rem; }
.site-footer__legal a:hover { color: var(--brass-hi); }
.site-footer__top { display: flex; align-items: center; gap: 0.45rem; margin-left: auto; }
.site-footer__top:hover { color: var(--brass-hi); }

/* ------------------------------------------------------------ 19. motion */

/* Reveals only apply once the inline head script has flagged JS support, so a
   browser without JS (or with the script blocked) never hides content. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- 20. responsive */

@media (max-width: 63.99rem) {
  :root { --header-h: 70px; }
  .site-nav, .site-header__cta { display: none; }
  .burger { display: block; }
  .prop__aside { position: static; }
}

@media (max-width: 43.99rem) {
  .prop-hero__inner { margin-top: -2.5rem; }
  .facts:not(.facts--compact) .facts__item + .facts__item { border-left: 0; border-top: 1px solid var(--line); }
  .facts:not(.facts--compact) { flex-direction: column; }
}

/* ------------------------------------------------------------- 21. print */

@media print {
  .site-header, .drawer, .cta-band, .hero__scroll, .site-footer__top, .filters, .lightbox { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}

/* =========================================================================
   22. Services — overview list, submenu and the six detail pages
   ========================================================================= */

/* ------------------------------------------------------------- submenu */

.site-nav__item.has-sub { position: relative; }
.site-nav__item.has-sub > .site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.site-nav__caret {
  font-size: 0.62em;
  opacity: 0.6;
  transform-origin: center;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.site-nav__item.has-sub:hover .site-nav__caret,
.site-nav__item.has-sub:focus-within .site-nav__caret { opacity: 1; }
.site-nav__item.has-sub:hover .site-nav__caret,
.site-nav__item.has-sub:focus-within .site-nav__caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  width: min(30rem, 90vw);
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(11, 16, 24, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.site-nav__item.has-sub:hover .submenu,
.site-nav__item.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
/* Bridge the gap between the trigger and the panel so the pointer can cross. */
.site-nav__item.has-sub::after {
  content: '';
  position: absolute;
  inset: 100% 0 auto;
  height: 0.75rem;
}
.submenu__list { display: grid; gap: 1px; }
@media (min-width: 48rem) { .submenu__list { grid-template-columns: 1fr 1fr; } }
.submenu__link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  transition: background var(--dur) var(--ease);
}
.submenu__link:hover { background: var(--bone); }
.submenu__icon { color: var(--brass); font-size: 1.1rem; margin-top: 0.15rem; }
.submenu__text { display: grid; gap: 0.1rem; }
.submenu__text strong { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.submenu__text em { font-style: normal; font-size: 0.78rem; color: var(--muted); }
.submenu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.75rem 0.8rem 0.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--brass);
}
.submenu__all:hover .icon { transform: translateX(4px); }
.submenu__all .icon { transition: transform var(--dur) var(--ease); }



/* -------------------------------------------------- overview: service rows */

.svc-list { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.svc-row { display: grid; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
@media (min-width: 60rem) {
  .svc-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  /* Mirrored rows swap the column widths too, so every photograph is the
     same size whichever side it sits on. */
  .svc-row:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .svc-row:nth-child(even) .svc-row__media { order: 2; }
}
.svc-row + .svc-row { padding-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.svc-row__media { position: relative; display: block; overflow: hidden; }
.svc-row__media img { transition: transform 0.8s var(--ease); }
.svc-row:hover .svc-row__media img { transform: scale(1.04); }
.svc-row__num {
  position: absolute;
  top: 0; left: 0;
  padding: 0.6rem 0.9rem;
  background: var(--brass);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}
.svc-row__icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass);
}
.svc-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.svc-row__title a { transition: color var(--dur) var(--ease); }
.svc-row:hover .svc-row__title a { color: var(--brass); }
.svc-row__summary { font-size: var(--fs-lead); color: var(--muted); margin-bottom: 1.5rem; max-width: 46ch; }
.svc-row__points { margin-bottom: 1.75rem; }
.svc-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--brass);
  font-size: var(--fs-small);
  font-weight: 500;
}
.svc-row__cta .icon { transition: transform var(--dur) var(--ease); }
.svc-row:hover .svc-row__cta .icon { transform: translateX(4px); }

.svc-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  max-width: 52rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--bone);
  border-left: 2px solid var(--brass);
  font-size: var(--fs-small);
  color: var(--muted);
}
.svc-note .icon { margin-top: 0.25em; color: var(--brass); }

/* ------------------------------------------------- service detail page */

.svc-hero .eyebrow a { text-decoration: underline; text-underline-offset: 3px; }
.svc-hero .eyebrow a:hover { color: #fff; }
.svc-hero .eyebrow span { margin: 0 0.4rem; opacity: 0.5; }

.block-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.block-title--light { color: #fff; }

.svc-lede { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 60rem) { .svc-lede { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr); } }

.glance { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--bone); }
.glance__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.glance dl { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.glance dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.2rem;
}
.glance dd { margin: 0; font-size: var(--fs-small); color: var(--text); }
.glance dl > div + div { padding-top: 1rem; border-top: 1px solid var(--line); }
.glance .btn { width: 100%; justify-content: center; }

.covers { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 52rem) { .covers { grid-template-columns: 1fr 1fr; } }
.cover { background: var(--bone); padding: clamp(1.5rem, 3vw, 2.5rem); }
.cover__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brass);
}
.cover__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.cover__text { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.25rem; }

.regions { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 52rem) { .regions { grid-template-columns: 1fr 1fr; } }
.region { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); }
.region--ch { background: var(--bone); }
.region__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.region__icon {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--brass-soft);
  color: var(--brass);
  flex: none;
}
.region__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.region__text { color: var(--muted); font-size: 0.9875rem; margin-bottom: 1.35rem; }

.delivers { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 40rem) { .delivers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .delivers { grid-template-columns: repeat(4, 1fr); } }
.deliver { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.35rem, 2.5vw, 1.85rem); }
.deliver__icon {
  display: grid;
  place-items: center;
  width: 2.35rem; height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brass-soft);
  color: var(--brass);
}
.deliver__title { font-size: 1rem; margin-bottom: 0.4rem; }
.deliver__text { margin: 0; font-size: var(--fs-small); color: var(--muted); }

.svc-next { margin-top: clamp(2rem, 4vw, 3rem); }
.svc-next a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  background: var(--ink);
  color: #fff;
  transition: background var(--dur) var(--ease);
}
.svc-next a:hover { background: var(--ink-3); }
.svc-next__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-hi);
}
.svc-next__title { font-family: var(--font-display); font-size: 1.5rem; }
.svc-next .icon { margin-left: auto; transition: transform var(--dur) var(--ease); }
.svc-next a:hover .icon { transform: translateX(5px); }

@media (max-width: 63.99rem) {
  .submenu { display: none; }
}

/* The "other services" grid holds five cards; a sixth cell links to the
   overview so the block reads as complete rather than leaving a hole. */
.svc--all { background: var(--brass-soft); }
.svc--all:hover { background: var(--brass-soft); }
.svc--all .svc__icon { border-color: rgba(141, 103, 51, 0.35); }
.svc--all:hover .svc__icon { background: var(--brass); border-color: var(--brass); color: #fff; }
.svc--all .svc__text { color: #6b5a3d; }


/* ---------------------------------------- 23. full property galleries */

.prop__count {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  vertical-align: 0.35em;
  background: var(--sand);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.prop-gallery { padding-top: 0; }
.prop__h2--flush { margin-top: 0; }
/* Full page width, so a nineteen-photograph gallery reads as a contact sheet
   rather than a long thin column. */
.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: 0.6rem; }
.gallery__item { position: relative; cursor: zoom-in; }

.lightbox__figure { position: relative; }
.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: -2.25rem;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}
.lightbox__figure img { touch-action: pan-y; }
