@import url("./fonts.css");

:root {
    --ink: #15191d;
    --copy: #514b46;
    --page: #fbfdff;
    --card: #f7f7f7;
    --line: #e6e3e1;
    --orange: #f17948;
    --brick: #be2237;
    --hover-glow: 0 0 8px rgb(241 121 72 / 24%);
    --hover-gradient: linear-gradient(90deg, transparent, var(--card) 79%);
    --hover-slide-motion: .35s cubic-bezier(.22, .61, .36, 1);
    --gutter: clamp(24px, 8.333333vw, 160px);
    --content: 1600px;
    --section-gap: clamp(72px, 6.25vw, 120px);
    --heading-gap: clamp(36px, 3.646vw, 70px);
    --large-pad: clamp(24px, 2.0833vw, 40px);
    --small-pad: clamp(20px, 1.6667vw, 32px);
    --button-height: 48px;
    --body-size: clamp(16px, 1.042vw, 20px);
    --radius: 12px;
    --photo-zoom-motion: .25s ease;
    --header-top: 26px;
    --header-pad: clamp(12px, 1.042vw, 20px);
    --header-height: calc(var(--button-height) + 2 * var(--header-pad));
    scroll-padding-top: calc(var(--header-top) + var(--header-height) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

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

[hidden] {
    display: none !important;
}


.br_mobile {display: none;}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font: 400 16px/1.2 "Inter Tight", system-ui, "Segoe UI Emoji", sans-serif;
}

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

picture {
    display: block;
}

@property --scene-photo-scale {
    syntax: "<number>";
    inherits: true;
    initial-value: 1;
}

.anim {
    opacity: 0;
    transition: 0.5s;
}

.anim.animated {
    opacity: 1;
}

.photo-frame {
    overflow: hidden;
}

.zoom-photo {
    transition: transform var(--photo-zoom-motion);
}

@media (hover: hover) {
    .photo-frame:hover .zoom-photo {
        transform: scale(1.035);
    }

    .scene-media:hover {
        --scene-photo-scale: 1.035;
    }
}

h1, h2, h3, p, ul, ol, fieldset {
    margin: 0;
}

ul, ol, fieldset {
    padding: 0;
}

ul, ol {
    list-style: none;
}

fieldset {
    min-inline-size: 0;
    border: 0;
}

legend {
    padding: 0;
}

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

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

button, label[for] {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--brick);
    outline-offset: 4px;
}

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

.container {
    width: min(var(--content), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.btn {
    min-height: var(--button-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: clamp(13px, .834vw, 16px);
    font-weight: 400;
    text-align: center;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

.btn:hover {
    background: var(--brick);
}

.btn.white {
    background: #fff;
    color: var(--ink);
    --arrow-color: var(--brick);
}

.btn.white:hover {
    background: var(--brick);
    color: #fff;
    --arrow-color: #fff;
}

.btn-arrow::after {
    content: "";
    width: 24px;
    height: 7px;
    flex: none;
    background: var(--arrow-color, currentColor);
    mask: url("../img/icon-arrow.svg") center / contain no-repeat;
}

/* Header: the panel and the menu share one glass surface on desktop. */
header {
    position: fixed;
    z-index: 10;
    top: var(--header-top);
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--content), 100% - 2 * var(--gutter));
    border-radius: var(--radius);
    box-shadow: 0 4px 8px rgb(35 7 7 / 12%);
    color: #fff;
    --header-btn: clamp(166px, 13.906vw, 267px);
    --header-gap: clamp(14px, 1.667vw, 32px);
}

header .panel {
    border-radius: inherit;
    background: rgb(255 255 255 / 12%);
    backdrop-filter: blur(12px);
}

header .panel .container {
    display: flex;
    align-items: center;
    gap: var(--header-gap);
    width: 100%;
    padding: var(--header-pad);
}

header .logo1 {
    margin-right: auto;
}

header .logo1 img {
    width: clamp(106px, 7.969vw, 153px);
    height: auto;
}

header .phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--body-size);
    font-weight: 500;
    white-space: nowrap;
}

header .phone img {
    width: 20px;
    height: auto;
}

header .btn {
    width: var(--header-btn);
}

header .menu_container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: clamp(152px, 14.74vw, 283px);
    right: calc(var(--header-pad) + var(--header-btn) + 2 * var(--header-gap) + clamp(136px, 8.7vw, 167px));
}

header .menu_container .container, header .menu {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.667vw, 32px);
    width: auto;
}

header .menu a {
    font-size: clamp(13px, .834vw, 16px);
    white-space: nowrap;
    text-underline-offset: 2px;
}

header .menu a:hover {
    text-decoration: underline;
}

header .phone:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

header .burger {
    display: none;
}

header .header-scroll-icon, html.scroll header .header-hero-icon {
    display: none;
}

html.scroll header .header-scroll-icon {
    display: block;
}

html.scroll header {
    color: var(--ink);
    --header-menu-bg: #fff;
    --header-burger-border: var(--line);
}

html.scroll header .panel {
    background: rgb(255 255 255 / 94%);
}

html.scroll header .btn.white {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    --arrow-color: #fff;
}

html.scroll header .btn.white:hover {
    background: var(--brick);
    border-color: var(--line);
}

/* Single-slide hero uses the site's existing banner markup. */
.big_banner {
    position: relative;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    color: #fff;
    background: #46423d;
}

.big_banner .item {
    position: relative;
}

.big_banner .item > picture, .big_banner .item > picture::after {
    position: absolute;
    inset: 0;
}

