/* ===================================
   PASEO EN LANCHA BUENAVENTURA
   Diseño: Aventura Natural Premium
   =================================== */

/* --- VARIABLES & RESET --- */
:root {
  --river:   #0e6e5e;
  --river-dark: #08473d;
  --river-light: #16a185;
  --river-pale: #e8f5f2;
  --gold:    #c9973a;
  --gold-light: #f0c96a;
  --text:    #1a1a1a;
  --text-muted: #5a6270;
  --white:   #ffffff;
  --off-white: #f8faf9;
  --dark:    #0d1f1c;
  --shadow:  rgba(14, 110, 94, 0.15);
  --radius:  14px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13, 31, 28, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-icon { font-size: 1.6rem; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255,255,255,0.88);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--river);
  color: var(--white) !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--river-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,31,28,0.4) 0%,
    rgba(13,31,28,0.55) 50%,
    rgba(13,31,28,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
  animation: heroFadeUp 1s 0.3s both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 151, 58, 0.2);
  border: 1px solid rgba(201, 151, 58, 0.5);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--river);
  color: var(--white);
  border-color: var(--river);
}

.btn-primary:hover {
  background: var(--river-light);
  border-color: var(--river-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,110,94,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark);
  color: var(--white);
  padding: 28px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
}

.stat-item i {
  font-size: 1.6rem;
  color: var(--river-light);
}

.stat-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.stat-item span {
  font-size: 0.8rem;
  opacity: 0.6;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-water {
  background: var(--river-pale);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--river-pale);
  color: var(--river);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-title.light { color: var(--white); }

.section-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-desc.light { color: rgba(255,255,255,0.65); }

/* ===== TOUR SECTION ===== */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tour-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.tour-grid p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tour-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid rgba(14,110,94,0.08);
  transition: var(--transition);
}

.feature:hover {
  border-color: var(--river-light);
  box-shadow: 0 4px 16px var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--river-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--river);
  font-size: 1.1rem;
}

.feature strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.feature span   { font-size: 0.8rem; color: var(--text-muted); }

.tour-images {
  display: grid;
  grid-template-rows: auto auto;
  gap: 16px;
}

.tour-img-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.tour-img-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tour-img-secondary img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== PRECIOS ===== */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.precio-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.precio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.precio-card-featured {
  background: var(--river);
  border-color: var(--river-light);
  box-shadow: 0 12px 40px rgba(14,110,94,0.4);
}

.precio-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.precio-icon {
  font-size: 2.2rem;
  color: var(--river-light);
  margin-bottom: 16px;
}

.precio-card-featured .precio-icon { color: rgba(255,255,255,0.8); }

.precio-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  font-weight: 500;
}

.precio-valor {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.precio-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.btn-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-price:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.04);
}

.precio-card-featured .btn-price {
  background: rgba(255,255,255,0.2);
}

.btn-price-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-price-outline:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* ===== GALERÍA ===== */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.galeria-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.07);
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,110,94,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 2rem;
}

.galeria-item:hover .galeria-overlay { opacity: 1; }

/* ===== CONTACTO ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacto-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacto-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(14,110,94,0.08);
  transition: var(--transition);
}

.contacto-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--river-light);
}

.contacto-card.info-card { cursor: default; }
.contacto-card.info-card:hover { transform: none; }

.contacto-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.whatsapp .contacto-card-icon { background: #25D366; }
.telefono .contacto-card-icon { background: var(--river); }
.info-card .contacto-card-icon { background: var(--gold); }

.contacto-card-info {
  flex: 1;
}

.contacto-card-info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contacto-card-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contacto-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.contacto-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 28px;
  color: var(--text);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(14,110,94,0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--river);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,110,94,0.1);
}

.form-group textarea { resize: vertical; }

/* ===== MAPA BOTONES ===== */
.mapa-botones {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-mapa {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  min-width: 200px;
}

.btn-mapa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.btn-mapa img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.btn-mapa strong { display: block; font-size: 0.95rem; }
.btn-mapa small  { display: block; font-size: 0.78rem; color: var(--text-muted); }

.mapa-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(14,110,94,0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-top {
  max-width: 520px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-name { color: var(--white); }

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-phones {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-phones a {
  color: var(--river-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-phones a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== FAB BUTTON ===== */
.fab-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: var(--transition);
  animation: fabPop 0.5s 1s both;
}

@keyframes fabPop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

.fab:hover { transform: scale(1.12); }
.fab-whatsapp { background: #25D366; }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--river);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 800;
  box-shadow: 0 4px 16px rgba(14,110,94,0.4);
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-top:hover { background: var(--river-light); }

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  padding: 8px 0;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  padding: 4px 0;
  transition: var(--transition);
}

.mobile-bar a:hover { color: var(--river-light); }
.mobile-bar a i { font-size: 1.3rem; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lightbox-content img {
  max-height: 85vh;
  max-width: 80vw;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--river);
  border-color: var(--river);
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .tour-features { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .tour-grid { grid-template-columns: 1fr; gap: 40px; }
  .tour-images { order: -1; }
  .precios-grid { grid-template-columns: 1fr; max-width: 380px; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stat-item { padding: 8px 16px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(13,31,28,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    display: none;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; text-align: center; padding: 12px; }
  .nav-toggle { display: flex; }
  .mobile-bar { display: flex; }
  .fab-container { bottom: 80px; }
  .back-top { bottom: 80px; right: 80px; }
  .section { padding: 72px 0; }
  .tour-features { grid-template-columns: 1fr 1fr; }
  .contacto-form-wrap { padding: 28px 20px; }
  .hero-phones { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .tour-features { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 0; }
  .mapa-botones { flex-direction: column; align-items: center; }
  .btn-mapa { min-width: 280px; }
}
