/* ============================================
   HAVEN — Vacation Rentals
   Design System & Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background-color: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === VARIABLES === */
:root {
  --warm-white: #FDFAF5;
  --cream: #F2EAD9;
  --sand: #DDD0BA;
  --terracotta: #C4713E;
  --terracotta-hover: #A85C2C;
  --terracotta-light: #F0D5C3;
  --forest: #1F3128;
  --forest-mid: #2E4A37;
  --gold: #C9A050;
  --charcoal: #2A2218;
  --stone: #6B5E52;
  --mist: #9A8E84;
  --border: rgba(42, 34, 24, 0.1);

  --nav-height: 80px;
  --container-max: 1280px;
  --container-pad: clamp(24px, 5vw, 80px);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 2px 12px rgba(42,34,24,0.08);
  --shadow-md: 0 8px 32px rgba(42,34,24,0.12);
  --shadow-lg: 0 24px 64px rgba(42,34,24,0.16);
  --shadow-xl: 0 40px 100px rgba(42,34,24,0.22);
}

/* === LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: clamp(64px, 10vw, 140px) 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, .nav__logo-text, .footer__logo {
  font-family: 'Cormorant Garamond', serif;
}

.section__eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--charcoal);
}

.section__title em {
  font-style: italic;
  color: var(--terracotta);
}

.section__header { margin-bottom: 60px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn--primary {
  background: var(--terracotta);
  color: white;
}
.btn--primary:hover {
  background: var(--terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196,113,62,0.35);
}

.btn--light {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}
.btn--light:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn--outline:hover {
  background: var(--terracotta);
  color: white;
}

.btn--full { width: 100%; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--transition);
}

.nav--scrolled {
  background: rgba(253,250,245,0.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav--solid {
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: white;
  transition: var(--transition);
  z-index: 10;
}
.nav--scrolled .nav__logo,
.nav--solid .nav__logo { color: var(--charcoal); }

.nav__logo-mark { color: var(--terracotta); font-size: 13px; }

.nav__links {
  display: flex;
  gap: 40px;
}

.nav__link {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: var(--transition);
}
.nav__link:hover { color: white; }
.nav__link:hover::after { width: 100%; }
.nav--scrolled .nav__link,
.nav--solid .nav__link { color: var(--stone); }
.nav--scrolled .nav__link:hover,
.nav--solid .nav__link:hover { color: var(--charcoal); }

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}
.nav__menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: white;
  transition: var(--transition);
}
.nav--scrolled .nav__menu-btn span,
.nav--solid .nav__menu-btn span { background: var(--charcoal); }

/* === LANGUAGE TOGGLE === */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.18);
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.nav--scrolled .lang-toggle,
.nav--solid .lang-toggle {
  color: var(--stone);
  border-color: var(--border);
  background: transparent;
}
.nav--scrolled .lang-toggle:hover,
.nav--solid .lang-toggle:hover {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--terracotta);
}
.lang-toggle__flag { font-size: 14px; line-height: 1; }

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid var(--border);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-lang-btn:hover { padding-left: 8px; }

.nav__mobile {
  display: none;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  padding: 16px var(--container-pad) 24px;
}
.nav__mobile a {
  display: block;
  padding: 12px 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav__mobile a:hover { color: var(--terracotta); padding-left: 8px; }
.nav__mobile.open { display: block; }

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

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31,49,40,0.78) 0%,
    rgba(42,34,24,0.52) 60%,
    rgba(196,113,62,0.12) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}
.hero__title {
  font-size: clamp(54px, 9vw, 120px);
  font-weight: 400;
  line-height: 1.0;
  color: white;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}
.hero__title em { font-style: italic; color: var(--gold); }

.hero__subtitle {
  font-family: 'Jost', sans-serif;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  margin-bottom: 44px;
  max-width: 480px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}
.hero .btn {
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 44px;
  right: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}
.hero__scroll span {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollAnim 2.2s ease infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === PROPERTY CARDS === */
.properties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.properties__grid .property-card:nth-child(4) { grid-column: 1 / 2; }
.properties__grid .property-card:nth-child(5) { grid-column: 2 / 4; }

.property-card {
  background: white;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-sm);
}
.property-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.property-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.property-card--featured .property-card__img-wrap { aspect-ratio: 16 / 9; }

.property-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.property-card:hover .property-card__img { transform: scale(1.07); }

.property-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(31,49,40,0.85);
  color: white;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  backdrop-filter: blur(8px);
}
.property-card__badge--gold { background: rgba(201,160,80,0.9); }

.property-card__body { padding: 24px 26px 28px; }

.property-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.property-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--terracotta);
}
.property-card__price span {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--stone);
}

