/* ==========================================================================
   COMPONENTS — navbar, hero, quote card, cards, forms, footer, overlays
   ========================================================================== */

/* ----------------------------------------------------------- page loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: var(--color-navy);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  width: min(340px, 78vw);
  text-align: center;
}

.page-loader__stage {
  position: relative;
  height: 96px;
  overflow: hidden;
}

/*
 * The drive is animated with percentage `left` values rather than a transform
 * in pixels: percentages resolve against the stage, so the taxi enters from the
 * left edge and leaves at the right edge at every screen width. The old
 * `translateX(calc(100% + 340px))` was a percentage of the taxi itself plus a
 * fixed 340px, which on a phone-width stage threw the car far past the right
 * edge and left it off screen for most of the loop.
 */
.page-loader__taxi {
  position: absolute;
  bottom: 16px;
  left: -34%;
  width: 112px;
  max-width: 42%;
  animation: loader-drive 2.4s linear infinite;
}

.page-loader__road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.page-loader__road::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, var(--color-gold) 0 18px, transparent 18px 40px);
  animation: road-dash 0.55s linear infinite;
}

.page-loader__label {
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.wheel-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheel-spin 0.45s linear infinite;
}

@keyframes loader-drive {
  0% {
    left: -34%;
  }
  100% {
    left: 104%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__taxi {
    animation: none;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------- route progress */
.route-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  height: 3px;
  width: 100%;
  pointer-events: none;
}

.route-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  border-radius: 0 3px 3px 0;
  transition: width 0.35s ease, opacity 0.3s ease 0.15s;
}

.route-progress.is-active .route-progress__bar {
  width: 82%;
}

.route-progress.is-done .route-progress__bar {
  width: 100%;
  opacity: 0;
}

/* ------------------------------------------------------------ brand logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-navy);
}

.brand:hover {
  text-decoration: none;
}

/* The supplied logo, never recoloured or distorted — only scaled. */
.brand__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/*
 * On the navy footer the logo's dark wordmark would disappear, so it sits on a
 * white plate. The artwork itself is untouched.
 */
.brand--on-dark .brand__plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.5);
}

.brand--on-dark .brand__logo {
  height: 46px;
}

/* Typographic fallback shown only when no logo file is configured. */
.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.brand__tag {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.brand--on-dark .brand__name {
  color: var(--color-white);
}

.brand--on-dark .brand__tag {
  color: var(--color-gold);
}

/* ---------------------------------------------------------------- navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.22s ease;
}

.navbar.is-scrolled {
  box-shadow: 0 4px 20px -10px rgba(18, 59, 93, 0.22);
}

/* Thin gold hairline — a small premium cue, not a gold bar. */
.navbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-gold) 38%,
    transparent 78%
  );
  opacity: 0.55;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--nav-h);
}

.navbar__nav {
  display: none;
  margin-left: auto;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar__item {
  position: relative;
}

.navbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 550;
  color: var(--color-navy);
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.navbar__link:hover,
.navbar__item:focus-within > .navbar__link {
  background: var(--navy-50);
  color: var(--color-primary);
  text-decoration: none;
}

.navbar__link.is-active {
  color: var(--color-primary);
  font-weight: 650;
}

/* Gold underline marks the active section. */
.navbar__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
}

.navbar__caret {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.navbar__item:hover .navbar__caret,
.navbar__item:focus-within .navbar__caret {
  transform: rotate(180deg);
}

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  min-width: 272px;
  padding: 9px;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

/* Gold cap on the dropdown — a tiny luxury detail. */
.navbar__dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--color-gold);
  opacity: 0.75;
}

.navbar__item:hover > .navbar__dropdown,
.navbar__item:focus-within > .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.navbar__dropdown-link {
  display: block;
  padding: 10px 13px;
  border-radius: var(--radius-xs);
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--color-text);
}

.navbar__dropdown-link:hover,
.navbar__dropdown-link:focus-visible {
  background: var(--teal-50);
  color: var(--teal-800);
  text-decoration: none;
}

