/* ============================================
   NOOR KHUZAM - LANDING PAGE STYLES
   ============================================ */

/* --- Design Tokens --- */
:root {
  --color-espresso: #2b170e;
  --color-olive: #424d3b;
  --color-slate: #496778;
  --color-powder: #9eb2cc;
  --color-gold: #a8a95a;
  --color-linen: #f7f2e6;
  --color-white: #ffffff;
  --color-overlay: rgba(66, 77, 59, 0.65);
  --color-overlay-dark: rgba(43, 23, 14, 0.7);

  --font-en: 'Cormorant Garamond', 'Georgia', serif;
  --font-ar: 'Tajawal', 'Segoe UI', sans-serif;

  --container-max: 1280px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --gap: clamp(1.5rem, 3vw, 3rem);

  --nav-height: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ar);
  color: var(--color-espresso);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[lang="en"] body,
html[lang="en"] body {
  font-family: var(--font-en);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-block: var(--section-pad);
}

.section--dark {
  background: var(--color-linen);
}

/* --- Typography --- */
.section__eyebrow {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-olive);
  margin-block-end: 1rem;
  font-weight: 500;
}

html[lang="en"] .section__eyebrow {
  font-family: var(--font-en);
  letter-spacing: 0.3em;
}

.section__eyebrow--light {
  color: var(--color-powder);
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  margin-block-end: 1.5rem;
  color: var(--color-espresso);
}

html[lang="en"] .section__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-style: italic;
}

.section__title--light {
  color: var(--color-linen);
}

.section__body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 680px;
  color: #5a4a3f;
  line-height: 1.8;
}

.section__body--light {
  color: rgba(247, 242, 230, 0.85);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-white);
  color: var(--color-olive);
}

