/* ========================================
   מרום יערית — מבנה בסיסי + פלטת צבעים
   ======================================== */

:root {
  /* Brand palette — only these five hex values */
  --color-cream: #EBE5DC;
  --color-oak: #A88C74;
  --color-olive: #6B7A63;
  --color-smoke-blue: #4A6370;
  --color-charcoal: #26292B;

  --color-text: var(--color-charcoal);
  --color-heading: var(--color-charcoal);
  --color-text-muted: color-mix(in srgb, var(--color-charcoal) 70%, var(--color-cream));
  --color-bg: var(--color-cream);
  --color-bg-elevated: color-mix(in srgb, var(--color-cream) 92%, var(--color-oak));
  --color-bg-dark: var(--color-charcoal);
  --color-surface-dark-text: var(--color-cream);

  --color-primary: var(--color-smoke-blue);
  --color-secondary: var(--color-olive);
  --color-accent-warm: var(--color-oak);

  --color-border: color-mix(in srgb, var(--color-charcoal) 16%, var(--color-cream));
  --color-border-strong: color-mix(in srgb, var(--color-charcoal) 28%, var(--color-cream));
  --color-link: var(--color-smoke-blue);
  --color-link-hover: var(--color-olive);
  --color-focus: var(--color-smoke-blue);

  --header-bg-transparent: transparent;
  --header-bg-scrolled: color-mix(in srgb, var(--color-cream) 92%, transparent);
  --header-text-on-hero: var(--color-cream);
  --header-text-scrolled: var(--color-charcoal);

  --font-sans: "Noto Sans Hebrew", sans-serif;
  --container: 80%;
  --header-height: 100px;
  --header-height-scrolled: 88px;
  --section-space: clamp(4rem, 8vw, 7rem);
  --radius: 4px;
  --sticky-contact-height: 7.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  padding-bottom: var(--sticky-contact-height);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  color: var(--color-heading);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

@media (max-width: 640px) {
  :root {
    --container: 90%;
  }
}

.section {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: max(var(--section-space), calc(var(--header-height) * 0.5));
}

.section > .container {
  width: var(--container);
  margin-inline: auto;
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-cream);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-smoke-blue) 28%, transparent);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--color-smoke-blue) 82%, var(--color-charcoal));
  color: var(--color-cream);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-smoke-blue) 34%, transparent);
}

.btn-on-dark {
  background: color-mix(in srgb, var(--color-cream) 92%, transparent);
  color: var(--color-charcoal);
  border-color: color-mix(in srgb, var(--color-cream) 92%, transparent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-charcoal) 12%, transparent);
}

.btn-on-dark:hover {
  background: var(--color-cream);
  color: var(--color-charcoal);
  border-color: var(--color-cream);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg-transparent);
  color: var(--header-text-on-hero);
  backdrop-filter: blur(0);
  transition:
    height 0.4s ease,
    background 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background: var(--header-bg-scrolled);
  color: var(--header-text-scrolled);
  box-shadow: 0 1px 0 var(--color-border);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  height: 100%;
  color: inherit;
  line-height: 0;
}

.brand:hover {
  color: inherit;
  opacity: 0.92;
}

.brand-logo {
  display: block;
  width: 186px;
  height: 90px;
  max-height: calc(var(--header-height) - 10px);
  max-width: min(186px, 42vw);
  padding: 0;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
  transition:
    width 0.4s ease,
    height 0.4s ease,
    max-width 0.4s ease,
    filter 0.4s ease;
}

.site-header.is-scrolled .brand-logo {
  width: 162px;
  height: 75px;
  max-width: min(162px, 42vw);
  filter: none;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  height: 100%;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 68px;
  height: 100%;
}

.site-nav a {
  color: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--color-oak);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--color-primary);
}

.nav-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 146px;
  background: var(--color-olive);
  color: var(--color-cream);
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-whatsapp {
  display: none;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  direction: ltr;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-phone::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.68 2.34a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.74.32 1.53.55 2.34.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.68 2.34a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.74.32 1.53.55 2.34.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-phone:hover {
  color: var(--color-oak);
}

.site-header.is-scrolled .nav-phone:hover {
  color: var(--color-primary);
}

.nav-phone-menu {
  display: none;
}

.nav-cta-menu {
  display: none;
}

.nav-cta:hover {
  background: color-mix(in srgb, var(--color-olive) 82%, var(--color-charcoal));
  border-color: #3F505A;
  color: var(--color-cream);
}

.site-header.is-scrolled .nav-cta {
  background: var(--color-olive);
  border-color: #3F505A;
  color: var(--color-cream);
}

.site-header.is-scrolled .nav-cta:hover {
  background: color-mix(in srgb, var(--color-olive) 82%, var(--color-charcoal));
  border-color: #3F505A;
  color: var(--color-cream);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    background 0.25s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--color-cream);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
  background: var(--color-charcoal);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-overlay {
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-charcoal) 55%, transparent) 0%,
    color-mix(in srgb, var(--color-charcoal) 38%, transparent) 45%,
    color-mix(in srgb, var(--color-charcoal) 35%, transparent) 100%
  );
  z-index: 1;
}

.container.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 638px;
  max-width: 638px;
  margin-inline: 0;
  text-align: center;
  padding-block: calc(var(--header-height) + 2rem) 2rem;
}

.hero-title {
  width: 100%;
  margin: 0 0 0.35rem;
  color: var(--color-cream);
  font-size: clamp(1.85rem, 7vw, 4.5rem);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.hero-subtitle {
  width: 100%;
  margin: 0 0 0.75rem;
  font-size: clamp(0.9rem, 2.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  color: var(--color-cream);
}

.hero-lead {
  width: 100%;
  margin: 0;
  font-size: clamp(0.85rem, 2.4vw, 1.1rem);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  opacity: 0.92;
}

.hero-lead,
.hero-title,
.hero-subtitle {
  animation: hero-copy-cycle 30s ease-in-out infinite;
}

@keyframes hero-copy-cycle {
  0%,
  66.666% {
    opacity: 1;
  }

  73.333%,
  93.333% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lead,
  .hero-title,
  .hero-subtitle {
    animation: none;
  }

  .hero-lead {
    opacity: 0.92;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn-play {
  --btn-play-size: clamp(3.15rem, 7.5vw, 3.65rem);

  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--btn-play-size);
  height: var(--btn-play-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-cream);
  font: inherit;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.35s ease;
}

.btn-play-ring {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-cream) 45%, transparent);
  pointer-events: none;
  animation: btn-play-breathe 3.2s ease-in-out infinite;
}

.btn-play-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-charcoal) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-cream) 48%, transparent);
  color: var(--color-cream);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color-charcoal) 22%, transparent);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-play-core svg {
  margin-inline-start: 0.1rem;
}