.navbar__dropdown-link.is-active {
  color: var(--color-primary);
  font-weight: 650;
}

.navbar__dropdown-all {
  margin-top: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

/*
 * The actions never shrink: with the brand wordmark beside the logo the row can
 * get tight around 1080px, and without this the phone icon squashes and the CTA
 * label wraps onto two lines.
 */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar__phone svg,
.navbar__cta svg {
  flex-shrink: 0;
}

.navbar__phone {
  display: none;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
}

.navbar__phone:hover {
  border-color: var(--color-navy);
  color: var(--color-primary);
  text-decoration: none;
}

.navbar__cta {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  flex-shrink: 0;
}

.navbar__toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.navbar__toggle-bars,
.navbar__toggle-bars::before,
.navbar__toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.16s ease;
}

.navbar__toggle-bars::before,
.navbar__toggle-bars::after {
  content: '';
  position: absolute;
}

.navbar__toggle-bars::before {
  transform: translateY(-6px);
}

.navbar__toggle-bars::after {
  transform: translateY(6px);
}

.navbar__toggle[aria-expanded='true'] .navbar__toggle-bars {
  background: transparent;
}

.navbar__toggle[aria-expanded='true'] .navbar__toggle-bars::before {
  transform: rotate(45deg);
}

.navbar__toggle[aria-expanded='true'] .navbar__toggle-bars::after {
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .navbar__phone {
    display: inline-flex;
  }
}

@media (min-width: 1080px) {
  .navbar__nav {
    display: block;
  }

  .navbar__actions {
    margin-left: 0;
  }

  .navbar__cta {
    display: inline-flex;
  }

  .navbar__toggle {
    display: none;
  }
}

/*
 * Between 1080px and 1200px the full nav, the brand wordmark and both actions
 * do not fit together. The logo carries the brand there and the wordmark comes
 * back as soon as there is room; on mobile it is always visible.
 */
@media (min-width: 1080px) and (max-width: 1199px) {
  .navbar .brand__wordmark {
    display: none;
  }
}

/* ----------------------------------------------------------- mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 890;
  background: var(--color-white);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: fade-up 0.24s ease both;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__inner {
  padding: 18px 20px 40px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu__link {
  display: block;
  padding: 15px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  background: var(--teal-50);
  color: var(--teal-800);
  text-decoration: none;
}

.mobile-menu__group-head {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 15px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
}

.mobile-menu__group-head:hover {
  background: var(--teal-50);
  color: var(--teal-800);
}

.mobile-menu__group-caret {
  margin-left: auto;
  width: 14px;
  height: 14px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.mobile-menu__group-head[aria-expanded='true'] .mobile-menu__group-caret {
  transform: rotate(180deg);
}

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 2px 0 8px;
  padding-left: 12px;
  border-left: 2px solid var(--color-gold);
}

.mobile-menu__sub-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.93rem;
  color: var(--color-text);
}

.mobile-menu__sub-link:hover,
.mobile-menu__sub-link.is-active {
  background: var(--navy-50);
  color: var(--color-primary);
  text-decoration: none;
}

.mobile-menu__footer {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 1080px) {
  .mobile-menu {
    display: none;
  }
}

/* ------------------------------------------- floating call/whatsapp buttons */
/*
 * Two matching circles pinned to the bottom corners: WhatsApp on the right,
 * Call on the left. They replaced the old fixed mobile CTA bar, so nothing
 * covers the full width of a phone screen any more.
 */
.whatsapp-fab,
.call-fab {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--color-white);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.whatsapp-fab {
  right: 16px;
  background: #128c4a;
  box-shadow: 0 14px 30px -12px rgba(18, 140, 74, 0.6);
}

.call-fab {
  left: 16px;
  background: var(--color-primary);
  box-shadow: 0 14px 30px -12px rgba(8, 127, 140, 0.6);
}

