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

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050608;
  color: #f5f5f5;
}

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

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

.page-wrapper {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #262a33 0, #050608 55%);
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
  background: transparent;
}

.section-dark {
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(0,0,0,0.9));
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #d0d4e0;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('../img/portada_hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 55%);
  pointer-events: none;
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
}

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

.logo-wrap img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

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

.brand-main {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.brand-sub {
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.85;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 5% 6rem;
  max-width: 720px;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c3cad9;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #e0e4f0;
  max-width: 30rem;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #00d18f, #05b0ff);
  color: #050608;
  box-shadow: 0 10px 25px rgba(0, 209, 143, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 209, 143, 0.35);
}

.btn.ghost {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
  background: rgba(0,0,0,0.2);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
}

.btn.full {
  width: 100%;
}

.hero-badge {
  margin-top: 2rem;
  display: inline-flex;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  color: #d0d4e0;
}

/* Layout utilities */
.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: #d0d4e0;
}

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

.card {
  border-radius: 1.25rem;
  padding: 1.8rem;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), rgba(10,10,15,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.highlight-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card-contact p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

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

.image-card {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #111319;
}

.image-card img {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 55%);
}

.image-card-text {
  position: absolute;
  inset: auto 1.4rem 1.4rem;
  z-index: 1;
}

.image-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.image-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #dce1f0;
}

.image-card:hover img {
  transform: scale(1.05);
  opacity: 0.96;
}

/* Reasons */
.reasons .reason-image img {
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.reasons .reason-text {
  color: #e0e4f0;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.bullet-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #00d18f;
}

.accent-text {
  font-weight: 600;
  color: #00d18f;
}

/* Destinos */
.destinos-list {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), rgba(0,0,0,0.92));
  border: 1px solid rgba(255,255,255,0.08);
}

.destinos-list h3 {
  margin-top: 0;
}

.destinos-list ul {
  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
}

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.gallery-grid img {
  border-radius: 0.9rem;
  cursor: pointer;
  object-fit: cover;
  height: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
  opacity: 0.95;
}

/* Video */
.video-section .video-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 315px;
}

@media (min-width: 900px) {
  .video-wrapper iframe {
    height: 360px;
  }
}

/* Social */
.social-section {
  align-items: stretch;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-card {
  flex: 1 1 200px;
  padding: 1rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.social-card:hover {
  border-color: #00d18f;
}

.social-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9fa6b8;
}

/* Contacto */
.contact-section .contact-data p {
  font-size: 0.95rem;
}

.contact-form {
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(0,0,0,0.9));
  padding: 1.8rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  color: #d0d4e0;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5,6,10,0.9);
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #00d18f;
  box-shadow: 0 0 0 1px rgba(0,209,143,0.3);
}

.form-note {
  font-size: 0.75rem;
  margin-top: 0.6rem;
  color: #a4aec4;
}

/* Footer */
.footer {
  padding: 1.5rem 0 2rem;
  background: #020308;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: #9fa6b8;
}

.footer a {
  color: #e0e4f0;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d18f, #05b0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0,0,0,0.6);
  z-index: 20;
}

.whatsapp-icon {
  font-size: 1.4rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-height: 90vh;
  border-radius: 1rem;
}

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

/* Responsive */
@media (max-width: 900px) {
  .two-cols {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 5%;
    top: 3.5rem;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    background: rgba(0,0,0,0.9);
    border-radius: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 92vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .gallery-grid img {
    height: 140px;
  }
}
