/* ============================================================
   Bonita Boat Rentals — homepage + page-hero styles
   ============================================================ */

/* ---------- Homepage hero ---------- */
.hero {
  position: relative; min-height: min(92svh, 860px);
  display: flex; align-items: center; overflow: hidden;
  background: var(--teal-ink);
}
.hero-media { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,63,58,.46) 0%, rgba(14,63,58,.18) 45%, rgba(251,245,235,.0) 78%),
              linear-gradient(0deg, rgba(14,63,58,.55) 0%, rgba(14,63,58,0) 40%);
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(90px, 14vw, 150px); }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; text-shadow: 0 3px 26px rgba(14,63,58,.45); }
.hero h1 .accent { color: #FFD9A0; }
.hero-sub { color: #F2FAF8; font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 560px; text-shadow: 0 2px 14px rgba(14,63,58,.5); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* Floating booking strip at hero bottom */
.book-strip {
  position: relative; z-index: 3; margin-top: clamp(-58px, -5vw, -44px);
}
.book-strip .inner {
  background: var(--shell); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3.4vw, 36px);
}
.book-strip .bs-item { display: flex; align-items: center; gap: 12px; }
.book-strip .bs-item svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.book-strip .bs-item b { display: block; font-family: var(--font-head); font-weight: 900; color: var(--teal-ink); font-size: 1.05rem; line-height: 1.2; }
.book-strip .bs-item span { font-size: .85rem; }
.book-strip .stars { color: var(--sun); letter-spacing: 1.5px; font-size: 1.0rem; }

/* ---------- Rates preview ---------- */
.rates-preview { align-items: stretch; }
.rates-copy { display: flex; flex-direction: column; justify-content: center; }
.rates-copy .perks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.rates-copy .perks li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.rates-copy .perks svg { width: 21px; height: 21px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Destination cards ---------- */
.dest-grid { grid-template-columns: repeat(3, 1fr); }
.dest-grid .photo-card:first-child { grid-row: span 2; }
.dest-grid .photo-card:first-child img { aspect-ratio: auto; flex: 1; min-height: 280px; }
.dest-grid--even { grid-template-columns: repeat(2, 1fr); }
.dest-grid--even .photo-card:first-child { grid-row: auto; }
.dest-grid--even .photo-card:first-child img { aspect-ratio: 4/3; flex: none; min-height: 0; }
@media (max-width: 760px) {
  .dest-grid, .dest-grid--even { grid-template-columns: 1fr; }
  .dest-grid .photo-card:first-child { grid-row: auto; }
  .dest-grid .photo-card:first-child img { aspect-ratio: 4/3; }
}

/* ---------- Family / story split ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.story-badge {
  position: absolute; left: -14px; bottom: 22px; background: var(--shell); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 14px 20px; display: flex; align-items: center; gap: 12px;
}
.story-badge b { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: var(--coral); line-height: 1; display: block; }
.story-badge span { font-size: .82rem; font-weight: 600; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-badge { left: 12px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--teal-ink); overflow: hidden;
  padding-block: clamp(70px, 10vw, 120px);
}
.page-hero .ph-media { position: absolute; inset: 0; opacity: .42; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,63,58,.25), rgba(14,63,58,.65)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: #DFF1ED; font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #9ECFC6; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: #fff; font-weight: 600; }
.crumbs svg { width: 14px; height: 14px; }

/* ---------- Table of contents (AEO) ---------- */
.toc { background: var(--shell); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px 26px; margin-bottom: clamp(30px, 4vw, 44px); }
.toc b { font-family: var(--font-head); font-weight: 900; color: var(--teal-ink); display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 36px; }
.toc li { padding: 3px 0; font-size: .96rem; }
@media (max-width: 680px) { .toc ol { columns: 1; } }

/* ---------- Prose content ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; scroll-margin-top: 110px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Map embed ---------- */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
