/* Сброс стилей */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Базовые */
body {
    background: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    max-width: 100%;
    margin: 0;
}

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

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

/* Main */
main.constructor-sections {
    padding: 40px 20px;
    text-align: center;
}


.constructor-sections h1 {
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 20px !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    color: #555;
}

.constructor-sections .section-title {
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 17px !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    color: #555;
}

@media (min-width: 769px) {
    .constructor-sections .section-title :hover {
        background-color: rgb(154, 30, 21);
    }
}

.sections-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
}

.section-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.section-box:hover {
    transform: translateY(-3px);
}

.section-box:hover .section-title {
    color: rgb(154, 30, 21);
}

.section-box img {
    width: 100%;
    height: auto;
    /*background: #e8ded0;*/
    background: #F5F1EB;
}

.section-title {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    background: transparent;
    padding: 6px 0;
    color: black;
}

/* New badge */
.section-box.new::after {
    content: "New";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF5722;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .sections-wrapper {
        flex-direction: column;
        align-items: center;
    }

    main.constructor-sections {
        padding: 60px 2px 20px;
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

main.constructor-sections {
    padding: 100px 0px 20px;

    background: #f0e9df;



}

body,
h1,
h2,
p,
a,
button,
div,
img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}