.big_banner .item > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.big_banner .item > picture::after {
    content: "";
    /* background: linear-gradient(90deg, rgb(0 0 0 / 56%), transparent), rgb(31 31 31 / 43%); */
}

.big_banner .title_container {
    position: relative;
}

.big_banner .title_container > .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(650px, 41.6667vw, 800px);
    padding-block: clamp(192px, 12.97vw, 249px) clamp(36px, 2.76vw, 53px);
    gap: 48px;
}

.big_banner .title {
    max-width: 850px;
    font-size: clamp(40px, 3.125vw, 60px);
    line-height: 1.21;
    font-weight: 700;
}

.big_banner .comment {
    font-size: var(--body-size);
    font-weight: 500;
    margin-top: 9px;
}

.big_banner .text_container .btn {
    margin-top: 40px;
    width: min(100%, 267px);
}

.advantages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 3.073vw, 59px);
}

.advantages a {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 97px;
    gap: clamp(10px, 1.042vw, 20px);
    padding: clamp(12px, 1.042vw, 20px);
    border-radius: var(--radius);
    background: rgb(255 255 255 / 12%);
    backdrop-filter: blur(9px);
    font-size: var(--body-size);
    font-weight: 300;
    transition: background-color .2s, box-shadow .2s;
}

.advantages a:hover {
    background: rgb(255 255 255 / 40%);
    box-shadow: var(--hover-glow);
}

.advantages i {
    display: grid;
    place-items: center;
    width: clamp(28px, 2.083vw, 40px);
    flex: none;
}

.advantages strong {
    display: block;
    margin-bottom: 4px;
    font-size: clamp(20px, 1.25vw, 24px);
    font-weight: 500;
}

.landing-section {
    margin-top: var(--section-gap);
}

.landing-section.anim {
    opacity: 0;
    transiton: 0.5s;
}

.landing-section.animated {
    opacity: 1;
}

.section-heading {
    min-height: 135px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: var(--heading-gap);
}

.section-heading h2 {
    font-size: clamp(36px, 2.7083vw, 52px);
    line-height: 1.115;
    font-weight: 400;
}

.section-heading .eyebrow {
    margin-bottom: clamp(12px, 1.04vw, 20px);
}

.eyebrow {
    color: #b34c20;
    font-size: clamp(13px, .834vw, 16px);
    text-transform: uppercase;
}

.section-copy {
    color: var(--copy);
    font-size: var(--body-size);
    font-weight: 300;
}

.section-heading .section-copy {
    max-width: 540px;
}

.scene-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(53%, 848px);
}

.scene-nav .btn, .scene-modes .choice span {
    /* The transparent half shows first; the painted half then slides in from the left. */
    --hover-slide-layer: linear-gradient(90deg, rgba(247, 247, 247, 0) 0%, #F7F7F7 80%) 0px center / 100% 100% no-repeat;
}

.scene-nav .btn {
    --hover-slide-layer: linear-gradient(90deg, var(--hover-slide-color) 50%, transparent 100%) -300px center / 100% 100% no-repeat;
    padding-inline: 12px;
    gap: clamp(4px, .521vw, 10px);
    justify-content: space-between;
    background:  linear-gradient(90deg, rgba(247, 247, 247, 0) 0%, #F7F7F7 80%) -300px center / 100% 100% no-repeat;
    color: var(--ink);
    opacity: .6;
    transition: background-position var(--hover-slide-motion), background-size var(--hover-slide-motion), opacity .2s, box-shadow .2s;
}

.scene-nav .btn:is(:hover, :focus-visible) {
    background-position: left center, right center;
    background-size: 100% 100%, 0% 100%;
    opacity: 1;
    box-shadow: var(--hover-glow);
}

.scene-nav small, .calculator-progress b {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background: var(--card);
    font-size: 14px;
    font-weight: 400;
}

.scene-nav small {
    background: var(--hover-gradient);
    border: 1px solid var(--line);
}

.scene-list {
    display: grid;
    gap: clamp(28px, 3.125vw, 60px);
}

.scene {
    padding: var(--large-pad);
    display: grid;
    grid-template-columns: minmax(0, 934fr) minmax(0, 550fr);
    grid-template-areas:
        "media content";
    gap: clamp(20px, 1.875vw, 36px);
    min-width: 0;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line);
    opacity:0;
    transition: .5s;
}

.scene.animated {
    opacity: 1;
}

.scene-reversed {
    grid-template-columns: minmax(0, 550fr) minmax(0, 934fr);
    grid-template-areas: "content media";
}

.scene-media {
    grid-area: media;
    position: relative;
    min-width: 0;
    min-height: 100%;
    border-radius: var(--radius);
    background: var(--line);
    transition: --scene-photo-scale var(--photo-zoom-motion);
}

.scene-media::before {
    content: "";
    display: block;
    aspect-ratio: 934 / 449;
}

.scene-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(165deg, transparent 59%, rgb(25 26 29 / 32%));
    pointer-events: none;
}

.scene-visual {
    position: absolute;
    inset: 0;
    visibility: hidden;
    container-type: size;
}

.scene:has(.mode-0:checked) .scene-visual-0,
.scene:has(.mode-1:checked) .scene-visual-1,
.scene:has(.mode-2:checked) .scene-visual-2 {
    visibility: visible;
}

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