.btn-play:hover {
  transform: scale(1.06);
}

.btn-play:hover .btn-play-core {
  background: color-mix(in srgb, var(--color-charcoal) 45%, transparent);
  border-color: color-mix(in srgb, var(--color-cream) 75%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-charcoal) 28%, transparent);
}

.btn-play:hover .btn-play-ring {
  border-color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  animation-duration: 2.4s;
}

.btn-play:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 4px;
}

@keyframes btn-play-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-play-ring {
    animation: none;
    opacity: 0.75;
  }
}

/* ---------- Video lightbox ---------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: color-mix(in srgb, var(--color-charcoal) 92%, #000);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.video-lightbox.is-open .video-lightbox-backdrop {
  opacity: 1;
}

.video-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(86vh, 86dvh);
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.86);
  transform-origin: center center;
  box-shadow: 0 24px 80px color-mix(in srgb, #000 55%, transparent);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-lightbox.is-open .video-lightbox-dialog {
  opacity: 1;
  transform: scale(1);
}

.video-lightbox-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  inset-inline-end: max(0.75rem, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid color-mix(in srgb, var(--color-cream) 45%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-charcoal) 55%, transparent);
  color: var(--color-cream);
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(0.9);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.35s ease 0.12s,
    transform 0.35s ease 0.12s;
}

.video-lightbox.is-open .video-lightbox-close {
  opacity: 1;
  transform: scale(1);
}

.video-lightbox-close:hover {
  background: color-mix(in srgb, var(--color-charcoal) 75%, transparent);
  border-color: var(--color-cream);
}

.video-lightbox-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .video-lightbox,
  .video-lightbox-backdrop,
  .video-lightbox-dialog,
  .video-lightbox-close {
    transition: none;
  }

  .video-lightbox-dialog {
    transform: none;
  }
}

body.video-lightbox-open,
body.image-lightbox-open {
  overflow: hidden;
}

/* ---------- Image lightbox ---------- */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: color-mix(in srgb, var(--color-charcoal) 88%, transparent);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(1100px, 100%);
  max-height: min(90vh, 90dvh);
}

.image-lightbox-close {
  position: absolute;
  top: max(0.35rem, env(safe-area-inset-top));
  inset-inline-end: max(0.35rem, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid color-mix(in srgb, var(--color-cream) 45%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-charcoal) 55%, transparent);
  color: var(--color-cream);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.image-lightbox-close:hover {
  background: color-mix(in srgb, var(--color-charcoal) 75%, transparent);
  border-color: var(--color-cream);
}

.image-lightbox-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(90vh, 90dvh);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--color-charcoal) 45%, transparent);
}

/* ---------- About ---------- */

.section-about {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  text-align: center;
  isolation: isolate;
}

.about-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-color: var(--color-cream);
  background-image: url("../images/bg2.png");
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.02);
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .about-media {
    will-change: auto;
    transform: none !important;
  }
}

.section-about .container {
  position: relative;
  z-index: 1;
}

.about-header {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-header h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--color-charcoal);
  margin: 0;
}

.about-divider {
  display: flex;
  justify-content: center;
  margin-block: 1.15rem 1rem;
  color: var(--color-oak);
}

.about-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.75rem;
  align-items: stretch;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 2rem 1rem 1.85rem;
  background: color-mix(in srgb, var(--color-cream) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-oak) 28%, transparent);
  border-radius: 12px;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--color-charcoal) 4%, transparent);
  box-sizing: border-box;
}

.advantage-icon img,
.company-feature-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.advantage-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 0.95rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-cream) 85%, var(--color-oak));
  color: var(--color-charcoal);
}

.advantage-rule {
  display: block;
  flex-shrink: 0;
  width: 2rem;
  height: 1px;
  margin-bottom: 1rem;
  background: var(--color-oak);
}

.advantage-item h3 {
  margin: 0 0 0.65rem;
  width: 100%;
  min-height: calc(1.35em * 2);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.35;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item p {
  margin: 0;
  max-width: 16rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  text-align: center;
}

.about-cta {
  display: flex;
  justify-content: center;
}

.btn-about {
  background: var(--color-oak);
  color: var(--color-cream);
  border-color: var(--color-oak);
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  font-weight: 500;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color-oak) 28%, transparent);
}

.btn-about:hover {
  background: color-mix(in srgb, var(--color-oak) 82%, var(--color-charcoal));
  color: var(--color-cream);
  border-color: color-mix(in srgb, var(--color-oak) 82%, var(--color-charcoal));
}

.btn-about:hover .btn-chevron {
  transform: translateX(-0.35rem);
}

.btn-chevron {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
  margin-inline-start: 0.15rem;
  direction: ltr;
  unicode-bidi: isolate;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Atmospheric parallax ---------- */

.section-atmosphere {
  position: relative;
  display: block;
  height: 80vh;
  height: 80svh;
  min-height: 32rem;
  max-height: 58rem;
  padding: 0;
  overflow: hidden;
  background: var(--color-charcoal);
}

.atmosphere-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-charcoal);
  background-image: url("../images/Gallery/penthouse-kitchen.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.06);
  transform-origin: center center;
}

.atmosphere-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-charcoal) 18%, transparent) 0%,
    transparent 28%,
    transparent 72%,
    color-mix(in srgb, var(--color-charcoal) 22%, transparent) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere-media {
    will-change: auto;
    transform: none !important;
  }
}

/* ---------- Location ---------- */

.section-location {
  --location-bg: #445964;
  --location-accent: #445964;
  --location-accent-soft: color-mix(in srgb, var(--color-cream) 70%, #445964);
  --location-text: var(--color-cream);

  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background: var(--location-bg);
  color: var(--location-text);
  padding-block: 0;
}

.location-main {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
}

.location-body {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.location-media {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 50%;
  z-index: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-sizing: border-box;
  background: #445964;
}

.location-map-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.location-copy {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  margin-inline-end: auto;
  padding-block: max(var(--section-space), calc(var(--header-height) * 0.75));
  padding-inline: clamp(1.25rem, 3.5vw, 3rem);
  text-align: center;
  color: var(--color-cream);
}

.location-header {
  width: 100%;
  max-width: 36rem;
}

.location-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1.2;
}

.location-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 602px;
  margin: 0.85rem auto 1.35rem;
  color: var(--color-cream);
}

