/* ===================================================================
   LUXURY LONG STAY SP: Stylesheet
   Aesthetic: refined, warm neutrals, generous whitespace, editorial
   =================================================================== */

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

:root {
  /* Palette: luxury green & gold */
  --color-bg:        #f8f9f7;
  --color-surface:   #ffffff;
  --color-text:      #262b25;
  --color-text-soft: #5c6658;
  --color-accent:    #3d6b4a;
  --color-accent-hover: #2e5438;
  --color-gold:      #c5a86a;
  --color-dark:      #171c16;
  --color-border:    #dfe5dc;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-py: 7rem;
  --container-max: 1100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

/* ----- Container --------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Section ----------------------------------------------------- */
.section {
  padding: var(--section-py) 0;
}

.section__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.section__subheading {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  margin-bottom: 3rem;
}

/* ----- Buttons ----------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 2px;
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
}

.btn--large {
  padding: 1.1rem 3rem;
  font-size: 1rem;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background-color: transparent;
}

.nav--scrolled {
  background-color: rgba(250, 249, 247, 0.97);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.nav__logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.nav__logo-img--green {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
}

.nav--scrolled .nav__logo-img--white {
  opacity: 0;
}

.nav--scrolled .nav__logo-img--green {
  opacity: 1;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__links a {
  font-size: 0.8rem;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
}

.nav--scrolled .nav__links a {
  color: var(--color-text-soft);
}

.nav__links a:hover {
  color: var(--color-gold);
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  transition: border-color 0.3s, color 0.3s;
}

.nav__lang-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav--scrolled .nav__lang {
  border-color: var(--color-border);
}

.nav__lang-icon {
  font-size: 0.95rem;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: background-color 0.3s;
}

.nav--scrolled .nav__toggle span {
  background-color: var(--color-text);
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1b2819 0%, #2e3d2c 50%, #3d6b4a 100%);
  background-image: url('/images/luxury-longstay-sao-paulo-facade-basilio-177.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 2rem 1.5rem;
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ===================================================================
   INTRO
   =================================================================== */
.intro {
  text-align: center;
  background-color: var(--color-surface);
}

.intro__text {
  max-width: 780px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--color-text-soft);
  line-height: 1.85;
}

.intro__lease {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* ===================================================================
   RESIDENCE
   =================================================================== */
.residence__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.residence__shot {
  margin: 0;
}

.residence__shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
}

.residence__shot-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.residence__shot-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #e8ebe6;
  transition: transform 0.4s ease;
}

.residence__shot-btn:hover .residence__shot-img {
  transform: scale(1.04);
}

.residence__shot-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(16, 22, 15, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  max-width: 1200px;
  width: 100%;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__caption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.is-lightbox-open {
  overflow: hidden;
}

.residence__gallery-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-text-soft);
  opacity: 0.7;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.residence__text {
  max-width: 780px;
  font-size: 1.05rem;
  color: var(--color-text-soft);
  line-height: 1.85;
  margin-bottom: 3rem;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.feature__icon {
  font-size: 1.4rem;
  color: var(--color-gold);
  flex-shrink: 0;
}

.feature__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ===================================================================
   BUILDING
   =================================================================== */
.building {
  background-color: var(--color-surface);
}

.building__text {
  max-width: 780px;
  font-size: 1.05rem;
  color: var(--color-text-soft);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.building__highlight {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-accent);
  border-left: 3px solid var(--color-gold);
  padding-left: 1.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.building__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.building__image-wrap {
  border-radius: 4px;
  overflow: hidden;
}

.building__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* ===================================================================
   AMENITIES
   =================================================================== */
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.amenity-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.amenity-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.amenity-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.amenity-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.amenity-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.amenity-card--has-img {
  padding: 0;
  overflow: hidden;
}

.amenity-card--has-img .amenity-card__title,
.amenity-card--has-img .amenity-card__desc {
  padding: 0 2rem;
}

.amenity-card--has-img .amenity-card__title {
  padding-top: 1.5rem;
}

.amenity-card--has-img .amenity-card__desc {
  padding-bottom: 2rem;
}

.amenity-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.amenity-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 0.18rem 0.5rem;
  margin-bottom: 0.65rem;
}

.amenity-card--has-img .amenity-card__badge {
  margin-left: 2rem;
}

/* ===================================================================
   LOCATION
   =================================================================== */
.location {
  background-color: var(--color-surface);
}

.location__text {
  max-width: 780px;
  font-size: 1.05rem;
  color: var(--color-text-soft);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.location__nearby {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.location__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.location__icon {
  font-size: 1.5rem;
}

.location__map {
  margin-top: 2rem;
}

/* ===================================================================
   NEIGHBORHOOD
   =================================================================== */
.neighborhood {
  background: linear-gradient(135deg, #1b2819 0%, #222d20 50%, #2e3d2c 100%);
  color: #fff;
}

.neighborhood__heading {
  color: #fff;
}

.neighborhood__subheading {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
  max-width: 700px;
}

.neighborhood__hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* Tabs */
.neighborhood__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.neighborhood__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.neighborhood__tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}

.neighborhood__tab--active {
  background: rgba(197, 168, 106, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.neighborhood__tab-icon {
  font-size: 1.1rem;
}

/* Panels */
.neighborhood__panel {
  display: none;
}

.neighborhood__panel--active {
  display: block;
}

/* Grid */
.neighborhood__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Cards */
.neighborhood__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.neighborhood__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 168, 106, 0.3);
  transform: translateY(-2px);
}

.neighborhood__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.neighborhood__card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.neighborhood__card-name a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.neighborhood__card-name a:hover {
  color: var(--color-gold);
}

.neighborhood__card-dist {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gold);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.neighborhood__card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.neighborhood__card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  font-style: italic;
}

/* ===================================================================
   AVAILABILITY CALENDAR
   =================================================================== */
.availability {
  background-color: var(--color-surface);
}

.cal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}

.cal__month-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal__day-name {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  text-align: center;
  padding: 0.3rem 0;
}

.cal__cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.cal__cell--empty {
  background: transparent;
}

.cal__cell--available {
  background-color: #e8f0e5;
  color: var(--color-accent);
  font-weight: 500;
}

.cal__cell--booked {
  background-color: #f0e0dc;
  color: #8b5e57;
  font-weight: 400;
}

.cal__cell--past {
  background-color: transparent;
  color: var(--color-border);
}

.cal__cell--today {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
  font-weight: 600;
}

.cal__cell--available,
.cal__cell--today {
  cursor: pointer;
}

.cal__cell--available:hover,
.cal__cell--today:hover {
  background-color: #d0e4cb;
  box-shadow: 0 0 0 1.5px var(--color-accent);
}

/* Legend */
.cal__legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.cal__legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.cal__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.cal__legend-dot--available {
  background-color: #e8f0e5;
  border: 1px solid #c4d8be;
}

.cal__legend-dot--booked {
  background-color: #f0e0dc;
  border: 1px solid #dcc5c0;
}

.cal__legend-dot--today {
  background-color: var(--color-surface);
  border: 2px solid var(--color-gold);
}

.cal__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cal__range {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  min-width: 280px;
  text-align: center;
}

.cal__arrow {
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  color: var(--color-accent);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal__arrow:hover:not(:disabled) {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: #fff;
}

.cal__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.cal__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.cal__fallback {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-soft);
  max-width: 500px;
  margin: 0 auto;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  background-color: var(--color-bg);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer p {
  padding: 0 0 1.4rem;
  font-size: 1rem;
  color: var(--color-text-soft);
  line-height: 1.8;
  max-width: 720px;
}

.faq__answer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq__answer a:hover {
  color: var(--color-accent-hover);
}

/* Extended FAQ section */
.faq__extended-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-text);
  margin: 4rem auto 0.75rem;
  max-width: 800px;
  letter-spacing: -0.02em;
}

