/**
 * 42ostriches — Component layer
 * Every reusable UI piece lives here. Reference these classes from any page;
 * never redefine a component's core rules inside a page-specific stylesheet.
 */

/* =========================================================
   Buttons
   ========================================================= */

/* Shape properties are hardened with !important — this component gets
   embedded into WordPress pages alongside a large, unpredictable stack
   of theme/plugin CSS (Astra, Elementor, page-builder addons, etc.)
   that can carry its own generic button resets. Colour/background are
   left alone (not important) since variants below need to keep
   overriding them per-state (hover etc). */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-300);
  letter-spacing: 0.02em;
  text-decoration: none !important;
  white-space: nowrap !important;
  padding: 0.85em 1.6em !important;
  border-radius: var(--radius-pill) !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: transparent;
  box-sizing: border-box;
  line-height: 1.2 !important;
  transition: transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

/* Every button variant "switches" to brand red on hover, with the same
   lift + shadow — one consistent hover language site-wide instead of
   each variant doing its own thing. */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn--primary {
  background: var(--color-red-600);
  color: var(--color-paper-000);
  border-color: var(--color-red-600);
}

.btn--primary:hover {
  background: var(--color-red-700);
  border-color: var(--color-red-700);
}

.btn--dark {
  background: var(--color-ink-900);
  color: var(--color-paper-000);
  border-color: var(--color-ink-900);
}

.btn--dark:hover {
  background: var(--color-red-600);
  border-color: var(--color-red-600);
}

.btn--outline {
  background: transparent;
  color: var(--color-ink-900);
  border-color: var(--color-ink-900);
}

.btn--outline:hover {
  background: var(--color-red-600);
  border-color: var(--color-red-600);
  color: var(--color-paper-000);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-paper-000);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
  background: var(--color-red-600);
  border-color: var(--color-red-600);
  color: var(--color-paper-000);
}

.btn--sm {
  padding: 0.6em 1.3em !important;
  font-size: var(--fs-200);
}

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

/* =========================================================
   Bib tag — signature badge styled on a race bib
   Used for distance/date/night labels on event cards and callouts.
   ========================================================= */

.bib-tag {
  --bib-color: var(--color-ink-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-300);
  color: var(--bib-color);
  background: var(--color-paper-000);
  border: 1.5px solid var(--color-ink-150);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-4);
}

.bib-tag--accent {
  --bib-color: var(--color-red-600);
  border-color: var(--color-red-100);
  background: var(--color-red-100);
}

.bib-tag::before,
.bib-tag::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-paper-050);
  border: 1.5px solid var(--color-ink-150);
  border-radius: 50%;
  transform: translateY(-50%);
}

.bib-tag::before {
  left: -5px;
}

.bib-tag::after {
  right: -5px;
}

.bib-tag svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* =========================================================
   Site header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-ink-100);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-nav__list a {
  font-weight: 600;
  font-size: var(--fs-300);
  text-decoration: none;
  color: var(--color-ink-700);
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--color-ink-900);
  border-color: var(--color-red-600);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: var(--color-paper-050);
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--color-ink-900);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

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

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 1);
  background: var(--color-paper-000);
  display: flex;
  flex-direction: column;
  padding: calc(64px + var(--space-6)) var(--space-6) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
}

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

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.mobile-nav__list a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-700);
  text-decoration: none;
  color: var(--color-ink-900);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-ink-100);
}

.mobile-nav__social {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}

.mobile-nav__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-ink-150);
  font-size: var(--fs-200);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .site-header__actions .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* =========================================================
   Carousel (reusable) — currently powers "Everything included"
   Swipeable track with scroll-snap; JS (main.js) adds autoplay,
   arrow navigation and dot pagination on top.
   ========================================================= */

.carousel {
  position: relative !important;
}

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel__slide {
  flex: 0 0 calc((100% - var(--space-3)) / 2);
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .carousel__slide {
    flex-basis: calc((100% - 3 * var(--space-3)) / 4);
  }
}

/* Shape/position hardened with !important — see the .btn comment above
   for why (embedded into an unpredictable WordPress CSS stack).
   Colour is left alone so :hover can keep overriding it. */
.carousel__arrow {
  position: absolute !important;
  top: 50%;
  z-index: 2;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--color-paper-000);
  border-width: 1px !important;
  border-style: solid !important;
  border-color: var(--color-ink-150);
  box-sizing: border-box;
  box-shadow: var(--shadow-md);
  color: var(--color-ink-900);
  transition: background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.carousel__arrow:hover {
  background: var(--color-red-600);
  border-color: var(--color-red-600);
  color: var(--color-paper-000);
}

.carousel__arrow svg {
  width: 18px !important;
  height: 18px !important;
}

.carousel__arrow--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.carousel__arrow--next {
  right: 0;
  transform: translate(50%, -50%);
}

