/* =========================================================================
   EP TOURS & TRAVELS — Design System
   Palette derived from the supplied EP logo:
     Deep navy   #212145
     Fresh green #82af50 (logo mid-green #a2ca69, deepened for AA contrast)
     Pale green  #dbe9c5
   ========================================================================= */

:root {
  /* ---- Brand colors (from logo) ---- */
  --navy-900: #171730;
  --navy-800: #1c1c3d;
  --navy-700: #212145; /* primary navy */
  --navy-600: #2c2c5c;
  --navy-500: #3a3a72;

  --green-700: #4e7329; /* accessible text-on-white/pale green, AA on small bold text */
  --green-600: #74a344;
  --green-500: #8cc63f; /* logo green, for large surfaces/accents */
  --green-400: #a2ca69; /* exact logo mid-tone */
  --green-100: #eaf3da;

  --pale-100: #f6f9ef; /* main page background */
  --pale-200: #eef4e0;
  --pale-300: #dbe9c5; /* exact logo backdrop tone */
  --sky-100: #e7f1f8; /* subtle optional sky accent */

  --white: #ffffff;
  --ink: #1c1c2e;
  --ink-soft: #4a4a5e;
  --ink-faint: #6b6b7d;
  --line: #e3e7d8;

  --success: #2f8a4b;
  --error: #c23b3b;

  /* ---- Type ---- */
  --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* ---- Radii / shadow / spacing ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(23, 23, 48, 0.06);
  --shadow-md: 0 12px 30px rgba(23, 23, 48, 0.1);
  --shadow-lg: 0 24px 60px rgba(23, 23, 48, 0.14);

  --container-w: 1240px;
  --header-h: 84px;
  --header-h-scrolled: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--pale-100);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--navy-700);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

main {
  display: block;
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--navy-700);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   TYPE SCALE
   ========================================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  flex: none;
}

h1,
.h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 700;
}

h2,
.h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  font-weight: 700;
}

h3,
.h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.7;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-bottom: 0.9rem;
}

/* =========================================================================
   LAYOUT
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2.5rem;
  }
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.section--pale {
  background: var(--pale-200);
}

.section--navy {
  background: var(--navy-700);
  color: var(--pale-100);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy .lede {
  color: rgba(246, 249, 239, 0.78);
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid > * {
  min-width: 0;
}

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

@media (min-width: 720px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

@media (min-width: 620px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 2px solid transparent;
  min-height: 48px;
}

.btn svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--navy-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--green {
  background: var(--green-500);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.btn--green:hover {
  background: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(33, 33, 69, 0.18);
  color: var(--navy-700);
}

.btn--ghost:hover {
  border-color: var(--navy-700);
  background: rgba(33, 33, 69, 0.05);
}

.section--navy .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.section--navy .btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--whatsapp {
  background: #ffffff;
  color: var(--navy-700);
  border-color: rgba(33, 33, 69, 0.12);
}

.btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  min-height: 40px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246, 249, 239, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(33, 33, 69, 0.07);
  transition: height 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height 0.25s var(--ease);
}

.site-header.is-scrolled .header-inner {
  height: var(--header-h-scrolled);
}

@media (min-width: 640px) {
  .header-inner {
    padding-inline: 2rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  min-width: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pale-300);
  padding: 4px;
  flex: none;
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.site-header.is-scrolled .brand__mark {
  width: 40px;
  height: 40px;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand__text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-700);
  font-size: 1.02rem;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--green-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy-700);
  position: relative;
  padding-block: 0.4rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--green-500);
  transition: right 0.25s var(--ease);
  border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}

.main-nav a[aria-current="page"] {
  color: var(--green-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid rgba(33, 33, 69, 0.1);
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-700);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .header-actions .btn {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 48, 0.45);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--pale-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-700);
  border-bottom: 1px solid var(--line);
}

.mobile-drawer nav a[aria-current="page"] {
  color: var(--green-700);
}

.mobile-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.mobile-drawer__contact {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.mobile-drawer__contact a {
  color: var(--navy-700);
  font-weight: 600;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--pale-100) 0%, var(--pale-200) 100%);
}

.hero-shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  overflow: hidden;
}

.hero-shape svg {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 60vw;
  max-width: 780px;
  min-width: 320px;
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  }
}

.hero-copy h1 {
  margin-block: 1rem 1.1rem;
}

.hero-copy .lede {
  max-width: 52ch;
  margin-bottom: 1.9rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

/* On very narrow phones, stack CTA buttons full-width instead of letting
   two differently-sized pill buttons wrap onto uneven lines. */
