:root {
  --ink: #17211f;
  --muted: #66726f;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #ded8ca;
  --river: #14524a;
  --river-2: #0f6f74;
  --leaf: #5f7f3b;
  --marigold: #d98b2b;
  --clay: #b5573f;
  --sky: #e7f1ef;
  --shadow: 0 18px 46px rgba(23, 33, 31, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--river);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 245, 0.92);
  border-bottom: 1px solid rgba(222, 216, 202, 0.8);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--river);
  border-radius: 50%;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 20px;
}

.nav-toggle span {
  margin: 4px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #31413e;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--sky);
  color: var(--river);
}

.nav-cta,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
}

.nav-cta,
.btn-primary {
  color: #fff;
  background: var(--river);
}

.nav-cta:hover,
.btn-primary:hover {
  background: #0d3f39;
}

.btn-secondary {
  color: var(--river);
  background: #fff;
  border-color: rgba(20, 82, 74, 0.26);
}

.btn-secondary:hover {
  border-color: var(--river);
}

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

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #102c28;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 26, 24, 0.86), rgba(8, 26, 24, 0.52) 42%, rgba(8, 26, 24, 0.08)),
    linear-gradient(0deg, rgba(8, 26, 24, 0.66), rgba(8, 26, 24, 0.04) 44%),
    url("../images/rishikesh-homestay-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--marigold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 7.2vw, 6.35rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 850px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-stat {
  min-height: 88px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.87rem;
}

.section,
.guide-section {
  padding: 82px 0;
}

.section.alt {
  background: #eef4f2;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

.section-head h2,
.guide-copy h2,
.booking-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
}

.search-panel {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 32px));
  margin: -42px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #45534f;
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.homestay-card,
.place-card,
.info-card,
.itinerary-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.07);
}

.homestay-photo,
.place-photo {
  min-height: 208px;
  background-image: url("../images/rishikesh-homestay-hero.png");
  background-size: cover;
  background-position: center;
}

.homestay-card:nth-child(2) .homestay-photo,
.place-card:nth-child(2) .place-photo {
  background-image: url("../images/rishikesh-things-to-do.png");
}

.homestay-card:nth-child(3) .homestay-photo,
.place-card:nth-child(3) .place-photo {
  background-image: url("../images/triveni-ghat-aarti.png");
}

.homestay-photo.two,
.place-card:nth-child(5) .place-photo {
  background-image: url("../images/rishikesh-things-to-do.png");
}

.homestay-photo.three,
.place-card:nth-child(4) .place-photo,
.place-card:nth-child(6) .place-photo {
  background-image: url("../images/triveni-ghat-aarti.png");
}

.card-body {
  padding: 18px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.price {
  color: var(--river);
  font-weight: 900;
  white-space: nowrap;
}

.homestay-card h3,
.place-card h3,
.info-card h3,
.itinerary-card h3,
.contact-card h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.card-body p,
.info-card p,
.itinerary-card p,
.contact-card p,
.guide-copy p,
.lead {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #35504b;
  background: var(--sky);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.image-panel {
  min-height: 460px;
  border-radius: var(--radius);
  background-image: url("../images/rishikesh-things-to-do.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--river-2);
  font-weight: 900;
}

.feature-item h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

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

.cta-band {
  padding: 48px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--river), #50351e);
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.cta-band p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #102c28;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 26, 24, 0.84), rgba(8, 26, 24, 0.2)),
    url("../images/rishikesh-things-to-do.png");
  background-size: cover;
  background-position: center;
}

.page-hero.triveni::before {
  background-image:
    linear-gradient(90deg, rgba(8, 26, 24, 0.82), rgba(8, 26, 24, 0.16)),
    url("../images/triveni-ghat-aarti.png");
}

.page-hero.stays::before,
.page-hero.contact::before {
  background-image:
    linear-gradient(90deg, rgba(8, 26, 24, 0.84), rgba(8, 26, 24, 0.18)),
    url("../images/rishikesh-homestay-hero.png");
}

.page-hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 58px;
}

.page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 38px;
  align-items: start;
}

.guide-copy h2 {
  margin-top: 44px;
}

.guide-copy h2:first-child {
  margin-top: 0;
}

.guide-copy h3 {
  margin: 26px 0 8px;
  font-size: 1.24rem;
}

.guide-copy ul,
.guide-copy ol {
  padding-left: 22px;
  color: var(--muted);
}

.side-panel,
.booking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.07);
}

.side-panel h2,
.side-panel h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.side-panel a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--river);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.itinerary-card,
.contact-card {
  padding: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.site-footer {
  padding: 54px 0 28px;
  color: #dbe8e5;
  background: #102c28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #b9cac6;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b9cac6;
  font-size: 0.9rem;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .search-grid,
  .feature-band,
  .guide-grid,
  .listing-layout,
  .split,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .info-grid,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .side-panel,
  .booking-panel {
    position: static;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner,
  .container,
  .search-panel,
  .page-hero-inner {
    width: min(100% - 24px, var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 14vw, 4.3rem);
  }

  .hero-stats,
  .card-grid,
  .info-grid,
  .listing-grid,
  .filters,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .guide-section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .search-panel {
    margin-top: -26px;
  }

  .cta-band {
    padding: 28px;
  }

  .footer-bottom {
    display: block;
  }
}
