/* ==========================================================================
   FJ TRAVEL AND TOUR - Core Stylesheet
   Design tokens, base styles, layout primitives, shared components.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #061B3D;
  --navy-800: #0A2D62; /* Primary */
  --navy-700: #143D7A;
  --navy-600: #1E4E96;
  --navy-050: #EEF2F9;

  --gold-700: #8F7220;
  --gold-600: #B8942C;
  --gold-500: #D4AF37; /* Accent */
  --gold-400: #E0C463;
  --gold-100: #F8F1DC;

  /* Neutrals */
  --white: #FFFFFF;
  --neutral-50: #F8F9FB;
  --neutral-100: #F1F3F7;
  --neutral-200: #E4E8EF;
  --neutral-300: #CFD6E2;
  --neutral-400: #9AA6B8;

  /* Text. Contrast ratios measured against white. */
  --ink: #0F1B2D;        /* Headings, 16.6:1 */
  --body: #475569;       /* Body copy, 7.4:1 */
  --muted: #64748B;      /* Secondary, 4.8:1 */
  --on-dark: #FFFFFF;
  --on-dark-soft: #C6D2E6;

  /* Feedback */
  --success: #0F7B4F;
  --success-bg: #E7F5EE;
  --danger: #B3261E;
  --danger-bg: #FCECEB;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-sunken: #F8F9FB;
  --border: #E4E8EF;
  --border-strong: #CFD6E2;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Elevation, restrained to three steps */
  --e-1: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .04);
  --e-2: 0 4px 12px rgba(15, 27, 45, .07), 0 2px 4px rgba(15, 27, 45, .04);
  --e-3: 0 12px 32px rgba(15, 27, 45, .10), 0 4px 8px rgba(15, 27, 45, .04);

  /* Spacing, 4/8 rhythm */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: 20px;
  --section-y: clamp(56px, 7vw, 104px);

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

  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.5rem, 1.15rem + 1.5vw, 2rem);
  --t-3xl: clamp(1.75rem, 1.25rem + 2.2vw, 2.5rem);
  --t-4xl: clamp(2.05rem, 1.35rem + 3.1vw, 3.25rem);

  /* Motion */
  --ease: cubic-bezier(.32, .72, .35, 1);
  --dur-fast: 140ms;
  --dur: 220ms;

  /* Layers */
  --z-sticky: 100;
  --z-header: 200;
  --z-drawer: 300;
  --z-toast: 400;
}

/* Light-only product. Declared so browsers do not auto-invert colours. */
html { color-scheme: light; }

/* Inlined icon sprite. Never rendered directly, only referenced by <use>. */
.icon-sprite { display: none; }

/* --------------------------------------------------------------------------
   2. RESET AND BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-md);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 var(--s-4);
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: var(--t-4xl); font-weight: 700; }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-600); }

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

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li { margin-bottom: var(--s-2); }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-10) 0; }

/* Focus is never removed. */
:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.site-footer :focus-visible,
.topbar :focus-visible,
.hero :focus-visible,
.section--navy :focus-visible { outline-color: var(--gold-400); }

::selection { background: var(--navy-800); color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--sunken { background: var(--surface-sunken); }
.section--navy { background: var(--navy-800); color: var(--on-dark-soft); }
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }

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

.skip-link {
  position: absolute;
  left: var(--s-4); top: -100px;
  z-index: var(--z-toast);
  background: var(--navy-800); color: #fff;
  padding: 12px 20px; border-radius: var(--r-md);
  font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-4); color: #fff; }

.text-center { text-align: center; }

