/* Itinero Experiences — product surface */
:root {
  --xp-navy: #001438;
  --xp-navy-deep: #000c22;
  --xp-ink: #0b1220;
  --xp-muted: #5b6578;
  --xp-orange: #f97211;
  --xp-orange-deep: #e05f00;
  --xp-sand: #f3efe6;
  --xp-mist: #e8eef6;
  --xp-white: #ffffff;
  --xp-line: rgba(0, 20, 56, 0.12);
  --xp-radius: 14px;
  --xp-font: "Outfit", "Segoe UI", sans-serif;
  --xp-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.xp-body {
  margin: 0;
  font-family: var(--xp-font);
  color: var(--xp-ink);
  background: #f7f8fb;
  min-height: 100vh;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Navbar (matches site PageLayout) —— */
.navbar.xp-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0, 20, 57, 0.08);
}

.navbar__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo-text {
  object-fit: contain;
  object-position: left center;
  width: auto;
  max-width: 148px;
  height: 28px;
  display: block;
}

.xp-nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.92rem;
  color: #5b6578;
}

.xp-nav-links a[aria-current="page"] {
  color: var(--xp-navy);
  font-weight: 800;
}

.xp-nav-links a:hover {
  color: var(--xp-navy);
}

.navbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.xp-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--xp-navy);
  color: var(--xp-white);
  font-weight: 700;
  font-size: 0.88rem;
}

@media (min-width: 900px) {
  .xp-nav-links {
    display: flex;
  }
  .navbar__actions {
    margin-left: 0;
  }
}

/* —— Buttons —— */
.xp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.xp-btn:hover {
  transform: translateY(-1px);
}

.xp-btn-primary {
  background: var(--xp-orange);
  color: var(--xp-white);
}

.xp-btn-primary:hover {
  background: var(--xp-orange-deep);
}

.xp-btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--xp-white);
}

.xp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.xp-btn-secondary {
  background: var(--xp-navy);
  color: var(--xp-white);
}

.xp-btn-secondary:hover {
  background: var(--xp-navy-deep);
}

.xp-btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

/* —— Hero —— */
.xp-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--xp-white);
  overflow: hidden;
}

.xp-hero-media {
  position: absolute;
  inset: 0;
}

.xp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: xp-ken 22s ease-in-out infinite alternate;
}

.xp-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 12, 34, 0.25) 0%, rgba(0, 12, 34, 0.55) 45%, rgba(0, 12, 34, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 20, 56, 0.55), transparent 60%);
}

.xp-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--xp-max));
  margin: 0 auto;
  padding: clamp(4.5rem, 12vw, 7rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
  animation: xp-rise 0.9s ease both;
}

.xp-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.xp-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.xp-lede {
  margin: 1rem 0 0;
  max-width: 38ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}

.xp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@keyframes xp-ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes xp-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Search —— */
.xp-search-band {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding: 0 clamp(1rem, 3vw, 2rem) 2rem;
}

.xp-search-inner {
  width: min(100%, var(--xp-max));
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--xp-white);
  border: 1px solid var(--xp-line);
  border-radius: calc(var(--xp-radius) + 4px);
  box-shadow: 0 18px 50px rgba(0, 20, 56, 0.1);
  animation: xp-rise 0.8s 0.15s ease both;
}

.xp-search-inner h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--xp-navy);
}

.xp-search-sub {
  margin: 0.35rem 0 1.1rem;
  color: var(--xp-muted);
}

.xp-search-form {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .xp-search-form {
    grid-template-columns: 1.4fr 1fr 1fr 0.7fr auto;
    align-items: end;
  }
}

.xp-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--xp-muted);
}

.xp-field input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--xp-line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--xp-ink);
  background: #fbfaf7;
}

.xp-field input:focus {
  outline: 2px solid rgba(249, 114, 17, 0.35);
  border-color: var(--xp-orange);
  background: var(--xp-white);
}

.xp-search-submit {
  min-height: 3.1rem;
  padding-inline: 1.6rem;
}

.xp-status {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--xp-muted);
}

.xp-status.is-error {
  color: #b42318;
}

.xp-status.is-ok {
  color: #067647;
}

/* —— Sections —— */
.xp-destinations,
.xp-results,
.xp-how,
.xp-trust {
  width: min(100%, var(--xp-max));
  margin: 0 auto;
  padding: 2.75rem clamp(1rem, 3vw, 2rem);
}

.xp-section-head {
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.xp-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  color: var(--xp-navy);
}

.xp-section-head p {
  margin: 0.45rem 0 0;
  color: var(--xp-muted);
}

.xp-dest-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 800px) {
  .xp-dest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.xp-dest {
  position: relative;
  min-height: 220px;
  border: 0;
  border-radius: var(--xp-radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--xp-white);
  isolation: isolate;
}

.xp-dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.xp-dest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 12, 34, 0.85) 100%);
}

.xp-dest:hover img,
.xp-dest:focus-visible img {
  transform: scale(1.05);
}