@media (max-width: 479px) {
  .hero-ctas .btn,
  .cta-band__actions .btn,
  .error-page__actions .btn {
    width: 100%;
  }
}

.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero-trustline strong {
  color: var(--navy-700);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--navy-700);
}

/* The hero stacks copy above the visual on any screen narrower than
   960px (phones and tablets alike, see .hero-inner below). A tall 4:5
   portrait crop in that single-column layout leaves a very long block
   of mostly-empty navy background under the illustration before the
   CTAs/trust line appear, so this range uses a shorter, wider crop of
   the same visual instead of a scaled-down copy of the desktop hero.
   Desktop (>=960px, two-column) is completely untouched. */
@media (max-width: 959px) {
  .hero-card {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 639px) {
  .hero-card {
    aspect-ratio: 5 / 4;
  }
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 48, 0) 45%, rgba(23, 23, 48, 0.55) 100%);
}

.hero-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  animation: floaty 5s ease-in-out infinite;
}

.hero-float--route {
  left: -6%;
  top: 12%;
}

.hero-float--doc {
  right: -4%;
  bottom: 10%;
  animation-delay: 1.2s;
}

.hero-float svg {
  width: 22px;
  height: 22px;
  color: var(--green-600);
  flex: none;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
}

@media (max-width: 959px) {
  .hero-float {
    display: none;
  }
}

/* =========================================================================
   TRUST / QUICK INFO STRIP
   ========================================================================= */
.trust-strip {
  background: var(--navy-700);
  color: var(--white);
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem;
}

.trust-strip__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.trust-strip__brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.trust-strip__brand span {
  display: block;
  font-size: 0.85rem;
  color: rgba(246, 249, 239, 0.75);
}

.trust-strip__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.trust-strip__contacts a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.5rem 0.2rem;
  overflow-wrap: anywhere;
}

.trust-strip__contacts svg {
  width: 18px;
  height: 18px;
  color: var(--green-400);
  flex: none;
}

/* =========================================================================
   CARDS — services / trust / destinations
   ========================================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(33, 33, 69, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card {
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--green-700);
}

.service-card h3 {
  margin-bottom: 0.1rem;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.services-more {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* Why choose EP */
.reason-card {
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.reason-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.reason-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-400);
}

.reason-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.reason-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Destination cards */
.destination-strip {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

@media (min-width: 720px) {
  .destination-strip {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

.destination-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.destination-card:hover img {
  transform: scale(1.07);
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 48, 0) 40%, rgba(23, 23, 48, 0.78) 100%);
}

.destination-card span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.85rem;
  right: 0.9rem;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
}

/* =========================================================================
   ABOUT PREVIEW / SPLIT SECTIONS
   ========================================================================= */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
  .split--reverse {
    direction: rtl;
  }
  .split--reverse > * {
    direction: ltr;
  }
}

.split-media {
  position: relative;
}

.split-media__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.split-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media__accent {
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: -1;
  opacity: 0.9;
}

.split-media__accent--tl {
  top: -18px;
  left: -18px;
}

.split-media__accent--br {
  bottom: -20px;
  right: -20px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-block: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
  flex: none;
  margin-top: 0.15rem;
}

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-700);
  color: var(--white);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 860px) {
  .cta-band {
    grid-template-columns: minmax(0,1.3fr) auto;
    text-align: left;
  }
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(246, 249, 239, 0.8);
  max-width: 48ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

@media (min-width: 860px) {
  .cta-band__actions {
    justify-content: flex-end;
  }
}

.cta-band__shape {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  opacity: 0.15;
  pointer-events: none;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--navy-900);
  color: rgba(246, 249, 239, 0.82);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 249, 239, 0.12);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand__mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand__mark img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pale-300);
  padding: 4px;
  object-fit: contain;
}

