/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #fbf9f4;
  font-family: 'Nunito Sans', sans-serif;
  color: #3c4232;
}

/* ── Wrapper ── */
.site-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  background: #fbf9f4;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #3f8f5f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbf9f4;
  font-family: 'DM Serif Display', serif;
  font-size: 21px;
}

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: #2c5b3f;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 700;
  color: #5b6347;
}

.header-nav a { text-decoration: none; color: inherit; }

.btn-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2f8fbf;
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(47, 143, 191, 0.32);
}

/* ── Hero ── */
.hero {
  padding: 60px 48px 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e3efe6;
  color: #3f8f5f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 62px;
  line-height: 1.06;
  margin: 0 auto 22px;
  max-width: 760px;
  color: #3c4232;
}

.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: #5b6347;
  margin: 0 auto 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.hero-cta-alt {
  font-size: 15px;
  font-weight: 700;
  color: #5b6347;
}

.accent-blue { color: #2f8fbf; }

.btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #3f8f5f;
  color: #fff;
  padding: 16px 30px;
  border-radius: 34px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(63, 143, 95, 0.30);
  text-decoration: none;
}

.hero-image-wrap {
  position: relative;
  padding: 0 48px 64px;
}

.hero-image-wrap img,
.hero-image-wrap video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.hero-image-badges {
  position: absolute;
  left: 72px;
  bottom: 88px;
  display: flex;
  gap: 12px;
}

.hero-badge-card {
  background: #fff;
  border-radius: 14px;
  padding: 13px 18px;
  box-shadow: 0 10px 26px rgba(60, 66, 50, 0.14);
}

.hero-badge-card .label {
  font-size: 12px;
  color: #8a9170;
  font-weight: 700;
}

.hero-badge-card .value {
  font-family: 'DM Serif Display', serif;
  font-size: 23px;
  color: #2c5b3f;
}

.hero-badge-card.inline {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #3c4232;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 38px;
}

.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 42px;
  margin: 0 0 8px;
  color: #3c4232;
}

.section-header p {
  font-size: 15px;
  color: #7c8466;
  margin: 0;
  font-weight: 600;
}

/* ── Listings ── */
.listings {
  padding: 8px 48px 64px;
}

/* ── Filter bar ─────────────────────────────────────────────────────────── */
.listings-filter {
  margin-bottom: 36px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: flex-start;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a9170;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #d6dbc8;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #5a6347;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.filter-pill:hover {
  border-color: #2c5b3f;
  color: #2c5b3f;
}

.filter-pill.active {
  background: #2c5b3f;
  border-color: #2c5b3f;
  color: #fff;
}

/* ── City groups ─────────────────────────────────────────────────────────── */
.city-group {
  margin-bottom: 44px;
}

.city-group-header {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #2c3a22;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e8ecdf;
}

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

.listing-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(60, 66, 50, 0.07);
}

.listing-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.listing-card-body {
  padding: 22px 22px 24px;
}

.listing-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.listing-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 23px;
  color: #3c4232;
}

.badge-furnished {
  background: #e3efe6;
  color: #3f8f5f;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.listing-card-location {
  font-size: 14px;
  color: #8a9170;
  margin: 0 0 16px;
  font-weight: 600;
}

.listing-card-details {
  font-size: 14px;
  font-weight: 700;
  color: #5b6347;
}

.listing-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e3efe6;
}

.listing-price .amount {
  font-family: 'DM Serif Display', serif;
  font-size: 25px;
  color: #2c5b3f;
}

.listing-price .period {
  font-size: 13px;
  color: #8a9170;
  font-weight: 700;
}

.listing-utilities-note {
  font-size: 11px;
  color: #a0a89a;
  margin-top: 3px;
  font-style: italic;
}

.btn-call-sm {
  text-decoration: none;
  background: #3f8f5f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 24px;
}

/* ── Gallery ── */
.gallery {
  padding: 8px 48px 70px;
}

.gallery-tabs-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-tabs-wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 42px;
  margin: 0 0 8px;
  color: #3c4232;
}

.gallery-tabs-wrap p {
  font-size: 15px;
  color: #7c8466;
  margin: 0 0 22px;
  font-weight: 600;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
}

.gallery-city-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: #e3efe6;
  padding: 7px 10px;
  border-radius: 34px;
}

.gallery-city-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #3f8f5f;
  padding: 0 6px 0 4px;
  white-space: nowrap;
}

.gallery-tab {
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 28px;
  border: 1px solid #d6e6da;
  background: #fff;
  color: #5b6347;
  transition: all 0.15s;
}

.gallery-tab.active {
  background: #3f8f5f;
  color: #fff;
  border-color: #3f8f5f;
}

.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 195px 195px;
  gap: 14px;
  margin-bottom: 22px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.gallery-grid img:hover { opacity: 0.88; }

.gallery-grid img:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: 20px;
}

.gallery-grid img:last-child {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.gallery-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: 0 8px 22px rgba(60, 66, 50, 0.07);
}

.gallery-info-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}

.gallery-info-name {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: #3c4232;
  line-height: 1;
}

.gallery-info-meta {
  font-size: 14px;
  color: #8a9170;
  font-weight: 700;
}

.gallery-info-blurb {
  font-size: 15px;
  color: #5b6347;
  line-height: 1.65;
  margin: 13px 0 0;
  max-width: 560px;
}

.gallery-info-price {
  text-align: right;
  white-space: nowrap;
}

