*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fcfbf8;
  --header-bg: #fbfaf6;
  --border: #d7cdba;
  --taupe: #ebe7e0;
  --text: #5a524f;
  --accent: #004225;
  --dark: #0e150e;
  --white: #ffffff;
  --card-radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, .section-title, .pricing-amount, .hero-content h1 {
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-weight: 300;
}

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--dark);
  text-transform: uppercase;
  text-decoration: none;
}

.logo span { color: var(--accent); }

.logo-img { display: block; height: 130px; width: auto; max-width: 100%; pointer-events: none; }
.footer-logo-img { height: 130px; max-width: 100%; margin-bottom: 16px; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-book-btn {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
}

.nav-book-btn:hover { background: #004225; color: var(--white) !important; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  background: url('/images/outside2.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 10, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 0 24px;
  margin-bottom: 48px;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

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

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

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

.btn-accent:hover { background: #004225; }

/* Booking widget */
.booking-widget {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 28px 36px 36px;
  display: flex;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 900px;
  width: 90%;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}

.booking-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

.booking-field input,
.booking-field select {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 2px;
  outline: none;
  font-family: inherit;
}

.booking-field input:focus,
.booking-field select:focus { border-color: var(--accent); }

.booking-widget .btn-accent { padding: 12px 28px; white-space: nowrap; }

/* ── SECTION BASE ────────────────────────────────── */
section { padding: 90px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text);
  max-width: 540px;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 52px;
}

/* ── AVAILABILITY CALENDAR ───────────────────────── */
.availability { background: var(--taupe); }

.cal-wrap {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  padding: 32px 36px 28px;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cal-nav-label {
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.cal-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--dark);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}

.cal-nav-btn:hover:not(:disabled) {
  background: var(--taupe);
  border-color: var(--text);
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Two-month grid on desktop */
.cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.cal-month { width: 100%; }

.cal-month-title {
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.cal-days-header span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 0;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 50%;
  position: relative;
  color: var(--dark);
  cursor: default;
  transition: background 0.15s;
}

/* Empty cells for day-of-week offset */
.cal-day.empty { background: none; }

/* Past dates */
.cal-day.past {
  color: #ccc;
}

/* Available future dates */
.cal-day.available {
  color: var(--dark);
}

/* Today */
.cal-day.is-today {
  background: var(--taupe);
  font-weight: 700;
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* Booked/reserved */
.cal-day.booked {
  background: #fdf0ee;
  color: #c4897e;
  font-weight: 600;
}

.cal-day.booked::after {
  content: '';
  position: absolute;
  inset: 20% 8%;
  border-bottom: 1.5px solid #c4897e;
  transform: rotate(-18deg);
  pointer-events: none;
}

/* Divider between two months */
.cal-grid .cal-month:first-child {
  border-right: 1px solid var(--taupe);
  padding-right: 40px;
}

.cal-grid .cal-month:last-child {
  padding-left: 0;
}

/* Legend */
.cal-legend {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--taupe);
  flex-wrap: wrap;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
  text-transform: uppercase;
}

.cal-legend-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid var(--border);
}

.cal-legend-swatch.available { background: var(--white); }
.cal-legend-swatch.booked { background: #fdf0ee; border-color: #c4897e; }
.cal-legend-swatch.today { background: var(--taupe); border: 2px solid var(--accent); }

/* ── ACCOMMODATIONS ──────────────────────────────── */
.accommodations { background: var(--bg); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.property-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}

.property-card:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.12); }

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

.property-card-body { padding: 28px; }

.property-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.property-card-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.amenity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.amenity-pill {
  background: var(--taupe);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--taupe);
}

.price { font-size: 22px; font-weight: 700; color: var(--accent); }
.price span { font-size: 13px; font-weight: 400; color: var(--text); }

/* ── AMENITIES STRIP ─────────────────────────────── */
.amenities-strip {
  background: var(--dark);
  padding: 70px 0;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.amenity-item { color: var(--white); }

.amenity-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.amenity-item h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--white);
}

.amenity-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── PRICING ─────────────────────────────────────── */
.pricing { background: var(--taupe); }

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

