/* BezKordoniv · VNE — визуальная система по мотивам vne.it: Manrope, акцент #ec008b, серые вставные блоки, чёрные шапка/подвал */

:root {
  --pink: #ec008b; --pink-d: #c40074; --ink: #020101; --grey: #e0e1e4; --grey-2: #f1f2f4;
  --muted: #55595f; --line: #c9ccd1; --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 Manrope, Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--pink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--pink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { color: var(--pink); font-size: .8rem; font-weight: 500; margin: 0 0 .6em; letter-spacing: .01em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 46em; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { font-size: .85rem; color: var(--muted); margin-top: 1em; }
html:not(.js) .js-only { display: none; }

/* --- Topbar / Header --- */
.topbar { background: var(--ink); color: #fff; font-size: .76rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__right { display: flex; gap: 22px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--grey); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin: 0; line-height: 1.15; }
.logo b { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; }
.logo i { color: var(--pink); font-style: normal; font-weight: 800; font-size: 1.45rem; }
.logo span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); max-width: 13em; }
.logo:hover { color: var(--ink); }
.logo--light b, .logo--light span { color: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a[aria-current] { border-color: var(--pink); }
.nav__end { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 2px; font-size: .8rem; font-weight: 600; }
.langs a { text-decoration: none; padding: 4px 6px; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--pink); }
.menu-btn { display: none; margin-left: auto; font: 600 .8rem Manrope, Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em;
  background: none; border: 1.5px solid var(--ink); padding: 9px 14px; cursor: pointer; color: var(--ink); }

