/* ============================================================
   KURT STONE — Подоконники
   Один файл стилей для лендинга
   ============================================================ */

/* ---------- Шрифты ---------- */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/roboto-300-cyr.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/roboto-300-lat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/roboto-400-cyr.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/roboto-400-lat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/roboto-500-cyr.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/roboto-500-lat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/roboto-700-cyr.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/roboto-700-lat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные и база ---------- */
:root {
    --accent: #e89d04;
    --accent-hover: #cf8c04;
    --accent-2: #fabe11;
    --accent-2-hover: #edb105;
    --text: #343434;
    --heading: #111111;
    --muted: #6f6f6f;
    --line: #e7e7e7;
    --bg: #ffffff;
    --dark: #111111;
    --font: 'Roboto', Arial, Helvetica, sans-serif;
    --shadow: 0 8px 40px -6px rgba(105, 104, 178, .18);
    --shadow-soft: 0 8px 30px -10px rgba(30, 30, 60, .22);
    --radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    border: 0;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:hover {
    color: #000;
}

p {
    margin: 0 0 16px;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

li {
    margin-bottom: 8px;
}

li:last-child {
    margin-bottom: 0;
}

strong, b {
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px;
    font-family: var(--font);
    font-weight: 400;
    color: var(--heading);
    text-transform: none;
}

h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

section[id],
footer[id] {
    scroll-margin-top: 20px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 10px 18px;
    background: #fff;
    color: #111;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 26px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(232, 157, 4, .8);
}

.btn--secondary {
    background: var(--accent-2);
    color: #fff;
}

.btn--secondary:hover {
    background: var(--accent-2-hover);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(250, 190, 17, .8);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(17, 17, 17, .28);
    color: #111;
}

.btn--ghost:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.btn--wide {
    width: 100%;
}

/* ---------- Тулбар ---------- */
.toolbar {
    display: none;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    color: #555;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    z-index: 20;
}

.toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-height: 38px;
}

.toolbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #555;
    font-weight: 400;
    white-space: nowrap;
}

.toolbar__item:hover {
    color: #000;
}

.toolbar__item svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: #111;
}

@media (min-width: 960px) {
    .toolbar {
        display: block;
    }
}

/* ---------- Шапка ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(17, 17, 17, .94);
    color: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
    will-change: transform;
}

.header.is-stuck {
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .65);
}

.header.is-hidden {
    transform: translateY(-100%);
}

.header:focus-within {
    transform: none;
}

.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    min-height: 90px;
}

.logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 100px;
    height: auto;
}

.nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 34px;
    height: 90px;
}

.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: color .2s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 27px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.nav a:hover,
.nav a.is-active {
    color: #fff;
}

.nav a:hover::after,
.nav a.is-active::after {
    transform: scaleX(1);
}

.header__side {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.header__cta:hover {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
}

.socials a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.socials img {
    display: block;
    width: 26px;
    height: 26px;
}

/* Бургер и мобильное меню */
.burger {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .25s ease;
}

.menu-backdrop.is-visible {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: min(340px, 88vw);
    padding: 78px 28px 28px;
    background: #141414;
    color: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.mobile-menu__close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 19px;
    font-weight: 400;
}

.mobile-menu__nav a:hover {
    color: var(--accent-2);
}

.mobile-menu__contacts {
    margin-top: auto;
    padding-top: 32px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.6;
}

.mobile-menu__contacts p {
    margin: 0 0 8px;
}

