* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif !important;
  color: #333;
  background: url('/proyectoMERAKI-main/fotos/meraki_mejorada_v2.jpg') center/cover fixed no-repeat;
  overflow-x: hidden;
  position: relative;
}

header {
  position: fixed; top: 0; left: 0; width: 100%; height: 110px;
  background: #fff; display: flex; align-items: center;
  padding: 0 60px; transition: transform 0.3s ease; z-index: 1000;
}

header.oculto { transform: translateY(-100%); }
main { margin-top: 110px; }

.barra-navegacion {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 40px;
}

.logo { height: 110px; transition: transform 0.25s ease; will-change: transform; }
.logo.zoom-leve { transform: scale(1.08); }

.menu {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; position: relative;
}

.menu a {
  text-decoration: none; color: #6b4e32; font-weight: bold;
  padding: 8px 12px; border-radius: 20px; transition: 0.3s;
}

.menu a:hover,
.menu a.activo { background-color: #6b4e32; color: #fff; }

.submenu { position: relative; }

.submenu-contenido {
  display: none; position: absolute;
  background-color: rgba(255,255,255,0.97);
  border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  top: 100%; left: 0; min-width: 180px; z-index: 9999;
}

.submenu:hover .submenu-contenido { display: block; }

.submenu-contenido a { display: block; padding: 10px; color: #6b4e32; text-decoration: none; }
.submenu-contenido a:hover { background-color: #a97c50; color: #fff; }

.submenu > a { background-color: transparent !important; color: #6b4e32 !important; }
.submenu > a:hover { background-color: #6b4e32 !important; color: #fff !important; }

.btn-hamburguesa-nav {
  display: none; background: none; border: 2px solid #6b4e32;
  border-radius: 8px; font-size: 26px; color: #6b4e32;
  cursor: pointer; padding: 4px 10px; line-height: 1; flex-shrink: 0;
}

.redes {
  position: fixed; right: 18px; bottom: 120px;
  display: flex; flex-direction: column; gap: 14px; z-index: 1000;
  background: transparent !important; border: none !important;
  padding: 0 !important; margin: 0 !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.redes a {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; background: transparent !important;
  border: none !important; padding: 0 !important; margin: 0 !important;
}

.redes a img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  background: transparent !important; box-shadow: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redes a img:hover { transform: scale(1.15) translateX(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important; }
.redes a img:active { transform: scale(1.05) translateX(-6px); }
.redes a { animation: redesFadeIn 0.6s ease forwards; }

@keyframes redesFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wa-box {
  position: fixed; right: 90px; bottom: 140px; width: 300px;
  background: #f4f6f8; border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transform: translateX(20px);
  transition: all .35s ease; z-index: 9999;
}

.wa-box.active { opacity: 1; pointer-events: auto; transform: translateX(0); }
.wa-box, .wa-box * { box-sizing: border-box; font-family: Arial, sans-serif; }

.wa-header {
  background: #25d366; color: white; padding: 14px 16px;
  border-radius: 16px 16px 0 0; font-weight: bold;
  display: flex; justify-content: space-between;
}

.wa-close { cursor: pointer; font-size: 20px; }
.wa-content { padding: 16px; }

.wa-bubble {
  background: white; padding: 12px 14px; border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15); margin-bottom: 14px;
}

.wa-button {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; background: #25d366; color: white; padding: 12px;
  border-radius: 25px; text-decoration: none; font-weight: bold;
}

.wa-button img { width: 18px; }

.banner { position: relative; height: 75vh; overflow: hidden; }

.video-fondo {
  display: block; position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1;
}

.texto-banner {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,80,40,.65));
  color: #fff; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; padding: 20px; z-index: 2;
}

.banner-tag {
  display: inline-block; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(4px);
  padding: 6px 20px; border-radius: 30px; font-size: .9rem;
  letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase;
}

.texto-banner h1 { font-size: 56px; margin-bottom: 16px; text-shadow: 0 4px 20px rgba(0,0,0,.7); line-height: 1.15; }
.texto-banner p  { font-size: 1.3rem; opacity: .9; margin-bottom: 30px; }

.boton-banner {
  display: inline-block;
  background: linear-gradient(135deg, #6b4a2d, #b48a5a);
  color: white; padding: 14px 38px; border-radius: 40px;
  font-weight: bold; font-size: 1rem; letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.boton-banner:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 30px rgba(0,0,0,0.4); }

.iconos-destaque {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  padding: 40px 20px; background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
}

.iconos-destaque div {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 14px 28px; border-radius: 30px; font-size: 1rem;
  font-weight: 500; display: flex; align-items: center; gap: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.iconos-destaque div:hover { background: rgba(255,255,255,0.25); transform: translateY(-4px); }
.iconos-destaque div span { font-size: 1.3rem; }

.experiencia-detalle {
  max-width: 1150px; margin: 70px auto;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-radius: 25px; display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; box-shadow: 0 20px 45px rgba(0,0,0,.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.experiencia-detalle:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.experiencia-detalle.invertida { direction: rtl; }
.experiencia-detalle.invertida > * { direction: ltr; }

.experiencia-detalle img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }

.experiencia-info { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.experiencia-info h2 { font-size: 1.9rem; color: #6b4a2d; margin-bottom: 16px; line-height: 1.3; }
.experiencia-info p  { margin-bottom: 20px; color: #555; line-height: 1.7; }
.experiencia-info ul { list-style: none; margin-bottom: 30px; }

.experiencia-info ul li {
  margin-bottom: 12px; padding-left: 32px; position: relative; color: #444; line-height: 1.5;
}

.experiencia-info ul li::before { content: "🌿"; position: absolute; left: 0; }

.experiencia-info a {
  display: inline-block;
  background: linear-gradient(135deg, #6b4a2d, #b48a5a);
  padding: 14px 36px; border-radius: 30px; color: #fff; font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start; box-shadow: 0 6px 18px rgba(107,74,45,0.35);
}

.experiencia-info a:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(107,74,45,0.45); }

.cta-senderismo {
  text-align: center; padding: 90px 20px;
  background: rgba(31,61,43,0.85); backdrop-filter: blur(6px);
  color: white; margin-top: 30px;
}

.cta-senderismo h2 { font-size: 2.4rem; margin-bottom: 14px; }
.cta-senderismo p  { font-size: 1.1rem; opacity: .85; margin-bottom: 30px; }

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #6b4a2d, #b48a5a);
  color: white; padding: 15px 44px; border-radius: 40px;
  font-weight: bold; font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-cta:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 35px rgba(0,0,0,0.4); }

footer { background-color: #4e3620; color: #f5f0e1; padding: 20px; }
.footer-contenido { text-align: center; }

.footer-columna {
  display: inline-block; width: 22%; vertical-align: top; margin: 10px; text-align: left;
}

.footer-columna h3 { color: #c89b3c; margin-bottom: 8px; }
.footer-columna a  { color: #f5f0e1; text-decoration: none; }
.footer-columna a:hover { color: #c89b3c; }

.footer-final {
  text-align: center; border-top: 1px solid #c89b3c;
  margin-top: 20px; padding-top: 10px; font-size: 14px;
}

@media (max-width: 1024px) {
  header { height: 70px; padding: 0 20px; }
  main   { margin-top: 70px; }

  .barra-navegacion { width: 100%; max-width: 100%; justify-content: space-between; gap: 0; }
  .logo { height: 54px; }
  .btn-hamburguesa-nav { display: flex; align-items: center; }

  nav.menu {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; top: 70px; left: 0; width: 100%; background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); padding: 6px 0 14px 0;
    z-index: 990; max-height: calc(100vh - 70px); overflow-y: auto; gap: 0;
  }

  nav.menu.abierto { display: flex; }

  nav.menu > a {
    display: block; width: 100%; padding: 14px 24px;
    border-radius: 0; font-size: 15px; border-bottom: 1px solid #f0e8de;
  }

  nav.menu > a:hover,
  nav.menu > a.activo { background-color: #6b4e32; color: #fff; border-radius: 0; }

  nav.menu .submenu { width: 100%; }

  nav.menu .submenu > a,
  nav.menu .submenu > a:hover,
  nav.menu .submenu > a.activo {
    display: block; width: 100%; padding: 14px 24px;
    border-radius: 0 !important; font-size: 15px;
    border-bottom: 1px solid #f0e8de;
    color: #6b4e32 !important; font-weight: bold;
    text-decoration: none; background-color: transparent !important; background: transparent !important;
  }

  nav.menu .submenu:hover .submenu-contenido { display: none; }
  nav.menu .submenu.activo .submenu-contenido { display: block !important; }

  nav.menu .submenu-contenido {
    position: static; box-shadow: none; border-radius: 0;
    background: #faf6f1; min-width: 100%;
  }

  nav.menu .submenu-contenido a {
    padding: 12px 44px; border-bottom: 1px solid #ede6dc;
    font-size: 14px; color: #6b4e32;
  }

  nav.menu .submenu-contenido a:hover { background-color: #a97c50; color: #fff; }

  .banner { height: 60vh; }
  .texto-banner h1 { font-size: 2.6rem; }

  .experiencia-detalle { grid-template-columns: 1fr; margin: 40px 20px; }
  .experiencia-detalle.invertida { direction: ltr; }
  .experiencia-detalle img { height: 320px; min-height: auto; }
  .experiencia-info { padding: 35px 30px; }

  .iconos-destaque { gap: 15px; padding: 30px 15px; }
  .iconos-destaque div { padding: 12px 18px; font-size: .9rem; }

  .footer-columna { width: 45%; }
  .redes { right: 10px; bottom: 80px; gap: 10px; }
  .redes a img { width: 34px; height: 34px; }
  .wa-box { right: 55px; bottom: 80px; width: 260px; }
}

@media (max-width: 768px) {
  .banner { height: 55vh; }
  .texto-banner h1 { font-size: 2rem; }
  .texto-banner p  { font-size: 1rem; }

  .experiencia-detalle { margin: 30px 12px; border-radius: 18px; }
  .experiencia-info { padding: 28px 22px; }
  .experiencia-info h2 { font-size: 1.5rem; }

  .cta-senderismo { padding: 60px 20px; }
  .cta-senderismo h2 { font-size: 1.9rem; }

  .footer-columna { width: 100%; text-align: center; margin: 8px 0; }
  .redes { right: 8px; bottom: 50px; }
  .redes a img { width: 30px; height: 30px; }
  .wa-box { right: 48px; bottom: 50px; width: 240px; }
}

@media (max-width: 480px) {
  .banner { height: 50vh; }
  .texto-banner h1 { font-size: 1.6rem; }
  .banner-tag { font-size: .75rem; }
  .boton-banner { padding: 12px 28px; font-size: .9rem; }

  .experiencia-info h2 { font-size: 1.3rem; }
  .experiencia-info { padding: 22px 18px; }
  .experiencia-info a { padding: 12px 26px; font-size: .9rem; }

  .iconos-destaque div { font-size: .82rem; padding: 10px 14px; }

  .cta-senderismo h2 { font-size: 1.6rem; }
  .btn-cta { padding: 13px 30px; }

  footer { padding: 15px 10px; }
  .footer-columna { font-size: 13px; }
  .footer-final   { font-size: 12px; }
  .redes { right: 6px; bottom: 30px; }
  .redes a img { width: 26px; height: 26px; }
  .wa-box { right: 42px; bottom: 30px; width: 230px; }
}