:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --text: #f5f5f5;
  --text-soft: #b8b8b8;
  --primary: #ffffff;
  --primary-dark: #cecece;
  --surface: #101010;
  --surface-2: #141414;
  --border: #252525;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #181818 0%, #050505 55%);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  transition: transform 0.28s ease;
}

.logo img {
  width: 100%;
  display: block;
}

.logo:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: #d1d1d1;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #0d0d0d;
  color: var(--text);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.hero {
  min-height: 82vh;
  display: grid;
  place-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.65)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 760px;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-logo {
  width: min(130px, 65%);
  margin-bottom: 0.8rem;
  animation: floatUpDown 4.3s ease-in-out infinite;
}

.eyebrow {
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: #ffffff;
  color: #0d0d0d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.section {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.plan-card,
.reserve-form,
.reserve-steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.section-title {
  margin-bottom: 1.6rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
}

.destinations-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.destination-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.destination-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.destination-info {
  padding: 1rem;
}

.plans {
  background: linear-gradient(to bottom, #080808, #0d0d0d);
}

.plans-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.chip {
  border: 1px solid var(--border);
  background: #101010;
  color: #d6d6d6;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.chip.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #101010;
  font-weight: 600;
}

.plans-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.plan-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
}

.plan-card.hidden {
  display: none;
}

.reserve-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

li {
  margin: 0.4rem 0;
  color: var(--text-soft);
}

label {
  display: block;
  margin-top: 0.8rem;
  font-weight: 500;
}

input,
select {
  width: 100%;
  margin-top: 0.35rem;
  background: #0e0e0e;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
  font-family: inherit;
}

input:focus,
select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.reserve-form .btn {
  margin-top: 1rem;
  width: 100%;
}

.form-message {
  margin-top: 0.7rem;
  min-height: 24px;
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #090909;
}

.contact-highlight {
  background: #060606;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card {
  background: #101010;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.contact-tag {
  color: #f3f3f3;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.card,
.plan-card,
.destination-card,
.contact-card,
.reserve-form,
.reserve-steps {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.destination-card:hover,
.contact-card:hover,
.reserve-form:hover,
.reserve-steps:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

textarea {
  width: 100%;
  margin-top: 0.35rem;
  background: #0e0e0e;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
  font-family: inherit;
  resize: vertical;
}

textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.social-section {
  margin-top: 1rem;
}
.social-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.social-item img {
  width: 22px;
  height: 22px;
}

.social-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}
.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101010;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.05);
  background: #ffffff;
  border-color: #ffffff;
}

.social-icons a:hover img {
  filter: invert(1);
}

.swiper {
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.swiper-slide {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-5px);
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

video {
  background: black;
}

.swiper-button-prev,
.swiper-button-next {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  color: #ffffff;
  font-weight: bold;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: #000000;
}

.swiper-button-prev {
  left: -10px;
}

.swiper-button-next {
  right: -10px;
}

.videos {
  background: linear-gradient(to bottom, #060606, #0b0b0b);
}

.videos-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-wrapper {
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Overlay elegante */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: opacity 0.3s ease;
}

.video-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
}

.video-overlay p {
  font-size: 0.9rem;
  color: #ccc;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9);
  color: #000;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}


.video-card:hover video {
  transform: scale(1.05);
}

.video-card:hover .video-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px; 
  aspect-ratio: 9 / 16;
}

.video-modal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.close-modal {
  top: -10px;
  right: -10px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  padding: 5px 10px;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 20px;
}

/* Línea vertical */
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #2dd4bf;
}

/* Item */
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 30px;
}

/* Punto */
.timeline-dot {
  position: absolute;
  left: -2px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: #2dd4bf;
  border-radius: 50%;
  border: 3px solid #050505;
}

/* Contenido */
.timeline-content {
  background: #101010;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* Año */
.timeline-year {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2dd4bf;
  display: block;
  margin-bottom: 0.3rem;
}

input.error, select.error, textarea.error {
  border: 1px solid #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
/* ===== TIMELINE DESKTOP HORIZONTAL ===== */
@media (min-width: 768px) {

  .timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem 0;
    position: relative;
  }

  /* Línea horizontal */
  .timeline::before {
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
  }

  /* Items */
  .timeline-item {
    flex: 1;
    padding: 0;
    text-align: center;
    margin-bottom: 0;
  }

  /* Punto */
  .timeline-dot {
    position: relative;
    margin: 0 auto 1rem;
    left: 0;
    top: 0;
  }

  /* Contenido */
  .timeline-content {
    margin-top: 1rem;
  }

  /* Año */
  .timeline-year {
    font-size: 1.4rem;
  }

}
@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 830px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 72px;
    display: none;
    flex-direction: column;
    background: #090909;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
  }

  .nav-links.open {
    display: flex;
  }
}
