@charset "UTF-8";

/* ============================================================
   PACHA MAMA SPIRIT — Landing de campañas publicitarias (Ads)
   Paleta: teal #2aa8a8 · navy #1a2e45 · gold #d4a843 · bg #f7f8fa
   ============================================================ */

:root {
  --lp-teal: #2aa8a8;
  --lp-teal-dark: #238f8f;
  --lp-navy: #1a2e45;
  --lp-navy-soft: #24405f;
  --lp-gold: #d4a843;
  --lp-gold-dark: #b98d2e;
  --lp-bg: #f7f8fa;
  --lp-white: #ffffff;
  --lp-text: #1e1e1e;
  --lp-muted: #6b7280;
  --lp-border: #e5e9ef;
  --lp-radius: 16px;
  --lp-shadow: 0 10px 30px rgba(26, 46, 69, 0.12);
  --lp-shadow-lg: 0 20px 50px rgba(26, 46, 69, 0.22);
  --lp-header-h: 64px;
}

.lp-page {
  font-family: "Quicksand", "Segoe UI", sans-serif;
  color: var(--lp-text);
  background: var(--lp-bg);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.lp-page * { box-sizing: border-box; }

.lp-page h1, .lp-page h2, .lp-page h3, .lp-page h4 {
  font-family: "Josefin Sans", "Segoe UI", sans-serif;
  color: var(--lp-navy);
  margin: 0;
}

.lp-page img { max-width: 100%; display: block; }

.lp-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-section { padding: 38px 0; }
.lp-section--alt { background: var(--lp-white); }

.lp-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-teal-dark);
  background: rgba(42, 168, 168, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.lp-section-title {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 8px;
}

.lp-section-lead {
  color: var(--lp-muted);
  font-size: 0.94rem;
  max-width: 560px;
  margin: 0 auto 22px;
}

.lp-center { text-align: center; }

/* ---------- Top utility bar ----------
   Mobile-first: only phone + language switch show by default (the
   essentials for a thumb on a small screen). Email, social icons and
   the booking CTA reveal progressively as width allows, so nothing
   wraps into a cramped second/third row on small phones. */
.lp-topbar {
  background: var(--lp-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.lp-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 20px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.lp-topbar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-topbar a:hover { color: var(--lp-gold); }
.lp-topbar__info { display: flex; align-items: center; gap: 16px; }
.lp-topbar__email { display: none; }
.lp-topbar__actions { display: flex; align-items: center; gap: 10px; }
.lp-lang-switch {
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 3px 12px;
  border-radius: 999px;
}
.lp-lang-switch:hover { border-color: var(--lp-gold); }

.lp-topbar__social { display: none; align-items: center; gap: 6px; }
.lp-topbar__social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lp-topbar__social a:hover { transform: translateY(-2px); color: var(--lp-white); }
.lp-topbar__social a.whatsapp:hover { background: #25d366; }
.lp-topbar__social a.facebook:hover { background: #1877f2; }
.lp-topbar__social a.instagram:hover { background: linear-gradient(135deg, #fd5949, #d6249f 60%, #285AEB); }
.lp-topbar__social a.tripadvisor:hover { background: #34e0a1; }
.lp-topbar__social a.youtube:hover { background: #ff0000; }
.lp-topbar__cta { display: none; }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1.1;
}
.lp-btn:hover { transform: translateY(-3px); }
.lp-btn:active { transform: translateY(-1px); }
.lp-btn--primary {
  background: var(--lp-gold);
  color: var(--lp-navy);
  box-shadow: 0 12px 24px rgba(212, 168, 67, 0.35);
}
.lp-btn--primary:hover { background: var(--lp-gold-dark); color: var(--lp-navy); }
.lp-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--lp-white);
}
.lp-btn--outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--lp-white); }
.lp-btn--teal {
  background: var(--lp-teal);
  color: var(--lp-white);
  box-shadow: 0 12px 24px rgba(42, 168, 168, 0.3);
}
.lp-btn--teal:hover { background: var(--lp-teal-dark); color: var(--lp-white); }
.lp-btn--ghost {
  background: var(--lp-white);
  border-color: var(--lp-border);
  color: var(--lp-navy);
}
.lp-btn--ghost:hover { border-color: var(--lp-teal); color: var(--lp-teal-dark); }
.lp-btn--block { width: 100%; }
.lp-btn--sm { padding: 8px 16px; min-height: 36px; font-size: 0.82rem; }

.lp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 0 44px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.82) 0%, rgba(10, 18, 30, 0.72) 45%, rgba(10, 18, 30, 0.9) 100%),
    url("/img/machu-picchu-travel.webp") center/cover no-repeat;
  color: var(--lp-white);
  text-align: center;
  overflow: hidden;
}
.lp-hero__logo { width: 170px; margin: 0 auto 14px; }
.lp-hero .lp-hero__title {
  color: var(--lp-teal);
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 0, 0, 0.55);
  max-width: 780px;
  margin: 0 auto 10px;
}
.lp-hero__title span { color: var(--lp-gold); }
.lp-hero__subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  max-width: 560px;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.lp-hero-ctas { margin-bottom: 18px; }
.lp-hero__trust {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}
.lp-trust-item strong { color: var(--lp-white); font-size: 1rem; }
.lp-trust-item .icon-star, .lp-trust-item .icon-star-half-o { color: var(--lp-gold); }

