@font-face {
  font-family: "Tilda Sans";
  src: url("assets/tilda-sans.woff2") format("woff2");
  font-weight: 250 1000;
  font-display: swap;
}
:root {
  color: #080808;
  background: #fff;
  font-family: "Tilda Sans", Arial, sans-serif;
  font-synthesis: none;
  --paper: #f6f6f6;
  --orange: #ff9b44;
  --container: 1160px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: inherit; }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid #af591d;
  outline-offset: 4px;
}
.container { width: min(var(--container), calc(100% - 56px)); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(29px, 3.2vw, 42px); font-weight: 600; line-height: 1.2; }
section[id] { scroll-margin-top: 115px; }

.site-header { position: sticky; inset-block-start: 24px; z-index: 10; }
.home .site-header { position: fixed; inset: 60px 0 auto; }
.topbar {
  min-height: 70px;
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
  padding: 12px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-radius: 100px;
  background: rgb(255 255 255 / 80%);
  backdrop-filter: blur(12px);
}
.logo { width: fit-content; }
.logo img { width: 150px; height: auto; }
.topbar nav, .footer-inner nav { display: flex; align-items: center; gap: 30px; }
.topbar nav a, .callback { white-space: nowrap; text-transform: uppercase; }
.topbar nav a, .footer-inner nav a { text-decoration: none; }
.topbar nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.callback {
  justify-self: end;
  min-height: 40px;
  padding: 0 30px;
  border: 1px solid #080808;
  border-radius: 100px;
  background: white;
  color: #080808;
  font-size: 13px;
}
.menu-toggle { display: none; }

