/* ========================================
   LIEVE — Co-Living in Toronto
   Warm, soft, lifestyle-focused theme
======================================== */

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

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

:root {
  --primary: #6B4C3B;
  --primary-light: #8B6B56;
  --primary-dark: #4A3428;
  --accent: #C4876B;
  --accent-light: #D9A48D;
  --accent-dark: #A66B50;
  --warm: #B8875B;
  --cream: #F5EDE4;
  --cream-dark: #EDE3D7;
  --cream-light: #FAF6F1;
  --linen: #F8F3ED;
  --sand: #E8DDD1;
  --white: #FFFFFF;
  --sage: #7A8B6F;
  --sage-light: #94A688;
  --text: #2D2420;
  --text-light: #6B5E57;
  --text-lighter: #9B8F88;
  --text-on-dark: #F5EDE4;
  --border: #E0D5C9;
  --border-light: #EDE5DB;
  --shadow-sm: 0 2px 8px rgba(107,76,59,0.06);
  --shadow-md: 0 4px 20px rgba(107,76,59,0.08);
  --shadow-lg: 0 8px 40px rgba(107,76,59,0.1);
  --shadow-xl: 0 16px 60px rgba(107,76,59,0.14);
  --shadow-soft: 0 4px 24px rgba(107,76,59,0.05);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-divider h2 {
  white-space: nowrap;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--cream);
}

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

.section--sand {
  background: var(--sand);
}

/* Linen texture overlay */
.texture-bg {
  position: relative;
}

.texture-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.02'%3E%3Cpath d='M0 0h1v1H0zM10 10h1v1h-1zM20 0h1v1h-1zM30 10h1v1h-1zM0 20h1v1H0zM10 30h1v1h-1zM20 20h1v1h-1zM30 30h1v1h-1z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.texture-bg > * {
  position: relative;
  z-index: 1;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

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

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.btn--outline-dark:hover {
  background: var(--text);
  color: var(--cream);
}

.btn--sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn--sage:hover {
  background: var(--sage-light);
  border-color: var(--sage-light);
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
}

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

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248,243,237,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav--scrolled {
  background: rgba(248,243,237,0.98);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--primary);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-lighter);
  display: block;
  margin-top: -4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

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

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

.nav__cta {
  padding: 0.55rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav__cta--outline {
  color: var(--text);
  border: 1.5px solid var(--border);
}

.nav__cta--outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.nav__cta--primary {
  background: var(--accent);
  color: var(--white);
}

.nav__cta--primary:hover {
  background: var(--accent-dark);
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-light);
  padding: 2rem;
  z-index: 999;
}

.nav__mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav__mobile-menu a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* ---- Hero Section ---- */
.hero {
  padding-top: 68px;
  background: var(--cream-light);
}

.hero__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  height: 420px;
  overflow: hidden;
}

.hero__mosaic-img {
  overflow: hidden;
}

.hero__mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__mosaic-img:hover img {
  transform: scale(1.03);
}

.hero__banner {
  position: relative;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: -80px;
  z-index: 2;
}

.hero__banner-inner {
  background: rgba(248,243,237,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  max-width: 740px;
  margin: 0 auto;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__tagline em {
  font-style: italic;
  color: var(--accent);
}

.hero__tagline strong {
  font-weight: 700;
  font-style: italic;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.hero__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Room Types / Find Your Perfect Space ---- */
.room-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.room-type-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.room-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.room-type-card__image {
  height: 180px;
  overflow: hidden;
}

.room-type-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-type-card:hover .room-type-card__image img {
  transform: scale(1.05);
}

.room-type-card__label {
  padding: 1rem;
  text-align: center;
}

.room-type-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
}

/* ---- How It Works ---- */
.how-it-works {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.how-step {
  text-align: center;
}

.how-step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
}

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

.how-step__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.how-arrow {
  font-size: 1.5rem;
  color: var(--text-lighter);
  margin-top: -1rem;
}

/* ---- Community Section ---- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.community-grid__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
}

.community-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.community-grid__img:hover img {
  transform: scale(1.03);
}

/* ---- Locations Grid ---- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--cream-dark);
}

.location-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.location-card:hover .location-card__image img {
  transform: scale(1.05);
}

.location-card__badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

.location-card__body {
  padding: 1.25rem;
}

.location-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.location-card__address {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.location-card__neighborhood {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sage);
  background: rgba(122,139,111,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.875rem;
}

.location-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-light);
}

.location-card__price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.location-card__price span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-light);
}

.location-card__rooms {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---- Not Just Student Housing ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.split-section--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.split-section__text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.split-section__text h3 em {
  font-style: italic;
  color: var(--accent);
}

.split-section__text p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.split-section__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
}

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

.split-section__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.split-section__images .split-section__image {
  height: 280px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- For Parents Section ---- */
.parents-section {
  text-align: center;
  padding: 4rem 0 3rem;
}

.parents-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.parents-section .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.trust-badge__icon {
  font-size: 1.1rem;
}

/* ---- Instagram / Stay in the Loop ---- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.instagram-grid__img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.instagram-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.instagram-grid__img:hover img {
  transform: scale(1.05);
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.instagram-cta:hover {
  background: var(--primary-dark);
}

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

.feature-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
}

.testimonial-card__quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 0;
  position: relative;
  top: 0.4rem;
  margin-right: 0.2rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.88rem;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--primary);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(245,237,228,0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-section .btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer__brand-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer__brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-lighter);
  max-width: 260px;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 0.3rem 0;
  transition: var(--transition);
}

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

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-lighter);
}

.footer__legal a {
  margin-left: 1.25rem;
  color: var(--text-lighter);
  transition: var(--transition);
}

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

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  font-size: 1.1rem;
  color: var(--text-light);
  transition: var(--transition);
}

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

/* ---- Property Page Hero ---- */
.property-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.property-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.property-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,36,32,0.8) 0%, rgba(45,36,32,0.3) 50%, rgba(45,36,32,0.05) 100%);
}

