:root {
    --paper: #f6f6f2;
    --surface: #fff;
    --surface-soft: #eeefeb;
    --ink: #171919;
    --muted: #676b69;
    --line: #d8dad5;
    --accent: #ed5a38;
    --dark: #191b1b;
    --page-width: 1460px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 Inter, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 80px), var(--page-width)); margin-inline: auto; }
.accent-mark, .brand__dot { color: var(--accent); }
.section { padding-block: clamp(76px, 9vw, 150px); scroll-margin-top: 92px; }
.section-index, .section-kicker, .document-card__head, .brand__caption, .site-footer { font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.section-index { color: var(--accent); white-space: nowrap; padding-top: 16px; }
.section-head { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 32px; align-items: start; margin-bottom: 54px; }
.section-head h2, .section--map h2 { max-width: 950px; margin: 0; font-size: clamp(42px, 5.3vw, 82px); line-height: 1.04; letter-spacing: -.055em; font-weight: 650; }
.section-intro { max-width: 760px; margin: 26px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); line-height: 1.55; }

.site-header { position: relative; z-index: 20; background: rgba(246,246,242,.98); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; gap: 42px; }
.brand { min-width: 198px; display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 23px; font-weight: 800; letter-spacing: -.07em; }
.brand__caption { color: var(--muted); letter-spacing: .06em; font-size: 8px; margin-top: 6px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 36px); margin-inline: auto; }
.site-nav a { color: #535856; font-size: 14px; transition: color .2s; white-space: nowrap; }
.site-nav a:hover { color: var(--accent); }
.header-action, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; font-weight: 650; font-size: 14px; transition: background .2s, color .2s, transform .2s; }
.header-action { padding: 14px 18px; background: var(--ink); color: white; white-space: nowrap; }
.header-action:hover { background: var(--accent); }
.header-action span, .button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button { min-height: 54px; padding: 13px 19px; }
.button:hover { transform: translateY(-2px); }
.button--accent { color: white; background: var(--accent); }
.button--accent:hover { background: #d94728; }
.button--outline { border: 1px solid var(--line); background: transparent; }
.button--outline:hover { border-color: var(--ink); }

.hero { padding-top: clamp(56px, 7vw, 110px); }
.hero__kicker { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.hero__kicker span:last-child { color: var(--accent); }
.hero__intro { padding: clamp(42px, 5vw, 76px) 0 48px; }
.hero h1 { max-width: 1110px; margin: 0; font-size: clamp(66px, 9.1vw, 145px); font-weight: 650; letter-spacing: -.074em; line-height: .94; text-wrap: balance; }
.hero__lead { max-width: 750px; color: var(--muted); font-size: clamp(18px, 1.9vw, 26px); line-height: 1.4; margin: 32px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.section--directions, .section--catalog, .section--safety, .section--contacts, .section--documents { padding-block: 0; }
.section-band { background: var(--dark); color: #f7f7f3; padding-block: clamp(76px, 8vw, 126px); }
.section-band .section-index { color: #ff8061; }
.section--directions .section-index { max-width: 220px; white-space: normal; line-height: 1.5; }
.section-band .section-intro { color: #b6bbb7; }
.section-body { background: var(--paper); padding-block: clamp(76px, 8vw, 126px); }
.section-band .section-head { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 16px; }
.product-card { min-width: 0; display: block; }
.product-card__visual { background: #ebedeb; border: 1px solid var(--line); aspect-ratio: 1 / .92; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-card__image { object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__image { transform: scale(1.045); }
.product-card__arrow { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--surface); font-size: 20px; box-shadow: 0 2px 14px rgba(0,0,0,.08); transition: background .2s, color .2s; }
.product-card:hover .product-card__arrow { background: var(--accent); color: white; }
.product-card__placeholder { color: #a9adab; letter-spacing: .18em; font-weight: 700; font-size: 12px; }
.product-card h3 { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.32; letter-spacing: -.025em; font-weight: 650; margin: 11px 0 0; text-transform: none; overflow-wrap: anywhere; }
.product-card p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.directions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.direction-card { position: relative; min-height: 270px; padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.direction-card__number { color: var(--accent); font: 700 12px/1 Inter, Arial, sans-serif; letter-spacing: .1em; }
.direction-card h3 { max-width: 360px; margin: 52px 0 12px; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.direction-card p { margin: 0; color: var(--muted); }

.section--safety { background: var(--paper); }
.timeline { max-width: 990px; margin: 0 0 0 auto; padding: 0 0 0 34px; border-left: 1px solid #b7bbb6; list-style: none; }
.timeline > li { position: relative; border-bottom: 1px solid var(--line); }
.timeline > li::before { content: ""; position: absolute; left: -40px; top: 31px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--paper); }
.timeline details { padding: 0; }
.timeline summary { min-height: 74px; display: grid; grid-template-columns: 150px 1fr 32px; gap: 25px; align-items: center; cursor: pointer; list-style: none; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline time { color: var(--accent); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline strong { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.timeline__toggle { font-size: 26px; text-align: right; font-weight: 300; transition: transform .2s; }
.timeline details[open] .timeline__toggle { transform: rotate(45deg); }
.timeline__content { max-width: 760px; padding: 0 50px 24px 175px; color: var(--muted); font-size: 15px; }
.timeline__content p { margin: 0 0 14px; }
.timeline__content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.contacts-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 60px); align-items: start; }
.contact-group { min-width: 0; }
.contact-group h3 { margin: 0 0 30px; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.contact-values { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; color: var(--ink); font-size: clamp(17px, 1.5vw, 21px); font-weight: 550; line-height: 1.4; overflow-wrap: anywhere; }
.contact-values address { font: inherit; }
.contact-values a:hover { color: var(--accent); }

.section--documents { background: var(--paper); }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.document-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 2.8vw, 40px); min-width: 0; }
.document-card__head { display: flex; justify-content: space-between; color: var(--accent); }
.document-card__head span:last-child { color: var(--ink); font-size: 22px; line-height: .7; }
.document-card h3 { max-width: 600px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; margin: 42px 0 12px; }
.document-card p { color: var(--muted); max-width: 500px; margin: 0 0 26px; }
.document-card__download { color: var(--accent); text-decoration: underline; }
.document-scans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.document-scans a { width: 100%; height: 180px; border: 1px solid var(--line); background: #f1f1ee; overflow: hidden; }
.document-scans img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s; }
.document-scans a:hover img { transform: scale(1.05); }

.section--map { padding-top: 16px; }
.section--map h2 { margin: 14px 0 34px; font-size: clamp(34px, 4vw, 58px); }
.map-frame { min-height: 450px; border: 1px solid var(--line); background: #e6e8e3; }
.map-frame iframe { display: block; width: 100%; height: 450px; border: 0; }
.site-footer { color: #b8bdb9; background: #101212; }
.site-footer__inner { min-height: 118px; display: flex; align-items: center; gap: 35px; justify-content: space-between; }
.site-footer__brand { font-size: 26px; font-weight: 800; letter-spacing: -.07em; color: white; text-transform: none; }
.site-footer a { color: white; }
.site-footer a:hover { color: #ff8061; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 42px 0; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover, .back-link:hover { color: var(--accent); }
.breadcrumbs span:last-child { max-width: 320px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-detail { padding-bottom: 120px; }
.product-detail__body { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 440px); grid-template-areas: "photo info" "gallery info"; column-gap: 34px; row-gap: 24px; max-width: 1034px; margin-inline: auto; align-items: start; }
.product-detail__visual { grid-area: photo; min-width: 0; }
.product-detail__visual img { width: 100%; height: auto; border: 1px solid var(--line); }
.product-detail__info { grid-area: info; background: white; border: 1px solid var(--line); padding: clamp(26px, 3vw, 46px); display: flex; flex-direction: column; align-items: flex-start; }
.product-detail__info h1 { width: 100%; margin: 0 0 18px; font-size: clamp(20px, 2vw, 27px); line-height: 1.32; letter-spacing: -.025em; font-weight: 650; overflow-wrap: anywhere; }
.product-detail__info p { color: var(--muted); font-size: 17px; }
.product-detail__info .product-detail__summary { margin: 0 0 18px; }
.product-detail__info .button { margin-top: auto; }
.rich-content { margin: 8px 0 40px; color: #434846; overflow-wrap: anywhere; }
.rich-content p { margin: 0 0 16px; }
.rich-content h2 { margin: 0 0 18px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.product-gallery { grid-area: gallery; }
.product-gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.product-gallery figure { margin: 0; }
.product-gallery img { width: 100%; height: auto; border: 1px solid var(--line); }
.product-gallery figcaption { color: var(--muted); margin-top: 10px; }
.back-link { display: block; max-width: 1034px; margin: 60px auto 0; font-weight: 600; }

@media (max-width: 1120px) {
    .shell { width: min(calc(100% - 48px), var(--page-width)); }
    .site-header__inner { gap: 20px; }
    .site-nav { gap: 15px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contacts-layout { gap: 30px; }
}
@media (max-width: 800px) {
    .site-header__inner { min-height: 76px; flex-wrap: wrap; padding-block: 15px; }
    .brand { min-width: auto; }
    .site-nav { order: 3; width: 100%; margin: 4px 0 0; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
    .header-action { margin-left: auto; padding: 10px 12px; }
    .section-head { grid-template-columns: 1fr; gap: 16px; }
    .section-index { padding-top: 0; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .directions-grid { grid-template-columns: 1fr; }
    .direction-card { min-height: 210px; }
    .direction-card h3 { margin-top: 35px; }
    .contacts-layout { grid-template-columns: 1fr; gap: 36px; }
    .document-grid { grid-template-columns: 1fr; }
    .product-detail__body { grid-template-columns: 1fr; grid-template-areas: "photo" "info" "gallery"; }
}
@media (max-width: 520px) {
    .shell { width: calc(100% - 32px); }
    .hero { padding-top: 45px; }
    .hero__kicker { font-size: 9px; }
    .hero h1 { font-size: clamp(48px, 14vw, 74px); }
    .hero__intro { padding: 42px 0; }
    .hero__lead { margin-top: 20px; }
    .hero__actions { flex-direction: column; }
    .button { width: 100%; }
    .section { padding-block: 70px; }
    .section--directions, .section--catalog, .section--safety, .section--contacts, .section--documents { padding-block: 0; }
    .section-band, .section-body { padding-block: 70px; }
    .section-head { margin-bottom: 36px; }
    .section-head h2 { font-size: 42px; }
    .product-grid { grid-template-columns: 1fr; gap: 36px; }
    .product-card__visual { aspect-ratio: 1/.78; }
    .timeline { padding-left: 21px; }
    .timeline > li::before { left: -27px; }
    .timeline summary { grid-template-columns: 1fr 28px; gap: 3px 12px; padding-block: 15px; }
    .timeline time { grid-column: 1; }
    .timeline strong { grid-column: 1; }
    .timeline__toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .timeline__content { padding: 4px 14px 20px 0; }
    .site-footer__inner { min-height: 140px; flex-wrap: wrap; gap: 10px; padding-block: 30px; }
    .site-footer__inner span:nth-child(2) { order: 3; width: 100%; }
    .product-gallery > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.product-detail__visual a { display: block; width: 100%; cursor: zoom-in; }
.product-gallery figure a { display: block; cursor: zoom-in; }
.product-gallery figure a:focus-visible, .product-detail__visual a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
