@font-face {
    font-family: 'Montserrat Light';
    src: url('fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Montserrat Medium';
    src: url('fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat Bold';
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat Light', sans-serif;
    color: white;
}

.container {
    width: 100%;
    max-width: calc(120 * 2px + (12 * 1fr) + (11 * 30px));
    padding-left: 120px;
    padding-right: 120px;
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 30px;
}

.container > * {
    grid-column: span 12;
}

section {
    padding-top: 35px;
    padding-bottom: 35px;
}

.header {
    padding-top: 35px;
    padding-bottom: 10px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 223px;
    height: 105.97px;
    object-fit: contain;
}

.nav ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: black;
    font-family: 'Montserrat Light';
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #3A2A98;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-calc {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 66px;
    background-color: #3A2A98;
    color: white;
    font-family: 'Montserrat Light';
    font-size: 20px;
    text-decoration: none;
    border-radius: 30px;
}

.btn-phone {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 240px;
    height: 66px;
    background-color: #3A2A98;
    color: white;
    font-family: 'Montserrat Light';
    font-size: 20px;
    text-decoration: none;
    border-radius: 30px;
}

.btn-phone img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.hero {
    width: 100%;
    justify-content: center;
    padding: 0 120px;
    box-sizing: border-box;
    border-radius: 30px;
}

.hero .container {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 30px;
    padding: 0 120px;
    box-sizing: border-box;
}

.hero-bg {
    width: 100%;
    height: 650px;
    border-radius: 30px;
    background-image: url('images/background_desktop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    grid-column: 10 / span 3;
    display: flex; 
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 180px;
    margin-right: -16px;
}

.btn-main {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 263px;
    height: 50px;
    background-color: #3A2A98;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat Light';
    font-size: 18px;
    border-radius: 30px;
}

.mobile-actions,
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 0;
        padding-top: 0;
        grid-template-columns: repeat(6, 1fr);
        column-gap: 30px;
    }

    .header {
        padding-top: 0;
        padding-bottom: 0;
    }

    .container > * {
        grid-column: span 6;
    }

    .nav.desktop-nav,
    .header-actions.desktop-actions {
        display: none;
    }

    .mobile-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 48px;
    }

    .logo img {
        width: 101px;
        height: 46px;
    }

    .mobilephone {
        width: 131px;
        height: 26px;
        background-color: #3A2A98;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .mobilephone img {
        width: 15px;
        height: 15px;
    }

    .mobilephone span {
        font-size: 10px;
    }

    .burger {
        width: 35px;
        height: 20px;
        background: none;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .hero-bg {
        width: 362px;
        height: 200px;
        background-image: url('images/background_mobile.png');
        background-size: cover;
        background-position: center;
    }

    .hero {
        padding: 10px 20px;
        position: relative;
    }

    .hero .container {
        padding: 0;
    }

    .hero-content {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 37px;
    }

    .btn-main {
        position: absolute;
        top: 141px;
        right: 35px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 5px 9px;
        width: auto;
        height: auto;
        font-size: 10px;
        border-radius: 30px;
        margin-left: 0;
        white-space: nowrap;
    }
}

.advantages {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 120px;
    box-sizing: border-box;
    min-height: 735px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.circles {
    position: relative;
    width: 735px;
    height: 735px;
    margin: 0 auto;
}

.circles svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circles svg:nth-child(1) {
    width: 735px;
    height: 735px;
}

.circles svg:nth-child(2) {
    width: 612px;
    height: 612px;
}

.circles svg:nth-child(3) {
    width: 497px;
    height: 497px;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    font-family: 'Montserrat Bold', sans-serif;
    color: black;
    text-align: center;
}

.advantages-left,
.advantages-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 50px;
    position: absolute;
    top: 35px;
}

.advantages-left {
    left: 120px;
}

.advantages-right{
    right: 120px;
}

.advantages-left img,
.advantages-right img {
    display: block;
    max-width: 100%;
    height: 199px;
}