.property-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  width: 100%;
}

.property-hero__price-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.property-hero__title {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.property-hero__meta {
  color: rgba(245,237,228,0.7);
  font-size: 1rem;
}

/* ---- Property Quick Stats ---- */
.property-stats {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.property-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
}

.property-stat svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.property-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 680px;
  padding: 2rem 0;
}

/* ---- Room Cards ---- */
.rooms-section {
  padding: 4rem 0;
}

.rooms-section h2 {
  margin-bottom: 0.5rem;
}

.rooms-section .subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.room-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.room-card__gallery {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--cream-dark);
}

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

.room-card__gallery-nav {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}

.room-card__gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.room-card__gallery-dot.active {
  background: var(--white);
}

.room-card__body {
  padding: 1.25rem;
}

.room-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.room-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.room-card__price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--cream);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.room-card__details {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.room-card__detail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.room-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.room-card__tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--cream);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.room-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* ---- Amenities Grid ---- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}

.amenity-item__icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---- Neighborhood Section ---- */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.neighborhood-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.neighborhood-item__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.neighborhood-item__name {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.125rem;
}

.neighborhood-item__distance {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---- Modal / Forms ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,36,32,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal__header {
  padding: 2rem 2rem 0;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.modal__subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
}

.modal__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--cream);
}

.modal__body {
  padding: 1.5rem 2rem 2rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,135,107,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

/* ---- Locations Page ---- */
.page-header {
  padding: 7rem 0 3rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  margin-bottom: 0.6rem;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
}

.page-header__meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.page-header__filter {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text);
}

/* ---- About Page ---- */
.about-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background: var(--cream);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-section--reverse {
  direction: rtl;
}

.about-section--reverse > * {
  direction: ltr;
}

.about-image {
  height: 370px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
}

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

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

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.value-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.value-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Success Message ---- */
.success-message {
  text-align: center;
  padding: 2rem;
}

.success-message__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(122,139,111,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.875rem;
  font-size: 1.4rem;
  color: var(--sage);
}

/* ---- Legal Pages ---- */
.legal-page {
  padding: 7rem 0 4rem;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.legal-page p, .legal-page li {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.875rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .room-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-section--reverse {
    direction: ltr;
  }

  .split-section,
  .split-section--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }

  .hero__mosaic {
    height: 280px;
  }

  .hero__banner {
    margin-top: -50px;
  }

  .section { padding: 3.5rem 0; }

  .container { padding: 0 1.25rem; }

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

  .how-it-works {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .how-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

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

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

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

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

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

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

  .footer__bottom {
    flex-direction: column;
    gap: 0.875rem;
    text-align: center;
  }

  .footer__legal a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .property-stats {
    gap: 0.6rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-badges {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .room-types-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .room-type-card__image {
    height: 130px;
  }

  .hero__mosaic {
    grid-template-columns: 1fr;
    height: 250px;
  }

  .hero__mosaic-img:nth-child(2),
  .hero__mosaic-img:nth-child(3) {
    display: none;
  }

  .location-card__image { height: 180px; }

  .room-card__actions {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
