.fort-page {
    --fort-ink: #171717;
    --fort-muted: #5f6264;
    --fort-line: #dfe1e2;
    --fort-soft: #f7f7f6;
    --fort-red: #a70f29;
    --fort-red-dark: #7f0a1e;
    color: var(--fort-ink);
    overflow: hidden;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    main.main.container,
    main.main.container-sm {
        max-width: 100%;
    }
}

.fort-page *,
.fort-page *::before,
.fort-page *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.fort-page h1,
.fort-page h2,
.fort-page h3,
.fort-page p,
.fort-page figure,
.fort-page ul {
    margin: 0;
}

.fort-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.fort-section {
    padding: 42px 0;
}

.fort-section h2 {
    margin-bottom: 24px;
    color: var(--fort-ink);
    font-size: 34px;
    line-height: 1.16;
    text-align: center;
}

.fort-icon {
    display: inline-grid;
    flex: none;
    place-items: center;
    color: var(--fort-red);
    line-height: 1;
}

.fort-icon > svg,
.fort-icon > i {
    display: block;
    width: 100%;
    height: 100%;
}

.fort-button {
    min-width: 220px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid var(--fort-red);
    border-radius: 4px;
    background: var(--fort-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.fort-page a.fort-button,
.fort-page a.fort-button:link,
.fort-page a.fort-button:visited,
.fort-page a.fort-button:active {
    color: #fff !important;
    text-decoration: none !important;
}

.fort-page .fort-button,
.fort-page .fort-button:hover,
.fort-page .fort-button:focus,
.fort-page .fort-button:active {
    transform: none !important;
}

.fort-button:hover,
.fort-button:focus-visible {
    border-color: var(--fort-red-dark);
    background: var(--fort-red-dark);
    color: #fff;
}

.fort-button--outline {
    background: #fff;
    color: var(--fort-red);
}

.fort-page a.fort-button--outline,
.fort-page a.fort-button--outline:link,
.fort-page a.fort-button--outline:visited {
    color: var(--fort-red) !important;
}

.fort-page a.fort-button--outline:hover,
.fort-page a.fort-button--outline:focus-visible,
.fort-page a.fort-button--outline:active {
    color: #fff !important;
}

.fort-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 46px 0;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 38%, rgba(255, 255, 255, .86) 48%, rgba(255, 255, 255, .2) 70%, rgba(255, 255, 255, 0) 100%),
        url("img/hero-overview.webp") right center / auto 100% no-repeat;
}

.fort-hero__content {
    max-width: 650px;
}

.fort-kicker {
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 2px;
    background: var(--fort-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.fort-hero h1 {
    max-width: 600px;
    margin-bottom: 18px;
    color: #0f0f10;
    font-size: 50px;
    font-weight: 750;
    line-height: 1.02;
}

.fort-hero h1 span {
    display: block;
    color: var(--fort-red);
}

.fort-hero p {
    max-width: 535px;
    color: #303234;
    font-size: 16px;
    line-height: 1.52;
}

.fort-hero p + p {
    margin-top: 8px;
}

.fort-hero__lead {
    font-size: 18px !important;
}

.fort-hero__facts {
    width: min(100%, 680px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px !important;
    padding: 0;
    list-style: none;
}

.fort-hero__facts li {
    min-width: 0;
    display: grid;
    gap: 8px;
    align-content: start;
    color: #292b2d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.34;
}

.fort-icon--hero {
    width: 30px;
    height: 30px;
}

.fort-hero .fort-button {
    margin-top: 28px;
}

.fort-about__layout {
    display: grid;
    grid-template-columns: minmax(420px, .9fr) minmax(480px, 1.1fr);
    gap: 40px;
    align-items: center;
}

.fort-about__visual {
    overflow: hidden;
    border: 1px solid var(--fort-line);
    border-radius: 8px;
    background: #f1f0ee;
}

.fort-about__visual img {
    width: 100%;
    height: auto;
    display: block;
}

.fort-about__copy h2 {
    margin-bottom: 16px;
    text-align: left;
}

.fort-about__copy > p {
    margin-bottom: 22px;
    color: var(--fort-muted);
    font-size: 16px;
    line-height: 1.56;
}

.fort-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--fort-line);
    border-radius: 7px;
    overflow: hidden;
}

.fort-feature {
    min-height: 130px;
    padding: 17px 10px 14px;
    background: #fff;
    text-align: center;
}

.fort-feature + .fort-feature {
    border-left: 1px solid var(--fort-line);
}

.fort-icon--feature {
    width: 31px;
    height: 31px;
    margin: 0 auto 9px;
}

.fort-feature strong,
.fort-feature > span:not(.fort-icon) {
    display: block;
}

.fort-feature strong {
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.25;
}

.fort-feature > span:not(.fort-icon) {
    color: var(--fort-muted);
    font-size: 12px;
    line-height: 1.35;
}

.fort-elements {
    padding-top: 20px;
}

.fort-element-grid {
    width: min(100%, 920px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0 auto;
}

.fort-element-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(180px, .9fr) minmax(180px, 1.1fr);
    align-items: center;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--fort-line);
    border-radius: 8px;
    background: #fff;
}