.pricing-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pricing-card.featured {
  background: var(--accent);
}

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

.pricing-card-body { padding: 32px 28px; }

.pricing-card h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-card.featured h3 { color: rgba(255,255,255,0.8); }

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card.featured .pricing-amount { color: var(--white); }

.pricing-amount span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}

.pricing-card.featured .pricing-amount span { color: rgba(255,255,255,0.7); }

.pricing-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--taupe);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.2);
}

.pricing-card.featured .btn-outline-white { border-color: var(--white); }

/* ── GALLERY ─────────────────────────────────────── */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 10px;
}

.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 10, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(10, 18, 10, 0.38);
}

.gallery-item-overlay svg {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  color: white;
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 14, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  display: block;
  transition: opacity 0.2s;
}

.lightbox-img.fading { opacity: 0; }

.lb-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.lb-btn:hover { background: rgba(255,255,255,0.18); }

.lb-close {
  position: absolute;
  top: -56px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

.lb-close:hover { color: var(--white); }

.lb-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials { background: var(--white); }

.testimonials-header { text-align: center; margin-bottom: 52px; }
.testimonials-header .section-sub { margin: 0 auto; }

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

.testimonial-card {
  background: var(--bg);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  border-top: 3px solid var(--accent);
}

.testimonial-quote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-author-info span {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stars { color: #c8a951; font-size: 13px; margin-bottom: 14px; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  padding: 72px 0 36px;
  color: rgba(0,0,0,0.5);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
  align-items: start;
}

.footer-house {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: -36px;
}

.footer-house-img {
  max-height: 220px;
  width: auto;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
  display: block;
}

.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-contact-item {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-item a:hover { text-decoration: underline; }

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  text-decoration: none;
  color: rgba(0,0,0,0.5);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--dark); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* ── BURGER BUTTON ───────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* Animate to X when open */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU DRAWER ──────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--header-bg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.mobile-nav-logo {
  text-decoration: none;
  margin-bottom: 40px;
}

.mobile-nav-logo .logo-img { height: 100px; }

.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0 48px;
}

.mobile-nav ul li a {
  display: block;
  padding: 18px 0;
  color: var(--text);
  text-decoration: none;
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav ul li:last-child a {
  border-bottom: none;
}

.mobile-nav ul li a:hover { color: var(--accent); }

.mobile-nav .mobile-book-btn {
  margin-top: 36px;
  background: var(--accent);
  color: var(--white) !important;
  padding: 14px 48px;
  border-radius: 2px;
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s;
}

.mobile-nav .mobile-book-btn:hover { background: #004225; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid,
  .pricing-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .wide { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-house { margin-top: 0; }

  .nav-links { display: none; }
  .burger { display: flex; }
  .logo-img { height: 72px; }
  .header-inner { height: 90px; }

  /* Calendar: one month at a time on tablet/mobile */
  .cal-grid { grid-template-columns: 1fr; }
  .cal-grid .cal-month:last-child { display: none; }
  .cal-grid .cal-month:first-child { border-right: none; padding-right: 0; border-bottom: none; padding-bottom: 0; }
  .cal-label-sep { display: none; }
  .cal-wrap { padding: 24px 20px 20px; }
}

@media (max-width: 600px) {
  /* Hero: compact height on mobile — just enough for content */
  .hero { height: auto; min-height: 0; padding: 48px 16px 36px; background-position: center top; }
  .hero-content { margin-bottom: 24px; padding: 0; }
  .hero-content h1 { font-size: 26px; margin-bottom: 14px; }
  .hero-content p { font-size: 14px; margin-bottom: 0; }

  /* Booking widget — 2-column grid so steppers sit side-by-side */
  .booking-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 22px 20px 32px;
    gap: 14px;
    width: 92%;
    align-items: end;
  }
  .booking-dates { grid-column: 1 / -1; min-width: 0; }
  .booking-dates.has-error + .booking-stepper-field { margin-top: 20px; }
  .booking-stepper-field { min-width: 0; }
  .booking-widget .btn-accent { grid-column: 1 / -1; width: 100%; text-align: center; }
  .price-summary { grid-column: 1 / -1; flex-basis: auto; }
  /* Mobile: let text wrap (narrower viewport), steppers pushed down via margin-top above */
  .date-error-msg.visible { white-space: normal; right: 0; }
  .booking-widget.has-date-error { padding-bottom: 32px; }

  /* Date picker: anchor to widget, not off-screen */
  .dp-panel { left: 50%; transform: translateX(-50%); min-width: calc(100vw - 24px); }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-wrap: nowrap; gap: 8px; font-size: 10px; }
  .logo-img { height: 110px; }
  .header-inner { height: 130px; }
  .footer-logo { display: none; }
  .footer-house { margin-top: 24px; justify-content: center; }
  .footer-house-img { max-height: 90px; max-width: 100%; width: auto; }
}

/* ── BOOKING ENQUIRY MODAL ───────────────────────── */
.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 18, 10, 0.65);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.booking-modal.open {
  display: flex;
}

