

/* Start:/local/templates/oneprinted/css/style.css?178730974084611*/
@font-face {
    font-family: "Montserrat";
    src: url("/local/templates/oneprinted/css/../fonts/montserrat-300.ttf?v=20260803-1") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/local/templates/oneprinted/css/../fonts/montserrat-400.ttf?v=20260803-1") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/local/templates/oneprinted/css/../fonts/montserrat-500.ttf?v=20260803-1") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/local/templates/oneprinted/css/../fonts/montserrat-600.ttf?v=20260803-1") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/local/templates/oneprinted/css/../fonts/montserrat-700.ttf?v=20260803-1") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --color-primary: #004600;
    --color-primary-hover: #0a5b0a;
    --color-accent: #9dda04;
    --color-accent-soft: rgba(157, 218, 4, 0.29);
    --color-bg: #fcfff9;
    --color-surface: #fff;
    --color-text: #333;
    --color-muted: #686868;
    --color-border: #c9d1c7;
    --container: 1128px;
    --radius: 20px;
    --shadow: 0 18px 48px rgba(0, 70, 0, 0.12);
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-main {
    flex: 1;
    overflow-x: clip;
    overflow-y: visible;
}

.section {
    padding: 86px 0;
}

.section-first {
    padding-top: 18px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: #404040;
    line-height: 1.15;
}

h1 {
    margin-bottom: 0;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 500;
}

h2 {
    margin-bottom: 48px;
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 22px;
    font-weight: 600;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.button {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #f7f7f7;
    background: var(--color-primary);
}

.button--primary:hover {
    background: var(--color-primary-hover);
}

.button--light {
    color: var(--color-primary);
    background: #fff;
}

.button--outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
    background: transparent;
}

.button--outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: transparent;
}

.button--arrow::after {
    content: "→";
    font-size: 19px;
    line-height: 1;
}

.button--large {
    min-height: 72px;
    padding-inline: 34px;
    font-size: 18px;
}

/* Header */
.site-header {
    position: relative;
    z-index: 20;
    background: var(--color-bg);
}

.site-header--inner {
    border-bottom: 1px solid #dedede;
    background: #fff;
}

.site-header__top {
    min-height: 84px;
    display: grid;
    grid-template-columns: 340px 1fr auto auto;
    align-items: start;
    gap: 28px;
    padding-top: 28px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-header__rating {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.05;
}

.site-header__rating img {
    width: 34px;
    height: 25px;
    object-fit: contain;
}

.brand {
    width: 210px;
    display: block;
    flex: none;
}

.brand img {
    width: 100%;
    height: auto;
    display: block;
}

.site-header__address {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.site-header__contacts {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.site-header__contacts a:hover,
.site-footer__contact > a:hover {
    color: var(--color-primary);
}

.socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border-radius: 0;
    background: transparent;
}

.social-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.site-nav__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    font-size: 16px;
    font-weight: 500;
}

.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

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

.site-nav a.is-active {
    font-weight: 700;
}

.menu-toggle {
    display: none;
}

/* Hero */
.hero__media {
    min-height: 672px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 64px 34px;
    overflow: hidden;
    border-radius: var(--radius);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 -250px 150px rgba(0, 0, 0, 0.48);
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(0, 25, 0, 0.22), transparent 58%);
}

.hero__content {
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 12px 32px;
    color: #fff;
}

.hero h1 {
    grid-row: 1 / span 2;
    color: #fff;
}

.hero__eyebrow {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    gap: 16px;
}

body.send-layout-open {
    overflow: hidden;
}

body.order-request-open {
    overflow: hidden;
}

.send-layout-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(19, 27, 19, 0.42);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.send-layout-modal[hidden] {
    display: none;
}

.send-layout-modal.is-open {
    opacity: 1;
}

.send-layout-modal__dialog {
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    position: relative;
    overflow-y: auto;
    padding: 38px;
    border: 1px solid rgba(0, 70, 0, 0.12);
    border-radius: 26px;
    background: #fbfcf8;
    box-shadow: 0 28px 80px rgba(0, 35, 0, 0.22);
    transform: translateY(10px) scale(0.985);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.send-layout-modal.is-open .send-layout-modal__dialog {
    transform: none;
}

.send-layout-modal__close {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0;
    border: 1px solid rgba(0, 70, 0, 0.22);
    border-radius: 50%;
    background: transparent;
}

.send-layout-modal__close span {
    width: 16px;
    height: 1.5px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-primary);
}

.send-layout-modal__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.send-layout-modal__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.send-layout-modal__eyebrow {
    margin-bottom: 10px;
    color: #738070;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.send-layout-modal h2 {
    max-width: 370px;
    margin-bottom: 14px;
    padding-right: 48px;
    font-size: 30px;
}

.send-layout-modal__text {
    margin-bottom: 26px;
    color: #626860;
    font-size: 15px;
    line-height: 1.55;
}

.send-layout-modal__actions {
    display: grid;
    gap: 9px;
}

.send-layout-option {
    min-height: 68px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    border: 1px solid #dce4d8;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.order-request-modal {
    position: fixed;
    z-index: 1250;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(19, 27, 19, 0.46);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.order-request-modal[hidden] {
    display: none;
}

.order-request-modal.is-open {
    opacity: 1;
}

.order-request-modal__dialog {
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    position: relative;
    overflow-y: auto;
    padding: 38px;
    border: 1px solid rgba(0, 70, 0, 0.12);
    border-radius: 26px;
    background: #fbfcf8;
    box-shadow: 0 28px 80px rgba(0, 35, 0, 0.24);
    transform: translateY(10px) scale(0.985);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.order-request-modal.is-open .order-request-modal__dialog {
    transform: none;
}

.order-request-modal__close {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0;
    border: 1px solid rgba(0, 70, 0, 0.22);
    border-radius: 50%;
    background: transparent;
}

.order-request-modal__close span {
    width: 16px;
    height: 1.5px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-primary);
}

.order-request-modal__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.order-request-modal__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.order-request-modal__eyebrow {
    margin-bottom: 10px;
    color: #738070;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.order-request-modal h2 {
    margin-bottom: 10px;
    padding-right: 54px;
    font-size: 32px;
}

.order-request-modal__intro {
    max-width: 570px;
    margin-bottom: 20px;
    color: #626860;
    font-size: 15px;
    line-height: 1.55;
}

.order-request-modal__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 15px;
    background: #edf5e8;
}

.order-request-modal__summary span {
    color: #596555;
    font-size: 13px;
}

.order-request-modal__summary strong {
    color: var(--color-primary);
    font-size: 21px;
    white-space: nowrap;
}

.order-request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.order-request-form__field,
.order-request-form__file {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
}

.order-request-form__field > span,
.order-request-form__file > span {
    color: #4f574d;
    font-size: 12px;
    font-weight: 600;
}

.order-request-form__field > span i {
    color: #d81414;
    font-style: normal;
}

.order-request-form input[type="text"],
.order-request-form input[type="tel"],
.order-request-form input[type="email"],
.order-request-form select,
.order-request-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8e0d4;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: #30352f;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.order-request-form textarea {
    min-height: 88px;
    resize: vertical;
}

.order-request-form input:focus,
.order-request-form select:focus,
.order-request-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 70, 0, 0.08);
}

.order-request-form__field--wide {
    grid-column: 1 / -1;
}

