:root {
  --primary: #e0a042;
  --secondary: #426ea3;
  --dark: #11304f;
  --light: #f6f8fc;
  --text: #233142;
  --muted: #697588;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(17, 48, 79, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, summary { font: inherit; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: 90px 0; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .8rem;
}
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading h2,
.intro-card h2,
.destination-copy h2,
.contact-info h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: var(--dark);
}
.section-heading p,
.intro-card p,
.service-card p,
.destination-copy p,
.contact-info li,
.form-note,
.hero-copy p,
.tour-body p,
.social-card p { color: var(--muted); line-height: 1.75; }

.lang-block { display: none; }
.lang-block.active { display: block; }

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.94);
  padding: 6px;
}
.brand strong { display: block; font-size: 1.05rem; }
.brand small { opacity: .92; }
.menu-toggle {
  display: none;
  background: rgba(255,255,255,.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  padding: 10px 14px;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links {
  display: flex;
  gap: 20px;
  color: var(--white);
  font-weight: 600;
  flex-wrap: wrap;
}
.nav-links a { opacity: .95; }
.nav-links a:hover { opacity: 1; }
.lang-switch {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--white);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  background: url('assets/portada.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17,48,79,.9), rgba(17,48,79,.54) 48%, rgba(17,48,79,.18));
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px 0 92px;
}
.hero-copy {
  max-width: 760px;
  color: var(--white);
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .95;
}
.hero-copy p {
  color: rgba(255,255,255,.93);
  font-size: 1.08rem;
  max-width: 690px;
}
.hero-actions,
.contact-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.34);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.intro { background: linear-gradient(180deg, #ffffff, #f7f9fd); }
.intro-grid,
.destination-grid,
.video-grid,
.contact-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}
.intro-grid { grid-template-columns: 1.1fr .9fr; }
.destination-grid,
.video-grid,
.contact-grid { grid-template-columns: 1fr 1fr; }
.intro-card,
.contact-form,
.contact-info,
.video-frame,
.service-card,
.social-card,
.stat-card,
.highlight-item,
.tour-category {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-card,
.contact-info,
.contact-form,
.destination-copy { padding: 34px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(66,110,163,.08);
}
.stat-card strong {
  display: block;
  color: var(--secondary);
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.stat-card span { color: var(--muted); font-size: .95rem; }

.services-grid,
.social-grid,
.highlight-list,
.accordion-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
}
.services-grid,
.social-grid { grid-template-columns: repeat(3, 1fr); }
.highlight-list { grid-template-columns: 1fr; }
.highlight-item {
  padding: 26px;
  border: 1px solid rgba(66,110,163,.08);
}
.highlight-item strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.service-card,
.social-card {
  padding: 28px;
  border: 1px solid rgba(66,110,163,.08);
}
.service-card h3,
.social-card h3,
.contact-form h3 {
  margin: 0 0 12px;
  color: var(--dark);
}
.social-card:hover { transform: translateY(-4px); }
.social-card span { color: var(--secondary); font-weight: 700; }

.destination { background: var(--light); }
.destination-copy {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tours { background: #fff; }
.tour-category {
  padding: 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(66,110,163,.08);
}
.category-title {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(66,110,163,.1);
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 18px;
}
.accordion-grid { grid-template-columns: 1fr 1fr; }
.tour-item {
  border: 1px solid rgba(66,110,163,.12);
  border-radius: 18px;
  background: #fbfcff;
  overflow: hidden;
}
.tour-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
}
.tour-item summary::-webkit-details-marker { display: none; }
.tour-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--secondary);
}
.tour-item[open] summary::after { content: '−'; }
.tour-body { padding: 0 20px 20px; }
.tour-body p { margin: 0; }

.gallery { background: var(--light); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #dfe7f2;
  cursor: pointer;
  box-shadow: var(--shadow);
  min-height: 220px;
}
.gallery-item.wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-info a { color: var(--secondary); font-weight: 600; }
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(66,110,163,.18);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(66,110,163,.1);
}
.form-note { font-size: .92rem; margin: 0; }

.footer {
  background: var(--dark);
  color: rgba(255,255,255,.92);
  padding: 28px 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer a { color: var(--primary); }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}
.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 16px 35px rgba(0,0,0,.2);
}
.floating-btn.whatsapp { background: #25D366; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 23, .92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  z-index: 50;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(1000px, 95vw);
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.lightbox p {
  color: var(--white);
  margin-top: 16px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .intro-grid,
  .destination-grid,
  .video-grid,
  .contact-grid,
  .services-grid,
  .social-grid,
  .accordion-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav { align-items: center; }
  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, 100%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(17,48,79,.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-panel.open { display: flex; }
  .nav-links { flex-direction: column; gap: 14px; }
  .lang-switch { align-self: flex-start; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 36px; }
  .hero-copy h1 { line-height: 1.02; }
  .intro-grid,
  .destination-grid,
  .video-grid,
  .contact-grid,
  .services-grid,
  .social-grid,
  .accordion-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.wide { grid-column: span 1; grid-row: span 1; min-height: 260px; }
  .gallery-item { min-height: 250px; }
  .section { padding: 72px 0; }
  .footer-content { flex-direction: column; align-items: flex-start; }
}
