:root {
  --brown: #7f5d2d;
  --brown-dark: #4e4339;
  --brown-footer: #7b5427;
  --ink: #26211d;
  --muted: #6f6963;
  --cream: #f6f3f1;
  --line: #e5dfda;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(62, 47, 34, 0.08);
  --serif: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  width: 100%;
  margin: 0 auto 14px;
  background: var(--cream);
  overflow: visible;
  border-radius: 0;
}

.container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header styles delegated to style.css */

.main-nav {
  display: flex;
  justify-content: center;
  gap: 31px;
  white-space: nowrap;
}

.main-nav a {
  text-decoration: none;
  color: #473f38;
  font-size: 14px;
  font-weight: 500;
  transition: opacity .2s ease;
}

.main-nav a:hover {
  opacity: .58;
}

.register-btn {
  justify-self: end;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brown);
  min-width: 88px;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}

.register-btn {
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.register-btn:hover {
  background: #6f4e24;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(111, 78, 36, .18);
}

.register-btn:active {
  transform: translateY(0);
}



/* HERO — fixed: no top gap, correct crop, overlay and vertical alignment */
.hero {
  min-height: 340px !important;
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 18, 14, .62) 0%, rgba(22, 23, 19, .34) 43%, rgba(23, 24, 20, .16) 73%, rgba(20, 20, 18, .20) 100%),
    url('https://images.unsplash.com/photo-1741789275231-57b253c539cd?auto=format&fit=crop&fm=jpg&q=86&w=2200') center 60% / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .18));
  z-index: -1;
}

.hero-copy {
  width: min(1220px, calc(100% - 64px));
  /* margin-inline: auto; */
  padding-left: 34px;
}

h1,
h2,
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero h1 {
  color: #fff;
  max-width: 630px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .18);
}

.hero p {
  color: rgba(255, 255, 255, .94);
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.42;
}

/* LISTINGS */
.listings-section {
  background: #f7f4f2;
  padding: 64px 0 86px;
}

.listings-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 38px;
}

.filter-sidebar {
  padding: 4px 3px 0 0;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
}

.filter-title i {
  font-size: 17px;
}

.reset-link {
  border: 0;
  background: transparent;
  color: #a39b93;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.filter-block {
  margin-bottom: 28px;
}

.filter-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.price-text {
  font-size: 13px;
  margin-bottom: 8px;
}

.range-wrap {
  position: relative;
  height: 24px;
}

