/* ==========================================================================
   MAHARSHI APARTMENT – FLAT A/8
   Stylesheet
   --------------------------------------------------------------------------
   1. Tokens          8. Highlights
   2. Base            9. Details
   3. Utilities      10. Location
   4. Buttons        11. Contact & form
   5. Navigation     12. Footer
   6. Hero           13. Fixed UI (WhatsApp, top, mobile bar)
   7. About/Gallery  14. Lightbox / 15. Motion / 16. Responsive
   ========================================================================== */

/* 1. TOKENS -------------------------------------------------------------- */
:root {
  --charcoal: #30352F;
  --charcoal-2: #262a25;
  --olive: #58634F;
  --gold: #B69A68;
  --gold-deep: #7F6A43;     /* gold for small text on light backgrounds (AA) */
  --ivory: #F5F3ED;
  --ivory-2: #ECE8DE;
  --white: #FFFFFF;
  --grey: #777970;
  --ink-soft: #5B5E55;      /* secondary text on light backgrounds (AA) */
  --line: rgba(48, 53, 47, 0.14);
  --line-light: rgba(245, 243, 237, 0.16);
  --error: #9E3F32;
  --logo-canvas: #FEF9F4;  /* background colour of the supplied logo artwork */

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(96px, 11vw, 176px);
  --nav-h: 96px;
  --nav-h-scrolled: 72px;
  --mobile-bar-h: 0px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h-scrolled);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-h);
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--white); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  display: inline-block;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.15;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
}

/* 3. UTILITIES ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Logo: the supplied artwork is shown untouched; the frame only trims the
   empty canvas margin around it so it reads at navigation size. */
.logo-crop {
  display: block;
  width: var(--logo-w, 150px);
  aspect-ratio: 1225 / 753;
  overflow: hidden;
  /* an ivory plaque in the logo's own canvas colour, so the artwork sits seamlessly */
  background: var(--logo-canvas);
  box-shadow: 0 0 0 var(--plate, 10px) var(--logo-canvas);
  transition: width 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.logo-crop img {
  width: 125.39%;
  max-width: none;
  margin-left: -12.65%;
  margin-top: -10.78%;
}

.photo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.photo-note::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* 4. BUTTONS ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--charcoal);
  --btn-border: var(--charcoal);
  --btn-fill: var(--charcoal);
  --btn-fill-fg: var(--ivory);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }
.btn:hover,
.btn:focus-visible { color: var(--btn-fill-fg); }
.btn .icon { transition: transform 0.45s var(--ease); }
.btn:hover .icon { transform: translateY(-2px); }

.btn--dark {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory);
  --btn-fill: var(--olive);
  --btn-fill-fg: var(--ivory);
}
.btn--line { --btn-fill: var(--charcoal); }
.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--charcoal);
  --btn-border: var(--gold);
  --btn-fill: var(--ivory);
  --btn-fill-fg: var(--charcoal);
}
.btn--light {
  --btn-bg: var(--ivory);
  --btn-fg: var(--charcoal);
  --btn-border: var(--ivory);
  --btn-fill: var(--gold);
  --btn-fill-fg: var(--charcoal);
}
.btn--light-line {
  --btn-fg: var(--ivory);
  --btn-border: rgba(245, 243, 237, 0.5);
  --btn-fill: var(--ivory);
  --btn-fill-fg: var(--charcoal);
}
.btn--block { width: 100%; }

/* 5. NAVIGATION ---------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: height 0.5s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled {
  height: var(--nav-h-scrolled);
  background: rgba(245, 243, 237, 0.94);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .nav.is-scrolled {
    background: rgba(245, 243, 237, 0.86);
    backdrop-filter: saturate(1.2) blur(14px);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__brand { --logo-w: 104px; --plate: 10px; display: block; flex: none; margin-left: var(--plate); }
.nav__brand .logo-crop { width: var(--logo-w); }
.nav.is-scrolled .nav__brand { --logo-w: 80px; --plate: 7px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__menu-foot { display: none; }

/* over the dark hero photograph */
.nav:not(.is-scrolled):not(.is-open) .nav__link { color: var(--ivory); }
.nav:not(.is-scrolled):not(.is-open) .nav__toggle-bar { background: var(--ivory); }