.scene-hotspot {
    /* Match the centered 934 Ãƒâ€” 449 source image's object-fit: cover. */
    --hotspot-unit: calc(max(100cqw / 934, 100cqh / 449) * var(--scene-photo-scale, 1));
    --hotspot-left: clamp(22px, 50cqw + var(--hotspot-x) * var(--hotspot-unit), 100cqw - 22px);
    --hotspot-top: clamp(22px, 50cqh + var(--hotspot-y) * var(--hotspot-unit), 100cqh - 22px);
    --hotspot-diameter: calc(var(--hotspot-size) * var(--hotspot-unit));
    position: absolute;
    z-index: 3;
    left: var(--hotspot-left);
    top: var(--hotspot-top);
    transform: translate(-50%, -50%);
}

.scene-hotspot:hover, .scene-hotspot:focus-within {
    z-index: 4;
}

.scene-hotspot-trigger {
    position: relative;
    z-index: 2;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.scene-hotspot-trigger img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--hotspot-diameter);
    max-width: none;
    height: auto;
    pointer-events: none;
}

.scene-hotspot-tip {
    --tip-width: min(var(--hotspot-tip-width), 100cqw - 16px);
    --tip-left: clamp(8px, var(--hotspot-left) - var(--tip-width) / 2, 100cqw - var(--tip-width) - 8px);
    --tip-room: 80px;
    position: absolute;
    z-index: 1;
    top: min(100%, 100cqh - var(--hotspot-top) + 22px - var(--tip-room));
    left: calc(50% + var(--tip-left) - var(--hotspot-left));
    width: var(--tip-width);
    padding: 10px;
    border-radius: 8px;
    background: rgb(255 255 255 / 60%);
    color: var(--copy);
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility 0s .16s;
    backdrop-filter: blur(4px);
}

.scene-hotspot-above .scene-hotspot-tip {
    top: auto;
    bottom: min(100%, var(--hotspot-top) + 22px - var(--tip-room));
}

#scene-intercom .scene-hotspot-tip {
    --tip-gap: calc(13 * var(--hotspot-unit));
    --tip-left: clamp(8px, var(--hotspot-left) - var(--tip-width) - var(--tip-gap), 100cqw - var(--tip-width) - 8px);
    top: auto;
    bottom: min(50% + var(--tip-gap), var(--hotspot-top) + 22px - var(--tip-room));
}

/* Keep the tooltip hoverable across the small gap beside the beacon. */
#scene-intercom .scene-hotspot-tip::before {
    content: "";
    position: absolute;
    inset: 0 -22px -22px 0;
}

.scene-hotspot:hover .scene-hotspot-tip,
.scene-hotspot-trigger:focus-visible + .scene-hotspot-tip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

@media (hover: none) {
    .scene-hotspot-trigger:focus + .scene-hotspot-tip {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }
}

.glass-label {
    position: absolute;
    z-index: 2;
    bottom: clamp(12px, 1.25vw, 24px);
    left: clamp(12px, 1.25vw, 24px);
    display: flex;
    align-items: center;
    gap: clamp(8px, .834vw, 16px);
    max-width: calc(100% - 24px);
    padding: clamp(8px, .625vw, 12px) clamp(10px, .834vw, 16px);
    border-radius: 8px;
    color: #fff;
    background: rgb(81 75 70 / 52%);
    backdrop-filter: blur(9px);
    font-size: var(--body-size);
    font-weight: 300;
}

.glass-label img {
    width: clamp(19px, 1.67vw, 32px);
    max-height: 32px;
    object-fit: contain;
    flex: none;
}

.glass-label strong {
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.scene-reversed .glass-label {
    left: auto;
    right: clamp(12px, 1.25vw, 24px);
}

.glass-label .scene-state {
    display: none;
}

.scene:has(.mode-0:checked) .state-0,
.scene:has(.mode-1:checked) .state-1,
.scene:has(.mode-2:checked) .state-2 {
    display: block;
}

@supports not selector(.scene:has(input:checked)) {
    .scene-visual.scene-default {
        visibility: visible;
    }

    .glass-label .scene-state.scene-default {
        display: block;
    }

    .scene-modes {
        display: none;
    }
}

.scene-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 100%;
    gap: clamp(18px, 1.77vw, 34px);
}

.scene-content h3, .calculator-form .title, .contact_container h3 {
    font-size: clamp(26px, 1.875vw, 36px);
    line-height: 1.22;
    font-weight: 700;
}

.scene-content .eyebrow {
    margin-bottom: 6px;
}

.scene-modes {
    margin-top: auto;
}

.scene-modes legend {
    margin-bottom: clamp(8px, .834vw, 16px);
    font-size: var(--body-size);
    font-weight: 500;
}

.scene-modes > div, .scene-actions {
    display: grid;
    gap: clamp(6px, .834vw, 16px);
}

.scene-modes > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.choice {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.choice input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, .521vw, 10px);
    min-height: var(--button-height);
    height: 100%;
    padding: 5px 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    font-size: clamp(13px, .834vw, 16px);
}

.choice img {
    width: 18px;
    max-height: 20px;
    object-fit: contain;
    flex: none;
}

.choice input:focus-visible + span {
    outline: 2px solid var(--brick);
    outline-offset: 2px;
}

.choice:hover span {
    box-shadow: 0 0 8px rgb(241 121 72 / 28%);
}

.choice input:checked + span {
    border-color: var(--orange);
    background: var(--orange);
    color: white;
}

.choice input:checked + span img {
    filter: invert(100%);
}

.scene-modes .choice span {
    --hover-slide-color: #514b4661;
    background-position: right center;
}

