/* ✅ RESET GLOBAL (quita el borde/margen feo) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;           /* ← esto quita el marco */
  padding: 0;
  width: 100%;
}

body {
  overflow-x: hidden;  /* ✅ por si algo se sale y crea “margen” visual */
}

/* ✅ evita espacios raros de inline elements */
img, video {
  display: block;
  max-width: 100%;
}
/* =========================
   HERO
========================= */
.hero {
  width: 100%;
  background: #0b0b0b;
  color: #e8d7b0;
}

/* TOP BAR */
.hero__topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161617;
  border-bottom: 2px solid rgba(232, 215, 176, 0.38);
}

.hero__topbar-inner {
  width: min(1400px, 94%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__toplogo {
  height: 34px;
  opacity: 0.95;
}

/* HERO MAIN */
.hero__main {
  position: relative;
  width: 100%;
  height: clamp(520px, 60vh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ✅ En HTML ponemos el fondo aquí */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/img/fondo.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.78) 72%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.18),
      rgba(0,0,0,0.70));
}

/* CONTENT */
.hero__content {
  position: relative;
  width: min(1400px, 94%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 68px 0 56px;
}

/* FLAGS */
.hero__flags {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
}

.hero__flagbtn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.95;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.hero__flagbtn img {
  height: 26px;
  display: block;
}

.hero__flagbtn:hover {
  transform: translateY(-1px);
  opacity: 1;
}

/* activo (mismo nombre que tu clase) */
.is-active {
  opacity: 1;
}

/* CENTER */
.hero__center {
  width: min(1100px, 92%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

/* Animación */
@keyframes heroUpFade {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  width: min(680px, 84%);
  max-height: 240px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.808));
  opacity: 0;
  transform: translateY(40px);
  animation: heroUpFade 700ms ease-out forwards;
  animation-delay: 120ms;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;

  background: #e3cf9e;
  color: #111;

  padding: 14px 38px;
  font-size: 18px;

  cursor: pointer;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, filter 0.2s ease;

  opacity: 0;
  transform: translateY(24px);
  animation: heroUpFade 700ms ease-out forwards;
  animation-delay: 260ms;
}

.hero__cta:visited { color: #111; }
.hero__cta:hover { transform: translateY(-1px); filter: brightness(1.02); }
.hero__cta:focus-visible { outline: 2px solid rgba(227, 207, 158, 0.9); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hero__title, .hero__cta {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* HERO responsive */
@media (max-width: 1200px) {
  .hero__title { width: min(680px, 90%); max-height: 240px; }
}
@media (max-width: 900px) {
  .hero__topbar { height: 66px; }
  .hero__toplogo { height: 30px; }
  .hero__title { width: min(620px, 92%); max-height: 220px; }
  .hero__cta { font-size: 17px; padding: 13px 34px; }
}
@media (max-width: 520px) {
  .hero__main { height: 480px; }
  .hero__title { width: 92%; max-height: 200px; }
  .hero__cta { width: 200px; padding: 12px 0; }
}

/* =========================
   SECCION 1
========================= */
.sec1 {
  width: 100%;
  background: #f2f2f2;
  padding: 70px 0 80px;
}

.sec1__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  text-align: center;
}

.sec1__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #9b8a63;
}

.sec1__ornament {
  margin: 18px auto 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.sec1__line {
  width: 150px;
  height: 1px;
  background: #b9ab86;
}

.sec1__diamond {
  width: 6px;
  height: 6px;
  background: #b9ab86;
  transform: rotate(45deg);
}

.sec1__videoWrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sec1__video {
  width: min(1060px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

@media (max-width: 900px) {
  .sec1 { padding: 60px 0 70px; }
  .sec1__title { font-size: 28px; }
  .sec1__line { width: 120px; }
  .sec1__ornament { margin: 16px auto 32px; }
}
@media (max-width: 520px) {
  .sec1 { padding: 52px 0 60px; }
  .sec1__title { font-size: 22px; letter-spacing: 0.6px; }
  .sec1__line { width: 90px; }
}

/* =========================
   FOOTER
========================= */
.footer {
  width: 100%;
  background: #0f0f10;
  color: #e8d7b0;
  padding: 10px 0;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.footer__inner {
  width: min(1200px, 92%);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 20px;
}

.footer__logo {
  width: 105px;
  opacity: 0.95;
  margin-top: 20px;
}

.footer__text {
  font-size: 18px;
  letter-spacing: 0.28em;
  color: rgba(232, 215, 176, 0.95);
}

.footer__socials {
  display: flex;
  gap: 36px;
}

.footer__socials img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__socials img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .footer { padding: 110px 0; }
  .footer__logo { width: 90px; }
  .footer__text { font-size: 16px; }
  .footer__socials img { width: 18px; height: 18px; }
}

/* =========================
   SECCION 2 (GALERÍA)
========================= */
.sec2 {
  width: 100%;
  background: #f2f2f2;
  padding: 60px 0 80px;
}

.sec2__inner {
  width: min(1100px, 90%);
  margin: 0 auto;
  text-align: center;
}

.sec2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px; /* ayuda a que el separador respire */
}

.sec2__item {
  width: 100%;
  overflow: hidden;
}

.sec2__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sec2__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .sec2__inner { width: min(900px, 92%); }
  .sec2__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .sec2 { padding: 50px 0 60px; }
  .sec2__inner { width: 92%; }
  .sec2__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 34px; }
}

/* =========================
   SECCION 3 (PUERTO CANCÚN)
========================= */
.sec3 {
  position: relative;
  width: 100%;
  height: clamp(510px, 61vh, 695px);
  overflow: hidden;
  background: #0b0b0b;
  display: grid;
  place-items: center;
}

.sec3__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  opacity: 0.95;
}

.sec3__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.62) 72%),
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}