.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-right: -10px;
}
.nav__toggle-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__toggle-bar:first-child { top: 19px; }
.nav__toggle-bar:last-child { top: 28px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child { top: 23.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child { top: 23.5px; transform: rotate(-45deg); }

/* Preloader */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--logo-canvas);
  transition: transform 0.9s var(--ease-in-out), visibility 0s linear 0.9s;
}
.preloader__logo {
  width: min(300px, 64vw);
  aspect-ratio: 1225 / 753;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  animation: logo-reveal 0.7s var(--ease) 0.05s forwards;
}
.preloader__logo img {
  width: 125.39%;
  max-width: none;
  margin-left: -12.65%;
  margin-top: -10.78%;
}
.preloader.is-done {
  transform: translateY(-100%);
  visibility: hidden;
}
@keyframes logo-reveal {
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -14vh 0 0 0;   /* extra height above, so the parallax drift never shows an edge */
  z-index: -1;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero__bg::after {
  /* scrims keep the type readable; the photo itself is not retouched */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 42, 37, 0.9) 0%, rgba(38, 42, 37, 0.72) 36%, rgba(38, 42, 37, 0.25) 70%, rgba(38, 42, 37, 0.12) 100%),
    linear-gradient(0deg, rgba(38, 42, 37, 0.92) 0%, rgba(38, 42, 37, 0) 40%),
    linear-gradient(180deg, rgba(38, 42, 37, 0.6) 0%, rgba(38, 42, 37, 0) 24%);
}

.hero__content {
  position: relative;
  padding-bottom: clamp(32px, 5vh, 64px);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(16px, 2.6vh, 28px);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: pulse 2.8s var(--ease) 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.25rem, 0.8rem + 6.2vw, 8.25rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line__inner { display: block; }

.hero__subtitle {
  max-width: 46ch;
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
  color: rgba(245, 243, 237, 0.84);
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 48px;
  margin-top: clamp(28px, 4.5vh, 48px);
}
.hero__price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 48px;
  border-right: 1px solid var(--line-light);
}
.hero__price-label {
  font-size: 0.875rem;
  color: rgba(245, 243, 237, 0.72);
}
.hero__price-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__base {
  position: relative;
  padding-bottom: clamp(14px, 2.4vh, 28px);
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px 4px;
  border-left: 1px solid var(--line-light);
}
.hero__facts li:first-child { border-left: 0; padding-left: 0; }
.fact__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 0.6vw, 1.75rem);
  line-height: 1.15;
  color: var(--ivory);
}
.fact__label {
  font-size: 0.8125rem;
  color: rgba(245, 243, 237, 0.7);
}
.hero__note {
  margin-top: 14px;
  font-size: 0.75rem;
  text-align: left;
  color: rgba(245, 243, 237, 0.6);
}

/* 7a. ABOUT -------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}

.about__media {
  grid-column: 1 / span 6;
  position: relative;
  padding-bottom: 14%;
}
.about__frame { overflow: hidden; }
.about__main img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}
.about__inset {
  position: absolute;
  right: -10%;
  bottom: 0;
  width: 38%;
  border: 10px solid var(--ivory);
  overflow: hidden;
  background: var(--ivory);
}
.about__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.about__copy {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__copy > p:not(.lead) { color: var(--ink-soft); max-width: 46ch; }

.about__list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.about__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.about__list dt { font-size: 0.875rem; color: var(--ink-soft); }
.about__list dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: right;
}

/* 7b. GALLERY ------------------------------------------------------------ */
.gallery { background: var(--white); }

.gallery__title { margin-bottom: clamp(40px, 5vw, 72px); max-width: 12ch; }