input[type=range] {
  width: 100%;
  appearance: none;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(to right, #a57b46 0 100%, #ded7d1 100%);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #9c7441;
  border-radius: 50%;
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #9c7441;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #6d6863;
  cursor: pointer;
}

.check-row input {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid #b9b2ac;
  border-radius: 3px;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0;
}

.check-row input:checked {
  background: #a37a47;
  border-color: #a37a47;
}

.check-row input:checked::after {
  content: "✓";
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.filter-actions button {
  height: 40px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.apply-btn {
  border: 0;
  color: #fff;
  background: #554c44;
}

.clear-btn {
  border: 1px solid #b9b1aa;
  background: #fff;
  color: #544c45;
}

.results-area {
  min-width: 0;
}

.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: center;
  justify-content: flex-start;
}

.pill {
  height: 38px;
  border-radius: 999px;
  border: 1px solid #ded8d3;
  background: #fff;
  color: #514b46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  font-family: inherit;
}

.pill i {
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
}

.pill span {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.pill:hover {
  background: #f7f4f0;
  border-color: #c9c0b8;
  color: #2b2520;
}

.pill.active {
  background: #5a5149;
  color: #fff;
  border-color: #5a5149;
}

.results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.found-text {
  font-size: 14px;
  font-weight: 600;
  color: #4e4339;
  line-height: 1.4;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sort-select {
  width: auto;
  min-width: 155px;
  height: 38px;
  border: 1px solid #cfc8c2;
  border-radius: 8px;
  background-color: #fff;
  padding: 0 30px 0 12px;
  color: #4f4944;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234f4944' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}

.sort-select:focus {
  border-color: #9c7441;
  box-shadow: 0 0 0 3px rgba(156, 116, 65, .12);
  outline: none;
}

.property-card[hidden] {
  display: none !important;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-card {
  background: #fff;
  border: 1px solid #ece7e3;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 6px 17px rgba(77, 61, 47, .07);
  min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 400px;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(77, 61, 47, .12);
  border-color: #ddd4cd;
}

.card-image {
  position: relative;
  height: 186px;
  padding: 13px 13px 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform .45s ease;
}

.property-card:hover .card-image img {
  transform: scale(1.035);
}

.rating {
  position: absolute;
  right: 20px!important;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(50, 50, 50, .83);
  color: #fff;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.rating i {
  color: #fff;
  font-size: 10px;
}

.card-content {
  padding: 14px 14px 16px;
}

.card-title {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 8px;
}

.card-meta {
  color: #6c665f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 8px;
}

.price {
  color: #755527;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.price small {
  font-size: 13px;
  color: #6b655f;
  font-weight: 500;
}

.price-note-mark,
.price sup.price-note-mark {
  font-size: 15px;
  font-weight: 700;
  color: #755527 !important;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
  position: relative;
  top: 3px;
  cursor: help;
}

.price-note-star {
  font-size: 15px;
  font-weight: 700;
  color: #755527 !important;
  line-height: 1;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 3px;
}

.amenities {
  color: #537069;
  font-size: 10.7px;
  font-weight: 500;
  line-height: 1.25;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 46px;
}

/* Keep the destination results area compact below pagination. */
.destinations-section#stays {
  padding-bottom: 28px;
}

.page-btn {
  border: 0;
  background: transparent;
  color: #4f4842;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 8px;
}

.page-btn.number {
  min-width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.page-btn.active {
  background: #554c44;
  color: #fff;
}

/* FEATURE STRIP */
.features {
  background: #fff;
  padding: 64px 0 60px;
  border-top: 1px solid #eeeae7;
  border-bottom: 1px solid #eeeae7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f8f5f2;
  display: grid;
  place-items: center;
  color: #8b672f;
  font-size: 22px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: #5e5954;
  font-size: 14px;
  font-weight: 500;
}

/* FAQ */
.faq-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0 84px;
  background:url('https://www.gharongo.com/assets/images/listing-pg-faq-section-bg.jpg');
  background-position: center;
  background: #e9e2de;
}

.faq-section::before,
.faq-section::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  transform: rotate(-17deg);
  filter: blur(.1px);
  pointer-events: none;
}

.faq-section::before {
  top: 35px;
  left: -250px;
}

.faq-section::after {
  bottom: -60px;
  right: -300px;
}

.faq-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.faq-head h2 {
  color: #4b4137;
}

.faq-head p {
  margin: 14px auto 0;
  max-width: 670px;
  color: #746c64;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.faq-list {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, .91);
  border: 1px solid #dfd8d1;
  border-radius: 9px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #403a35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.faq-question i {
  transition: transform .2s ease;
  font-size: 12px;
}

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: #69625b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.faq-item.open .faq-answer {
  display: block;
}

/* FOOTER */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #805a2d 0%, #745025 100%);
  color: #fff;
  padding: 58px 0 32px;
}

.footer-wave {
  position: absolute;
  inset: 0 auto auto 0;
  width: 48%;
  height: 140px;
  opacity: .24;
  pointer-events: none;
}

.footer-mountains {
  position: absolute;
  right: -20px;
  bottom: -6px;
  width: 420px;
  opacity: .58;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
}

.footer-brand p {
  max-width: 320px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 13px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  /* text-decoration: underline; */
  text-decoration-thickness: .5px;
  text-underline-offset: 2px;
  margin: 0 0 10px;
}

.copyright {
  position: relative;
  z-index: 1;
  margin-top: 42px;
  text-align: center;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-top h3 {
  margin: 0;
  font-size: 26px;
}

.modal-close {
  border: 0;
  background: none;
  font-size: 24px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  height: 44px;
  border: 1px solid #d8d1cb;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
}

.form-group input:focus {
  border-color: #9c7441;
  box-shadow: 0 0 0 3px rgba(156, 116, 65, .12);
}

.submit-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 120px 1fr 120px;
  }

  .main-nav {
    gap: 18px;
  }

  .cards-grid {
    gap: 16px;
  }

  .listings-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
  }

  .card-image {
    height: 260px;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .container,
  .header-inner,
  .hero-copy {
    width: min(100% - 36px, 760px);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #f1ede9;
    border-top: 1px solid #ddd5cf;
    padding: 10px 18px 16px;
  }



  .hero {
    min-height: 390px;
    background-position: 57% center;
  }

  .hero-copy {
    padding-left: 40px;
  }

  .listings-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
      .card-image {
        height: 260px;
    }
      .hero-copy {
        padding-left: 34px;
        padding-top: 75px;
    }



  .register-btn {
    min-width: 76px;
    height: 36px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 380px;
    align-items: end;
    padding-bottom: 42px;
    background-position: 62% center;
  }

  h1,
  h2,
  .section-title {
    font-size: 34px;
  }

  .hero p,
  .faq-head p {
    font-size: 16px;
  }

  .listings-section {
    padding: 36px 0 54px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .category-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin-bottom: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-row::-webkit-scrollbar {
    display: none;
  }

  .pill {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .results-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
  }

  .found-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
  }

  .sort-select {
    width: auto;
    min-width: 130px;
    max-width: 155px;
    height: 34px;
    padding: 0 24px 0 8px;
    font-size: 12px;
    flex: 0 0 auto;
    background-position: right 8px center;
  }

  .features {
    padding: 48px 0;
  }

  .features-grid {
    grid-template-columns: none;
      grid-auto-flow: column;
  grid-auto-columns: 200px;
  overflow-x: auto;
  gap: 16px;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  }
  .feature {
  scroll-snap-align: start;
}
/* Optional: hide scrollbar but keep functionality */
.features-grid::-webkit-scrollbar {
  display: none; 
}


  .faq-section {
    padding: 58px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-mountains {
    width: 280px;
    opacity: .28;
  }

  .pagination {
    gap: 5px;
    flex-wrap: wrap;
  }
}