.lp-scroll-cue {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
  animation: lp-bounce 1.8s ease-in-out infinite;
}
@keyframes lp-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}


/* ---------- Tours by duration ---------- */
.lp-tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 575.98px) {
  /* With an odd tour count (5), the last card would sit alone at 50%
     width in the 2-column mobile grid — stretch it to fill the row. */
  .lp-tour-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.lp-tour-card {
  position: relative;
  border-radius: var(--lp-radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--lp-white);
  box-shadow: var(--lp-shadow);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.lp-tour-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 46, 69, 0.15) 0%, rgba(15, 24, 36, 0.88) 100%);
  z-index: -1;
  transition: background 0.3s ease;
}
.lp-tour-card:hover::before { background: linear-gradient(180deg, rgba(42, 168, 168, 0.25) 0%, rgba(15, 24, 36, 0.9) 100%); }
.lp-tour-card:hover, .lp-tour-card:hover * { text-decoration: none; }
.lp-tour-card:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow-lg); }
.lp-tour-card__body { padding: 18px; width: 100%; }
.lp-tour-card__days {
  font-family: "Josefin Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.lp-tour-card__days small { font-size: 0.95rem; font-weight: 600; display: block; margin-top: 2px; }
.lp-tour-card__label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.9); margin: 6px 0 10px; }
.lp-tour-card__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(212, 168, 67, 0.9);
  color: var(--lp-navy);
  padding: 4px 10px;
  border-radius: 999px;
}
.lp-tour-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lp-tour-card:hover .lp-tour-card__arrow { background: var(--lp-gold); color: var(--lp-navy); transform: translateX(3px); }

.lp-tours-more { text-align: center; margin-top: 18px; }

/* ---------- Nosotros / About ---------- */
.lp-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.lp-about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.lp-stat {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.lp-stat__num {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lp-teal-dark);
}
.lp-stat__label { font-size: 0.76rem; color: var(--lp-muted); margin-top: 2px; }
.lp-about__img { border-radius: var(--lp-radius); overflow: hidden; box-shadow: var(--lp-shadow); }
.lp-about__img img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.lp-about p { color: var(--lp-muted); line-height: 1.6; margin-bottom: 10px; font-size: 0.92rem; }
.lp-about__cta { margin-top: 16px; }

/* ---------- FAQ (parallax banner) ---------- */
.lp-parallax {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}
.lp-parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.82) 0%, rgba(10, 18, 30, 0.72) 50%, rgba(10, 18, 30, 0.86) 100%);
}
.lp-parallax__content { position: relative; z-index: 1; max-width: 640px; }
.lp-parallax__content .lp-section-title { color: var(--lp-white); }
.lp-parallax__content .lp-section-lead { color: rgba(255, 255, 255, 0.85); }
.lp-parallax__content .lp-btn { margin-top: 4px; }
@supports (-webkit-touch-callout: none) {
  /* iOS Safari ignores background-attachment: fixed — fall back to scroll (no visual bug, just no parallax). */
  .lp-parallax { background-attachment: scroll; }
}

/* ---------- Contacto ---------- */
.lp-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.lp-contact-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  color: var(--lp-navy);
  box-shadow: var(--lp-shadow);
  transition: transform 0.2s ease;
}
.lp-contact-card:hover { transform: translateY(-4px); color: var(--lp-teal-dark); text-decoration: none; }
.lp-contact-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(42, 168, 168, 0.12);
  color: var(--lp-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin: 0 auto 8px;
}
.lp-contact-card__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lp-muted); margin-bottom: 2px; }
.lp-contact-card__value { font-weight: 700; font-size: 0.92rem; }