.location-divider::before,
.location-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 6rem;
  background: color-mix(in srgb, var(--color-cream) 55%, transparent);
}

.location-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-cream) 88%, transparent);
}

.location-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  width: 100%;
  max-width: min(52rem, 100%);
  margin: 0;
}

.location-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 0;
  color: var(--color-cream);
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.45;
  font-weight: 400;
  text-align: center;
}

.location-point-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(4.75rem, 6.5vw, 5.75rem);
  height: clamp(4.75rem, 6.5vw, 5.75rem);
  border: 1.75px solid color-mix(in srgb, var(--color-cream) 65%, transparent);
  border-radius: 50%;
  color: var(--color-cream);
}

.location-point-icon svg {
  width: clamp(2.15rem, 2.8vw, 2.65rem);
  height: clamp(2.15rem, 2.8vw, 2.65rem);
}

/* ---------- Tax benefit ---------- */

.section-tax {
  --tax-gold: var(--color-oak);
  --tax-gold-deep: color-mix(in srgb, var(--color-oak) 70%, var(--color-charcoal));
  --tax-ink: var(--color-charcoal);
  --tax-surface: var(--color-cream);

  position: relative;
  overflow: hidden;
  background: var(--tax-surface);
  color: var(--tax-ink);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.tax-media {
  position: absolute;
  inset-inline: 0;
  top: -18%;
  height: 148%;
  z-index: 0;
  pointer-events: none;
  background: center bottom / cover no-repeat url("../images/feel.webp");
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.1);
  transform-origin: center bottom;
}

.section-tax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 58% 72% at 50% 48%,
    color-mix(in srgb, var(--tax-surface) 94%, transparent) 0%,
    color-mix(in srgb, var(--tax-surface) 82%, transparent) 38%,
    color-mix(in srgb, var(--tax-surface) 42%, transparent) 68%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .tax-media {
    top: 0;
    height: 100%;
    will-change: auto;
    transform: none !important;
  }

  .tax-percent-value {
    animation: none;
  }
}

.tax-shell {
  position: relative;
  z-index: 1;
  width: min(92%, 920px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tax-masthead {
  max-width: min(36rem, 100%);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.tax-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--tax-gold);
}

.tax-masthead h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--tax-ink);
}

.tax-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  margin: 1rem auto 0;
  color: var(--tax-gold);
}

.tax-divider::before,
.tax-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--tax-gold) 70%, transparent)
  );
}

.tax-divider::after {
  background: linear-gradient(
    270deg,
    transparent,
    color-mix(in srgb, var(--tax-gold) 70%, transparent)
  );
}

.tax-spotlight {
  position: relative;
  margin-bottom: clamp(0.5rem, 1.2vw, 0.85rem);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: 0.35rem;
}

.tax-percent {
  margin: 0;
  line-height: 0.9;
}

.tax-percent-value {
  display: inline-block;
  width: 221px;
  max-width: 100%;
  height: 97px;
  font-size: clamp(4.25rem, 11vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background-image: linear-gradient(
    110deg,
    var(--tax-gold-deep) 0%,
    var(--color-oak) 22%,
    color-mix(in srgb, var(--color-cream) 55%, var(--tax-gold)) 42%,
    var(--tax-gold) 52%,
    var(--color-oak) 72%,
    var(--tax-gold-deep) 100%
  );
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 16px color-mix(in srgb, var(--tax-ink) 12%, transparent));
  animation: tax-shimmer 6.5s ease-in-out infinite;
}

@keyframes tax-shimmer {
  0%,
  18% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  68%,
  100% {
    background-position: 100% 50%;
  }
}

.tax-percent-label {
  margin: 0.55rem 0 0;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tax-ink);
  text-shadow: 0 1px 0 color-mix(in srgb, var(--tax-surface) 70%, transparent);
}

.tax-lead {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  width: 100%;
  max-width: 630px;
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.8;
  font-weight: 500;
  color: var(--color-charcoal);
  text-shadow: 0 1px 0 color-mix(in srgb, var(--tax-surface) 80%, transparent);
}

.tax-lead strong {
  color: var(--color-charcoal);
  font-weight: 700;
}

.tax-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.tax-points li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  box-sizing: border-box;
  border: none;
  border-radius: var(--radius);
  background: var(--color-olive);
  box-shadow: 0 0 0 0 transparent;
  transform: translateY(0);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    box-shadow 0.4s ease;
}

.tax-points li:hover {
  background: color-mix(in srgb, var(--color-olive) 88%, var(--color-charcoal));
  transform: translateY(-4px);
  box-shadow:
    0 14px 28px color-mix(in srgb, var(--color-charcoal) 18%, transparent),
    0 0 0 1px color-mix(in srgb, var(--color-cream) 18%, transparent);
}

.tax-point-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-cream);
  transition: letter-spacing 0.35s ease, color 0.35s ease;
}

.tax-points li:hover .tax-point-title {
  letter-spacing: 0.02em;
  color: #fff;
}

.tax-point-text {
  max-width: 16rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-cream);
  transition: opacity 0.35s ease;
}

.tax-points li:hover .tax-point-text {
  opacity: 0.92;
}

.tax-cta {
  display: flex;
  justify-content: center;
}

/* ---------- Apartments ---------- */

.section-apartments {
  --apt-olive: var(--color-olive);
  --apt-olive-soft: color-mix(in srgb, var(--color-olive) 82%, var(--color-charcoal));
  --apt-bg: #1c1f21;
  --apt-panel: color-mix(in srgb, var(--color-charcoal) 78%, transparent);
  --apt-panel-border: color-mix(in srgb, var(--color-cream) 14%, transparent);
  --apt-panel-hover: color-mix(in srgb, var(--color-cream) 22%, transparent);

  position: relative;
  overflow: hidden;
  background: var(--apt-bg);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  min-height: 75vh;
  min-height: 75svh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-cream);
  isolation: isolate;
}

.apartments-media {
  position: absolute;
  inset-inline: 0;
  top: -18%;
  height: 136%;
  z-index: 0;
  pointer-events: none;
  background: center / cover no-repeat url("../images/apartments-bg.jpg");
  opacity: 0.72;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.04);
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .apartments-media {
    top: 0;
    height: 100%;
    will-change: auto;
    transform: none !important;
  }
}