.gallery__grid {
  --u: calc((min(100vw, var(--container) + var(--gutter) * 2) - var(--gutter) * 2 - 11 * 16px) / 12);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(11, var(--u));
  gap: 16px;
}
.tile--living  { grid-column: 1 / 6;   grid-row: 1 / 8; }
.tile--bed1    { grid-column: 6 / 13;  grid-row: 1 / 6; }
.tile--bed2    { grid-column: 6 / 10;  grid-row: 6 / 10; }
.tile--balcony { grid-column: 10 / 13; grid-row: 6 / 11; }
.tile--kitchen { grid-column: 1 / 6;   grid-row: 8 / 12; }
.gallery__note { grid-column: 6 / 10;  grid-row: 10 / 12; align-self: end; }

.tile { position: relative; overflow: hidden; background: var(--ivory-2); min-height: 0; }
.tile__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}
.tile__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile--living .tile__btn img { object-position: 50% 60%; }
.tile--balcony .tile__btn img { object-position: 40% 50%; }
.tile__btn:hover img,
.tile__btn:focus-visible img { transform: scale(1.06); }
.tile__btn:focus-visible { outline-offset: -4px; }

.tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 48px 20px 18px;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(38, 42, 37, 0.72), rgba(38, 42, 37, 0));
  transition: padding 0.6s var(--ease);
}
.tile__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem);
  line-height: 1.1;
  text-align: left;
}
.tile__overlay .icon {
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile__btn:hover .tile__overlay,
.tile__btn:focus-visible .tile__overlay { padding-bottom: 24px; }
.tile__btn:hover .tile__overlay .icon,
.tile__btn:focus-visible .tile__overlay .icon { opacity: 1; transform: none; }

.gallery__note p { color: var(--ink-soft); max-width: 36ch; margin-bottom: 16px; }
.gallery__index { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.gallery__index button {
  position: relative;
  padding: 6px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}
.gallery__index button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.gallery__index button:hover::after,
.gallery__index button:focus-visible::after { transform: scaleX(1); }

/* 8. HIGHLIGHTS ---------------------------------------------------------- */
.highlights { background: var(--charcoal); color: var(--ivory); }
.highlights__title { margin-bottom: clamp(48px, 6vw, 88px); max-width: 14ch; }

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}
.hl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px) clamp(32px, 3.4vw, 48px);
  border-bottom: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.hl:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.hl__icon {
  width: 30px;
  height: 30px;
  margin-bottom: clamp(20px, 2.6vw, 36px);
  color: var(--gold);
  transition: transform 0.6s var(--ease);
}
.hl:hover .hl__icon { transform: translateY(-4px); }
.hl__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.hl__value small {
  font-size: 0.42em;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245, 243, 237, 0.72);
}
.hl__label { font-size: 0.875rem; color: rgba(245, 243, 237, 0.68); }
.hl--price { grid-column: span 2; }
.hl--price .hl__value { color: var(--gold); }

/* 9. DETAILS ------------------------------------------------------------- */
.details__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.details__aside {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--nav-h-scrolled) + 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.details__aside p { color: var(--ink-soft); max-width: 38ch; }

.spec { grid-column: 6 / span 7; border-top: 1px solid var(--charcoal); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) 1.2fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.spec__row:hover { background: rgba(182, 154, 104, 0.08); padding-inline: 16px; }
.spec__row dt { font-size: 0.875rem; color: var(--ink-soft); }
.spec__row dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem);
  line-height: 1.2;
}
.spec__row--price dd { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); color: var(--gold-deep); }

.pending {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-style: italic;
  color: var(--gold-deep);
}
.pending::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

/* 10. LOCATION ----------------------------------------------------------- */
.location { background: var(--white); }
.location__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: stretch;
}
.location__copy {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.location__facts { width: 100%; border-top: 1px solid var(--line); }
.location__facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.location__facts dt { font-size: 0.875rem; color: var(--ink-soft); }
.location__facts dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
}
.landmarks { width: 100%; }
.landmarks .h3 { margin-bottom: 12px; }
.landmarks__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.landmarks__list span:last-child { color: var(--ink-soft); white-space: nowrap; }