.order-request-form__file {
    padding: 14px 16px;
    border: 1px dashed #bdcab7;
    border-radius: 13px;
    background: #f7f9f4;
}

.order-request-form__file input {
    max-width: 100%;
    font-size: 13px;
}

.order-request-form__file small {
    color: #7a8277;
    font-size: 11px;
}

.order-request-form__consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #6b7268;
    font-size: 12px;
    line-height: 1.45;
}

.order-request-form__consent input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-primary);
}

.order-request-form__consent a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.order-request-form__footer {
    display: flex;
    align-items: center;
    gap: 18px;
}

.order-request-form__footer .button {
    flex: 0 0 auto;
}

.order-request-form__footer .button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.order-request-form__status {
    margin: 0;
    color: #697066;
    font-size: 13px;
    line-height: 1.4;
}

.order-request-form__status.is-error {
    color: #b41818;
}

.order-request-form__status.is-success {
    color: var(--color-primary);
    font-weight: 600;
}

.order-request-form__trap {
    width: 1px;
    height: 1px;
    position: fixed;
    left: -10000px;
    overflow: hidden;
}

.send-layout-option:hover,
.send-layout-option:focus-visible {
    border-color: var(--color-primary);
    background: #f5f9f1;
    transform: translateY(-1px);
}

.send-layout-option:focus-visible {
    outline: 3px solid rgba(157, 218, 4, 0.45);
    outline-offset: 2px;
}

.send-layout-option img,
.send-layout-option__mail {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    object-fit: contain;
}

.send-layout-option img[src$="/max.svg"] {
    padding: 5px;
}

.send-layout-option__mail {
    color: #fff;
    background: var(--color-primary);
    font-size: 21px;
    font-weight: 600;
}

.send-layout-option span:not(.send-layout-option__mail) {
    display: grid;
    gap: 2px;
}

.send-layout-option strong {
    color: #263126;
    font-size: 15px;
}

.send-layout-option small {
    color: #7b8178;
    font-size: 12px;
}

.send-layout-option i {
    color: var(--color-primary);
    font-size: 20px;
    font-style: normal;
}

/* Спокойное появление блоков на главной при прокрутке */
.home-motion__surface {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.home-motion.is-visible > .home-motion__surface {
    opacity: 1;
    transform: none;
    will-change: auto;
}

.home-motion__item {
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--home-motion-delay, 0ms);
}

.home-motion.is-visible .home-motion__item {
    opacity: 1;
    transform: none;
}

.hero.home-motion .home-motion__surface {
    transform: translateY(10px);
}

.hero.home-motion.is-visible .home-motion__surface {
    transform: none;
}

/* Products */
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 13px;
    margin-bottom: 62px;
}

.product-card {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.product-card__image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 14px;
    border-radius: var(--radius);
    color: #78906d;
    background: #e9f0e2;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-card:hover .product-card__image,
.product-card:focus-visible .product-card__image {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.product-card__title {
    display: block;
}

.products__empty {
    margin: 0 0 42px;
    color: #6d7569;
    font-size: 17px;
}

/* Why */
.section-heading--action {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 46px;
}

.section-heading--action h2 {
    margin-bottom: 18px;
}

.section-heading--action p {
    max-width: 560px;
    margin-bottom: 0;
    font-size: 18px;
}

/* Services catalog page */
.services-catalog {
    padding: 32px 0 80px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 16px;
}

.breadcrumbs a {
    color: #bcb4b4;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.services-catalog__header {
    max-width: 715px;
    margin-top: 56px;
    margin-bottom: 146px;
}

.services-catalog__header h1 {
    margin-bottom: 28px;
    color: #404040;
    font-size: 36px;
    font-weight: 600;
}

.services-catalog__header p {
    margin: 0;
    font-size: 18px;
}

.services-catalog__header--with-banner {
    margin-bottom: 48px;
}

.content-banners {
    position: relative;
    margin-bottom: 96px;
}

.content-banners__slides {
    position: relative;
}

.content-banner {
    min-height: 420px;
    position: relative;
    display: none;
    align-items: flex-end;
    padding: 48px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background: var(--color-primary);
}

.content-banner.is-active {
    display: flex;
}

.content-banner::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 30, 0, 0.78), rgba(0, 30, 0, 0.18) 68%, transparent);
}

.content-banner__picture,
.content-banner__picture img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.content-banner__picture img {
    object-fit: cover;
}

.content-banner__content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.content-banner__content p {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 500;
}

.content-banner__content h2 {
    margin: 0 0 26px;
    color: inherit;
    font-size: 48px;
    font-weight: 600;
}

.content-banners__controls {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 100px;
    color: #fff;
    background: rgba(0, 30, 0, 0.72);
}

.content-banners__controls button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.content-banners__controls button:hover,
.content-banners__controls button:focus-visible {
    color: var(--color-primary);
    background: #fff;
}

@media (max-width: 820px) {
    .content-banners {
        margin-bottom: 72px;
    }

    .content-banner {
        min-height: 380px;
        padding: 36px;
    }

    .content-banner__content h2 {
        font-size: 40px;
    }
}

@media (max-width: 560px) {
    .services-catalog__header--with-banner {
        margin-bottom: 32px;
    }

    .content-banners {
        margin-bottom: 58px;
    }

    .content-banner {
        min-height: 420px;
        padding: 28px 22px;
    }

    .content-banner::after {
        background: linear-gradient(0deg, rgba(0, 30, 0, 0.86), rgba(0, 30, 0, 0.08) 82%);
    }

    .content-banner__content {
        width: 100%;
    }

    .content-banner__content p {
        font-size: 15px;
    }

    .content-banner__content h2 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .content-banner__content .button {
        width: 100%;
    }

    .content-banners__controls {
        right: 16px;
        bottom: 16px;
    }
}

.services-catalog__list {
    display: grid;
    gap: 58px;
}

.service-category {
    min-height: 308px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 456px;
    gap: 54px;
}

.service-category__content h2 {
    margin: 0 0 30px;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 600;
}

.service-category__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.service-category__title-link:hover,
.service-category__title-link:focus-visible {
    color: var(--color-primary);
}

.service-category__title-link:focus-visible,
.service-category__image-link:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.service-category__tags {
    max-width: 510px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
}

.service-category__tags a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid var(--color-primary);
    border-radius: 100px;
    color: var(--color-text);
    background-color: transparent;
    font-size: 18px;
    text-align: center;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.service-category__tags a:hover,
.service-category__tags a:focus-visible {
    border-color: var(--color-primary);
    color: #fff;
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.service-category__tags a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.service-category__tags a:active {
    border-color: var(--color-accent);
    color: var(--color-primary);
    background-color: var(--color-accent-soft);
    transform: translateY(0);
}

.service-category__image-link {
    width: 456px;
    height: 247px;
    margin-top: 61px;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
}

.service-category__image-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-category__image-link:hover img {
    transform: scale(1.04);
}

.service-section {
    padding: 32px 0 112px;
}

.service-section__header {
    max-width: 850px;
    margin-top: 56px;
    margin-bottom: 72px;
}

.service-section__header h1 {
    margin-bottom: 24px;
    font-size: 44px;
    font-weight: 600;
}

.service-section__header p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
}

.service-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-section-card {
    min-height: 250px;
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #d9dfd4;
    border-radius: var(--radius);
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-section-card:hover,
.service-section-card:focus-visible {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 70, 0, 0.1);
}

.service-section-card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

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

.service-section-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 30px;
}

