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

.header__mobile-nav {
    display: none;
}


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

/* --- БЛОК НАЧАЛА СТРАНИЦЫ --- */
.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;
}

/* === КОМАНДА === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 40px 0 60px 0;
}

.team-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 24px;
    border: 1px solid #111;
    border-bottom-width: 3px;
    box-shadow: none;
    border-radius: 24px;
    cursor: pointer;
    background-color: #fff;
    text-align: left;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    will-change: transform;
}

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

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

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

.team-card__top {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.team-card__photo {
    height: 160px;
    width: 160px;
    border-radius: 50%;
    margin-right: 24px;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.team-card__name {
    margin: 0 0 12px;
}

.team-card__name span {
    display: block;
}

.team-card__position {
    margin: 0 0 12px;
}

.team-card__divider {
    width: 100%;
    border-top: 1px solid #111;
    margin: 20px 0 12px 0;
}

.team-card__bottom {
    display: flex;
    flex: 0 0 30%;
    flex-direction: column;
    align-items: start;
}

.team-card__exp {
    color: #000;
}




/* === ФОРМА ДЛЯ КОНСУЛЬТАЦИИ === */
.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;
    line-height: 1.15;
}

.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;
}