.whatsapp-fab:hover,
.call-fab:hover {
  transform: scale(1.06);
  text-decoration: none;
}

.whatsapp-fab:hover {
  background: #0f7540;
}

.call-fab:hover {
  background: #066a75;
}

.whatsapp-fab::before,
.call-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse-ring 2.8s cubic-bezier(0.24, 0.6, 0.36, 1) infinite;
}

.whatsapp-fab::before {
  border: 2px solid #128c4a;
}

.call-fab::before {
  border: 2px solid var(--color-primary);
}

.whatsapp-fab svg,
.call-fab svg {
  width: 28px;
  height: 28px;
  position: relative;
}

@media (min-width: 768px) {
  .whatsapp-fab {
    right: 24px;
  }

  .call-fab {
    left: 24px;
  }

  .whatsapp-fab,
  .call-fab {
    bottom: 24px;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  background: var(--color-white);
  padding-top: clamp(28px, 4vw, 56px);
}

/* Soft off-white field behind the hero — no huge gradients. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 42% 0;
  background: var(--color-off-white);
}

/*
 * The field above is an absolutely positioned pseudo-element, so it paints on
 * top of any static in-flow content in the hero. The banner image and the quote
 * card escape it (one is transformed by its animation, the other is positioned),
 * but the button row is static and was being covered by the off-white block on
 * narrow screens, where the stacked buttons fall inside the top 42%. Lifting the
 * hero's container above the pseudo-element keeps every child visible.
 */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 52px);
}

.hero__content {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__brandline {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero__rule {
  margin: 14px 0 18px;
}

.hero__title {
  color: var(--color-navy);
}

/* Teal accent on the key phrase in the headline. */
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__text {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.14rem);
  color: var(--color-muted);
  line-height: 1.72;
}

.hero__actions {
  margin-top: 28px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.hero__media {
  position: relative;
  animation: fade-up 0.7s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/*
 * 16:10 matches every asset in /public/images (all are exported 1600x1000),
 * so object-fit never crops. This matters because most images are now banners
 * with text baked in — any crop would cut a headline or a phone number.
 */
.hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface-3);
}

/* Subtle navy wash over the photo for text/badge legibility. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(200deg, rgba(18, 59, 93, 0) 45%, rgba(18, 59, 93, 0.42) 100%);
  pointer-events: none;
}

/* Gold decorative frame offset behind the image. */
.hero__media::before {
  content: '';
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 58%;
  height: 52%;
  border-right: 3px solid var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
  border-radius: 0 0 var(--radius-lg) 0;
  opacity: 0.85;
}

.hero__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-navy);
  max-width: 84%;
}

.hero__badge svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

/* ------------------------------------------- full-width banner hero ----- */
/*
 * Used when the hero image is a finished composition that already carries the
 * headline. No overlay, no badge, no gradient — nothing is drawn on top of
 * supplied artwork.
 */
.hero--banner {
  padding-top: clamp(20px, 3vw, 40px);
}

.hero--banner::before {
  inset: 0 0 58% 0;
}

.hero__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface-3);
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__banner-actions {
  justify-content: center;
  margin: clamp(22px, 3vw, 32px) 0 clamp(24px, 3vw, 36px);
}

@media (max-width: 560px) {
  .hero__banner-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------- hero quote card ---- */
/* Premium enquiry card that overlaps the bottom of the hero. */
.quote-card {
  position: relative;
  z-index: 3;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.quote-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 20px;
}

.quote-card__title {
  font-size: 1.22rem;
  color: var(--color-navy);
}

.quote-card__hint {
  font-size: 0.87rem;
  color: var(--color-muted);
}

/* Teal accent bar along the top edge. */
.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--color-primary) 0 62%, var(--color-gold) 62% 100%);
}

.quote-card__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
  align-items: end;
}

.quote-card__submit {
  grid-column: 1 / -1;
}

@media (min-width: 1100px) {
  .quote-card__submit {
    grid-column: auto;
  }
}

