
:root {
  --primary: #ff3b7b;
  --primary-dark: #e72f6a;
  --dark: #071018;
  --dark-soft: #111827;
  --light: #ffffff;
  --muted: #6b7280;
  --bg: #f3f4f6;
  --bg-alt: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Navbar */
.main-header {
  position: relative;
}

.navbar {
  position: absolute;
  inset-inline: 0;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

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

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #cbd5f5;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e5e7eb;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97373, #f973d1);
  transition: width var(--transition-fast);
}

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

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(236, 72, 153, 0.6);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
  background: #020617;
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #f9fafb;
}

.btn-nav {
  padding-inline: 1.1rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #f9fafb;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.25)), url("../images/hero-portada.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 0.16), transparent 55%), radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.3), transparent 55%);
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(248, 250, 252, 0.4);
  margin-bottom: 1rem;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ade80;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.3vw + 1.4rem, 3.5rem);
  line-height: 1.06;
  margin: 0 0 1.1rem;
}

.hero p {
  max-width: 36rem;
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.hero-meta div {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Sections */
.section {
  padding-block: 4.5rem;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.section-header.align-left {
  text-align: left;
  margin-bottom: 1.3rem;
}

.section-header.align-left p {
  margin-inline: 0;
}

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

.about p {
  color: #111827;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-list i {
  color: var(--primary);
  margin-top: 0.12rem;
}

.about-highlight {
  position: relative;
}

.about-highlight img {
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.about-card {
  position: absolute;
  right: -1.3rem;
  bottom: -1.3rem;
  width: min(270px, 75%);
  background: #0b1220;
  color: #e5e7eb;
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.55);
}

.about-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

/* Trip cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
}

.trip-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), translate var(--transition-normal);
}

.trip-card figure {
  margin: 0;
  overflow: hidden;
}

.trip-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trip-card:hover img {
  transform: scale(1.05);
}

.trip-content {
  padding: 1.2rem 1.4rem 1.3rem;
}

.trip-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.trip-content p {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.trip-price {
  font-size: 0.98rem;
  color: var(--dark);
}

.trip-tag {
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
}

.section-cta {
  margin-top: 2.4rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-cta .btn-primary {
  margin-top: 0.8rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.0), rgba(15, 23, 42, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-note {
  margin-top: 1.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 50;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Video */
.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.video-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

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

/* Redes sociales */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.social-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 24px;
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.social-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.social-header i {
  font-size: 1.7rem;
  color: #f9a8d4;
}

.social-card h3 {
  margin: 0;
}

.social-card p {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list i {
  color: var(--primary);
}

.contact-form {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.95rem;
}

label {
  font-size: 0.83rem;
  font-weight: 500;
  color: #111827;
}

input,
textarea {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.4);
}

textarea {
  resize: vertical;
}

.form-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.3rem;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.map-wrapper {
  margin-top: 2.2rem;
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Footer */
.main-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 2rem;
  padding-bottom: 1.7rem;
}

.main-footer h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.main-footer h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.main-footer p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.9rem;
}

.main-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}

.main-footer li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: #cbd5f5;
}

.main-footer li i {
  margin-top: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-block: 0.8rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-bottom a {
  color: #e5e7eb;
}

/* WhatsApp floating */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 1.8rem;
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.6);
  z-index: 40;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 55px rgba(34, 197, 94, 0.8);
  background: #16a34a;
}

/* Responsive */
@media (max-width: 960px) {
  .navbar {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 0.9rem;
    top: 3.3rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding-block: 0.25rem;
  }

  .btn-nav {
    width: 100%;
    justify-content: center;
    margin-top: 0.3rem;
  }

  .hero {
    align-items: flex-end;
  }

  .hero-content {
    padding-block: 6rem 4.3rem;
  }

  .about-grid,
  .video-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-wrapper,
  .map-wrapper {
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 92vh;
  }

  .hero-meta {
    gap: 0.6rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    gap: 1.8rem;
  }

  .social-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-wrapper iframe {
    height: 260px;
  }

  .footer-grid {
    gap: 1.3rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .navbar {
    border-radius: 18px;
  }
}
