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


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

.header__mobile-nav {
    display: none;
}


/* === НАЧАЛО ОСНОВНОГО КОНТЕКТА === */

/* --- Блок 1  на странице --- */
.main-about__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    height: 460px;
    padding: 40px 60px;
    margin: 40px 0 60px;
    border-radius: 56px;

    background-color: #f3f3f3;
}

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

.main-about__image img {
    display: flex;
    height: 340px;
    width: auto;
}

.main-about__content {
    flex: 0 0 60%;
    align-items: center;
    justify-content: center;
}

.main-about__content h1 {
    color: #000;
    margin-bottom: 24px;
}

.main-about__content p {
    color: #000;
    text-align: justify;

    margin-bottom: 24px;
}



/* === КАРТОЧКИ УСЛУГ === */
.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: row;
    width: 100%;
    align-items: start;
    padding: 24px;

    border: 1px solid #111;
    border-radius: 24px;
    border-bottom-width: 3px;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: #000;

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

    text-align: left;
}

.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__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    height: 100%;
}

.service-card__name {
    flex: 0 0 auto;
}

.service-card__price {
    margin-top: auto;
    margin-bottom: 15px;
}

.service-card__link {
    margin-top: 0;
}

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

.service-card__right img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}


/* === БЛОК «КОНСУЛЬТАЦИЯ» === */
.my-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 40px 0 60px 0;
}

.accordion-item {
    border-bottom: 1px solid #000;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    /* padding: 0 20px 10px 0; */
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    /* margin: 8px; */
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.3s ease;
}


.accordion-icon:hover {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

.accordion-icon svg {
    width: 24px;
    height: 24px;
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0px;
}

.accordion-body p {
    color: #181818;
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 24px;
}



/* === ФОРМА ДЛЯ КОНСУЛЬТАЦИИ === */
.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 {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

.site-footer__bottom p {
    color: #fff;
    text-align: justify;
    margin-bottom: 16px;
}