/* Локальные шрифты; лицензии и источники — в fonts/. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/inter.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600 800;font-display:swap;src:url("../fonts/montserrat.woff2") format("woff2")}
/* РИКОН-ПЛАСТ — стили сайта. Светлая основа, синий акцент, тёмные продуктовые сцены. */
:root{
  --blue:#0058DA; --blue-dark:#004994; --blue-soft:#E8F0FD;
  --ink:#0A0B0F; --text:#1A1D22; --muted:#6B6F76;
  --line:#E6E7E9; --bg:#FFFFFF; --bg-soft:#F4F5F7;
  --radius:10px;
  --font-head:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);color:var(--text);background:var(--bg);line-height:1.6;font-size:17px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-dark)}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:700;line-height:1.2;margin:0 0 .5em;color:var(--text);overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
h1{font-size:clamp(1.9rem,4vw,2.7rem);letter-spacing:-.01em}
h2{font-size:clamp(1.4rem,2.5vw,1.85rem)}
h3{font-size:1.15rem}
h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
p{margin:0 0 1em}
.container{max-width:1160px;margin:0 auto;padding:0 20px}
.lead{font-size:1.1rem;color:var(--muted)}
.muted{color:var(--muted)}
.small{font-size:.9rem}
.eyebrow{font-family:var(--font-head);font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--blue);margin-bottom:.8em}
.link{font-weight:600}
.note{font-size:.8rem;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:2px 8px;margin-left:8px;white-space:nowrap}

