/* Home page sections below the tour catalogue. */
.packages, .experience-gallery, .why-us, .booking, .site-footer {
  --section-ink: #123f4a;
  --section-gold: #e9bb70;
  --section-paper: #f8f4ea;
  padding: clamp(42px, 7vw, 94px) clamp(16px, 5vw, 64px);
}

.lower-kicker {
  display: block;
  margin-bottom: 10px;
  color: #75521f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.packages { background: var(--section-paper); }
.packages .container, .why-us .container, .gallery-container, .booking-layout,
.footer-main, .footer-legal { width: min(100%, 1100px); margin-inline: auto; }

.package-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--section-ink);
  color: #fff;
}

.package-intro-copy { padding: clamp(26px, 5vw, 64px); align-self: center; }
.package-intro .lower-kicker, .booking-intro .lower-kicker { color: #f2ca85; }
.package-intro :is(h1, h2), .booking-intro :is(h1, h2) {
  margin: 0 0 16px;
  color: #fff;
  text-align: left;
  font: 700 clamp(32px, 4.5vw, 56px)/1.06 Georgia, serif;
}

.package-intro-copy p, .booking-intro p {
  max-width: 43ch;
  margin: 0 0 20px;
  color: #e2ebea;
  line-height: 1.65;
}

.lower-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #e9bb7080;
  border-radius: 8px;
  color: #ffe3aa;
  font-weight: 700;
  text-decoration: none;
}
.lower-inline-link:hover { background: #ffffff14; }

.package-intro-photo, .booking-photo { position: relative; margin: 0; min-width: 0; }
.package-intro-photo img, .booking-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.package-intro-photo img { position: absolute; inset: 0; object-position: 64% center; }
.package-intro-photo figcaption, .booking-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #12333bed;
  color: #fff;
  font-size: 11px;
}

.package-savings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 14px 28px;
  margin: 18px 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #e6dac1;
  border-radius: 18px;
  background: #f0e6d0;
  color: var(--section-ink);
}
.package-savings h3 { margin: 0 0 5px; font: 700 clamp(19px, 2.4vw, 25px)/1.15 Georgia, serif; }
.package-savings p { margin: 0; color: #40555a; font-size: 13px; line-height: 1.45; }
.package-savings dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0; }
.package-savings dl div { padding: 8px 3px; border-radius: 8px; background: #fff9ec; text-align: center; }
.package-savings dt { font-size: 11px; font-weight: 700; }
.package-savings dd { margin: 3px 0 0; font: 700 clamp(21px, 3vw, 29px)/1 Georgia, serif; }

#packageBuilder { padding: clamp(16px, 4vw, 38px); border-color: #e4ded0; scroll-margin-top: 16px; }
#packageBuilder .package-builder-heading { margin-bottom: 14px; }
#packageBuilder .package-builder-heading h3 { margin: 0 0 8px; font-size: clamp(23px, 3.3vw, 34px); }
.package-builder-heading p { margin: 0; color: #435e63; line-height: 1.55; }
#packageTours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
#packageBuilder .package-tour {
  min-width: 0;
  margin: 0;
  padding: clamp(13px, 2.5vw, 23px);
  border: 1px solid #dbe4df;
  border-top: 3px solid #cba365;
  background: #f6f8f5;
}
#packageBuilder .package-tour h4 { margin: 0 0 6px; font-size: 17px; }
#packageBuilder label, #bookingForm label { margin-top: 12px; font-size: 13px; }
#packageBuilder select, #packageBuilder input, #packageBuilder textarea, #bookingForm select, #bookingForm input, #bookingForm textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  font-size: 16px;
}
#addPackageTour { margin: 14px 0 10px; font-size: 14px; }
#packageSummary { padding: clamp(13px, 2.4vw, 22px); margin: 14px 0; }
#requestPackageButton, #bookingForm button { min-height: 48px; margin-top: 8px; }
#packageBookingError:empty, #bookingCapacityMessage:empty { display: none; }