.booking-modal-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 36px 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.booking-modal-close:hover { opacity: 1; }

.booking-modal-title {
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
}

.booking-modal-summary {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: rgba(0, 66, 37, 0.06);
  border-radius: 2px;
}

.booking-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.booking-form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
}

.field-required { color: var(--accent); }
.field-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: #aaa; }

.booking-form-field input {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--dark);
  border-radius: 2px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}

.booking-form-field input:focus { border-color: var(--accent); }
.booking-form-field input.input-error { border-color: #c0392b; }
.booking-form-field input.input-error:focus { border-color: #c0392b; }

.field-error-msg {
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
  line-height: 1.4;
  min-height: 0;
  padding: 3px 0 0;
  display: none;
}

.field-error-msg:not(:empty) { display: block; }

.booking-form-field input.shake { animation: widget-shake 0.35s ease; }

.booking-form-error {
  min-height: 20px;
  font-size: 13px;
  color: #8b1c1c;
  margin-bottom: 12px;
}

.booking-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

.booking-modal-note {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .booking-modal-card { padding: 28px 20px; }
}

/* ── DATE RANGE PICKER ───────────────────────────── */
.booking-dates {
  position: relative;
  flex: 2;
  min-width: 220px;
  cursor: pointer;
}

/* Remove the generic label styles for this field — it uses .date-label spans */
.booking-dates label { display: none; }

.date-display {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 2px;
  padding: 0;
  user-select: none;
  transition: border-color 0.15s;
  height: 44px;
}

.booking-dates.panel-open .date-display { border-color: var(--accent); }

.date-half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 6px 14px;
  flex: 1;
  min-width: 0;
  transition: background 0.15s;
}

.date-half.is-active { background: rgba(0, 66, 37, 0.04); }

.date-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}

.date-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.date-value {
  font-size: 13px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-value.placeholder { color: #bbb; }

/* Calendar panel */
.dp-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 300;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 16px 20px 14px;
  min-width: 580px;
}

.dp-panel.open { display: block; }

.dp-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dp-nav-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.dp-nav-btn:hover:not(:disabled) { background: var(--taupe); }
.dp-nav-btn:disabled { opacity: 0.3; cursor: default; }

.dp-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dp-month-title {
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
}

.dp-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 2px;
}

.dp-days-header span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  padding: 3px 0;
}

.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.dp-day {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  color: var(--text);
  z-index: 0;
}

.dp-day.empty { cursor: default; }

