/* MAS Residency — premium travel / OTA look */
:root {
  --ink: #222222;
  --muted: #717171;
  --sand: #f7f7f7;
  --line: #ebebeb;
  --surface: #ffffff;
  --brand: #e31c5f;
  --brand-hover: #d90b4c;
  --ink-soft: #484848;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-card: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 16px 40px rgba(0, 0, 0, 0.14);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: var(--font-display);
}

/* Header — Airbnb-like light bar */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .book-cta {
  background: var(--brand);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.site-header .book-cta:hover {
  background: var(--brand-hover);
}

.mobile-drawer {
  background: var(--surface);
  color: var(--ink);
}

/* Homepage premium */
.template-homepage .hero-premium {
  min-height: min(88vh, 760px);
}

.template-homepage .hero-booking-bar {
  background: var(--surface);
  border-radius: 9999px;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--line);
}

@media (max-width: 767px) {
  .template-homepage .hero-booking-bar {
    border-radius: 1.25rem;
  }
}

.template-homepage .listing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.template-homepage .listing-card:hover {
  transform: translateY(-2px);
}
.template-homepage .listing-card:hover .listing-card-img {
  box-shadow: var(--shadow-card);
}
.template-homepage .listing-card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.template-homepage .section-title {
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -0.02em;
}

.template-homepage .pill-link {
  border: 1px solid var(--line);
  border-radius: 9999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.template-homepage .pill-link:hover {
  border-color: var(--ink);
  background: var(--sand);
}

/* Form focus — brand */
input:focus,
textarea:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(227, 28, 95, 0.15) !important;
}

@media (prefers-reduced-motion: reduce) {
  .template-homepage .listing-card,
  .template-homepage .listing-card:hover {
    transform: none;
  }
}