/* Section heading block */
.section-head { max-width: 680px; margin-bottom: var(--s-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px;
  background: var(--gold-500); border-radius: 2px; flex: none;
}
.section--navy .eyebrow,
.hero .eyebrow { color: var(--gold-400); }

.section-head p {
  font-size: var(--t-md);
  color: var(--muted);
  margin-top: var(--s-3);
}
.section--navy .section-head p { color: var(--on-dark-soft); }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: var(--t-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; flex: none; }

/* Primary: gold field with navy text, measured at 6.5:1. */
.btn--primary { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn--primary:hover:not(:disabled) { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-900); box-shadow: var(--e-2); }

.btn--navy { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--navy:hover:not(:disabled) { background: var(--navy-700); border-color: var(--navy-700); color: #fff; box-shadow: var(--e-2); }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--border-strong); }
.btn--outline:hover:not(:disabled) { border-color: var(--navy-800); background: var(--navy-050); color: var(--navy-800); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover:not(:disabled) { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 16px 32px; font-size: var(--t-md); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: var(--t-sm);
  color: var(--navy-700); text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--navy-600); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. TOPBAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  font-size: var(--t-sm);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: 42px; flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: var(--s-5); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar__list li { margin: 0; }
.topbar a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark-soft); text-decoration: none; padding: 6px 0;
}
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold-500); flex: none; }
.topbar__tag { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tag .icon { color: var(--gold-500); }

@media (max-width: 900px) { .topbar__tag { display: none; } }
@media (max-width: 560px) { .topbar__list { gap: var(--s-4); font-size: var(--t-xs); } }

/* --------------------------------------------------------------------------
   6. HEADER AND NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--e-2); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6); min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.0625rem; color: var(--navy-800);
  letter-spacing: .01em; white-space: nowrap;
}
.brand__tag {
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-600); white-space: nowrap;
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  position: relative; display: block;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: .9375rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--navy-700); background: var(--navy-050); }
.nav__link[aria-current="page"] { color: var(--navy-800); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--gold-500); border-radius: 2px;
}

.header__cta { display: flex; align-items: center; gap: var(--s-3); flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md); cursor: pointer; color: var(--navy-800);
  transition: background-color var(--dur) var(--ease);
}
.burger:hover { background: var(--navy-050); }
.burger .icon { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer[data-open="true"] { visibility: visible; }

.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(6, 27, 61, .55);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
  padding: var(--s-5) var(--s-5) var(--s-8);
  box-shadow: var(--e-3);
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }

.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-6); }
.drawer__close {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  background: transparent; cursor: pointer; color: var(--navy-800);
}
.drawer__close .icon { width: 20px; height: 20px; }

.drawer__nav { list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.drawer__nav li { margin: 0; border-bottom: 1px solid var(--border); }
.drawer__nav a {
  display: block; padding: 15px 4px;
  font-family: var(--font-heading); font-size: var(--t-md); font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.drawer__nav a:hover { color: var(--navy-700); }
.drawer__nav a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }

.drawer__contact { margin-top: auto; padding-top: var(--s-6); border-top: 1px solid var(--border); }
.drawer__contact a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; color: var(--body); text-decoration: none; font-size: var(--t-sm);
}
.drawer__contact .icon { width: 17px; height: 17px; color: var(--navy-700); flex: none; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta .btn--quote { display: none; }
}
@media (max-width: 420px) {
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: .9375rem; }
}

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. CARDS AND GRIDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Service card */
.card-service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card-service:hover { border-color: var(--navy-300, var(--border-strong)); box-shadow: var(--e-2); }
.card-service__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-050);
  border-radius: var(--r-md);
  color: var(--navy-800);
  margin-bottom: var(--s-5);
}
.card-service__icon .icon { width: 26px; height: 26px; }
.card-service h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.card-service p { font-size: var(--t-base); color: var(--muted); margin-bottom: 0; }

/* Destination card */
.card-dest {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card-dest:hover { box-shadow: var(--e-3); border-color: var(--border-strong); transform: translateY(-3px); }

.card-dest__media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--navy-050);
  overflow: hidden;
}
.card-dest__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.card-dest:hover .card-dest__media img { transform: scale(1.04); }

.card-dest__region {
  position: absolute; top: 12px; left: 12px;
  background: rgba(6, 27, 61, .82);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

.card-dest__body { padding: var(--s-6); display: flex; flex-direction: column; flex: 1; }
.card-dest__body h3 { font-size: var(--t-lg); margin-bottom: 2px; }
.card-dest__country {
  font-size: var(--t-sm); color: var(--gold-600);
  font-weight: 600; margin-bottom: var(--s-3);
  display: block;
}
.card-dest__body p { font-size: var(--t-base); color: var(--muted); margin-bottom: var(--s-5); flex: 1; }

/* Value / why-choose-us item */
.value-item {
  display: flex; gap: var(--s-4);
  padding: var(--s-6) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.value-item:last-child { border-bottom: 0; }
.value-item__icon {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-500);
  border-radius: var(--r-md);
  color: var(--gold-500);
}
.value-item__icon .icon { width: 22px; height: 22px; }
.value-item h3 { font-size: var(--t-base); margin-bottom: 4px; color: #fff; }
.value-item p { font-size: var(--t-base); color: var(--on-dark-soft); margin: 0; }

/* Package card */
.card-pkg {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card-pkg:hover { border-color: var(--border-strong); box-shadow: var(--e-2); }
.card-pkg__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-100); border-radius: var(--r-md);
  color: var(--gold-700); margin-bottom: var(--s-5);
}
.card-pkg__icon .icon { width: 26px; height: 26px; }
.card-pkg h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.card-pkg p { font-size: var(--t-base); color: var(--muted); }
.card-pkg__list {
  list-style: none; padding: 0;
  margin: var(--s-4) 0 var(--s-6);
  font-size: var(--t-base);
  flex: 1;
}
.card-pkg__list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--body); margin-bottom: 10px;
}
.card-pkg__list .icon { width: 17px; height: 17px; color: var(--gold-600); flex: none; margin-top: 4px; }