.sec3__content {
  position: relative;
  width: min(1100px, 92%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  padding: 20px 0;
}

.sec3__textImg {
  width: min(980px, 96%);
  max-height: 230px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.55));
}

.sec3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;

  background: #e3cf9e;
  color: #111;

  padding: 14px 38px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, filter 0.2s ease;
}

.sec3__cta:visited { color: #111; }
.sec3__cta:hover { transform: translateY(-1px); filter: brightness(1.02); }
.sec3__cta:active { transform: translateY(0px); }
.sec3__cta:focus-visible {
  outline: 2px solid rgba(227, 207, 158, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .sec3 { height: clamp(400px, 50vh, 520px); }
  .sec3__textImg { width: min(860px, 96%); max-height: 280px; }
  .sec3__cta { font-size: 17px; padding: 13px 34px; }
}

@media (max-width: 600px) {
  .sec3 { height: 420px; }
  .sec3__content { gap: 20px; }
  .sec3__textImg { width: 96%; max-height: 240px; }
  .sec3__cta { width: 200px; padding: 12px 0; }
}

/* =========================
   SECCION 4 (VIDEO)
========================= */
.sec4 {
  width: 100%;
  background: #f2f2f2;
  padding: 70px 0 80px;
}

.sec4__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  text-align: center;
}

.sec4__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #9b8a63;
}

.sec4__ornament {
  margin: 18px auto 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.sec4__ornament--bottom {
  margin: 48px auto 0;
}

.sec4__line {
  width: 150px;
  height: 1px;
  background: #b9ab86;
}

.sec4__diamond {
  width: 6px;
  height: 6px;
  background: #b9ab86;
  transform: rotate(45deg);
}

.sec4__videoWrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sec4__video {
  width: min(1060px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

@media (max-width: 900px) {
  .sec4 { padding: 60px 0 70px; }
  .sec4__title { font-size: 28px; }
  .sec4__line { width: 120px; }
  .sec4__ornament { margin: 16px auto 32px; }
  .sec4__ornament--bottom { margin: 40px auto 0; }
}

@media (max-width: 520px) {
  .sec4 { padding: 52px 0 60px; }
  .sec4__title { font-size: 22px; letter-spacing: 0.6px; }
  .sec4__line { width: 90px; }
}
/* =========================
   SECCION 5 (GALERÍA)
========================= */
.sec5 {
  width: 100%;
  background: #f2f2f2;
  padding: 60px 0 80px;
}

.sec5__inner {
  width: min(1100px, 90%);
  margin: 0 auto;
  text-align: center;
}

.sec5__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 46px;
}

.sec5__item {
  width: 100%;
  overflow: hidden;
}

.sec5__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sec5__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .sec5__inner { width: min(900px, 92%); }
  .sec5__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .sec5 { padding: 50px 0 60px; }
  .sec5__inner { width: 92%; }
  .sec5__grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
}
/* =========================
   WB (WHATSAPP WIDGET)
========================= */
.sec6 {
  width: 100%;
  background: #f2f2f2;
  padding: 70px 0 80px;
}

.sec6__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  text-align: center;
}

