:root {
  --color-background: #f7f9fa;
  --color-surface: #ffffff;
  --color-surface-soft: #eef4f7;
  --color-surface-muted: #f2f6f8;
  --color-primary: #002e45;
  --color-primary-dark: #001e30;
  --color-primary-ink: #002e45;
  --color-secondary: #f6921e;
  --color-accent: #ca362d;
  --color-text: #0e2a3c;
  --color-text-muted: #5b7480;
  --color-border: rgba(0, 46, 69, 0.12);
  --shadow-card: 0 28px 60px rgba(0, 32, 48, 0.08);
  --shadow-soft: 0 16px 40px rgba(0, 38, 56, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 32px));
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-block-start: 132px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(0, 46, 69, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(246, 146, 30, 0.08), transparent 26%),
    var(--color-background);
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(246, 146, 30, 0.28);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  display: grid;
  gap: 72px;
  padding-bottom: 72px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.surface-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-topbar {
  background: #002e45;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.site-topbar svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.site-topbar__contact,
.site-topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-topbar a,
.site-topbar__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-topbar a {
  transition: color 150ms ease;
}

.site-topbar__inner,
.site-nav__inner,
.footer-top,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-topbar__inner {
  min-height: 42px;
}

.inline-list,
.site-nav__menu,
.hero-tabs,
.section-chips,
.feature-list,
.trust-list,
.footer-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.inline-list {
  color: rgba(255, 255, 255, 0.76);
}

.inline-list strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-inline-list {
  color: var(--color-text-muted);
}

.footer-inline-list strong {
  color: var(--color-primary-ink);
}

.social-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-list a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 150ms ease, background-color 150ms ease;
}

.social-list svg {
  width: 14px;
  height: 14px;
}

.site-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 46, 69, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav__inner {
  min-height: 78px;
  gap: 28px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
}

.brand-pill__logo {
  display: block;
  height: 46px;
  width: auto;
}

.reason-icon,
.footer-icon,
.plan-badge,
.feature-bullet {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
}

.site-footer .brand-pill {
  padding: 10px 16px;
  border-radius: 16px;
  background: #ffffff;
}

.site-footer .brand-pill__logo {
  height: 40px;
}

.site-nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2px;
}

.site-nav__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-ink);
  transition: color 150ms ease;
}

.site-nav__menu a::after {
  content: '';
  position: absolute;
  inset: auto 13px 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms cubic-bezier(0.2, 0, 0, 1);
}

.site-nav__menu a.is-active {
  color: var(--color-primary);
}

.site-nav__menu a.is-active::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .site-nav__menu a:hover {
    color: var(--color-primary);
  }

  .site-nav__menu a:hover::after {
    transform: scaleX(1);
  }

  .site-topbar a:hover,
  .social-list a:hover {
    color: #ffffff;
  }

  .social-list a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-call:hover svg {
    background: rgba(0, 46, 69, 0.18);
  }
}

.site-nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-call svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(0, 46, 69, 0.1);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background-color 150ms ease;
}

.nav-call__text {
  display: grid;
  gap: 1px;
}

.nav-call__text small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav-call__text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cta-button--sm {
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--color-primary-ink);
}

.nav-toggle svg {
  position: absolute;
  width: 22px;
  height: 22px;
  transition:
    opacity 300ms cubic-bezier(0.2, 0, 0, 1),
    transform 300ms cubic-bezier(0.2, 0, 0, 1),
    filter 300ms cubic-bezier(0.2, 0, 0, 1);
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}

.nav-toggle[aria-expanded="true"] .icon-close {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.hero {
  position: relative;
}

.hero__backdrop {
  position: relative;
  min-height: 560px;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 17, 35, 0.22), rgba(3, 17, 35, 0.58)),
    radial-gradient(circle at 16% 18%, rgba(98, 182, 223, 0.44), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(255, 204, 107, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(240, 247, 249, 0.18) 0 47%, rgba(143, 169, 170, 0.14) 47% 58%, rgba(112, 117, 104, 0.32) 58% 62%, rgba(150, 129, 106, 0.46) 62% 100%),
    linear-gradient(135deg, #87c7d6 0%, #7db4c0 18%, #4d8d98 42%, #91765d 72%, #d9b79d 100%);
}

.hero__backdrop::before,
.hero__backdrop::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 999px;
  opacity: 0.18;
}

.hero__backdrop::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 70%);
}

.hero__backdrop::after {
  width: 480px;
  height: 240px;
  left: -110px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 108px 0 210px;
  color: #ffffff;
  text-align: center;
}

