* {
    box-sizing: border-box;
}

body {
    color: #1C1B2D;
    font-family: 'Raleway', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
}

.header {
    position: fixed;
    width: 100%;
    top: 32px;
}

.header .container {
    display: flex;
    max-width: 1136px;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px;
    border-top: 1px solid #00000026;
    border-bottom: 1px solid #00000026;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-transform: capitalize;
    color: #1C1B2D;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #4A90E2;
    transform: translateY(-2px);
}

.nav-link:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-link.active {
    font-weight: 700;
}

.btn-primary {
    text-decoration: none;
    border: 1px solid #1C1B2D26;
    border-radius: 30px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 16px;
    line-height: 160%;
    text-transform: capitalize;
    color: #1C1B2D;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1C1B2D;
    color: #FFFFFF;
    border-color: #1C1B2D;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(28, 27, 45, 0.2);
}

.btn-primary:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.btn-primary:active {
    transform: translateY(0px);
}

section {
    padding: 64px 0px;
}

img {
    max-width: 100%;
}

.hero-section {
    padding-top: 142px;
}

.hero-section .container {
    max-width: 1136px;
}

.heading-primary {
    font-weight: 400;
    font-size: 56px;
    line-height: 110.00000000000001%;
    margin-bottom: 56px;
    max-width: 735px;
}

.heading-primary span {
    font-weight: 700;
}

.hero-images {
    display: flex;
    gap: 24px;
}

.hero-images-group {
    display: flex;
    gap: 24px;
}

.section-label {
    display: inline-block;
    border: 1px solid #1C1B2D26;
    border-radius: 30px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 160%;
    text-transform: capitalize;
    padding: 8px 16px;
}

.heading-secondary {
    font-weight: 500;
    font-size: 40px;
    line-height: 110.00000000000001%;
    letter-spacing: 5%;
    margin-bottom: 32px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: flex-end;
}

.about-image {
    margin-bottom: 24px;
}

.heading-tertiary {
    font-weight: 600;
    font-size: 20px;
    line-height: 110.00000000000001%;
    letter-spacing: 5%;
    margin-bottom: 12px;
}

.text {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.features-row {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.features-info {
    background: #F6F6F6;
    border-radius: 40px;
    padding: 32px;
}

.features-info h2 {
    font-weight: 600;
}

.features-info .text {
    max-width: 330px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.features-item {
    background: #F6F6F6;
    border-radius: 40px;
    padding: 32px;
}

.features-item:nth-child(1) {
    background: #FBEEE5;
}

.testimonials-section .heading-secondary {
    text-align: center;
}

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

.testimonials-item {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 32px;
    box-shadow: 0px 0px 40.1px 0px #00000026;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.testimonials-name {
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonials-name .heading-tertiary {
    margin-bottom: 0px;
}

.footer {
    background: #1C1B2D;
    color: #FFFFFF;
    padding: 32px 0px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
}

.footer-row {
    display: flex;
    gap: 72px;
    max-width: 632px;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-column h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: capitalize; 
}

.footer-link {
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #4A90E2;
    text-decoration: underline;
}

.footer-link:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-bottom {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: #FFFFFF99;
    margin-top: 86px;
}

.footer-bottom .container {
    justify-content: center;
}

.popup {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: flex-end;
    max-width: 481px;
}

.popup-title {
    font-weight: 400;
    font-size: 40px;
    line-height: 110.00000000000001%;
    letter-spacing: 4%;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.text a {
    color: #1C1B2D;
}

.popup-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 141px;
}

.popup-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border: none;
    border-bottom: 0.5px solid #1C1B2D;
    background: none;
    color: #1C1B2D;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.popup-btn:hover {
    color: #4A90E2;
    transform: translateY(-2px);
}
.popup-btn:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
    border-radius: 4px;
}
.popup-btn:active {
    transform: translateY(0px);
}

.main-section {
    padding-top: 140px;
}

.main-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    text-align: center;
    margin-bottom: 48px;
}

.catalog-section {
    padding-top: 140px;
}

.catalog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.catalog-item {
    text-decoration: none;
    color: #1C1B2D;
    background: #F6F6F6;
    border-radius: 30px;
    padding: 12px;
}

.catalog-image, .catalog-image img {
    width: 100%;
}

.catalog-image {
    margin-bottom: 24px;
}

.catalog-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-bottom .heading-tertiary {
    margin-bottom: 0px;
}

.product-section {
    padding-top: 140px;
}

.product-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.product-image {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-info .catalog-bottom {
    margin-top: 12px;
}

.product-info {
    background: #F6F6F6;
    border-radius: 40px;
    padding: 32px;
}

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

    .header {
        padding: 0px 12px;
    }

    .popup {
        max-width: 360px;
    }

    .catalog-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .catalog-labels {
        flex-wrap: wrap;
    }

    .popup-title {
        font-size: 32px;
    }

    .hero-images {
        flex-direction: column;
    }

    .hero-images img {
        width: 100%;
    }

    .hero-images-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-list img {
        width: 100%;
    }

    .product-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .product-image {
        height: 500px;
    }

    .product-image img {
        height: 100%;
        object-fit: cover;
    }

    .header .btn-primary {
        display: none;
    }

    .features-row {
        flex-direction: column;
    }

    .features-row img {
        width: 100%;
    }

    .features-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .testimonials-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-row {
        flex-direction: column;
        gap: 48px;
    }

    .footer .container {
        flex-direction: column;
        gap: 40px;
    }
}