/* --------------------------------------------------------- section head */
.section-heading {
  max-width: 62ch;
  margin-bottom: clamp(26px, 3vw, 44px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading__title {
  margin-top: 14px;
}

.section-heading__text {
  margin-top: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

.section--navy .section-heading__text {
  color: var(--slate-200);
}

/* ----------------------------------------------------------------- cards */
.card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__img {
  transform: scale(1.06);
}

.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 11px;
  padding: 22px;
}

.card__title {
  font-size: 1.14rem;
  color: var(--color-navy);
}

.card__title a {
  color: inherit;
}

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

.card__text {
  color: var(--color-muted);
  font-size: 0.94rem;
  flex: 1;
  line-height: 1.65;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  font-size: 0.83rem;
  color: var(--color-muted);
}

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

.card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

.card__footer > * {
  margin-top: 10px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--color-navy);
  transition: color 0.18s ease;
}

.card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.card__link:hover {
  text-decoration: none;
  color: var(--color-primary);
}

/* Hover turns the card CTA teal, per the brand direction. */
.card:hover .card__link {
  color: var(--color-primary);
}

.card:hover .card__link svg {
  transform: translateX(4px);
}

/* Luxury card variant used on the navy wedding section. */
.card--luxury {
  background: var(--navy-800);
  border-color: rgba(217, 164, 65, 0.28);
  box-shadow: none;
}

.card--luxury:hover {
  border-color: var(--color-gold);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.card--luxury .card__title,
.card--luxury .card__title a {
  color: var(--color-white);
}

.card--luxury .card__text {
  color: var(--slate-200);
}

.card--luxury .card__meta {
  color: var(--slate-300);
}

.card--luxury .card__meta svg {
  color: var(--color-gold);
}

.card--luxury .card__footer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.card--luxury .card__link {
  color: var(--color-gold);
}

.card--luxury:hover .card__link {
  color: var(--color-gold);
}

.card--luxury .card__tag {
  background: rgba(18, 59, 93, 0.9);
  color: var(--color-gold);
}

/* --------------------------------------------------------- feature tiles */
.feature {
  padding: 26px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--color-primary);
  border: 1px solid var(--teal-100);
}

.feature__icon svg {
  width: 23px;
  height: 23px;
}

/* Gold icon treatment for the trust row's premium items. */
.feature--gold .feature__icon {
  background: var(--gold-100);
  border-color: var(--gold-200);
  color: var(--gold-700);
}

.feature--navy .feature__icon {
  background: var(--navy-50);
  border-color: var(--navy-100);
  color: var(--color-navy);
}

.feature__title {
  font-size: 1.06rem;
  margin-bottom: 9px;
  color: var(--color-navy);
}

.feature__text {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.feature__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--color-primary);
}

