/* Nómada Tours Riviera Maya - Secuencia Gráfica */
:root{
  --bg:#071019;
  --bg2:#081c26;
  --card:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.14);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --accent:#11b7d6;
  --accent2:#ff8b2c;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:22px;
  --radius2:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(17,183,214,.22), transparent 50%),
              radial-gradient(900px 500px at 90% 20%, rgba(255,139,44,.16), transparent 55%),
              linear-gradient(180deg, #050b10 0%, #081521 55%, #04080c 100%);
  color:var(--text);
}

a{color:inherit}
img{max-width:100%; display:block}
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

.skip{
  position:absolute; left:-999px; top:auto;
  width:1px;height:1px; overflow:hidden;
}
.skip:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; background:#000; border:1px solid var(--line); border-radius:12px; z-index:9999}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background:rgba(6,10,14,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex; gap:12px; align-items:center; text-decoration:none}
.brand__logo{
  width:44px; height:44px; border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}
.brand__text{display:flex; flex-direction:column; line-height:1}
.brand__name{font-weight:900; letter-spacing:.08em}
.brand__sub{font-size:.78rem; letter-spacing:.3em; opacity:.8; margin-top:4px}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  text-decoration:none; opacity:.9; font-weight:600;
  padding:10px 10px; border-radius:14px;
}
.nav a:hover{background:rgba(255,255,255,.06)}
.navBtn{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}
.navBtn span{
  display:block; height:2px; width:20px; margin:4px auto;
  background:rgba(255,255,255,.86); border-radius:999px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:16px;
  text-decoration:none;
  font-weight:800;
  background:linear-gradient(135deg, var(--accent), rgba(17,183,214,.55));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.btn:hover{transform:translateY(-1px)}
.btn--ghost{
  background:rgba(255,255,255,.06);
}
.btn--small{padding:10px 14px; border-radius:14px; font-weight:800}

/* Hero */
.hero{position:relative; overflow:hidden}
.hero__bg{
  position:absolute; inset:0;
  background-image: url("../img/portada.jpg");
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
  filter:saturate(1.05) contrast(1.02);
}
.hero__bg:after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 450px at 15% 30%, rgba(0,0,0,.15), rgba(0,0,0,.55) 55%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.58) 60%, rgba(5,10,12,.96) 100%);
}
.hero__content{
  position:relative;
  padding:88px 0 42px;
}
.hero h1{
  font-size:clamp(2rem, 4vw, 3.3rem);
  letter-spacing:-.02em;
  margin:16px 0 12px;
}
.hero p{max-width:60ch; font-size:1.05rem; color:var(--muted); line-height:1.6}
.accent{color:var(--accent2)}
.hero__badge{
  display:inline-flex; gap:10px; flex-wrap:wrap;
}
.hero__badge span{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
  letter-spacing:.02em;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:20px}
.hero__meta{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px; margin-top:28px;
}
.metaCard{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:14px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.metaCard__k{opacity:.7; font-weight:700; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase}
.metaCard__v{font-weight:900; font-size:1.08rem; margin-top:6px}
.hero__wave{
  position:absolute; left:0; right:0; bottom:-1px; height:62px;
  background: radial-gradient(60px 36px at 12% 0%, rgba(17,183,214,.32), transparent 65%),
              radial-gradient(60px 36px at 55% 0%, rgba(255,139,44,.24), transparent 65%),
              linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.0));
  clip-path: polygon(0 45%, 8% 55%, 16% 48%, 24% 60%, 32% 52%, 40% 62%, 48% 52%, 56% 64%, 64% 54%, 72% 62%, 80% 52%, 88% 58%, 96% 50%, 100% 56%, 100% 100%, 0 100%);
  opacity:.9;
}

