:root {
  --ink: #153042;
  --ink-soft: #526a78;
  --navy: #0c405d;
  --blue: #0f7397;
  --teal: #19a6a0;
  --sky: #dff4fa;
  --sand: #f6efe4;
  --coral: #e97855;
  --white: #ffffff;
  --line: #d9e5e9;
  --surface: #f7fafb;
  --shadow: 0 18px 50px rgba(15, 67, 87, 0.12);
  --shadow-small: 0 10px 30px rgba(15, 67, 87, 0.1);
  --radius: 24px;
  --radius-small: 14px;
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow-y: auto;
}

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

img {
  height: auto;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffbd6a;
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
}

h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.3;
}

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section-soft {
  background: var(--surface);
}

.section-sand {
  background: var(--sand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: '';
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head > div {
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p,
.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  background: #d96340;
  box-shadow: 0 10px 24px rgba(214, 92, 57, 0.24);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.text-link::after {
  content: '→';
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

/* Shared header */
.top-strip {
  background: var(--navy);
  color: #dff3f7;
  font-size: 0.78rem;
}

.top-strip .container {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-strip p {
  margin: 0;
}

.top-strip a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(19, 72, 91, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.main-nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
  font-size: 1.2rem;
  transform: rotate(-12deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 26px);
}

.nav-links a {
  position: relative;
  padding-block: 10px;
  color: #2f4b5a;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  content: '';
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
}

/* Hero treatments */
.hero-home {
  position: relative;
  display: grid;
  min-height: min(820px, calc(100vh - 114px));
  align-items: center;
  isolation: isolate;
  background: url('../images/hero-coast-safari.png') center / cover no-repeat;
  color: white;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 7s ease-out;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.055);
}

.hero-home::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 37, 54, 0.83) 0%, rgba(4, 37, 54, 0.55) 43%, rgba(4, 37, 54, 0.05) 75%);
  content: '';
}

.hero-copy {
  max-width: 720px;
  padding-block: clamp(80px, 12vw, 150px);
}

.hero-copy .eyebrow {
  color: #b8f3ee;
}

.hero-copy h1 {
  max-width: 690px;
  margin-bottom: 26px;
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 34px;
  color: #e8f4f7;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 42px;
  color: #e8f4f7;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-facts span::before {
  margin-right: 8px;
  color: #70e0d6;
  content: '✓';
}

.hero-gallery-controls {
  position: absolute;
  right: var(--gutter);
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 39, 54, 0.44);
  backdrop-filter: blur(10px);
}

.hero-gallery-dots {
  display: flex;
  gap: 7px;
}

.hero-gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-gallery-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: white;
}

.hero-gallery-pause {
  padding: 3px 6px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
}

.page-hero::after {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: '';
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #aaf0e9;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  hyphens: auto;
  overflow-wrap: anywhere;
}

.page-hero p {
  max-width: 710px;
  margin-bottom: 0;
  color: #dceff3;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.page-hero-sand {
  background: linear-gradient(135deg, #75522f, #c9854e);
}

.page-hero-teal {
  background: linear-gradient(135deg, #0c4b58, #178c86);
}

/* Home and shared cards */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
}

.intro-grid h2 {
  margin-bottom: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: white;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 400;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.image-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  isolation: isolate;
}

.image-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.image-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 30, 42, 0.86));
  content: '';
}

.image-card:hover img {
  transform: scale(1.04);
}

.image-card-content {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: white;
}

.image-card-content span {
  display: block;
  margin-bottom: 7px;
  color: #bceeea;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-card-content h3 {
  margin: 0;
  font-size: 1.35rem;
}

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

.service-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 1px 0 rgba(15, 67, 87, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.service-number,
.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.team-card {
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-align: center;
}

.team-card img {
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border: 6px solid var(--sky);
  border-radius: 50%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 82px);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
}

.cta-band::after {
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: '';
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 18px;
}

.cta-band p {
  max-width: 640px;
  margin-bottom: 28px;
  color: #ddf4f3;
}

/* Destination page */
.destination-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow-small);
}

.destination-feature + .destination-feature {
  margin-top: 32px;
}

.destination-feature:nth-child(even) .destination-photo {
  order: 2;
}

.destination-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.destination-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.destination-copy h2 {
  margin-bottom: 16px;
}

.destination-copy p {
  color: var(--ink-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 26px;
}

.pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Service page */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding-top: 74px;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  content: counter(process, decimal-leading-zero);
  counter-increment: process;
  font-weight: 800;
}

.process-step::after {
  position: absolute;
  top: 26px;
  right: 0;
  left: 68px;
  height: 1px;
  background: var(--line);
  content: '';
}

.process-step:last-child::after {
  display: none;
}

.process-step p {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: '✓';
  font-weight: 800;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  cursor: zoom-in;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 7;
  grid-row: span 4;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  grid-column: span 5;
  grid-row: span 3;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
  grid-column: span 5;
  grid-row: span 4;
}

.gallery-item:nth-child(7),
.gallery-item:nth-child(8) {
  grid-column: span 6;
  grid-row: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.lightbox {
  width: min(92vw, 1100px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(3, 24, 34, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  border-radius: 22px;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  cursor: pointer;
}

/* Stories */
.featured-story {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--navy);
  color: white;
}

.featured-story img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.featured-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 60px);
}

.featured-story-copy p {
  color: #d6e9ef;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-card-content {
  padding: 26px;
}

.story-meta {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card-content p {
  color: var(--ink-soft);
}

/* Booking and contact */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.form-card {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-small);
}