.hero__eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow {
  background: rgba(255, 255, 255, 0.12);
}

.hero h1,
.section-heading h2,
.split-copy h2 {
  margin: 16px 0;
}

.hero h1 {
  font-size: clamp(3.2rem, 7.5vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.cta-button,
.outline-button,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  text-box: trim-both cap alphabetic;
  transition: transform 150ms ease-out, box-shadow 150ms ease;
}

@media (hover: hover) {
  .cta-button:hover,
  .outline-button:hover,
  .gold-button:hover {
    transform: translateY(-1px);
  }
}

.cta-button:not(:disabled):active,
.outline-button:not(:disabled):active,
.gold-button:not(:disabled):active {
  transform: scale(0.96);
}

.cta-button {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(202, 54, 45, 0.32);
}

.outline-button {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1px solid rgba(0, 46, 69, 0.22);
}

.gold-button {
  background: var(--color-secondary);
  color: #002e45;
}

.hero-search {
  width: var(--container);
  margin: -142px auto 0;
  padding: 0;
  position: relative;
  z-index: 5;
}

.hero-search__panel {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-tabs a,
.hero-tabs button {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
  color: var(--color-primary-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease-out;
}

.hero-tabs svg {
  width: 20px;
  height: 20px;
  flex: none;
}

@media (hover: hover) {
  .hero-tabs button:not(.is-active):hover {
    background: var(--color-surface-soft);
  }
}

.hero-tabs button:active {
  transform: scale(0.98);
}

.hero-tabs a.is-active,
.hero-tabs button.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 46, 69, 0.28);
}

.search-form {
  display: grid;
  gap: 18px;
}

.search-form[hidden] {
  display: none;
}

.hero-search__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: end;
}

.hero-search__grid > * {
  min-width: 0;
}

.hero-search__grid--taxi > :nth-child(-n + 4) {
  grid-column: span 3;
}

.hero-search__grid--taxi > :nth-child(5),
.hero-search__grid--taxi > :nth-child(6) {
  grid-column: span 3;
}

.hero-search__grid--taxi > :nth-child(7) {
  grid-column: span 6;
}

.hero-search__grid--tour > :nth-child(1) {
  grid-column: span 5;
}

.hero-search__grid--tour > :nth-child(2) {
  grid-column: span 2;
}

.hero-search__grid--tour > :nth-child(3) {
  grid-column: span 3;
}

.hero-search__grid--tour > :nth-child(4) {
  grid-column: span 2;
}

.hero-search__grid--safari > :nth-child(1),
.hero-search__grid--safari > :nth-child(2) {
  grid-column: span 4;
}

.hero-search__grid--safari > :nth-child(3) {
  grid-column: span 2;
}

.hero-search__grid--safari > :nth-child(4) {
  grid-column: span 2;
}

.hero-search__grid--safari > :nth-child(5) {
  grid-column: 1 / -1;
}

.hero-search__grid--safari > :nth-child(5) .gold-button {
  width: 100%;
}

.field__control {
  position: relative;
  display: block;
}

.field__control > svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  color: var(--color-primary);
  pointer-events: none;
}

.field .field__control input,
.field .field__control select {
  padding-left: 46px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.field .field__control select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002e45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}

.field__control input.picker-input {
  cursor: pointer;
}

.field__control input::placeholder {
  color: var(--color-text-muted);
  font-weight: 500;
}

.field__control input[type="number"] {
  appearance: textfield;
}

.field__control input[type="number"]::-webkit-inner-spin-button {
  opacity: 0.5;
}

.flatpickr-calendar {
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 8px;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
  display: none;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
.flatpickr-weekday {
  color: var(--color-primary-ink);
  fill: var(--color-primary-ink);
  font-weight: 700;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--color-primary-ink);
  fill: var(--color-primary-ink);
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--color-secondary);
}

.flatpickr-day {
  border-radius: 12px;
  color: var(--color-text);
  font-weight: 500;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background: var(--color-surface-soft);
  border-color: var(--color-surface-soft);
}

.flatpickr-day.today {
  border-color: var(--color-secondary);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: rgba(14, 42, 60, 0.25);
}

.flatpickr-time {
  border-top-color: var(--color-border);
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
  color: var(--color-primary-ink);
  font-weight: 700;
  border-radius: 10px;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: var(--color-surface-soft);
}

.flatpickr-calendar.noCalendar {
  width: 220px;
}

.field,
.field textarea {
  width: 100%;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 46, 69, 0.13);
  background: #ffffff;
  color: var(--color-text);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 150px;
  padding: 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 46, 69, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 46, 69, 0.12);
}