.section--navy .feature {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section--navy .feature:hover {
  border-color: rgba(217, 164, 65, 0.5);
}

.section--navy .feature__title {
  color: var(--color-white);
}

.section--navy .feature__text {
  color: var(--slate-200);
}

.section--navy .feature__icon {
  background: rgba(217, 164, 65, 0.12);
  border-color: rgba(217, 164, 65, 0.3);
  color: var(--color-gold);
}

/* ------------------------------------------------------------- step list */
.steps {
  display: grid;
  gap: 20px;
}

.step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: var(--color-gold);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.step__title {
  font-size: 1.04rem;
  margin-bottom: 7px;
  color: var(--color-navy);
}

.step__text {
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------- fact grid */
.facts {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.fact {
  padding: 19px 21px;
  background: var(--color-white);
}

.fact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.fact__value {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.97rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------ check list */
.checklist {
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text);
}

.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087F8C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.section--navy .checklist li {
  color: var(--slate-200);
}

.section--navy .checklist li::before {
  background: rgba(217, 164, 65, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9A441' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* -------------------------------------------------------------- info row */
.info-list {
  display: grid;
  gap: 16px;
}

.info-item {
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
}

.info-item__title {
  font-size: 1.01rem;
  margin-bottom: 7px;
  color: var(--color-navy);
}

.info-item__text {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------- breadcrumb */
.breadcrumbs {
  padding-block: 15px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--color-muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs__sep {
  color: var(--slate-200);
}

.breadcrumbs__link {
  color: var(--color-muted);
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

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

/* -------------------------------------------------------------- FAQ list */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item:has(.faq__question[aria-expanded='true']) {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 19px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  margin-left: auto;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transition: transform 0.24s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__question[aria-expanded='true'] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__answer {
  padding: 0 22px 21px;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 78ch;
}

/* ------------------------------------------------------------------ form */
.booking-form {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.booking-form__head {
  margin-bottom: 22px;
}

.booking-form__title {
  font-size: 1.28rem;
  color: var(--color-navy);
}

.booking-form__subtitle {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.field__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

.field__req {
  color: #c2410c;
  margin-left: 2px;
}

.field__hint {
  font-size: 0.79rem;
  color: var(--color-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}

/* Teal focus, per the brand direction. */
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.15);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #dc2626;
}

.field__error {
  font-size: 0.8rem;
  color: #b91c1c;
  font-weight: 500;
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.form-note {
  margin-top: 15px;
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.form-fallback {
  margin-top: 18px;
}

.form-fallback__text {
  margin-top: 10px;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--color-text);
  max-height: 260px;
  overflow: auto;
}

/* ---------------------------------------------------------- CTA section */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  color: var(--slate-200);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 380px at 8% 0%, rgba(23, 107, 155, 0.4), transparent 70%),
    radial-gradient(620px 340px at 96% 100%, rgba(8, 127, 140, 0.32), transparent 72%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: clamp(48px, 5.5vw, 82px);
}

.cta-section__title {
  color: var(--color-white);
}

.cta-section__rule {
  margin-bottom: 18px;
}

.cta-section__text {
  margin-top: 14px;
  color: var(--slate-200);
  max-width: 54ch;
  line-height: 1.7;
}

@media (min-width: 880px) {
  .cta-section__inner {
    grid-template-columns: 1.35fr 1fr;
  }

  .cta-section__actions {
    justify-content: flex-end;
  }
}

/* ---------------------------------------------------------------- footer */
.footer {
  position: relative;
  background: var(--color-navy);
  color: var(--slate-200);
  padding-top: clamp(34px, 3.4vw, 52px);
}

/* Gold hairline across the very top of the footer. */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold) 45%, transparent 85%);
}

.footer a {
  color: var(--slate-200);
}

.footer a:hover {
  color: var(--color-primary);
}

/*
 * Explicit columns rather than auto-fit: auto-fit produced five link columns
 * plus a two-column brand block, which wrapped onto a second row and left a
 * large empty area. Brand + four columns now fit one row on desktop.
 */
.footer__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

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

  .footer__brand {
    grid-column: span 2;
  }
}

@media (min-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
    gap: 24px 28px;
  }

  .footer__brand {
    grid-column: auto;
  }
}

.footer__about {
  margin-top: 14px;
  font-size: 0.89rem;
  max-width: 38ch;
  line-height: 1.62;
}

.footer__contact {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.87rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer__contact-item svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.footer__col-title {
  position: relative;
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 13px;
  padding-bottom: 9px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
}

.footer__links {
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
}

.footer__socials {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.footer__social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--slate-200);
  transition: all 0.18s ease;
}

.footer__social:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(217, 164, 65, 0.1);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(24px, 2.4vw, 34px);
  padding-block: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem;
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

@media (max-width: 767px) {
  .footer__bottom {
    padding-bottom: 84px;
  }
}

/* --------------------------------------------------------- config notice */
.config-notice {
  padding: 15px 19px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-left: 3px solid var(--color-gold);
  color: var(--gold-700);
  font-size: 0.88rem;
  line-height: 1.6;
}

.config-notice code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.07);
  font-size: 0.94em;
}