.service-section-card__content strong {
    margin-bottom: 18px;
    color: var(--color-primary);
    font-size: 24px;
}

.service-section-card__description {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}

.service-section-card__description p,
.service-section-card__description ul,
.service-section-card__description ol {
    margin: 0;
}

.service-section-card__description p + p,
.service-section-card__description ul + p,
.service-section-card__description ol + p {
    margin-top: 8px;
}

.service-section-card__description ul,
.service-section-card__description ol {
    padding-left: 20px;
}

.service-section-card__more {
    margin-top: auto;
    padding-top: 24px;
    font-weight: 600;
}

.service-section__empty {
    font-size: 20px;
}

/* Portfolio page */
.portfolio-page {
    padding: 32px 0 64px;
}

.portfolio-page__header {
    max-width: 640px;
    margin-top: 56px;
}

.portfolio-page__header h1 {
    margin-bottom: 14px;
    font-size: 38px;
    font-weight: 600;
}

.portfolio-page__header p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.portfolio-filters button {
    min-height: 38px;
    padding: 9px 20px;
    border: 1px solid #d9ddd4;
    border-radius: 30px;
    color: var(--color-text);
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.portfolio-filters button:hover,
.portfolio-filters button:focus-visible,
.portfolio-filters button.is-active {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.portfolio-filters button:hover {
    transform: translateY(-2px);
}

.portfolio-filters button:focus-visible {
    outline: 3px solid var(--color-accent-soft);
    outline-offset: 3px;
}

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

.portfolio-card {
    min-width: 0;
    display: block;
    overflow: hidden;
    border: 1px solid #e4e7e0;
    border-radius: 14px;
    color: inherit;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.portfolio-card[hidden] {
    display: none;
}

.portfolio-card__media {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8aa07c;
    background: #dbe7d0;
    font-size: 13px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 14px 34px rgba(0, 70, 0, 0.12);
    transform: translateY(-5px);
}

.portfolio-card:hover .portfolio-card__media,
.portfolio-card:focus-visible .portfolio-card__media {
    color: var(--color-primary);
    background: var(--color-accent-soft);
}

.portfolio-card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

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

.portfolio-card__body {
    padding: 14px 18px 16px;
}

.portfolio-card__body span {
    display: block;
    margin-bottom: 4px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.portfolio-card__body h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
}

.portfolio-more {
    display: flex;
    justify-content: center;
    padding: 42px 0 64px;
}

.portfolio-more button {
    min-height: 48px;
    padding: 13px 33px;
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-primary);
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.portfolio-more button:hover,
.portfolio-more button:focus-visible {
    color: #fff;
    background: var(--color-primary);
}

.portfolio-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    background: #e9f0e2;
}

.portfolio-cta h2 {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 26px;
    font-weight: 500;
}

.portfolio-cta p {
    margin-bottom: 24px;
    color: #3f4c39;
    font-size: 16px;
}

.portfolio-cta .button {
    min-width: 190px;
    min-height: 48px;
    padding: 14px 32px;
    font-size: 15px;
}

.services-showcase--portfolio {
    padding-top: 110px;
}

/* Portfolio detail */
.portfolio-detail {
    padding: 32px 0 80px;
}

.portfolio-detail__breadcrumbs {
    margin-bottom: 52px;
}

.portfolio-detail__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 72px;
    align-items: end;
    margin-bottom: 40px;
}

.portfolio-detail__label {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-detail__header h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.05;
}

.portfolio-detail__lead {
    max-width: 720px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.portfolio-detail__facts {
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid #d9ddd4;
    border-bottom: 1px solid #d9ddd4;
}

.portfolio-detail__facts div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
}

.portfolio-detail__facts div + div {
    margin-top: 13px;
}

.portfolio-detail__facts dt,
.portfolio-detail__facts dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.portfolio-detail__facts dt {
    color: #7e8879;
}

.portfolio-detail__facts dd {
    font-weight: 500;
}

.portfolio-detail__cover {
    height: min(66vw, 720px);
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #e9f0e2;
}

.portfolio-detail__cover > [data-lightbox] {
    width: 100%;
    height: 100%;
    display: block;
}

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

.portfolio-detail__cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 500;
}

.portfolio-detail__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 72px;
    max-width: 1040px;
    margin: 72px auto 0;
}

.portfolio-detail__content section {
    padding-top: 22px;
    border-top: 1px solid #d9ddd4;
}

.portfolio-detail__content h2,
.portfolio-detail__gallery h2,
.portfolio-detail__cta h2 {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 500;
}

.portfolio-detail__content p,
.portfolio-detail__description div {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.portfolio-detail__description {
    grid-column: 1 / -1;
}

.portfolio-detail__description p + p {
    margin-top: 14px;
}

.portfolio-detail__gallery {
    margin-top: 80px;
}

.portfolio-detail__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.portfolio-detail__gallery-grid [data-lightbox] {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
}

.portfolio-detail [data-lightbox] {
    cursor: zoom-in;
}

.portfolio-detail [data-lightbox]:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

.portfolio-detail__gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    border-radius: var(--radius);
    object-fit: cover;
}

.portfolio-detail__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 80px;
    padding: 38px 42px;
    border-radius: var(--radius);
    background: #e9f0e2;
}

.portfolio-detail__cta h2 {
    color: var(--color-primary);
}

.portfolio-detail__cta p {
    margin: 0;
    color: #3f4c39;
    font-size: 16px;
}