.section-apartments::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: color-mix(in srgb, var(--apt-bg) 28%, transparent);
  pointer-events: none;
}

.apartments-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 1 auto;
  width: min(var(--container), 68rem);
  margin-inline: auto;
  min-height: 0;
  height: 100%;
  padding-block: 1.5rem;
  box-sizing: border-box;
  background: transparent;
}

.apartments-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 36rem;
}

.apartments-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.apartments-header h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 500;
  color: var(--color-cream);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.apartments-intro {
  margin: 0.9rem 0 0;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-cream) 68%, transparent);
}

.apartments-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 18rem;
  margin: 1.25rem auto 0;
  color: var(--color-cream);
  background: unset;
}

.apartments-header-divider::before,
.apartments-header-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 2.5rem;
  background: color-mix(in srgb, var(--color-oak) 55%, transparent);
}

.apartments-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
  flex: 0 1 auto;
  width: 100%;
  max-width: none;
}

.apartments-copy {
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.apartment-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  width: 100%;
  align-items: stretch;
}

.apartment-type {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid var(--apt-panel-border);
  border-radius: 2px;
  min-width: 0;
  height: 100%;
  background: var(--apt-panel);
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    background 0.45s ease;
}

.apartment-type:hover {
  transform: translateY(-3px);
  border-color: var(--apt-panel-hover);
  background: color-mix(in srgb, var(--color-charcoal) 88%, transparent);
  box-shadow: 0 18px 40px color-mix(in srgb, #000 28%, transparent);
}

.apartment-type-media {
  margin: 0;
  margin-top: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: color-mix(in srgb, var(--color-charcoal) 70%, #3F505A);
  flex-shrink: 0;
}

.apartment-type-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.apartment-type-media-btn {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: none;
  cursor: zoom-in;
}

.apartment-type:hover .apartment-type-media img {
  transform: scale(1.05);
  filter: brightness(1.06) saturate(1.05);
}

.apartment-type-media--cottage img {
  object-position: 30% center;
}

.apartment-type-media--penthouse img {
  object-position: 70% center;
}

.apartment-type-body {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: clamp(1.75rem, 3vw, 2.35rem) clamp(1.35rem, 2.5vw, 2rem);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: none;
  border-radius: 0;
  box-sizing: border-box;
  color: var(--color-cream);
}

.apartment-type-title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 500;
  color: var(--color-cream);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.45s ease;
}

.apartment-type:hover .apartment-type-title {
  color: color-mix(in srgb, var(--color-cream) 92%, var(--color-oak));
  letter-spacing: -0.01em;
}

.apartment-type-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0;
  border-block: 1px solid color-mix(in srgb, var(--color-cream) 14%, transparent);
}

.apartment-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  margin: 0;
}

.apartment-metric + .apartment-metric {
  border-inline-start: 1px solid color-mix(in srgb, var(--color-cream) 14%, transparent);
}

.apartment-metric dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-cream) 55%, transparent);
}

.apartment-metric dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--color-cream) 78%, transparent);
}

.apartment-metric-value {
  font-size: clamp(1.55rem, 2.6vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-oak);
}

.apartment-type-spec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  width: auto;
  max-width: 100%;
  margin: 0 0 1.15rem;
  padding: 0.35rem 0 0.85rem;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 22%, transparent);
  box-sizing: border-box;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--color-cream) 82%, transparent);
}

.apartment-type-sep {
  opacity: 0.55;
}

.apartment-type-features {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-align: start;
}

.apartment-type-features li {
  position: relative;
  padding-block: 0.65rem;
  padding-inline-start: 1.25rem;
  padding-inline-end: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 8%, transparent);
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-cream) 82%, transparent);
}

.apartment-type-features li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.apartment-type-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: calc(0.65rem + 0.45em);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #A88C74;
  opacity: 1;
}

.apartment-type-desc {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 1.5rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-cream) 88%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .apartment-type,
  .apartment-type-media img,
  .apartment-type-title {
    transition: none;
  }

  .apartment-type:hover {
    transform: none;
  }

  .apartment-type:hover .apartment-type-media img {
    transform: none;
  }
}

.apartment-tab {
  appearance: none;
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--apt-olive);
  background: transparent;
  color: var(--apt-olive);
  transition: background 0.2s ease, color 0.2s ease;
}

.apartment-tab.is-active,
.apartment-tab[aria-selected="true"] {
  background: var(--apt-olive);
  color: var(--color-cream);
}

.apartment-tab:hover {
  background: color-mix(in srgb, var(--apt-olive) 12%, transparent);
}

.apartment-tab.is-active:hover,
.apartment-tab[aria-selected="true"]:hover {
  background: var(--apt-olive-soft);
  color: var(--color-cream);
}

.apartments-title {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.2;
}

.apartments-leaf {
  display: inline-flex;
  color: var(--apt-olive);
}

.apartments-copy > .apartments-leaf {
  display: flex;
  margin-bottom: 0.85rem;
}

.apartments-lead {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.apartment-model-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.apartment-features {
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.apartment-features li {
  position: relative;
  padding-inline-start: 1.4rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.45;
}

.apartment-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.2rem;
  width: 0.85rem;
  height: 0.85rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c0-6 4-10 9-12-1 7-5 11-9 12Z'/%3E%3Cpath d='M12 21c0-6-4-10-9-12 1 7 5 11 9 12Z'/%3E%3Cpath d='M12 21V9'/%3E%3C/svg%3E");
}

.btn-apartments {
  background: var(--apt-olive);
  color: var(--color-cream);
  border-color: var(--apt-olive);
  border-radius: 8px;
  padding: 0.9rem 1.45rem;
  font-weight: 500;
}

.btn-apartments:hover {
  background: var(--apt-olive-soft);
  color: var(--color-cream);
  border-color: var(--apt-olive-soft);
}

.apartments-gallery {
  display: grid;
  gap: 0.75rem;
}

.apartment-main-image {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: color-mix(in srgb, var(--color-cream) 70%, var(--color-oak));
}

.apartment-badge {
  position: absolute;
  z-index: 1;
  inset-block-start: 0.85rem;
  inset-inline-end: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  background: var(--apt-olive);
  color: var(--color-cream);
  font-size: 0.72rem;
  line-height: 1.2;
}

.apartment-photo {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.apartment-photo-main,
.apartment-photo[data-photo="0"] {
  background-image:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--color-smoke-blue) 25%, transparent),
      color-mix(in srgb, var(--color-olive) 35%, transparent)
    ),
    linear-gradient(135deg, var(--color-olive) 0%, var(--color-oak) 45%, var(--color-smoke-blue) 100%);
}

