.container {
    max-width: 1200px;
    padding: 0;
}

/* === ШАПКА === */
.header__burger {
    display: none;
}

.header__mobile-nav {
    display: none;
}


/* === НАЧАЛО ОСНОВНОГО КОНТЕКТА === */
.container {
    max-width: 1200px;
    padding: 0;
}

/* --- Стартовый блок страниц --- */
.main-about__container {
    flex-direction: row-reverse;
    background-color: #f3f3f3;
}

.main-about__content {
    flex: 0 0 70%;
    align-items: center;
    padding-left: 30px;
    margin-top: 30px;
}

.main-about__content p {
    margin: 0 80px 40px 0;
    color: rgb(91, 100, 120);
    text-align: left;
}

.main-about__image {
    display: flex;
    flex: 0 0 30%;
    justify-content: flex-end;
    align-items: center;
}




/* === НАШИ ПРЕИМУЩЕСТВА === */
.advantages-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 0 80px 0;
}

.advantages-block__row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    width: 100%;
}

.advantages-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    padding: 30px;
    border-radius: 32px;
    background-color: #f3f3f3;
}

.advantages-card h3 {
    margin-bottom: 24px;
    color: #181818;
}

.w-40 {
    flex-basis: 40%;
}

.w-60 {
    flex-basis: 60%;
}


/* === КАРТОЧКИ УСЛУГ === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 40px;
    align-items: stretch;
    padding: 60px 0 80px 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    height: 100%;
    width: 100%;
    padding: 0;
    
    border: 1px solid #111;
    border-radius: 24px;
    border-bottom-width: 3px;
    box-shadow: none;
    color: inherit;
text-decoration: none;
    outline: none;
    cursor: pointer;
    position: relative;

    background-color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 0 #111;
}

.service-card:active {
    transform: translateY(1px);
    box-shadow: none;
}

.service-card:focus-visible {
    outline: 2px dashed #c1ff5f;
    outline-offset: 4px;
}

.service-card a {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.service-card-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 32px;
}

.service-card-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card-title {
    flex: 0;
}

.service-card-title span {
    background: #c1ff5f;
}

.service-card-desc {
    flex: 1;
    color: #23232e;
}

.service-card-more {
    flex: 0;
}

.service-card-more img {
    height: 40px;
    margin-top: 10px;
}

.service-card-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-img img {
    height: 180px;
    width: 180px;
}


/* === КАК МЫ РАБОТАЕМ === */
.work-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 0 80px 0;
}

.work-steps_item {
    display: flex;
    min-height: 200px;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    padding: 40px;
    border-radius: 32px;
    background-color: #f3f3f3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.work-steps_number span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #181818;
    color: #c1ff5f;
    font-size: 40px;
}

.work-steps_desc h3 {
    margin-bottom: 12px;
    color: #181818;
}

.work-steps_desc p {
    color: #23232e;
}


/* === О КОМПАНИИ === */
.about-co-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 60px 0 80px 0;
}

.about-co-card_desc {
    display: flex;
    flex-direction: row;
    border: 1px solid #181818;
    border-radius: 32px;
    background: #c1ff5f;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.8);
}

.about-co-card_desc-left {
    padding: 50px 20px 50px 40px;
}

.about-co-card_desc h3 {
    margin-bottom: 20px;
    color: #181818;
}

.about-co-card_desc p {
    margin-bottom: 20px;
    color: #23232e;
}

.about-co-card_desc-right {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-co-card_img {
    display: flex;  
    width: 220px;
    height: 220px;
}

.about-co-card-btn-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.about-co-card-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 40px;
    padding: 10px 10px;
    border: none;
    border-radius: 14px;
    background: #181818;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s, padding 0.2s, transform 0.2s;
}

.about-co-card-btn:hover {
    background: #333;
    /* transform: translateY(-1px); */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.about-co-card-btn:active {
    transform: translateY(0);
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); */
}



/* === БЛОК «КОНСУЛЬТАЦИЯ» === */
.consult-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 32px;
    gap: 40px;
    padding: 40px 0;
    margin: 40px 0 60px 0;
}

.consult-block__form {
    flex: 1;
    margin: 40px;
}

.consult-form {
    display: flex;
    flex-direction: column;
}

.consult-form label {
    color: #000;
    margin-bottom: 10px;
}

.consult-form__input {
    width: 100%;
    padding: 16px;
    border: 1px solid #111;
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 20px;
}

/* Специальные стили для select элемента */
.consult-form select {
    width: 100%;
    padding: 16px;
    border: 1px solid #111;
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 50px;
}

.consult-form__textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #111;
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.25;
    resize: none;
}

.consult-block__image {
    flex: 0;
}

.consult-form__button {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.consult-form__button:hover {
    background-color: #333;
}

.consult-form__privacy {
    color: #666;
}



/* === ФУТЕР === */
.site-footer__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    border-radius: 32px 32px 0 0;
}

.container.site-footer__container {
    padding: 20px 20px 0 20px;
    background-color: #000;
}

.site-footer__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.site-footer__top-logo img {
    width: auto;
    height: 48px;
}

.contacts-title {
    background-color: #c1ff5f;
    color: #000;
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 16px;
}

.contacts-list {
    margin: 0;
    padding: 0;
    line-height: 1.15;
    list-style: none;
}

.contacts-list ul li {
    color: #fff;
    text-decoration: none;
}   

.site-footer__divider {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #fff;
}

.site-footer__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.site-footer__bottom p {
    margin-bottom: 16px; 
    color: #fff;
    line-height: 1.6;
    text-align: left;
}