/* título */
.sec6__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #9b8a63;
}

/* adorno */
.sec6__ornament {
  margin: 18px auto 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.sec6__ornament--bottom {
  margin: 48px auto 0;
}

.sec6__line {
  width: 150px;
  height: 1px;
  background: #b9ab86;
}

.sec6__diamond {
  width: 6px;
  height: 6px;
  background: #b9ab86;
  transform: rotate(45deg);
}

/* video */
.sec6__videoWrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sec6__video {
  width: min(1060px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

/* ======================
   CTA (ahora <a> o <button>)
====================== */
.sec6__cta {
  margin-top: 36px; /* ⬅️ SUBE / BAJA EL BOTÓN AQUÍ */

  /* para que funcione igual en <a> */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;

  background: #e3cf9e;
  color: #111;
  border: none;

  padding: 14px 42px;
  font-size: 18px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border-radius: 0;

  /* ✅ look premium como tus otros CTA */

}

.sec6__cta:visited {
  color: #111;
}

.sec6__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.sec6__cta:active {
  transform: translateY(0px);
}

.sec6__cta:focus-visible {
  outline: 2px solid rgba(227, 207, 158, 0.95);
  outline-offset: 3px;
}

/* responsive */
@media (max-width: 900px) {
  .sec6 {
    padding: 60px 0 70px;
  }

  .sec6__title {
    font-size: 28px;
  }

  .sec6__line {
    width: 120px;
  }

  .sec6__ornament {
    margin: 16px auto 32px;
  }

  .sec6__ornament--bottom {
    margin: 40px auto 0;
  }

  .sec6__cta {
    font-size: 17px;
    padding: 13px 36px;
  }
}

@media (max-width: 520px) {
  .sec6 {
    padding: 52px 0 60px;
  }

  .sec6__title {
    font-size: 22px;
    letter-spacing: 0.6px;
  }

  .sec6__line {
    width: 90px;
  }

  .sec6__cta {
    width: 240px; /* un poco más ancho para "Ver Menú de Grupos" */
    padding: 12px 0;
  }
}

/* BOTÓN FLOTANTE */
.wb-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;

  width: 66px;
  height: 66px;
  border-radius: 999px;

  background: #25D366;
  border: none;
  cursor: pointer;

  z-index: 9999;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);

  display: flex;
  align-items: center;
  justify-content: center;
}

.wb-fab img {
  width: 34px;
  height: 34px;
  display: block;
}

/* OVERLAY */
.wb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.wb-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* PANEL */
.wb {
  position: fixed;
  right: 22px;
  bottom: 100px;

  width: 360px;
  max-width: calc(100vw - 28px);

  background: #EAF7F0;
  border-radius: 18px;
  overflow: hidden;

  z-index: 9999;

  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.wb.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* HEADER */
.wb__header {
  background: #25D366;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.wb__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.wb__header-left img {
  width: 22px;
  height: 22px;
  display: block;
}

.wb__close {
  background: rgba(0,0,0,.18);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* BODY */
.wb__body {
  padding: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

/* TARJETA (como ejemplo) */
.wb__card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  text-align: left; /* ✅ alineado izquierda */
}

.wb__hello {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #111;
  margin-bottom: 6px;
}

.wb__hand {
  width: 120px;
  display: block;
  margin: 4px 0 8px;
}

.wb__welcome {
  margin: 0;
  color: #111;
  font-size: 15px;
  line-height: 1.25;
}

/* BURBUJA */
.wb__bubble {
  margin: 12px 0;
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
  color: #111;
  font-size: 14px;
}

/* CTA */
.wb__cta {
  width: 100%;
  height: 54px;
  background: #25D366;
  color: #fff;

  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}

.wb__cta span {
  font-weight: 900;
}

/* MOBILE */
@media (max-width: 520px) {
  .wb {
    right: 14px;
    bottom: 92px;
    width: 340px;
  }

  .wb-fab {
    right: 14px;
    bottom: 14px;
  }
}