.location__map,
.location__panel { grid-column: 7 / span 6; min-height: 520px; }
.location__map { background: var(--ivory-2); }
.location__map { display: flex; flex-direction: column; }
.location__map iframe { width: 100%; flex: 1; min-height: 520px; border: 0; display: block; }
.location__map-note {
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  background: var(--ivory);
  border-left: 2px solid var(--gold);
}

.location__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 64px);
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
}
.location__panel::before {
  /* architectural plan lines */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  opacity: 0.6;
}
.location__panel > * { position: relative; }
.location__city {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(4.5rem, 2rem + 8vw, 9rem);
  line-height: 0.85;
  color: var(--ivory);
}
.location__region {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}
.location__note {
  max-width: 40ch;
  margin: 28px 0 32px;
  color: rgba(245, 243, 237, 0.78);
}

/* 11. CONTACT ------------------------------------------------------------ */
.contact { background: var(--olive); color: var(--ivory); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.contact__copy {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__copy .h2 { max-width: 12ch; }
.contact__copy .lead { max-width: 40ch; color: rgba(245, 243, 237, 0.86); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__actions:not(:has(> :not([hidden]))) { display: none; }
.contact__pending {
  max-width: 44ch;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
  font-size: 0.9375rem;
  color: rgba(245, 243, 237, 0.82);
}
.contact__id {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 0.9375rem;
  color: rgba(245, 243, 237, 0.74);
}

.enquiry {
  grid-column: 8 / span 5;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--ivory);
  color: var(--charcoal);
}
.enquiry__title { font-size: 2rem; }
.enquiry__hint { margin: 8px 0 28px; font-size: 0.875rem; color: var(--ink-soft); }

.field { position: relative; margin-bottom: 22px; }
.field label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
}
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(48, 53, 47, 0.35);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.3s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder,
.field textarea::placeholder { color: #8d8f86; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field.is-invalid input { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field__error {
  min-height: 0;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--error);
}
.field__error:empty { display: none; }

.enquiry__status { margin-top: 18px; font-size: 0.9375rem; }
.enquiry__status:empty { display: none; }
.enquiry__status .status-box {
  padding: 16px 18px;
  border-left: 2px solid var(--olive);
  background: var(--white);
}
.enquiry__status .status-box--warn { border-left-color: var(--gold); }
.enquiry__status pre {
  margin: 12px 0;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  font-size: 0.875rem;
  background: var(--ivory);
  border: 1px solid var(--line);
}
.copy-btn {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
}