.faq__extended-sub {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0 auto 2.5rem;
  max-width: 800px;
}

.faq__category-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-accent);
  max-width: 800px;
  margin: 2.5rem auto 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gold);
}

/* ===================================================================
   CTA
   =================================================================== */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #1b2819 0%, #2e4a34 100%);
  color: #fff;
}

.cta .section__heading {
  color: #fff;
}

.cta__text {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ----- Contact Form ------------------------------------------------ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form__group {
  margin-bottom: 1.25rem;
}

.contact-form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 168, 106, 0.25);
}

.contact-form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  margin-top: 0.5rem;
  width: 100%;
}

.form-msg {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border-radius: 3px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-msg--success {
  background: rgba(61, 107, 74, 0.3);
  border: 1px solid rgba(61, 107, 74, 0.5);
  color: #c8e6c9;
}

.form-msg--error {
  background: rgba(211, 47, 47, 0.2);
  border: 1px solid rgba(211, 47, 47, 0.4);
  color: #ffcdd2;
}

.cta__fallback {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer__copy {
  font-size: 0.8rem;
}

.footer__langs a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__langs a.active {
  color: var(--color-gold);
}

.footer__sep {
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.2);
}

.footer__disclaimer {
  width: 100%;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 768px) {
  :root {
    --section-py: 4.5rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
  }

  .nav__lang {
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

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

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

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

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

  .cal {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .cal__legend {
    flex-wrap: wrap;
    gap: 1rem;
  }

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

  .neighborhood__tabs {
    gap: 0.4rem;
  }

  .neighborhood__tab {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

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

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

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2rem;
  }

  .hero__sub {
    font-size: 1rem;
  }

  .section__heading {
    font-size: 1.75rem;
  }

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

  .lightbox {
    padding: 1rem;
  }

  .lightbox__close {
    top: 0.6rem;
    right: 0.8rem;
  }
}

/* ===================================================================
   GOOGLE MAPS CONSENT PLACEHOLDER
   =================================================================== */
.map-consent {
  height: 400px;
  background: linear-gradient(135deg, #e8ebe6 0%, #dfe5dc 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.3s ease;
}

.map-consent__inner {
  max-width: 380px;
  padding: 2rem 1.5rem;
}

.map-consent__icon {
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.map-consent__address {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.map-consent__notice {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.map-consent__notice a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-consent__btn {
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
}

/* ===================================================================
   FOOTER: Legal link
   =================================================================== */
.footer__legal {
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
}

.footer__legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===================================================================
   LEGAL PAGE
   =================================================================== */

/* Simplified nav for legal page */
.nav--legal {
  background-color: rgba(250, 249, 247, 0.97);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__links--legal {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
  flex-direction: row !important;
}

/* Header banner */
.legal-header {
  background: linear-gradient(135deg, #1b2819 0%, #2e4a34 100%);
  padding: 7rem 0 3rem;
  text-align: center;
}

.legal-header__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.legal-header__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* Content area */
.legal-content {
  padding: 4rem 0;
  background-color: var(--color-surface);
}

.legal-section {
  max-width: 780px;
  margin: 0 auto 4rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.75rem;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-accent);
  margin: 2rem 0 0.75rem;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.85;
}

.legal-section ul li {
  margin-bottom: 0.3rem;
}

.legal-section a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: var(--color-accent-hover);
}

.legal-address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.85;
  background: var(--color-bg);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  border-left: 3px solid var(--color-gold);
  margin-bottom: 1.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .legal-header {
    padding: 4rem 0 2rem;
  }

  .legal-content {
    padding: 2.5rem 0;
  }

  .legal-section {
    margin-bottom: 3rem;
  }
}
