/* =========================================================
   1) VARIABLES / PALETA
   ========================================================= */
:root {
  --bg: #0b0f14;
  --panel: #0f141c;
  --text: #eef3fb;
  --muted: #9aa6b2;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #2ee58f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   2) GLOBAL / RESET
   ========================================================= */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 18, 0.82),
    rgba(10, 14, 18, 0.55) 60%,
    transparent
  );
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- NAVBAR NUEVA MALECONEANDO --- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
  background: transparent;
  box-shadow: none;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo img {
  margin-left: 25%;
  max-width: 30%;
}

/* Links principales (nivel 1) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links > li > a,
.dropdown-toggle {
  text-decoration: none;
  color: #dfe7f1;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Botón WhatsApp */
.btn-wsp {
  background: #25d366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* --- Dropdowns --- */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Lista flotante */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 10px 0;
  list-style: none;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.18s ease-out;
  z-index: 2000;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* Mostrar al pasar el mouse (desktop) */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Navbar responsive (móvil) --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  color: #dfe7f1;
}

@media (max-width: 900px) {
  header {
    background: rgba(10, 14, 18, 0.96);
    backdrop-filter: blur(10px);
  }

  .navbar {
    padding: 10px 16px;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 12px 18px 18px;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: rgba(5, 8, 12, 0.98);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 40;
  }

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

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a,
  .dropdown-toggle {
    padding: 10px 8px;
    font-size: 0.9rem;
    color: #dfe7f1;
    width: 100%;
    text-align: left;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 6px 10px;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-menu li a {
    font-size: 0.85rem;
    color: #dfe7f1;
    padding: 6px 0;
  }

  .btn-wsp {
    margin-left: auto;
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}
/* =========================================================
   4) HERO (parallax)
   ========================================================= */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  background: url("../img/hero/hero.jpg") center/cover no-repeat;
  position: absolute;
  inset: 0;
  z-index: -1;
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 12, 0.6),
    rgba(5, 8, 12, 0.35) 40%,
    rgba(5, 8, 12, 0.55)
  );
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: auto;
  padding: 120px 18px 40px;
  display: grid;
  gap: 18px;
  transform: translateY(0);
  will-change: transform;
}
.hero-inner h1 {
  font-size: clamp(44px, 9vw, 92px);
  line-height: 0.95;
  letter-spacing: 0.2px;
  margin: 0 0 6px;
}
.lead {
  color: #d3dbe8;
  max-width: 62ch;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), #10b981);
  color: #052715;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 30px rgba(46, 229, 143, 0.25);
  transition: transform 0.12s, box-shadow 0.12s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(46, 229, 143, 0.35);
}
@media (max-width: 900px) {
  .hero-inner {
    padding-top: 140px;
  }
}

/* =========================================================
   5) SUB-HERO (secciones internas)
   — con overlay sobre la misma imagen del hero
   ========================================================= */
.subhero {
  position: relative;
  background: url("../img/hero/hero.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 110px 18px 60px; /* respeta navbar fija */
  color: var(--text);
  isolation: isolate;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 12, 0.6),
    rgba(5, 8, 12, 0.35) 40%,
    rgba(5, 8, 12, 0.55)
  );
  z-index: 0;
}
.subhero-inner {
  position: relative;
  z-index: 1; /* texto sobre overlay */
  max-width: 1200px;
  margin: auto;
}
.subhero h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4.8vw, 42px);
}

.rest-media .card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* CLAVE: se ve como imagen */
  display: block;
}

/* =========================================================
   6) ¿QUIÉNES SOMOS? + MINI CARRUSEL
   ========================================================= */
.info {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 18px;
}
.info-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.info-text h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 16px;
}
.info-text p {
  color: var(--muted);
  margin: 0 0 14px;
}
.info-img img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
@media (max-width: 900px) {
  .info-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .info-img {
    order: -1;
  }
}

