@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Darker+Grotesque:wght@300..900&display=swap');


/* ---------------- Base ---------------- */
:root {
  --text-soft: rgba(255, 255, 255, .88);
  --timeline-line: rgba(255, 255, 255, .35);
  --timeline-dot: #fff;

  --card-stroke: rgba(255, 255, 255, .35);
  --card-bg: rgba(255, 255, 255, .05);
  --card-bg-hover: rgba(255, 255, 255, .08);
  --card-glow: 0 12px 40px rgba(0, 0, 0, .35);
}

html,
body {
  height: 100%;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #fff;
  background: #000;
}

/* ---------------- HERO ---------------- */
.hero {
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, #000 100%);
  pointer-events: none;
}

/* Banda superior con clip-path */
.top-clip{
  height: 180px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 50% 15%, 0 30%);
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.6) 0%,
    rgba(0,0,0,.35) 100%
  );
}

.top-clip .container{
  padding-top: 1.25rem;
}

.hero .container{
  z-index: 4;
  position: relative;
}

.hero-title {
  font-family: "Darker Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .02em;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .55);
  font-size: clamp(2rem, 2.2rem + 2.5vw, 4.2rem);
}

.hero-lead {
  font-size: clamp(1rem, .95rem + .5vw, 1.25rem);
  max-width: 60ch;
  color: var(--text-soft);
  text-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

/* CTA */
.btn-cta {
  --btn-border: rgba(255, 255, 255, .7);
  --btn-bg: rgba(255, 255, 255, .08);
  --btn-bg-hover: rgba(255, 255, 255, .16);
  --btn-shadow: 0 10px 30px rgba(0, 0, 0, .35);

  color: #fff;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  border-radius: 999px;
  padding: .9rem 1.4rem;
  backdrop-filter: blur(4px);
  box-shadow: var(--btn-shadow);
  font-weight: 600;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--btn-bg-hover);
  border-color: #fff;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.btn-cta .ph {
  transition: transform .15s ease;
}

.btn-cta:hover .ph {
  transform: translateX(4px);
}

/* ---------------- Section: Sobre el tour ---------------- */
.section-tour {
  padding: clamp(3rem, 4vw, 5rem) 0;
}

.section-title {
  font-family: "Darker Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  margin-bottom: 1.25rem;
}

.lead-contrast {
  color: var(--text-soft);
  font-size: clamp(1rem, .98rem + .35vw, 1.2rem);
  line-height: 1.7;
}

/* --- Imagen principal del tour --- */
.tour-figure {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.tour-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 1s ease;
}

/* ------------- Timeline ------------- */
.timeline {
  position: relative;
  display: grid;
  gap: 2.2rem;
  padding-left: .25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .25rem;
  bottom: .25rem;
  width: 1.5px;
  background: var(--timeline-line);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Item layout */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 1.25rem;
}

/* --- Miniaturas del timeline --- */
.timeline-media {
  width: 100%;
  max-width: 220px;
  height: 140px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Efecto hover en las miniaturas */
.timeline-media:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Dot */
.timeline-dot {
  width: 10px;
  height: 10px;
  background: var(--timeline-dot);
  border-radius: 999px;
  justify-self: center;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .08);
}

/* Label */
.timeline-label {
  font-family: "Darker Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: right;
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + .9vw, 1.8rem);
  color: #fff;
}

/* ------------------ LO QUE INCLUYE ------------------ */
.includes-section {
  position: relative;
  padding: clamp(3rem, 5vw, 6rem) 0 8rem;
}

.includes-bg {
  position: absolute;
  inset: 0;
  background: url("../MEDIA/footer.jpg") center/cover no-repeat;
  z-index: 0;
}

.includes-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 42.31%);
  z-index: 1;
}

.includes-section .container {
  position: relative;
  z-index: 2;
}

.text-muted-hero {
  color: rgba(255, 255, 255, .8);
}

/* Cards */
.include-card {
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: var(--card-glow);
  backdrop-filter: blur(4px);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  height: 100%;
}

.include-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .65);
  background: var(--card-bg-hover);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .45);
}

.icn {
  font-size: 28px;
  margin-bottom: .35rem;
  opacity: .95;
}

.include-title {
  font-family: "Darker Grotesque", system-ui;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.35rem;
  margin-bottom: .25rem;
}

.include-text {
  color: var(--text-soft);
  font-size: .98rem;
}

/* Suscripción glass */
.subscribe-glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.subscribe-title {
  font-family: "Darker Grotesque", system-ui;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.05;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem);
  margin-bottom: .75rem;
}

.subscribe-text {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.subscribe-form .form-control {
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.subscribe-form .form-control::placeholder {
  color: rgba(255, 255, 255, .6);
}

.subscribe-form .form-control:focus {
  box-shadow: none;
  border-bottom-color: #fff;
}

/* Botón outline para el glass */
.btn-cta-outline {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
  padding: .8rem 1.2rem;
  backdrop-filter: blur(4px);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  transform: translateY(-1px);
}

.whatsapp-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 62px;
  height: 62px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  z-index: 9999;
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ----- Banda inferior con clip-path ----- */
.bottom-clip{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.75) 100%
  );
  clip-path: polygon(0% 100%, 100% 100%, 100% 70%, 49% 85%, 0 70%);
  z-index: 3;
  pointer-events: none;
}


/* --------- Responsive --------- */
@media (max-width: 992px) {
  .timeline::before {
    left: 24px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "dot label"
      ".   media";
    align-items: start;
  }

  .timeline-dot {
    grid-area: dot;
    margin-top: .45rem;
  }

  .timeline-label {
    grid-area: label;
    text-align: left !important;
    justify-self: start !important;
  }

  .timeline-media {
    grid-area: media;
    justify-self: start !important;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .tour-figure {
    height: 280px;
  }

  .timeline-media {
    max-width: 100%;
    height: 120px;
  }
}


/* Area segura en dispositivos pequeños */
@supports(padding:max(0px)) {
  .hero .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}