/* ---------- Formulario ---------- */
.lp-form-wrap {
  background: var(--lp-navy);
  border-radius: 20px;
  padding: 26px 18px;
  color: var(--lp-white);
  box-shadow: var(--lp-shadow-lg);
}
.lp-form-wrap .lp-section-title { color: var(--lp-white); }
.lp-form-wrap .lp-section-lead { color: rgba(255, 255, 255, 0.75); }
.lp-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}
.lp-form__row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.lp-field { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.lp-field label { font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.lp-field input, .lp-field select, .lp-field textarea {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lp-white);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.88rem;
  min-height: 40px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lp-field textarea { min-height: 72px; resize: vertical; }
.lp-field input::placeholder, .lp-field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus {
  outline: none;
  border-color: var(--lp-gold);
  background: rgba(255, 255, 255, 0.13);
}
.lp-field select option { color: var(--lp-text); }
.lp-form__submit { margin-top: 4px; text-align: center; }
.lp-form__note { font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); margin-top: 10px; text-align: center; }

.lp-alert {
  max-width: 680px;
  margin: 0 auto 14px;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}
.lp-alert--success { background: rgba(52, 224, 161, 0.16); color: #0f7a52; border: 1px solid rgba(52, 224, 161, 0.4); }
.lp-form-wrap .lp-alert--success { color: #6ff0c0; border-color: rgba(111, 240, 192, 0.4); background: rgba(111, 240, 192, 0.12); }

/* ---------- Footer ---------- */
.lp-footer {
  background: #0f1a29;
  color: rgba(255, 255, 255, 0.65);
  padding: 26px 0 16px;
  text-align: center;
}
.lp-footer img { height: 34px; margin: 0 auto 10px; }
.lp-footer__links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; margin-bottom: 12px; }
.lp-footer__links a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.lp-footer__links a:hover { color: var(--lp-white); }
.lp-footer__copy { font-size: 0.74rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- Sticky mobile CTA bar ---------- */
.lp-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--lp-white);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}
.lp-sticky-cta.is-visible { transform: translateY(0); }
.lp-sticky-cta .lp-btn { flex: 1; padding: 12px 10px; font-size: 0.88rem; }

/* ---------- Formulario en popup ---------- */
.lp-contact-cta {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
}

.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lp-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
.lp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 41, 0.72);
  backdrop-filter: blur(2px);
}
.lp-modal__dialog {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.lp-modal.is-open .lp-modal__dialog { transform: translateY(0) scale(1); }
.lp-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--lp-white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lp-modal__close:hover { background: rgba(255, 255, 255, 0.24); }
html.lp-modal-open { overflow: hidden; }

/* ---------- Success overlay (after form submit) ---------- */
.lp-success-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lp-success-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
.lp-success-modal__dialog {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 36px 28px 28px;
  border-radius: var(--lp-radius);
  background: var(--lp-white);
  box-shadow: var(--lp-shadow-lg);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.lp-success-modal.is-open .lp-success-modal__dialog { transform: translateY(0) scale(1); }
.lp-success-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(52, 224, 161, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-success-modal__icon svg { width: 32px; height: 32px; stroke: #0f7a52; }
.lp-success-modal__title { font-size: 1.2rem; color: var(--lp-navy); margin-bottom: 8px; }
.lp-success-modal__text { color: var(--lp-muted); font-size: 0.92rem; line-height: 1.5; margin-bottom: 14px; }
.lp-success-modal__redirect { font-size: 0.78rem; color: var(--lp-muted); margin-bottom: 18px; }
.lp-success-modal__redirect span { font-weight: 700; color: var(--lp-teal-dark); }
.lp-success-modal .lp-modal__close { background: rgba(26, 46, 69, 0.08); color: var(--lp-navy); }
.lp-success-modal .lp-modal__close:hover { background: rgba(26, 46, 69, 0.16); }

/* ---------- Reveal on scroll ----------
   Visible by default (no-JS / JS-failure safe). JS only ever *adds*
   the armed state right before observing, so a slow/blocked CDN
   script can never leave content stuck invisible. */
.lp-reveal { opacity: 1; transform: none; }
.lp-reveal.is-armed {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-reveal.is-armed.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 576px) {
  .lp-tours-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-form__row { grid-template-columns: 1fr 1fr; }
  .lp-topbar__email { display: inline-flex; }
}

@media (max-width: 767.98px) {
  .lp-about__cta { text-align: center; }
}

@media (min-width: 768px) {
  .lp-hero { min-height: 460px; }
  .lp-about { grid-template-columns: 1.1fr 0.9fr; }
  .lp-form-wrap { padding: 34px 44px; }
  .lp-topbar__social { display: flex; }
}

@media (min-width: 992px) {
  .lp-topbar__cta { display: inline-flex; }
  .lp-tours-grid { grid-template-columns: repeat(5, 1fr); }
  .lp-contact-grid { grid-template-columns: repeat(4, 1fr); }
  .lp-sticky-cta { display: none; }
  .lp-section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal.is-armed { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lp-scroll-cue { animation: none; }
  .lp-btn:hover, .lp-tour-card:hover, .lp-social-card:hover, .lp-contact-card:hover { transform: none; }
}
