* {
    margin: 0;
    padding: 0;
}

.container {
    justify-content:space-evenly;
}

/* 1 блок */
.header-top > .container {
  max-width: 1180px;
}

.nav-links {
    color: #2C2C2C;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-top: 22px;
}

.header-icons img {
    width: 47px;
    height: 47px;
    border-radius: 12px;
    object-fit: cover;
}

.header-icon {
    display: inline-flex;
}

/* Телефон */
.phone-number {
    font-weight: 600;
    font-size: 18px;
    color: #2C2C2C;
    text-decoration: none;
}

.work-time {
    font-size: 14px;
    color: #2C2C2C;
    font-weight: 400;
}

.btn-login {
    background: #FC9227;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 12px;
    width: 82px;
    height: 47px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.container {
  max-width: 1180px;
}

.container {
    margin-bottom: -10px;
}

/* Breadcrumb */
.breadcrumb a {
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.section-title {
    margin-top: 35px;
    font-size: 32px;
    font-weight: 600;
    color: #2C2C2C;
}

.btn-consult {
    background: #A333FF;
    color: #FFFFFF;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    width: 311px;
    height: 54px;
}
 
.lead {
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 400;
    margin-top: 20px;
}

/* Карточки сотрудников */
.team-card {
    border-radius: 20px;
    background: #F8EFFF;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 20px;
}
 
/* Фото */
.team-photo {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

/* Имя сотрудника */
.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
}

/* Телефон */
.team-phone {
    font-size: 14px;
    font-weight: 600;
    color: #A333FF;
    text-decoration: none;
}

/* Оценка */
.rating {
    font-size: 14px;
    font-weight: 400;
    color: #2C2C2C;
    background: #FFFFFF;
    width: 61px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.small {
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
}

/* Заголовок */
.partners-title {
    font-size: 32px;
    font-weight: 600;
    color: #2C2C2C;
    text-align: left;
}

/* Карточка */
.partner-card {
    width: 366px;
    height: 110px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: default;
}

/* Цвета карточек */
.partner-purple {
    background: #A333FF;
}

.partner-orange {
    background: #FC9227;
}

.partner-pink {
    background: #EA75FF;
}

/* Иконки */
.partner-icon {
    width: 30px;
    height: 30px;
}

.text-title {
    font-size: 32px;
    font-weight: 600;
    color: #2C2C2C;
}

/* Первая карточка */
.review-main-card {
    height: 350px;
    width: 366px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.review-main-card .main-photo {
    object-fit: cover;
    border-radius: 20px;
}

.main-name-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 58%;
    width: 327px;
    height: 38px;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    font-weight: 600;
}

.main-review-btn {
    position: absolute;
    left: 50%;
    top: 72%;
    width: 327px;
    height: 54px;
    transform: translateX(-50%);
    background: #A333FF;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot1 {
    width: 8px;
    height: 8px;
    background: #A333FF;
    border-radius: 50%;
}

.dot2 {
    width: 8px;
    height: 8px;
    background: #A333FF;
    border-radius: 50%;
    opacity: 0.8;
}
 
.dot3 {
    width: 8px;
    height: 8px;
    background: #A333FF;
    border-radius: 50%;
    opacity: 0.6;
}

.dot4 {
    width: 8px;
    height: 8px;
    background: #A333FF;
    border-radius: 50%;
    opacity: 0.5;
}

.dot5 {
    width: 8px;
    height: 8px;
    background: #A333FF;
    border-radius: 50%;
    opacity: 0.25;
}

.review-text {
    font-size: 14px;
    font-weight: 400;
    color: #2C2C2C;
}

.text {
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 600;
}

.text-muted {
    font-size: 14px;
    font-weight: 400;
    color: #2C2C2C;
}

.review-card small {
    margin-top: -10px !important;
    display: block;
}
 

/* Маленькие карточки отзывов */
.review-card {
    background: #FFFFFF;
    border-radius: 20px;
    width: 366px;
    height: 350px;
    border: 2px solid #F8EFFF;
    min-height: 260px;
    margin-bottom: 30px;
}

.star1 {
    display: flex;
    justify-content: flex-end;
    width: 16px;
    height: 16px;
}

.show-more {
    color: #A333FF;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

.review-bottom-box {
    background: #F8EFFF; /* светло-фиолетовый как в макете */
    border-radius: 15px;
    width: 326px;
    height: 80px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px; /* как в макете */
}

.review-bottom-photo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
}

.review-bottom-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Имя сотрудника */
.review-bottom-name {
    font-size: 14px;
    font-weight: 600;
    color: #2C2C2C;
}

/* Оценка */
.review-bottom-rating {
    font-size: 12px;
    font-weight: 400;
    color: #2C2C2C;
    background: #FFFFFF;
    width: 49px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-bottom-rating img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.reviews-btn-wrapper {
    text-align: center;
    margin-top: -40px;
}

.load-more-btn {
    background: #FC9227;
    border: none;
    padding: 16px 10px;
    border-radius: 15px;
    width: 184px;
    height: 54px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    margin-bottom: 60px;
}
 

/* подвал */
.footer > .container {
  max-width: 1180px;
}

.footer {
    background: #F7EFFD;
}

.footer-slogan {
    color: #A333FF;
    font-size: 18px;
    font-weight: 600;
    margin-top: -5px;
}

.footer-link {
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
}

.footer-copy {
    white-space: nowrap;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
}

.footer-privacy {
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
    
}

.contact-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.footer-phone {
    font-size: 20px;
    font-weight: 600;
}

.social-icon {
    width: 47px;
    height: 47px;
}

.contract-box {
    width: 492px;
    height: 142px;
    margin-top: 40px;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.contract-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
}

.btn-orange {
    background: #FC9227;
    color: #FFFFFF;
    border-radius: 15px;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 88px;
    height: 54px;
}

.btn-purple {
    background: #A333FF;
    color: #FFFFFF;
    border-radius: 15px;
    padding: 10px 28px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 246px;
    height: 54px;
    white-space: nowrap;
}

 



 
/* Подложка */
.custom-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.40);
    backdrop-filter: blur(1px);
    display: none;
    z-index: 9998;
}

/* Модалка */
.custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 541px;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 35px;
    box-shadow: 0 7px 45px rgba(0,0,0,0.25);
    display: none;
    z-index: 9999;
    font-family: sans-serif;
}

/* Заголовок */
.custom-modal-title {
    font-size: 24px;
    color: #2C2C2C;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Кнопка закрытия */
.custom-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: #FC9227;
    color: #FFFFFF;
    border-radius: 15px;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Поля */
.custom-input {
    width: 540px;
    height: 55px;
    background: #F8EFFF;
    border: none;
    border-radius: 15px;
    padding: 14px 16px;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 18px;
    outline: none;
}
.custom-input:focus {
    outline: 2px solid #d6c0ff;
}

.custom-textarea {
    width: 540px;
    height: 140px;
    background: #F8EFFF;
    border-radius: 15px;
    resize: none;
}

 

/* Звёзды */
.rating-block {
    background: #F8EFFF;
    width: 540px;
    height: 95px;
    border-radius: 20px;
    margin-bottom: 16px;
    padding: 14px 16px;
    color: #2C2C2C;
}

.stars {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    font-size: 28px;
    color: #ffb400;
    cursor: pointer;
} 

.stars span {
    opacity: 0.35;
    transition: .2s;
}

.stars .active {
    opacity: 1;
}

/* Кнопка */
.custom-modal-btn {
    width: 540px;
    height: 54px;
    padding: 14px;
    background: #FC9227;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    margin-top: -10px;
    margin-bottom: 5px;
}

.custom-modal-btn a {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
}

/* Подпись */
.custom-policy {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.65;
    color: #2C2C2C;
}
.custom-policy a {
    color: #2C2C2C;
}
 




