* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header {
    background-color: #131415;
    padding: 15px 0;
    margin-bottom: 50px;
}

.container {
    width: 1060px;
    margin: auto;
    padding: 0 15px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    color: #f89513;
    font-size: 18px;
}

.menu__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.menu__list-item {
    margin-right: 0;
}

.menu__list-item:last-child {
    margin-right: 0;
}

.menu__list-link {
    color: #ffffff;
    text-decoration: none;
    background-repeat: no-repeat;
    padding-left: 30px;
    height: 20px;
    display: inline-block;
    line-height: 1.4;
    background-size: 20px;
    background-position: left center;
}

.menu__list-link--active {
    background-image: url(images/main_icon.png);
}

.menu__list-link[href*="отзывы"] {
    background-image: url(images/feed_icon.png);
}

.menu__list-link[href*="услуги"] {
    background-image: url(images/service_icon.png);
}

.contacts {
    text-align: right;
}

.contacts__number {
    color: #ffffff;
    font-size: 21px;
    text-decoration: none;
    white-space: nowrap;
}

.contacts__schedule {
    color: #f89513;
    text-decoration: underline;
}

.main {
    min-height: 100vh;
}

.reviews {
    width: 880px;
    margin: auto;
}

.reviews__title {
    font-size: 60px;
    margin-bottom: 50px;
}

.reviews__list {
    list-style: none;
}

.reviews__item {
    display: flex;
    border-bottom: 1px solid #aeaeae;
    margin-bottom: 30px;
    padding-bottom: 35px;
    gap: 20px;
}

.reviews__item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reviews__avatar {
    height: 160px;
    width: 160px;
    border-radius: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    flex-shrink: 0;
}

.reviews__avatar--alex {
    background-image: url(images/1.png);
}

.reviews__avatar--inna {
    background-image: url(images/2.png);
}

.reviews__avatar--vlad {
    background-image: url(images/3.png);
    background-size: 50%;
    background-color: #F5F5F5;
    filter: grayscale(100%);
}

.reviews__avatar--irina {
    background-image: url(images/4.png);
}

.reviews__content {
    line-height: 1.5;
    flex: 1;
}

.reviews__date {
    color: #8b8b8b;
    display: block;
    margin-bottom: 5px;
}

.reviews__name {
    font-weight: 700;
    margin-bottom: 10px;
}

.reviews__text {
    color: #575757;
    line-height: 1.5;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination__info {
    margin-right: 0;
    color: #333;
}

.pagination__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 30px;
    width: 30px;
    color: #131415;
    font-size: 20px;
}

.pagination__arrow:hover {
    color: #f89513;
}

