/* Integration fixes for the supplied Coast Bookings redesign. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { overflow-wrap: break-word; }
.hero-bg { background: none; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.destination-photo-credits summary { cursor: pointer; padding-block: 12px; font-weight: 700; }
.destination-photo-credits ul { padding-left: 20px; }
.footer a[href^="mailto:"] { overflow-wrap: anywhere; }
body.destination-mombasa .hero { background-image: linear-gradient(rgba(6,42,66,.78),rgba(6,42,66,.56)), url("assets/mombasa-old-town.webp"); }
body.destination-diani .hero { background-image: linear-gradient(rgba(6,42,66,.72),rgba(6,42,66,.4)), url("assets/diani-sunrise.webp"); }
body.school-destination .hero { background-image: linear-gradient(rgba(6,42,66,.78),rgba(6,42,66,.55)), url("assets/fort-jesus-courtyard.webp"); }
.destination-mombasa .hero h1, .destination-diani .hero h1, .school-destination .hero h1 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.12; margin-bottom: 20px; }
.destination-mombasa .hero p, .destination-diani .hero p, .school-destination .hero p { max-width: 660px; font-size: 18px; }
.photo-credit { max-width: 940px; margin: 0 auto; padding: 12px 20px; font-size: 12px; line-height: 1.6; color: #47586b; }
.photo-credit a, .photo-frame a { text-decoration: underline; text-underline-offset: 3px; }
.destination-story { background: #f5efe6; }
.destination-story h2 { font-size: clamp(26px, 3vw, 38px); color: #0a3d5c; margin-bottom: 16px; }
.destination-story .intro { color: #47586b; max-width: 720px; margin-bottom: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.photo-frame { margin: 0; min-width: 0; background: white; border-radius: 16px; overflow: hidden; border: 1px solid #e4e8eb; }
.photo-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.photo-frame figcaption { padding: 20px; color: #47586b; font-size: 14px; }
.photo-frame figcaption strong { display: block; color: #0a3d5c; margin-bottom: 8px; font-size: 18px; }
.photo-frame .attribution { display: block; margin-top: 12px; font-size: 12px; }
.photo-grid.single { grid-template-columns: 1fr; }
.photo-grid.single img { aspect-ratio: 16 / 8; }
.destination-note { color: #47586b; font-size: 14px; margin-top: 24px; }
.btn-primary, .btn, .badge { background-color: #ad4c36; }
.btn-outline { background-color: transparent; }
.eyebrow { color: #ffb6a3; }
.section-header .eyebrow { color: #126c6c; }
.floating-wa { color: #062a42; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #126c6c; outline-offset: 4px;
}
.hero a:focus-visible { outline-color: white; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; background: white; color: #0a3d5c; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; }
.reveal { opacity: 1; transform: none; }
.form-grid > *, .why-grid > *, .grid-3 > * { min-width: 0; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; font-size: 16px; }
.privacy-note { font-size: 13px; color: #5c6b7a; margin-top: 12px; }
.group-page-link { display: inline-block; color: #126c6c; font-weight: 700; margin-top: 12px; padding-block: 6px; }
@media (max-width: 768px) {
  body.destination-mombasa .hero { background-image: linear-gradient(rgba(6,42,66,.78),rgba(6,42,66,.56)), url("assets/mombasa-old-town-640.webp"); }
  body.destination-diani .hero { background-image: linear-gradient(rgba(6,42,66,.72),rgba(6,42,66,.4)), url("assets/diani-sunrise-640.webp"); }
  body.school-destination .hero { background-image: linear-gradient(rgba(6,42,66,.78),rgba(6,42,66,.55)), url("assets/fort-jesus-courtyard-640.webp"); }
  .nav { position: relative; padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .nav .logo { font-size: 18px; gap: 4px !important; }
  .nav .btn { padding: 10px 12px; font-size: 13px; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #0a3d5c; border-radius: 8px; background: white; color: #0a3d5c; font: inherit; }
  .nav-links { display: flex; width: 100%; gap: 8px; flex-wrap: wrap; }
  .js-nav .nav-links { display: none; }
  .js-nav .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px; }
  .hero-content { padding-top: 160px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .section { padding: 56px 18px; }
  .quote-box { padding: 24px 18px; }
  .grid-3, .why-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid.single img { aspect-ratio: 4 / 3; }
  .floating-wa { width: 48px; height: 48px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