/* 12. FOOTER ------------------------------------------------------------- */
.footer {
  padding-top: clamp(64px, 7vw, 104px);
  background: var(--ivory);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand { --logo-w: 180px; --plate: 14px; padding: 14px; }
.footer__tagline {
  margin-top: 20px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--olive);
}
.footer__heading {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.footer__col p { line-height: 1.8; color: var(--ink-soft); }
.footer__links li + li { margin-top: 8px; }
.footer__links a {
  color: var(--ink-soft);
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: color 0.3s var(--ease), background-size 0.5s var(--ease);
}
.footer__links a:hover,
.footer__links a:focus-visible { color: var(--charcoal); background-size: 100% 1px; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* 13. FIXED UI ----------------------------------------------------------- */
.fab-wa {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--ivory);
  box-shadow: 0 10px 30px -10px rgba(38, 42, 37, 0.6);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.fab-wa .icon { width: 28px; height: 28px; }
.fab-wa:hover { transform: translateY(-4px); background: var(--charcoal); }
.fab-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: pulse 3s var(--ease) 3s 3;
  opacity: 0;
}

.to-top {
  position: fixed;
  right: 34px;
  bottom: 104px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(245, 243, 237, 0.92);
  color: var(--charcoal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s, background-color 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.to-top:hover { background: var(--charcoal); color: var(--ivory); }
.to-top:hover .icon { animation: nudge-up 0.6s var(--ease); }
@keyframes nudge-up { 50% { transform: translateY(-3px); } }
.fab-wa[hidden] + .to-top { bottom: 28px; }

.mobile-bar { display: none; }

/* 14. LIGHTBOX ----------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #1F231E;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; }
.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(16px, 3vw, 40px);
}
.lightbox__caption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  font-weight: 500;
}
.lightbox__count {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(245, 243, 237, 0.68);
  font-variant-numeric: tabular-nums;
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 clamp(16px, 9vw, 140px);
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.96);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox.is-open .lightbox__stage img.is-shown { opacity: 1; transform: none; }
.lightbox__stage img.is-leaving-left { opacity: 0; transform: translateX(-40px); transition-duration: 0.3s; }
.lightbox__stage img.is-leaving-right { opacity: 0; transform: translateX(40px); transition-duration: 0.3s; }

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(245, 243, 237, 0.3);
  border-radius: 50%;
  color: var(--ivory);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.lightbox__btn:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__prev { left: clamp(12px, 3vw, 40px); }
.lightbox__next { right: clamp(12px, 3vw, 40px); }
.lightbox__prev:hover { transform: translate(-3px, -50%); }
.lightbox__next:hover { transform: translate(3px, -50%); }
.lightbox__note {
  padding: 16px;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(245, 243, 237, 0.6);
}

/* 15. MOTION ------------------------------------------------------------- */
/* Hero entrance – runs once the logo screen lifts (html.is-ready) */
.js [data-hero] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms + 100ms);
}
.js .line__inner[data-hero] { opacity: 1; transform: translateY(108%); transition-duration: 1.1s; }
.js [data-hero="1"] { --i: 0; }
.js [data-hero="2"] { --i: 1; }
.js [data-hero="3"] { --i: 2; }
.js [data-hero="5"] { --i: 4; }
.js [data-hero="6"] { --i: 5; }
.js [data-hero="8"] { --i: 7; }
/* the photograph is visible straight away; it only settles from a slight zoom */
.js [data-hero="media"] { opacity: 1; transform: none; transition: none; }
.js [data-hero="media"] .hero__img { scale: 1.1; transition: scale 2.4s var(--ease); }

.js.is-ready [data-hero] { opacity: 1; transform: none; }
.js.is-ready [data-hero="media"] .hero__img { scale: 1; }

/* Scroll reveals */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Images: a short clipping-mask reveal.
   The mask sits on the children: an element clipped to nothing never
   registers with IntersectionObserver, so the observed box stays unclipped. */
.js .reveal-clip[data-reveal] { opacity: 1; transform: none; }
.js .reveal-clip[data-reveal] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-in-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js .reveal-clip[data-reveal].is-visible > * { clip-path: inset(0 0 0 0); }
.js .reveal-clip[data-reveal] img { scale: 1.08; transition: scale 1.3s var(--ease), transform 1.2s var(--ease); }
.js .reveal-clip[data-reveal].is-visible img { scale: 1; }

/* Parallax targets get a smooth translate driven by JS */
[data-parallax] { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .preloader { display: none; }
  .js [data-hero],
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .reveal-clip[data-reveal] > * { clip-path: none !important; }
  .js [data-hero="media"] .hero__img,
  .js .reveal-clip[data-reveal] img { scale: 1 !important; }
  [data-parallax] { translate: none !important; }
  .status-dot::after, .fab-wa::after { display: none; }
}

/* 16. RESPONSIVE --------------------------------------------------------- */

/* Large desktop 1600+ */
@media (min-width: 1600px) {
  :root { --container: 1440px; }
}

/* Small laptops 1280–1366 */
@media (max-width: 1366px) {
}

/* Tablet landscape ≤1024 */
@media (max-width: 1024px) {
  :root { --nav-h: 84px; }
  .nav__list { gap: 22px; }
  .nav__brand { --logo-w: 124px; }

  .about__media { grid-column: 1 / span 6; }
  .about__copy { grid-column: 8 / span 5; }
  .about__inset { right: -6%; }

  .highlights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl:nth-child(4n + 1) { border-left: 1px solid var(--line-light); padding-left: clamp(20px, 2.4vw, 36px); }
  .hl:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .hl--price { grid-column: 1 / -1; padding-left: 0; border-left: 0; }

  .details__aside { grid-column: 1 / span 5; }
  .spec { grid-column: 6 / span 7; }
  .location__copy { grid-column: 1 / span 6; }
  .location__map, .location__panel { grid-column: 7 / span 6; }
  .contact__copy { grid-column: 1 / span 6; }
  .enquiry { grid-column: 7 / span 6; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
}

/* Tablet portrait ≤900 : hamburger + stacked compositions */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--nav-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--ivory);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
  }
  .nav.is-open .nav__menu {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
  }
  .nav.is-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__brand { position: relative; z-index: 2; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav__list li { overflow: hidden; }
  .nav__link {
    padding: 6px 0;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.6rem + 3vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.1;
    transform: translateY(110%);
    transition: transform 0.7s var(--ease);
  }
  .nav__link::after { bottom: 6px; }
  .nav.is-open .nav__link { transform: none; }
  .nav.is-open li:nth-child(1) .nav__link { transition-delay: 0.18s; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: 0.23s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: 0.28s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: 0.33s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: 0.38s; }
  .nav.is-open li:nth-child(6) .nav__link { transition-delay: 0.43s; }
  .nav__menu-foot {
    display: block;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
    color: var(--ink-soft);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
  }
  .nav.is-open .nav__menu-foot { opacity: 1; transition-delay: 0.5s; }
  .nav__menu-price span { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--charcoal); }


  .about__grid { row-gap: 64px; }
  .about__media { grid-column: 1 / span 11; }
  .about__copy { grid-column: 1 / -1; }
  .about__inset { right: -9%; width: 34%; }

  .gallery__grid {
    --u: clamp(180px, 30vw, 280px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: var(--u);
  }
  .tile--living  { grid-column: 1; grid-row: 1 / 3; }
  .tile--bed1    { grid-column: 2; grid-row: 1; }
  .tile--bed2    { grid-column: 2; grid-row: 2; }
  .tile--kitchen { grid-column: 1; grid-row: 3; }
  .tile--balcony { grid-column: 2; grid-row: 3 / 5; }
  .gallery__note { grid-column: 1; grid-row: 4; align-self: center; }

  .details__grid { row-gap: 48px; }
  .details__aside { position: static; grid-column: 1 / -1; }
  .spec { grid-column: 1 / -1; }

  .location__grid { row-gap: 48px; }
  .location__copy, .location__map, .location__panel { grid-column: 1 / -1; }
  .location__map, .location__panel, .location__map iframe { min-height: 420px; }

  .contact__grid { row-gap: 56px; }
  .contact__copy, .enquiry { grid-column: 1 / -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Mobile ≤767 : sticky enquiry bar replaces the floating button */
@media (max-width: 767px) {
  :root { --nav-h: 76px; --nav-h-scrolled: 64px; --mobile-bar-h: calc(64px + env(safe-area-inset-bottom)); }
  body { font-size: 1rem; }
  .nav__brand { --logo-w: 90px; --plate: 8px; }
  .nav.is-scrolled .nav__brand { --logo-w: 74px; --plate: 6px; }


  .about__media { grid-column: 1 / -1; margin-right: 12%; }
  .about__inset { right: -16%; width: 40%; border-width: 6px; }
  .about__list dd { font-size: 1.3rem; }

  .gallery__grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
  .tile--living  { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 4.6; }
  .tile--bed1    { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 4 / 3.8; }
  .tile--bed2    { grid-column: 1;      grid-row: 3; aspect-ratio: 3 / 4; }
  .tile--balcony { grid-column: 2;      grid-row: 3; aspect-ratio: 3 / 4; }
  .tile--kitchen { grid-column: 1 / -1; grid-row: 4; aspect-ratio: 4 / 3; }
  .gallery__note { grid-column: 1 / -1; grid-row: 5; padding-top: 16px; }
  .tile__overlay { padding: 40px 14px 12px; }
  .tile__overlay .icon { opacity: 1; transform: none; }

  .hl { padding: 28px 16px 30px; }
  .hl__icon { margin-bottom: 18px; }

  .spec__row { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .spec__row:hover { padding-inline: 0; background: none; }

  .contact__actions .btn { flex: 1 1 220px; }

  .fab-wa { display: none; }
  .to-top, .fab-wa[hidden] + .to-top { right: 16px; bottom: calc(var(--mobile-bar-h) + 16px); width: 44px; height: 44px; }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 95;
    display: flex;
    gap: 1px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--charcoal);
    box-shadow: 0 -1px 0 rgba(245, 243, 237, 0.08);
    transition: transform 0.5s var(--ease);
  }
  .mobile-bar.is-hidden { transform: translateY(100%); }
  .mobile-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 64px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ivory);
    background: var(--charcoal);
  }
  .mobile-bar__btn + .mobile-bar__btn { box-shadow: -1px 0 0 rgba(245, 243, 237, 0.12); }
  .mobile-bar__btn--primary { background: var(--gold); color: var(--charcoal); }
  .mobile-bar__btn:active { filter: brightness(0.92); }

  .lightbox__stage { padding: 0 8px; }
  .lightbox__nav { top: auto; bottom: calc(24px + env(safe-area-inset-bottom)); transform: none; }
  .lightbox__note { align-self: start; padding-top: 12px; }
  .lightbox__prev:hover, .lightbox__next:hover { transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__stage img { max-height: calc(100dvh - 240px); }
  .lightbox { grid-template-rows: auto 1fr 120px; }
}