.hero {
  display: grid;
  align-items: center;
  min-height: 90vh;
  margin: 30px 30px 60px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgb(0 0 0 / 75%), rgb(0 0 0 / 59%)),
    #111 url("assets/hero.webp") center / cover no-repeat;
  color: white;
}
.hero-inner {
  width: min(var(--container), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
  padding-block: 155px;
}
.hero h1 { max-width: 720px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.17; font-weight: 400; text-transform: uppercase; }
.hero h1 strong { color: var(--orange); }
.hero h1 b, .hero h1 strong { font-weight: 750; }
.hero-copy > p { margin-top: 86px; font-size: clamp(25px, 2.6vw, 36px); font-weight: 800; }
.hero-card {
  padding: 33px 34px 34px;
  border-radius: 20px;
  background: rgb(255 255 255 / 80%);
  color: #070707;
}
.hero-card h2 { text-align: center; font-size: 18px; line-height: 1.3; font-weight: 650; }
.hero-card > p { margin: 9px 0 22px; text-align: center; font-size: 14px; line-height: 1.5; }
.lead-form { display: grid; gap: 20px; }
.lead-form > input {
  min-width: 0;
  height: 50px;
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 0 18px;
  background: #efefef;
  color: #080808;
  font-size: 15px;
}
.privacy-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.3; }
.privacy-check input { appearance: none; width: 20px; height: 20px; margin: 0; border: 2px solid currentColor; border-radius: 0; opacity: .67; cursor: pointer; }
.privacy-check input:checked { background: currentColor; }
.privacy-check input:checked::after { content: "✓"; display: block; color: #fff; font-size: 13px; text-align: center; }
.privacy-check a { font-weight: 700; text-decoration: none; }
.privacy-check a:hover { text-decoration: underline; }
.button {
  display: inline-grid; place-items: center; min-height: 50px;
  border: 1px solid #000; border-radius: 15px; padding: 0 28px;
  background: #000; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
}
.button:hover { background: #292929; border-color: #292929; }
.desktop-label { display: inline; }
.mobile-label { display: none; }
.form-status { padding: 10px 12px; border-radius: 8px; background: #fff6e9; color: #281909; font-size: 14px; }
.form-status a { font-weight: 700; }

.catalog-section { padding: 60px 0; background: var(--paper); }
.catalog-section h2 { margin-bottom: 42px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.category { order: var(--card-order); overflow: hidden; border-radius: 15px; box-shadow: 0 1px 12px #0004; background: #fff; }
.category picture { display: block; }
.category img { width: 100%; aspect-ratio: 1.8; height: auto; object-fit: cover; }
.category-copy { padding: 18px 20px 21px; }
.category h3 { margin-bottom: 18px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.category .button { min-width: 151px; }
.category-products { order: var(--panel-order); grid-column: 1 / -1; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 20px; }
.product-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; min-width: 0; }
.product-card .product-picture { width: 100%; }
.product-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; background: #e9e9e9; }
.product-card h3 { font-size: 16px; font-weight: 700; line-height: 1.25; }
.product-card .price { font-size: 16px; min-height: 20px; }
.product-card .price span { font-size: 13px; color: #626262; }
.product-card .button { min-height: 35px; border-radius: 5px; padding: 0 14px; font-size: 13px; margin-top: auto; }
.category-form { max-width: 680px; margin: 48px auto 0; text-align: center; }
.category-form h3 { font-size: 25px; margin-bottom: 9px; }
.category-form > p { margin-bottom: 18px; }
.category-form .lead-form { max-width: 460px; margin-inline: auto; text-align: left; }

.about-section, .comparison, .audience, .faq-section, .contacts-section { padding: 60px 0; }
.rich-text { font-size: 19px; line-height: 1.58; overflow-wrap: anywhere; }
.rich-text p + p { margin-top: .8em; }
.comparison { background: var(--paper); }
.comparison h2 { margin-bottom: 41px; }
.table-scroll { margin-top: 30px; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
.comparison table { min-width: 690px; font-size: 16px; }
table th, table td { padding: 14px; border: 1px solid #d4d4d4; text-align: left; vertical-align: top; }
thead th { background: #eaeaea; font-weight: 700; }
.audience { padding-bottom: 30px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.audience-grid img { width: 100%; aspect-ratio: 1.51; height: auto; object-fit: cover; border-radius: 15px; }
.audience-grid h3 { margin: 16px 0 8px; font-size: 22px; }
.audience-grid p { font-size: 16px; line-height: 1.5; }

.faq-section { padding: 30px 0 120px; }
.faq-list { max-width: 760px; margin: 84px auto 0; border-top: 1px solid #d5d5d5; }
.faq-list details { border-bottom: 1px solid #d5d5d5; }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 20px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); content: "+"; font-size: 37px; line-height: 1; font-weight: 250; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 28px 22px 0; font-size: 17px; line-height: 1.55; }

.inquiry-section {
  margin: 0 30px 60px; padding: 62px 0; border-radius: 20px;
  background: linear-gradient(#17100be8, #17100be8), #201b15 url("assets/contact-cover.webp") center / cover;
  color: white; text-align: center;
}
.inquiry-section > div > p { margin: 42px 0 54px; font-size: 20px; }
.inquiry-section .lead-form { max-width: 560px; margin-inline: auto; text-align: left; }
.inquiry-section .button { border-color: white; background: white; color: #080808; }
.inquiry-section .button:hover { background: #eaeaea; }
.contacts-section { background: var(--paper); padding: 90px 0; text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 104px; }
.contact-grid img { margin: 0 auto 36px; object-fit: contain; }
.contact-grid h3 { margin-bottom: 20px; font-size: 25px; font-weight: 600; }
.contact-grid a { font-size: 18px; line-height: 1.5; text-decoration: none; }
.contact-grid a:hover { text-decoration: underline; }
.contact-phone { font-weight: 700; }
.contact-map { font-weight: 350; }
.map-section iframe { display: block; width: 100%; height: 480px; border: 0; }
.site-footer { padding: 30px 0 45px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-inner p { text-align: right; font-size: 14px; line-height: 1.5; }
.footer-logo { width: fit-content; }
.policy-page { padding: 60px 0 90px; }
.policy-page h1 { margin-bottom: 50px; font-size: clamp(36px, 5vw, 54px); font-weight: 600; }
.policy-page .button { margin-top: 40px; }
.policy-page .quill-table__wrapper { overflow-x: auto; }

dialog {
  color: #080808; border: 0; background: white;
  max-width: calc(100% - 24px); max-height: calc(100% - 24px);
}
dialog::backdrop { background: #0009; }
.lead-dialog { width: 560px; padding: 46px; border-radius: 15px; text-align: center; }
.lead-dialog h2 { font-size: 32px; margin-bottom: 10px; }
.lead-dialog > p { margin-bottom: 25px; font-size: 18px; line-height: 1.4; }
.lead-dialog .lead-form { text-align: left; }
.dialog-close {
  position: absolute; inset: 10px 10px auto auto; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff;
  color: #080808; font-size: 31px; line-height: 1;
}
.product-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 105px 28px 40px; }
.product-dialog .product-close { position: fixed; }
.product-dialog article { max-width: 1160px; margin: auto; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.product-gallery { min-width: 0; position: relative; }
.gallery-frame { position: relative; background: #f2f2f2; }
.gallery-zoom { display: block; border: 0; width: 100%; padding: 0; background: transparent; cursor: zoom-in; }
.gallery-frame img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: white; color: #080808; font-size: 25px;
}
.gallery-arrow[data-gallery-step="-1"] { left: 12px; }
.gallery-arrow[data-gallery-step="1"] { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; padding: 4px; }
.gallery-thumbs button { width: 54px; flex: 0 0 54px; padding: 2px; border: 1px solid #d7d7d7; background: #fff; }
.gallery-thumbs button[aria-current="true"] { border-color: #080808; }
.gallery-thumbs img { width: 100%; height: 49px; object-fit: cover; }
.product-detail h1 { font-size: clamp(23px, 2vw, 26px); line-height: 1.15; }
.product-detail .product-price { margin-top: 16px; font-size: 22px; font-weight: 650; }
.product-unit { color: #626262; font-size: 14px; font-weight: 400; }
.product-old-price { color: #636363; font-size: 16px; margin-left: 8px; }
.product-code { margin-top: 7px; font-size: 14px; color: #565656; }
.product-options { margin: 18px 0; display: grid; gap: 12px; }
.product-options fieldset { border: 0; min-inline-size: 0; margin: 0; padding: 0; }
.product-options legend { margin-bottom: 6px; font-size: 15px; font-weight: 650; }
.option-values { display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow: auto; padding: 3px; }
.option-values button { background: white; border: 1px solid #bbb; min-height: 36px; border-radius: 4px; padding: 4px 10px; font-size: 13px; }
.option-values button[aria-pressed="true"] { border-color: black; background: #eee; }
.option-values .option-swatch { width: 53px; height: 53px; padding: 2px; }
.option-swatch img { width: 100%; height: 100%; object-fit: cover; }
.product-detail > .button { min-height: 36px; padding-inline: 14px; border-radius: 5px; font-size: 13px; }
.product-description { margin-top: 20px; font-size: 17px; line-height: 1.5; }
.image-dialog { padding: 0; background: #fff; }
.image-dialog img { max-width: min(100vw - 30px, 1200px); max-height: 90vh; object-fit: contain; }
.standalone-product { padding: 32px 0 60px; }
.product-back { display: inline-block; margin-bottom: 25px; }

@media (max-width: 1023px) {
  .topbar { gap: 16px; padding-inline: 20px; }
  .topbar nav, .footer-inner nav { gap: 16px; }
  .callback { padding-inline: 16px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 315px; gap: 26px; }
  .hero-copy > p { margin-top: 55px; }
  .hero-card { padding-inline: 24px; }
  .catalog-grid { gap: 28px 22px; }
}
@media (max-width: 979px) {
  .home .site-header, .site-header { position: relative; top: auto; background: #fff; }
  .topbar {
    display: grid; grid-template-columns: 1fr auto; min-height: 64px; width: 100%; border-radius: 0;
    padding: 0 20px; gap: 0 15px; background: white; backdrop-filter: none;
  }
  .logo img { width: 120px; }
  .menu-toggle { display: grid; align-content: center; gap: 4px; width: 42px; height: 42px; padding: 9px 0 9px 20px; border: 0; background: transparent; }
  .menu-toggle span { display: block; height: 2px; width: 22px; background: #000; }
  .topbar nav, .topbar .callback { display: none; }
  .topbar.menu-open nav { display: grid; grid-column: 1/-1; gap: 0; padding-bottom: 7px; }
  .topbar.menu-open nav a { padding: 12px 0; border-top: 1px solid #eee; }
  .topbar.menu-open .callback { display: block; justify-self: start; grid-column: 1/-1; margin: 5px 0 20px; }
  section[id] { scroll-margin-top: 20px; }
  .hero { margin: 0 0 40px; border-radius: 0; min-height: 0; background-position: center; }
  .hero-inner { width: min(620px, calc(100% - 40px)); grid-template-columns: 1fr; text-align: center; gap: 36px; padding: 117px 0 62px; }
  .hero h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.16; }
  .hero-copy > p { margin-top: 22px; font-size: clamp(22px, 4.5vw, 30px); }
  .hero-card { width: min(100%, 390px); margin-inline: auto; padding: 33px 34px 34px; text-align: left; }
  .hero-card > p { font-size: 12px; line-height: 1.6; }
  .hero-card .privacy-check { font-size: 12px; }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p { text-align: left; }
}

@media (max-width: 639px) {
  .container { width: calc(100% - 40px); }
  .catalog-section, .about-section, .comparison, .audience, .contacts-section { padding: 42px 0; }
  .catalog-section h2, .comparison h2 { margin-bottom: 24px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 18px; }
  .category, .category-products { order: initial; }
  .category { position: relative; min-height: 250px; box-shadow: none; }
  .category picture { position: absolute; inset: 0; }
  .category img { height: 100%; }
  .category::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(rgb(0 0 0 / 62%), transparent 80%); }
  .category-copy { position: relative; z-index: 2; min-height: 250px; display: flex; flex-direction: column; align-items: start; justify-content: space-between; padding: 20px; color: #fff; }
  .category h3 { font-size: 26px; line-height: 1.2; }
  .category .button { border-color: white; color: black; background: white; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-card { gap: 9px; }
  .product-card h3 { font-size: 15px; }
  .category-form { margin-top: 32px; }
  .rich-text { font-size: 17px; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid h3 { font-size: 18px; }
  .faq-section { padding: 40px 0 64px; }
  .faq-list { margin-top: 36px; }
  .faq-list summary { font-size: 17px; }
  .inquiry-section { margin: 0 0 44px; border-radius: 0; padding: 44px 0; }
  .inquiry-section > div > p { margin: 22px 0 30px; font-size: 17px; }
  .contact-grid { grid-template-columns: 1fr; margin-top: 38px; gap: 40px; }
  .contact-grid img { margin-bottom: 14px; }
  .contact-grid h3 { margin-bottom: 8px; }
  .map-section iframe { height: 360px; }
  .footer-inner nav { flex-wrap: wrap; }
  .product-dialog { padding: 55px 18px 30px; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .lead-dialog { padding: 45px 24px 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }



.cookie-banner {
  position: fixed;
  z-index: 100;
  inset-inline-start: max(18px, env(safe-area-inset-left));
  inset-block-end: max(18px, env(safe-area-inset-bottom));
  width: min(466px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 14px 18px 16px;
  border: 1px solid #18241e;
  border-top: 2px solid #e8bd71;
  background: #fbf9f1;
  color: #18241e;
  box-shadow: 0 10px 28px #18241e24;
}

.cookie-banner h2 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.cookie-banner p { font-size: 15px; line-height: 1.45; }

.cookie-banner-links, .document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.cookie-banner-links { margin: 7px 0 9px; font-size: 15px; }
.cookie-banner-links a { min-height: 28px; display: inline-flex; align-items: center; }

.cookie-banner-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cookie-banner-actions button {
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #18241e;
  background: transparent;
  color: inherit;
  font-weight: 700;
}
.cookie-banner-actions [data-cookie-choice="accept"] { background: #18241e; color: #fbf9f1; }
.cookie-banner-actions button:hover { box-shadow: inset 0 0 0 1px currentColor; }

.cookie-settings-link {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.map-placeholder {
  min-height: 200px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 15px;
  padding: 24px;
  text-align: center;
  background: #f3f3f3;
  color: #222;
}
.map-placeholder .cookie-settings-link { min-height: 44px; }

.service-document { max-width: 920px; }
.service-document h1 { max-width: 20ch; margin: 24px 0 12px; line-height: 1.08; overflow-wrap: anywhere; }
.service-document h2 { margin: 32px 0 10px; font-size: clamp(22px, 3vw, 28px); }
.service-document .document-date { margin-bottom: 30px; color: #555; font-size: 15px; }
.service-document .document-links { margin-top: 32px; padding-top: 20px; border-top: 1px solid #d5d5d5; }
.cookie-banner-open .service-document { padding-bottom: max(280px, 45vh); }

.lead-form .button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 639px) {
  .cookie-banner {
    inset-inline-start: max(12px, env(safe-area-inset-left));
    inset-block-end: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding-inline: 14px;
  }
  .service-document { padding-top: 35px; }
}
