/* Be It Travel: shared styles */
:root {
  --violet: #3A0E7B;
  --violet-soft: #521A9C;
  --lagoon: #016BC7;
  --lagoon-light: #7ABFE7;
  --marigold: #FF5DB8;
  --magenta: #F21198;
  --magenta-deep: #C70D7C;
  --loop: linear-gradient(90deg, #8B179E, #F21198 35%, #016BC7 75%, #7ABFE7);
  --mist: #F3F6FA;
  --ink: #1F1B2E;
  --muted: #4A4560;
  --line: #D6DCE6;
  --white: #FFFFFF;
  --display: "Bricolage Grotesque", "Trebuchet MS", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

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

a { color: var(--lagoon); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--violet); }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--white); color: var(--violet);
  padding: 0.6rem 1rem; font-weight: 700; z-index: 10;
  border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 1.3rem; font-weight: 700; margin-top: 1.4em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.prose { max-width: var(--measure); }

/* Header */
.site-header { background: var(--violet); color: var(--white); border-top: 6px solid transparent; border-image: var(--loop) 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; flex-wrap: wrap; }
.brand { color: var(--white); text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand:hover { color: var(--white); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.brand-tag { font-size: 0.9rem; color: var(--lagoon-light); }
.brand img { max-height: 64px; width: auto; }

.menu-toggle {
  display: none;
  font: inherit; font-weight: 700;
  background: transparent; color: var(--white);
  border: 2px solid var(--lagoon-light); border-radius: 8px;
  padding: 0.5rem 1rem; min-height: 48px; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.4rem; }
.site-nav a {
  color: var(--white); text-decoration: none; font-weight: 700;
  display: inline-block; padding: 0.55rem 0.7rem; border-radius: 6px; min-height: 44px;
}
.site-nav a:hover { background: var(--violet-soft); color: var(--white); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--magenta); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .site-nav { width: 100%; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 0.75rem; }
  .site-nav a { display: block; padding: 0.75rem 0.5rem; }
}

/* Hero with ocean-wave edge */
.hero { background: var(--violet); color: var(--white); position: relative; padding: 3.5rem 0 6.5rem; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--mist);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 30 S1100 10 1200 35 V70 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 30 S1100 10 1200 35 V70 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 52ch; color: #E9E5F5; }
.hero .slogan { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--marigold); margin-top: 1.4rem; }
.page-hero { padding: 2.5rem 0 5.5rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.btn {
  display: inline-block; font-weight: 700; text-decoration: none;
  padding: 0.85rem 1.4rem; border-radius: 999px; min-height: 48px;
  border: 2px solid transparent;
}
.btn-primary { background: var(--magenta-deep); color: var(--white); }
.btn-primary:hover { background: #A80B69; color: var(--white); }
.btn-ghost { border-color: var(--lagoon-light); color: var(--white); }
.btn-ghost:hover { background: var(--violet-soft); color: var(--white); }
.btn-dark { background: var(--violet); color: var(--white); }
.btn-dark:hover { background: var(--violet-soft); color: var(--white); }

main { display: block; }
.section { padding: 2.5rem 0 3rem; }

/* Specialty route: ports of call on a voyage line */
.route { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; max-width: 760px; }
.route::before {
  content: ""; position: absolute; left: 13px; top: 10px; bottom: 3.2rem;
  border-left: 4px dotted var(--lagoon);
}
.route li { position: relative; padding: 0 0 2rem 3.4rem; }
.route li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 5px solid var(--lagoon);
}
.route li:last-child::before { border-color: var(--magenta); background: var(--violet); }
.route h3 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.route h3 a { color: var(--ink); text-decoration: none; }
.route h3 a:hover { color: var(--lagoon); text-decoration: underline; }
.route p { margin: 0; color: var(--muted); max-width: 60ch; }

/* Steps (a real sequence, so numbers belong) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; max-width: var(--measure); }
.steps li { counter-increment: step; position: relative; padding-left: 3.6rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--violet); color: var(--marigold);
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center;
}
.steps strong { display: block; font-family: var(--display); font-size: 1.2rem; }

/* Facts strip */
.facts { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.facts li { background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 700; font-size: 1rem; }

/* FAQ */
.faq { max-width: var(--measure); margin-top: 1rem; }
.faq details { background: var(--white); border: 2px solid var(--line); border-radius: 10px; margin-bottom: 0.8rem; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1rem 3rem 1rem 1.2rem; position: relative;
  list-style: none; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 0.75rem; font-size: 1.5rem; color: var(--lagoon); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.2rem 1rem; }

/* Two-column content blocks */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.aside {
  background: var(--white); border-left: 6px solid var(--magenta);
  padding: 1.4rem 1.5rem; border-radius: 0 10px 10px 0;
}
.aside h2, .aside h3 { margin-top: 0; }
.aside ul { padding-left: 1.2rem; margin: 0; }

/* Call to action band */
.cta { background: #FCE3F1; color: var(--ink); padding: 3rem 0; border-top: 8px solid transparent; border-image: var(--loop) 1; }
.cta h2 { margin-top: 0; }
.cta p { max-width: 60ch; }

/* Footer */
.site-footer { background: var(--violet); color: #E9E5F5; padding: 2.5rem 0; font-size: 1rem; }
.site-footer a { color: var(--lagoon-light); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-slogan { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--marigold); margin: 0 0 0.3rem; }
.footer-small { margin-top: 1.5rem; font-size: 0.92rem; color: #C9C3DE; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.3rem; }

/* Homepage hero with logo */
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero-logo {
  background: var(--white); border-radius: 28px; padding: 1rem;
  max-width: 440px; width: 100%; justify-self: center;
  box-shadow: 0 0 0 6px rgba(122, 191, 231, 0.35);
}
@media (max-width: 859px) { .hero-logo { max-width: 320px; } }