/* --------------------------------------------------------------------------
   8. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }

.form-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
}
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; }

.field label {
  font-family: var(--font-heading);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--danger); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--neutral-400); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--neutral-400); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 78, 150, .16);
}

.field__help {
  font-size: var(--t-sm);
  color: var(--muted);
  margin-top: 6px;
}

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--danger);
  margin-top: 6px;
}
.field__error .icon { width: 15px; height: 15px; flex: none; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.field.has-error .field__error { display: flex; }

/* Honeypot, hidden from humans but present for bots. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Form-level status message */
.form-status {
  display: none;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: var(--t-base);
  border: 1px solid transparent;
}
.form-status[data-state="success"] { display: flex; background: var(--success-bg); border-color: #B7E0CB; color: #0B5C3B; }
.form-status[data-state="error"] { display: flex; background: var(--danger-bg); border-color: #F1C4C1; color: #8C1E17; }
.form-status .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-status strong { display: block; margin-bottom: 2px; }

.form-note {
  display: flex; gap: 10px;
  padding: 14px 16px;
  background: var(--navy-050);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--t-base);
  color: var(--body);
}
.form-note .icon { width: 19px; height: 19px; color: var(--navy-700); flex: none; margin-top: 3px; }

.consent {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: var(--t-sm); color: var(--muted);
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px; min-height: 0;
  margin: 2px 0 0; flex: none;
  accent-color: var(--navy-800);
  cursor: pointer;
}
.consent label { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: var(--t-sm); color: var(--muted); }

/* The consent checkbox sits inside a .field so its error message can render
   below the row. Reset the text-input styling the wrapper would otherwise
   apply, and mark the invalid state with an outline rather than a border. */
.field--consent > label { display: none; }
.field.field--consent.has-error input[type="checkbox"] {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}
.field.field--consent.has-error .consent label { color: var(--danger); }

/* Button loading state */
.btn__spinner { display: none; width: 18px; height: 18px; flex: none; }
.btn.is-loading .btn__spinner { display: block; animation: spin 800ms linear infinite; }
.btn.is-loading .btn__label { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); font-size: var(--t-base); }

.footer__top { padding-block: var(--s-20) var(--s-12); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--s-10);
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-10) var(--s-8); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--gold-500); }
.footer__about { margin-top: var(--s-5); color: var(--on-dark-soft); font-size: var(--t-base); max-width: 34ch; }

.footer__title {
  font-family: var(--font-heading);
  font-size: var(--t-base); font-weight: 600; color: #fff;
  margin: 0 0 var(--s-5);
}

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 11px; }
.footer__list a { color: var(--on-dark-soft); text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; }

.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: var(--s-4); }
.footer__contact .icon { width: 17px; height: 17px; color: var(--gold-500); flex: none; margin-top: 4px; }
.footer__contact a, .footer__contact span { color: var(--on-dark-soft); text-decoration: none; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }

/* Newsletter */
.newsletter { margin-top: var(--s-6); }
.newsletter__form { display: flex; gap: var(--s-2); margin-top: var(--s-3); flex-wrap: wrap; }
.newsletter__form input[type="email"] {
  flex: 1 1 190px;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-md);
}
.newsletter__form input::placeholder { color: #8FA3C2; }
.newsletter__form input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, .11);
}
.newsletter__msg { font-size: var(--t-sm); margin-top: 10px; min-height: 20px; }
.newsletter__msg[data-state="success"] { color: #8FE3BC; }
.newsletter__msg[data-state="error"] { color: #F2AFAB; }

/* Social */
.social { display: flex; gap: 10px; margin-top: var(--s-6); }
.social a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-md);
  color: var(--on-dark-soft);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.social a:hover { border-color: var(--gold-500); color: var(--gold-500); background: rgba(212, 175, 55, .08); }
.social .icon { width: 19px; height: 19px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: var(--s-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  font-size: var(--t-sm);
}
.footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }
.footer__legal a { color: var(--on-dark-soft); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   10. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: var(--z-sticky);
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1FA855; color: #fff;
  border-radius: 50%;
  box-shadow: var(--e-3);
  transition: background-color var(--dur) var(--ease);
}
.wa-float:hover { background: #17924A; color: #fff; }
.wa-float .icon { width: 27px; height: 27px; }

/* --------------------------------------------------------------------------
   11. PAGE HEADER (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  background: var(--navy-800);
  color: var(--on-dark-soft);
  padding-block: clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../images/brand/pattern-routes.svg");
  background-size: cover;
  background-position: center right;
  opacity: .5;
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 1; max-width: 720px; }
.page-head h1 { color: #fff; margin-bottom: var(--s-4); }
.page-head p { color: var(--on-dark-soft); font-size: var(--t-md); margin-bottom: 0; }

.breadcrumb { margin-bottom: var(--s-4); font-size: var(--t-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--on-dark-soft); }
.breadcrumb li + li::before { content: "/"; color: rgba(198, 210, 230, .5); }
.breadcrumb a { color: var(--on-dark-soft); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   12. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .card-dest:hover { transform: none; }
  .card-dest:hover .card-dest__media img { transform: none; }
}

/* --------------------------------------------------------------------------
   13. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .drawer, .wa-float, .site-footer, .btn { display: none !important; }
  body { color: #000; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}