.scene-modes .choice input:not(:checked) + span {
    background: var(--hover-slide-layer);
    color: var(--copy);
    transition: background-position var(--hover-slide-motion), box-shadow .2s;
    background: linear-gradient(90deg, rgb(241 47 47 / 0%) 0%, #F7F7F7 80%) -300px center / 100% 100% no-repeat;
}

.scene-modes .choice:is(:hover, :has(input:focus-visible)) input:not(:checked) + span {
    background-position: left center;
    box-shadow: var(--hover-glow);
    background-position: left center, right center;
    background-size: 100% 100%, 0% 100%;
}

.integration-stages {
    --stage-image-height: clamp(145px, 11.198vw, 215px);
    --stage-duration: .38s;
    --stage-motion: var(--stage-duration) cubic-bezier(.22, .61, .36, 1);
    display: flex;
    gap: var(--small-pad);
}

.stage-card {
    position: relative;
    display: flex;
    flex: 242 1 0;
    flex-direction: column;
    min-width: 0;
    min-height: clamp(260px, 19.375vw, 372px);
    padding-top: 0;
    border-radius: var(--radius);
    background: var(--card);
    transition: flex-grow var(--stage-motion), padding-top var(--stage-motion);
}

.stage-card:has(.stage-toggle:checked) {
    flex-grow: 504;
    padding-top: var(--stage-image-height);
}

.stage-card:has(.stage-toggle:focus-visible) {
    outline: 2px solid var(--brick);
    outline-offset: 3px;
}

.stage-card img, .stage-image-wide, .stage-card::before, .stage-shade, .stage-toggle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.stage-card img {
    object-fit: cover;
    transition: opacity var(--stage-motion), transform var(--photo-zoom-motion);
}

.stage-image-wide {
    height: var(--stage-image-height);
    overflow: hidden;
    opacity: 0;
    transition: opacity var(--stage-motion);
}

.stage-shade {
    background: linear-gradient(186deg, transparent 70%, rgb(25 26 29 / 60%) 95%), linear-gradient(127deg, rgb(25 26 29 / 44%), transparent 44%);
    transition: opacity var(--stage-motion);
}

.stage-card::before {
    content: "";
    z-index: 1;
    background: rgb(81 75 70 / 68%);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: opacity var(--stage-motion), background-color .2s;
}

.stage-card::after {
    content: "";
    order: -1;
    flex: 1 0 0;
    transition: flex-grow var(--stage-motion);
}

.stage-card:has(.stage-toggle:checked)::after {
    flex-grow: 0;
}

.stage-card:not(:has(.stage-toggle:checked)):is(:hover, :has(.stage-toggle:focus-visible))::before {
    background-color: transparent;
}

.stage-card:has(.stage-toggle:checked)::before, .stage-card:has(.stage-toggle:checked) :is(.stage-image-compact, .stage-shade) {
    opacity: 0;
}

.stage-card:has(.stage-toggle:checked) .stage-image-wide {
    opacity: 1;
}

.stage-toggle {
    z-index: 3;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.stage-caption {
    z-index: 2;
}

.stage-caption {
    padding: var(--small-pad);
    color: #fff;
    overflow-wrap: break-word;
    transition: color var(--stage-motion), padding-left var(--stage-motion);
}

.stage-card:has(.stage-toggle:checked) .stage-caption {
    color: var(--ink);
}

.stage-caption h3 {
    font-size: var(--body-size);
    font-weight: 500;
}

.stage-description {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows var(--stage-motion), opacity var(--stage-motion), visibility 0s var(--stage-duration);
}

.stage-card:has(.stage-toggle:checked) .stage-description {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.stage-description p {
    min-height: 0;
    overflow: hidden;
    color: var(--copy);
    font-size: clamp(13px, .834vw, 16px);
}

.stage-description p span {
    display: block;
    padding-top: 12px;
}

.stage-number {
    --stage-number-size: clamp(34px, 2.292vw, 44px);
    position: absolute;
    top: var(--small-pad);
    left: var(--small-pad);
    display: grid;
    place-items: center;
    width: var(--stage-number-size);
    aspect-ratio: 1;
    border-radius: 50%;
    color: #fff;
    background: rgb(255 255 255 / 40%);
    backdrop-filter: blur(6px);
    font-size: var(--body-size);
    font-weight: 500;
    transition: top var(--stage-motion);
}

.calculator-layout {
    display: grid;
    grid-template-columns: minmax(0, 608fr) minmax(0, 950fr);
    align-items: stretch;
    gap: var(--large-pad);
}

.calculator-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 313fr 298fr;
    min-height: 0;
    gap: 16px;
}

.calculator-gallery .photo-frame {
    min-width: 0;
    min-height: 0;
    border-radius: var(--radius);
}

.calculator-gallery .photo-frame:first-child {
    grid-column: 1 / -1;
}

.calculator-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calculator-form {
    padding: var(--small-pad);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 44px rgb(40 82 141 / 2.7%);
}

.calculator-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.calc-step-divider {
    height: 1px;
    min-width: 2px;
    flex: 1;
    background: var(--line);
}

.calculator-progress label {
    position: relative;
    cursor: pointer;
}

.calculator-progress label > span {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    color: var(--copy);
}

.calculator-progress b {
    border: 1px solid var(--line);
    color: inherit;
}

.calculator-progress input:focus-visible + span {
    outline: 2px solid var(--brick);
    outline-offset: 2px;
}

.calculator-progress input:checked + span {
    color: var(--ink);
}

.calculator-progress input:checked + span b {
    border-color: var(--brick);
    background: var(--brick);
    color: #fff;
}

.calc-page {
    display: none;
}

.calculator-form:has(#calc-step-1:checked) .calc-page-1, .calculator-form:has(#calc-step-2:checked) .calc-page-2, .calculator-form:has(#calc-step-3:checked) .calc-page-3 {
    display: block;
}

.calc-page .section-copy {
    margin-top: 5px;
}

.calc-page .fields {
    margin-top: clamp(22px, 1.667vw, 32px);
}

.calc-fields, .calc-grid, .calc-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, .834vw, 16px);
}


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

