/* =========================================================
   Turner Camps — Warm Rustic Adirondack
   ========================================================= */

:root {
  /* Palette */
  --forest:        #2d4a3e;
  --forest-deep:   #1f3329;
  --forest-soft:   #3e6553;
  --moss:          #6b8e6e;
  --bark:          #5a3e2b;
  --bark-light:    #8b6b4f;
  --cream:         #f5ecd9;
  --parchment:     #efe4cc;
  --paper:         #faf6ec;
  --gold:          #c9a961;
  --gold-deep:     #a88a47;
  --lake:          #486581;
  --lake-deep:     #2c4a63;
  --ink:           #2b2b2b;
  --ink-soft:      #4a4640;
  --muted:         #7a716a;
  --line:          #d8c9a8;
  --line-soft:     #e8dcc1;

  --shadow-sm: 0 2px 8px rgba(40, 30, 20, 0.08);
  --shadow:    0 6px 24px rgba(40, 30, 20, 0.12);
  --shadow-lg: 0 16px 48px rgba(20, 30, 25, 0.18);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --container: 1200px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', 'Inter', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-deep); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
.eyebrow {
  font-family: 'Caveat', cursive;
  color: var(--gold-deep);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 2rem;
}
.brand {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: var(--forest-deep);
}
.brand-mark {
  grid-column: 1;
  grid-row: 1;          /* Only takes the title row — tagline hangs below */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  display: grid;
  place-items: center;
  color: var(--cream);
  flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; display: block; }
.brand-text {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 42px;       /* Match logo height so title is vertically centered with logo */
  display: block;
  white-space: nowrap;
}
.brand-tag {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-top: -0.2rem;     /* Sit close beneath the title */
  display: block;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--forest-deep);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--forest-deep);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
}
.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--paper);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--forest);
  color: var(--forest-deep);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}
.btn-ghost {
  background: transparent;
  color: var(--forest-deep);
  padding: 0.5rem 0.8rem;
}
.btn-ghost:hover { background: rgba(45, 74, 62, 0.08); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(31, 51, 41, 0.35) 0%,
    rgba(31, 51, 41, 0.55) 60%,
    rgba(31, 51, 41, 0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0 5rem;
  max-width: 720px;
}
.hero h1 { color: var(--cream); margin-bottom: 0.6rem; }
.hero .eyebrow { color: var(--gold); }
.hero-lede {
  font-size: 1.2rem;
  color: rgba(245, 236, 217, 0.92);
  margin-bottom: 2rem;
  max-width: 56ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Search bar in hero */
.hero-search {
  margin-top: 2.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  box-shadow: var(--shadow-lg);
}
.hero-search label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.hero-search input, .hero-search select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}
.hero-search .field {
  padding: 0.4rem 0.6rem;
  border-right: 1px solid var(--line-soft);
}
.hero-search .field:last-of-type { border-right: none; }

/* =========================================================
   Sections
   ========================================================= */
section { padding: 5rem 0; }
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-head .lede { margin: 0 auto; }

.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest-deep); color: var(--cream); }
.bg-forest h2, .bg-forest h3 { color: var(--cream); }
.bg-forest .lede { color: rgba(245, 236, 217, 0.85); }
.bg-paper { background: var(--paper); }

/* Featured cabins */
.cabins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.8rem;
}
.cabin-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
}
.cabin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(40, 30, 20, 0.14);
  border-color: var(--line);
}
.cabin-card:hover .cabin-photo { transform: scale(1.02); }
.cabin-card .cabin-photo { transition: transform .35s ease; }
.cabin-card a { color: inherit; }
.cabin-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cabin-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cream);
  color: var(--forest-deep);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.cabin-badge.lakefront { background: var(--lake); color: var(--cream); }
.cabin-info {
  padding: 1.3rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cabin-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 0 0.2rem;
}
.cabin-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}
.cabin-meta .dot { color: var(--line); }
.cabin-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
}
.cabin-rating .star { color: var(--gold); }
.cabin-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}
.cabin-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
}
.cabin-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--forest-deep);
  font-weight: 600;
}
.cabin-price small {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

/* Highlights / amenities */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.highlight {
  text-align: center;
}
.highlight-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--forest);
  line-height: 1;
  text-align: center;
  overflow: hidden;
}
.highlight-icon svg { width: 32px; height: 32px; display: block; }
.highlight-icon .stat-num,
.highlight-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Anchor the glyph to its own box (no inherited line-height) so flex centering
     lands the visual midline of the digit on the circle's center. */
  line-height: 1;
  height: 1em;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--forest-deep);
  /* Playfair Display has more space above its cap-height than below the
     baseline — a hair of optical correction lands the digits truly centered. */
  padding-top: 0.06em;
}
.bg-forest .highlight-icon {
  background: rgba(201, 169, 97, 0.12);
  border-color: rgba(201, 169, 97, 0.25);
  color: var(--gold);
}
.highlight h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.highlight p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}
.bg-forest .highlight p { color: rgba(245, 236, 217, 0.78); }

/* Story / About blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

/* Testimonials */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 1.2rem;
  line-height: 1.55;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 600;
}
.testimonial-name { font-weight: 600; color: var(--forest-deep); }
.testimonial-meta { font-size: 0.85rem; color: var(--muted); }