/* — Carrusel mini (lado derecho de info) */
.info-carousel {
  width: 100%;
}
.info-carousel .carousel {
  position: relative;
  display: grid;
  align-items: center;
}
.info-carousel .track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 12px;
  overflow: auto hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
}
.info-carousel .card {
  position: relative;
  scroll-snap-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #0d1219;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.info-carousel .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.info-carousel .card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.info-carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: #eef3fb;
  cursor: pointer;
  z-index: 2;
}
.info-carousel .nav:hover {
  background: rgba(255, 255, 255, 0.16);
}
.info-carousel .prev {
  left: 6px;
}
.info-carousel .next {
  right: 6px;
}
.info-carousel .dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}
.info-carousel .dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: #3a4658;
  cursor: pointer;
}
.info-carousel .dots button[aria-current="true"] {
  background: var(--accent);
}

/* =========================================================
   7) QUÉ TE OFRECEMOS
   ========================================================= */
.offers {
  background: var(--bg);
  padding: 60px 18px;
}
.offers-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 36px;
}
.offers-inner h2 {
  font-size: clamp(28px, 4vw, 38px);
  text-align: center;
  margin: 0;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.offer-ico {
  font-size: 36px;
  margin-bottom: 12px;
}
.offer h3 {
  margin: 8px 0;
  font-size: 20px;
}
.offer p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   8) CONTACTO DIRECTO (centrado)
   ========================================================= */
.contacto {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 18px;
}
.contacto-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.contacto-text {
  max-width: 700px;
  margin: 0 auto;
}
.contacto-lead {
  color: var(--muted);
  margin: 0 0 16px;
}

/* — CTA principal */
.cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 800;
  color: #052715;
  background: linear-gradient(180deg, var(--accent), #10b981);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 30px rgba(46, 229, 143, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cta-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(46, 229, 143, 0.35);
}

/* — Acciones secundarias */
.contacto-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #e7edf7;
  transition: background 0.15s ease, transform 0.12s ease;
}
.pill:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.contacto-data {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  color: var(--muted);
  text-align: center;
}
.contacto-data li {
  margin: 4px 0;
}
.contacto-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   9) LISTADOS (restaurantes/hoteles)
   ========================================================= */
.restos {
  background: var(--bg);
  padding: 24px 18px 60px;
}
.restos-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .restos-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .restos-inner {
    grid-template-columns: 1fr;
  }
}

.rest-card,
.hotel-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rest-card:hover,
.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.rest-media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}
.rest-body,
.hotel-body {
  padding: 16px 16px 8px;
}
.rest-body h3,
.hotel-body h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.rest-body p,
.hotel-body p {
  margin: 0;
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 10px 0 6px;
  margin: 0;
}
.badges li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 12px;
}

/* — CTA en cards */
.rest-cta {
  padding: 12px 16px 16px;
}
.btn-wa {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  color: #052715;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent), #10b981);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 24px rgba(46, 229, 143, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 229, 143, 0.35);
}

/* — Redes sociales en cards */
.rest-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.rest-social .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  mask-size: 16px;
  -webkit-mask-size: 16px;
  mask-position: center;
  mask-repeat: no-repeat;
  transition: background 0.18s ease, transform 0.12s ease;
}
.rest-social .icon:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* =========================================================
   10) FILTROS (buscador + chips)
   ========================================================= */
.filters {
  background: var(--bg);
  padding: 20px 18px 8px;
}
.filters-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 12px;
}
.search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  outline: none;
}
.search input::placeholder {
  color: #9fb0c3;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: #e7edf7;
  border: 1px solid var(--border);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.1);
}
.chip.on {
  background: linear-gradient(180deg, var(--accent), #10b981);
  color: #052715;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 24px rgba(46, 229, 143, 0.25);
}

/* =========================================================
   11) FOOTER MINIMAL + ICONOS
   ========================================================= */
.footer {
  background: #0b0f14;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.social {
  display: flex;
  gap: 16px;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  mask-size: 22px;
  mask-position: center;
  mask-repeat: no-repeat;
  transition: background 0.18s ease, transform 0.12s ease;
}
.icon:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.fb {
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/facebook.svg");
}
.ig {
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/instagram.svg");
}
.tk {
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/tiktok.svg");
}
.wa {
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/whatsapp.svg");
}
.copy {
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   12) BOTÓN FLOTANTE WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  mask: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/whatsapp.svg")
    no-repeat center;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/whatsapp.svg")
    no-repeat center;
  mask-size: 28px;
  -webkit-mask-size: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   13) EXTRA: estado activo en navbar (opcional)
   ========================================================= */
.menu a.active,
.menu button.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border);
}
