/* Era Travels and Services. Design tokens follow the Slate Horizon design system. */

:root {
  --primary: #3A506B;
  --primary-hover: #2C3E55;
  --primary-deep: #233953;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --gold: #D97706;
  --wa: #25D366;
  --wa-hover: #1FB855;
  --error: #B42318;
  --ghost: rgba(58, 80, 107, 0.12);
  --ghost-strong: rgba(58, 80, 107, 0.2);
  --shadow: 0 10px 30px -10px rgba(58, 80, 107, 0.12);
  --radius-input: 8px;
  --radius-card: 16px;
  --radius-hero: 24px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); margin: 0 0 12px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }

:focus-visible { outline: 3px solid rgba(58, 80, 107, 0.45); outline-offset: 2px; }
.hero :focus-visible, .banner :focus-visible, .cta :focus-visible, .section-dark :focus-visible {
  outline-color: #FFFFFF;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.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;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 16px; height: 16px; }

/* ---------- Typography helpers ---------- */

.display {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 8px;
}
.h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 12px;
}
.lead {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
}
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.on-dark { color: #FFFFFF; }
.on-dark-muted { color: #CBD5E1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 12px;
}
.eyebrow-light { color: #CBD5E1; }
.eyebrow-logo { width: 22px; height: 22px; object-fit: contain; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: currentColor; }

@media (min-width: 768px) {
  .display { font-size: 48px; line-height: 56px; }
  .h2 { font-size: 40px; line-height: 48px; }
}
@media (min-width: 1024px) {
  .display { font-size: 56px; line-height: 64px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 8px 20px -8px rgba(58, 80, 107, 0.55); }

/* WhatsApp green with dark text: white on #25D366 fails WCAG AA contrast. */
.btn-whatsapp { background: var(--wa); color: var(--text); }
.btn-whatsapp:hover { background: var(--wa-hover); box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.6); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost-light:hover { background: #fff; color: var(--primary-deep); }

.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Pills and badges ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--primary);
  background: rgba(58, 80, 107, 0.08);
  border: 1px solid var(--ghost);
}
.pill-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pill-green {
  color: #14532D;
  background: rgba(37, 211, 102, 0.16);
  border-color: rgba(37, 211, 102, 0.35);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ghost);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
}
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav-list a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s var(--ease), color 0.2s;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--primary);
  background-size: 100% 2px;
}
.main-nav .nav-wa-mobile { display: none; }
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--ghost-strong);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
}
.nav-toggle .icon { grid-area: 1 / 1; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 899.98px) {
  .nav-toggle { display: inline-grid; }
  .header-actions .nav-wa-desktop { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px 16px 24px;
    background: #fff;
    border-bottom: 1px solid var(--ghost);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--ghost);
    background: none;
  }
  .main-nav .nav-wa-mobile { display: inline-flex; margin-top: 16px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 120px 0 64px;
  background: var(--primary-deep);
}
@media (min-width: 1024px) {
  .hero { padding: 136px 0 96px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: drift 20s ease-out forwards;
}
@keyframes drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(35, 57, 83, 0.94) 0%, rgba(35, 57, 83, 0.82) 45%, rgba(35, 57, 83, 0.45) 100%),
    linear-gradient(0deg, rgba(35, 57, 83, 0.6), transparent 40%);
}
.hero-content { display: grid; gap: 40px; }
.hero-copy { max-width: 680px; }
.hero .display { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-primary { background: #fff; color: var(--primary-deep); }
.hero .btn-primary:hover { background: #E2E8F0; color: var(--primary-deep); }

/* Flight search card */
.booking-card {
  max-width: 1080px;
  padding: 20px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--ghost);
  border-radius: var(--radius-hero);
  box-shadow: var(--shadow), 0 24px 48px -18px rgba(15, 23, 42, 0.45);
}
@media (min-width: 768px) { .booking-card { padding: 24px; } }
.booking-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--ghost);
  border-radius: 999px;
}
.seg-btn {
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.seg-btn.is-active { background: var(--primary); color: #fff; }
.booking-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.booking-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr; }
}
.booking-submit { grid-column: 1 / -1; }
.field-box {
  min-width: 0;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--ghost);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field-box:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 80, 107, 0.15);
}
.field-box.is-invalid { border-color: var(--error); background: #FEF3F2; }
.field-label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}
.field-row input,
.field-row select {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  outline: none;
}
.field-row input::placeholder { color: var(--muted); opacity: 1; }
.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--error);
}
.form-status {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 22px;
  border: 1px solid transparent;
  border-radius: 8px;
}
.form-status:empty { display: none; }
.form-status.is-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.form-status.is-error { background: #FEF3F2; border-color: #FECACA; color: #912018; }
.form-status .btn { margin-top: 12px; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-tint { background: var(--bg); }
.section-dark { background: var(--primary-deep); color: #fff; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 40px;
}
.section-head-text { max-width: 640px; }
.section-head-dark .muted { color: #CBD5E1; }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--ghost);
  border-radius: var(--radius-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(58, 80, 107, 0.22);
}
.card-accent { border-top: 3px solid var(--wa); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(58, 80, 107, 0.09);
  color: var(--primary);
}
.card-icon-green { background: rgba(37, 211, 102, 0.16); color: #15803D; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.card-foot .icon { width: 16px; height: 16px; }

/* ---------- Banner ---------- */

.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 380px;
  color: #fff;
  background: var(--primary);
}
.banner-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(35, 57, 83, 0.92), rgba(35, 57, 83, 0.55));
}
.banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.banner-quote {
  max-width: 620px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) {
  .banner-quote { font-size: 48px; line-height: 56px; }
}

/* ---------- Destinations ---------- */

.dest-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--ghost);
  border-radius: var(--radius-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dest-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.dest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dest-card:hover .dest-media img { transform: scale(1.05); }
.dest-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}
.dest-body .h3 { margin-bottom: 6px; }
.dest-body .card-foot { padding-top: 16px; }