/* CTA strip */
.cta-strip {
  text-align: center;
  padding: 5rem 0;
  background:
    linear-gradient(rgba(31,51,41,0.78), rgba(31,51,41,0.78)),
    url('../assets/photos/lake-sunset.jpg') center/cover;
  color: var(--cream);
}
.cta-strip h2 { color: var(--cream); }
.cta-strip .lede { color: rgba(245, 236, 217, 0.9); margin: 0 auto 1.5rem; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--forest-deep);
  color: rgba(245, 236, 217, 0.78);
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}
.footer h4 {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer a { color: rgba(245, 236, 217, 0.78); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer-tag {
  font-family: 'Caveat', cursive;
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0.4rem 0 1rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 236, 217, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(245, 236, 217, 0.55);
  font-size: 0.88rem;
}
.social {
  display: flex;
  gap: 0.7rem;
}
.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 236, 217, 0.08);
  display: grid;
  place-items: center;
  color: var(--cream);
}
.social a:hover { background: var(--gold); color: var(--forest-deep); }

/* =========================================================
   Page header (sub-pages)
   ========================================================= */
.page-header {
  padding: 5rem 0 3rem;
  background:
    linear-gradient(rgba(31,51,41,0.55), rgba(31,51,41,0.65)),
    url('../assets/photos/lake-fall-foliage.jpg') center/cover;
  color: var(--cream);
  text-align: center;
}
.page-header h1 { color: var(--cream); }
.page-header .eyebrow { color: var(--gold); }
.page-header .lede { color: rgba(245,236,217,0.9); margin: 0 auto; }
/* Default breadcrumbs (light background) */
.breadcrumbs {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: var(--forest-soft);
  font-weight: 500;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--forest-deep);
  text-decoration: underline;
}
.breadcrumbs .sep {
  margin: 0 0.5rem;
  color: var(--line);
}
/* Override for breadcrumbs on dark page-header backgrounds */
.page-header .breadcrumbs {
  color: rgba(245, 236, 217, 0.7);
}
.page-header .breadcrumbs a { color: rgba(245, 236, 217, 0.95); }
.page-header .breadcrumbs a:hover { color: var(--gold); }
.page-header .breadcrumbs .sep { color: rgba(245, 236, 217, 0.4); }

/* =========================================================
   Listing page (cabins)
   ========================================================= */
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
}
.filters {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: sticky;
  top: 90px;
  align-self: start;
}
.filters h3 {
  margin: 0 0 1.2rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-clear {
  font-size: 0.82rem;
  color: var(--gold-deep);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.filter-group { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-deep);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.filter-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}
.filter-row {
  display: flex;
  gap: 0.5rem;
}
.filter-checks { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.filter-check input { accent-color: var(--forest); }
.range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.range output {
  font-weight: 600;
  color: var(--forest-deep);
  font-size: 0.95rem;
}

.listing-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.results-count { color: var(--muted); }
.sort-select {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

/* =========================================================
   Cabin detail page
   ========================================================= */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.detail-gallery .photo {
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: filter .2s;
}
.detail-gallery .photo:hover { filter: brightness(1.05); }
.detail-gallery .main { grid-row: span 2; min-height: 0; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.detail-content h1 { margin-bottom: 0.4rem; }
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.detail-section {
  margin: 2.5rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-soft);
}
.detail-section h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-soft);
}
.amenity svg { width: 22px; height: 22px; color: var(--forest); flex-shrink: 0; }

/* Booking widget */
.booking-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.booking-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.booking-price .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--forest-deep);
  font-weight: 600;
}
.booking-price .num small { font-family: inherit; font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.booking-fields {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}
.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.booking-field {
  padding: 0.7rem 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.booking-field:last-child { border-right: none; }
.booking-field-full { grid-column: 1 / -1; border-right: none; }
.booking-field label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.booking-field input, .booking-field select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0;
}
.booking-field input:focus, .booking-field select:focus {
  outline: none;
}
.booking-row:last-child .booking-field { border-bottom: none; }
.booking-summary {
  margin: 1.2rem 0;
  font-size: 0.95rem;
}
.booking-line {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  color: var(--ink-soft);
}
.booking-line.total {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-deep);
}
.booking-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.8rem;
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews-overview {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.rating-big {
  text-align: center;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.rating-big .num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--forest-deep);
  font-weight: 600;
  line-height: 1;
}
.rating-big .stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0.3rem 0;
  letter-spacing: 2px;
}
.rating-big .count { color: var(--muted); font-size: 0.9rem; }

.rating-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.rating-bar {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.bar {
  height: 8px;
  background: var(--line-soft);
  border-radius: 100px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
}

.review-list { display: flex; flex-direction: column; gap: 1.5rem; }
.review {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.review:last-child { border-bottom: none; }
.review-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1rem;
}
.review-meta { line-height: 1.3; }
.review-name { font-weight: 600; color: var(--forest-deep); }
.review-date { font-size: 0.85rem; color: var(--muted); }
.review-stars { color: var(--gold); margin-left: auto; }
.review-body { color: var(--ink-soft); margin: 0; }
.review-form {
  margin-top: 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.review-form h3 { margin-bottom: 0.5rem; }
.review-form textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.98rem;
  resize: vertical;
  background: var(--paper);
}
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;          /* DOM order is 5,4,3,2,1; visual is 1,2,3,4,5 */
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0.5rem 0 1rem;
  font-size: 1.6rem;
  color: var(--line);
}
.star-input span { cursor: pointer; transition: color .15s, transform .1s; }
.star-input span.on { color: var(--gold); }
/* On hover: the hovered star and all DOM-following siblings (visually to the left) fill */
.star-input:not(.locked) span:hover,
.star-input:not(.locked) span:hover ~ span {
  color: var(--gold);
  transform: scale(1.05);
}
.star-input.locked span:hover { transform: none; }