.portfolio-detail__cta .button {
    flex: 0 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.why-card {
    min-height: 273px;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 18px;
    border-radius: var(--radius);
    color: var(--color-primary);
    background: var(--color-accent-soft);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.why-card__icon {
    width: 37px;
    height: 37px;
    display: block;
    flex: none;
}

.why-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .why-card:hover {
        color: #fff;
        background: var(--color-primary);
        transform: translateY(-4px);
    }

    .why-card:hover .why-card__icon img {
        filter: brightness(0) invert(1);
    }

}

.why-card h3 {
    margin: 48px 0 16px;
    color: inherit;
    font-size: 18px;
}

.why-card p {
    margin: auto 0 0;
    font-size: 14px;
}

/* Services */
.services-slider {
    height: calc(644px + 210vh);
    position: relative;
    margin-bottom: 34px;
}

.services-slider__sticky {
    height: 644px;
    position: sticky;
    top: max(24px, calc((100vh - 644px) / 2));
}

.services-stack {
    height: 644px;
    position: relative;
}

.services-stack::before,
.services-stack::after {
    content: "";
    position: absolute;
    border-radius: var(--radius);
}

.services-stack::before {
    z-index: 0;
    top: -26px;
    right: 10px;
    left: 10px;
    height: 100%;
    background: rgba(157, 218, 4, 0.29);
}

.services-stack::after {
    z-index: 1;
    top: -13px;
    right: 5px;
    left: 5px;
    height: 100%;
    background: rgba(157, 218, 4, 0.55);
}

.service-slide {
    z-index: 2;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 72px 28px 54px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background: var(--color-primary);
    opacity: 0;
    pointer-events: none;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-slide.is-active {
    z-index: 4;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.service-slide.is-before {
    transform: translateY(-24px) scale(0.985);
}

.service-slide h3 {
    margin: 0;
    color: #fff;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.34;
}

.service-slide h3 span {
    display: block;
}

.service-slide h3 .service-slide__title-secondary {
    color: #b3b3b3;
}

.service-slide__lead {
    margin: auto 0 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
}

.service-slide__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
}

.service-slide__tags span,
.service-slide__tags a {
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 100px;
    color: #fff;
    font-size: 18px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.service-slide__tags a:hover,
.service-slide__tags a:focus-visible {
    color: var(--color-primary);
    background: #fff;
}

.service-slide__tags a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.service-slide__text {
    max-width: 610px;
    margin: 38px 0 0;
    font-size: 16px;
}

.services-progress {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: -58px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
}

.services-progress button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d9d9d9;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.services-progress button.is-active {
    background: var(--color-primary);
    transform: scale(1.12);
}

/* Calculator */
.calculator {
    padding: 76px 0 62px;
    background: #f3f8f0;
}

.calculator--white {
    background: #fff;
}

.calculator-embed {
    width: 100%;
}

.calculator-embed__frame {
    display: block;
    width: 100%;
    height: 1180px;
    border: 0;
    background: transparent;
}

.calculator-embed__fallback {
    margin: 24px 0 0;
    color: #404040;
}

.calculator-embed__fallback a {
    color: var(--color-primary);
    text-decoration: underline;
}

.calculator h2 {
    margin-bottom: 14px;
}

.calculator__intro {
    margin-bottom: 56px;
    font-size: 18px;
}

.calculator__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 58px;
}

.calculator__tabs button {
    padding: 14px 20px;
    border: 1px solid var(--color-primary);
    border-radius: 100px;
    color: var(--color-primary);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
}

.calculator__tabs button.is-active {
    color: #fff;
    background: var(--color-primary);
}

.calculator__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
}

.calculator__form label {
    display: grid;
    gap: 14px;
    font-size: 18px;
    font-weight: 500;
}

.calculator__form input,
.calculator__form select {
    width: 100%;
    height: 72px;
    padding: 0 20px;
    border: 1px solid #a6b2a2;
    border-radius: 0;
    outline: none;
    background: transparent;
}

.calculator__form input:focus,
.calculator__form select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 70, 0, 0.1);
}

.calculator__total {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 4px;
}

.calculator__total span {
    font-size: 18px;
}

.calculator__total strong {
    color: var(--color-primary);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
}

.calculator__form > .button {
    align-self: end;
    justify-self: end;
    margin-bottom: 6px;
}

/* Loyalty */
.badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 9px 12px;
    border-radius: 100px;
    color: var(--color-primary);
    background: var(--color-accent-soft);
    font-size: 12px;
    font-weight: 500;
}

.loyalty h2 {
    margin-bottom: 14px;
}

.loyalty > .container > p {
    margin-bottom: 76px;
    font-size: 16px;
}

.loyalty__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.loyalty-card {
    min-height: 461px;
    display: flex;
    flex-direction: column;
    padding: 26px 23px 24px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
    color: var(--color-primary);
}

.loyalty-card--dark {
    color: #fff;
    background: var(--color-primary);
}

.loyalty-card h3 {
    margin-bottom: 4px;
    color: inherit;
    font-size: 42px;
    font-weight: 500;
}

.loyalty-card > p {
    font-size: 18px;
}

.loyalty-card > strong {
    margin-top: 34px;
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
}

.loyalty-card > span {
    font-size: 16px;
}

.loyalty-card ul {
    margin: auto 0 0;
    padding: 25px 0 0;
    border-top: 1px solid currentColor;
    list-style: none;
}

.loyalty-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 10px 0;
    font-size: 14px;
}

.loyalty-card li::before {
    width: 15px;
    height: 15px;
    content: "";
    flex: 0 0 15px;
    margin-top: 2px;
    background: url("/local/templates/oneprinted/css/../images/icons/check.svg") center / contain no-repeat;
}

.loyalty-card--dark li::before {
    filter: brightness(0) invert(1);
}

.loyalty-card__button {
    width: 100%;
    margin-top: auto;
}

.loyalty__action {
    margin-top: 54px;
    text-align: center;
}

/* Loyalty page */
.loyalty-page {
    padding: 32px 0 112px;
}

.loyalty-page__header {
    max-width: 715px;
    margin-top: 56px;
    margin-bottom: 100px;
}

.loyalty-page__header h1 {
    margin-bottom: 28px;
    font-size: 36px;
    font-weight: 600;
}

.loyalty-page__header p {
    margin: 0;
    font-size: 18px;
}

.loyalty__grid--page {
    gap: 13px;
}

.loyalty__grid--page .loyalty-card {
    border-color: var(--color-accent-soft);
    border-radius: 10px;
}

.loyalty-steps {
    padding-top: 168px;
}

.loyalty-steps__header h2 {
    margin-bottom: 26px;
    font-size: 38px;
}

.loyalty-steps__header p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.loyalty-steps__list {
    max-width: 900px;
    margin: 110px 0 0;
    padding: 0;
    list-style: none;
}

.loyalty-steps__list li + li {
    margin-top: 88px;
}

.loyalty-steps__list h3 {
    margin-bottom: 28px;
    color: #333;
    font-size: 68px;
    font-weight: 300;
    letter-spacing: -0.035em;
}

.loyalty-steps__list h3 span {
    color: var(--color-primary);
    font-weight: 400;
}

.loyalty-steps__list p {
    max-width: 745px;
    margin: 0;
    font-size: 18px;
}

/* About page */
.about-page {
    padding: 32px 0 74px;
}

.about-page__header {
    margin-top: 56px;
}

.about-page__header h1 {
    margin-bottom: 28px;
    font-size: 36px;
    font-weight: 600;
}

.about-page__header p {
    max-width: 1128px;
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.55;
}

.about-page__header p:last-child {
    margin-bottom: 0;
}

.about-page__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 88px;
}

.about-page__gallery img {
    width: 100%;
    height: 344px;
    display: block;
    border-radius: var(--radius);
    object-fit: cover;
}

.about-page__advantages {
    padding-top: 120px;
}

.about-page__advantages > h2 {
    margin-bottom: 48px;
}

/* Articles page */
.articles-page {
    padding: 32px 0 146px;
}

.articles-page__header {
    max-width: 608px;
    margin-top: 56px;
}

.articles-page__header h1 {
    margin-bottom: 28px;
    font-size: 36px;
    font-weight: 600;
}

.articles-page__header p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

.articles-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 63px 13px;
    margin-top: 96px;
}

.articles-page__card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: #333;
}

.articles-page__image {
    height: 375px;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: #e9f0e2;
}

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

.articles-page__card strong {
    margin: 34px 2px 0;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.articles-page__card small {
    max-width: 309px;
    margin: 18px 2px 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.35;
}

.articles-page__card:hover .articles-page__image img,
.articles-page__card:focus-visible .articles-page__image img {
    transform: scale(1.045);
}

.articles-page__card:hover strong,
.articles-page__card:focus-visible strong {
    color: var(--color-primary);
}

.articles-page__card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 6px;
    border-radius: var(--radius);
}

.articles-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 90px;
}

.articles-pagination a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
    font-size: 18px;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

/* Article detail */
.article-detail {
    padding: 32px 0 124px;
}

.article-detail__breadcrumbs {
    flex-wrap: wrap;
}

.article-detail__body {
    max-width: 900px;
    margin-top: 52px;
}

.article-detail__header h1 {
    margin: 0 0 17px;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.18;
}

.article-detail__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 35px;
    color: #878a86;
    font-size: 14px;
}