/* ---------- How it works ---------- */

.how-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .how-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}
.how-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.steps { list-style: none; margin-top: 16px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #E2E8F0;
}
.step:first-child { padding-top: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}
.step .h3 { margin-bottom: 4px; }
.step p { margin: 0; }

/* ---------- Reviews ---------- */

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.18);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #FDE68A;
  font-size: 14px;
  font-weight: 600;
}
.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
}
.review-card blockquote { margin: 0; flex: 1; }
.review-card p { margin: 0; font-size: 16px; line-height: 26px; color: #E2E8F0; }
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 20px;
}
.review-card .muted { color: #CBD5E1; }
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
}

/* ---------- Enquiry and contact ---------- */

.enquiry-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .enquiry-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}
.enquiry-info .pill { margin-top: 16px; }
.contact-list { list-style: none; margin-top: 28px; }
.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--ghost);
  border-radius: var(--radius-card);
}
.contact-item > span:not(.contact-icon) { flex: 1 1 180px; min-width: 0; }
.contact-item-wa .btn { margin-left: auto; }
.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(58, 80, 107, 0.09);
  color: var(--primary);
}
.contact-icon-green { background: rgba(37, 211, 102, 0.16); color: #15803D; }
.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  display: block;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.enquiry-form-wrap {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--ghost);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) { .enquiry-form-wrap { padding: 36px; } }
.enquiry-form-wrap > .muted { margin-bottom: 24px; }

.form-row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-field > label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--ghost-strong);
  border-radius: var(--radius-input);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 1; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 80, 107, 0.18);
}
.form-field.is-invalid input:not([type="checkbox"]),
.form-field.is-invalid select,
.form-field.is-invalid textarea { border-color: var(--error); }
.form-field .field-error { margin: 0; }
.req { color: var(--error); }
.form-check {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
.form-check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.form-check label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--muted);
}
.form-check .field-error { flex-basis: 100%; padding-left: 30px; }
.form-actions { margin-top: 8px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; } }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
}
.faq-list details {
  margin-bottom: 12px;
  padding: 0 20px;
  background: var(--surface);
  border: 1px solid var(--ghost);
  border-radius: 12px;
  transition: box-shadow 0.3s;
}
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-list details p { margin: 0; padding: 0 0 18px; color: var(--muted); }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0;
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) { .cta { padding: 104px 0; } }
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(35, 57, 83, 0.86), rgba(35, 57, 83, 0.94));
}
.cta-inner { max-width: 720px; }
.cta-inner p { font-size: 18px; line-height: 28px; color: #CBD5E1; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 56px;
  background: #F1F5F9;
  border-top: 1px solid var(--ghost);
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}
.footer-brand p { max-width: 320px; margin: 14px 0 0; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--primary); text-decoration: underline; }
.footer-col .muted { color: var(--muted); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--ghost);
}
.footer-bottom p { margin: 0; }

/* ---------- Motion ---------- */

.js .anim-up {
  opacity: 0;
  animation: rise 0.8s var(--ease) var(--d, 0ms) forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease) var(--delay, 0ms),
    transform 0.75s var(--ease) var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.is-visible:is(.card, .dest-card):hover {
  transform: translateY(-4px);
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .anim-up,
  .js .reveal,
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}
