:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #14161c;
  --muted: #5d626e;
  --line: #e4e2dc;
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --dark: #14161c;
  --tg: #229ed9;
  --radius: 20px;
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(20,22,28,.04), 0 12px 32px -12px rgba(20,22,28,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.wrap--narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(255,90,31,.6); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--tg { background: var(--tg); }
.btn--tg:hover { background: #1b8cc2; box-shadow: 0 10px 24px -8px rgba(34,158,217,.6); }
.btn--ig { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); }
.btn--ig:hover { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); box-shadow: 0 10px 24px -8px rgba(225,48,108,.6); }

/* ---------- top bar & nav ---------- */
.topbar { background: var(--dark); color: #d9dbe2; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__links { display: flex; gap: 18px; font-weight: 700; }
.topbar__links a { white-space: nowrap; }
.topbar__links a:hover { color: var(--accent); }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(246,245,242,.88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo b { color: var(--accent); font-weight: 800; }
.logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--accent); font-weight: 800; font-size: 20px; }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--accent); color: #fff; }
img.logo__mark { object-fit: cover; background: #120a08; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: 4px; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #ffe6dc; color: #c23d0b; font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(32px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.hl { color: var(--accent); }
.hero__lead { margin-top: 20px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__facts b { display: block; font-family: var(--head); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.hero__facts span { font-size: 14px; color: var(--muted); }
.hero__media { position: relative; padding-bottom: 18%; }
.hero__img { border-radius: 28px; box-shadow: var(--shadow); }
.hero__img--main { width: 88%; }
.hero__img--side { position: absolute; width: 52%; right: 0; bottom: 0; border: 6px solid var(--bg); }
.hero__badge { position: absolute; left: -10px; bottom: 6%; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.hero__badge b { display: block; font-family: var(--head); color: var(--accent); }
.hero__badge span { font-size: 13px; color: #c5c8d0; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: #efede8; }
.section--dark { background: var(--dark); color: #fff; }
.section__head { margin-bottom: 36px; max-width: 720px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.title { font-family: var(--head); font-weight: 800; font-size: clamp(26px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.section__sub { margin-top: 12px; color: var(--muted); }

/* ---------- catalog ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.sort select { padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card__img { aspect-ratio: 3 / 4; overflow: hidden; background: #eceae5; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 18px; line-height: 1.3; margin: 4px 0 10px; font-weight: 800; }
.specs { list-style: none; display: grid; gap: 4px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.specs li { padding-left: 16px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.price__old { display: block; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--muted); }
.price--ask { font-size: 16px; color: var(--accent); }
.swatches { display: flex; gap: 8px; margin: -4px 0 14px; }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.swatch.is-active { box-shadow: 0 0 0 2px var(--ink); }
.price small { font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 700; }
.card__foot .btn { flex: 1 0 auto; }
.card__foot .price { flex: 1 0 auto; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.badge--hot { background: var(--accent); color: #fff; }
.badge--dark { background: var(--ink); color: #fff; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.feature__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #ffe6dc; font-size: 24px; margin-bottom: 16px; }
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- choose ---------- */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choose__card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; }
.choose__card img { border-radius: 14px; margin-bottom: 18px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 75%; width: 100%; }
.choose__card h3 { font-family: var(--head); font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.choose__card > p { color: var(--muted); margin-bottom: 14px; }
.choose__card ul { list-style: none; display: grid; gap: 8px; }
.choose__card li { padding: 10px 14px; background: var(--bg); border-radius: 12px; font-size: 15px; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 26px; border-radius: var(--radius); background: #1e2129; border: 1px solid #2b2f3a; }
.steps b { font-family: var(--head); font-size: 34px; color: var(--accent); }
.steps h3 { font-size: 20px; margin: 8px 0 6px; }
.steps p { color: #b4b8c3; }
.howto { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.howto__video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 24px; background: #1e2129; box-shadow: var(--shadow); }
.steps--stack { grid-template-columns: 1fr; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.faq a, .seo a { color: var(--accent); font-weight: 700; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact__cards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
a.ccard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ccard small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; }
.ccard b { font-size: clamp(16px, 2vw, 20px); }
.ccard__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #ffe6dc; font-size: 24px; }
.ccard__ico svg { width: 24px; height: 24px; fill: #fff; }
.ccard__ico--phone { background: var(--accent); }
.ccard__ico--tg { background: var(--tg); }
.ccard__ico--ig { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); }

.form { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; }
.form h3 { font-family: var(--head); font-size: 22px; letter-spacing: -.02em; }
.form__hint { color: var(--muted); font-size: 14px; margin-top: -8px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.opt { color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 16px; font-weight: 500; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form input.is-invalid { border-color: #d92d20; }
.form textarea { resize: vertical; }
.form__msg { font-size: 14px; font-weight: 700; color: #138a4e; min-height: 1.2em; }
.form__msg.is-error { color: #d92d20; }

/* ---------- SEO text & footer ---------- */
.seo { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.seo h2 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.footer { background: var(--dark); color: #b4b8c3; padding: 40px 0 96px; }
.footer__inner { display: grid; gap: 14px; justify-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 700; color: #fff; }
.footer__links a:hover { color: var(--accent); }

/* ---------- floating buttons ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: grid; gap: 10px; }
.fab__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); transition: transform .2s; }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 26px; height: 26px; fill: #fff; }
.fab__btn--tg { background: var(--tg); }
.fab__btn--phone { background: var(--accent); animation: ring 2.4s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,90,31,.5); } 60% { box-shadow: 0 0 0 14px rgba(255,90,31,0); } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(20,22,28,.6); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 420px; background: var(--surface); border-radius: 24px; padding: 28px 24px 24px; animation: pop .25s ease-out; }
@keyframes pop { from { transform: translateY(16px); opacity: 0; } }
.modal__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; font-size: 28px; line-height: 1; color: var(--muted); }
.modal h3 { font-family: var(--head); font-size: 20px; letter-spacing: -.02em; padding-right: 30px; }
.modal__price { font-family: var(--head); font-size: 22px; color: var(--accent); margin: 6px 0 10px; }
.modal__hint { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.modal__actions { display: grid; gap: 10px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: 1fr 1fr; }
  .nav__call { display: none; }
}
@media (max-width: 860px) {
  .hero__inner, .choose, .contact { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 1fr; justify-items: center; }
  .howto__video { max-width: 320px; }
  .burger { display: block; margin-left: auto; }
  .nav__links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(0,0,0,.2); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .topbar__inner > span { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 10px; }
  .topbar__links a[href="tel:+998931034656"] { display: none; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__badge { left: 0; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