.calc-fields {
    row-gap: 24px;
}

.calc-wide {
    grid-column: 1 / -1;
}

.calc-fields legend, .calc-fields .form-group > label:not(.calc-area-unknown) {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    min-height: var(--button-height);
}

.form-control:not(.btn) {
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: #fff;
    padding: 9px 13px;
}

.form-control::placeholder {
    opacity: 1;
    color: #76716e;
}

.calc-fields select {
    appearance: none;
    background: url("../img/ico_select.svg") right 12px center / 12px auto no-repeat;
    padding-right: 32px !important;
}

.calc-fields small {
    display: block;
    color: #6b6661;
    font-size: 14px;
}

.calc-fields .form-group small {
    margin: -2px 0 8px;
}

.calc-area-unknown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    cursor: pointer;
}

.calc-area-unknown input {
    margin: 0;
    accent-color: var(--brick);
}

.calc-area:has(.calc-area-unknown input:checked) > input {
    opacity: .55;
}

.calc-footer {
    align-items: center;
    margin-top: 8px;
}

.calc-features, .calc-control-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.05vw, 20px);
}

.calc-features {
    margin-top: clamp(22px, 1.667vw, 32px);
}

.calc-feature, .calc-control {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.calc-feature-card, .calc-control > span {
    display: flex;
    align-items: center;
    height: 100%;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgb(247 247 247 / 0%), var(--card) 79%);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.calc-feature-card {
    min-height: 87px;
    padding: clamp(10px, 1vw, 19px);
    gap: clamp(8px, .625vw, 12px);
    border-radius: var(--radius);
}

.calc-feature-card img {
    width: 25px;
    height: auto;
    flex: none;
}

.calc-feature-card > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.calc-feature-card strong {
    display: block;
    font-size: var(--body-size);
    font-weight: 500;
}

.calc-feature-card small {
    display: block;
    margin-top: 4px;
    font-size: clamp(13px, .834vw, 16px);
}

.calc-feature:hover .calc-feature-card, .calc-control:hover > span {
    border-color: var(--orange);
}

.calc-feature input:focus-visible + span, .calc-control input:focus-visible + span {
    outline: 2px solid var(--brick);
    outline-offset: 2px;
}

.calc-feature input:checked + span {
    border-color: var(--orange);
    background: #fff1eb;
    box-shadow: inset 0 0 0 1px var(--orange);
}

.calc-feature input:checked + span::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 5px;
    width: 12px;
    height: 10px;
    background: url("../img/check.svg") center / contain no-repeat;
}

.calc-management {
    margin-top: clamp(22px, 1.667vw, 32px);
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.calc-management legend {
    margin-bottom: 14px;
    font-size: 14px;
}

.calc-control > span {
    min-height: var(--button-height);
    justify-content: center;
    gap: 10px;
    padding: 8px 10px;
    border-color: var(--line);
    border-radius: 8px;
    text-align: center;
}

.calc-control i {
    width: 15px;
    height: 15px;
    flex: none;
    border: 1px solid var(--copy);
    border-radius: 3px;
    background: #fff;
}

.calc-control input:checked + span {
    border-color: var(--orange);
    background: var(--orange);
    color: #21160f;
}

.calc-control input:checked + span i {
    border-color: #fff;
    background: #fff url("../img/check.svg") center / 10px auto no-repeat;
}

.calc-next {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(22px, 1.667vw, 32px);
}

.calc-next .btn {
    width: calc((100% - 2 * clamp(10px, 1.05vw, 20px)) / 3);
}

.calc-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 377fr) minmax(0, 441fr);
    gap: clamp(22px, 3.54vw, 68px);
    margin-top: clamp(28px, 2.708vw, 52px);
    align-items: start;
}

.calc-summary {
    display: grid;
    gap: 16px;
    margin: 0;
}

.calc-summary > div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.calc-summary dt {
    margin-bottom: 8px;
    color: #69645f;
    font-size: 14px;
}

.calc-summary dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.calc-contact {
    padding: var(--small-pad);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(90deg, rgb(247 247 247 / 0%), var(--card) 79%);
}

.calc-page-3 .fields {
    display: grid;
    gap: 16px;
    margin: 0;
}

.calc-page-3 .btn.white {
    background: var(--ink);
    color: #fff;
    --arrow-color: #fff;
}

.calc-page-3 .btn.white:hover {
    background: var(--brick);
}

.calc-contact .agree_field {
    margin-top: 16px;
    font-size: 14px;
}

.calc-contact .check_ex {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border: 1px solid #98938e;
    border-radius: 3px;
    background: #fff;
}

.section-panel {
    padding-block: var(--heading-gap);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(90deg, rgb(247 247 247 / 0%), var(--card) 79%);
}

.developer-layout {
    display: grid;
    grid-template-columns: minmax(0, 710fr) minmax(0, 850fr);
    gap: var(--large-pad);
}

.developer-card {
    padding: var(--small-pad);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.developer-card ul {
    display: grid;
    gap: clamp(10px, 1.25vw, 24px);
}

.developer-card li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.developer-card li:not(:last-child) {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
}

.developer-card h3, .developer-benefits h3 {
    font-size: var(--body-size);
    font-weight: 500;
}

.developer-card p {
    margin-top: 8px;
    color: var(--copy);
    font-size: var(--body-size);
    font-weight: 300;
}

.developer-card li i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: #fff;
}