/* Sections */
.section{padding:70px 0}
.section--alt{
  background: radial-gradient(900px 480px at 18% 0%, rgba(17,183,214,.10), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head h2{
  font-size:clamp(1.5rem, 3vw, 2.2rem);
  margin:0;
}
.section__head p{margin:10px 0 0; color:var(--muted); max-width:72ch; line-height:1.6}

/* Cards */
.grid{display:grid; gap:16px}
.cards{grid-template-columns:repeat(4, minmax(0,1fr)); margin-top:20px}
.card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius2);
  padding:18px 18px 16px;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover{transform:translateY(-4px); border-color:rgba(17,183,214,.35); background:rgba(255,255,255,.07)}
.card h3{margin:0 0 8px; font-size:1.15rem}
.card p{margin:0 0 12px; color:var(--muted); line-height:1.55}
.check{margin:0; padding-left:18px; color:rgba(255,255,255,.84)}
.check li{margin:8px 0}

.callout{
  margin-top:18px;
  background:linear-gradient(135deg, rgba(17,183,214,.18), rgba(255,139,44,.12));
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius2);
  padding:18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.callout h3{margin:0 0 6px}
.callout p{margin:0; color:var(--muted)}
.callout__actions{display:flex; gap:10px; flex-wrap:wrap}

/* Destinations */
.chips{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.chip{
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
}
.twoCol{display:grid; grid-template-columns:1.1fr .9fr; gap:16px; margin-top:18px}
.panel{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.panel h3{margin:0 0 10px}
.panel p{margin:0 0 14px; color:var(--muted); line-height:1.6}
.stats{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px}
.stat{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:12px;
  background:rgba(255,255,255,.05);
}
.stat__n{display:block; font-weight:900; font-size:1.2rem}
.stat__t{display:block; opacity:.75; font-weight:700; margin-top:4px}

.embed{border-radius:20px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:#fff}
.embed iframe{width:100%; height:380px}

/* Gallery */
.gallery{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:12px;
}
.gItem{
  border:0;
  padding:0;
  background:none;
  cursor:pointer;
  border-radius:22px;
  overflow:hidden;
  position:relative;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  transition:transform .18s ease, filter .18s ease, border-color .18s ease;
}
.gItem:hover{transform:translateY(-3px); border-color:rgba(17,183,214,.35)}
.gItem img{width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3}
.gItem:nth-child(1){grid-column:span 6}
.gItem:nth-child(2){grid-column:span 6}
.gItem:nth-child(3){grid-column:span 4}
.gItem:nth-child(4){grid-column:span 4}
.gItem:nth-child(5){grid-column:span 4}
.gItem:nth-child(6){grid-column:span 6}
.gItem:nth-child(7){grid-column:span 6}

.lightbox{
  position:fixed; inset:0;
  background:rgba(0,0,0,.86);
  display:none;
  align-items:center; justify-content:center;
  padding:24px;
  z-index:999;
}
.lightbox.open{display:flex}
.lightbox__img{
  max-width:min(1100px, 96vw);
  max-height:86vh;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 28px 80px rgba(0,0,0,.55);
}
.lightbox__close{
  position:absolute;
  top:14px; right:14px;
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

/* Video */
.videoCard{
  margin-top:18px;
  display:grid; grid-template-columns:1.2fr .8fr;
  gap:16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius2);
  padding:16px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.videoWrap{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#000;
  aspect-ratio:16/9;
}
.videoWrap iframe{width:100%; height:100%}
.videoCard__text h3{margin:0 0 8px}
.videoCard__text p{margin:0 0 12px; color:var(--muted); line-height:1.6}

/* Contact */
.contact{margin-top:18px; display:grid; grid-template-columns:1.1fr .9fr; gap:16px}
.contact__card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.contact__quick{display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 12px}
.form label{display:block; font-weight:800; margin:12px 0 8px}
.form input, .form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
.form input:focus, .form textarea:focus{border-color:rgba(17,183,214,.5)}
.form__row{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px}
.form__note{color:rgba(255,255,255,.65); margin:12px 0 0; font-size:.92rem; line-height:1.5}
.form__note a{color:#fff}

.mapWrap{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#000;
  aspect-ratio: 16/11;
}
.mapWrap iframe{width:100%; height:100%; border:0}
.address{margin-top:12px; display:grid; gap:6px; color:var(--muted)}
.address strong{color:#fff}

/* Floating actions */
.waFloat{
  position:fixed; right:18px; bottom:88px;
  width:58px; height:58px;
  border-radius:999px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(17,183,214,1), rgba(17,183,214,.55));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  z-index:998;
}
.waFloat svg{width:30px; height:30px; fill:#fff}

.callBar{
  position:fixed; left:12px; right:12px; bottom:12px;
  display:none;
  gap:10px;
  z-index:997;
}
.callBar a{
  flex:1;
  text-align:center;
  text-decoration:none;
  font-weight:900;
  padding:14px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
.callBar a:first-child{
  background:linear-gradient(135deg, rgba(255,139,44,1), rgba(255,139,44,.55));
}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:26px 0 90px;
  background:rgba(0,0,0,.18);
}
.footer__inner{
  display:flex;
  gap:14px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.footer__brand{display:flex; gap:10px; align-items:center}
.footer__logo{width:40px; height:40px; border-radius:999px; object-fit:cover; border:1px solid rgba(255,255,255,.14)}
.footer__copy{color:rgba(255,255,255,.65)}

/* Reveal */
.reveal{opacity:0; transform:translateY(14px); transition:opacity .55s ease, transform .55s ease}
.reveal.in{opacity:1; transform:none}

/* Responsive */
@media (max-width: 980px){
  .cards{grid-template-columns:repeat(2, minmax(0,1fr))}
  .twoCol{grid-template-columns:1fr}
  .videoCard{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .hero__meta{grid-template-columns:1fr; max-width:520px}
}
@media (max-width: 720px){
  .navBtn{display:inline-flex; align-items:center; justify-content:center}
  .nav{
    position:fixed;
    top:70px; right:14px; left:14px;
    flex-direction:column;
    background:rgba(6,10,14,.88);
    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    padding:14px;
    display:none;
  }
  .nav.open{display:flex}
  .hero__content{padding:76px 0 36px}
  .gallery{grid-template-columns:repeat(6, 1fr)}
  .gItem:nth-child(1), .gItem:nth-child(2), .gItem:nth-child(6), .gItem:nth-child(7){grid-column:span 6}
  .gItem:nth-child(3), .gItem:nth-child(4), .gItem:nth-child(5){grid-column:span 6}
  .callBar{display:flex}
  .waFloat{bottom:104px}
  .footer{padding-bottom:120px}
  .form__row{grid-template-columns:1fr}
}
