:root{
  --shadow: 0 18px 70px rgba(0,0,0,.45);
  --stroke: rgba(255,255,255,.14);
  --radius: 22px;
  --bgAnimDur: 18s;
}

/* THEMES */
body[data-theme="dark"]{
  --bg0:#07070c; --bg1:#0b1020;
  --txt:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --card: rgba(255,255,255,.10);
  --card2: rgba(255,255,255,.06);
  --field: rgba(0,0,0,.20);
  --neon1:#7c3cff; --neon2:#00e5ff; --neon3:#ff2bd6;
  --btnText:#0b140f;
}
body[data-theme="light"]{
  --bg0:#f6f7ff; --bg1:#eef1ff;
  --txt:rgba(10,14,22,.92);
  --muted:rgba(10,14,22,.65);
  --card: rgba(255,255,255,.72);
  --card2: rgba(255,255,255,.55);
  --field: rgba(255,255,255,.75);
  --neon1:#6a2bff; --neon2:#00bcd4; --neon3:#ff2bb3;
  --btnText:#07110d;
  --stroke: rgba(10,14,22,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--txt);
  background:
    radial-gradient(1200px 800px at 20% 20%, rgba(124,60,255,.22), transparent 60%),
    radial-gradient(1000px 700px at 85% 15%, rgba(0,229,255,.16), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* background orbs */
.bg{position:fixed; inset:0; z-index:-2; overflow:hidden;}
.orb{
  position:absolute; width:420px; height:420px;
  filter: blur(32px); opacity:.55;
  animation: floaty var(--bgAnimDur) ease-in-out infinite;
}
.orb-1{left:-120px; top:80px; background: radial-gradient(circle at 30% 30%, var(--neon2), transparent 60%);}
.orb-2{right:-160px; top:160px; background: radial-gradient(circle at 30% 30%, var(--neon1), transparent 62%); animation-delay:-3s;}
.orb-3{left:20%; bottom:-220px; background: radial-gradient(circle at 35% 35%, var(--neon3), transparent 62%); animation-delay:-6s;}
@keyframes floaty{
  0%{transform: translate(0,0) scale(1)}
  50%{transform: translate(26px,-18px) scale(1.08)}
  100%{transform: translate(0,0) scale(1)}
}
.grain{
  position:absolute; inset:-40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity:.22; mix-blend-mode: overlay;
  animation: grain 9s steps(10) infinite;
  pointer-events:none;
}
@keyframes grain{
  0%{transform:translate(0,0)}
  20%{transform:translate(-4%,3%)}
  40%{transform:translate(3%,-2%)}
  60%{transform:translate(-2%,-4%)}
  80%{transform:translate(5%,1%)}
  100%{transform:translate(0,0)}
}

/* glass */
.glass{
  background: linear-gradient(135deg, var(--card), var(--card2));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* topbar */
.topbar{
  position: sticky; top:0; z-index:10;
  padding: 12px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  border-left:none; border-right:none; border-top:none;
  border-radius: 0 0 18px 18px;
}
.brand{display:flex; align-items:center; gap:12px; min-width:0;}
.logo-badge{
  width:44px; height:44px; border-radius: 14px;
  display:grid; place-items:center;
  font-weight:900; letter-spacing:.5px;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), rgba(255,255,255,.06)),
              linear-gradient(135deg, rgba(124,60,255,.55), rgba(0,229,255,.28));
  border: 1px solid rgba(255,255,255,.22);
}
.logo-img{padding:6px; overflow:hidden;}
.logo-img img{
  width:100%; height:100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
  transform: scale(1.05);
}
.title{font-weight:950; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.subtitle{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.actions{display:flex; align-items:center; gap:10px;}
.icon-btn{
  width:42px; height:42px; border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.08);
  color:var(--txt);
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease;
}
.icon-btn:active{transform: scale(.96)}
.icon-btn:hover{background: rgba(255,255,255,.10)}

/* layout */
.container{width:min(980px, 100%); margin: 0 auto; padding: 14px 12px 92px;}
.hero{border-radius: var(--radius); padding: 14px; overflow:hidden; position:relative;}
.pill{
  display:inline-flex; align-items:center;
  font-size:12px; padding: 7px 10px; border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.12);
}
.hero h1{margin: 10px 0 6px; font-size: 20px; line-height: 1.15;}
.hero p{margin:0; color:var(--muted); font-size:13.2px; line-height:1.35;}

.panel{margin-top: 12px; border-radius: var(--radius); padding: 14px;}
.panel h2{margin:0 0 10px; font-size:15.5px;}
.panel-head{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom: 10px;
}
.search input{
  width: 100%; max-width: 240px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--field);
  color:var(--txt);
  padding: 10px 10px;
  outline:none;
}

/* form */
.lbl{display:block; font-weight:950; font-size:12.5px; margin-bottom:8px;}
.row{margin-bottom: 12px;}
.hint{margin-top:8px; font-size:12px; color:var(--muted);}

/* Premium Select (combo trigger) */
.select{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--field);
  color:var(--txt);
  cursor:pointer;
  transition: transform .18s ease, box-shadow .22s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.select:hover{ box-shadow: 0 16px 38px rgba(0,0,0,.22); }