/* =========================================================
   Account / Auth
   ========================================================= */
.auth-layout {
  max-width: 460px;
  margin: 0 auto;
  background: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.auth-tabs {
  display: flex;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1.8rem;
}
.auth-tab {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
}
.auth-tab.active {
  background: var(--paper);
  color: var(--forest-deep);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.35rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}
.form-meta a { color: var(--gold-deep); }
.form-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  position: relative;
}
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--line-soft);
}
.form-divider span { background: var(--paper); padding: 0 1rem; position: relative; }
.auth-foot {
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Dashboard */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
}
.dash-side {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  align-self: start;
  position: sticky;
  top: 90px;
}
.dash-user {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 1.2rem;
}
.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 auto 0.6rem;
}
.dash-name { font-weight: 600; color: var(--forest-deep); }
.dash-email { font-size: 0.85rem; color: var(--muted); }
.dash-nav { list-style: none; padding: 0; margin: 0; }
.dash-nav li { margin-bottom: 0.3rem; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.dash-nav a:hover, .dash-nav a.active {
  background: var(--cream);
  color: var(--forest-deep);
}
.dash-nav a.active { font-weight: 600; }
.dash-nav svg { width: 18px; height: 18px; }

.booking-row-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
}
.booking-row-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}
.booking-row-info h4 { margin: 0 0 0.3rem; }
.booking-row-info p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Detailed booking card (upcoming and past) */
.bookings-section-head {
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
}
.count-pill {
  background: var(--cream);
  color: var(--forest-deep);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.15rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.booking-detailed {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.booking-detailed.past {
  background: linear-gradient(180deg, var(--paper), var(--cream));
}
.booking-head {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.booking-confirmation {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.booking-cabin-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
  color: var(--forest-deep);
}
.booking-dates {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.booking-nights {
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.3rem;
}
.booking-guests, .booking-meta-line {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.booking-status-block {
  text-align: right;
}
.booking-total-prominent {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--forest-deep);
  font-weight: 600;
  margin-top: 0.7rem;
}
.booking-total-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-actions {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}
.btn-cancel {
  background: transparent;
  color: #8b2727;
  border: 1.5px solid rgba(139, 39, 39, 0.3);
}
.btn-cancel:hover {
  background: rgba(139, 39, 39, 0.08);
  border-color: rgba(139, 39, 39, 0.5);
}
.btn-cancel:disabled, .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-cancel:disabled:hover {
  background: transparent;
  border-color: rgba(139, 39, 39, 0.3);
}
.booking-policy {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(107, 142, 110, 0.1);
  color: var(--forest-deep);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.booking-policy.locked {
  background: rgba(180, 60, 60, 0.08);
  color: #8b2727;
}
.booking-review-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: rgba(201, 169, 97, 0.15);
  color: var(--gold-deep);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Receipt */
.receipt-card {
  margin-top: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}
.receipt-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--line);
}
.receipt-label {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--forest-deep);
}
.receipt-code {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.receipt-line.total {
  margin-top: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--forest-deep);
  font-size: 1.05rem;
}
.receipt-meta {
  margin-top: 0.7rem;
  font-size: 0.83rem;
  color: var(--muted);
  text-align: right;
}

.booking-status {
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
}
.status-confirmed { background: rgba(107, 142, 110, 0.18); color: var(--forest-deep); }
.status-upcoming { background: rgba(72, 101, 129, 0.15); color: var(--lake-deep); }
.status-completed { background: rgba(122, 113, 106, 0.15); color: var(--muted); }
.status-cancelled { background: rgba(180, 60, 60, 0.12); color: #8b2727; }

@media (max-width: 700px) {
  .booking-head { grid-template-columns: 1fr; }
  .booking-status-block { text-align: left; }
  .booking-actions { flex-direction: column; align-items: stretch; }
  .booking-actions .btn { justify-content: center; }
}

/* =========================================================
   About / Contact pages
   ========================================================= */
.story {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.story p { margin-bottom: 1.2rem; }
.story h3 { margin-top: 2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { padding: 0.5rem 0; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--forest);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-item h4 { margin: 0 0 0.2rem; font-size: 1.02rem; }
.contact-info-item p { margin: 0; color: var(--ink-soft); }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--forest-deep);
  font-weight: 600;
  margin: 0 0 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.faq-a { color: var(--ink-soft); margin: 0; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-q::after { content: '+'; color: var(--gold-deep); margin-left: 1rem; font-weight: 400; }

/* Real map embed */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--cream);
}
.map-frame {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
.map-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.map-action-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.1rem;
}
.map-action-sub { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 600px) {
  .map-frame { height: 360px; }
  .map-action { flex-direction: column; align-items: stretch; text-align: center; }
}

/* =========================================================
   Lightbox image viewer
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 18, 0.94);
  display: none;
  z-index: 300;
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.show { display: flex; opacity: 1; flex-direction: column; }
.lightbox-stage {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 5rem;
  min-height: 0;
  overflow: hidden;
}
.lightbox-img {
  max-width: calc(100vw - 9rem);
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lb-pop .25s ease-out;
}
@keyframes lb-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.lightbox-img.swap { animation: lb-fade .2s ease-out; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 236, 217, 0.12);
  border: 1px solid rgba(245, 236, 217, 0.25);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
  font-size: 1.4rem;
  user-select: none;
}
.lightbox-btn:hover { background: rgba(245, 236, 217, 0.22); transform: translateY(-50%) scale(1.05); }
.lightbox-btn:disabled, .lightbox-btn.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(245, 236, 217, 0.12);
  border: 1px solid rgba(245, 236, 217, 0.25);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background .15s;
  z-index: 2;
}
.lightbox-close:hover { background: rgba(245, 236, 217, 0.22); }
.lightbox-counter {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  color: rgba(245, 236, 217, 0.85);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  z-index: 2;
}
.lightbox-counter span { color: var(--gold); }
.lightbox-caption {
  text-align: center;
  color: rgba(245, 236, 217, 0.75);
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  padding: 0.5rem 2rem 1rem;
  min-height: 1em;
}
.lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem 2rem 2rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.lightbox-thumb {
  width: 80px;
  height: 56px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all .15s;
  flex-shrink: 0;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
.detail-gallery .photo { cursor: zoom-in; }

@media (max-width: 900px) {
  .lightbox-stage { padding: 0.5rem 4rem; }
  .lightbox-img { max-width: calc(100vw - 7rem); max-height: calc(100vh - 160px); }
}
@media (max-width: 700px) {
  .lightbox-stage { padding: 0.5rem 0.5rem; }
  .lightbox-btn { width: 44px; height: 44px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-thumbs { padding: 0.5rem 0.5rem 1rem; }
  .lightbox-thumb { width: 56px; height: 40px; }
  .lightbox-img { max-width: calc(100vw - 1rem); max-height: calc(100vh - 200px); }
  .lightbox-prev, .lightbox-next { background: rgba(0,0,0,0.5); }
}

/* =========================================================
   Modals (booking confirmation, edit, details, cancel)
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 25, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(107, 142, 110, 0.18);
  color: var(--forest);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}
.modal-icon svg { width: 36px; height: 36px; }
.modal h2 { margin-bottom: 0.5rem; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: rgba(122, 113, 106, 0.15); color: var(--forest-deep); }
.modal-wide {
  max-width: 820px;
  text-align: left;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}
.modal-no-pad { padding: 0; overflow: hidden; }

/* Booking details modal content */
.details-cover {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.details-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,51,41,0.3));
}
.details-content { padding: 1.6rem 2rem 1.8rem; }
.details-content h2 { font-size: 1.7rem; margin-top: 0.4rem; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.details-cell { text-align: left; }
.details-key {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.details-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--forest-deep);
  font-weight: 600;
  line-height: 1.2;
}
.details-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.details-section-head {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--forest-deep);
  margin: 1.4rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.details-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.details-cols .details-section-head { margin-top: 0; }

@media (max-width: 720px) {
  .details-grid { grid-template-columns: 1fr 1fr; }
  .details-cols { grid-template-columns: 1fr; gap: 0.5rem; }
  .details-content { padding: 1.2rem 1.2rem 1.4rem; }
  .modal-wide { max-height: calc(100vh - 1rem); }
  .details-cover { height: 160px; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--forest-deep);
  color: var(--cream);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 400;
  max-width: 420px;
  text-align: center;
  transition: transform .3s ease;
  font-size: 0.95rem;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* =========================================================
   Mobile responsive overrides
   ========================================================= */
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line-soft); gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .reviews-overview { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search button { grid-column: span 2; }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .detail-gallery .main { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: 65vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .booking-row-card { grid-template-columns: 1fr; }
  .booking-row-photo { aspect-ratio: 16/9; }
}

/* =========================================================
   Favorite (heart) button
   ========================================================= */
.cabin-photo { position: relative; }

.heart-btn {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 246, 236, 0.92);
  border: 1px solid rgba(216, 201, 168, 0.6);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.heart-btn:hover {
  background: var(--paper);
  color: #d44;
  transform: scale(1.06);
}
.heart-btn.fav {
  background: var(--paper);
  color: #d44;
  border-color: rgba(212, 68, 68, 0.4);
}
.heart-btn.fav svg { fill: currentColor; }
.heart-btn.popping {
  animation: heart-pop .42s cubic-bezier(.25,.6,.3,1.4);
}
@keyframes heart-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.45); }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.heart-btn.fav.popping svg {
  animation: heart-fill-burst .42s ease;
}
@keyframes heart-fill-burst {
  0%   { filter: drop-shadow(0 0 0 rgba(212, 68, 68, 0.6)); }
  50%  { filter: drop-shadow(0 0 14px rgba(212, 68, 68, 0.7)); }
  100% { filter: drop-shadow(0 0 0 rgba(212, 68, 68, 0)); }
}