.experience-gallery { background: #fff; text-align: left; }
.guest-gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 10px; }
.guest-gallery-heading h2, .why-us h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); text-align: left; }
.guest-gallery-heading p { margin: 0; color: #435e63; line-height: 1.5; }
.guest-gallery-heading .gallery-controls { margin: 0; gap: 8px; flex-shrink: 0; }
.experience-gallery .gallery-arrow { width: 44px; height: 44px; font-size: 16px; }
.gallery-slider { gap: 12px; padding-bottom: 14px; }
.gallery-slider img { width: min(74vw, 310px); height: auto; aspect-ratio: 4 / 5; object-position: center 42%; }

.why-us { background: #eaf1ed; text-align: left; }
.why-us h2 { margin-bottom: 25px; }
.why-us-grid { gap: 12px; }
.why-us .why-us-item { padding: clamp(17px, 3vw, 28px); box-shadow: none; border: 1px solid #dbe4df; }
.why-us-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4e6ca;
  color: #634218;
  font-weight: 700;
  font-size: 12px;
}
.why-us-item h3 { margin: 13px 0 7px; }
.why-us-item p { margin: 0; color: #435e63; }

.booking { background: #123f4a; text-align: left; }
.booking-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(24px, 5vw, 72px); }
.booking-photo { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; }
.booking #bookingForm { width: 100%; max-width: none; margin: 0; padding: clamp(18px, 4vw, 36px); }
#bookingForm h3 { margin: 0 0 12px; color: var(--section-ink); font: 700 clamp(22px, 2.5vw, 30px)/1.15 Georgia, serif; }
.booking-field-pair { display: grid; gap: 0; }
.booking-field-pair > div { min-width: 0; }
#bookingForm .booking-field-pair :is(input, select) { height: 48px; padding-block: 0; }
#bookingForm input[type="date"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
#bookingPrice { margin: 14px 0; padding: 12px; border-radius: 8px; background: #eef4f0; font-size: 14px; line-height: 1.45; }
#bookingForm .booking-note { margin: 12px 0 0; color: #40555a; opacity: 1; }

.site-footer { padding-block: 32px 18px; background: #102f37; color: #dce7e5; text-align: left; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; }
.footer-brand { color: #f2ca85; font: 700 27px/1.1 Georgia, serif; text-decoration: none; }
.footer-main p { margin: 9px 0 0; line-height: 1.5; font-size: 14px; }
.footer-main nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13px; }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { margin-top: 24px; padding-top: 15px; border-top: 1px solid #ffffff32; }
.footer-legal a { color: inherit; }
.footer-main nav a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .package-intro, .package-savings, .booking-layout, #packageTours { grid-template-columns: minmax(0, 1fr); }
  .package-intro-photo { height: clamp(145px, 44vw, 260px); }
  .booking-photo { aspect-ratio: 2.6; }
  .guest-gallery-heading { align-items: start; flex-direction: column; }
  .footer-main { align-items: start; flex-direction: column; }
}

@media (min-width: 880px) {
  .booking-field-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}

@media (max-width: 600px) {
  .site-header .main-nav { gap: clamp(6px, 2vw, 12px); }
  .site-header .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: clamp(12px, 3.15vw, 14px);
    white-space: nowrap;
  }
  .site-header .main-nav .nav-book { padding-inline: 10px; }
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 51vw, 720px);
  overflow: hidden;
  background: #173842;
}

.home-hero-photo, .home-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-hero-photo { z-index: -2; object-fit: cover; object-position: center 55%; }
.home-hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #102934fa 0%, #102934e8 29%, #10293499 53%, #1029340a 82%),
    linear-gradient(0deg, #10293470, transparent 28%);
}
.home-hero .hero-content { width: min(100%, 650px); }
.home-hero-dock {
  position: absolute;
  right: clamp(16px, 8vw, 120px);
  bottom: 24px;
  display: grid;
  justify-items: end;
  gap: 7px;
}

.home-hero-location {
  max-width: 100%;
  border-left: 2px solid #f2ca85;
  padding: 5px 10px;
  background: #102934e8;
  color: #fff4df;
  font-size: 13px;
  letter-spacing: .04em;
}

.home-hero-count {
  padding: 5px 10px;
  border: 1px solid #f2ca8573;
  border-radius: 6px;
  background: #102934eb;
  color: #f2ca85;
  font: 600 12px/1.2 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .home-hero .home-hero-dock {
    right: auto;
    left: clamp(16px, 6vw, 42px);
    bottom: 16px;
    justify-items: start;
    gap: 4px;
  }
}
.home-hero .lower-kicker { color: #f6d598; }
.home-hero h1 { font: 700 clamp(39px, 5.4vw, 70px)/1.04 Georgia, serif; letter-spacing: -.025em; text-wrap: balance; }
.home-hero p { max-width: 43ch; margin: 0; color: #f3f7f5; font-size: clamp(16px, 1.8vw, 20px); }
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
  color: #fff4df;
  font-size: 13px;
  font-weight: 700;
}
.hero-highlights li::before { content: "•"; margin-right: 7px; color: #f2ca85; }

.about-section { padding: clamp(42px, 7vw, 88px) clamp(16px, 5vw, 64px); background: #eaf1ed; }
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 5vw, 66px);
  max-width: 1100px;
  margin-inline: auto;
}
.about-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #123f4a; }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.about-photo figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #12333bed;
  color: #fff;
  font-size: 11px;
}
.about-copy :is(h1, h2) { margin: 0 0 13px; text-align: left; color: #123f4a; font: 700 clamp(29px, 4vw, 47px)/1.12 Georgia, serif; }
.about-copy p { margin: 0 0 14px; color: #40555a; line-height: 1.65; }
.about-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: #123f4a; font-weight: 700; }

/* Keep the native iOS date picker, while the wrapper defines the visible field. */
#bookingForm .date-control, #packageBuilder .date-control {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #cbd7d4;
  border-radius: 9px;
  background: #fff;
}
#bookingForm .date-control:focus-within, #packageBuilder .date-control:focus-within {
  outline: 2px solid #d9b66f;
  outline-offset: 1px;
}
#bookingForm .date-control input[type="date"], #packageBuilder .date-control input[type="date"] {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 46px;
  padding: 0 12px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 16px;
}
#bookingForm .date-control input::-webkit-date-and-time-value,
#packageBuilder .date-control input::-webkit-date-and-time-value {
  min-width: 0;
  margin: 0;
  text-align: left;
}

@media (max-width: 720px) {
  .home-hero {
    min-height: 420px;
    align-items: end;
    padding: 90px clamp(16px, 6vw, 42px) 94px;
  }
  .home-hero-photo { object-position: 65% center; }
  .home-hero::after {
    background: linear-gradient(0deg, #102934 0%, #102934ef 42%, #102934ac 68%, #1029340d 100%);
  }
  .hero-highlights { gap: 7px 12px; }
  .about-layout { grid-template-columns: minmax(0, 1fr); }
  .about-photo { aspect-ratio: 16 / 11; }
  .about-copy { grid-row: 1; }
}
