:root {
  --bg: #faf8f5; --surface: #fff; --surface-2: #f3f0eb; --border: #e8e3dc;
  --text: #1c1a17; --text-2: #5a554d; --accent: #d94a0a; --accent-fg: #fff; --accent-bg: #fff0e8;
  --green: #15803d; --shadow: 0 12px 32px rgb(28 26 23 / .14);
  --max: 1160px;
}
:root[data-theme="dark"] {
  --bg: #0d0c0a; --surface: #1b1916; --surface-2: #27241f; --border: #35312b;
  --text: #f3efe9; --text-2: #b2aba0; --accent: #ff7a3d; --accent-fg: #1c0f07; --accent-bg: rgb(255 122 61 / .14);
  --green: #4ade80; --shadow: 0 16px 36px rgb(0 0 0 / .6);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 17px/1.55 "Onest", system-ui, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.02em; line-height: 1.12; }
p, li { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font: 600 15px "Onest", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .12s, border-color .12s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

.tile { width: 36px; height: 36px; border-radius: 12px; background: #fdfefe; border: 1px solid var(--border); display: grid; place-items: center; flex: none; }
.tile.sm { width: 28px; height: 28px; border-radius: 9px; }

/* Nav: flat first, glass pill after scroll */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav-bar { pointer-events: auto; display: flex; align-items: center; gap: 24px; width: 100%; max-width: var(--max); padding: 16px 24px; border-radius: 0; transition: max-width .5s cubic-bezier(.2,0,0,1), margin .5s cubic-bezier(.2,0,0,1), padding .5s cubic-bezier(.2,0,0,1), border-radius .5s cubic-bezier(.2,0,0,1), background .3s, box-shadow .3s; }
.nav.scrolled .nav-bar { max-width: min(calc(100% - 24px), 980px); margin-top: 12px; padding: 8px 10px 8px 16px; border-radius: 999px; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, #fff 9%, transparent), transparent 60%), color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent), 0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent), var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); }
.links a:hover { color: var(--text); background: var(--surface-2); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.langs { display: flex; gap: 2px; margin-right: 4px; }
.langs a { padding: 6px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text-2); }
.langs a[aria-current] { color: var(--text); background: var(--surface-2); }

main { padding-top: 0; }
.hero { max-width: var(--max); margin: 0 auto; padding: 150px 24px 96px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 100svh; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; letter-spacing: -.035em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 54ch; margin: 22px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { margin: 28px 0 0; font-size: 14px; color: var(--text-2); }

.hero-art { position: relative; min-height: 460px; }
.phone { position: absolute; right: 6%; top: 0; width: 270px; padding: 18px; border-radius: 36px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 12px; }
.shop-head { display: flex; align-items: center; gap: 8px; padding-bottom: 4px; }
.prod { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--surface-2); }
.prod b { display: block; font-size: 14px; line-height: 1.25; } .prod span { font-size: 13px; color: var(--text-2); }
.prod-img { width: 56px; height: 56px; border-radius: 14px; flex: none; background: linear-gradient(135deg, #f5a46d, #d94a0a); }
.prod-img.alt { background: linear-gradient(135deg, #8aa4ff, #4d6fe0); }
.glass { isolation: isolate; background: linear-gradient(180deg, color-mix(in srgb, #fff 10%, transparent), transparent 60%), color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); border: 1px solid color-mix(in srgb, var(--text) 12%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent), var(--shadow); }
.order-card { position: absolute; left: 0; bottom: 24px; width: 290px; padding: 18px; border-radius: 22px; }
.oc-top { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 12px; font-size: 15px; }
.dot-ok { font-size: 12px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.dot-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.oc-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); padding: 4px 0; }
.oc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.oc-total b { font-size: 24px; letter-spacing: -.02em; }

.section { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.03em; }
.feats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.feat { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--border); }
.feat h3 { font-size: 20px; margin-bottom: 8px; } .feat p { margin: 0; color: var(--text-2); font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; counter-reset: s; }
.step { display: flex; gap: 16px; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-bg); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.step h3 { font-size: 18px; margin-bottom: 6px; } .step p { margin: 0; color: var(--text-2); font-size: 15px; }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; margin: 0 auto; max-width: calc(var(--max) - 48px); padding: 56px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.faq { margin-top: 40px; max-width: 780px; border-top: 1px solid var(--border); }
.qa { border-bottom: 1px solid var(--border); padding: 20px 0; }
.qa summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::after { content: "+"; color: var(--text-2); font-size: 22px; line-height: 1; }
.qa[open] summary::after { content: "-"; }
.qa p { margin: 12px 0 0; color: var(--text-2); }
.contact { text-align: center; }
.contact .lead { margin-inline: auto; } .contact .cta { justify-content: center; }
.footer { max-width: var(--max); margin: 0 auto; padding: 32px 24px 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; border-top: 1px solid var(--border); }
.footer a { color: var(--text); }

@media (max-width: 1060px) {
  .links { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; gap: 24px; }
  .hero-art { min-height: 400px; }
  .phone { right: 0; width: 240px; } .order-card { width: 260px; }
  .price { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; border-radius: 24px; }
  .section { padding: 64px 20px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; } .nav-bar { padding: 12px 16px; }
  .btn-lg { width: 100%; } .cta { flex-direction: column; }
  .langs a { padding: 6px 7px; }
}