.apartment-photo-1 {
  background-image: linear-gradient(145deg, var(--color-olive), var(--color-cream));
}

.apartment-photo-2 {
  background-image: linear-gradient(145deg, var(--color-oak), var(--color-cream));
}

.apartment-photo-3 {
  background-image: linear-gradient(145deg, color-mix(in srgb, var(--color-olive) 70%, var(--color-cream)), var(--color-cream));
}

.apartment-photo-4 {
  background-image: linear-gradient(145deg, color-mix(in srgb, var(--color-smoke-blue) 55%, var(--color-cream)), var(--color-oak));
}

.apartment-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.apartment-thumb {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.apartment-thumb.is-active {
  border-color: var(--apt-olive);
}

.apartment-thumb:hover {
  opacity: 0.92;
}

.apartments-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-block: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--apt-olive) 22%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-cream) 55%, transparent);
}

.apartments-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-charcoal);
  border-inline-start: 1px solid color-mix(in srgb, var(--apt-olive) 18%, transparent);
}

.apartments-strip li:first-child {
  border-inline-start: 0;
}

.apartments-strip-icon {
  color: var(--apt-olive);
}

/* ---------- Company ---------- */

.section-company {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  color: var(--color-charcoal);
  padding-block: 0;
  min-height: 75vh;
  min-height: 75svh;
  height: 75vh;
  height: 75svh;
}

.company-media {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 50%;
  z-index: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-sizing: border-box;
  background: var(--color-cream);
}

.company-media img {
  display: block;
  width: 652px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.company-copy {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  min-height: 100%;
  height: 100%;
  margin-inline-end: auto;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
}

.company-header {
  width: 100%;
  max-width: min(42rem, 100%);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.company-header h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.25;
}

.company-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
  color: var(--color-olive);
}

.company-divider::before,
.company-divider::after {
  content: "";
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  height: 1px;
  background: color-mix(in srgb, var(--color-oak) 55%, transparent);
}

.company-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.company-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 36rem;
  margin: 0;
}

.company-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.35rem 1.1rem;
  text-align: start;
}

.company-features li:nth-child(-n + 2) {
  border-bottom: 1px solid color-mix(in srgb, var(--color-charcoal) 12%, var(--color-cream));
}

.company-features li:nth-child(odd) {
  border-inline-end: 1px solid color-mix(in srgb, var(--color-charcoal) 12%, var(--color-cream));
}

.company-feature-icon {
  flex-shrink: 0;
  color: var(--color-charcoal);
}

.company-feature-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.35;
}

.company-feature-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ---------- Gallery — editorial journal ---------- */

.section-gallery {
  background: none;
  color: rgba(31, 95, 137, 1);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  min-height: 0;
  justify-content: flex-start;
}

.gallery-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

.gallery-masthead {
  text-align: center;
  max-width: min(42rem, 100%);
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.gallery-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--color-oak);
}

.gallery-masthead h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--color-charcoal);
}

.gallery-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  margin: 1rem auto 0;
  color: var(--color-oak);
}

.gallery-divider::before,
.gallery-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: color-mix(in srgb, var(--color-oak) 55%, transparent);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  grid-auto-flow: dense;
  gap: clamp(0.55rem, 1.1vw, 0.9rem);
  width: min(100%, 1180px);
  margin-inline: auto;
}

.gallery-item {
  margin: 0;
  min-width: 0;
}

.gallery-item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-charcoal) 12%, var(--color-cream));
  cursor: zoom-in;
  isolation: isolate;
}

.gallery-item--wide .gallery-shot {
  aspect-ratio: 2 / 1;
}

.gallery-shot:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.gallery-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-charcoal) 72%, transparent) 0%,
    color-mix(in srgb, var(--color-charcoal) 12%, transparent) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-caption {
  position: absolute;
  inset-inline: 0.9rem;
  bottom: 0.85rem;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-cream);
  opacity: 0;
  transform: translateY(0.35rem);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  text-align: start;
}

.gallery-item:hover .gallery-shot img,
.gallery-item:focus-within .gallery-shot img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-shot::after,
.gallery-item:focus-within .gallery-shot::after,
.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  opacity: 1;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-shot img,
  .gallery-shot::after,
  .gallery-caption {
    transition: none;
  }

  .gallery-shot img {
    transform: none;
  }

  .gallery-item:hover .gallery-shot img,
  .gallery-item:focus-within .gallery-shot img {
    transform: none;
  }

  .gallery-caption,
  .gallery-shot::after {
    opacity: 1;
  }

  .gallery-caption {
    transform: none;
  }
}

/* ---------- Contact ---------- */

.section-contact {
  position: relative;
  overflow: hidden;
  background: rgba(73, 57, 46, 1);
  color: var(--color-cream);
  padding-block: 0;
  min-height: 75vh;
  min-height: 75svh;
  height: 75vh;
  height: 75svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat url("../images/Gallery/facade-front.jpg");
  opacity: 0.45;
  pointer-events: none;
}

.contact-shell {
  position: relative;
  z-index: 1;
  width: min(92%, 1100px);
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-masthead {
  max-width: min(42rem, 100%);
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.contact-masthead h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--color-cream);
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  margin: 1rem auto 0;
  color: var(--color-oak);
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: color-mix(in srgb, var(--color-oak) 45%, transparent);
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  width: 100%;
  max-width: 56rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0;
  list-style: none;
}

.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.35s ease;
}

.contact-channel:hover {
  color: var(--color-oak);
  transform: translateY(-0.2rem);
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1.5px solid color-mix(in srgb, var(--color-cream) 28%, transparent);
  border-radius: 50%;
  color: var(--color-cream);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.contact-channel:hover .contact-channel-icon {
  border-color: color-mix(in srgb, var(--color-oak) 70%, transparent);
  background: color-mix(in srgb, var(--color-oak) 14%, transparent);
  color: var(--color-oak);
}

.contact-channel-value {
  font-size: 0.98rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--color-cream) 90%, transparent);
}

.contact-channel:hover .contact-channel-value {
  color: var(--color-cream);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-olive);
  color: var(--color-cream);
  padding-block: 2.25rem 1.75rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer a {
  color: var(--color-cream);
}