/* Past dates */
.dp-day.disabled {
  color: #ccc;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Airbnb-reserved dates visible in start phase */
.dp-day.is-booked {
  color: #e0b8b0;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Dates before check-in during checkout selection */
.dp-day.pre-start {
  color: #ccc;
  cursor: not-allowed;
}

/* Too close for minimum nights */
.dp-day.too-close {
  color: #ddd;
  cursor: not-allowed;
}

/* Dates that would cause an overlap with an existing reservation */
.dp-day.blocked-range {
  color: #e0b8b0;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* The changeover boundary — checkout IS allowed on this day, shown with a ring */
.dp-day.is-wall {
  color: var(--accent);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--accent);
  border-radius: 50%;
}

/* Today marker */
.dp-day.is-today { font-weight: 700; color: var(--accent); }

/* Range strip (behind the circles) */
.dp-day.in-range {
  background: rgba(0, 66, 37, 0.1);
}

/* Left-side strip for checkout endpoint, right-side for checkin */
.dp-day.is-checkin::after,
.dp-day.is-checkout::after,
.dp-day.is-hover-end::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: rgba(0, 66, 37, 0.1);
  z-index: -1;
}

.dp-day.is-checkin::after  { right: 0; }
.dp-day.is-checkout::after { left: 0; }
.dp-day.is-hover-end::after { left: 0; }

/* The filled circle for checkin / checkout */
.dp-day.is-checkin::before,
.dp-day.is-checkout::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--accent);
  border-radius: 50%;
  z-index: -1;
}

.dp-day.is-checkin,
.dp-day.is-checkout {
  color: var(--white);
}

/* Prospective checkout on hover */
.dp-day.is-hover-end::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(0, 66, 37, 0.55);
  border-radius: 50%;
  z-index: -1;
}

.dp-day.is-hover-end { color: var(--white); }

/* Normal day hover (not in any special state) */
.dp-day:not(.disabled):not(.pre-start):not(.too-close):not(.empty):not(.is-checkin):not(.is-checkout):not(.in-range):not(.is-hover-end):hover {
  background: var(--taupe);
  border-radius: 50%;
}

.dp-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #aaa;
  text-align: center;
  line-height: 1.4;
}

/* Date field validation
   Hidden by default; .visible class makes it appear.
   Desktop: absolute just below the date display, white-space:nowrap keeps it one line.
   Widget gets extra padding-bottom via .has-date-error so the text stays inside the box.
   Mobile:  also absolute but allowed to wrap; steppers are pushed down via margin-top. */
.date-error-msg {
  display: none;
}

.date-error-msg.visible {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
  line-height: 1.4;
  pointer-events: none;
  text-align: left;
  white-space: nowrap;
}

.booking-widget.has-date-error {
  padding-bottom: 56px;
}

.booking-dates.has-error .date-display {
  border-color: #c0392b;
}

@keyframes widget-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(2px); }
}

.date-display.shake { animation: widget-shake 0.35s ease; }

/* ── GUEST STEPPERS ──────────────────────────────── */
.booking-stepper-field {
  flex-direction: column;
  gap: 6px;
  min-width: 100px;
}

.booking-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
  height: 44px;
  overflow: hidden;
}

.stepper-btn {
  background: none;
  border: none;
  width: 38px;
  height: 100%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}

.stepper-btn:hover:not(:disabled) { background: var(--taupe); }
.stepper-btn:disabled { opacity: 0.3; cursor: default; }

.stepper-value {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  min-width: 28px;
}

/* Responsive: collapse calendar to 1 month on narrow screens */
@media (max-width: 680px) {
  .dp-panel { min-width: calc(100vw - 24px); left: 50%; transform: translateX(-50%); }
  .dp-months { grid-template-columns: 1fr; }
  .dp-months .dp-month:last-child { display: none; }
}

/* ── PRICE SUMMARY (booking widget) ─────────────────────── */
.price-summary {
  display: none;
  width: 100%;
  flex-basis: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text);
}

.price-summary.is-visible {
  display: block;
  animation: priceIn 0.22s ease forwards;
}

@keyframes priceIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

/* display:flex above would otherwise defeat the hidden attribute (used for the dog fee row) */
.price-summary-row[hidden],
.mpb-row[hidden] { display: none; }

.price-summary-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

.price-summary-total {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
}

/* ── MODAL PRICE BREAKDOWN ───────────────────────────────── */
.modal-price-breakdown {
  background: rgba(0, 66, 37, 0.04);
  border: 1px solid rgba(0, 66, 37, 0.12);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text);
}

.mpb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.mpb-divider {
  border: none;
  border-top: 1px solid rgba(0, 66, 37, 0.15);
  margin: 10px 0;
}

.mpb-total {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
}