.footer-brand__mark strong {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(246, 249, 239, 0.68);
  max-width: 32ch;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(246, 249, 239, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--green-500);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(246, 249, 239, 0.72);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(246, 249, 239, 0.72);
  overflow-wrap: anywhere;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--green-400);
  flex: none;
  margin-top: 0.15rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.85rem;
  color: rgba(246, 249, 239, 0.6);
}

.footer-bottom a {
  color: rgba(246, 249, 239, 0.85);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--green-400);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stagger helper */
.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* =========================================================================
   PAGE HEADER (interior pages)
   ========================================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--pale-200) 0%, var(--pale-100) 100%);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin-bottom: 0.85rem;
}

.page-hero .lede {
  max-width: 56ch;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: var(--navy-600);
  font-weight: 600;
}

/* =========================================================================
   SERVICES PAGE
   ========================================================================= */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0,1fr);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

/* =========================================================================
   ABOUT PAGE — Leadership
   ========================================================================= */
.leader {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 860px) {
  .leader {
    grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  }
}

.leader-media {
  position: relative;
}

.leader-media__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-md);
}

.leader-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-media__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--green-500);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.3;
}

.leader-body .eyebrow {
  margin-bottom: 1rem;
}

.leader-body h2 {
  margin-bottom: 0.15rem;
}

.leader-title {
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 1.25rem;
  display: block;
}

.leader-body p + p {
  margin-top: 1rem;
}

.leader-body p {
  color: var(--ink-soft);
}

/* Approach steps */
.approach-list {
  counter-reset: approach;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .approach-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

.approach-item {
  position: relative;
  padding: 1.6rem 1.5rem 1.6rem 1.5rem;
}

.approach-item::before {
  counter-increment: approach;
  content: counter(approach, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--green-400);
  display: block;
  margin-bottom: 0.6rem;
}

.approach-item h3 {
  margin-bottom: 0.4rem;
}

.approach-item p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0,1fr);
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

.contact-card {
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.contact-card > div:not(.contact-card__icon) {
  min-width: 0;
  flex: 1;
}

.contact-card a,
.contact-card p {
  overflow-wrap: anywhere;
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-400);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-card a,
.contact-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: block;
}

.contact-card a {
  color: var(--navy-700);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--green-700);
}

.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    align-items: start;
  }
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-row {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-700);
}

.field .req {
  color: var(--error);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  background: var(--pale-100);
  /* 16px minimum: prevents iOS Safari from auto-zooming the viewport
     when a form field receives focus on a touch device. */
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
  outline: none;
}

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

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
  background: #fdf2f2;
}

.field-error {
  font-size: 0.82rem;
  color: var(--error);
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.field.has-error .field-error {
  display: flex;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 0.9rem;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.7rem;
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.form-status.is-visible {
  display: flex;
}

.form-status svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.1rem;
}

.form-status--success {
  background: #eaf6ee;
  color: var(--success);
}

.form-status--error {
  background: #fbeaea;
  color: var(--error);
}

.form-status--loading {
  background: var(--pale-200);
  color: var(--navy-700);
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(33, 33, 69, 0.2);
  border-top-color: var(--navy-700);
  animation: spin 0.8s linear infinite;
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/11;
  border: none;
  width: 100%;
}

/* =========================================================================
   LEGAL PAGES
   ========================================================================= */
.legal-content {
  max-width: 780px;
  margin-inline: auto;
}

.legal-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

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

.legal-content p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.legal-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding-left: 0;
}