.site-footer a:hover {
  color: color-mix(in srgb, var(--color-cream) 78%, var(--color-charcoal));
}

.footer-copy {
  margin: 0;
  opacity: 0.85;
  font-size: 0.9rem;
  text-align: center;
}

.site-legal {
  margin-top: 2rem;
  padding-block: 1.35rem 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--color-cream) 14%, transparent);
}

.site-legal-text {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--color-cream) 62%, transparent);
  text-align: start;
}

.site-legal-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  font-size: 0.8rem;
}

.site-legal-links a {
  color: var(--color-cream);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-legal-links a:hover {
  color: var(--color-oak);
}

.site-legal-links span {
  opacity: 0.45;
}

/* ---------- WhatsApp float ---------- */

.whatsapp-float {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  top: 50%;
  z-index: 195;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--color-charcoal) 28%, transparent);
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--color-charcoal) 34%, transparent);
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--color-charcoal) 45%, transparent);
  backdrop-filter: blur(4px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  width: min(100%, 34rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-charcoal);
  box-shadow: 0 16px 48px color-mix(in srgb, var(--color-charcoal) 28%, transparent);
  text-align: center;
}

.cookie-banner-title {
  margin: 0;
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.cookie-banner-text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.cookie-banner-text a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner-text a:hover {
  color: var(--color-link-hover);
}

.cookie-banner-accept {
  appearance: none;
  flex: 0 0 auto;
  margin-inline: auto;
  padding: 0.7rem 1.45rem;
  border: 0;
  border-radius: 146px;
  background: var(--color-olive);
  color: var(--color-cream);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-banner-accept:hover {
  background: color-mix(in srgb, var(--color-olive) 82%, var(--color-charcoal));
}

.cookie-banner-accept:focus-visible {
  outline: 2px solid var(--color-olive);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .cookie-banner-inner {
    width: min(100%, 22rem);
  }

  .cookie-banner-accept {
    width: 100%;
  }

  .whatsapp-float {
    top: auto;
    bottom: max(6.5rem, calc(5.5rem + env(safe-area-inset-bottom)));
    transform: none;
  }

  .whatsapp-float:hover {
    transform: scale(1.06);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .advantages-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .advantage-item:nth-child(4),
  .advantage-item:nth-child(5) {
    grid-column: span 1;
  }

  .apartment-type-title {
    font-size: clamp(1.45rem, 3vw, 1.85rem);
  }

  .apartment-metric-value {
    font-size: clamp(1.4rem, 2.4vw, 1.65rem);
  }

  .apartment-type-features li {
    font-size: 0.95rem;
  }

  .apartment-type-desc {
    font-size: 1.2rem;
  }
}

@media (max-width: 900px) {
  :root {
    --container: 92%;
    --section-space: clamp(3rem, 7vw, 5rem);
    --header-height: 84px;
    --header-height-scrolled: 72px;
  }

  .section:not(.hero):not(.section-atmosphere) {
    min-height: 0;
  }

  .gallery-masthead {
    max-width: min(36rem, 100%);
  }

  .gallery-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-atmosphere {
    height: 55vh;
    height: 55svh;
    min-height: 18rem;
    max-height: 28rem;
  }

  .section-location {
    padding-block: 0;
    justify-content: flex-start;
  }

  .section-company,
  .section-apartments,
  .section-contact {
    padding-block: 0;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
  }

  .section-apartments,
  .section-contact {
    padding-block: var(--section-space);
  }

  .apartments-inner {
    height: auto;
    padding-block: 0;
  }

  .company-media {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: clamp(1.25rem, 5vw, 2rem);
  }

  .company-media img {
    width: 100%;
    max-height: 48vh;
  }

  .company-copy {
    width: 100%;
    min-height: 0;
    height: auto;
    margin-inline: 0;
    padding-block: var(--section-space);
    padding-inline: clamp(1.25rem, 5vw, 2rem);
  }

  .company-features {
    max-width: 100%;
  }

  .apartments-layout {
    grid-template-columns: 1fr;
  }

  .apartments-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .apartments-strip li:nth-child(4n + 1) {
    border-inline-start: 0;
  }

  .location-main {
    flex-direction: column;
  }

  .location-body {
    flex-direction: column;
  }

  .location-media {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: clamp(1.25rem, 5vw, 2rem);
  }

  .location-map-img {
    width: min(100%, 520px);
    max-height: 48vh;
  }

  .location-copy {
    width: 100%;
    margin-inline: 0;
    padding-block: var(--section-space);
    padding-inline: clamp(1.25rem, 5vw, 2rem);
  }

  .location-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-divider::before,
  .location-divider::after,
  .apartments-header-divider::before,
  .apartments-header-divider::after,
  .tax-divider::before,
  .tax-divider::after {
    min-width: 2rem;
  }

  .advantages-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tax-points {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .advantage-item {
    min-height: 0;
    padding: 1.5rem 1rem 1.4rem;
  }

  .contact-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .brand-logo {
    width: 148px;
    height: 72px;
    max-width: min(148px, 40vw);
  }

  .site-header.is-scrolled .brand-logo {
    width: 128px;
    height: 62px;
    max-width: min(128px, 40vw);
  }
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    padding-inline: max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-left));
  }

  .nav-toggle {
    display: flex;
    order: 3;
    position: relative;
    z-index: 120;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand {
    order: 1;
    position: relative;
    z-index: 120;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 118px;
    height: 56px;
    max-width: min(118px, 34vw);
  }

  .site-header.is-scrolled .brand-logo {
    width: 104px;
    height: 50px;
    max-width: min(104px, 32vw);
  }

  .nav-cta-bar {
    display: none;
  }

  .header-actions {
    display: flex;
    order: 2;
    position: relative;
    z-index: 120;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    margin-inline-start: auto;
  }

  .nav-phone-bar {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .nav-phone-bar::before {
    width: 0.85rem;
    height: 0.85rem;
  }

  .header-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-charcoal) 18%, transparent);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .header-whatsapp:hover {
    background: #1ebe57;
    color: #fff;
    transform: scale(1.05);
  }

  .header-whatsapp:focus-visible {
    outline: 2px solid var(--color-cream);
    outline-offset: 2px;
  }

  .site-header.is-scrolled .header-whatsapp:focus-visible,
  body.nav-open .header-whatsapp:focus-visible {
    outline-color: var(--color-olive);
  }

  .whatsapp-float {
    display: none;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    border: 0;
    padding: 0;
    margin: 0;
    background: color-mix(in srgb, var(--color-charcoal) 45%, transparent);
    cursor: pointer;
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    order: 4;
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100dvh;
    height: 100vh;
    max-height: none;
    padding:
      calc(var(--header-height) + 0.5rem)
      max(1.25rem, env(safe-area-inset-left))
      max(1.5rem, env(safe-area-inset-bottom))
      max(1.25rem, env(safe-area-inset-right));
    background: color-mix(in srgb, var(--color-cream) 96%, var(--color-oak));
    color: var(--color-charcoal);
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.35s;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -12px 0 40px color-mix(in srgb, var(--color-charcoal) 18%, transparent);
  }

  .site-header {
    z-index: 110;
  }

  .site-header.is-scrolled,
  body.nav-open .site-header {
    background: var(--header-bg-scrolled);
    color: var(--header-text-scrolled);
    backdrop-filter: blur(10px);
  }

  body.nav-open .brand-logo {
    filter: none;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0.5rem 0 1rem;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.95rem 0.35rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid color-mix(in srgb, var(--color-charcoal) 10%, transparent);
    color: var(--color-charcoal);
  }

  .site-nav a:hover {
    color: var(--color-primary);
  }

  .nav-cta-menu {
    display: inline-flex;
    align-self: stretch;
    justify-content: center;
    margin-top: 1.25rem;
    padding: 0.95rem 1.25rem;
    font-size: 1.1rem;
  }

  .nav-phone-menu {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .apartment-types {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .apartment-type-body {
    padding: 1.5rem 1.25rem;
  }

  .apartment-type-title {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
    margin-bottom: 1.15rem;
  }

  .apartment-type-metrics {
    margin-bottom: 1.25rem;
  }

  .apartment-metric {
    padding: 0.85rem 0.5rem;
  }

  .apartment-type-features li {
    font-size: 0.95rem;
    padding-block: 0.55rem;
  }

  .apartment-type-desc {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .hero-content {
    width: 100%;
    max-width: min(638px, 100%);
    padding-inline: 1rem;
    padding-block: calc(var(--header-height) + 1.25rem) 2rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 9.5vw, 2.75rem);
  }

  .hero-subtitle {
    font-size: clamp(0.82rem, 4vw, 1.2rem);
  }

  .hero-lead {
    font-size: clamp(0.8rem, 3.6vw, 1rem);
  }

  .section-tax {
    padding-block: clamp(3.25rem, 10vw, 5rem);
    padding-inline: 1rem;
  }

  .section-tax::after {
    background: radial-gradient(
      ellipse 92% 78% at 50% 46%,
      color-mix(in srgb, var(--tax-surface) 96%, transparent) 0%,
      color-mix(in srgb, var(--tax-surface) 86%, transparent) 42%,
      color-mix(in srgb, var(--tax-surface) 38%, transparent) 72%,
      transparent 100%
    );
  }

  .tax-shell {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .tax-spotlight {
    margin-bottom: 0.35rem;
    padding: 0.75rem 0.5rem 0.15rem;
  }

  .tax-percent-value {
    width: auto;
    height: auto;
    font-size: clamp(3.5rem, 18vw, 5.25rem);
  }

  .tax-percent-label {
    margin-top: 0.4rem;
    font-size: clamp(1.15rem, 5.5vw, 1.65rem);
  }

  .tax-lead {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding-inline: 0.15rem;
    font-size: clamp(0.98rem, 3.8vw, 1.08rem);
    line-height: 1.7;
  }

  .tax-points {
    width: 100%;
    gap: 0.85rem;
  }

  .tax-points li {
    padding: 0.85rem 0.9rem;
  }

  .tax-point-title {
    font-size: 0.95rem;
  }

  .tax-point-text {
    max-width: none;
    font-size: 0.88rem;
  }

  .location-header h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .location-lead {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .location-points {
    gap: 1.25rem 1rem;
  }

  .company-header h2 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  }

  .gallery-shell {
    padding-inline: 1rem;
  }

  .contact-shell {
    width: min(94%, 1100px);
    padding-block: 0;
  }

  .contact-channel-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .image-lightbox {
    padding: 0.75rem;
  }

  .image-lightbox-dialog {
    max-height: min(88vh, 88dvh);
  }

  .image-lightbox-photo {
    max-height: min(88vh, 88dvh);
  }
}

@media (max-width: 560px) {
  :root {
    --container: 90%;
    --header-height: 76px;
    --header-height-scrolled: 66px;
    --section-space: clamp(2.5rem, 8vw, 3.5rem);
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .gallery-item--lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
    font-size: 0.75rem;
  }

  .gallery-shot::after {
    opacity: 1;
  }

  .advantages-list,
  .location-points,
  .apartments-strip,
  .company-features {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 1.5rem 0.75rem;
  }

  .company-features li {
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-charcoal) 12%, var(--color-cream));
  }

  .company-features li:nth-child(-n + 2),
  .company-features li:nth-child(odd) {
    border-inline-end: 0;
  }

  .company-features li:last-child {
    border-bottom: 0;
  }

  .apartments-strip li {
    border-inline-start: 0;
    border-block-start: 1px solid color-mix(in srgb, var(--apt-olive) 18%, transparent);
    padding-block: 0.85rem;
  }

  .apartments-strip li:first-child {
    border-block-start: 0;
  }

  .about-header h2 {
    font-size: 1.35rem;
  }

  .advantage-item {
    min-height: 0;
    padding: 1.35rem 1rem;
  }

  .advantage-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .tax-percent-value {
    width: auto;
    height: auto;
    font-size: clamp(3.25rem, 20vw, 4.75rem);
  }

  .tax-percent-label {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .tax-lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .section-atmosphere {
    height: 42vh;
    height: 42svh;
    min-height: 14rem;
    max-height: 22rem;
  }

  .location-point-icon {
    width: 4rem;
    height: 4rem;
  }

  .location-point-icon svg {
    width: 1.85rem;
    height: 1.85rem;
  }

  .location-points li {
    font-size: 0.95rem;
  }

  .company-media img {
    max-height: 42vh;
  }

  .location-map-img {
    max-height: 42vh;
  }

  .site-legal-text {
    font-size: 0.68rem;
  }

  .site-legal-links {
    justify-content: center;
  }

  .btn,
  .btn-about {
    width: 100%;
    max-width: 20rem;
  }

  .btn-play {
    --btn-play-size: 3.25rem;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .sticky-contact-cta {
    white-space: normal;
    font-size: 1.1rem;
    text-align: center;
  }
}

/* ---------- Sticky contact strip ---------- */

.sticky-contact {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--color-charcoal);
  color: var(--color-cream);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 24px color-mix(in srgb, var(--color-charcoal) 28%, transparent);
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-contact.is-closed {
  transform: translateY(calc(100% + 1.5rem));
  pointer-events: none;
}

.sticky-contact-close {
  position: absolute;
  top: 0.55rem;
  left: 0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--color-cream) 28%, transparent);
  border-radius: 50%;
  background: transparent;
  color: color-mix(in srgb, var(--color-cream) 75%, transparent);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sticky-contact-close:hover {
  color: var(--color-cream);
  border-color: color-mix(in srgb, var(--color-cream) 55%, transparent);
  background: color-mix(in srgb, var(--color-cream) 8%, transparent);
}

.sticky-contact-close:focus-visible {
  outline: 2px solid var(--color-oak);
  outline-offset: 2px;
}

.sticky-contact-reopen {
  position: fixed;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 201;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-oak);
  color: var(--color-charcoal);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-charcoal) 28%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease,
    background 0.2s ease;
}

.sticky-contact-reopen.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-contact-reopen:hover {
  background: color-mix(in srgb, var(--color-oak) 85%, var(--color-cream));
}

.sticky-contact-reopen:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

body.sticky-contact-closed {
  padding-bottom: 0;
}

.sticky-contact-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: 1rem;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
  min-height: var(--sticky-contact-height);
  border-width: 0;
  border-color: transparent;
  border-image: none;
}