.pagination__list {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination__item {
    margin: 0;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination__link:hover {
    background-color: #f5f5f5;
}

.pagination__item--active .pagination__link {
    background-color: #131415;
    color: #F89513;
}

.promo {
    width: 100%;
    background-color: #131415;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-image: url(images/quastions.png);
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
}

.promo__content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.promo__text {
    max-width: 630px;
    width: 100%;
    color: #f5f5f5;
    line-height: 1.5;
    text-align: center;
}

.promo__link {
    text-decoration: none;
    color: #F89513;
    font-weight: bold;
}

.feedback {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    padding: 0 15px;
}

.container--small {
    width: 700px;
    max-width: 100%;
}

.feedback__form {
    background-color: #F5F5F5;
    padding: 50px 70px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
}

.feedback__title {
    font-weight: 700;
    font-size: 49px;
    margin-bottom: 30px;
}

.form {
    width: 100%;
}

.form__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.form__group {
    flex: 1;
    min-width: 200px;
}

.form__group--full {
    flex: 1;
    width: 100%;
}

.form__group--submit {
    margin-left: auto;
    flex: 0 0 auto;
}

.form__label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
}

.form__input {
    border: 1px solid #e0e0e0;
    padding: 15px 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    background-color: #ffffff;
    border-radius: 5px;
}

.form__input:focus {
    outline: none;
    border-color: #F89513;
}

.form__textarea {
    height: 80px;
    border: 1px solid #e0e0e0;
    resize: vertical;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    font-family: Arial, sans-serif;
    outline: none;
    border-radius: 5px;
}

.form__textarea:focus {
    outline: none;
    border-color: #F89513;
}

.form__radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form__radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form__radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form__radio-custom {
    width: 20px;
    height: 20px;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 8px;
    background-color: #ffffff;
}

.form__radio-custom::before {
    content: "";
    width: 0;
    height: 0;
    background-color: #F89513;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s;
}

.form__radio-input:checked + .form__radio-custom::before {
    width: 8px;
    height: 8px;
}

.form__radio-text {
    font-size: 14px;
}

.form__submit {
    background-color: #1C1F1D;
    color: #EFF0EF;
    font-size: 12px;
    border: 0;
    width: 125px;
    height: 45px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form__submit:hover {
    background-color: #f89513;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 30px 0;
    width: 100%;
}

.footer__container {
    width: 1060px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 15px;
}

.footer__copyright {
    width: 300px;
}

.footer__text {
    color: #959595;
    line-height: 1.4;
    margin-bottom: 5px;
}

.footer__author {
    color: #959595;
}

.footer__author-name {
    color: #ffffff;
}

.footer__logo {
    color: #f89513;
    font-size: 18px;
}

.footer__social-title {
    color: #ffffff;
    margin-bottom: 10px;
}

.social {
    display: flex;
    list-style: none;
    gap: 10px;
}

.social__item {
    margin-right: 0;
}

.social__link {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #EFF0EF;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50% 40%;
    transition: background-color 0.3s;
}

.social__link--vk {
    background-image: url(images/vk.png);
}

.social__link--google {
    background-image: url(images/google.png);
}

.social__link:hover {
    background-color: #f89513;
}

@media (max-width: 1100px) {
    .container {
        width: 90%;
    }
    
    .reviews {
        width: 90%;
    }
    
    .footer__container {
        width: 90%;
    }
}

@media (max-width: 900px) {
    .reviews__title {
        font-size: 48px;
    }
    
    .feedback__title {
        font-size: 36px;
    }
    
    .feedback__form {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    .header {
        margin-bottom: 30px;
    }
    
    .row {
        flex-direction: column;
        text-align: center;
    }
    
    .menu__list {
        justify-content: center;
    }
    
    .contacts {
        text-align: center;
    }
    
    .contacts__number {
        font-size: 18px;
    }
    
    .reviews__title {
        font-size: 40px;
        text-align: center;
    }
    
    .reviews__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .reviews__avatar {
        height: 120px;
        width: 120px;
    }
    
    .reviews__content {
        width: 100%;
    }
    
    .reviews__text {
        font-size: 14px;
    }
    
    .pagination {
        gap: 8px;
    }
    
    .pagination__info {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .pagination__arrow {
        height: 35px;
        width: 35px;
        font-size: 18px;
    }
    
    .pagination__link {
        height: 35px;
        width: 35px;
        font-size: 14px;
    }
    
    .promo {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .promo__text {
        font-size: 14px;
    }
    
    .feedback__title {
        font-size: 32px;
        text-align: center;
    }
    
    .feedback__form {
        padding: 30px 25px;
    }
    
    .form__row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form__group--submit {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .form__submit {
        width: 100%;
        max-width: 200px;
    }
    
    .footer__container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer__copyright {
        width: 100%;
    }
    
    .footer__social {
        text-align: center;
    }
    
    .social {
        justify-content: center;
    }
}

/* Мобильные телефоны (480px и меньше) */
@media (max-width: 480px) {
    .header {
        padding: 10px 0;
        margin-bottom: 20px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .menu__list-link {
        padding-left: 25px;
        font-size: 14px;
        background-size: 18px;
    }
    
    .contacts__number {
        font-size: 16px;
    }
    
    .contacts__schedule {
        font-size: 12px;
    }
    
    .reviews__title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .reviews__item {
        margin-bottom: 20px;
        padding-bottom: 20px;
        gap: 15px;
    }
    
    .reviews__avatar {
        height: 90px;
        width: 90px;
    }
    
    .reviews__name {
        font-size: 16px;
    }
    
    .reviews__date {
        font-size: 12px;
    }
    
    .reviews__text {
        font-size: 13px;
    }
    
    .pagination__info {
        font-size: 12px;
    }
    
    .pagination__arrow {
        height: 30px;
        width: 30px;
    }
    
    .pagination__link {
        height: 30px;
        width: 30px;
        font-size: 12px;
    }
    
    .promo {
        padding: 20px 0;
        margin-bottom: 30px;
    }
    
    .promo__text {
        font-size: 13px;
    }
    
    .feedback {
        margin-bottom: 40px;
    }
    
    .feedback__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .feedback__form {
        padding: 20px 15px;
    }
    
    .form__label {
        font-size: 13px;
    }
    
    .form__input {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .form__textarea {
        font-size: 14px;
    }
    
    .form__radio-text {
        font-size: 13px;
    }
    
    .form__submit {
        height: 40px;
        font-size: 11px;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer__text {
        font-size: 12px;
    }
    
    .footer__author {
        font-size: 12px;
    }
    
    .footer__logo {
        font-size: 20px;
    }
    
    .footer__social-title {
        font-size: 14px;
    }
}

/* Очень маленькие телефоны (360px и меньше) */
@media (max-width: 360px) {
    .reviews__title {
        font-size: 28px;
    }
    
    .menu__list {
        gap: 10px;
    }
    
    .menu__list-link {
        padding-left: 22px;
        font-size: 12px;
        background-size: 16px;
    }
    
    .pagination__list {
        gap: 3px;
    }
    
    .pagination__link {
        height: 28px;
        width: 28px;
        font-size: 11px;
    }
    
    .feedback__title {
        font-size: 22px;
    }
    
    .form__radio-group {
        gap: 15px;
    }
}