.legal-content li {
  color: var(--ink-soft);
  padding-left: 1.4rem;
  position: relative;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.legal-updated {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

/* =========================================================================
   404 PAGE
   ========================================================================= */
.error-page {
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.error-page__inner {
  max-width: 560px;
  margin-inline: auto;
}

.error-page__code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 6rem);
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* =========================================================================
   SECTION DIVIDER (logo-inspired sail motif)
   ========================================================================= */
.section-divider {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

/* =========================================================================
   MISC
   ========================================================================= */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
}

.badge-strip span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-600);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* =========================================================================
   RESPONSIVE REPAIR — tablet and mobile only. Desktop remains untouched.
   ========================================================================= */
@media (max-width: 1023px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header,
  .site-footer,
  main,
  section,
  .container,
  .header-inner,
  .grid > *,
  .split > *,
  .leader > *,
  .contact-layout > *,
  .footer-grid > * {
    min-width: 0;
  }

  .hero-shape svg {
    min-width: 0;
    width: min(72vw, 560px);
    right: -16%;
  }

  .split-media__accent--tl { left: -10px; top: -10px; }
  .split-media__accent--br { right: -10px; bottom: -10px; }

  .footer-bottom,
  .footer-legal {
    min-width: 0;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 639px) {
  .container,
  .header-inner {
    padding-inline: 1rem;
  }

  .header-inner {
    height: 72px;
    gap: 0.5rem;
  }

  .site-header.is-scrolled .header-inner {
    height: 64px;
  }

  .brand { gap: 0.55rem; }
  .brand__mark { width: 40px; height: 40px; border-radius: 10px; }
  .site-header.is-scrolled .brand__mark { width: 36px; height: 36px; }
  .brand__text { font-size: clamp(0.84rem, 3.8vw, 1.02rem); overflow-wrap: anywhere; }
  .brand__text span { font-size: clamp(0.56rem, 2.4vw, 0.68rem); letter-spacing: 0.035em; }
  .nav-toggle { width: 44px; height: 44px; }

  .mobile-drawer__panel {
    width: min(88vw, 360px);
    padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  }

  .section { padding-block: clamp(2.75rem, 12vw, 4.25rem); }
  .section--tight { padding-block: clamp(1.75rem, 9vw, 2.75rem); }
  .section-head { margin-bottom: 1.75rem; }
  h1, .h1 { font-size: clamp(2rem, 9vw, 2.6rem); overflow-wrap: anywhere; }
  h2, .h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); overflow-wrap: anywhere; }
  h3, .h3 { overflow-wrap: anywhere; }

  .hero { padding-block: 2.4rem 3.25rem; }
  .hero-inner { gap: 1.8rem; }
  .hero-copy .lede { margin-bottom: 1.5rem; }
  .hero-trustline { gap: 0.55rem 1rem; }
  .hero-card { aspect-ratio: 5 / 4; }
  .hero-shape svg { width: 92vw; right: -34%; top: -3%; }

  .service-card,
  .reason-card,
  .contact-card { padding: 1.35rem; }
  .service-card .btn { align-self: stretch; }
  .services-grid { gap: 1rem; }

  .destination-strip { gap: 0.8rem; }
  .destination-card span { left: 0.7rem; right: 0.7rem; bottom: 0.65rem; font-size: 0.9rem; }

  .split,
  .leader,
  .contact-layout { gap: 1.75rem; }
  .leader { padding: 1.25rem; }
  .leader-media__frame { aspect-ratio: 4 / 5; }
  .leader-media__frame img { object-position: center top; }
  .leader-media__badge { left: 0.75rem; bottom: 0.75rem; max-width: calc(100% - 1.5rem); }

  .cta-band { padding: 2rem 1.25rem; border-radius: 20px; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { width: 100%; }
  .cta-band__shape { width: 190px; right: -55px; bottom: -55px; }

  .contact-cards { gap: 0.9rem; }
  .form-card { padding: 1.25rem; border-radius: 20px; }
  .form-row { gap: 1rem; }
  .field input,
  .field select,
  .field textarea { max-width: 100%; font-size: 1rem; }
  .form-note,
  .form-status { overflow-wrap: anywhere; }
  .map-card { aspect-ratio: auto; height: 280px; max-width: 100%; }
  .map-card iframe { width: 100% !important; height: 100% !important; max-width: 100%; border: 0; }

  .site-footer { padding-top: 3rem; }
  .footer-grid { gap: 2rem; padding-bottom: 2.25rem; }
  .footer-brand p { max-width: 100%; }
  .footer-contact li,
  .footer-col a,
  .footer-bottom,
  .footer-legal { overflow-wrap: anywhere; }
  .footer-bottom { display: grid; gap: 1rem; justify-content: stretch; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 0.65rem 1rem; }

  .badge-strip { gap: 0.55rem; }
  .badge-strip span { max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 359px) {
  .header-inner { padding-inline: 0.75rem; }
  .brand { gap: 0.45rem; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__text { font-size: 0.8rem; }
  .brand__text span { font-size: 0.52rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .container { padding-inline: 0.875rem; }
  .card, .form-card, .leader { border-radius: 16px; }
  .contact-card__icon { width: 42px; height: 42px; }
}
