:root {
  --bg: #0b0d10;
  --bg-2: #12161b;
  --card: #161b22;
  --line: #242b35;
  --text: #e8edf2;
  --muted: #9aa6b2;
  --accent: #00c8ff;
  --accent-2: #0096d6;
  --ok: #3ddc97;
  --radius: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6em; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform .12s, background .2s, border-color .2s; text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #001018; }
.btn-primary:hover { background: #33d4ff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(11,13,16,.85);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .04em; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand small { display: block; font-size: .62rem; letter-spacing: .3em; color: var(--accent); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--text); text-decoration: none; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: -8px; right: -12px; background: var(--accent); color: #001018;
  font-size: .7rem; font-weight: 800; border-radius: 999px; min-width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center; padding: 0 5px;
}
.cart-count.show { display: inline-flex; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 6px 10px; font-size: 1rem; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { margin-top: 8px; }
}

/* Hero */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,13,16,.96) 0%, rgba(11,13,16,.78) 45%, rgba(11,13,16,.25) 100%), url("../img/hero.jpg") center/cover no-repeat;
}
.hero .wrap { position: relative; padding-top: 60px; padding-bottom: 60px; }
.hero-copy { max-width: 640px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: #c8d1da; max-width: 540px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0,200,255,.1); border: 1px solid rgba(0,200,255,.3); color: var(--accent); font-weight: 600; font-size: .85rem; margin-bottom: 20px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61,220,151,.2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; justify-content: start; }
.facts b { display: block; font-size: 1.6rem; color: var(--text); }
.facts span { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, auto); } }

/* Cards / grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.package { display: flex; flex-direction: column; position: relative; }
.package img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.package .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.package .price { font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.package .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.package ul { list-style: none; padding: 0; margin: 14px 0 22px; flex: 1; }
.package li { padding: 5px 0 5px 26px; position: relative; color: #c8d1da; }
.package li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.package.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -30px rgba(0,200,255,.5); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #001018; font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.meta .time { color: var(--muted); font-size: .9rem; }

/* Steps / why */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.why .card { padding: 24px; }
.why .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,200,255,.12); color: var(--accent); font-size: 1.3rem; margin-bottom: 14px; }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 14px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 110px; resize: vertical; }
.hidden { display: none !important; }
.form-card { padding: 28px; }
.note { font-size: .85rem; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 4/3; }
.gallery img.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Shop teaser */
.shop-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.shop-teaser .img { background: url("../img/s3.jpg") center/cover; min-height: 320px; }
.shop-teaser .body { padding: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: #c8d1da; font-size: .85rem; background: transparent; cursor: pointer; font: inherit; font-size: .85rem; }
.chip.active, .chip:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 800px) { .shop-teaser { grid-template-columns: 1fr; } .shop-teaser .body { padding: 28px; } }

/* Contact */
.info-list { display: grid; gap: 18px; }
.info-list .item { display: flex; gap: 14px; }
.info-list .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,200,255,.12); color: var(--accent); }
.info-list b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 22px; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 30px; color: var(--muted); font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.site-footer h4 { color: var(--text); margin: 0 0 10px; font-size: .95rem; }
.site-footer a { color: var(--muted); display: block; padding: 2px 0; }
.site-footer a:hover { color: var(--text); }
.legal { border-top: 1px solid var(--line); padding-top: 20px; font-size: .8rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Shop */
.shop-hero { padding: 56px 0 26px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 300px at 20% -50%, rgba(0,200,255,.18), transparent); }
.shop-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 30px 0 80px; align-items: start; }
@media (max-width: 980px) { .shop-layout { grid-template-columns: 1fr; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.toolbar input { max-width: 300px; }
.toolbar select { max-width: 220px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; padding: 18px; }
.product .thumb { height: 120px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, #18212b, #0f141a); border: 1px solid var(--line); }
.product .thumb svg { width: 56px; height: 56px; color: var(--accent); opacity: .9; }
.product .brand-name { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.product h3 { font-size: 1rem; margin: 4px 0 4px; }
.product .size { font-size: .8rem; color: var(--muted); }
.product p { font-size: .88rem; color: #b5c0ca; margin: 8px 0 14px; flex: 1; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product .buy b { font-size: 1.15rem; }
.basket { position: sticky; top: 90px; padding: 22px; }
.basket h3 { display: flex; justify-content: space-between; }
.basket-lines { list-style: none; padding: 0; margin: 0 0 14px; max-height: 340px; overflow: auto; }
.basket-lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.alert { padding: 12px 14px; border-radius: 10px; background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.35); color: #ffb3b3; font-size: .9rem; margin-top: 12px; }
.info-box { padding: 12px 14px; border-radius: 10px; background: rgba(0,200,255,.07); border: 1px solid rgba(0,200,255,.25); font-size: .86rem; color: #c8d1da; margin-top: 14px; }

/* Prose pages */
.prose { max-width: 780px; padding: 56px 20px 90px; margin: 0 auto; }
.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #c8d1da; }