.mobile-menu__phone {
    display: inline-block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.socials--menu {
    margin-top: 16px;
}

.socials--menu a {
    width: 34px;
    height: 34px;
}

.socials--menu img {
    width: 28px;
    height: 28px;
}

/* ---------- Херо ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.hero h1 {
    margin: 0 0 24px;
    color: #111;
    font-size: clamp(38px, 4.45vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-shadow: 0 2px 28px rgba(255, 255, 255, .9), 0 1px 3px rgba(255, 255, 255, .65);
}

/* ---------- Секции ---------- */
.section {
    padding: 64px 0;
}

.section--text,
.section--steps {
    background-image: url('images/section-lines.svg');
    background-size: 290px 100%;
    background-repeat: repeat-x;
}

.section--text {
    padding-top: 56px;
}

.section--text > .container > h2.heading-line {
    font-size: 22px;
}

.heading-line {
    display: flex;
    align-items: center;
    gap: 24px;
    line-height: 1.35;
}

.heading-line::after {
    content: "";
    flex: 1 1 auto;
    min-width: 40px;
    height: 2px;
    background: var(--line);
}

.prose {
    max-width: 100%;
    margin-bottom: 26px;
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.7;
}

.prose a {
    color: #2f2f2f;
    border-bottom: 1px solid rgba(17, 17, 17, .25);
}

.prose a:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ---------- Карточки материалов ---------- */
.materials {
    display: grid;
    gap: 24px;
    margin-bottom: 44px;
}

.material {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.material__media {
    min-height: 320px;
}

.material__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material__body {
    padding: 34px 40px 36px;
}

.material__body h3 {
    margin-bottom: 14px;
}

.material .lead {
    margin-bottom: 16px;
    color: #111;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.material p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.65;
}

.material .btn {
    margin-top: 10px;
}

.material__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.material__actions .btn {
    margin-top: 0;
}

/* ---------- Кварцевый агломерат ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 46px;
}

.split__media {
    display: grid;
    gap: 14px;
}

.split__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.split__body {
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.7;
}

.split__body > p {
    margin-bottom: 14px;
}

.split__body ul {
    margin: 0 0 22px;
    padding-left: 20px;
}

.split__body li {
    margin-bottom: 10px;
}

.split__body strong {
    color: #111;
}

/* ---------- Выбор ---------- */
.choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.choice__card {
    padding: 28px 30px;
    background: #fff;
    box-shadow: var(--shadow);
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.65;
}

.choice__card p {
    margin-bottom: 12px;
}

.choice__card ul {
    margin: 0;
    padding-left: 18px;
}

.choice__card li {
    margin-bottom: 8px;
}

.text-cta {
    padding-top: 8px;
}

.text-cta p {
    max-width: 100%;
    margin-bottom: 20px;
    color: #3f3f3f;
}

/* ---------- Выполнено нами ---------- */
.works-block {
    margin: 46px 0 40px;
    padding-top: 34px;
   /* border-top: 1px solid var(--line);*/
}

.works-block h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.works-block__note {
    margin: 0;
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.55;
}

.works {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 20px;
    margin-top: 26px;
}

.work {
    min-width: 0;
}

.work__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: #ececec;
    overflow: hidden;
}

.work__track {
    display: flex;
    height: 100%;
    transition: transform .35s ease;
    will-change: transform;
}

.work__slide {
    flex: 0 0 100%;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #ececec;
    cursor: zoom-in;
}

.work__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.work__slide:hover img,
.work__slide:focus-visible img {
    transform: scale(1.04);
}

.work__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease;
}

.work__frame:hover .work__arrow,
.work__arrow:focus-visible {
    opacity: 1;
}

.work__arrow:hover {
    background: rgba(0, 0, 0, .68);
}

.work__arrow svg {
    width: 18px;
    height: 18px;
}

.work__arrow--prev {
    left: 8px;
}

.work__arrow--next {
    right: 8px;
}

.work__count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .3px;
}

.work__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 5px;
    margin-top: 9px;
}

.work__dot {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c9c9;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.work__dot.is-active {
    background: var(--accent);
    transform: scale(1.3);
}

.work__title {
    margin: 8px 0 3px;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.work__meta {
    margin: 0;
    color: #8a8a8a;
    font-size: 12.5px;
    line-height: 1.45;
}

.work.is-new {
    animation: work-in .4s ease both;
}

@keyframes work-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.works__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.works__progress {
    margin: 0;
    color: #8a8a8a;
    font-size: 13px;
}

.works__more {
    min-width: 220px;
}

.works__more[disabled] {
    opacity: .6;
    cursor: default;
    box-shadow: none;
}

.works__more.is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 9px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: works-spin .7s linear infinite;
}

@keyframes works-spin {
    to {
        transform: rotate(360deg);
    }
}

.works-block .link-arrow {
    margin-top: 22px;
}

.section--steps h2 {
    margin-bottom: 28px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #111;
    font-size: 15px;
    border-bottom: 1px solid rgba(17, 17, 17, .35);
    transition: color .2s ease, border-color .2s ease;
}

.link-arrow:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.link-arrow span {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.link-arrow:hover span {
    transform: translateX(4px);
}

/* ---------- Этапы ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.step {
    position: relative;
    padding: 28px 26px 30px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 4px;
}

.step__num {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background: #02c2bb;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .3px;
}

.step h3 {
    margin-bottom: 12px;
    padding-right: 62px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: uppercase;
}

.step p {
    color: #555;
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- Как заказать ---------- */
.order {
    position: relative;
    padding: 72px 0;
    background: #101010;
    color: #fff;
    overflow: hidden;
}

.order::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -160px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(232, 157, 4, .22), rgba(232, 157, 4, 0) 66%);
    pointer-events: none;
}

.order__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.order h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.order__text > p {
    max-width: 560px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
}

.order__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.order__list li {
    position: relative;
    margin: 0;
    padding-left: 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
}

.order__list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.order__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px;
    background: #fff;
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}