.fort-element-card__image {
    height: 190px;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f2f2f0;
    text-decoration: none;
}

.fort-element-card__image img {
    width: 100%;
    height: 100% !important;
    display: block;
    padding: 0;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}

.fort-page a.fort-element-card__image,
.fort-page a.fort-element-card__image:link,
.fort-page a.fort-element-card__image:visited,
.fort-page a.fort-element-card__image:active {
    text-decoration: none !important;
}

.fort-page a.fort-element-card__image:focus-visible {
    outline: 3px solid rgba(167, 15, 41, .3);
    outline-offset: -3px;
}

.fort-element-card__copy {
    padding: 22px;
}

.fort-element-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.25;
}

.fort-page .fort-element-card h3 a,
.fort-page .fort-element-card h3 a:link,
.fort-page .fort-element-card h3 a:visited,
.fort-page .fort-element-card h3 a:active {
    color: var(--fort-ink) !important;
    text-decoration: none !important;
}

.fort-page .fort-element-card h3 a:hover,
.fort-page .fort-element-card h3 a:focus-visible {
    color: var(--fort-red) !important;
}

.fort-element-card p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.4;
}

.fort-element-card__weight {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #333638;
    font-size: 14px;
}

.fort-element-card__weight .fort-icon {
    width: 20px;
    height: 20px;
}

.fort-page .fort-element-card__link,
.fort-page .fort-element-card__link:link,
.fort-page .fort-element-card__link:visited,
.fort-page .fort-element-card__link:active {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-top: 16px;
    color: var(--fort-red) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    transition: color .2s ease;
}

.fort-page .fort-element-card__link:hover,
.fort-page .fort-element-card__link:focus-visible {
    color: var(--fort-red-dark) !important;
}

.fort-page .fort-element-card__link .fort-icon {
    width: 17px;
    height: 17px;
}

.fort-page .fort-element-card__link,
.fort-page .fort-element-card__link:hover,
.fort-page .fort-element-card__link:focus,
.fort-page .fort-element-card__link:active,
.fort-page .fort-element-card__link .fort-icon,
.fort-page .fort-element-card__link .fort-icon > svg {
    transform: none !important;
}

.fort-page .fort-media-preview {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    appearance: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    box-shadow: none;
    cursor: zoom-in;
}

.fort-page .fort-media-preview,
.fort-page .fort-media-preview:hover,
.fort-page .fort-media-preview:focus,
.fort-page .fort-media-preview:active,
.fort-page .fort-media-preview > img {
    transform: none !important;
}

.fort-page .fort-media-preview:focus-visible {
    outline: 3px solid rgba(179, 31, 36, .3);
    outline-offset: 3px;
}

.fort-media-preview__zoom {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--fort-ink);
    box-shadow: 0 3px 14px rgba(23, 25, 26, .2);
    pointer-events: none;
    transition: background-color .2s ease, color .2s ease;
}

.fort-media-preview:hover .fort-media-preview__zoom,
.fort-media-preview:focus-visible .fort-media-preview__zoom {
    background: var(--fort-red);
    color: #fff;
}

.fort-media-preview__zoom svg,
.fort-media-preview__zoom > i {
    width: 17px;
    height: 17px;
}

.fort-colors {
    padding-top: 24px;
}