/* =========================================================
   Admin moderation cards
   ========================================================= */
.mod-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.mod-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: start;
}
.mod-photo {
  width: 110px;
  height: 80px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.mod-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  min-width: 110px;
}
.mod-body {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-style: italic;
}
.mod-meta {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.dash-nav .count-pill {
  margin-left: auto;
  font-size: 0.78rem;
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
  padding: 0.05rem 0.5rem;
  font-weight: 700;
}

/* =========================================================
   Mobile responsiveness sweep
   ========================================================= */
@media (max-width: 960px) {
  /* Header — hamburger menu mode */
  .nav { gap: 1rem; padding: 0.7rem 0; }
  .nav-cta a.btn-ghost { display: none; }
  .nav-cta a.btn-primary { padding: 0.55rem 1rem; font-size: 0.9rem; }
  .brand-name { font-size: 1.05rem; line-height: 32px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .brand-tag { font-size: 0.85rem; margin-top: -0.1rem; }
  .brand { column-gap: 0.5rem; }

  /* Sections — tighter padding */
  section { padding: 3.5rem 0; }
  .hero-inner { padding: 4rem 0 3rem; }

  /* Hero search — stack fields */
  .hero-search { grid-template-columns: 1fr 1fr; padding: 0.75rem; }
  .hero-search button { grid-column: span 2; }
  .hero-search .field { padding: 0.3rem 0.5rem; }

  /* Cabin cards */
  .cabins-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Detail page gallery */
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: 280px repeat(4, 160px); }
  .detail-gallery .main { grid-column: 1; grid-row: 1; }
  .detail-meta-row { font-size: 0.92rem; gap: 0.6rem; }
  .detail-meta-row > span:nth-child(2n) { display: none; } /* hide bullet separators */

  /* Detail layout — sticky widget unstacks */
  .detail-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .booking-card { position: static; }

  /* Listing — filters above results */
  .listing-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .filters { position: static; padding: 1.2rem; }

  /* Dashboard — stack */
  .dash-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .dash-side { position: static; }

  /* Booking detailed cards */
  .booking-head { grid-template-columns: 1fr; }
  .booking-row-photo { aspect-ratio: 16/9; max-width: 100%; }
  .booking-status-block { text-align: left; display: flex; gap: 1rem; align-items: baseline; }
  .booking-total-prominent { margin-top: 0; }
  .booking-actions { gap: 0.4rem; }
  .booking-actions .btn { flex: 1 1 calc(50% - 0.4rem); justify-content: center; min-height: 44px; }

  /* Modals */
  .modal { padding: 1.6rem 1.4rem; max-width: 100%; }
  .modal-wide { max-height: 100vh; }
  .modal-icon { width: 56px; height: 56px; }
  .details-content { padding: 1rem 1.2rem 1.4rem; }
  .details-grid { grid-template-columns: 1fr 1fr; padding: 0.9rem; gap: 0.6rem; }
  .details-cols { grid-template-columns: 1fr; gap: 0.5rem; }
  .details-cover { height: 140px; }

  /* About page split sections */
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-img { aspect-ratio: 4/3; max-height: 320px; }

  /* Highlights / stats */
  .highlights { grid-template-columns: 1fr 1fr; gap: 1.4rem 0.5rem; }

  /* Footer */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-bottom: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; font-size: 0.8rem; }

  /* Admin moderation */
  .mod-head { grid-template-columns: 1fr; gap: 0.8rem; }
  .mod-photo { width: 100%; height: 140px; }
  .mod-actions { flex-direction: row; min-width: 0; }

  /* Hero responsive heights */
  .hero { min-height: 60vh; }

  /* Reviews overview */
  .reviews-overview { grid-template-columns: 1fr; gap: 1.2rem; }
  .rating-bars { font-size: 0.88rem; }
  .rating-bar { grid-template-columns: 70px 1fr 36px; gap: 0.5rem; }

  /* Contact + map */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .map-frame { height: 320px; }

  /* Tap targets — ensure interactive elements are >=44px tall */
  .btn { min-height: 42px; }
  .nav-links a { padding: 0.7rem 0; }
  .filter-check { padding: 0.3rem 0; }

  /* Faq item */
  .faq-q { font-size: 1.05rem; padding-right: 0.5rem; }
}