/* --- Buttons & links --- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--pink); color: #fff; text-decoration: none; border: 1.5px solid var(--pink);
  font: 700 .8rem/1 Manrope, Arial, sans-serif; text-transform: uppercase; letter-spacing: .07em; padding: 16px 26px; cursor: pointer; }
.btn:hover { background: var(--pink-d); border-color: var(--pink-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sm { padding: 11px 16px; font-size: .72rem; }
.btn[aria-current] { background: var(--ink); border-color: var(--ink); }
.more { display: inline-block; color: var(--pink); text-decoration: none; text-transform: uppercase; font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; border-bottom: 1px solid var(--pink); padding-bottom: 4px; }
.more::after { content: '  ↘'; }
.more:hover { color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* --- Sections --- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.panel { background: var(--grey); margin: 0 clamp(8px, 2vw, 25px); }
.section--tight { padding-top: 0; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 18em; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__figure { background: #fff; padding: 36px 24px 22px; text-align: center; position: relative; }
.hero__figure img { margin: 0 auto; width: 171px; }
.hero__figure figcaption { margin-top: 18px; font-size: .9rem; }
.hero__figure figcaption b { display: block; font-size: 1.15rem; }
.hero__ship { position: absolute; right: 0; top: 0; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; padding: 8px 12px; }
.hero__badge { position: absolute; left: 0; bottom: 0; background: var(--pink); color: #fff; font-size: .78rem; font-weight: 600; padding: 10px 14px; transform: translateY(calc(100% - 20px)); } /* в карточку заходит ровно 20px (< нижнего padding 22px): бейдж в две строки не закрывает цену */
.big { font-size: clamp(3.4rem, 11vw, 8.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: .9; color: var(--pink); margin: 0; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--pink); font-weight: 600; font-size: clamp(2.8rem, 6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1; margin: 0 0 12px; }

/* Steps (VNE "How we work") */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { background: #fff; padding: 30px 28px 32px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; }
.step p { color: var(--muted); font-size: .95rem; }
.step .more { margin-top: auto; align-self: flex-start; }
.step .outline { color: transparent; font-size: clamp(2.8rem, 6vw, 4.4rem); }

/* Category list (VNE "Our products") */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 64px; margin-top: 40px; }
.cat { text-decoration: none; display: block; }
.cat__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem;
  padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.cat__title::after { content: '↘'; color: #9a9ea5; font-weight: 400; }
.cat:hover .cat__title::after { color: var(--pink); }
.cat p { color: var(--muted); font-size: .93rem; margin-top: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; margin-top: 34px; }
.card { background: #fff; border: 1px solid var(--grey); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.panel .card { border-color: #fff; }
.card__img { height: 250px; display: grid; place-items: center; padding: 18px; background: #fff; border-bottom: 1px solid var(--grey-2); position: relative; }
.card__ship { position: absolute; left: 0; top: 14px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 700; padding: 6px 10px; }
.card__img img { max-height: 214px; width: auto; object-fit: contain; }
.ph { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.3px var(--pink); text-align: center; line-height: 1; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body > p { font-size: .92rem; color: var(--muted); }
.card__body h3 { margin-bottom: .25em; }
.card__tag { font-size: .8rem !important; font-weight: 600; color: var(--ink) !important; }
.card__price { display: block; margin: 6px 0 16px; padding: 14px 0; border-top: 1px solid var(--grey); border-bottom: 1px solid var(--grey); }
.card__price dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card__price dd { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.card__price small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cart-stub { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cart-stub small { font-size: .7rem; color: var(--muted); }
.cart { font: 700 .68rem/1 Manrope, Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 9px 12px; white-space: nowrap;
  border: 1.5px solid var(--line); background: var(--grey-2); color: #8a8e95; }
.cart:disabled { cursor: not-allowed; }
.ptable .cart-col { text-align: right; width: 1%; }
.card details { margin: 0 0 18px; font-size: .85rem; }
.card summary, .modules summary { cursor: pointer; font-weight: 600; font-size: .85rem; }
.specs { padding-left: 18px; margin: 10px 0; color: var(--muted); }
.specs li { margin-bottom: 4px; }
.src { font-size: .78rem; color: var(--muted); }
.variants { list-style: none; padding: 0; margin: 0 0 6px; font-size: .86rem; }
.variants li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); }
.badge { font-style: normal; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--pink);
  padding: 2px 6px; margin-left: 4px; white-space: nowrap; }

/* Product groups */
.group { padding: clamp(40px, 6vw, 72px) 0 0; scroll-margin-top: 90px; }
.group__head { max-width: 46em; }
.group__head p:last-child { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips a { text-decoration: none; font-size: .8rem; font-weight: 600; border: 1.5px solid var(--ink); padding: 8px 14px; }
.chips a:hover { background: var(--ink); color: #fff; }
.modules { margin-top: 26px; background: var(--grey-2); padding: 18px 22px; }
.modules dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; margin: 16px 0 4px; font-size: .86rem; }
.modules dt { font-weight: 700; }
.modules dd { margin: 0; color: var(--muted); }

/* Price tables */
.ptables { scroll-margin-top: 90px; padding: clamp(40px, 6vw, 72px) 0 0; }
.ptables .table-wrap, .ptables .note { max-width: 940px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 340px; }
.ptable th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600;
  padding: 10px 10px; border-bottom: 1.5px solid var(--ink); }
.ptable th.num { text-align: right; }
.ptable td { padding: 11px 10px; border-bottom: 1px solid var(--grey); vertical-align: top; }
.ptable td.num { font-weight: 700; }
.ptable tr.grp th { color: var(--pink); font-size: .8rem; text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--line); padding-top: 26px; }
.ptable td a { text-decoration: none; border-bottom: 1px solid var(--line); }
.ptable td a:hover { border-color: var(--pink); }

/* Delivery terms + shipping voucher */
.ship { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; background: #fff; border: 1.5px solid var(--ink);
  border-left: 6px solid var(--pink); padding: 18px 22px; margin: 28px 0 0; max-width: 940px; }
.panel .ship { border-color: #fff; border-left-color: var(--pink); }
.ship p { margin: 0; flex: 1 1 300px; font-size: .93rem; }
.ship strong { color: var(--pink); }
.ship__badge { background: var(--pink); color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: -0.01em; padding: 10px 14px; white-space: nowrap; }
aside .ship { margin-top: 32px; }
aside .ship p { flex-basis: 100%; }

/* Partner in Germany */
.partner { display: flex; gap: 20px; align-items: flex-start; background: var(--grey-2); padding: 26px; margin-top: 28px; }
.partner__mark { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.partner h3 { font-size: 1.15rem; }
.partner p { color: var(--muted); font-size: .93rem; }
.split > .partner { margin-top: 0; }

/* Content blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose > * { max-width: 46rem; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.facts li::before { content: '↘'; color: var(--pink); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-top: 34px; }
.stats p { margin: 0; }
.band { background: var(--pink); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.band h2 { margin: 0; color: #fff; }
.band .btn { background: #fff; color: var(--pink); border-color: #fff; }
.band .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.example td:first-child { font-weight: 600; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: .8rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; border: 1.5px solid #9a9ea5; background: #fff; padding: 12px 12px; border-radius: 0; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(236, 0, 139, .18); }
.field [aria-invalid="true"] { border-color: #c4001a; }
.err { color: #c4001a; font-size: .8rem; min-height: 0; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .85rem; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-msg { grid-column: 1 / -1; background: #fff; border-left: 4px solid var(--pink); padding: 16px 18px; }
.form-msg[hidden] { display: none; }

/* Footer */
.footer { background: var(--ink); color: #fff; margin-top: clamp(56px, 8vw, 104px); font-size: .85rem; }
main:has(> .band:last-child) + .footer { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; padding-top: 64px; padding-bottom: 40px; }
.footer h2 { font-size: .95rem; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a:hover { color: var(--pink); }
.footer p { color: #cfd1d5; }
.footer .logo { margin-bottom: 14px; flex-wrap: wrap; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 26px;
  border-top: 1px solid #2a2a2a; color: #a9adb3; font-size: .76rem; }
.totop { position: fixed; right: 0; bottom: 18%; width: 44px; height: 44px; background: var(--pink); color: #fff; display: grid;
  place-items: center; text-decoration: none; font-size: 1.2rem; z-index: 15; }
.totop:hover { background: var(--ink); color: #fff; }

/* --- Responsive --- */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--grey);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; }
  .nav.open, html:not(.js) .nav { display: flex; }
  html:not(.js) .nav { position: static; padding: 0 0 16px; }
  html:not(.js) .header__inner { flex-wrap: wrap; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--grey); }
  .nav ul a[aria-current] { color: var(--pink); border-color: var(--grey); }
  .nav__end { justify-content: space-between; padding-top: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .topbar__right { gap: 14px; }
  .topbar__right span { display: none; }
  .header__inner { min-height: 66px; }
  .logo { flex-direction: column; gap: 2px; align-items: flex-start; }
  .logo i { display: none; }
  .logo b { font-size: 1.3rem; }
  .logo span { font-size: .62rem; max-width: none; }
  .hero__grid, .split, .cats, .steps, .form, .modules dl { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .card__img { height: 220px; }
  .card__img img { max-height: 184px; }
  .totop { display: none; }
  /* Таблицы цен на телефоне: модель | цена, под ними кнопка магазина — без скролла вбок */
  .ptable, .ptable thead, .ptable tbody { display: block; min-width: 0; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; border-bottom: 1px solid var(--grey); }
  .ptable thead tr { border-bottom: 1.5px solid var(--ink); }
  .ptable tr.grp { display: block; border-bottom: 0; }
  .ptable tr.grp th { display: block; }
  .ptable th, .ptable td { border-bottom: 0; }
  .ptable .cart-col { grid-column: 1 / -1; width: auto; padding-top: 0; }
}