.sticky-contact-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 9rem;
  height: 64px;
}

.sticky-contact-logo {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
}

.sticky-contact-sep {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  min-height: 3rem;
  background: var(--color-oak);
  opacity: 0.85;
}

.sticky-contact-cta {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
  white-space: normal;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-cream);
}

.sticky-contact-cta span {
  display: block;
}

.sticky-contact-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  align-items: end;
}

.sticky-field {
  display: grid;
  gap: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sticky-field input {
  width: 100%;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 2px solid var(--color-oak);
  border-radius: 0;
  background: transparent;
  color: var(--color-cream);
  font: inherit;
  font-size: 1rem;
  outline: none;
  text-align: right;
}

.sticky-field input:focus {
  border-bottom-color: var(--color-cream);
}

.sticky-field input::placeholder {
  color: color-mix(in srgb, var(--color-cream) 55%, transparent);
  text-align: right;
}

.sticky-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.68rem;
  line-height: 1.35;
  font-weight: 200;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--color-cream) 78%, transparent);
  cursor: pointer;
}

.sticky-consent input {
  margin-top: 0.15rem;
  accent-color: var(--color-oak);
  flex-shrink: 0;
}

.sticky-contact-submit {
  position: relative;
  flex-shrink: 0;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 2.35rem;
  min-width: 8.25rem;
  background: var(--color-oak);
  color: var(--color-charcoal);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    gap 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.3s ease;
}