.developer-card li img {
    width: 24px;
    height: auto;
}

.developer-card .scene-actions {
    margin-top: auto;
}

.developer-photo {
    min-width: 0;
    min-height: 0;
    border-radius: var(--radius);
}

.developer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--small-pad);
    margin-top: var(--large-pad);
}

.developer-benefits li {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.042vw, 20px);
    padding: clamp(14px, 1.25vw, 24px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.developer-benefits img {
    width: 28px;
    height: auto;
    flex: none;
}

.developer-benefits p {
    margin-top: 4px;
    color: var(--copy);
}

#projects {
    overflow: hidden;
    --project-gap: clamp(18px, 1.875vw, 36px);
    --project-width: min(512px, (100vw - 2 * var(--gutter) - 2 * var(--project-gap)) / 3);
}

.projects-track > .swiper-slide {
    width: calc(var(--project-width) + var(--project-gap));
    padding-inline: calc(var(--project-gap) / 2);
}

/* Leave one of the five project cards available for Swiper to move around the loop. */
#projects .projects-slider {
    max-width: calc(4 * (var(--project-width) + var(--project-gap)) - 1px);
}

.projects-slider:not(.swiper-initialized) .projects-track {
    overflow-x: auto;
}

.projects-slider:not(.swiper-initialized) :is(.projects-nav, .projects-playback), .projects-nav.swiper-button-lock {
    display: none;
}

:is(.projects-nav, .projects-playback) {
    position: absolute;
    z-index: 3;
    inset-block-start: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    color: var(--ink);
    transition: opacity .2s;
}

.projects-prev {
    inset-inline-start: 12px;
}

.projects-next {
    inset-inline-end: 12px;
}

.projects-playback {
    inset-block-start: 12px;
    inset-inline-end: 12px;
    transform: none;
}

.projects-playback::before {
    content: "";
    width: 12px;
    height: 14px;
    border-inline: 3px solid currentColor;
}

.projects-playback[data-paused]::before {
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-inline-start: 10px solid currentColor;
    border-inline-end: 0;
    margin-inline-start: 2px;
}

.projects-nav::before {
    content: "";
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
}

.projects-prev::before {
    transform: translateX(2px) rotate(135deg);
}

.projects-next::before {
    transform: translateX(-2px) rotate(-45deg);
}

.projects-nav:disabled {
    opacity: .4;
    cursor: default;
}

@media (min-width: 681px) and (hover: hover) {
    .projects-slider:not(:hover):not(:focus-within) .projects-nav {
        opacity: 0;
    }
}

.projects-track a {
    display: block;
    position: relative;
    aspect-ratio: 512 / 330;
    border-radius: var(--radius);
    background: var(--line);
}

.projects-track a:focus-visible {
    outline-offset: -3px;
}

.projects-track a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 45%), transparent 54%);
    pointer-events: none;
}

.project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-track .glass-label {
    font-size: clamp(14px, 1.042vw, 20px);
}

#contacts {
    padding-bottom: clamp(72px, 5.73vw, 110px);
    border-radius: 20px 20px 0 0;
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1118fr) minmax(346px, 441fr);
    gap: var(--large-pad);
}

.contact-map {
    display: block;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--line);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(37px, 3.125vw, 60px);
    height: auto;
}

.contact_container {
    height: 100%;
    padding: var(--small-pad);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.contact_container address {
    display: grid;
    gap: 12px;
    margin-block: 20px 24px;
    font-style: normal;
    color: var(--copy);
    font-size: var(--body-size);
    font-weight: 300;
}

.contact_container address a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.contact_container address a:hover {
    text-decoration: underline;
}

.contact_container address img {
    width: 16px;
    max-height: 20px;
    object-fit: contain;
    flex: none;
    align-self: flex-start;
}

.contact_container .phone img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(66%) saturate(3724%) hue-rotate(333deg) brightness(91%) contrast(94%);
}

.more_questions p {
    margin-bottom: 8px;
}

.more_questions .btn {
    width: 100%;
}

footer {
    border-radius: 20px 20px 0 0;
    background: var(--copy);
    color: #fff;
}

footer .panel, footer .info, footer .btns, footer .creator {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.29vw, 44px);
}

footer .panel {
    justify-content: space-between;
    min-height: 97px;
    padding-block: 16px;
    font-size: clamp(13px, .834vw, 16px);
}

footer .logo2 img {
    width: clamp(108px, 7.969vw, 153px);
    height: auto;
}

footer .creator {
    gap: 8px;
    white-space: nowrap;
}

footer .creator img {
    width: clamp(70px, 5vw, 96px);
    height: auto;
}

footer .btns a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Forms use the shared field and agreement structure of the templates. */
@media (forced-colors: none) {
    form :is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"], [type="image"]):focus {
        outline: none;
        background-color: #efedeb;
    }
}

#form_popup {
    display: none;
}

.popup_container {
    width: 460px;
    max-width: 100%;
    padding: 30px;
    background: #fff;
    color: #0c121c;
    text-align: center;
}

.popup_container .form_title {
    padding: 25px 0 32px;
    color: #000;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.popup_container .form-group {
    margin-bottom: 19px;
}

.popup_container input[type="tel"] {
    color: #000;
    text-align: center;
    border-bottom-color: currentColor;
}