.article-detail__intro {
    max-width: 880px;
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
}

.article-detail__figure {
    margin: 44px 0 48px;
}

.article-detail__image-placeholder {
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f0f4ec;
    color: #a2aa9c;
    font-size: 14px;
}

.article-detail__image {
    width: 100%;
    height: 340px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.article-detail__figure figcaption {
    margin-top: 12px;
    color: #8b8d89;
    font-size: 14px;
    line-height: 1.45;
}

.article-detail__section {
    margin-top: 44px;
}

.article-detail__section h2 {
    margin: 0 0 20px;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.25;
}

.article-detail__content h2:not(:first-child) {
    margin-top: 44px;
}

.article-detail__section h3 {
    margin: 31px 0 12px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
}

.article-detail__section p,
.article-detail__section li {
    font-size: 17px;
    line-height: 1.7;
}

.article-detail__section p {
    margin: 0 0 20px;
}

.article-detail__section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-detail__section a:hover,
.article-detail__section a:focus-visible {
    color: #15872b;
}

.article-detail__section strong {
    font-weight: 600;
}

.article-detail__section ul {
    margin: 8px 0 0;
    padding-left: 25px;
}

.article-detail__section li + li {
    margin-top: 4px;
}

.articles-pagination a:hover,
.articles-pagination a:focus-visible,
.articles-pagination a.is-active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #fff;
}

/* Contacts page */
.contacts-page {
    padding: 32px 0 112px;
}

.contacts-page__header {
    max-width: 608px;
    margin-top: 56px;
}

.contacts-page__header h1 {
    margin-bottom: 28px;
    font-size: 36px;
    font-weight: 600;
}

.contacts-page__header p {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.contacts-page__content {
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(260px, 1fr);
    gap: 118px;
    margin-top: 66px;
}

.contacts-page__details {
    display: grid;
    gap: 18px;
    margin: 0;
}

.contacts-page__details > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 19px;
}

.contacts-page__details dt,
.contacts-page__details dd {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.contacts-page__details dt {
    font-weight: 600;
}

.contacts-page__details a {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.contacts-page__details a:hover,
.contacts-page__details a:focus-visible {
    color: var(--color-primary);
}

.contacts-page__requisites strong,
.contacts-page__requisites p {
    display: block;
    margin: 0;
    font-size: 18px;
}

.contacts-page__requisites strong {
    margin-bottom: 18px;
}

.contacts-page__socials {
    margin-top: 42px;
}

.contacts-page__map {
    margin-top: 89px;
}

/* Service detail page */
.service-detail {
    padding: 32px 0 33px;
}

.service-detail__breadcrumbs {
    flex-wrap: wrap;
}

.service-detail__hero {
    min-height: 574px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: 58px;
    padding: 76px 38px 32px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background-color: var(--color-primary);
    background-position: center;
    background-size: cover;
}

.service-detail__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.6);
}

.service-detail__hero-content,
.service-detail__hero > .button {
    z-index: 1;
    position: relative;
}

.service-detail__hero-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.service-detail__hero h1 {
    margin: 0;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
}

.service-detail__lead {
    max-width: 608px;
    margin: 26px 0 0;
    font-size: 18px;
}

.service-detail__specs {
    display: grid;
    gap: 2px;
    margin: auto 0 0;
    font-size: 18px;
    font-weight: 300;
}

.service-detail__specs div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.service-detail__specs dt,
.service-detail__specs dd {
    margin: 0;
}

.service-detail__specs dt {
    font-weight: 400;
}

.service-detail__hero > .button {
    flex: none;
}

