:root {
  --bg: #f6f1e9;
  --bg-2: #efe4d6;
  --ink: #1c1a16;
  --muted: #6c5f54;
  --accent: #2f5d50;
  --accent-2: #d48b6c;
  --accent-3: #f0c36b;
  --card: #ffffff;
  --line: rgba(28, 26, 22, 0.12);
  --shadow: 0 24px 48px rgba(35, 30, 24, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1160px;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

section {
  scroll-margin-top: 90px;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.7;
}

.orb--one {
  width: 42vmax;
  height: 42vmax;
  top: -15vmax;
  left: -10vmax;
  background: radial-gradient(circle at 30% 30%, #f6d8b2, rgba(246, 216, 178, 0));
}

.orb--two {
  width: 50vmax;
  height: 50vmax;
  bottom: -20vmax;
  right: -10vmax;
  background: radial-gradient(circle at 70% 40%, #c9e2d6, rgba(201, 226, 214, 0));
}

.orb--three {
  width: 28vmax;
  height: 28vmax;
  top: 30vmax;
  right: 10vmax;
  background: radial-gradient(circle at 50% 50%, #e4c3b1, rgba(228, 195, 177, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 241, 233, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 93, 80, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(47, 93, 80, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn.outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.outline:hover,
.btn.ghost:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.3rem;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.trust-item {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.trust-value {
  display: block;
  font-size: 1.3rem;
  margin-top: 0.3rem;
  font-weight: 700;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #f7d8b8, #c9dfd1);
  min-height: 320px;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  object-fit: cover;
  background: #e8e0d5;
}

.profile-name {
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
}

.profile-meta {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.profile-meta .divider {
  opacity: 0.6;
}

.hero-card-stats {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-card-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card-stats strong {
  font-size: 1.2rem;
}

.features {
  padding: 2rem 0 4rem;
}

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

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature h3 {
  font-size: 1.1rem;
  margin-top: 0;
}

.feature p {
  color: var(--muted);
  margin-bottom: 0;
}

.apartments {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.section-subtext {
  max-width: 420px;
  color: var(--muted);
}

.listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(28, 26, 22, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card.placeholder {
  min-height: 420px;
  background: linear-gradient(120deg, #f2e8db, #f9f5ef, #f2e8db);
  background-size: 200% 200%;
  animation: shimmer 2.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.card-media {
  position: relative;
  background: #eee0d3;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1rem 1rem;
  overflow-x: auto;
}

.card-thumbs button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  background: #fff;
  width: 54px;
  height: 54px;
  overflow: hidden;
  cursor: pointer;
}

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

.card-body {
  padding: 1.2rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.card-body p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-meta span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(47, 93, 80, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.card-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section-footer {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.section-footer p {
  margin: 0;
}

.location {
  padding: 4rem 0;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.location-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.location-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-top: 0;
}

.location-card p {
  color: var(--muted);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.location-panel {
  display: grid;
  gap: 1.2rem;
}

.location-badge {
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.location-tile {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.location-tile h3 {
  margin-top: 0;
}

.location-tile ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.booking {
  padding: 4rem 0 5rem;
}

.booking-widget {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

#rc-bookings-widget-root {
  min-height: 240px;
}

.booking-widget__fallback {
  display: none;
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
}

.booking-widget__fallback p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.booking-widget--fallback #rc-bookings-widget-root {
  display: none;
}

.booking-widget--fallback .booking-widget__fallback {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(246, 241, 233, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  font-family: var(--font-serif);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.scroll-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top__icon {
  font-size: 1.2rem;
  line-height: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(960px, 90vw);
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 2;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.no-scroll {
  overflow: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .booking-widget {
    padding: 1rem;
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }

  #rc-bookings-widget-root .rc-container {
    width: 100% !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-image {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn {
    transition: none;
  }
}