@media (max-width: 640px) {
  .carousel__arrow {
    width: 32px !important;
    height: 32px !important;
  }
  .carousel__arrow svg {
    width: 14px !important;
    height: 14px !important;
  }
}

.carousel__dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.carousel__dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: var(--radius-pill) !important;
  background: var(--color-ink-150);
  transition: background-color var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out);
}

.carousel__dot.is-active {
  width: 22px !important;
  background: var(--color-red-600);
}

/* ---- Feature card — one "Everything included" carousel slide ----
   Title on top, square image centered, description at the bottom;
   image and text share the same width (the slide's full width). */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  width: 100%;
  text-align: center;
}

.feature-card__title {
  margin: 0 0 0.1rem;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  font-weight: 800;
  color: var(--color-ink-900);
}

.feature-card__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transform: scale(0.64);
  transform-origin: center;
}

.feature-card__desc {
  margin: 0;
  font-size: var(--fs-300);
  color: var(--color-ink-700);
  line-height: 1.2;
}

/* =========================================================
   Event / package card
   ========================================================= */

.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1100px) {
  .event-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.event-card {
  display: flex;
  flex-direction: column;
  background: var(--color-paper-000);
  border: 1px solid var(--color-ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-ink-100);
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.event-card:hover .event-card__media img {
  transform: scale(1.06);
}

.event-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-grow: 1;
}

.event-card__title {
  font-size: var(--fs-600);
  font-family: var(--font-body);
  font-weight: 800;
}

.event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.event-card__tags .bib-tag {
  font-size: var(--fs-200);
  padding: var(--space-1) var(--space-3);
}

.event-card__cta {
  margin-top: auto;
}

/* =========================================================
   Sponsor marquee
   ========================================================= */

.sponsor-grid {
  display: flex;
  align-items: center;
  gap: var(--space-5) var(--space-7);
  /* Mobile default: force a single horizontal row instead of wrapping
     into several rows. If all logos don't fit, the row scrolls instead
     of stacking (same pattern as .faq-tabs). */
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-1);
}

.sponsor-grid::-webkit-scrollbar {
  display: none;
}

.sponsor-grid img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--dur-fast) var(--ease-out);
}

.sponsor-grid img:hover {
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .sponsor-grid {
    gap: var(--space-7) var(--space-9);
  }
  .sponsor-grid img {
    height: 64px;
  }
}

@media (min-width: 900px) {
  /* Desktop: still forced onto a single row (never wraps) — just
     centered and no longer needing the scroll fallback, since the
     5 logos comfortably fit the container at this size. */
  .sponsor-grid {
    justify-content: center;
    overflow-x: visible;
  }
  .sponsor-grid img {
    height: 76px;
  }
}

/* =========================================================
   FAQ accordion (native details/summary — zero JS required)
   ========================================================= */

/* ---- FAQ category tabs ----
   Text-only pills; horizontally scrollable on narrow screens so all
   5 categories stay reachable without wrapping into extra rows. */
.faq-tabs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-ink-100);
}

.faq-tabs::-webkit-scrollbar {
  display: none;
}

.faq-tab {
  flex-shrink: 0;
  padding: 0.55em 1.1em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-ink-150);
  font-weight: 700;
  font-size: var(--fs-300);
  color: var(--color-ink-700);
  background: var(--color-paper-000);
  transition: background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.faq-tab:hover {
  border-color: var(--color-red-500);
}

.faq-tab.is-active {
  background: var(--color-red-600);
  border-color: var(--color-red-600);
  color: var(--color-paper-000);
}

.faq-panel {
  display: none;
}

.faq-panel.is-active {
  display: block;
}

.faq-category {
  margin-bottom: var(--space-8);
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--fs-500);
  color: var(--color-red-600);
  margin-bottom: var(--space-4);
}

.faq-item {
  border-bottom: 1px solid var(--color-ink-100);
}

.faq-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  font-weight: 600;
  font-size: var(--fs-400);
  cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-ink-900);
  transition: transform var(--dur-base) var(--ease-out);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-item__panel {
  padding-bottom: var(--space-5);
  color: var(--color-ink-700);
  max-width: 68ch;
}

.faq-item__panel p + p {
  margin-top: var(--space-3);
}

.faq-item__panel ul {
  list-style: disc;
  padding-left: 1.2em;
  margin-top: var(--space-2);
}

.faq-item__panel li + li {
  margin-top: var(--space-1);
}

/* =========================================================
   About / Vision / Product content rows
   ========================================================= */

.content-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .content-row {
    grid-template-columns: 5fr 7fr;
  }
  .content-row--reverse {
    grid-template-columns: 7fr 5fr;
  }
  .content-row--reverse .content-row__media {
    order: 2;
  }
}

.content-row__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.content-row__text p + p {
  margin-top: var(--space-4);
}

.content-row__text p {
  max-width: 62ch;
}

