*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2933;
  background: #f8fafc;
  line-height: 1.6;
}

/* Hero / Header */

.hero {
  position: relative;
  min-height: 80vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65)), url('../img/portada.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.85);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  text-transform: uppercase;
}

.brand-subtitle {
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.9;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ffef5a;
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

/* Hero content */

.hero-content {
  padding: 5rem 6vw 4rem;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  text-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.hero-text {
  font-size: 0.98rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.2s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, #10b981, #22c55e);
  color: #fff;
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.35);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 999px;
}

.btn.full-width {
  width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #059669, #16a34a);
}

/* Sections */

.section {
  padding: 4.5rem 6vw;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.section-heading p {
  color: #64748b;
  font-size: 0.95rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-grid p {
  margin-bottom: 0.8rem;
  font-size: 0.98rem;
}

.check-list {
  list-style: none;
  margin-top: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-size: 0.8rem;
  top: 0.15rem;
}

.about-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  background: #000;
}

.about-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trips */

.trips {
  background: radial-gradient(circle at top left, #e0f2fe, #f8fafc 45%, #fef9c3);
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.trip-card {
  background: #ffffff;
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}

.trip-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.trip-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.trip-body h3 {
  font-size: 1.02rem;
}

.trip-date {
  font-size: 0.85rem;
  color: #0f766e;
  font-weight: 600;
}

.trip-price {
  font-weight: 700;
  color: #b91c1c;
  font-size: 1rem;
}

.trip-text {
  font-size: 0.9rem;
  color: #64748b;
}

.center-text {
  text-align: center;
}

.trips-note {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: #475569;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, opacity 0.18s ease-out;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.23);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 1.2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #f9fafb;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Video */

.video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.video-wrapper::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Social */

.social-section {
  background: #fff;
}

.social-embed {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.fb-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.fb-iframe-wrapper {
  margin-top: 1.5rem;
}

.fb-iframe-wrapper iframe {
  width: 100%;
  max-width: 500px;
  height: 420px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: start;
}

.contact-info h3,
.contact-form-card h3 {
  margin-bottom: 0.75rem;
}

.contact-list {
  list-style: none;
  margin-bottom: 1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-list i {
  color: #f97316;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-small {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.5rem 1.6rem 1.7rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.form-group {
  margin-bottom: 0.8rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #cbd5f5;
  padding: 0.6rem 0.8rem;
  font: inherit;
  outline: none;
  transition: border 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
  background: #f9fafb;
}

input:focus,
textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* WhatsApp floating */

.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(5, 150, 105, 0.4);
  z-index: 50;
  text-decoration: none;
}

.whatsapp-float i {
  font-size: 1.7rem;
}

/* Scroll to top */

.scroll-top {
  position: fixed;
  right: 1.4rem;
  bottom: 5.1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f172a;
  color: #e5e7eb;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
  z-index: 40;
}

/* Footer */

.site-footer {
  padding: 1.3rem 6vw 1.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  background: #020617;
  color: #e5e7eb;
}

.site-footer a {
  color: #f97316;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Fade-in on scroll */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-card {
    order: -1;
  }

  .section {
    padding-inline: 5vw;
  }

  .hero-content {
    padding-inline: 5vw;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    right: 1rem;
    top: 68px;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.96);
    padding: 0.75rem 1.3rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .hero {
    min-height: 100vh;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 3.2rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .section {
    padding-block: 3.4rem;
  }

  .gallery-item {
    height: 160px;
  }
}