.fort-page .fort-colors .fort-color-grid {
    width: min(100%, 920px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid var(--fort-line);
    border-radius: 8px;
}

.fort-page .fort-colors .fort-color {
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(38px, auto);
    align-content: start;
    text-align: center;
}

.fort-page .fort-colors .fort-color__image {
    min-width: 0;
    aspect-ratio: 1.12;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 11px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #eeeeec;
}

.fort-page .fort-colors .fort-color__image > img {
    width: 100%;
    max-width: 100%;
    height: 100% !important;
    max-height: none;
    display: block;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    transform: none !important;
}

.fort-page .fort-colors .fort-color figcaption {
    min-height: 38px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.fort-spec-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--fort-line);
    border-radius: 8px;
    overflow: hidden;
}

.fort-spec {
    min-width: 0;
    min-height: 138px;
    padding: 20px 12px 15px;
    background: #fff;
    text-align: center;
}

.fort-spec + .fort-spec {
    border-left: 1px solid var(--fort-line);
}

.fort-icon--spec {
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
}

.fort-spec strong,
.fort-spec > span:not(.fort-icon) {
    display: block;
}

.fort-spec strong {
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.25;
}

.fort-spec strong em {
    color: var(--fort-red);
    font-size: 15px;
    font-style: normal;
}

.fort-spec > span:not(.fort-icon) {
    color: var(--fort-muted);
    font-size: 12px;
    line-height: 1.35;
}

.fort-gallery {
    padding-top: 24px;
}

.fort-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}

.fort-gallery-grid figure {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(62px, auto);
    align-self: start;
    overflow: hidden;
    border: 1px solid var(--fort-line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.fort-gallery__preview {
    aspect-ratio: 1.32;
    display: block;
    border-radius: 0;
    background: #ececea;
}

.fort-gallery__preview > img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    transform: none !important;
}

.fort-gallery-grid figcaption {
    min-height: 62px;
    display: grid;
    place-items: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.fort-page .fort-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 52px 72px 38px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(14, 15, 16, .97);
    color: #fff;
    box-shadow: none !important;
}

.fort-page .fort-lightbox[open] {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px 20px;
    align-items: center;
}

.fort-lightbox::backdrop {
    background: rgba(14, 15, 16, .97);
}

.fort-lightbox__figure {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    place-items: center;
    margin: 0;
}

.fort-page .fort-lightbox__figure > img {
    width: auto;
    max-width: 100%;
    height: auto !important;
    max-height: 100%;
    display: block;
    object-fit: contain;
    transform: none !important;
}

.fort-lightbox__figure figcaption {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.fort-page .fort-lightbox__close,
.fort-page .fort-lightbox__nav {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: inherit;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease;
}

.fort-page .fort-lightbox__close,
.fort-page .fort-lightbox__close:hover,
.fort-page .fort-lightbox__close:focus,
.fort-page .fort-lightbox__close:active,
.fort-page .fort-lightbox__nav,
.fort-page .fort-lightbox__nav:hover,
.fort-page .fort-lightbox__nav:focus,
.fort-page .fort-lightbox__nav:active {
    transform: none !important;
}

.fort-page .fort-lightbox__close:hover,
.fort-page .fort-lightbox__close:focus-visible,
.fort-page .fort-lightbox__nav:hover,
.fort-page .fort-lightbox__nav:focus-visible {
    background: rgba(255, 255, 255, .25);
    outline: none;
}

.fort-lightbox__close {
    position: fixed;
    z-index: 3;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
}

.fort-lightbox__nav {
    width: 50px;
    height: 50px;
}

.fort-lightbox__close svg,
.fort-lightbox__close > i,
.fort-lightbox__nav svg,
.fort-lightbox__nav > i {
    width: 24px;
    height: 24px;
}

.fort-lightbox__nav--prev {
    grid-column: 1;
    grid-row: 1;
}

.fort-lightbox__nav--next {
    grid-column: 3;
    grid-row: 1;
}

.fort-lightbox__count {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1;
}

html.fort-lightbox-open {
    overflow: hidden;
}

.fort-consultation {
    padding: 16px 0;
}

.fort-consultation__layout {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px 28px;
    border: 1px solid var(--fort-line);
    border-radius: 10px;
    background: linear-gradient(135deg, #faf8f8, #fff);
    box-shadow: 0 10px 28px rgba(23, 23, 23, .04);
}

.fort-consultation__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 2px solid var(--fort-red);
    border-radius: 50%;
}

.fort-icon--consultation {
    width: 38px;
    height: 38px;
}

.fort-consultation h2 {
    margin-bottom: 7px;
    font-size: 25px;
    text-align: left;
}

.fort-consultation p {
    color: var(--fort-muted);
    font-size: 15px;
    line-height: 1.45;
}

.fort-benefits {
    padding: 18px 0 54px;
}

.fort-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--fort-line);
    border-radius: 8px;
    overflow: hidden;
}