.sticky-contact-submit-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-contact-submit-label {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 0.35s ease;
}

.sticky-contact-submit-success {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.6rem;
  height: 2.6rem;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-contact-submit.is-success {
  background: var(--color-olive);
  cursor: default;
  gap: 0;
  padding-inline: 2.35rem;
}

.sticky-contact-submit.is-success .sticky-contact-submit-content {
  opacity: 0;
  transform: scale(0.8);
}

.sticky-contact-submit.is-success .sticky-contact-submit-success {
  opacity: 1;
  transform: scale(1);
}

.sticky-contact-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(0.4rem);
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-contact-submit-icon svg {
  flex-shrink: 0;
  transform: scaleX(-1);
}

.sticky-contact-submit:hover {
  background: color-mix(in srgb, var(--color-oak) 78%, var(--color-cream));
  gap: 0.45rem;
  padding-inline: 1.85rem 1.65rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-charcoal) 18%, transparent);
  transform: translateY(-2px);
}

.sticky-contact-submit:hover .sticky-contact-submit-label {
  transform: translateX(0.15rem);
  letter-spacing: 0.04em;
}

.sticky-contact-submit:hover .sticky-contact-submit-icon {
  width: 1.15rem;
  max-width: 1.15rem;
  opacity: 1;
  transform: translateX(0);
}

.sticky-contact-submit:active {
  transform: translateY(0);
}

.sticky-contact-submit:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* Honeypot - hidden from users, visible to naive bots */
.sticky-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sticky-contact-status {
  flex-basis: 100%;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.sticky-contact-status.is-success {
  color: #234a2b;
  background: color-mix(in srgb, #6b7a63 26%, var(--color-cream));
}

.sticky-contact-status.is-error {
  color: #6b2b2b;
  background: color-mix(in srgb, #a8746c 30%, var(--color-cream));
}

.sticky-contact-form.is-sending {
  opacity: 0.95;
}

@media (max-width: 1100px) {
  :root {
    --sticky-contact-height: auto;
  }

  body {
    padding-bottom: 7.5rem;
  }

  body.sticky-contact-closed {
    padding-bottom: 0;
  }

  .sticky-contact-form {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding-block: 0.9rem;
  }

  .sticky-contact-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    white-space: normal;
  }

  .sticky-contact-cta span {
    display: inline;
  }

  .sticky-contact-fields {
    width: 100%;
    flex: 1 1 100%;
    max-width: none;
    order: 3;
  }

  .sticky-contact-submit {
    order: 4;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: max(14rem, calc(11.5rem + env(safe-area-inset-bottom)));
  }

  body.sticky-contact-closed {
    padding-bottom: 0;
  }

  .sticky-contact {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sticky-contact-form {
    padding-inline: 1rem;
    padding-block: 1rem 0.85rem;
  }

  .sticky-contact-sep {
    display: none;
  }

  .sticky-contact-fields {
    grid-template-columns: 1fr;
    width: 100%;
    flex-basis: 100%;
  }

  .sticky-contact-brand {
    display: none;
  }

  .sticky-contact-cta {
    width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 1.15rem;
  }

  .sticky-contact-submit {
    width: 100%;
  }

  .sticky-contact-reopen {
    left: max(1rem, env(safe-area-inset-left));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .sticky-contact-close {
    top: 0.45rem;
    left: 0.5rem;
  }
}