.form-card h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.form-intro {
  margin-bottom: 32px;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbdade;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--ink);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 115, 151, 0.1);
  outline: 0;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #16765d;
  font-weight: 700;
}

.form-status[data-state="error"],
.api-content-status[data-state="error"] {
  color: #a33a32;
}

.form-card button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.api-content-status {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.form-aside {
  position: sticky;
  top: 120px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
}

.form-aside h3 {
  margin-bottom: 18px;
}

.form-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-aside li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.form-aside li::before {
  position: absolute;
  margin-left: -26px;
  color: #75ded5;
  content: '✓';
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

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

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background-color: #d7e9e9;
  background-image: linear-gradient(rgba(23, 140, 134, 0.12) 2px, transparent 2px), linear-gradient(90deg, rgba(23, 140, 134, 0.12) 2px, transparent 2px);
  background-size: 46px 46px;
}

.map-panel::before,
.map-panel::after {
  position: absolute;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  content: '';
}

.map-panel::before {
  top: 18%;
  right: 12%;
  width: 220px;
  height: 220px;
}

.map-panel::after {
  bottom: -80px;
  left: -30px;
  width: 300px;
  height: 300px;
}

.map-pin {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 7px solid white;
  border-radius: 50% 50% 50% 0;
  background: var(--coral);
  box-shadow: var(--shadow-small);
  transform: rotate(-45deg);
}

.map-label {
  position: absolute;
  bottom: 26px;
  left: 26px;
  z-index: 2;
  max-width: calc(100% - 52px);
  padding: 18px 22px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-small);
}

.map-label strong,
.map-label span {
  display: block;
}

.map-label span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Legal pages */
.legal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.legal-toc {
  position: sticky;
  top: 120px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
}

.legal-toc a {
  display: block;
  padding-block: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.legal-content {
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-small);
  overflow-wrap: anywhere;
}

.legal-content h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 28px;
}

.legal-content p,
.legal-content li {
  color: #425c69;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-callout {
  margin-block: 28px;
  padding: 22px;
  border-left: 4px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: var(--sand);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legacy-legal #navi,
.legacy-legal > .footer,
.legacy-legal > script:not([src*='modern']) {
  display: none !important;
}

.legacy-legal > h1,
.legacy-legal > h2,
.legacy-legal > h3,
.legacy-legal > p,
.legacy-legal > ul,
.legacy-legal > hr {
  width: min(calc(100% - (2 * var(--gutter))), 900px);
  margin-right: auto;
  margin-left: auto;
  overflow-wrap: anywhere;
}

.legacy-document {
  width: min(calc(100% - (2 * var(--gutter))), 920px);
  margin: var(--section) auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-small);
  overflow-wrap: anywhere;
}

.legacy-document h2 {
  margin-top: 46px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.legacy-document h2:first-child {
  margin-top: 0;
}

.legacy-document h3 {
  margin-top: 28px;
}

.legacy-document p,
.legacy-document li {
  color: #425c69;
}

.legacy-document a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legacy-legal > h1 {
  margin-top: 80px;
  margin-bottom: 30px;
}

.legacy-legal > h2 {
  margin-top: 46px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.legacy-legal > h3 {
  margin-top: 28px;
}

.legacy-legal > p {
  color: #425c69;
}

.legacy-legal > hr {
  border: 0;
  border-top: 1px solid var(--line);
}

/* Footer */
.site-footer {
  margin-top: var(--section);
  background: #082f43;
  color: #d6e8ed;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 46px;
  padding-block: 70px;
}

.footer-brand p {
  max-width: 340px;
  color: #aac5ce;
}

.site-footer .brand {
  margin-bottom: 18px;
  color: white;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-bottom: 10px;
  color: #aac5ce;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91b0bb;
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  body.menu-open .site-header {
    position: relative;
  }

  .main-nav {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .nav-links {
    position: relative;
    order: 4;
    display: none;
    flex: 0 0 100%;
    width: 100%;
    max-height: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 18px;
    background: white;
    overflow: visible;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-width: 0;
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    margin-left: auto;
  }

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

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .process-step:nth-child(2)::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 800px) {
  .top-strip .container {
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    min-height: 70px;
  }

  .nav-cta {
    display: none;
  }

  .hero-home {
    min-height: 720px;
    background-position: 62% center;
  }

  .hero-home::before {
    background: linear-gradient(90deg, rgba(4, 37, 54, 0.9), rgba(4, 37, 54, 0.48));
  }

  .section-head,
  .intro-grid {
    align-items: start;
    flex-direction: column;
  }

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

  .service-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .destination-feature,
  .featured-story {
    grid-template-columns: 1fr;
  }

  .destination-feature:nth-child(even) .destination-photo {
    order: 0;
  }

  .destination-photo img {
    min-height: 320px;
    max-height: 450px;
  }

  .featured-story img {
    min-height: 320px;
  }

  .form-layout,
  .contact-grid,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .form-aside,
  .legal-toc {
    position: static;
  }

  .legal-toc {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-row: span 2;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-home {
    min-height: 680px;
    background-position: 68% center;
  }

  .hero-copy {
    padding-block: 70px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-gallery-controls {
    right: 18px;
    bottom: 18px;
  }

  .stat-grid,
  .experience-grid,
  .destination-grid,
  .team-grid,
  .process-grid,
  .form-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .image-card {
    min-height: 360px;
  }

  .process-step::after {
    display: none;
  }

  .field-full {
    grid-column: auto;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item {
    width: 100%;
    height: 280px;
    margin-bottom: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transform: none !important;
  }
}