.hero-search__actions {
  display: grid;
}

.hero-search__actions .gold-button {
  width: 100%;
  min-height: 56px;
  white-space: nowrap;
}

.gold-button svg {
  width: 18px;
  height: 18px;
}

.hero-search__toggle {
  display: flex;
  justify-content: flex-start;
}

.check-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 46, 69, 0.08);
  background: rgba(0, 46, 69, 0.06);
  color: var(--color-primary-ink);
  font-weight: 600;
}

.check-toggle input {
  accent-color: var(--color-primary);
}

.plan-panel {
  padding: 36px;
  background: linear-gradient(135deg, rgba(237, 248, 245, 0.96), rgba(243, 250, 248, 0.98));
}

.plan-panel__header,
.split-layout,
.about-grid,
.trust-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.plan-panel__header {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.plan-badge {
  width: auto;
  height: auto;
  white-space: nowrap;
}

.plan-badge,
.quick-reply {
  background: rgba(0, 46, 69, 0.1);
  color: var(--color-primary-dark);
}

.quick-reply {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.quick-reply::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #65d679;
  box-shadow: 0 0 0 6px rgba(101, 214, 121, 0.16);
}

.plan-panel h2,
.section-heading h2,
.split-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.plan-panel p,
.section-heading p,
.split-copy p,
.footer-col p,
.footer-col li,
.trust-list p,
.feature-strip p,
.about-copy p,
.tour-card p {
  color: var(--color-text-muted);
  line-height: 1.72;
}

.plan-form {
  display: grid;
  gap: 20px;
}

.plan-form__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: start;
}

.plan-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  min-height: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-ink);
}

.message-card {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
  font-weight: 600;
}

.message-card--success {
  background: rgba(8, 125, 68, 0.1);
  color: #087d44;
  border: 1px solid rgba(8, 125, 68, 0.18);
}

.message-card--error {
  background: rgba(204, 46, 46, 0.09);
  color: #9b1f1f;
  border: 1px solid rgba(204, 46, 46, 0.18);
}

.validation-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.section-heading {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.section-heading--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.section-heading strong,
.split-copy h2 .accent {
  color: var(--color-accent);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tour-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 46, 69, 0.08);
  box-shadow: 0 10px 30px rgba(0, 38, 56, 0.06);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.tour-card__link {
  color: inherit;
  text-decoration: none;
}

.tour-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tour-card:has(.tour-card__link:focus-visible) {
  outline: 3px solid rgba(0, 46, 69, 0.35);
  outline-offset: 2px;
}

@media (hover: hover) {
  .tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
  }
}

