:root {
  --ink: #0f2230;
  --ink-2: #3c5262;
  --muted: #6b7f8d;
  --line: #dde5ea;
  --bg: #ffffff;
  --bg-2: #f3f7f9;
  --glass: #2a8fb0;
  --glass-d: #1d6f8b;
  --glass-l: #e3f2f7;
  --accent: #f2a541;
  --ok: #1f8a5b;
  --err: #c2412d;
  --r: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 34, 48, .25);
  --font: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--glass-d); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #1b3547; }
.btn.primary { background: var(--glass); }
.btn.primary:hover { background: var(--glass-d); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* top bar + nav */
.topbar { background: var(--ink); color: #c9d8e1; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { text-decoration: none; color: #fff; }
.topbar-r { display: flex; gap: 1.2rem; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #bfe3ef 0%, var(--glass) 55%, var(--ink) 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.nav nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav nav a:hover { color: var(--glass-d); }
.basket-link { position: relative; padding: .4rem; color: var(--ink); }
.badge { position: absolute; top: -2px; right: -4px; background: var(--accent); color: var(--ink); font-size: .7rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; }

@media (max-width: 820px) {
  .topbar-r a:first-child, .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .burger { display: block; margin-left: auto; width: 34px; height: 34px; position: relative; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 6px; right: 6px; height: 2px; background: var(--ink); content: ''; }
  .burger span { top: 16px; } .burger span::before { top: -7px; left: 0; right: 0; } .burger span::after { top: 7px; left: 0; right: 0; }
  .nav nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; }
  .nav nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  #navtoggle:checked ~ nav { display: flex; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #cfeaf3 0%, transparent 60%), linear-gradient(180deg, var(--bg-2), #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 4.5rem 0 4rem; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-art { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 1.2rem; color: var(--muted); }
.hero-art .chip-row { display: flex; justify-content: space-between; align-items: center; padding: .3rem .4rem .8rem; }
.hero-art .price-big { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding: 3rem 0; } }

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem 0; }
.trust div { display: flex; gap: .7rem; align-items: center; font-weight: 700; font-size: .92rem; }
.trust i { width: 34px; height: 34px; border-radius: 10px; background: var(--glass-l); color: var(--glass-d); display: grid; place-items: center; font-style: normal; flex: none; }
@media (max-width: 820px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }

section.block { padding: 4.5rem 0; }
section.alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head p { max-width: 38em; margin: 0; }

/* product grid */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab { border: 0; font: inherit; font-weight: 700; font-size: .9rem; padding: .55em 1.1em; border-radius: 999px; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-art { background: linear-gradient(180deg, #f6fafc, #eaf3f7); color: var(--muted); padding: .4rem; aspect-ratio: 480 / 300; display: grid; place-items: center; }
.card-art svg { width: 100%; height: 100%; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.from { font-weight: 800; }
.from small { font-weight: 600; color: var(--muted); }
.go { color: var(--glass-d); font-weight: 700; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: s; }
.step { background: #fff; border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--glass); color: #fff; font-weight: 800; margin-bottom: 1rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--glass-d); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }

.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band p { color: #b9cad5; margin: 0; }

/* footer */
.footer { background: #0b1923; color: #c2d1db; padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer h4 { color: #fff; font-size: .95rem; }
.footer a { display: block; text-decoration: none; padding: .2rem 0; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: .8rem; }
.footer .muted { color: #8399a7; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #1f3442; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; color: #8399a7; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* configurator */
[hidden] { display: none !important; }
.cfg > *, .basket > * { min-width: 0; }
.cfg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; padding: 2.5rem 0 4rem; align-items: start; }
.cfg-visual { position: sticky; top: 90px; }
.cfg-stage { background: linear-gradient(180deg, #f6fafc, #e6f1f6); border-radius: 20px; padding: 1rem; color: var(--ink-2); }
.cfg-stage svg { width: 100%; height: auto; }
.cfg-picker { display: flex; gap: .5rem; overflow-x: auto; padding: 1rem 0 .2rem; scrollbar-width: thin; }
.cfg-picker a { flex: none; text-decoration: none; font-size: .82rem; font-weight: 700; padding: .5em .9em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); white-space: nowrap; }
.cfg-picker a.on { background: var(--ink); color: #fff; box-shadow: none; }
.cfg-form h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.field { margin: 1.4rem 0; }
.field > label, .field > .lbl { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.field .hint { font-weight: 500; color: var(--muted); }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.input:focus-within { border-color: var(--glass); box-shadow: 0 0 0 3px var(--glass-l); }
.input input { border: 0; outline: 0; font: inherit; font-size: 1.05rem; font-weight: 700; padding: .75rem .9rem; width: 100%; min-width: 0; background: transparent; color: var(--ink); }
.input span { padding-right: .9rem; color: var(--muted); font-weight: 600; }
.input.bad { border-color: var(--err); }
.err { color: var(--err); font-size: .8rem; margin-top: .3rem; min-height: 1em; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; gap: .6rem; align-items: center; height: 100%; padding: .7rem .8rem; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-size: .88rem; font-weight: 600; background: #fff; }
.choice label small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.choice input:checked + label { border-color: var(--glass); background: var(--glass-l); box-shadow: 0 0 0 1px var(--glass); }
.choice input:focus-visible + label { outline: 3px solid var(--glass-l); }
.sw { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { border: 0; background: #fff; width: 38px; height: 38px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--bg-2); }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; }
.count-row { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; font-weight: 600; font-size: .92rem; }

.pricebox { position: sticky; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin-top: 1.5rem; }
.pricebox .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pricebox .total { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.pricebox .ex { color: var(--muted); font-size: .85rem; }
.pricebox .actions { display: flex; gap: .7rem; margin-top: 1rem; align-items: center; }
.pricebox .actions .btn { flex: 1; }
.meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); margin-top: .8rem; }
.meta span::before { content: '✓ '; color: var(--ok); font-weight: 800; }
@media (max-width: 900px) {
  .cfg { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 1rem; }
  .cfg-visual { position: static; }
  .pricebox { padding: .9rem 1rem; }
  .pricebox .total { font-size: 1.6rem; }
  .pricebox .meta { display: none; }
}

/* basket */
.basket { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; padding: 2.5rem 0 4rem; align-items: start; }
.line { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-art { background: var(--bg-2); border-radius: 10px; padding: .2rem; color: var(--muted); }
.line h3 { margin: 0 0 .2rem; }
.line .desc { font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }
.line .price { text-align: right; font-weight: 800; }
.line .price small { display: block; font-weight: 600; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .85rem; color: var(--err); cursor: pointer; text-decoration: underline; margin-left: .8rem; }
.summary { background: var(--bg-2); border-radius: 18px; padding: 1.5rem; position: sticky; top: 90px; }
.summary .row { display: flex; justify-content: space-between; padding: .45rem 0; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .9rem; font-weight: 800; font-size: 1.3rem; }
.empty { text-align: center; padding: 4rem 1rem; }
.notice { background: #fff4e5; border: 1px solid #f6d29b; color: #7a4b07; padding: .8rem 1rem; border-radius: 12px; font-size: .88rem; margin-top: 1rem; }
@media (max-width: 900px) { .basket { grid-template-columns: 1fr; } .line { grid-template-columns: 80px 1fr; } .line .price { grid-column: 2; text-align: left; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: .9rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: center; transition: transform .3s; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast a { color: var(--accent); font-weight: 700; }

.prose { max-width: 760px; padding: 3rem 0 4rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