.btn--primary:hover {
  background: var(--color-linen);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn--phone {
  background: var(--color-slate);
  color: var(--color-white);
  padding: 1.25rem 3.5rem;
  font-family: var(--font-ar);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(73, 103, 120, 0.3);
}

.btn--phone:hover {
  background: #3b5566;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(73, 103, 120, 0.45);
}

.btn--phone svg {
  flex-shrink: 0;
}

/* Tajawal's Arabic-tuned metrics push Latin text upward; nudge down */
html[lang="en"] .btn--phone span {
  transform: translateY(2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--color-espresso);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.nav__link {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

html[lang="en"] .nav__link {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav__link:hover {
  opacity: 1;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__lang-toggle {
  color: var(--color-white);
  font-family: var(--font-ar);
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 44px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: all var(--transition-fast);
  line-height: 1;
}

/* Tajawal's Arabic-tuned metrics push Latin text upward; nudge it down */
html[lang="ar"] .nav__lang-toggle span {
  transform: translateY(1.5px);
}

.nav__lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

.nav__phone {
  color: var(--color-white);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
}

.nav__phone:hover {
  opacity: 1;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  color: var(--color-white);
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

/* Mobile overlay */
.nav__mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.nav__mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav__mobile-link {
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.nav__mobile-overlay.open .nav__mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-overlay.open .nav__mobile-link:nth-child(1) { transition-delay: 0.1s; }
.nav__mobile-overlay.open .nav__mobile-link:nth-child(2) { transition-delay: 0.15s; }
.nav__mobile-overlay.open .nav__mobile-link:nth-child(3) { transition-delay: 0.2s; }
.nav__mobile-overlay.open .nav__mobile-link:nth-child(4) { transition-delay: 0.25s; }
.nav__mobile-overlay.open .nav__mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Ken Burns animation */
@keyframes kenBurns1 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
@keyframes kenBurns2 {
  0% { transform: scale(1.05) translate(1%, 0); }
  100% { transform: scale(1.18) translate(-1%, -2%); }
}
@keyframes kenBurns3 {
  0% { transform: scale(1) translate(-1%, 1%); }
  100% { transform: scale(1.12) translate(2%, -1%); }
}

.hero__slide.active img {
  animation: kenBurns1 10s ease-out forwards;
}
.hero__slide.active:nth-child(3n+2) img {
  animation-name: kenBurns2;
}
.hero__slide.active:nth-child(3n+3) img {
  animation-name: kenBurns3;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide img,
  .hero__slide.active img {
    animation: none !important;
    transform: scale(1.02);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(66, 77, 59, 0.4) 0%,
    rgba(66, 77, 59, 0.65) 50%,
    rgba(43, 23, 14, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
  max-width: 700px;
}

.hero__logo {
  height: clamp(50px, 8vw, 80px);
  width: auto;
  margin-inline: auto;
  margin-block-end: 2rem;
}

.hero__tagline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin-block-end: 1rem;
}

html[lang="en"] .hero__tagline {
  font-family: var(--font-en);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0.9;
  margin-block-end: 2.5rem;
  line-height: 1.6;
}

.hero__dots {
  position: absolute;
  bottom: 2rem;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero__dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
  background: var(--color-linen);
}

.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.vision__text {
  padding-block-start: 2rem;
}

.vision__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-block-start: 3rem;
}

.vision__pillar {
  text-align: center;
}

.vision__pillar-icon {
  color: var(--color-olive);
  margin-block-end: 0.75rem;
  display: flex;
  justify-content: center;
}

.vision__pillar h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-block-end: 0.5rem;
  color: var(--color-olive);
}

.vision__pillar p {
  font-size: 0.85rem;
  color: #6b5d53;
  line-height: 1.6;
}

.vision__images {
  display: grid;
  gap: 1rem;
}

.vision__img img {
  border-radius: 6px;
  width: 100%;
}

.vision__img--main img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.vision__img--detail img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community__hero-img {
  width: 100%;
  overflow: hidden;
}

.community__hero-img img {
  width: 100%;
  height: clamp(250px, 40vw, 500px);
  object-fit: cover;
}

.community__content {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-block-end: 3rem;
  padding-block-start: var(--section-pad);
}

.community__content .section__body {
  margin-inline: auto;
}

.community__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.community__card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.community__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.community__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.community__card h3 {
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.25rem 0.5rem;
  color: var(--color-olive);
}

.community__card p {
  font-size: 0.9rem;
  padding: 0 1.25rem 1.25rem;
  color: #6b5d53;
  line-height: 1.6;
}

/* ============================================
   RESIDENCES SECTION
   ============================================ */
.residences {
  background: var(--color-olive);
}

.residences__header {
  text-align: center;
  margin-block-end: 3rem;
}

.residences__header .section__body {
  margin-inline: auto;
}

.residences__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.residences__scroll::-webkit-scrollbar {
  display: none;
}

.residences__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  min-width: 0;
}

.residences__card {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
}

.residences__card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.residences__card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.residences__card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.residences__card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-block-end: 0.5rem;
}

html[lang="en"] .residences__card-label {
  letter-spacing: 0.15em;
}

.residences__card-content h3 {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-linen);
  margin-block-end: 0.75rem;
  line-height: 1.35;
}

html[lang="en"] .residences__card-content h3 {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.25rem;
}

.residences__card-content p {
  font-size: 0.9rem;
  color: rgba(247, 242, 230, 0.7);
  line-height: 1.6;
  margin-block-end: 1rem;
}

.residences__card-spec {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-powder);
  border: 1px solid rgba(158, 178, 204, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-block-start: auto;
}

/* ============================================
   SPACES (INTERIOR LIVING) SECTION
   ============================================ */
.spaces {
  background: var(--color-linen);
}

.spaces__header {
  text-align: center;
  margin-block-end: 4rem;
}

.spaces__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  margin-block-end: 4rem;
}

.spaces__row:last-child {
  margin-block-end: 0;
}

.spaces__row--reverse .spaces__row-img {
  order: 2;
}

.spaces__row--reverse .spaces__row-text {
  order: 1;
}

.spaces__row-img img {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.spaces__row-text {
  padding-inline: 2rem;
}

.spaces__row-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--color-olive);
  margin-block-end: 1rem;
  line-height: 1.3;
}

html[lang="en"] .spaces__row-text h3 {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
}

.spaces__row-text p {
  font-size: 1rem;
  color: #5a4a3f;
  line-height: 1.8;
}

/* ============================================
   LIFESTYLE SECTION
   ============================================ */
.lifestyle {
  background: var(--color-linen);
}

.lifestyle__header {
  text-align: center;
  margin-block-end: 3rem;
}

.lifestyle__header .section__body {
  margin-inline: auto;
}

.lifestyle__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.lifestyle__gallery-item {
  border-radius: 8px;
  overflow: hidden;
}

.lifestyle__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.lifestyle__gallery-item:hover img {
  transform: scale(1.04);
}

.lifestyle__gallery-item--wide {
  grid-column: span 2;
}

.lifestyle__gallery-item--wide img {
  height: 300px;
}

.lifestyle__gallery-item:not(.lifestyle__gallery-item--wide) img {
  height: 280px;
}

/* ============================================
   ARRIVAL SECTION
   ============================================ */
.arrival {
  position: relative;
  height: clamp(400px, 60vh, 700px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrival__parallax {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
}

.arrival__parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arrival__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  z-index: 1;
}

.arrival__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
  max-width: 700px;
}

.arrival__content blockquote p {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.35;
  margin-block-end: 1.5rem;
}

html[lang="en"] .arrival__content blockquote p {
  font-family: var(--font-en);
  font-style: italic;
}

.arrival__content span {
  font-size: 0.9rem;
  opacity: 0.7;
  text-transform: uppercase;
}

html[lang="en"] .arrival__content span {
  letter-spacing: 0.1em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-olive);
  text-align: center;
}