.fort-benefit {
    position: relative;
    min-height: 104px;
    padding: 22px 18px 20px 62px;
    background: #fff;
}

.fort-benefit + .fort-benefit {
    border-left: 1px solid var(--fort-line);
}

.fort-icon--benefit {
    position: absolute;
    top: 25px;
    left: 20px;
    width: 28px;
    height: 28px;
}

.fort-benefit strong,
.fort-benefit > span:not(.fort-icon) {
    display: block;
}

.fort-benefit strong {
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.28;
}

.fort-benefit > span:not(.fort-icon) {
    color: var(--fort-muted);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .fort-about__layout {
        grid-template-columns: 1fr;
    }

    .fort-about__visual {
        width: min(100%, 760px);
        margin: 0 auto;
    }

    .fort-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fort-spec:nth-child(4) {
        border-left: 0;
    }

    .fort-spec:nth-child(n + 4) {
        border-top: 1px solid var(--fort-line);
    }

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

    .fort-benefit:nth-child(3) {
        border-left: 0;
    }

    .fort-benefit:nth-child(n + 3) {
        border-top: 1px solid var(--fort-line);
    }
}

@media (max-width: 820px) {
    .fort-element-grid {
        grid-template-columns: 1fr;
    }

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

    .fort-page .fort-colors .fort-color-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fort-consultation__layout {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .fort-consultation .fort-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .fort-shell {
        width: min(100% - 28px, 560px);
    }

    .fort-section {
        padding: 38px 0;
    }

    .fort-section h2 {
        margin-bottom: 22px;
        font-size: 27px;
    }

    .fort-hero {
        min-height: 0;
        padding: 34px 0 38px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .97) 56%, rgba(255, 255, 255, .72) 76%, rgba(255, 255, 255, .28) 100%),
            url("img/hero-overview.webp") center bottom / 100% auto no-repeat;
    }

    .fort-hero h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .fort-hero p,
    .fort-about__copy > p {
        font-size: 15px;
    }

    .fort-hero__lead {
        font-size: 17px !important;
    }

    .fort-hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
    }

    .fort-button {
        width: 100%;
    }

    .fort-page .fort-lightbox {
        padding: 58px 12px 22px !important;
    }

    .fort-page .fort-lightbox[open] {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .fort-lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .fort-lightbox__close {
        width: 40px;
        height: 40px;
    }

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

    .fort-feature:nth-child(3) {
        border-left: 0;
    }

    .fort-feature:nth-child(n + 3) {
        border-top: 1px solid var(--fort-line);
    }

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

    .fort-spec:nth-child(odd) {
        border-left: 0;
    }

    .fort-spec:nth-child(n + 3) {
        border-top: 1px solid var(--fort-line);
    }

    .fort-consultation__layout {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .fort-consultation__icon {
        margin: 0 auto;
    }

    .fort-consultation h2 {
        text-align: center;
    }

    .fort-consultation .fort-button {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .fort-element-card {
        grid-template-columns: 1fr;
    }

    .fort-element-card__image {
        height: 210px;
        min-height: 0;
    }

    .fort-gallery-grid,
    .fort-benefit-grid {
        grid-template-columns: 1fr;
    }

    .fort-benefit + .fort-benefit,
    .fort-benefit:nth-child(3) {
        border-top: 1px solid var(--fort-line);
        border-left: 0;
    }
}

@media (max-width: 390px) {
    .fort-feature-grid,
    .fort-spec-grid {
        grid-template-columns: 1fr;
    }

    .fort-feature + .fort-feature,
    .fort-spec + .fort-spec {
        border-top: 1px solid var(--fort-line);
        border-left: 0;
    }
}
