:root {
  --ink: #101d39;
  --forest: #12629c;
  --forest-deep: #0c3f70;
  --sand: #fff8e9;
  --paper: #fffdf9;
  --coral: #c99f48;
  --gold: #d3b45e;
  --gold-soft: #f0dda0;
  --muted: #596477;
  --line: rgba(16, 29, 57, .13);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 8px 20px rgba(17, 40, 73, .14);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: #fff; color: var(--ink); font-family: var(--sans); }
img { max-width: 100%; }
a { text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #d4ae43;
  outline-offset: 3px;
}
.topline { display: none; }
.site-header {
  position: absolute;
  z-index: 20;
  top: 28px;
  right: 3%;
  left: 3%;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 24px rgba(9,27,51,.12);
  backdrop-filter: none;
}
.nav-wrap { width: min(1160px, calc(100% - 42px)); min-height: 74px; }
.brand { gap: 8px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border: 2px solid #d5b657;
  border-radius: 50%;
  background: linear-gradient(145deg, #0d78b9, #113e79);
  color: #fff;
  font-style: italic;
  transform: none;
}
.brand-name { color: #123d77; font-size: 1.55rem; font-style: italic; line-height: 1; }
.brand-sub { margin-top: 1px; color: #684d1c; font-size: .59rem; letter-spacing: 0; text-transform: none; }
.nav-links { gap: clamp(14px, 2vw, 26px); }
.nav-links a { color: #101d39; font-size: .8rem; font-weight: 600; transition: color .2s ease; }
.nav-links a:hover { color: #9c7824; }
.nav-wrap > .button { min-height: 40px; padding-inline: 18px; font-size: .75rem; }
.button, .button-secondary, .button-dark {
  border-color: transparent;
  background: linear-gradient(110deg, #dbb74f, #1463a4);
  box-shadow: 0 3px 8px rgba(12,40,68,.22);
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button-dark:hover {
  background: linear-gradient(110deg, #c49a32, #0c4d83);
  box-shadow: 0 7px 16px rgba(12,40,68,.24);
  transform: translateY(-2px);
}
.button-outline { border-color: rgba(255,255,255,.7); background: transparent; box-shadow: none; color: white; }
.button-outline:hover { background: #fff; color: #0c3f70; }

.page-hero {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  overflow: hidden;
  padding: 138px 0 100px;
  background-color: #263b52;
  background-image: url('https://images.unsplash.com/photo-1535338454770-8be927b5a00b?auto=format&fit=crop&w=1800&q=88');
  background-position: center 53%;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}
.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(10,25,46,.66), rgba(11,31,53,.28) 72%), linear-gradient(0deg, rgba(9,31,55,.52), transparent 70%);
}
.page-hero::after {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: -66px;
  left: -5%;
  height: 126px;
  border-top: 8px solid #d8b653;
  border-radius: 48% 52% 0 0 / 32% 38% 0 0;
  background: linear-gradient(180deg, #176aa8 0%, #0e4d83 100%);
  content: '';
  transform: rotate(-2.5deg);
}
.page-hero > .container { position: relative; z-index: 2; width: min(1160px, calc(100% - 48px)); text-align: center; }
.page-hero .eyebrow { color: #f2d879; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { max-width: 900px; margin: 15px auto 10px; color: #fff; font-size: clamp(2.4rem, 4.7vw, 3.8rem); font-weight: 700; line-height: 1.04; letter-spacing: 0; text-shadow: 0 2px 15px rgba(0,0,0,.4); }
.page-hero .lead { max-width: 700px; margin: 0 auto 20px; color: #fff; text-align: center; font-size: .98rem; text-shadow: 0 1px 5px rgba(0,0,0,.55); }
.page-hero .button { min-height: 42px; }
.page-contact .page-hero { background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=88'); }
.page-excursions .page-hero { background-image: url('kenya-coast-background.jpg'); background-position: center 56%; }

.page-home .hero { min-height: 650px; background-color: #253e57; }
.page-home .hero::before { background: linear-gradient(90deg, rgba(10,25,46,.76), rgba(11,31,53,.38) 72%), linear-gradient(0deg, rgba(9,31,55,.48), transparent 70%); }
.page-home .hero::after {
  position: absolute;
  z-index: 0;
  right: -5%;
  bottom: -66px;
  left: -5%;
  height: 126px;
  border-top: 8px solid #d8b653;
  border-radius: 48% 52% 0 0 / 32% 38% 0 0;
  background: linear-gradient(180deg, #176aa8 0%, #0e4d83 100%);
  content: '';
  transform: rotate(-2.5deg);
}
.page-home .hero-content { z-index: 2; max-width: 800px; }
.page-home .hero h1 { max-width: 780px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: 0; }
.page-home .hero h1 em { display: block; max-width: 760px; color: #b7d8ed; }
.page-home .hero-copy { color: rgba(255,255,255,.92); }
.page-home .hero .eyebrow { color: #f2d879; }
.page-home .hero-stamp { border-color: rgba(255,255,255,.72); }
.page-home .hero-stamp strong { color: #f1d99e; }

.page-about .page-hero { min-height: 500px; }
.page-about .page-hero > .container.hero-layout { position: relative; z-index: 2; grid-template-columns: 1.1fr .9fr; text-align: left; }
.page-about .page-hero h1 { margin-left: 0; }
.page-about .page-hero .lead { margin-left: 0; text-align: left; }
.page-about .hero-card { padding: 0; border: 2px solid #d8b653; border-radius: 10px; background: transparent; box-shadow: 0 8px 22px rgba(9,27,51,.28); }
.page-about .hero-card img { height: 340px; border-radius: 8px; }

.section { position: relative; }
.feature-card, .package-card, .trip-card, .content-card, .info-card, .form-card, .stat-box {
  border-color: rgba(188,157,75,.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
  .feature-card:hover, .package-card:hover, .trip-card:hover, .content-card:hover, .info-card:hover, .stat-box:hover {
    box-shadow: 0 14px 30px rgba(17,40,73,.18);
    transform: translateY(-3px);
  }
}
.feature-card img, .package-card img { border-radius: 6px; }
.mini-tag { background: rgba(211,180,94,.2); color: #745a1b; }
.package-list li::before, .list li::before { color: #9c7c28; }
.footer-title { color: #f0d89d; }
footer { background: linear-gradient(180deg, #0b3156 0%, #082643 100%); }

@media (max-width: 720px) {
  .site-header { top: 12px; }
  .nav-wrap { width: calc(100% - 28px); }
  .nav-wrap > nav { order: 3; width: 100%; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  .page-hero { min-height: 400px; padding: 145px 0 94px; }
  .page-hero > .container { width: min(100% - 36px, 560px); }
  .page-hero h1 { font-size: clamp(2.1rem, 6vw, 3rem); }
  .page-home .hero { min-height: 610px; }
  .page-home .hero-content { padding: 145px 0 112px; }
  .page-home .hero h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  .page-home .hero-stamp { display: none; }
  .page-home .package-grid { grid-template-columns: 1fr; }
  .page-about .page-hero > .container.hero-layout { grid-template-columns: 1fr; gap: 20px; }
  .page-about .hero-card img { height: 220px; }
}

@media (max-width: 430px) {
  .nav-wrap { width: calc(100% - 24px); }
  .brand-name { font-size: 1.35rem; }
  .page-hero { min-height: 390px; padding-top: 150px; }
  .page-home .hero-content { padding-top: 150px; }
  .page-home .hero-actions .button { min-height: 44px; padding-inline: 15px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}