.order__card-title {
    margin: 0 0 8px;
    color: #111;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.order__note {
    margin: 14px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- Футер ---------- */
.footer {
    padding: 60px 0 28px;
    background: #0d0d0d;
    color: rgba(255, 255, 255, .7);
    font-size: 13.5px;
    line-height: 1.7;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr 1.35fr 1.1fr;
    gap: 40px;
}

.footer__brand img {
    display: block;
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}

.footer__brand p {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: 12.5px;
    line-height: 1.6;
}

.footer__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer__title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(255, 255, 255, .18);
}

.footer__title a {
    color: #fff;
}

.footer__title a:hover {
    color: var(--accent-2);
}

.footer__links {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .62);
}

.footer__links a {
    color: rgba(255, 255, 255, .72);
}

.footer__links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer__contacts {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer__contacts li {
    margin: 0;
}

.footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .72);
}

.footer__contact:hover {
    color: #fff;
}

.footer__contact svg,
.footer__contact img {
    width: 20px;
    height: 20px;
    flex: none;
}

.footer__contact svg {
    color: #fff;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .45);
    font-size: 12.5px;
}

.footer__bottom a {
    color: rgba(255, 255, 255, .55);
}

.footer__bottom a:hover {
    color: #fff;
}

/* ---------- Лайтбокс ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 90px 60px;
    background: rgba(8, 8, 8, .98);
    animation: lightbox-fade .2s ease;
}

@keyframes lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}

.lightbox__caption {
    max-width: 760px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    letter-spacing: 1.5px;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .6);
}

.lightbox__close svg {
    width: 22px;
    height: 22px;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .6);
}

.lightbox__nav svg {
    width: 26px;
    height: 26px;
}

.lightbox__nav--prev {
    left: 22px;
}

.lightbox__nav--next {
    right: 22px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1023px) {
    .works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .nav {
        gap: 24px;
    }

    .header__side {
        gap: 14px;
    }
}

@media (max-width: 959px) {
    .container {
        padding: 0 24px;
    }

    .header__inner {
        grid-template-columns: 1fr auto;
        min-height: 68px;
        gap: 16px;
    }

    .logo img {
        width: 86px;
    }

    .nav,
    .header__side {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: clamp(38px, 8vw, 56px);
    }

    .material__body {
        padding: 28px 26px 30px;
    }

    .material .lead {
        font-size: 18px;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .order__text > p {
        max-width: none;
    }

    .order h2 {
        font-size: 30px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }
}

@media (max-width: 859px) {
    .material {
        grid-template-columns: 1fr;
    }

    .material__media {
        min-height: 260px;
        max-height: 340px;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 46px 0;
    }

    .section--text {
        padding-top: 40px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    .heading-line {
        gap: 14px;
    }

    .heading-line::after {
        min-width: 24px;
    }

    .choice {
        grid-template-columns: 1fr;
    }

    .work__arrow {
        opacity: 1;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .order {
        padding: 50px 0;
    }

    .order h2 {
        font-size: 26px;
    }

    .order__card {
        padding: 24px;
    }

    .footer {
        padding-top: 46px;
    }
}

@media (max-width: 639px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 380px;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: clamp(36px, 10.5vw, 46px);
    }

    .section {
        padding: 40px 0;
    }

    .section--text {
        padding-top: 34px;
    }

    .works-block {
        margin: 38px 0 34px;
        padding-top: 28px;
    }

    .works {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 22px;
    }

    .work__frame {
        border-radius: 8px;
    }

    .work__arrow {
        width: 38px;
        height: 38px;
        opacity: 1;
    }

    .work__title {
        font-size: 16px;
    }

    .material__media {
        min-height: 220px;
    }

    .material__body {
        padding: 24px 20px 26px;
    }

    .material .lead {
        font-size: 17px;
    }

    .split__media img {
        aspect-ratio: 4 / 3;
    }

    .choice__card {
        padding: 22px 20px;
    }

    .step {
        padding: 24px 20px 26px;
    }

    .step h3 {
        padding-right: 56px;
        font-size: 16px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__brand img {
        width: 100px;
        height: 100px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 32px;
    }

    .lightbox {
        padding: 60px 12px 56px;
    }

    .lightbox__img {
        max-height: calc(100vh - 170px);
    }

    .lightbox__nav {
        width: 42px;
        height: 42px;
    }

    .lightbox__nav--prev {
        left: 8px;
    }

    .lightbox__nav--next {
        right: 8px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }

    .lightbox__caption {
        font-size: 13px;
        padding: 0 8px;
    }
}

/* На устройствах без hover стрелки слайдеров всегда видны */
@media (hover: none) {
    .work__arrow {
        opacity: 1;
    }
}

/* ---------- Уменьшение анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