.gallery-info-price .amount {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: #2c5b3f;
  line-height: 1;
}

.gallery-info-price .period {
  font-size: 13px;
  color: #8a9170;
  font-weight: 700;
}

.btn-call-gallery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: #3f8f5f;
  color: #fff;
  padding: 12px 22px;
  border-radius: 28px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

/* ── View all button (gallery) ── */
.gallery-view-all {
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 0;
}

.btn-view-all {
  cursor: pointer;
  background: none;
  border: 1px solid #b5ccba;
  border-radius: 24px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #3f8f5f;
  padding: 8px 18px;
  transition: background 0.15s, color 0.15s;
}

.btn-view-all:hover {
  background: #3f8f5f;
  color: #fff;
  border-color: #3f8f5f;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 80px 12px;
  min-height: 0;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  user-select: none;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  width: 52px;
  height: 72px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  user-select: none;
}

.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }

.lb-footer {
  width: 100%;
  padding: 10px 80px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lb-counter {
  color: rgba(255,255,255,0.6);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lb-thumbs {
  display: flex;
  gap: 5px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.lb-thumb {
  width: 52px;
  height: 38px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity 0.12s;
}

.lb-thumb:hover { opacity: 0.8; }
.lb-thumb.active { opacity: 1; border-color: #fff; }

/* ── Amenities ── */
.amenities {
  background: #e3efe6;
  padding: 68px 48px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.amenity-card {
  background: #fbf9f4;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
}

.amenity-icon { font-size: 28px; margin-bottom: 12px; }

.amenity-name {
  font-weight: 800;
  font-size: 15px;
  color: #3c4232;
}

/* ── How it works ── */
.how-it-works { padding: 70px 48px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step { text-align: center; }

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #2f8fbf;
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-title {
  font-weight: 800;
  font-size: 16px;
  color: #3c4232;
  margin-bottom: 7px;
}

.step-desc {
  font-size: 14px;
  color: #7c8466;
  line-height: 1.55;
}

/* ── Testimonials ── */
.testimonials { padding: 8px 48px 70px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 22px rgba(60, 66, 50, 0.07);
}

.testimonial-stars {
  color: #2f8fbf;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.55;
  color: #3c4232;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 800;
  font-size: 14px;
  color: #3c4232;
}

.testimonial-role {
  font-size: 13px;
  color: #8a9170;
  font-weight: 600;
}

/* ── CTA band ── */
.cta-band {
  background: #3f8f5f;
  color: #fff;
  padding: 64px 48px;
  text-align: center;
}

.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 44px;
  margin: 0 0 14px;
}

.cta-band p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 30px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #2f8fbf;
  color: #fff;
  padding: 18px 36px;
  border-radius: 36px;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

/* ── Footer ── */
.footer {
  background: #3c4232;
  color: rgba(255, 255, 255, 0.6);
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-brand {
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — tablet & mobile  (≤ 768px)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Header — hide nav text links, keep call button */
  .header {
    padding: 14px 20px;
  }
  .header-nav a:not(.btn-call) {
    display: none;
  }
  .header-nav {
    gap: 0;
  }
  .logo-name {
    font-size: 20px;
  }

  /* Hero */
  .hero {
    padding: 32px 20px 0;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-badge {
    font-size: 12px;
    text-align: center;
  }
  .hero-image-wrap {
    padding: 0 20px 40px;
  }
  .hero-image-wrap img,
  .hero-image-wrap video {
    height: 220px;
    border-radius: 14px;
  }
  .hero-image-badges {
    left: 30px;
    bottom: 58px;
  }
  .hero-badge-card {
    padding: 9px 13px;
  }
  .hero-badge-card .value {
    font-size: 18px;
  }

  /* Section headers */
  .section-header h2,
  .gallery-tabs-wrap h2 {
    font-size: 26px;
  }

  /* Listings */
  .listings {
    padding: 8px 20px 48px;
  }
  .listings-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery {
    padding: 8px 20px 48px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
  }
  .gallery-grid img:first-child,
  .gallery-grid img:last-child {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-info-price {
    text-align: left;
    width: 100%;
  }
  .gallery-info-name {
    font-size: 22px;
  }

  /* Amenities */
  .amenities {
    padding: 48px 20px;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* How it works */
  .how-it-works {
    padding: 48px 20px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials {
    padding: 8px 20px 48px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-band {
    padding: 48px 20px;
  }
  .cta-band h2 {
    font-size: 30px;
  }
  .btn-cta {
    font-size: 16px;
    padding: 14px 26px;
  }

  /* Footer */
  .footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Lightbox */
  .lb-img-wrap {
    padding: 56px 16px 8px;
  }
  .lb-footer {
    padding: 8px 16px 12px;
  }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — small mobile  (≤ 480px)
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-image-wrap img,
  .hero-image-wrap video {
    height: 190px;
  }
  .hero-image-badges {
    left: 24px;
    bottom: 52px;
    gap: 8px;
  }

  .section-header h2,
  .gallery-tabs-wrap h2 {
    font-size: 22px;
  }

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

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

  .cta-band h2 {
    font-size: 24px;
  }
  .btn-cta {
    font-size: 15px;
    padding: 13px 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px;
  }

  /* Gallery city group tabs wrap on small screens */
  .gallery-city-group {
    border-radius: 16px;
    justify-content: flex-start;
  }
}