.tour-card__media {
  min-height: 224px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.tour-card__media--stone-town-tour {
  background: linear-gradient(135deg, #1b4b5a, #7aa8b8 55%, #c4b89d 100%);
}

.tour-card__media--safari-blue {
  background: linear-gradient(135deg, #0c7a92, #37c2d4 50%, #d8f1f4 100%);
}

.tour-card__media--spice-farm-tour {
  background: linear-gradient(135deg, #176857, #4ba677 52%, #d4b35e 100%);
}

.tour-card__media--mnemba-island-escape {
  background: linear-gradient(135deg, #1487a7, #63d1ea 55%, #91f0ee 100%);
}

.tour-card__media--dolphin-kizimkazi {
  background: linear-gradient(135deg, #145770, #0a9bc4 55%, #7ad0ea 100%);
}

.tour-card__media--jozani-forest-safari {
  background: linear-gradient(135deg, #335f34, #5e9f5e 55%, #9cd3a0 100%);
}

.tour-card__media--sunset-dhow-cruise {
  background: linear-gradient(135deg, #794331, #cf6e45 48%, #f5b76e 100%);
}

.tour-card__media--zanzibar-airport-transfer {
  background: linear-gradient(135deg, #1f5f90, #68b5d4 52%, #ecf9ff 100%);
}

.tour-card__badges {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tour-card__badge {
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tour-card__badge--ghost {
  background: rgba(0, 46, 69, 0.55);
  backdrop-filter: blur(6px);
}

.tour-card__rating {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 32, 48, 0.14);
}

.tour-card__stars {
  color: var(--color-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.tour-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tour-card__body h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tour-card__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.tour-card__stats,
.tour-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-card__stats {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.tour-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tour-card__stats svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.tour-card__price-row {
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.tour-card__price-prefix {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.tour-card__price-row strong {
  display: inline-block;
  margin: 0 4px;
  color: var(--color-accent);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.tour-card__wishlist {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-accent);
  flex-shrink: 0;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease-out;
}

.tour-card__wishlist svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) {
  .tour-card__wishlist:hover {
    border-color: rgba(202, 54, 45, 0.4);
    background: rgba(202, 54, 45, 0.06);
  }
}

.tour-card__wishlist:not(:disabled):active {
  transform: scale(0.96);
}

.center-actions {
  display: flex;
  justify-content: center;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.trust-grid {
  grid-template-columns: 0.92fr 1.18fr 0.9fr;
  align-items: center;
}

.about-collage {
  position: relative;
  min-height: 640px;
}

.about-collage__main,
.about-collage__float,
.about-collage__label {
  position: absolute;
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.about-collage__main {
  inset: 0 90px 120px 0;
  background: linear-gradient(135deg, #3f7dd2, #7eb9f7 52%, #eef9ff 100%);
}

.about-collage__float {
  width: min(48vw, 320px);
  height: 310px;
  right: 20px;
  bottom: 50px;
  border: 10px solid #ffffff;
  background: linear-gradient(135deg, #00b0f3, #5ee0f3 54%, #f2fffd 100%);
}

.about-collage__label {
  left: 26px;
  bottom: 18px;
  min-width: 226px;
  padding: 24px 26px;
  background: #002e45;
  color: #ffffff;
}

.about-collage__label strong {
  display: block;
  font-size: 1.7rem;
}

.about-copy {
  display: grid;
  gap: 22px;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-card,
.reason-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0, 46, 69, 0.08);
  box-shadow: var(--shadow-soft);
}

.feature-bullet,
.reason-icon {
  background: rgba(0, 46, 69, 0.12);
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-card strong,
.reason-card strong,
.footer-contact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.section-safari {
  padding: 32px;
}

.section-chips {
  gap: 10px;
}

.section-chips span {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 46, 69, 0.08);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.trust-list {
  display: grid;
  gap: 20px;
}

.trust-copy {
  display: grid;
  gap: 18px;
}

.trust-spotlight {
  display: flex;
  justify-content: center;
}

.trust-spotlight__frame {
  position: relative;
  width: min(100%, 470px);
  padding: 18px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(0, 46, 69, 0.16), rgba(246, 146, 30, 0.16));
  border: 1px solid rgba(0, 46, 69, 0.06);
  box-shadow: var(--shadow-card);
}

.trust-spotlight__image {
  min-height: 430px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(4, 20, 33, 0.04), rgba(4, 20, 33, 0.34)),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.82), transparent 22%),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.32), transparent 20%),
    linear-gradient(180deg, rgba(72, 160, 199, 0.36) 0 22%, rgba(55, 154, 157, 0.42) 22% 43%, rgba(34, 117, 103, 0.58) 43% 67%, rgba(26, 86, 87, 0.78) 67% 100%),
    linear-gradient(135deg, #8ed4d3 0%, #58b6ad 25%, #2f826d 54%, #205d63 100%);
  position: relative;
  overflow: hidden;
}

.trust-spotlight__image::before,
.trust-spotlight__image::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.trust-spotlight__image::before {
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 68%);
}

.trust-spotlight__image::after {
  width: 160px;
  height: 160px;
  left: -34px;
  top: 96px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
}

.trust-spotlight__caption {
  position: absolute;
  inset: auto 36px 32px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(4, 20, 33, 0.1);
}

.trust-spotlight__caption strong {
  display: block;
  font-size: 1.4rem;
  color: var(--color-primary-ink);
}

.trust-spotlight__caption span {
  color: var(--color-text-muted);
  font-weight: 600;
}

.reason-card {
  align-items: flex-start;
}

.reason-card + .reason-card {
  border-top: 1px solid rgba(0, 46, 69, 0.04);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-ink);
  font-weight: 600;
}

.check-list li::before {
  content: '✓';
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  flex-shrink: 0;
}

.site-footer {
  background: #002e45;
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0 18px;
}

.footer-top {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 0 8px;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.12rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-mini {
  justify-content: center;
  padding-top: 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-call {
    display: none;
  }

  .site-nav__menu-wrap {
    position: absolute;
    inset: 100% 0 auto;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 200ms ease-out,
      transform 200ms ease-out,
      visibility 200ms ease-out;
  }

  .site-nav__menu-wrap.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__menu {
    width: var(--container);
    margin: 0 auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__menu a {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
  }

  .site-nav__menu a::after {
    display: none;
  }

  .site-nav__menu a.is-active {
    background: rgba(0, 46, 69, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__menu-wrap {
    transition: opacity 200ms ease-out, visibility 200ms ease-out;
    transform: none;
  }

  .nav-toggle svg {
    transition: opacity 200ms ease-out;
  }
}

@media (max-width: 720px) {
  .site-topbar__location,
  .social-list {
    display: none;
  }

  .site-topbar__inner {
    min-height: 38px;
  }
}

@media (max-width: 480px) {
  .site-nav__actions .cta-button {
    display: none;
  }
}

@media (max-width: 1180px) {
  .hero-search .hero-search__grid > :nth-child(n) {
    grid-column: auto;
  }

  .hero-search .hero-search__grid > .hero-search__actions {
    grid-column: 1 / -1;
  }

  .hero-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search__grid,
  .tour-grid,
  .plan-form__grid,
  .feature-strip,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading--row,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero-tabs,
  .hero-search__grid,
  .tour-grid,
  .plan-form__grid,
  .feature-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 80px 0 196px;
  }

  .about-collage {
    min-height: 480px;
  }

  .about-collage__main {
    inset: 0 40px 110px 0;
  }

  .about-collage__float {
    width: 220px;
    height: 220px;
  }

  .plan-panel__header,
  .plan-form__actions,
  .tour-card__stats,
  .tour-card__price-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-spotlight {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  main {
    gap: 48px;
  }

  .hero__content {
    padding-top: 70px;
  }

  .hero-search {
    margin-top: -140px;
  }

  .hero-search__panel {
    padding: 18px;
  }

  .plan-panel,
  .section-safari {
    padding: 22px;
  }

  .surface-card {
    border-radius: 24px;
  }

  .hero__backdrop {
    border-radius: 0 0 24px 24px;
  }
}

/* Tours listing & detail */

.page-hero {
  padding-block: 40px 8px;
}

.page-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.page-hero p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 60ch;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.page-hero__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.page-hero__rating .tour-card__stars {
  font-size: 0.8rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 8px 26px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-primary-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.filter-pill__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
  .filter-pill:hover {
    border-color: rgba(0, 46, 69, 0.35);
  }
}

.filter-pill.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.filter-pill.is-active .filter-pill__count {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pagination__item {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-primary-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

@media (hover: hover) {
  a.pagination__item:hover {
    border-color: rgba(0, 46, 69, 0.35);
  }
}

.pagination__item.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.pagination__item.is-disabled {
  opacity: 0.45;
}

.tour-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.tour-detail__main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.tour-detail__media {
  min-height: 340px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.tour-detail__section h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tour-detail__section p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.tour-detail__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.tour-detail__fact {
  display: grid;
  gap: 4px;
}

.tour-detail__fact span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tour-detail__fact strong {
  font-size: 0.95rem;
  color: var(--color-primary-ink);
}

.tour-detail__sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  inset-block-start: 148px;
}

.booking-card {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.booking-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--color-border);
}

.booking-card__price span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.booking-card__price strong {
  color: var(--color-accent);
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}

.booking-card .plan-form {
  display: grid;
  gap: 14px;
}

.booking-card .message-card {
  margin-bottom: 0;
}

.booking-card__submit {
  width: 100%;
  justify-content: center;
}

.field__hint {
  color: var(--color-text-muted);
  font-weight: 500;
}

.booking-help {
  padding: 18px 20px;
}

.booking-help p {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.booking-help a {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .tour-detail {
    grid-template-columns: 1fr;
  }

  .tour-detail__sidebar {
    position: static;
  }

  .tour-detail__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tour-detail__media {
    min-height: 220px;
  }
}

.center-actions {
  margin-top: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.contact-card > svg {
  width: 46px;
  height: 46px;
  padding: 12px;
  flex: none;
  border-radius: 999px;
  background: rgba(0, 46, 69, 0.07);
  color: var(--color-primary);
}

.contact-card > div {
  display: grid;
  gap: 2px;
}

.contact-card strong {
  color: var(--color-primary-ink);
}

.contact-card span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid .plan-form__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid .plan-form__grid > :last-child {
  grid-column: 1 / -1;
}

.reviews-section {
  padding: 36px;
}

.review-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-primary-ink);
  white-space: nowrap;
}

.review-badge__score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-badge__brand {
  color: #34a853;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.review-card {
  margin: 0;
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
}

.review-card blockquote {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.review-card figcaption {
  font-weight: 700;
  color: var(--color-primary-ink);
}

@media (max-width: 1180px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .reviews-section {
    padding: 22px;
  }
}
