/* ═══════════════════════════════════════════════════════════════
   20 · FOOTER  (v2 · massively improved)
   Pre-footer CTA · newsletter · featured tours strip ·
   5-col grid · certifications · payments · back-to-top
   ═══════════════════════════════════════════════════════════════ */

/* ╭─────────────────────────────────────────────────╮
   │ PRE-FOOTER · gold "Ready to start" banner       │
   ╰─────────────────────────────────────────────────╯ */
.pre-footer {
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.pre-footer::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
}
.pre-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.pre-footer__title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy-900);
}
.pre-footer__title em { font-style: italic; font-weight: 300; }
.pre-footer__desc {
  font-size: 15px;
  color: rgba(14, 27, 46, 0.8);
  margin-top: 10px;
  max-width: 540px;
}
.pre-footer__actions { display: flex; gap: 14px; flex-shrink: 0; }
.pre-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.pre-footer__btn--primary { background: var(--navy-900); color: #fff; }
.pre-footer__btn--primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(14, 27, 46, 0.4);
}
.pre-footer__btn--ghost {
  background: transparent;
  border: 1.5px solid var(--navy-900);
  color: var(--navy-900);
}
.pre-footer__btn--ghost:hover { background: var(--navy-900); color: #fff; }

/* ╭─────────────────────────────────────────────────╮
   │ MAIN FOOTER                                      │
   ╰─────────────────────────────────────────────────╯ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-500) 80%, transparent);
  opacity: 0.4;
}

/* ─── Newsletter ─── */
.footer__newsletter {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.footer__newsletter::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 158, 92, 0.12), transparent 65%);
}
.footer__newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer__newsletter__icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer__newsletter__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}
.footer__newsletter__title em { color: var(--gold-400); font-style: italic; }
.footer__newsletter__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 480px;
}

.nl-form { display: flex; gap: 8px; }
.nl-form__field { flex: 1; position: relative; }
.nl-form input {
  width: 100%;
  padding: 16px 18px 16px 46px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
}
.nl-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.nl-form input:focus {
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.09);
}
.nl-form__field-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.nl-form__perks {
  display: flex; gap: 18px;
  margin-top: 14px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}
.nl-form__perks span { display: inline-flex; align-items: center; gap: 5px; }
.nl-form__perks svg { color: var(--gold-500); }

/* ─── Featured tours strip ─── */
.footer__featured {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__featured__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer__featured__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}
.footer__featured__see-all {
  font-size: 12px;
  color: var(--gold-400);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: gap 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__featured__see-all:hover { gap: 10px; }
.footer__featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.footer__featured__tour {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.footer__featured__tour:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 158, 92, 0.4);
  transform: translateY(-2px);
}
.footer__featured__tour__img {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.footer__featured__tour__name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.25;
}
.footer__featured__tour__price {
  font-size: 11.5px;
  color: var(--gold-400);
  letter-spacing: 0.04em;
}

/* ─── 5-column grid ─── */
.footer__main {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 50px;
}
.footer__col__logo-wrap { margin-bottom: 24px; }
/* ─── Real footer logo (logo-transparente.webp · native 600×288, ~25:12) ───
   Width-capped, height auto → keeps ratio, scales down cleanly on mobile. */
.footer__logo { display: inline-block; line-height: 0; }
.footer__logo__img {
  width: 250px;
  max-width: 80%;
  height: auto;
  display: block;
}
@media (max-width: 640px) { .footer__logo__img { width: 200px; } }
.footer__about {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 24px;
}

.footer__awards {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer__award {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(201, 158, 92, 0.1);
  border: 1px solid rgba(201, 158, 92, 0.25);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.04em;
}
.footer__award svg { color: var(--gold-500); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s;
  text-decoration: none;
}
.footer__social a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -4px rgba(201, 158, 92, 0.4);
}

.footer__col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}

.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 11px; }
.footer__list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__list a::before {
  content: '→';
  color: var(--gold-500);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}
.footer__list a:hover { color: #fff; }
.footer__list a:hover::before { opacity: 1; transform: translateX(0); }

.footer__contact-item {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer__contact-item__icon {
  width: 22px;
  height: 22px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer__contact-item__lbl {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
}
.footer__contact-item__val {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}
.footer__contact-item__val a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__contact-item__val a:hover { color: var(--gold-400); }
.footer__contact-item__val small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-top: 2px;
}

/* ─── Certifications strip ─── */
.footer__certs {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}.footer__certs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer__certs__label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ─── Animated logo marquee (slow rightward scroll) ─── */
.footer__awards-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.footer__awards-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: footerCertScroll 48s linear infinite;
  will-change: transform;
}
.footer__awards-marquee:hover .footer__awards-track {
  animation-play-state: paused;
}
.footer__cert-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.footer__cert-logo:hover {
  transform: translateY(-3px);
}
/* moves the track to the RIGHT (content enters from the left) */
@keyframes footerCertScroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .footer__awards-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 32px 40px;
  }
}
@media (max-width: 640px) {
  .footer__cert-logo { height: 46px; max-width: 160px; }
  .footer__awards-track { gap: 36px; }
}

/* ─── Bottom bar ─── */
.footer__bottom {
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom__copy { display: flex; align-items: center; gap: 12px; }
.footer__bottom__copy svg { color: var(--gold-500); }

.footer__legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--gold-400); }

.footer__pay {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer__pay__svg {
  height: 30px;
  width: auto;
  max-width: 100%;
  opacity: 1;
  transition: transform 0.2s;
}
.footer__pay__svg:hover { transform: translateY(-1px); }
/* legacy item style kept for compatibility */
.footer__pay__item {
  height: 28px;
  min-width: 46px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.footer__pay__item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ─── Back to top button ─── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 0;
  z-index: var(--z-float);
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   Footer bottom bar · tidy stacking on tablet & mobile
   (was scattered due to space-between + wrap on narrow screens)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 28px 0 8px;
  }
  .footer__bottom__copy {
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    line-height: 1.6;
  }
  .footer__bottom__copy strong { display: block; }
  .footer__legal {
    justify-content: center;
    gap: 10px 20px;
  }
  .footer__pay { justify-content: center; width: 100%; }
  .footer__pay__svg { height: 28px; }
}
@media (max-width: 460px) {
  .footer__bottom__copy { font-size: 12px; }
  .footer__legal { gap: 8px 16px; font-size: 12px; }
  .footer__legal a { padding: 2px 0; }
}