@media (max-width: 768px) {
    .advantages {
        padding: 0 20px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .circles {
        position: relative;
        width: 265px;
        height: 265px;
        margin: 0 auto 30px;
    }

    .circles svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .circles svg:nth-child(1) {
        width: 265px;
        height: 265px;
    }

    .circles svg:nth-child(2) {
        width: 199px;
        height: 199px;
    }

     .circles svg:nth-child(3) {
        width: 116px;
        height: 116px;
    }

    .circle-text {
        position: absolute;
        top: 6%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 15px;
        text-align: center;
        color: black;
        width: max-content;
    }

    .advantages-right,
    .advantages-left {
        position: absolute;
        top: 48px;
        gap: 10px;
    }

    .advantages-left {left: 20px;}
    .advantages-right {right: 20px;}

    .advantages-left img,
    .advantages-right img {
        width: 150px;
        height: 59px;
    }
}

.ceiling-types {
    padding: 0 35px 35px;
    box-sizing: border-box;
    text-align: center;
}

.ceiling-types .section-title {
    font-family: 'Montserrat Bold', sans-serif;
    font-size: 40px;
    color: black;
    margin-bottom: 40px;
}

.ceiling-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.ceiling-card {
    width: 385px;
    height: 182px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #3A2A98;
    box-shadow: 0px 10px 10px rgba(58, 42, 152, 1);
    backdrop-filter: blur(0px);
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 30px;
}

.ceiling-card-title {
    font-family: 'Montserrat Medium', sans-serif;
    font-size: 30px;
    color: black;
    margin: 5px 0 0 0;
}

.ceiling-card-desc {
    font-family: 'Montserrat Light', sans-serif;
    font-size: 20px;
    color: black;
    margin: 0;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .ceiling-types {
        padding: 20px 20px 40px;
        box-sizing: border-box;
        text-align: center;
        margin-bottom: 20px;
        margin-top: -100px;
    }

    .ceiling-types .section-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .ceiling-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .ceiling-card {
        width: 175px;
        height: 90px;
        padding: 0 15px;
    }

    .ceiling-card-title {
        font-size: 10px;
        margin: 7px 0 0 0;
    }

    .ceiling-card-desc {
        font-size: 9px;
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.reviews {
    padding: 0 120px;
    text-align: center;
    box-sizing: border-box;
}

.reviews .section-title {
    font-family: 'Montserrat Bold', sans-serif;
    font-size: 40px;
    color: black;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.reviews-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 56px;
}

.reviews-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.reviews-arrow img {
    width: 47px;
    height: auto;
}

.reviews-cards {
    display: flex;
    gap: 10px;
    overflow: hidden;
}

.review-card {
    width: 215px;
    height: 325px;
    background: transparent;
    border: 1px solid #3A2A98;
    border-radius: 30px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Montserrat Light', sans-serif;
}

.review-text {
    font-size: 20px;
    color: black;
    overflow-wrap: break-word;
    word-break: break-word;
}

.review-author {
    margin-top: auto;
    font-size: 20px;
    color: black;
    font-family: 'Montserrat Regular', sans-serif;
}

.review-form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.review-input {
    height: 70px;
    padding: 0 25px;
    font-size: 20px;
    border: 1px solid #877BCC;
    border-radius: 30px;
}

.review-submit {
    padding: 16px 22px;
    background: #877BCC;
    color: white;
    font-size: 30px;
    font-family: 'Montserrat Bold', sans-serif;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .reviews {
        padding: 0 20px;
        margin-top: -30px;
    }

    .reviews .section-title {
        color: black;
        font-family: 'Montserrat Bold', sans-serif;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .reviews-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .reviews-cards {
        display: flex;
        gap: 10px;
        overflow: hidden;
        width: calc(100% - 80px);
    }

    .review-card {
        flex: 0 0 calc((100% - 20px) /3);
        width: calc((100% - 20px) / 3);
        height: auto;
    }

    .review-text {
        font-size: 9px;
    }

    .review-author {
        font-size: 9px;
    }

    .reviews-arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }

    .reviews-arrow img {
        width: 15px;
        height: 15px;
    }

    .review-form {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        margin-top: -40px;
        margin-bottom: 20px;
    }

    .review-input {
        width: 100%;
        height: 40px;
        font-size: 10px;
    }

    .review-submit {
        font-size: 10px;
        padding: 10px 16px;
        width: 100%;
    }
}

.calc-wrapper {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 35px 120px;
    align-items: flex-start;
    margin-top: -50px;
}

.calculator-block {
    background: #1B0E63;
    border-radius: 40px;
    padding: 30px;
    width: 65%;
    color: white;
    width: 982px;
}

.calc-title {
    font-size: 40px;
    margin-bottom: 47px;
    font-family: 'Montserrat Bold', sans-serif;
    margin-top: 10px;
}

.calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.calc-row label {
    font-size: 20px;
    font-family: 'Montserrat Light', sans-serif;
}

.calc-calue {
    font-size: 20px;
}

.calc-value input {
    width: 70px;
    padding: 6px 8px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 20px;
    margin-right: 6px;
}

.calc-options {
    display: flex;
    gap: 12px;
}

.option-btn {
    padding: 8px 26px;
    border-radius: 30px;
    font-size: 20px;
    background: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.option-btn.active {
    background: white;
    color: black;
}

.calc-counter {
    display: flex;
    align-items: center;
    gap: 18px;
}

.calc-counter button {
    width: 32px;
    height: 32px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.calc-counter .count {
    width: 26px;
    text-align: center;
    font-size: 20px;
}

.calc-submit {
    margin-top: 40px;
    width: 100%;
    padding: 24px 0;
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
    color: white;
    background: linear-gradient(90deg, #8C76FF, #C6A4FF);
}

.calc-result {
    margin-top: 24px;
    font-size: 20px;
}

.calc-result span {
    font-size: 40px;
    font-family: 'Montserrat Bold', sans-serif;
}

.request-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #6E5DCC;
    color: white;
    padding: 50px 55px;
    border-radius: 30px;
    height: 660px;
}

.request-note {
    text-align: right;
    font-size: 20px;
    margin-bottom: 20px;
    color: black;
}

.request-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    font-family: 'Montserrat Bold', sans-serif;
    margin-top: 70px;
}

.request-input,
.request-textarea {
    width: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 18px 24px;
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
    resize: none;
    margin-left: -25px;
}

.request-input::placeholder,
.request-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7)
}

.request-submit {
    width: 100%;
    background: white;
    color: #6E5DCC;
    padding: 18px 0;
    font-size: 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

.request-side {
    width: 35%;
}

@media (max-width: 768px) {
    .request-side {
        width: 100%;
    }

    .calc-wrapper {
        flex-direction: column;
        padding: 0 20px;
        margin-top: 20px;
        gap: 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .calculator-block {
        width: 89%;
        padding: 20px;
        border-radius: 30px;
    }

    .calc-title {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .calc-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 15px;
    }

    .calc-row label {
        font-size: 10px;
    }

    .calc-value input {
        width: 50px;
        height: 22px;
        font-size: 10px;
    }

    .option-btn {
        font-size: 10px;
        padding: 6px 14px;
    }

    .calc-counter button {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .calc-counter .count {
        font-size: 10px;
    }

    .calc-submit {
        padding: 16px 0;
        font-size: 10px;
        border-radius: 30px;
        margin-top: 20px;
    }

    .calc-result {
        font-size: 10px;
        margin-top: 16px;
    }

    .calc-result span {
        font-size: 20px;
    }

    .request-note {
        font-size: 10px;
        width: 100%;
        text-align: center;
        color: black;
        margin-top: -10px;
    }

    .request-block {
        width: 100%;
        height: 50%;
        padding: 12px 40px;
        box-sizing: border-box;
        margin: 0;
    }

    .request-title {
        margin-top: 5px;
        margin-bottom: 20px;
        padding: 0;
        font-size: 20px;
        box-sizing: border-box;
    }

    .request-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .request-input,
    .request-textarea {
        width: 100%;
        padding: 13px 18px;
        font-size: 10px;
    }

    .request-textarea {
        height: 90px;
    }

    .request-submit {
        margin-top: 0;
        padding: 14px 0;
        font-size: 10px;
    }
}

.contacts-section {
    padding: 0 85px;
    width: 100%;
}

.contacts-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 19px;
    margin-right: 200px;
    color: black;
    font-family: 'Montserrat Bold', sans-serif;
}

.contacts-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.contacts-map img {
    width: 729px;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 20px;
    width: 100%;
    max-width: 460px;
    margin-left: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-decoration: none;
    color: black;
}

.icon img {
    width: 33px;
    height: 33px;
    display: block;
}

.icon {
    display: flex;
    align-items: center;
}

.contacts-bottom-text {
    text-align: center;
    margin-top: 60px;
}

.contacts-bottom-text {
    margin-left: 785px;
    margin-top: -115px;
    max-width: 550px;
    text-align: center;
    font-size: 23px;
    background-color: #3A2A98;
    color: white;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 20px 20px 10px 20px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .contacts-info .contact-item {
    margin: 0;
    padding: 0;
}


    .contacts-title {
        font-size: 15px;
        text-align: center;
        margin-top: 20px;
        margin: 20px 35px;
        margin-bottom: 10px;
        display: block;
    }

    .contacts-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .contacts-map img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 30px;
        object-fit: cover;
        display: block;
    }

    .contacts-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        font-size: 10px;
    }

    .contact-text {
        font-size: 10px;
    }

    .icon img {
        width: 10px;
        height: 10px;
    }

    .contacts-bottom-text {
    margin: 10px auto 0; /* сверху отступ 10px, по горизонтали авто = центр */
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 15px; 
    border-radius: 20px;
    background-color: #3A2A98;
    color: white;
    width: 90%;
    max-width: 360px;  /* ограничиваем ширину */
    display: block;
    }
}