.property-card__title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--charcoal);
  transition: color var(--transition);
}
.property-card:hover .property-card__title { color: var(--terracotta); }

.property-card__desc {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--stone);
  margin-bottom: 20px;
}

.property-card__link {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.property-card__link:hover { gap: 14px; }

/* === FEATURES SECTION === */
.features { background: var(--forest); }

.features__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.features__text .section__eyebrow { color: var(--gold); }
.features__text .section__title { color: white; }
.features__body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  margin-top: 24px;
  max-width: 420px;
}

.features__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-item {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: rgba(201,160,80,0.28);
  background: rgba(255,255,255,0.03);
  transform: translateY(-3px);
}

.feature-item__icon {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 16px;
}
.feature-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: white;
  margin-bottom: 10px;
}
.feature-item p {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
}

/* === PROPERTY HERO === */
.nav-spacer { height: var(--nav-height); }

.property-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
}
.property-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.property-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,49,40,0.28) 0%, rgba(42,34,24,0.72) 100%);
}
.property-hero__content {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  padding: 0 var(--container-pad);
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
}
.property-hero__badge {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.property-hero__title {
  font-size: clamp(42px, 6.5vw, 90px);
  font-weight: 400;
  color: white;
  margin-bottom: 18px;
  line-height: 1.0;
}
.property-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* === BACK LINK === */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: var(--transition);
  padding: 20px var(--container-pad);
  margin: 0 auto;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  width: 100%;
}
.back-link:hover { color: var(--terracotta); }
.back-link__arrow { transition: transform var(--transition); }
.back-link:hover .back-link__arrow { transform: translateX(-5px); }

/* === GALLERY === */
.gallery {
  padding: 0 var(--container-pad) 16px;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
}
.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 6px;
}
.gallery__item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery__item:first-child { grid-row: 1 / 3; }

.gallery__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover .gallery__img { transform: scale(1.06); }

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42,34,24,0);
  transition: background 0.3s ease;
}
.gallery__item:hover::after { background: rgba(42,34,24,0.08); }

/* === PROPERTY CONTENT === */
.property-content {
  padding: 48px var(--container-pad) 80px;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
}

.property-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.property-details h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.property-details__tagline {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 36px;
}

.property-stats {
  display: flex;
  gap: 36px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.property-stat { text-align: center; min-width: 70px; }
.property-stat__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
}
.property-stat__label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 5px;
}

.property-description {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.92;
  color: var(--stone);
  margin-bottom: 52px;
}
.property-description p + p { margin-top: 18px; }

.amenities-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--stone);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.amenity-item::before {
  content: '✓';
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* === BOOKING WIDGET === */
.booking-widget {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.booking-widget__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.booking-widget__amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
}
.booking-widget__per {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--stone);
}

.booking-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 24px;
}

.booking-widget__note {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: var(--mist);
  margin-top: 12px;
}

/* === DATE PICKER === */
.datepicker { margin-bottom: 20px; }

.datepicker__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--border);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.datepicker__inputs:focus-within { border-color: var(--terracotta); }

.datepicker__field {
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.datepicker__field:first-child { border-right: 1px solid var(--border); }
.datepicker__field:hover { background: var(--cream); }

.datepicker__field-label {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 4px;
}
.datepicker__field-value {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}
.datepicker__field-value.placeholder { color: var(--mist); font-weight: 300; }

.datepicker__clear {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: var(--stone);
  text-decoration: underline;
  cursor: pointer;
  display: none;
  margin-bottom: 12px;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
}
.datepicker__clear:hover { color: var(--terracotta); }
.datepicker__clear.visible { display: inline-block; }

/* Calendar */
.datepicker__calendar {
  background: white;
  border: 1.5px solid var(--border);
  padding: 16px;
  margin-bottom: 16px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar-header h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--charcoal);
}

.calendar-nav {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 16px;
  color: var(--stone);
  cursor: pointer;
  transition: var(--transition);
  background: none;
}
.calendar-nav:hover { background: var(--terracotta); color: white; border-color: var(--terracotta); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}
.calendar-weekdays span {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mist);
  padding: 5px 0;
}

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

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.calendar-day:hover:not(.disabled):not(.empty) {
  background: var(--terracotta-light);
  color: var(--terracotta);
}
.calendar-day.today { font-weight: 700; color: var(--terracotta); }
.calendar-day.disabled { color: var(--sand); cursor: not-allowed; }
.calendar-day.empty { cursor: default; }
.calendar-day.selected-start,
.calendar-day.selected-end {
  background: var(--terracotta) !important;
  color: white !important;
  font-weight: 600;
}
.calendar-day.in-range {
  background: var(--terracotta-light);
  color: var(--terracotta);
}