@media (max-width: 600px) {
  /* Smaller phones */
  body { font-size: 16px; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  h3 { font-size: 1.2rem; }
  .container { width: min(100% - 1.5rem, var(--container)); }

  .hero { min-height: 55vh; }
  .hero-inner { padding: 3rem 0 2.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-search { grid-template-columns: 1fr; }
  .hero-search button { grid-column: 1; }
  .hero-search .field { border-right: none !important; border-bottom: 1px solid var(--line-soft); padding: 0.5rem 0.6rem; }
  .hero-search .field:last-of-type { border-bottom: none; }

  /* Highlights single column */
  .highlights { grid-template-columns: 1fr; }

  /* Filters compact */
  .filters h3 { font-size: 1rem; }
  .filter-group { margin-bottom: 1rem; padding-bottom: 1rem; }

  /* Booking widget compact */
  .booking-row { grid-template-columns: 1fr; }
  .booking-field { border-right: none !important; }
  .booking-field-full { border-bottom: none; }

  /* Booking actions stack vertically on tiny screens */
  .booking-actions .btn { flex: 1 1 100%; }

  /* Cabin detail meta wraps cleanly */
  .detail-meta-row { font-size: 0.88rem; }
  .detail-section h2 { font-size: 1.4rem; }

  /* Auth */
  .auth-layout { padding: 1.6rem 1.2rem; }

  /* Reduce footer to one column */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Nav text smaller */
  .nav-links a { font-size: 1rem; padding: 0.8rem 0; }

  /* Smaller cabin detail gallery */
  .detail-gallery { grid-template-rows: 220px repeat(4, 130px); }

  /* Modal full-width */
  .modal { padding: 1.4rem 1rem; border-radius: var(--radius); }
  .modal-close { top: 0.5rem; right: 0.5rem; }
  .details-cover { height: 120px; }

  /* Map compact */
  .map-frame { height: 280px; }

  /* Stats grid 2x2 */
  .highlights { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .highlight p { font-size: 0.9rem; }
  .highlight-icon { width: 60px; height: 60px; }
  .highlight-icon .stat-num, .highlight-icon span { font-size: 1.3rem !important; }
}


@media (max-width: 380px) {
  /* Very small phones */
  .booking-actions .btn { font-size: 0.82rem; padding: 0.5rem 0.6rem; min-height: 38px; }
  .booking-cabin-name { font-size: 1.2rem; }
  .modal h2 { font-size: 1.3rem; }
  .receipt-line { font-size: 0.88rem; }
  .heart-btn { width: 34px; height: 34px; }
  .booking-row-photo { aspect-ratio: 4/3; }
  .nav-cta a.btn-primary { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
}

/* Very small phones — hide brand tagline to keep header on one line */
@media (max-width: 420px) {
  .brand-tag { display: none; }
}


/* =========================================================
   Mobile hero compaction — keep above-the-fold tight
   ========================================================= */
@media (max-width: 700px) {
  .hero { min-height: auto; }
  .hero-inner {
    padding: 2.4rem 0 1.8rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 0.4rem;
  }
  .hero .eyebrow {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }
  .hero-lede {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  /* Action buttons sit close, equal width, less padding */
  .hero-actions {
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }
  .hero-actions .btn,
  .hero-actions .btn-lg {
    flex: 1 1 0;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    min-height: 42px;
    white-space: nowrap;
  }

  /* Search form: tight padding, single-column stack with no extra spacing */
  .hero-search {
    margin-top: 1.4rem;
    padding: 0.6rem;
    gap: 0.4rem;
    grid-template-columns: 1fr;
    border-radius: 10px;
  }
  .hero-search .field {
    padding: 0.4rem 0.7rem;
    border-right: none !important;
    border-bottom: 1px solid var(--line-soft);
  }
  .hero-search .field:nth-last-of-type(1) { border-bottom: none; }
  .hero-search label {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
    letter-spacing: 0.06em;
  }
  .hero-search input,
  .hero-search select {
    padding: 0.3rem 0;
    font-size: 0.92rem;
    border: none;
    background: transparent;
  }
  .hero-search button {
    grid-column: 1;
    margin-top: 0.2rem;
    padding: 0.7rem;
    font-size: 0.95rem;
    min-height: 44px;
  }
}

/* Even tighter on phones < 420px */
@media (max-width: 420px) {
  .hero-inner { padding: 1.8rem 0 1.4rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero-lede { font-size: 0.92rem; margin-bottom: 1rem; }
  .hero-search { padding: 0.5rem; margin-top: 1rem; }
  .hero-search .field { padding: 0.35rem 0.6rem; }
  .hero-search button { padding: 0.6rem; font-size: 0.92rem; }
  .hero-actions .btn { font-size: 0.9rem; padding: 0.6rem 0.7rem; }
}


/* =========================================================
   Mobile hamburger nav — proper dropdown styling
   ========================================================= */
@media (max-width: 960px) {
  /* Solid panel that sits cleanly below the header */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
    background: var(--paper) !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(20, 30, 25, 0.18);
    z-index: 99;
  }
  .nav-links.open { display: flex; }

  /* Each link is a comfortable tap row, full-width, with side padding */
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.4rem;
    font-size: 1.02rem;
    color: var(--ink-soft);
    transition: background .15s, color .15s;
    position: relative;
    border-radius: 0;
  }
  .nav-links a:hover {
    background: rgba(45, 74, 62, 0.04);
    color: var(--forest-deep);
  }

  /* Override the desktop bottom underline — full-row width looks bad on mobile */
  .nav-links a.active::after { display: none !important; }

  /* Active state on mobile: short left gold bar + cream highlight */
  .nav-links a.active {
    color: var(--forest-deep);
    background: var(--cream);
    font-weight: 600;
  }
  .nav-links a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--gold);
    border-radius: 0 3px 3px 0;
  }
}
                                               

/* =========================================================
   Cabins page — mobile filter toggle + compact panel
   ========================================================= */
.filter-toggle-btn { display: none; }

.listing-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 960px) {
  /* Show the toggle button on mobile */
  .filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    background: var(--paper);
    border: 1.5px solid var(--forest);
    border-radius: var(--radius-sm);
    color: var(--forest-deep);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    min-height: 40px;
    white-space: nowrap;
    transition: background .15s, color .15s;
  }
  .filter-toggle-btn:hover,
  .filter-toggle-btn.active {
    background: var(--forest);
    color: var(--cream);
  }
  .filter-active-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    margin-left: 0.1rem;
    display: inline-block;
  }

  /* Hide the filter panel by default on mobile */
  .filters {
    display: none;
    position: static;
    margin-bottom: 1.2rem;
    padding: 1rem 1.1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .filters.open { display: block; }

  /* Tighten everything inside the filter panel */
  .filters * { box-sizing: border-box; }
  .filters h3 {
    font-size: 1rem;
    margin-bottom: 0.9rem;
  }
  .filter-group {
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
  }
  .filter-label {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
  }
  .filter-input {
    width: 100%;
    padding: 0.5rem 0.7rem;
    font-size: 0.95rem;
    height: 40px;
    line-height: 1;
    box-sizing: border-box;
  }
  /* Date inputs default to a tall height in iOS Safari — force a compact box */
  .filter-input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    height: 40px;
  }
  .filter-checks { gap: 0.4rem; }
  .filter-check {
    padding: 0.3rem 0;
    font-size: 0.95rem;
  }
  .range output { font-size: 0.9rem; }

  /* Listing head wraps cleanly */
  .listing-head {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .listing-head > div:first-child { flex: 1 1 100%; }
  .listing-controls {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .listing-controls .sort-select {
    flex: 1 1 auto;
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .filter-toggle-btn { padding: 0.5rem 0.8rem; font-size: 0.88rem; }
  .listing-controls .sort-select { font-size: 0.88rem; padding: 0.4rem 0.6rem; }
  .filters { padding: 0.9rem; }
}

/* =========================================================
   Our Story page — mobile tightening
   ========================================================= */
@media (max-width: 700px) {
  /* Hero/page-header */
  .page-header {
    padding: 3rem 0 2rem;
  }
  .page-header h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .page-header .lede { font-size: 1rem; }
  .page-header .eyebrow { font-size: 1.05rem; }

  /* Story body — readable line length, comfortable padding */
  .story {
    font-size: 1rem;
    line-height: 1.62;
    padding: 0;
  }
  .story p { margin-bottom: 1rem; }
  .story h3 {
    font-size: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 0.4rem;
  }

  /* Section padding tighter on mobile */
  section.bg-paper, section.bg-cream { padding: 2.4rem 0; }

  /* Split sections — image + text stack cleanly */
  .split { gap: 1.4rem; grid-template-columns: 1fr; }
  .split-img {
    aspect-ratio: 4/3 !important;
    max-height: 260px;
    width: 100%;
    border-radius: 10px;
  }
  .split h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
  .split p { font-size: 1rem; margin-bottom: 0.8rem; }

  /* Section heads tighter */
  .section-head {
    margin: 0 auto 1.6rem;
    padding: 0 0.5rem;
  }
  .section-head h2 { font-size: 1.6rem; }

  /* Highlights / By-the-numbers stays 2x2 on mobile, larger touch */
  .highlights {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1rem;
  }
  .highlight { padding: 0; }
  .highlight-icon { width: 64px; height: 64px; }
  .highlight-icon .stat-num,
  .highlight-icon span { font-size: 1.5rem; }
  .highlight h3 { font-size: 1rem; margin-bottom: 0.2rem; }
  .highlight p { font-size: 0.88rem; line-height: 1.45; }
}

@media (max-width: 420px) {
  .highlights { gap: 0.9rem 0.6rem; }
  .highlight-icon { width: 58px; height: 58px; }
  .highlight-icon .stat-num,
  .highlight-icon span { font-size: 1.35rem; }
  .highlight p { font-size: 0.82rem; }
  .split-img { max-height: 220px; }
}

/* =========================================================
   Footer — compact mobile layout
   ========================================================= */
@media (max-width: 700px) {
  .footer {
    padding: 2rem 0 1.2rem;
    font-size: 0.92rem;
  }

  /* Brand block on top, then 2-col Visit + Account, then full-width Get in touch */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "visit account"
      "contact contact";
    gap: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
  }
  .footer-grid > div:nth-child(1) { grid-area: brand; }
  .footer-grid > div:nth-child(2) { grid-area: visit; }
  .footer-grid > div:nth-child(3) { grid-area: account; }
  .footer-grid > div:nth-child(4) { grid-area: contact; }

  .footer h4 {
    font-size: 0.92rem;
    margin: 0 0 0.4rem;
    padding-bottom: 0;
    border-bottom: 0;
    letter-spacing: 0.02em;
  }
  .footer-tag {
    font-size: 1.15rem;
    margin: 0.2rem 0 0.6rem;
  }
  .footer p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.5rem;
  }

  /* Dense link list — small padding, no borders, no min-height */
  .footer ul { line-height: 1.4; }
  .footer ul li {
    margin: 0;
    padding: 0;
    border: 0;
    display: list-item;
    min-height: 0;
  }
  .footer ul li a,
  .footer ul li {
    display: block;
    padding: 4px 0;
    font-size: 0.9rem;
    min-height: 0;
  }
  .footer ul li > a {
    padding: 4px 0;
    line-height: 1.35;
  }

  /* Social icons — modest size */
  .social {
    gap: 0.5rem;
    margin-top: 0.6rem;
  }
  .social a {
    width: 36px;
    height: 36px;
  }
  .social a svg { width: 16px; height: 16px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding-top: 1rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .footer { padding: 1.6rem 0 1rem; }
  .footer-grid { gap: 1rem 1rem; }
  .footer h4 { font-size: 0.88rem; }
  .footer p, .footer ul li { font-size: 0.86rem; }
}


/* =========================================================
   Mobile account/sign-in row in hamburger menu
   ========================================================= */
.nav-account-mobile { display: none; }   /* hidden on desktop — desktop has .nav-cta */

@media (max-width: 960px) {
  .nav-account-mobile {
    display: list-item;
    border-top: 1px solid var(--line-soft);
    margin-top: 0.3rem;
    padding-top: 0.3rem;
  }
  .nav-account-link {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    color: var(--forest-deep) !important;
    font-weight: 600;
  }
  .nav-account-link svg { color: var(--gold-deep); flex-shrink: 0; }
  .nav-account-link:hover { background: rgba(45, 74, 62, 0.04); }
}

/* =========================================================
   Polish — Our Story dividers, widths, sketch image, CTA
   ========================================================= */

/* Tighten story body for comfortable line length (~65-75 chars) */
.story {
  max-width: 720px;
}

/* Subtle gold divider above each subsection h3, with a touch more breathing room */
.story h3 {
  margin-top: 2.6rem;
  margin-bottom: 0.6rem;
  position: relative;
  padding-top: 1.4rem;
}
.story h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.story > p:first-of-type { margin-top: 0; }

/* Cabin sketch image — softer, lifted */
.cabin-sketch-img {
  display: block;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  background: var(--paper);
  padding: 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Stat circle font tuning — 100+ specifically a touch smaller for breathing room */
.highlight-icon .stat-num.compact { font-size: 1.25rem !important; letter-spacing: -0.01em; }

/* CTA strip bottom — less dead space before the footer */
.cta-strip {
  padding: 4rem 0 3.2rem;
}

@media (max-width: 700px) {
  .story h3 { margin-top: 2rem; padding-top: 1.1rem; }
  .story h3::before { width: 48px; }
  .cabin-sketch-img { max-width: 280px; padding: 0.7rem; }
  .cta-strip { padding: 3rem 0 2.4rem; }
}


/* =========================================================
   Mobile polish — verified targeted refinements
   ========================================================= */
@media (max-width: 700px) {
  /* Story h3 — bolder + tighter spacing on mobile so headings stand out */
  .story h3 {
    font-weight: 700;
    margin-top: 2.2rem;
    font-size: 1.15rem;
    color: var(--forest-deep);
    letter-spacing: -0.005em;
  }
  .story h3::before {
    /* Make sure the gold divider is bright enough to be visible on mobile */
    opacity: 1;
    background: var(--gold);
  }

  /* Hero subtitle/lede — already responsive but ensure readable size */
  .hero-lede { font-size: 0.96rem; line-height: 1.5; }

  /* Breadcrumbs — small enough to not compete with the page title */
  .breadcrumbs,
  .page-header .breadcrumbs {
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
  }

  /* Contact form — first/last stack, send button full-width */
  .contact-grid form .form-row { grid-template-columns: 1fr; gap: 0.9rem; }
  .contact-grid form button[type="submit"] {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Footer social icons — bump back up to 40×40 minimum tap target */
  .social {
    gap: 0.7rem;
    margin-top: 0.7rem;
  }
  .social a {
    width: 40px;
    height: 40px;
  }
  .social a svg { width: 18px; height: 18px; }

  /* Split image (chairs etc.) — keep contained, never full-bleed */
  .split-img {
    margin: 0;
    background-position: center !important;
  }
}

@media (max-width: 420px) {
  .story h3 { font-size: 1.1rem; margin-top: 1.9rem; }
  .breadcrumbs, .page-header .breadcrumbs { font-size: 0.74rem; }
  .social a { width: 40px; height: 40px; }   /* never go below 40 */
  .social a svg { width: 17px; height: 17px; }
}


/* Winter-only cottage badge */
.cabin-badge.winter-only {
  background: var(--lake);
  color: var(--cream);
}
.cabin-card.winter-only .cabin-photo { filter: saturate(0.85); }


/* =========================================================
   Cottage detail — Reserve card (replaces online booking widget)
   ========================================================= */
.reserve-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.reserve-card-head {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.reserve-eyebrow {
  display: block;
  font-family: 'Caveat', cursive;
  color: var(--gold-deep);
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.reserve-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0;
  line-height: 1.3;
}
.reserve-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.reserve-meta li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.reserve-meta svg {
  width: 18px;
  height: 18px;
  color: var(--forest-soft);
  flex-shrink: 0;
}
.reserve-card .btn-block { width: 100%; }
.reserve-policy {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line-soft);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.reserve-policy p {
  margin: 0 0 0.4rem;
}
.reserve-policy p:last-child { margin-bottom: 0; }
.reserve-policy strong { color: var(--forest-deep); }

@media (max-width: 960px) {
  .reserve-card {
    position: static;
    padding: 1.2rem;
  }
}


/* =========================================================
   Inquiry form (cottage detail + contact page)
   ========================================================= */
.inquiry-form {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.inquiry-form .form-group { margin-bottom: 0.9rem; }
.inquiry-form .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.3rem;
}
.inquiry-form .form-group input,
.inquiry-form .form-group select,
.inquiry-form .form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.96rem;
  box-sizing: border-box;
}
.inquiry-form .form-group input:focus,
.inquiry-form .form-group select:focus,
.inquiry-form .form-group textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.08);
}
.inquiry-form .form-group textarea { resize: vertical; min-height: 90px; }
.inquiry-form button[type="submit"] {
  width: 100%;
  margin-top: 0.4rem;
}
.inquiry-success {
  background: var(--paper);
  border: 1px solid rgba(107, 142, 110, 0.4);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .inquiry-form { padding: 1.3rem 1.1rem; }
  .inquiry-form .form-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