/* ---- Read more / text-collapse ----
   Shows ~3-4 lines with a fade, then reveals the rest on click.
   Collapsed by default only on smaller screens; open by default on
   larger screens where the extra scroll doesn't matter. */
.text-collapse {
  position: relative;
  overflow: hidden;
  max-height: 6.6em;
}

.text-collapse.is-expanded {
  max-height: none;
}

.text-collapse__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 3.2em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-paper-000));
  pointer-events: none;
}

.section--alt .text-collapse__fade {
  background: linear-gradient(to bottom, rgba(248, 247, 245, 0), var(--color-paper-050));
}

.text-collapse.is-expanded .text-collapse__fade {
  display: none;
}

@media (min-width: 900px) {
  .text-collapse {
    max-height: none;
  }
  .text-collapse__fade {
    display: none;
  }
}

.read-more-btn {
  display: inline-flex;
  margin-top: var(--space-4);
  font-weight: 700;
  font-size: var(--fs-300);
  color: var(--color-red-600);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (min-width: 900px) {
  .read-more-btn {
    display: none;
  }
}

/* =========================================================
   Gallery + lightbox
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.gallery-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-ink-100);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}

.gallery-grid__item:hover img {
  transform: scale(1.08);
}

/* Extra photos are hidden until "Show more" is tapped, to keep the
   gallery short by default (especially on mobile). */
.gallery-grid__item--extra {
  display: none;
}

.gallery-grid.is-expanded .gallery-grid__item--extra {
  display: block;
}

/* Photos 5-6: hidden by default on mobile (same as --extra), but shown
   automatically on desktop once the grid reaches its 6-column layout,
   so the first row is full before "Show more" is ever tapped. */
.gallery-grid__item--extra-desktop {
  display: none;
}

.gallery-grid.is-expanded .gallery-grid__item--extra-desktop {
  display: block;
}

@media (min-width: 1024px) {
  .gallery-grid__item--extra-desktop {
    display: block;
  }
}

.gallery-toggle {
  display: block;
  margin: var(--space-6) auto 0;
  font-weight: 700;
  font-size: var(--fs-300);
  color: var(--color-red-600);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out);
  padding: var(--space-6);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
}

.lightbox__figure img {
  max-height: 85vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-md);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: var(--color-paper-000);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox__close {
  top: var(--space-5);
  right: var(--space-5);
}

.lightbox__nav--prev {
  left: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================================
   Modal (custom trip form / packing list)
   ========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(13, 13, 13, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out);
}

@media (min-width: 700px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--color-paper-000);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-7) var(--space-6);
  transform: translateY(24px);
  transition: transform var(--dur-base) var(--ease-out);
}

@media (min-width: 700px) {
  .modal {
    border-radius: var(--radius-lg);
  }
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: var(--fs-600);
  line-height: 1;
}

.modal__close:hover {
  background: var(--color-paper-050);
}

/* =========================================================
   Forms
   ========================================================= */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

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

.form-field label,
.form-field legend {
  font-weight: 600;
  font-size: var(--fs-300);
  padding: 0;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field textarea {
  border: 1.5px solid var(--color-ink-150);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-400);
  background: var(--color-paper-000);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--color-red-600);
}

.form-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.radio-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border: 1.5px solid var(--color-ink-150);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
}

.radio-option:has(input:checked) {
  border-color: var(--color-red-600);
  background: var(--color-red-100);
}

@media (max-width: 560px) {
  .form-grid,
  .radio-group {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Checklist (packing list)
   ========================================================= */

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

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

.checklist-group__title {
  font-weight: 800;
  font-size: var(--fs-400);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-red-600);
  margin-bottom: var(--space-3);
}

.checklist-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.checklist-group label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-300);
}

.checklist-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-red-600);
}

/* =========================================================
   Sticky "text us" CTA
   ========================================================= */

/* ---- WhatsApp floating button ----
   Icon-only circular button, bottom-right, at every breakpoint. */
.whatsapp-fab {
  position: fixed;
  right: max(var(--space-5), env(safe-area-inset-right));
  bottom: max(var(--space-5), env(safe-area-inset-bottom));
  z-index: var(--z-header);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: var(--color-paper-000);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--color-ink-900);
  color: var(--color-ink-150);
  padding-block: var(--space-2);
}

.site-footer a {
  text-decoration: none;
  color: var(--color-ink-150);
}

.site-footer a:hover {
  color: var(--color-paper-000);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 700px) {
  .footer-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-3);
  }
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-paper-000);
  transition: border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--color-paper-000);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col__title {
  font-weight: 700;
  font-size: var(--fs-300);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--color-paper-000);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-300);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-1);
  font-size: var(--fs-200);
  color: var(--color-ink-300);
}

.footer-bottom p {
  max-width: none;
}

/* "Insured by Atlas Voyage Secure" sits bottom-right on desktop, under
   the address on mobile (source order keeps it second either way). */
@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
  }
}