/* === PRICE SUMMARY === */
.price-summary {
  display: none;
  background: var(--cream);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.price-summary.visible { display: block; }

.price-summary-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 9px;
}
.price-summary-row.total {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 14px;
  border-top: 1px solid var(--sand);
  padding-top: 12px;
  margin-top: 4px;
  margin-bottom: 0;
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,49,40,0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--warm-white);
  max-width: 500px;
  width: 100%;
  padding: 48px;
  position: relative;
  transform: translateY(28px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--stone);
  cursor: pointer;
  transition: color 0.2s;
}
.modal__close:hover { color: var(--charcoal); }

.modal__eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.modal-summary {
  background: var(--cream);
  padding: 22px 24px;
  margin-bottom: 28px;
}
.modal-summary-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 9px;
}
.modal-summary-row.total {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 15px;
  border-top: 1px solid var(--sand);
  padding-top: 12px;
  margin-top: 8px;
  margin-bottom: 0;
}

.modal-form-group { margin-bottom: 18px; }
.modal-form-group label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 7px;
}
.modal-form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}
.modal-form-group input:focus { border-color: var(--terracotta); }
.modal-form-group input.error { border-color: #e05252; }

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 36px; right: 36px;
  background: var(--forest);
  color: white;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2000;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.42s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
  max-width: 370px;
}
.toast.show { transform: translateY(0); opacity: 1; }

.toast__icon {
  width: 38px; height: 38px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.toast__text { font-family: 'Jost', sans-serif; }
.toast__title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.toast__msg { font-size: 12px; color: rgba(255,255,255,0.68); }

/* === ABOUT PAGE === */
.about-hero {
  padding: calc(var(--nav-height) + 80px) var(--container-pad) 80px;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-hero__content .section__title { font-size: clamp(40px, 5vw, 72px); }
.about-hero__text {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.92;
  color: var(--stone);
  margin-top: 24px;
}
.about-hero__img-wrap { position: relative; }
.about-hero__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.about-hero__accent {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 150px; height: 150px;
  background: var(--terracotta);
  z-index: 0;
}

.about-story {
  background: var(--cream);
  padding: clamp(64px, 8vw, 120px) var(--container-pad);
}
.about-story__inner {
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.about-story__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.42;
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}
.about-story__quote::before {
  content: '\201C';
  font-size: 80px;
  color: var(--terracotta);
  line-height: 0.5;
  display: block;
  margin-bottom: 24px;
  font-style: normal;
}
.about-story__text {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.92;
  color: var(--stone);
}
.about-story__text p + p { margin-top: 20px; }

.about-values {
  padding: clamp(64px, 8vw, 120px) var(--container-pad);
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 60px;
}
.value-item {
  padding: 40px 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-item:hover {
  border-color: var(--terracotta);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.value-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 400;
  color: var(--terracotta);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
}
.value-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.value-item p {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--stone);
}

.about-contact {
  background: var(--forest);
  padding: clamp(64px, 8vw, 120px) var(--container-pad);
}
.about-contact__inner {
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-contact .section__eyebrow { color: var(--gold); }
.about-contact .section__title { color: white; }

.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-detail__label {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-detail__value {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: white;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.32); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* === FOOTER === */
.footer {
  background: var(--charcoal);
  color: white;
  padding: 72px var(--container-pad) 36px;
}
.footer__inner {
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 36px;
}
.footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer__logo span { color: var(--terracotta); }
.footer__brand p {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 28px;
}
.footer__social { display: flex; gap: 20px; }
.footer__social-link {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer__social-link:hover { color: var(--gold); }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a,
.footer__col li {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__col a:hover { color: white; }

.footer__bottom {
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,0.5);
}
.lightbox__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .property-layout { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
  .booking-widget__amount { font-size: 40px; }
  .features__inner { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 900px) {
  .properties__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .properties__grid .property-card:nth-child(4),
  .properties__grid .property-card:nth-child(5) { grid-column: auto; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .about-story__inner { grid-template-columns: 1fr; }
  .about-story__quote { position: static; font-size: clamp(20px, 3vw, 28px); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .properties__grid { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery__item:first-child { grid-row: auto; grid-column: 1 / 3; }
  .property-stats { gap: 24px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .features__list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .modal { padding: 36px 24px; }
  .modal__title { font-size: 28px; }
  .toast { bottom: 16px; right: 16px; left: 16px; max-width: none; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery__item:first-child { grid-column: auto; }
  .gallery__item { height: 220px; }
  .footer__nav { grid-template-columns: 1fr; }
  .about-hero { padding-top: calc(var(--nav-height) + 40px); }
}