/* Шапка */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}
.logo{display:flex;align-items:center;gap:12px;color:var(--text)}
.logo__mark{flex:none;color:var(--text)}
.logo__text{display:flex;flex-direction:column;line-height:1.1}
.logo__text b{font-family:var(--font-head);font-weight:800;font-size:1.15rem;letter-spacing:.02em}
.logo__text small{font-size:.68rem;color:var(--muted)}
.nav{display:flex;align-items:center;gap:20px}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px}
.nav a{display:block;padding:8px 12px;border-radius:6px;color:var(--text);font-weight:500;font-size:.95rem}
.nav a:hover{background:var(--bg-soft)}
.nav a.active{color:var(--blue)}
.nav a.nav__cta{color:#fff;padding:9px 16px}
.nav a.nav__cta:hover{background:var(--blue-dark);color:#fff}
.nav-toggle{display:none;background:none;border:0;width:44px;height:44px;padding:12px 10px;margin-right:-10px;cursor:pointer;flex-direction:column;justify-content:space-between;-webkit-tap-highlight-color:transparent}
.nav-toggle span{display:block;height:2px;background:var(--text);border-radius:2px;transition:transform .2s,opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 24px;border-radius:8px;font-family:var(--font-head);font-weight:600;font-size:.95rem;border:1.5px solid transparent;cursor:pointer;transition:.15s;white-space:nowrap}
.btn-sm{padding:9px 16px;font-size:.85rem}
a.btn-primary,.btn-primary{background:var(--blue);color:#fff}
a.btn-primary:hover,.btn-primary:hover{background:var(--blue-dark);color:#fff}
a.btn-outline{border-color:var(--blue);color:var(--blue);background:transparent}
a.btn-outline:hover{background:var(--blue-soft);color:var(--blue-dark)}
a.btn-ghost{border-color:rgba(255,255,255,.4);color:#fff;background:transparent}
a.btn-ghost:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 0}

/* Секции */
.section{padding:72px 0}
[id]{scroll-margin-top:90px}
.section-soft{background:var(--bg-soft)}
.section-dark{background:var(--ink);color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.section-dark .lead{color:rgba(255,255,255,.72)}
.section__title{margin-bottom:32px}
.page-head{padding:56px 0 32px;border-bottom:1px solid var(--line);background:var(--bg-soft)}
.page-head .lead{max-width:720px;margin:0}
.page-head--compact{padding:18px 0}
.crumbs{font-size:.85rem;color:var(--muted)}
.crumbs a{color:var(--muted)} .crumbs a:hover{color:var(--blue)}

/* Сетки */
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split__media img{border-radius:var(--radius);border:1px solid var(--line)}

/* Hero */
.hero{background:var(--ink);color:#fff;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(55% 75% at 78% 50%,rgba(0,88,218,.2),transparent 70%)}
.hero__grid{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;padding-block:80px}
.hero h1{color:#fff;margin-bottom:.6em}
.hero .lead{color:rgba(255,255,255,.75);max-width:540px}
.hero__media img{border-radius:var(--radius);box-shadow:0 30px 60px rgba(0,0,0,.5)}

/* Карточки продукции */
.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:var(--text);transition:box-shadow .2s}
.product-card:hover{box-shadow:0 12px 32px rgba(10,11,15,.08);color:var(--text)}
.product-card__img{background:#fff;aspect-ratio:4/3;overflow:hidden}
.product-card__img img{width:100%;height:100%;object-fit:contain}
.product-card__body{padding:24px;display:flex;flex-direction:column;flex:1}
.product-card h3{margin-bottom:8px}
.product-card p{color:var(--muted);font-size:.95rem;flex:1}
.product-card__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:14px;border-top:1px solid var(--line);margin-top:auto}
.price{font-family:var(--font-head);font-weight:700}

/* Преимущества */
.feature h3{font-size:1.02rem;margin:16px 0 6px}
.feature p{color:var(--muted);font-size:.95rem;margin:0}
.ico{display:inline-block;width:40px;height:40px;background-color:var(--blue);-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.ico-shield{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E")}
.ico-doc{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M10 12h6M10 16h6'/%3E%3C/svg%3E")}
.ico-gear{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M5.3 18.7l2.1-2.1M16.6 7.4l2.1-2.1'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E")}
.ico-factory{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9l5 3V9l5 3V9l5 3v9z'/%3E%3Cpath d='M17 12V4h3v8M7 17h2M11 17h2M15 17h2'/%3E%3C/svg%3E")}
.ico-phone{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E")}
.ico-mail{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E")}
.ico-chat{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E")}

/* Документы, QR */
.docs-strip{display:grid;grid-template-columns:1fr auto;gap:48px;align-items:center}
.docs-strip .lead{max-width:640px}
.qr-panel{background:#fff;border:2px solid var(--blue);border-radius:8px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:8px;clip-path:polygon(0 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%)}
.qr-panel span{font-family:var(--font-head);font-weight:600;font-size:.72rem;color:var(--text);text-transform:uppercase;letter-spacing:.08em}
.qr-panel--light{display:inline-flex;margin-bottom:12px;padding:8px}
.doc-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.doc-card .ico{width:44px;height:44px;margin-bottom:8px}
.doc-card p{color:var(--muted);font-size:.95rem;flex:1}
.doc-list{list-style:none;padding:0;margin:0}
.doc-list li{padding:10px 0;border-bottom:1px solid var(--line)}
.doc-list small{color:var(--muted);margin-left:6px}

/* Страница товара */
.product__grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:start}
.product__hero{background:var(--bg-soft);border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.product__hero img{width:100%;aspect-ratio:4/3;object-fit:cover}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.gallery__item{display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--bg-soft);aspect-ratio:1}
.gallery__item img{width:100%;height:100%;object-fit:cover}
.product__price{font-family:var(--font-head);font-weight:700;font-size:1.5rem;color:var(--blue);margin:8px 0 24px;display:flex;align-items:center;flex-wrap:wrap}
.product__details{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.product__details h2{font-size:1.3rem;margin-top:1.5em}
.product__details h2:first-child{margin-top:0}
.specs{width:100%;border-collapse:collapse;font-size:.95rem}
.specs th,.specs td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.specs th{font-weight:600;width:42%}
.specs--wide th{width:30%}
.check-list{list-style:none;padding:0;margin:0 0 1em}
.check-list li{padding:6px 0 6px 30px;position:relative}
.check-list li::before{content:"";position:absolute;left:0;top:.55em;width:18px;height:18px;background-color:var(--blue);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat}
.photo-stack{display:flex;flex-direction:column;gap:16px}
.photo-stack img{border-radius:var(--radius);border:1px solid var(--line)}
.photo-stack figure{margin:0}
.photo-stack figcaption{font-size:14px;color:var(--muted,#6b7280);margin-top:6px;text-align:center}

/* Контакты */
.contact-strip{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.contact-strip h2{margin-bottom:.2em}
.contact-strip .lead{margin:0}
.contact-strip__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-family:var(--font-head);font-weight:600;font-size:1.1rem}
.contact-card{padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:16px}
.contact-card p:last-child{margin:0}
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{display:flex;align-items:center;gap:12px;padding:8px 0}
.contact-list .ico{width:22px;height:22px;flex:none}
.contact-list small{color:var(--muted)}

/* Текст */
.prose{max-width:760px}
.prose h2{font-size:1.25rem;margin-top:1.6em}
.prose h2:first-child{margin-top:0}

/* Подвал */
.footer{background:var(--ink);color:rgba(255,255,255,.75);padding:52px 0 24px;font-size:.92rem}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}
.footer__brand{display:flex;flex-direction:column;margin-bottom:12px}
.footer__brand b{font-family:var(--font-head);color:#fff;font-size:1.1rem;letter-spacing:.02em}
.footer__brand span{font-size:.75rem;color:rgba(255,255,255,.5)}
.footer__legal{font-size:.82rem;line-height:1.6;color:rgba(255,255,255,.55)}
.footer h4{color:rgba(255,255,255,.5)}
.footer__links{list-style:none;padding:0;margin:0}
.footer__links li{padding:4px 0}
.footer__links a{color:rgba(255,255,255,.8)} .footer__links a:hover{color:#fff}
.footer__bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:32px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:.8rem;color:rgba(255,255,255,.5)}
.footer__bottom a{color:rgba(255,255,255,.6)}

/* Адаптив */
/* Планшет и узкий ноутбук */
@media (max-width:1024px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr);gap:28px}
  .hero__grid{grid-template-columns:1fr;gap:32px;padding-block:56px}
  .split,.product__grid,.product__details{grid-template-columns:1fr;gap:32px}
  .split__media{order:2}
  .footer__grid{grid-template-columns:1fr 1fr}
  .docs-strip{grid-template-columns:1fr;gap:28px}
  .qr-panel{justify-self:start}

  /* меню-гамбургер */
  .header__inner{min-height:64px}
  .nav-toggle{display:flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 16px 32px rgba(10,11,15,.08);padding:8px 20px 20px;flex-direction:column;align-items:stretch;gap:12px;max-height:calc(100vh - 64px);overflow-y:auto}
  .nav.open{display:flex}
  .nav ul{flex-direction:column;gap:0}
  .nav a{padding:14px 4px;border-bottom:1px solid var(--line);border-radius:0;font-size:1.05rem}
  .nav a:hover{background:none}
  .nav a.nav__cta{border-bottom:0;border-radius:8px;padding:14px 16px;font-size:1rem;margin-top:4px}
}

/* Телефон */
@media (max-width:720px){
  body{font-size:16px}
  .container{padding:0 16px}
  .section{padding:44px 0}
  .section__title{margin-bottom:20px}
  .page-head{padding:32px 0 24px}
  .page-head--compact{padding:14px 0}
  .lead{font-size:1.02rem}
  .grid{gap:16px}
  .grid-3,.grid-4{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr;gap:24px}
  .footer__bottom{flex-direction:column;gap:8px}
  .nav{padding:4px 16px 20px}

  /* логотип компактнее */
  .logo{gap:10px}
  .logo__mark{width:38px;height:38px}
  .logo__text b{font-size:1.05rem}
  .logo__text small{display:none}

  /* первый экран */
  .hero__grid{padding-block:36px 40px;gap:28px}
  .hero h1{font-size:1.85rem}

  /* кнопки во всю ширину */
  .actions{flex-direction:column;align-items:stretch;gap:10px;margin-top:24px}
  .actions .btn{width:100%}

  /* преимущества: иконка слева, текст справа */
  .features .feature{display:grid;grid-template-columns:40px 1fr;column-gap:16px;align-items:start}
  .feature .ico{grid-row:span 2}
  .feature h3{margin:6px 0 4px}

  /* QR на экране телефона не отсканировать — оставляем кнопку «Проверить в ГИСП» */
  .docs-strip .qr-panel{display:none}

  /* карточки */
  .product-card__body{padding:20px}
  .doc-card{padding:22px}
  .contact-card{padding:20px}
  .contact-strip{flex-direction:column;align-items:flex-start;gap:16px}

  /* товар */
  .product__price{font-size:1.3rem;margin-bottom:16px}
  .gallery{gap:8px}
  .product__details{gap:24px}

  /* таблица характеристик: название над значением */
  .specs,.specs tbody,.specs tr,.specs th,.specs td{display:block;width:auto}
  .specs tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .specs th,.specs td{border:0;padding:0}
  .specs th,.specs--wide th{width:auto;font-size:.82rem;font-weight:500;color:var(--muted);margin-bottom:2px}
}

/* Блокировка прокрутки страницы, пока открыто меню */
body.menu-open{overflow:hidden}
@media (min-width:1025px){body.menu-open{overflow:auto}}

/* Лайтбокс просмотра фото */
.lightbox{position:fixed;inset:0;z-index:1000;background:rgba(16,18,22,.88);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .2s ease}
.lightbox.open{opacity:1}
.lightbox__img{max-width:88vw;max-height:82vh;object-fit:contain;border-radius:8px;box-shadow:0 12px 48px rgba(0,0,0,.45);background:#fff}
.lightbox__counter{position:absolute;top:16px;left:20px;color:#c7ccd4;font-size:14px}
.lightbox__btn{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}
.lightbox__btn:hover{background:rgba(255,255,255,.3)}
.lightbox__btn--prev{left:14px}
.lightbox__btn--next{right:14px}
.lightbox__close{position:absolute;top:12px;right:14px;transform:none;font-size:22px}
body.lightbox-open{overflow:hidden}
@media (max-width:640px){
  .lightbox__btn{width:40px;height:40px;font-size:20px}
  }

/* Кнопка «Позвонить»: показанный номер можно выделить */
.js-call--shown{cursor:text;user-select:text}