.xp-dest-label {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.xp-dest-label strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.xp-dest-label span {
  font-size: 0.88rem;
  opacity: 0.88;
}

/* —— Results —— */
.xp-results-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .xp-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .xp-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.xp-card {
  display: grid;
  grid-template-rows: 180px auto;
  background: var(--xp-white);
  border: 1px solid var(--xp-line);
  border-radius: var(--xp-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.xp-card:hover {
  border-color: rgba(249, 114, 17, 0.45);
  transform: translateY(-2px);
}

.xp-card-media {
  background: var(--xp-mist);
  overflow: hidden;
}

.xp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xp-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.xp-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: var(--xp-muted);
  font-weight: 500;
}

.xp-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--xp-navy);
  line-height: 1.25;
}

.xp-card p {
  margin: 0;
  color: var(--xp-muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xp-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.xp-price {
  font-weight: 800;
  color: var(--xp-navy);
  letter-spacing: -0.02em;
}

.xp-price small {
  display: block;
  font-weight: 500;
  color: var(--xp-muted);
  font-size: 0.75rem;
}

.xp-card-btn {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 0;
  background: var(--xp-navy);
  color: var(--xp-white);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.xp-card-btn:hover {
  background: var(--xp-navy-deep);
}

/* —— How / trust —— */
.xp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 800px) {
  .xp-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.xp-steps li {
  padding: 1.15rem 1.2rem;
  border-top: 3px solid var(--xp-orange);
  background: rgba(255, 255, 255, 0.72);
}

.xp-steps strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--xp-navy);
  font-size: 1.05rem;
}

.xp-steps span {
  color: var(--xp-muted);
  font-size: 0.95rem;
}

.xp-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .xp-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.xp-trust-list li {
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--xp-navy);
  color: var(--xp-muted);
}

.xp-trust-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--xp-navy);
}

/* —— Vero —— */
.xp-vero-band {
  width: min(100%, var(--xp-max));
  margin: 1rem auto 3rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--xp-navy);
  color: var(--xp-white);
  border-radius: calc(var(--xp-radius) + 6px);
  overflow: hidden;
}

.xp-vero-copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.xp-vero-copy p {
  margin: 0.5rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36ch;
}

.xp-vero-face {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  animation: xp-float 3.4s ease-in-out infinite;
}

@keyframes xp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 640px) {
  .xp-vero-band {
    flex-direction: column-reverse;
    text-align: center;
  }
  .xp-vero-copy p {
    margin-inline: auto;
  }
}

/* —— Footer (matches site PageLayout footer) —— */
.footer {
  color: #e8edf4;
  background: #001439;
  border-top: 3px solid #f97211;
  margin-top: 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 0;
}

.footer__inner--simple {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 24px 28px;
  display: flex;
}

.footer__logoLink {
  align-items: center;
  margin-bottom: 14px;
  text-decoration: none;
  display: inline-flex;
}

.footer__logoImg {
  object-fit: contain;
  box-sizing: content-box;
  background: #fff;
  border-radius: 8px;
  width: auto;
  max-width: 160px;
  height: 32px;
  padding: 8px 12px;
}

.footer__tagline {
  color: #ffffffb8;
  max-width: 320px;
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.65;
}

.footer__tagline--center {
  max-width: 420px;
  margin: 0;
}

.footer__tagline em {
  color: #f97211;
  font-style: normal;
  font-weight: 800;
}

.footer__subscribe {
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  display: flex;
}

.footer__subscribeLabel {
  color: #e8edf4;
  font-size: 13px;
  font-weight: 700;
}

.footer__subscribeRow {
  gap: 8px;
  display: flex;
}

.footer__subscribeRow input {
  color: #fff;
  min-width: 0;
  font: inherit;
  background: #ffffff14;
  border: 1px solid #e8edf438;
  border-radius: 10px;
  flex: 1;
  padding: 10px 12px;
}

.footer__subscribeRow input::placeholder {
  color: #e8edf48c;
}

.footer__subscribeRow button {
  color: #fff;
  cursor: pointer;
  background: #f97211;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font: inherit;
}

.footer__subscribeRow button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.footer__subscribeStatus {
  color: #fdba74;
  margin: 0;
  font-size: 13px;
}

.footer__simpleNav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  display: flex;
}

.footer__col-link {
  color: #ffffffc7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col-link:hover {
  color: #fff;
}

.footer__helpCopy {
  color: #ffffffad;
  max-width: 280px;
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.55;
}

.footer__helpCopy--center {
  max-width: 420px;
  margin: 0;
}

.footer__copy {
  margin: 0;
  color: #ffffff8c;
  font-size: 12.5px;
}

/* —— Dialog —— */
.xp-dialog {
  width: min(92vw, 560px);
  border: 0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 12, 34, 0.35);
}

.xp-dialog::backdrop {
  background: rgba(0, 12, 34, 0.55);
}

.xp-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--xp-muted);
}

.xp-dialog-body {
  padding: 1.5rem 1.4rem 1.6rem;
}

.xp-dialog-body h3 {
  margin: 0 1.5rem 0.5rem 0;
  color: var(--xp-navy);
  font-size: 1.25rem;
}

.xp-dialog-body p {
  margin: 0.4rem 0;
  color: var(--xp-muted);
}

.xp-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.xp-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--xp-mist);
  color: var(--xp-navy);
  font-size: 0.75rem;
  font-weight: 700;
}

.xp-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--xp-muted);
  grid-column: 1 / -1;
}

@media (prefers-reduced-motion: reduce) {
  .xp-hero-media img,
  .xp-vero-face,
  .xp-hero-copy,
  .xp-search-inner {
    animation: none;
  }
}