.select:active{ transform: scale(.995); }
.select-value{font-weight:950; font-size:13.5px; opacity:.95; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
.select-arrow{opacity:.75; font-size:14px}
.select.invalid{
  border-color: rgba(255,65,92,.65);
  box-shadow: 0 0 0 3px rgba(255,65,92,.18);
}

/* inputs */
.grid2{display:grid; grid-template-columns: 1fr; gap: 10px;}
@media (min-width: 680px){
  .grid2{grid-template-columns: 1fr 1fr;}
}

.field{display:grid; gap:7px;}
.field span{font-size:12.5px; color: var(--muted); font-weight:950;}
.field input, .field textarea{
  width:100%;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--field);
  color:var(--txt);
  padding: 12px 12px;
  outline:none;
}
.field textarea{resize:none}
.field.invalid input, .field.invalid textarea{
  border-color: rgba(255,65,92,.65);
  box-shadow: 0 0 0 3px rgba(255,65,92,.18);
}
.err{min-height:14px; color: rgba(255,65,92,.9); font-size:12px; font-weight:800;}

/* packages list */
.list{display:grid; gap:10px;}
.item{
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, var(--card), var(--card2));
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.item:hover{transform: translateY(-2px); box-shadow: 0 20px 55px rgba(0,0,0,.22);}
.item-top{display:flex; align-items:flex-start; justify-content:space-between; gap:10px;}
.item-title{margin:0; font-weight:950; font-size:14px;}
.item-desc{margin:6px 0 0; color:var(--muted); font-size:12.5px; line-height:1.3;}
.price{
  font-weight:950; font-size:13px; white-space:nowrap;
  padding: 6px 10px; border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.10);
}
.item-foot{margin-top: 10px; display:flex; align-items:center; justify-content:space-between; gap:10px;}
.pick{display:flex; align-items:center; gap:10px; font-weight:900; font-size:12.8px;}
.pick input{width:18px; height:18px}

/* total bar */
.totalbar{margin-top: 12px; border-radius: var(--radius); padding: 14px;}
.totals{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 10px;}
.t-label{font-size:12px; color:var(--muted); font-weight:950;}
.t-value{font-size:18px; font-weight:950;}

.cta{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%;
  padding: 14px 14px;
  border:none;
  border-radius: 18px;
  cursor:pointer;
  color:var(--btnText);
  font-weight: 950;
  background: linear-gradient(135deg, rgba(37,211,102,1), rgba(0,229,255,.85));
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta:hover{box-shadow: 0 18px 52px rgba(0,0,0,.30);}
.cta:active{transform: scale(.99)}
.cta .wa{
  background: rgba(0,0,0,.16);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
}
.tiny{margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height:1.35}

/* contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 720px){
  .contact-grid{grid-template-columns: 1fr 1fr;}
}
.contact-card{
  text-decoration:none;
  color:var(--txt);
  border-radius: 18px;
  padding: 14px;
  border:1px solid var(--stroke);
  background: var(--field);
  display:flex;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover{transform: translateY(-2px); box-shadow: 0 18px 50px rgba(0,0,0,.18);}
.cc-title{font-weight:950;}
.cc-sub{color:var(--muted); font-weight:800; font-size:12.5px}
button.contact-card{border:none; text-align:left}

/* footer */
.footer{
  position:fixed; left:10px; right:10px; bottom:10px;
  border-radius: 20px;
  padding: 12px 12px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  z-index:9;
}
.foot-item{font-weight:950; font-size:12.5px; opacity:.9}
.dot{opacity:.6}

/* toast */
.toast{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 82px;
  z-index: 80;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  font-weight: 900;
}
body[data-theme="light"] .toast{
  background: rgba(255,255,255,.65);
  color: rgba(10,14,22,.92);
}
.toast.show{
  opacity: 1;
  transform: translateY(0);
}

/* Bottom sheet */
.sheet-backdrop{
  position: fixed; inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 40;
}
.sheet-backdrop.show{
  opacity: 1;
  pointer-events: auto;
}
.sheet{
  position: fixed;
  left: 10px; right: 10px; bottom: 10px;
  border-radius: 26px;
  transform: translateY(120%);
  transition: transform .22s ease;
  z-index: 50;
  overflow: hidden;
  max-height: min(72vh, 560px);
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.sheet.show{ transform: translateY(0); }
.sheet-handle{
  width: 60px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.25);
  margin: 10px auto 6px;
}
.sheet-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.sheet-title{font-weight:950; font-size:14.5px}
.sheet-sub{font-size:12px; color: var(--muted); margin-top:2px}
.sheet-close{
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.12);
  color: var(--txt);
  padding: 9px 12px;
  border-radius: 14px;
  cursor:pointer;
  font-weight: 950;
}
.sheet-close:active{transform: scale(.98)}
.sheet-body{padding: 10px 10px 12px; overflow:auto;}

.sheet-item{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.10);
  cursor:pointer;
  transition: transform .14s ease, background .14s ease;
  margin-bottom: 10px;
}
body[data-theme="light"] .sheet-item{background: rgba(255,255,255,.55);}
.sheet-item:hover{background: rgba(255,255,255,.10);}
.sheet-item:active{transform: scale(.995);}
.sheet-left{display:flex; align-items:center; gap:12px;}
.radio-dot{
  width:14px; height:14px; border-radius:999px;
  border: 2px solid rgba(255,255,255,.35);
  display:grid; place-items:center;
}
body[data-theme="light"] .radio-dot{border-color: rgba(10,14,22,.25);}
.radio-dot::after{
  content:"";
  width:8px; height:8px; border-radius:999px;
  background: transparent;
}
.sheet-item.active .radio-dot{border-color: rgba(0,229,255,.65);}
.sheet-item.active .radio-dot::after{background: rgba(0,229,255,.9);}

/* small fixes */
@media (min-width: 980px){
  .container{padding-left:16px; padding-right:16px;}
}