.contact__content {
  padding-block-end: 3rem;
}

.contact__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--color-white);
  margin-block-end: 1rem;
  line-height: 1.2;
}

html[lang="en"] .contact__title {
  font-family: var(--font-en);
  font-style: italic;
}

.contact__subtitle {
  font-size: 1.1rem;
  color: rgba(247, 242, 230, 0.8);
  margin-block-end: 2.5rem;
}

.contact__brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-block-start: 3rem;
  border-block-start: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.contact__brand-logo {
  height: 32px;
  width: auto;
  opacity: 0.8;
}

.contact__brand-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.25);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-espresso);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer__emblem {
  height: 36px;
  width: auto;
  opacity: 0.7;
}

.footer__copy {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer__brands {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer__lang-toggle {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-ar);
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 40px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  transition: all var(--transition-fast);
  line-height: 1;
}

html[lang="ar"] .footer__lang-toggle span {
  transform: translateY(1.5px);
}

.footer__lang-toggle:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

/* ============================================
   FLOATING PHONE FAB
   ============================================ */
.fab-phone {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-slate);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(73, 103, 120, 0.4);
  z-index: 900;
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
}

.fab-phone.visible {
  opacity: 1;
  transform: translateY(0);
}

.fab-phone:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(73, 103, 120, 0.5);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   RESPONSIVE - TABLET (768-1023px)
   ============================================ */
@media (max-width: 1023px) {
  .community__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .residences__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle__gallery-item--wide {
    grid-column: span 2;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (0-767px)
   ============================================ */
@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__phone {
    display: none;
  }

  .vision__grid {
    grid-template-columns: 1fr;
  }

  .vision__pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vision__images {
    order: -1;
  }

  .community__cards {
    grid-template-columns: 1fr;
  }

  .residences__cards {
    grid-template-columns: repeat(4, 280px);
    gap: 1rem;
    padding-inline-end: 1.25rem;
  }

  .residences__scroll {
    margin-inline: -1.25rem;
    padding-inline-start: 1.25rem;
    scroll-padding-inline: 1.25rem;
  }

  .spaces__row,
  .spaces__row--reverse {
    grid-template-columns: 1fr;
  }

  .spaces__row--reverse .spaces__row-img,
  .spaces__row--reverse .spaces__row-text {
    order: unset;
  }

  .spaces__row-text {
    padding-inline: 0;
  }

  .lifestyle__gallery {
    grid-template-columns: 1fr;
  }

  .lifestyle__gallery-item--wide {
    grid-column: span 1;
  }

  .lifestyle__gallery-item img,
  .lifestyle__gallery-item--wide img {
    height: 220px;
  }

  .contact__brands {
    flex-direction: column;
    gap: 1rem;
  }

  .contact__brand-divider {
    width: 40px;
    height: 1px;
  }

  .hero__dots {
    bottom: 1.5rem;
  }

  .hero__dot {
    width: 6px;
    height: 6px;
  }
}