.has-danger :is(input, select, textarea) {
    border: 2px solid var(--brick) !important;
}

.not_agree button {
    background: #ccc !important;
    color: #333 !important;
    border-color: #ccc !important;
    cursor: default;
}

.agree_field {
    position: relative;
    display: block;
    margin-top: 10px;
    text-align: left;
    font-size: 12px;
    line-height: 1.3;
}

.agree_field a {
    text-decoration: underline;
}

.agree_field .check_ex {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 5px;
    background: #0b1a301a;
}

.agree_field .check_ex input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.agree_field .check_ex:focus-within {
    outline: 2px solid var(--brick);
}

.agree_field .check_ex i {
    display: none;
    position: absolute;
    inset: 2px;
    background: url("../img/check.svg") center / 82% no-repeat;
    pointer-events: none;
}

.agree_field .check_ex input:checked + i {
    display: block;
}

.cookie_message {
    /* display: none; */
    position: fixed;
    z-index: 900;
    inset: auto 0 0;
    padding: 12px 0;
    background: #f3f3f3;
    box-shadow: 0 -2px 8px #15191d22;
    color: #15191d;
    font-size: 12px;
}

.cookie_message .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie_message ._text {
}

.cookie_message .btn {
    flex: none;
    min-height: 38px;
}

.cookie_message a {
    text-decoration: underline;
}

#map1 {
  height: 100%;
  width: 100%;
  background-size: cover;
  border-radius:20px;
  overflow:hidden;
}

@media (min-width: 1241px) {
    .section-heading h2 {
        margin-block: -.1923em;
    }
}

