/* Premium responsive UI */

:root{
  --bg:#07070a;
  --bg-2:#0b0b11;
  --surface:rgba(255,255,255,.04);
  --surface-2:rgba(255,255,255,.07);
  --stroke:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted-2:rgba(255,255,255,.58);
  --gold:#f1c55a;
  --gold-2:#f7d98f;
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --shadow-soft:0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
  --radius-lg:24px;
  --container:1120px;
  --ring:0 0 0 4px rgba(241,197,90,.25);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"DM Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(241,197,90,.18), transparent 60%),
    radial-gradient(800px 500px at 95% 10%, rgba(168,120,255,.14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height:1.55;
}

body.no-scroll{overflow:hidden}

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

.container{width:min(var(--container), calc(100% - 40px)); margin-inline:auto}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(7,7,10,.65);
  backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:12px; min-width:0}
.logo{width:44px;height:44px;border-radius:14px; object-fit:cover; box-shadow:var(--shadow-soft)}
.brand-text{
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:700;
  letter-spacing:.2px;
  font-size:1.08rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav{display:flex; align-items:center; gap:10px}
.nav a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.2px;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.nav a:hover{background:rgba(255,255,255,.06); color:var(--text)}

.nav-toggle{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:18px;height:2px;
  background:rgba(255,255,255,.85);
  margin:4px auto;
  border-radius:2px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:700;
  letter-spacing:.2px;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  user-select:none;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.06)}
.btn:active{transform:translateY(0px)}
.btn:focus-visible{outline:none; box-shadow:var(--ring)}

.btn-primary{
  border-color:rgba(241,197,90,.30);
  background:linear-gradient(180deg, rgba(241,197,90,.95), rgba(241,197,90,.75));
  color:#111;
  box-shadow:0 12px 26px rgba(241,197,90,.18);
}
.btn-primary:hover{background:linear-gradient(180deg, rgba(247,217,143,.98), rgba(241,197,90,.78))}

.btn-secondary{
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
}

.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.16);
  color:var(--muted);
}
.btn-ghost:hover{color:var(--text)}

/* Hero */
.hero{
  position:relative;
  padding:72px 0 42px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(241,197,90,.12), transparent 60%),
    radial-gradient(700px 300px at 20% 40%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(700px 300px at 90% 55%, rgba(255,255,255,.05), transparent 60%);
  pointer-events:none;
}
.hero-inner{position:relative}
.hero-copy{max-width:720px}
.eyebrow{
  margin:0 0 10px;
  color:var(--muted);
  font-weight:700;
  letter-spacing:.22px;
  text-transform:uppercase;
  font-size:.86rem;
}
.hero h1{
  margin:0 0 14px;
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing:.2px;
  font-size:clamp(2.1rem, 3.6vw, 3.3rem);
  line-height:1.05;
}
.welcome-description{
  margin:0;
  color:var(--muted);
  font-size:clamp(1.02rem, 1.5vw, 1.25rem);
}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.hero-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}
.stat{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
}
.stat-k{filter:saturate(1.1)}
.stat-v{font-weight:700; color:rgba(255,255,255,.82)}

/* Sections */
.peliculas{padding:34px 0 56px}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:18px}
.section-head h2{
  margin:0;
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:clamp(1.5rem, 2.2vw, 2rem);
}
.section-sub{margin:0; color:var(--muted-2); max-width:520px}

.cards-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
}

/* Cards */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:rgba(241,197,90,.22);
}
.card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
}
.card h3{
  margin:14px 16px 8px;
  font-size:1.18rem;
}
.card p{
  margin:0 16px 10px;
  color:var(--muted);
}
.card .precio,
.card .precio-total{
  margin:0 16px 6px;
  color:rgba(241,197,90,.96);
  font-weight:800;
}
.card .precio-total{color:rgba(247,217,143,.92)}
.card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 16px 2px;
}
.card .ciudades{margin:10px 16px 0; color:var(--muted-2)}
.card .fechas-disponibles{margin:8px 16px 16px; color:rgba(241,197,90,.96); font-weight:800}

/* Footer */
footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:24px 0;
  color:var(--muted);
}
footer .container{display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap}
footer p{margin:0}

/* Popup */
.popup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
  justify-content:center;
  align-items:center;
  padding:18px;
  z-index:200;
}
.popup-content{
  position:relative;
  width:min(760px, 100%);
  max-height:min(84vh, 900px);
  overflow:auto;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(241,197,90,.10), transparent 60%),
    linear-gradient(180deg, rgba(18,18,26,.98), rgba(10,10,14,.98));
  box-shadow:0 28px 80px rgba(0,0,0,.70);
  padding:22px 18px 16px;
}
.popup-content h2{
  margin:8px 6px 14px;
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing:.2px;
}
.close{
  position:absolute;
  top:10px;
  right:10px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.90);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:26px;
  line-height:1;
}
.close:hover{background:rgba(255,255,255,.10)}
.close:focus-visible{outline:none; box-shadow:var(--ring)}

.menu-section{margin:16px 6px 18px}
.menu-title{
  margin:0 0 10px;
  font-size:1.05rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:rgba(241,197,90,.92);
}
.menu-item{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:12px 12px;
  margin:10px 0;
}
.menu-item h4{margin:0 0 6px; color:rgba(255,255,255,.92)}
.menu-item p{margin:0; color:var(--muted-2)}

/* Motion */
@media (prefers-reduced-motion:no-preference){
  .hero{animation:fadeIn .7s ease both}
  @keyframes fadeIn{from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:translateY(0)}}
}

/* Responsive nav */
@media (max-width: 820px){
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav{
    position:fixed;
    top:66px;
    right:18px;
    left:18px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    border-radius:20px;
    background:rgba(12,12,18,.92);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:var(--shadow);
  }
  .nav.is-open{display:flex}
  .nav a{justify-content:center}
}

@media (max-width: 520px){
  .container{width:min(var(--container), calc(100% - 28px))}
  .hero{padding:58px 0 32px}
  .popup-content{padding:18px 14px 12px}
}