.service-detail__calculator {
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.service-detail__content {
    padding: 28px 0 112px;
}

.service-detail__help h2 {
    margin-bottom: 24px;
    color: var(--color-primary);
    font-size: 45px;
}

.service-detail__help p {
    max-width: 980px;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.service-detail__help a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-detail__examples {
    margin-top: 160px;
}

.service-detail__examples h2 {
    margin-bottom: 38px;
    font-size: 32px;
}

.service-detail__examples-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.service-detail__examples-grid a {
    overflow: hidden;
    border-radius: var(--radius);
}

.service-detail__examples-grid img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-detail__examples-grid a:hover img,
.service-detail__examples-grid a:focus-visible img {
    transform: scale(1.05);
}

.service-detail__examples-grid a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.service-detail__text {
    margin-top: 145px;
    font-size: 18px;
    line-height: 1.5;
}

.service-detail__text p {
    margin-bottom: 26px;
}

.service-detail__text p:last-child {
    margin-bottom: 0;
}

.service-detail__faq {
    max-width: 920px;
    margin-top: 96px;
}

.service-detail__faq h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.service-detail__faq-list {
    border-top: 1px solid #d9ddd8;
}

.service-detail__faq-item {
    border-bottom: 1px solid #d9ddd8;
}

.service-detail__faq-item summary {
    position: relative;
    padding: 24px 54px 24px 0;
    font-size: 20px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.service-detail__faq-item summary::-webkit-details-marker {
    display: none;
}

.service-detail__faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 8px;
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 400;
    transform: translateY(-50%);
}

.service-detail__faq-item[open] summary::after {
    content: "−";
}

.service-detail__faq-item > div {
    max-width: 780px;
    padding: 0 54px 26px 0;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 560px) {
    .service-detail__faq {
        margin-top: 64px;
    }

    .service-detail__faq h2 {
        margin-bottom: 22px;
        font-size: 27px;
    }

    .service-detail__faq-item summary {
        padding: 20px 44px 20px 0;
        font-size: 17px;
    }

    .service-detail__faq-item > div {
        padding: 0 0 22px;
        font-size: 15px;
    }
}

.service-detail__related {
    margin-top: 80px;
}

.service-detail__related h2 {
    margin-bottom: 28px;
    font-size: 32px;
}

.service-detail__related .service-category__tags {
    max-width: 100%;
}

/* Image lightbox */
body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.86);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox__dialog {
    width: min(1120px, 100%);
    height: min(820px, calc(100vh - 64px));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.lightbox.is-open .lightbox__dialog {
    transform: none;
}

.lightbox__image {
    max-width: calc(100% - 120px);
    max-height: 100%;
    display: block;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox__close,
.lightbox__arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.32);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__arrow:hover,
.lightbox__arrow:focus-visible {
    background: var(--color-primary);
    transform: scale(1.08);
}

.lightbox__close {
    width: 44px;
    height: 44px;
    top: 0;
    right: 0;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.lightbox__arrow {
    width: 48px;
    height: 48px;
    top: 50%;
    padding: 0;
    transform: translateY(-50%);
}

.lightbox__arrow:hover,
.lightbox__arrow:focus-visible {
    transform: translateY(-50%) scale(1.08);
}

.lightbox__arrow--prev {
    left: 0;
}

.lightbox__arrow--next {
    right: 0;
}

.lightbox__arrow img {
    width: 100%;
    height: 100%;
    display: block;
}

.lightbox__counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    padding: 7px 13px;
    border-radius: 100px;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    font-size: 14px;
    transform: translateX(-50%);
}

/* Reviews */
.reviews__widget {
    min-height: 0;
    overflow: hidden;
    border: 1px solid #d9dfd4;
    border-radius: var(--radius);
    background: #fff;
}

.reviews__frame {
    display: block;
    width: 100%;
    height: 650px;
    border: 0;
}

.reviews__action {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/* About */
.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.about-slider {
    width: 100%;
    height: 483px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #d9dfd5;
}

.about-slider__slide {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.45s ease, transform 0.55s ease;
}

.about-slider__slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: none;
}

.about-slider__controls {
    z-index: 2;
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: flex;
    gap: 3px;
}

.about-slider__controls button {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-slider__controls button:hover,
.about-slider__controls button:focus-visible {
    background: rgba(0, 70, 0, 0.45);
    transform: scale(1.06);
}

.about-slider__controls img {
    width: 100%;
    height: 100%;
}

.about-preview__content h3 {
    margin-bottom: 26px;
    font-size: 28px;
}

.about-preview__content p {
    margin-bottom: 38px;
    font-size: 18px;
}

/* Articles */
.articles-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-bottom: 62px;
}

.article-card {
    height: 375px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #d9dfd5;
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover img {
    transform: scale(1.04);
}

.article-card::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.article-card span {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 28px;
    left: 22px;
    color: #fff;
}

.article-card strong,
.article-card small {
    display: block;
}

.article-card strong {
    font-size: 19px;
}

.article-card small {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
    .article-card small {
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(12px);
        transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.3s ease, transform 0.35s ease;
    }

    .article-card:hover small,
    .article-card:focus-visible small {
        max-height: 90px;
        margin-top: 14px;
        opacity: 1;
        transform: none;
    }
}

/* Location */
.location-preview {
    padding-bottom: 96px;
}

.location-preview__map {
    height: 499px;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: #dce7d7;
}

.location-preview__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.site-footer {
    padding: 42px 0 28px;
    background: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 38px;
}

.brand--footer {
    width: min(100%, 310px);
    margin-bottom: 40px;
}

.site-footer__rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.site-footer__rating img {
    width: 39px;
    height: 22px;
    object-fit: contain;
}

.site-footer__location p {
    margin-bottom: 34px;
    color: var(--color-muted);
    font-size: 16px;
}

.site-footer__location strong {
    display: block;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 500;
}

.site-footer__location .work-time {
    margin-bottom: 2px;
    color: var(--color-text);
}

.site-footer__location small {
    font-size: 13px;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 24px;
    font-weight: 500;
}

.site-footer__contact .socials {
    margin-bottom: 8px;
}

.site-footer__contact .button {
    margin-top: 26px;
    font-size: 14px;
}

.site-footer__copyright {
    grid-column: 1 / -1;
    margin: 38px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e4e7e2;
    font-size: 14px;
}

/* Tablet */
@media (max-width: 1100px) {
    .site-header__top {
        grid-template-columns: 310px 1fr auto;
    }

    .site-header__contacts {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }

    .site-header__top > .socials {
        display: none;
    }

    .site-nav__inner {
        gap: 16px;
        font-size: 14px;
    }

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

    .services-progress {
        right: 16px;
        padding: 10px 7px;
        border-radius: 100px;
        background: rgba(0, 0, 0, 0.16);
    }

    .services-progress button {
        background: rgba(255, 255, 255, 0.45);
    }

    .services-progress button.is-active {
        background: #fff;
    }

    .loyalty-card h3 {
        font-size: 34px;
    }

    .site-footer__grid {
        grid-template-columns: 0.8fr 1.2fr 1fr;
    }
}

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

    .site-header__top {
        min-height: 76px;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding-top: 0;
    }

    .site-header__address,
    .site-header__contacts,
    .site-header__top > .socials {
        display: none;
    }

    .site-header__brand {
        justify-content: flex-start;
    }

    .brand {
        width: 180px;
    }

    .site-header__rating span {
        display: none;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 1px solid var(--color-primary);
        border-radius: 50%;
        background: transparent;
    }

    .menu-toggle > span:not(.visually-hidden) {
        width: 20px;
        height: 2px;
        background: var(--color-primary);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        inset: 76px 0 0;
        padding: 24px 0;
        background: var(--color-bg);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-nav__inner {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        font-size: 22px;
    }

    .site-nav a {
        padding: 16px 0;
        border-bottom: 1px solid #dae2d6;
    }

    .site-nav a::after {
        display: none;
    }

    .hero__media {
        min-height: 590px;
        padding: 36px 28px;
        background-position: 58% center;
    }

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

    .hero h1 {
        grid-row: auto;
    }

    .hero__eyebrow {
        order: -1;
    }

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

    .section-heading--action {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-slider {
        height: calc(610px + 210vh);
    }

    .services-slider__sticky,
    .services-stack {
        height: 610px;
    }

    .services-slider__sticky {
        top: 18px;
    }

    .service-slide {
        padding: 46px 28px 44px;
    }

    .service-slide h3 {
        font-size: 46px;
    }

    .service-slide__tags {
        margin-top: 28px;
    }

    .service-slide__text {
        margin-top: 24px;
        padding-right: 34px;
    }

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

    .calculator__form > .button {
        justify-self: start;
    }

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

    .loyalty-card {
        min-height: 400px;
    }

    .reviews__frame {
        height: 620px;
    }

    .about-preview__grid {
        grid-template-columns: 1fr;
    }

    .articles-preview__grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-card--featured {
        grid-column: 1 / -1;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__contact {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 52px 0;
    }

    h2 {
        margin-bottom: 30px;
        font-size: 28px;
    }

    .button {
        width: 100%;
    }

    .section-first {
        padding-top: 4px;
    }

    .hero__media {
        min-height: 520px;
        padding: 28px 20px;
        border-radius: 16px;
    }

    .hero__eyebrow {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .send-layout-modal {
        align-items: end;
        padding: 12px;
    }

    .send-layout-modal__dialog {
        padding: 30px 20px 20px;
        border-radius: 22px;
    }

    .send-layout-modal__close {
        top: 14px;
        right: 14px;
    }

    .send-layout-modal h2 {
        padding-right: 44px;
        font-size: 25px;
    }

    .send-layout-modal__text {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .send-layout-option {
        min-height: 64px;
    }

    .order-request-modal {
        align-items: end;
        padding: 10px;
    }

    .order-request-modal__dialog {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 28px 18px 20px;
        border-radius: 22px;
    }

    .order-request-modal__close {
        top: 13px;
        right: 13px;
    }

    .order-request-modal h2 {
        padding-right: 46px;
        font-size: 26px;
    }

    .order-request-modal__intro {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .order-request-modal__summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 18px;
        padding: 13px 15px;
    }

    .order-request-modal__summary strong {
        font-size: 19px;
    }

    .order-request-form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .order-request-form__field--wide {
        grid-column: auto;
    }

    .order-request-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    .order-request-form__status {
        text-align: center;
    }

    .products__grid {
        gap: 22px 10px;
        margin-bottom: 38px;
    }

    .product-card {
        font-size: 14px;
    }

    .product-card__image {
        margin-bottom: 9px;
        border-radius: 14px;
    }

    .section-heading--action p {
        font-size: 15px;
    }

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

    .why-card {
        min-height: 235px;
    }

    .services-slider {
        height: calc(570px + 210vh);
    }

    .services-slider__sticky,
    .services-stack {
        height: 570px;
    }

    .services-slider__sticky {
        top: 12px;
    }

    .service-slide {
        padding: 42px 22px 34px;
        border-radius: 16px;
    }

    .service-slide h3 {
        font-size: clamp(27px, 8.2vw, 36px);
        letter-spacing: -0.025em;
        line-height: 1.25;
    }

    .service-slide__lead {
        font-size: 14px;
    }

    .service-slide__tags {
        gap: 7px;
        margin-top: 22px;
    }

    .service-slide__tags span,
    .service-slide__tags a {
        padding: 7px 9px;
        font-size: 13px;
    }

    .service-slide__text {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.38;
    }

    .button--large {
        font-size: 15px;
    }

    .calculator__intro {
        margin-bottom: 34px;
        font-size: 15px;
    }

    .calculator__tabs {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 38px;
    }

    .calculator__tabs button {
        width: 100%;
    }

    .calculator__form input,
    .calculator__form select {
        height: 62px;
    }

    .calculator__total strong {
        font-size: 50px;
    }

    .loyalty > .container > p {
        margin-bottom: 40px;
    }

    .loyalty-card h3 {
        font-size: 32px;
    }

    .loyalty-card > strong {
        font-size: 54px;
    }

    .reviews__frame {
        height: 560px;
    }

    .reviews__action .button {
        width: 100%;
    }

    .about-preview__grid {
        gap: 30px;
    }

    .about-slider {
        height: 330px;
    }

    .about-preview__content h3 {
        font-size: 23px;
    }

    .about-preview__content p {
        font-size: 15px;
    }

    .articles-preview__grid {
        grid-template-columns: 1fr;
        margin-bottom: 38px;
    }

    .article-card,
    .article-card--featured {
        height: 330px;
        grid-column: auto;
    }

    .location-preview__map {
        height: 360px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .brand--footer {
        width: min(100%, 300px);
    }

    .site-footer__contact {
        grid-column: auto;
        font-size: 20px;
    }

    .site-footer__copyright {
        grid-column: auto;
        font-size: 12px;
    }
}

@media (max-width: 820px) {
    .service-detail__hero {
        min-height: 620px;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        padding: 48px 30px 32px;
    }

    .service-detail__hero-content {
        min-height: 0;
    }

    .service-detail__specs {
        margin-top: 74px;
    }

    .service-detail__hero > .button {
        align-self: flex-start;
        margin-top: auto;
    }

    .service-detail__help h2 {
        font-size: 36px;
    }

    .service-detail__help p {
        font-size: 20px;
    }

    .service-detail__examples {
        margin-top: 110px;
    }

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

    .service-detail__text {
        margin-top: 96px;
    }

    .contacts-page__header {
        max-width: none;
        margin-top: 42px;
    }

    .contacts-page__content {
        grid-template-columns: 1fr;
        gap: 44px;
        margin-top: 54px;
    }

    .contacts-page__map {
        margin-top: 64px;
    }

    .articles-page__header {
        max-width: none;
        margin-top: 42px;
    }

    .articles-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 54px 16px;
        margin-top: 68px;
    }

    .article-detail__body {
        max-width: none;
        margin-top: 44px;
    }

    .article-detail__figure {
        margin-top: 40px;
    }

    .article-detail__image-placeholder {
        height: 300px;
    }

    .article-detail__image {
        height: 300px;
    }

    .about-page__header {
        margin-top: 42px;
    }

    .about-page__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 64px;
    }

    .about-page__gallery img:last-child {
        grid-column: 1 / -1;
    }

    .about-page__advantages {
        padding-top: 88px;
    }

    .loyalty-page__header {
        max-width: none;
        margin-top: 42px;
        margin-bottom: 70px;
    }

    .loyalty-steps {
        padding-top: 100px;
    }

    .loyalty-steps__list {
        margin-top: 72px;
    }

    .loyalty-steps__list h3 {
        font-size: 48px;
    }

    .portfolio-page__header {
        margin-top: 42px;
    }

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

    .services-showcase--portfolio {
        padding-top: 72px;
    }

    .services-catalog {
        padding-top: 24px;
        padding-bottom: 64px;
    }

    .services-catalog__header {
        max-width: none;
        margin-top: 42px;
        margin-bottom: 76px;
    }

    .services-catalog__list {
        gap: 68px;
    }

    .service-category {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-category__tags {
        max-width: none;
    }

    .service-category__image-link {
        width: 100%;
        height: auto;
        aspect-ratio: 456 / 247;
        margin-top: 28px;
    }

    .service-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .article-detail {
        padding: 24px 0 72px;
    }

    .article-detail__breadcrumbs {
        gap: 6px 8px;
    }

    .article-detail__body {
        margin-top: 34px;
    }

    .article-detail__header h1 {
        margin-bottom: 14px;
        font-size: 29px;
        line-height: 1.2;
    }

    .article-detail__meta {
        flex-wrap: wrap;
        margin-bottom: 26px;
        font-size: 13px;
    }

    .article-detail__intro {
        font-size: 16px;
        line-height: 1.58;
    }

    .article-detail__figure {
        margin: 34px 0 40px;
    }

    .article-detail__image-placeholder {
        height: 220px;
        padding: 16px;
        border-radius: 10px;
        text-align: center;
    }

    .article-detail__image {
        height: 220px;
        border-radius: 10px;
    }

    .article-detail__figure figcaption {
        font-size: 12px;
    }

    .article-detail__section {
        margin-top: 38px;
    }

    .article-detail__section h2 {
        margin-bottom: 17px;
        font-size: 24px;
    }

    .article-detail__section h3 {
        margin-top: 26px;
        font-size: 19px;
    }

    .article-detail__section p,
    .article-detail__section li {
        font-size: 15px;
        line-height: 1.65;
    }

    .lightbox {
        padding: 14px;
    }

    .lightbox__dialog {
        height: calc(100vh - 28px);
    }

    .lightbox__image {
        max-width: 100%;
        max-height: calc(100% - 110px);
        border-radius: 14px;
    }

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

    .lightbox__arrow {
        width: 44px;
        height: 44px;
        top: auto;
        bottom: 12px;
        transform: none;
    }

    .lightbox__arrow:hover,
    .lightbox__arrow:focus-visible {
        transform: scale(1.06);
    }

    .lightbox__arrow--prev {
        left: calc(50% - 62px);
    }

    .lightbox__arrow--next {
        right: calc(50% - 62px);
    }

    .lightbox__counter {
        bottom: 67px;
    }

    .service-detail {
        padding-top: 24px;
    }

    .service-detail__breadcrumbs {
        gap: 6px 8px;
    }

    .service-detail__hero {
        min-height: 650px;
        margin-top: 34px;
        padding: 36px 20px 24px;
        border-radius: 16px;
    }

    .service-detail__hero h1 {
        font-size: 31px;
    }

    .service-detail__lead {
        margin-top: 20px;
        font-size: 15px;
    }

    .service-detail__specs {
        gap: 5px;
        margin-top: 48px;
        font-size: 14px;
    }

    .service-detail__hero > .button {
        width: 100%;
    }

    .service-detail__content {
        padding: 48px 0 76px;
    }

    .service-detail__help h2 {
        margin-bottom: 18px;
        font-size: 29px;
    }

    .service-detail__help p {
        font-size: 17px;
    }

    .service-detail__examples {
        margin-top: 76px;
    }

    .service-detail__examples h2 {
        margin-bottom: 26px;
        font-size: 26px;
    }

    .service-detail__examples-grid {
        gap: 10px;
    }

    .service-detail__examples-grid a {
        border-radius: 14px;
    }

    .service-detail__text {
        margin-top: 72px;
        font-size: 15px;
    }

    .service-detail__text p {
        margin-bottom: 20px;
    }

    .contacts-page {
        padding: 24px 0 72px;
    }

    .contacts-page__header {
        margin-top: 34px;
    }

    .contacts-page__header h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .contacts-page__header p {
        font-size: 15px;
    }

    .contacts-page__content {
        gap: 38px;
        margin-top: 46px;
    }

    .contacts-page__details {
        gap: 24px;
    }

    .contacts-page__details > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .contacts-page__details dt,
    .contacts-page__details dd,
    .contacts-page__requisites strong,
    .contacts-page__requisites p {
        font-size: 15px;
    }

    .contacts-page__requisites strong {
        margin-bottom: 9px;
    }

    .contacts-page__socials {
        margin-top: 34px;
    }

    .contacts-page__map {
        margin-top: 52px;
    }

    .articles-page {
        padding: 24px 0 80px;
    }

    .articles-page__header {
        margin-top: 34px;
    }

    .articles-page__header h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .articles-page__header p {
        font-size: 15px;
    }

    .articles-page__grid {
        grid-template-columns: 1fr;
        gap: 46px;
        margin-top: 48px;
    }

    .articles-page__image {
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }

    .articles-page__card strong {
        margin-top: 22px;
        font-size: 18px;
    }

    .articles-page__card small {
        max-width: none;
        margin-top: 12px;
        font-size: 15px;
    }

    .articles-pagination {
        margin-top: 58px;
    }

    .about-page {
        padding: 24px 0 52px;
    }

    .about-page__header {
        margin-top: 34px;
    }

    .about-page__header h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .about-page__header p {
        font-size: 15px;
        line-height: 1.55;
    }

    .about-page__gallery {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 48px;
    }

    .about-page__gallery img,
    .about-page__gallery img:last-child {
        height: auto;
        grid-column: auto;
        aspect-ratio: 1.06 / 1;
        border-radius: 16px;
    }

    .about-page__advantages {
        padding-top: 68px;
    }

    .about-page__advantages > h2 {
        margin-bottom: 30px;
    }

    .loyalty-page {
        padding: 24px 0 72px;
    }

    .loyalty-page__header {
        margin-top: 34px;
        margin-bottom: 48px;
    }

    .loyalty-page__header h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .loyalty-page__header p {
        font-size: 15px;
    }

    .loyalty-steps {
        padding-top: 72px;
    }

    .loyalty-steps__header h2 {
        margin-bottom: 18px;
        font-size: 28px;
    }

    .loyalty-steps__header p {
        font-size: 15px;
        line-height: 1.5;
    }

    .loyalty-steps__list {
        margin-top: 56px;
    }

    .loyalty-steps__list li + li {
        margin-top: 58px;
    }

    .loyalty-steps__list h3 {
        margin-bottom: 20px;
        font-size: 34px;
        line-height: 1.16;
    }

    .loyalty-steps__list h3 span {
        display: block;
        margin-bottom: 4px;
    }

    .loyalty-steps__list p {
        font-size: 15px;
    }

    .portfolio-page {
        padding: 24px 0 48px;
    }

    .portfolio-page__header {
        margin-top: 34px;
    }

    .portfolio-page__header h1 {
        margin-bottom: 14px;
        font-size: 30px;
    }

    .portfolio-page__header p {
        font-size: 15px;
        line-height: 1.55;
    }

    .portfolio-filters {
        gap: 8px;
        margin-top: 24px;
    }

    .portfolio-filters button {
        min-height: 36px;
        padding: 8px 13px;
        font-size: 12px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .portfolio-card__media {
        height: auto;
        aspect-ratio: 1.55 / 1;
    }

    .portfolio-more {
        padding: 30px 0 44px;
    }

    .portfolio-cta {
        padding: 32px 18px;
    }

    .portfolio-cta h2 {
        font-size: 23px;
    }

    .portfolio-cta p {
        font-size: 14px;
    }

    .portfolio-cta .button {
        width: auto;
    }

    .services-showcase--portfolio {
        padding-top: 52px;
    }

    .breadcrumbs {
        gap: 10px;
        font-size: 13px;
    }

    .services-catalog__header {
        margin-top: 34px;
        margin-bottom: 58px;
    }

    .services-catalog__header h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .services-catalog__header p {
        font-size: 15px;
    }

    .service-category__content h2 {
        margin-bottom: 22px;
        font-size: 21px;
    }

    .service-category__tags {
        gap: 9px 7px;
    }

    .service-category__tags a {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 14px;
    }

    .service-category__image-link {
        margin-top: 22px;
        border-radius: 16px;
    }

    .service-section {
        padding: 24px 0 72px;
    }

    .service-section__header {
        margin-top: 38px;
        margin-bottom: 44px;
    }

    .service-section__header h1 {
        font-size: 32px;
    }

    .service-section__header p {
        font-size: 16px;
    }

    .service-section-card {
        min-height: 0;
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        background: #fff;
    }

    .service-section-card img {
        width: 100%;
        height: auto;
        flex: 0 0 auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .service-section-card__content {
        position: relative;
        z-index: 1;
        width: 100%;
        min-height: 220px;
        padding: 24px 20px;
        color: var(--color-text);
        background: #fff;
    }

    .service-section-card__content strong {
        color: var(--color-primary);
    }

    .service-section-card__more {
        color: var(--color-text);
    }
}

@media (max-width: 820px) {
    .portfolio-detail__breadcrumbs {
        margin-bottom: 36px;
    }

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

    .portfolio-detail__cover {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .portfolio-detail__content {
        gap: 38px;
        margin-top: 56px;
    }
}

@media (max-width: 560px) {
    .portfolio-detail {
        padding: 24px 0 64px;
    }

    .portfolio-detail__breadcrumbs {
        margin-bottom: 32px;
    }

    .portfolio-detail__header {
        gap: 26px;
        margin-bottom: 28px;
    }

    .portfolio-detail__header h1 {
        font-size: 36px;
    }

    .portfolio-detail__lead {
        margin-top: 16px;
        font-size: 15px;
    }

    .portfolio-detail__facts {
        padding: 18px 0;
    }

    .portfolio-detail__facts div {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .portfolio-detail__cover {
        border-radius: 16px;
    }

    .portfolio-detail__content {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 48px;
    }

    .portfolio-detail__description {
        grid-column: auto;
    }

    .portfolio-detail__content h2,
    .portfolio-detail__gallery h2,
    .portfolio-detail__cta h2 {
        font-size: 24px;
    }

    .portfolio-detail__content p,
    .portfolio-detail__description div {
        font-size: 15px;
    }

    .portfolio-detail__gallery {
        margin-top: 58px;
    }

    .portfolio-detail__gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .portfolio-detail__gallery-grid img {
        border-radius: 16px;
    }

    .portfolio-detail__cta {
        align-items: stretch;
        flex-direction: column;
        margin-top: 58px;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .portfolio-detail__cta .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* End */


/* Start:/local/templates/oneprinted/styles.css?178722076482*/
/* Стили для визуального редактора Битрикс. */

/* End */


/* Start:/local/templates/oneprinted/template_styles.css?178722076385*/
/* Стили шаблона, подключаемые ядром Битрикс. */

/* End */
/* /local/templates/oneprinted/css/style.css?178730974084611 */
/* /local/templates/oneprinted/styles.css?178722076482 */
/* /local/templates/oneprinted/template_styles.css?178722076385 */