@media (max-width: 1540px) {
    :root {
        --gutter: clamp(24px, 5.75vw, 100px);
    }

    .scene-nav .btn-arrow::after, .scene-actions .btn-arrow::after {
        width: 17px;
    }

    .scene-nav small {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .scene-content .section-copy br {
        display: none;
    }

    .glass-label {
        background: rgb(81 75 70 / 60%);
    }
}

@media (max-width: 1280px) {
    header {
        --header-gap: 18px;
    }

    header .panel .container {
        padding-right: 66px;
    }

    header .burger {
        display: grid;
        place-items: center;
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid var(--header-burger-border, rgb(255 255 255 / 28%));
        border-radius: 8px;
        background: transparent;
        color: inherit;
    }

    header .burger span {
        position: relative;
        pointer-events: none;
    }

    header .burger span, header .burger span::before, header .burger span::after {
        width: 20px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
    }

    header .burger span::before, header .burger span::after {
        content: "";
        position: absolute;
        left: 0;
    }

    header .burger span::before {
        top: -6px;
    }

    header .burger span::after {
        top: 6px;
    }

    .menuopen header .burger span {
        background: transparent;
    }

    .menuopen header .burger span::before {
        transform: translateY(6px) rotate(45deg);
    }

    .menuopen header .burger span::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    header .menu_container {
        display: none;
        inset: calc(100% + 8px) 0 auto auto;
        width: min(100%, 320px);
        max-height: calc(100dvh - var(--header-top) - var(--header-height) - 16px);
        overflow-y: auto;
        padding: 12px;
        border-radius: var(--radius);
        background: var(--header-menu-bg, var(--ink));
        box-shadow: inherit;
        transform: none;
    }

    .menuopen header .menu_container {
        display: block;
    }

    header .menu_container .container, header .menu {
        display: grid;
        gap: 4px;
    }

    header .menu a {
        display: block;
        padding: 10px 12px;
        font-size: 16px;
    }
}

@media (max-width: 1240px) {
    :root {
        --gutter: 32px;
    }

    .section-heading {
        min-height: auto;
    }

    .scene {
        grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    }

    .scene-reversed {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    }

    .scene-nav {
        width: 58%;
        gap: 8px;
    }

    .developer-card li {
        gap: 12px;
    }

    .contacts-layout {
        grid-template-columns: minmax(0, 68fr) minmax(345px, 32fr);
    }
}

@media (max-width: 900px) {
    :root {
        --gutter: 24px;
        --section-gap: 76px;
        --heading-gap: 36px;
    }

    .big_banner .title_container > .container {
        padding-top: 180px;
        min-height: auto;
    }

    .big_banner .item > picture img {
        /* object-position: 58% 50%; */
        height: auto;
    }

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

    .advantages a {
        min-height: 70px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .scene-nav {
        width: 100%;
    }

    .integration-stages {
        --stage-image-height: 210px;
        --stage-compact-height: 92px;
        flex-direction: column;
        gap: 12px;
    }

    .integration-stages .stage-card, .integration-stages .stage-card:has(.stage-toggle:checked) {
        flex: none;
        min-height: var(--stage-compact-height);
        justify-content: center;
    }

    .stage-card::after {
        display: none;
    }

    .stage-shade {
        background: linear-gradient(90deg, rgb(25 26 29 / 72%), rgb(25 26 29 / 60%) 52%, transparent);
    }

    .stage-card:not(:has(.stage-toggle:checked)) .stage-caption {
        padding-left: 66px;
    }

    .stage-caption {
        padding: 16px;
    }

    .stage-number {
        top: 16px;
        left: 16px;
    }

    .stage-card:not(:has(.stage-toggle:checked)) .stage-number {
        top: calc((var(--stage-compact-height) - var(--stage-number-size)) / 2);
    }

    .calculator-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .calculator-gallery {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: clamp(90px, 22vw, 196px);
    }

    .calculator-gallery .photo-frame:first-child {
        grid-column: auto;
    }

    .developer-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .developer-photo {
        aspect-ratio: 850 / 398;
    }

    .developer-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .contacts-layout {
        gap: 16px;
    }

    footer .panel {
        flex-wrap: wrap;
    }

    footer .info {
        flex: 1;
    }

    footer .btns {
        order: 1;
        width: 100%;
    }
}

@media (max-width: 680px) {
    :root {
        --gutter: 16px;
        --section-gap: 64px;
        --heading-gap: 28px;
        --large-pad: 16px;
        --small-pad: 16px;
        --button-height: 44px;
        --header-top: 14px;
        --header-height: 68px;
    }

    .desktop-br {
        display: none;
    }

    header .panel .container {
        min-height: 60px;
        padding-block: 8px;
        padding-right: 60px;
        gap: 8px;
    }

    header .phone {
        width: 36px;
        height: 38px;
        justify-content: center;
    }

    header .phone_text {
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
        overflow: hidden;
    }

    header .panel .btn {
        width: auto;
        padding-inline: 10px;
        min-height: 38px;
    }

    header .panel .btn-arrow::after {
        display: none;
    }

    header .burger {
        right: 9px;
    }

    .big_banner .title_container > .container {
        padding-block: 144px 22px;
        gap: 42px;
        padding-top: 100px;
    }

    .big_banner .title {
        font-size: clamp(24px, 6vw, 48px);
        line-height: 1.12;
    }

    .big_banner .comment {
        margin-top: 14px;
    }

    .big_banner .text_container .btn {
        margin-top: 24px;
        display: none;
    }

    .big_banner .item > picture img {
        /* object-position: 57% 50%; */
    }

    .advantages {
        gap: 8px;
        margin-top: 23vw;
    }

    .advantages a {
        min-height: 69px;
        font-size: 13px;
        gap: 7px;
        padding: 8px;
    }

    .advantages i {
        width: 24px;
    }

    .advantages strong {
        font-size: 16px;
    }

    .section-heading h2 {
        font-size: clamp(32px, 7.5vw, 42px);
    }

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

    .scene-nav .btn {
        justify-content: flex-start;
        gap: 10px;
        padding-inline: 9px;
    }

    .scene-nav .btn-arrow::after {
        margin-left: auto;
    }

    .scene, .scene-reversed {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "media" "content";
        gap: 16px;
    }

    .scene-media::before {
        aspect-ratio: 4 / 2.45;
    }

    .scene-content h3 br {
        display: none;
    }

    .scene-content {
        gap: 16px;
    }

    .scene-actions .btn-arrow::after {
    }

    .glass-label {
        font-size: 14px;
    }

    .integration-stages {
        --stage-image-height: clamp(130px, 42vw, 210px);
        --stage-compact-height: 76px;
        gap: 10px;
    }

    .calculator-gallery {
        gap: 8px;
    }

    .calculator-progress {
        gap: 5px;
        margin-bottom: 20px;
    }

    .calculator-progress label > span {
        gap: 3px;
        font-size: clamp(12px, 3.5vw, 15px);
    }

    .calculator-progress b {
        width: 23px;
        height: 23px;
        font-size: 12px;
    }

    .calc-fields, .calc-footer, .calc-result-layout {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 14px;
    }

    .calc-footer small {
        grid-row: 2;
    }

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

    .calc-feature-card {
        align-items: flex-start;
        min-height: 88px;
        padding-top: 14px;
    }

    .calc-feature-card img {
        width: 18px;
        margin-top: 2px;
    }

    .calc-feature-card strong {
        font-size: 16px;
    }

    .calc-control-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .calc-control > span {
        justify-content: flex-start;
    }

    .calc-next .btn {
        width: 100%;
    }

    .calc-contact {
        padding: 16px;
    }

    .developer-benefits li {
        align-items: flex-start;
        gap: 7px;
        padding: 10px;
    }

    .developer-benefits img {
        width: 19px;
    }

    .developer-benefits p {
        font-size: 14px;
    }

    .developer-benefits h3 {
        font-size: 15px;
    }

    #projects {
        --project-width: min(77vw, 380px);
        --project-gap: 12px;
    }

    #projects .projects-slider {
        margin-inline-start: calc(var(--gutter) - var(--project-gap) / 2);
    }

    .projects-prev {
        inset-inline-start: 6px;
    }

    #contacts {
        padding-bottom: 52px;
    }

    .contacts-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .map-image {
        min-height: 220px;
    }

    footer .info {
        gap: 9px;
    }

    footer .logo2 img {
        width: 78px;
    }

    footer .info span {
        font-size: 11px;
    }

    footer .creator span {
        display: none;
    }

    footer .btns {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

	.cookie_message {
}

	.cookie_message .container {
    flex-direction: column;
    gap: 5px;
}

	.cookie_message ._text {
}

	.cookie_message .btn {
    width: 100%;
}

	.cookie_message a {
}

	#map1 {height:380px;}
	
	.developer-card .scene-actions {grid-template-columns:1fr;}
	.scene-actions {grid-template-columns:1fr;}
	
	.br_mobile {display:block;}
}

@media (max-width: 360px) {
    .advantages i {
        display: none;
    }

    .scene-modes .choice img {
        display: none;
    }

    .scene-actions {
        grid-template-columns: 1fr;
    }

    .developer-benefits {
        grid-template-columns: 1fr;
    }

    .calculator-progress {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calculator-progress label > span {
        flex-direction: column;
    }

    .calc-step-divider {
        display: none;
    }

    .calc-feature-card {
        flex-direction: column;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .integration-stages {
        --stage-duration: 0s;
    }

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