/* Small mobile ≤600 */
@media (max-width: 600px) {
  /* the balcony is in the gallery; on small phones the inset would crowd the caption */
  .about__inset { display: none; }
  .about__media { margin-right: 0; padding-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__base { flex-direction: column; }
}

/* ≤430 */
@media (max-width: 430px) {
  .highlights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl__value { font-size: 2rem; white-space: normal; }
  .hl--price .hl__value { font-size: 2.5rem; }
  .enquiry { margin-inline: calc(var(--gutter) * -0.5); }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ≤375 */
@media (max-width: 375px) {
  .fact__value { font-size: 1.25rem; }
  .about__list > div { flex-direction: column; gap: 0; }
  .about__list dd { text-align: left; }
}

/* ≤340 (320 devices) */
@media (max-width: 340px) {
  :root { --gutter: 16px; }
  .highlights__grid { grid-template-columns: 1fr; }
  .hl, .hl:nth-child(2n + 1), .hl:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
  .mobile-bar__btn { font-size: 0.875rem; gap: 6px; }
  .btn { padding: 0 20px; }
}

/* Hero across breakpoints */
@media (max-width: 1024px) {
  .hero__facts li { padding-inline: 14px; }
  .hero__price { padding-right: 32px; }
}
@media (max-width: 900px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__facts li:nth-child(4) { border-left: 0; padding-left: 0; }
  .hero__facts li:nth-child(n + 4) { border-top: 1px solid var(--line-light); }
  .hero__bg::after {
    background: linear-gradient(0deg, rgba(38, 42, 37, 0.95) 0%, rgba(38, 42, 37, 0.7) 55%, rgba(38, 42, 37, 0.4) 100%);
  }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__img { object-position: 30% 50%; }
  .hero__row { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero__price { padding-right: 0; border-right: 0; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facts li { padding: 14px 12px 4px; }
  .hero__facts li:nth-child(4) { border-left: 1px solid var(--line-light); padding-left: 12px; }
  .hero__facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__facts li:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .hero__facts li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .hero__title { font-size: clamp(2.75rem, 13.5vw, 3.75rem); }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
}
@media (max-width: 375px) {
  .hero__facts li { padding-inline: 10px; }
}
@media (max-width: 340px) {
  .hero__title { font-size: 2.5rem; }
}
