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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #11313b;
  background: #f3f7f8;
  line-height: 1.6;
}

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

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

.site-header {
  position: relative;
  color: #fff;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.5rem;
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(0, 61, 89, 0.95), rgba(3, 140, 115, 0.9));
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 999px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  background-image: linear-gradient(rgba(3, 50, 77, 0.55), rgba(3, 50, 77, 0.7)), url("../img/hero-portada.jpg");
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.04) 0, transparent 55%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  text-align: left;
  animation: fadeUp 0.9s ease-out both;
}

.hero-label {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.8rem 0 0.4rem;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
}

.hero h1 span {
  color: #ffe66d;
}

.hero-text {
  max-width: 560px;
  font-size: 1rem;
  opacity: 0.9;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-phone {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-phone a {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, #01b57a, #00d0b0);
  color: #053140;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
}

.btn.ghost:hover {
  background: rgba(0, 0, 0, 0.2);
}

.btn.full {
  width: 100%;
}

.section {
  padding: 4rem 1.5rem;
}

.section.alt {
  background: #ffffff;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

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

.text-block {
  max-width: 620px;
}

.text-block p {
  margin-bottom: 0.8rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.5rem 1.2rem;
}

.feature-list li::before {
  content: "✔";
  margin-right: 0.4rem;
  color: #01b57a;
}

.highlight-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.mini-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid #e1eef0;
  animation: fadeUp 0.8s ease-out both;
}

.mini-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

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

.trip-card {
  background: #f7fbfb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #dde9eb;
  display: flex;
  flex-direction: column;
}

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

.trip-body {
  padding: 1rem 1.2rem 1.2rem;
}

.trip-body h3 {
  margin: 0 0 0.4rem;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: #007f8c;
}

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

.gallery-item {
  border-radius: 0.8rem;
  cursor: pointer;
  overflow: hidden;
  object-fit: cover;
  height: 160px;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.13);
  opacity: 0.96;
}

.social-embed {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.social-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid #dfebee;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.iframe-wrapper {
  margin-top: 0.8rem;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #ffb347, #ff5fad 50%, #8134af 100%);
  color: #fff;
  font-weight: 600;
}

.insta-icon {
  font-size: 1.2rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
}

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

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

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

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #dde8ea;
}

.contact-form .form-row {
  margin-bottom: 0.8rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #ccd8db;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #01b57a;
  outline-offset: 1px;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #546b72;
}

.call-button {
  position: fixed;
  right: 1rem;
  bottom: 5.2rem;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ffb347;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.wa-icon {
  font-size: 1.5rem;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 17, 24, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.lightbox img {
  max-width: 960px;
  max-height: 90vh;
  border-radius: 0.9rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
  color: #4a5f64;
  background: #ffffff;
  border-top: 1px solid #dde6e9;
}

/* Responsive */

@media (max-width: 840px) {
  .main-nav {
    position: fixed;
    top: 56px;
    right: 1rem;
    flex-direction: column;
    background: rgba(1, 52, 73, 0.96);
    padding: 0.6rem 0.8rem;
    border-radius: 0.9rem;
    transform: scale(0.9);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

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

  .nav-toggle {
    display: block;
  }

  .hero {
    text-align: left;
    padding-top: 5.5rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .social-embed {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .top-bar {
    padding-inline: 0.9rem;
  }

  .logo-img {
    height: 40px;
  }

  .hero {
    padding: 5.2rem 1rem 2.4rem;
  }

  .section {
    padding-inline: 1rem;
  }

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

/* Animations */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
