img {
    max-width: 100%;
}

body {
    background-color: #f8f9fa;
}

.header-banner {
    min-height: 740px;
    display: flex;
    align-items: center;
    background: url("../img/header-banner.jpg") center center no-repeat;
    background-size: cover;
}

.content-wrapper {
    max-width: 1200px;
    margin: auto;
}

.main-title {
    margin: 0;
    font-size: 4rem;
    text-align: center;
    color: #fff;
}

.about__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
}

.about__text {
    width: 50%;
}

.about__img {
    width: 44%;
}

.about__title {
    font-size: 2.8rem;
    margin: 0;
}

.about__text .text {
    margin: 25px 0 0;
    line-height: 1.4;
    font-size: 1.125rem;
}

.advantages {
    background: url("../img/advantages.svg") 90% -5px no-repeat #f1f3f5;
}

.advantages__content {
    padding: 80px 0;
}

.advantages__title {
    font-size: 2.8rem;
    margin: 0;
}

.advantages__list {
    list-style-type: none;
    padding: 0;
    margin-top: 40px;
}

.advantages__list .advantages__item:nth-child(n+2) {
    margin-top: 10px;
}

.advantages__item {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
}

.advantages__item .text {
    margin-left: 8px;
}

.tariff-plans__content {
    padding: 100px 0 60px 0;
}

.tariff-plans__header {
    margin: 0;
    text-align: center;
    font-size: 50px;
    color: #343a40;
}

.tariff-plans__sub-header {
    margin: 20px 0 0;
    text-align: center;
    font-weight: 300;
    font-size: 1.125rem;
    color: #495057
}

.tariff-plans__cards {
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
}

.tariff-plans__cards .card {
    max-width: 320px;
    box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-cyfe__accept {
    text-align: center;
    margin-bottom: 60px;
}

.order-cyfe__accept button {
    padding: 8px 20px;
    background-color: #ff6e01;
    border-radius: 5px;
    font-size: 20px;
    min-width: 155px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    color: #fff;
    border: none;
    outline: none;
}

.order-cyfe__accept button:hover {
    background-color: #f16700;
}

@media (min-width: 1024px) {
    .tariff-plans__cards .card:hover {
        box-shadow: 8px 7px 6px rgba(0, 0, 0, 0.2);
    }
}

.tariff-plans__cards .card__head {
    background-color: #282a4a;
    color: #f8f9fa;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
}

.card__title {
    margin: 0;
    padding: 0 0 14px;
    font-weight: 700;
    font-size: 2.8rem;
    text-align: center;
    border-bottom: 3px solid #f8f9fa;
    color: #f8f9fa;
}

.card__price {
    padding: 0 0 14px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
}

.card__price .price-number {
    font-size: 3.75rem;
}

.card__body {
    height: 100%;
    padding: 25px 20px;
    background-color: #e9ecef;
    color: #495057;
}

.card__list {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0;
    padding-left: 20px;
}

.card__list li:nth-child(n+2) {
    margin-top: 16px;
}

.updates {
    padding: 40px 0 70px;
}

.updates__header {
    margin: 0;
    text-align: center;
    font-size: 2.8rem;
}

.updates__items {
    max-width: 80%;
    margin: 30px auto 0;
}

.updates__items .updates__item:nth-child(n+2) {
    margin-top: 40px;
}

.update-info {
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
    background-color: #fafafa;
}

.update-info__header {
    display: flex;
    justify-content: center;
}

.update-info__header h2 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff9900;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
}

.update-info__list {
    margin: 25px 0 0 0;
}

.update-info__item {
    line-height: 1.5;
    font-size: 1.125rem;
}

.update-info__list .update-info__item:nth-child(n+2) {
    margin-top: 12px;
}

@media (max-width: 1300px) {
    .content-wrapper {
        max-width: 940px;
    }
    .advantages {
        background-position: 112% -5px;
    }
    .tariff-plans__cards .card {
        max-width: 290px;
    }
}

@media (max-width: 1100px) {
    .content-wrapper {
        max-width: 800px;
    }
    .header-banner {
        min-height: 600px; 
    }
    .main-title {
        font-size: 3.5rem;
    }
    .about__title,
    .advantages__title,
    .tariff-plans__header,
    .updates__header {
        font-size: 2.5rem;
    }
    .about__text {
        width: 53%;
    }
    .about__text .text {
        margin-top: 14px;
    }
    .about__img {
        width: 41%;
    }
    .advantages {
        background-position: 135% 35px;
    }
    .advantages__list {
        margin-top: 25px;
    }
    .tariff-plans__cards .card {
        max-width: 250px;
    }
    .card__title {
        font-size: 2rem;
    }
    .card__price {
        font-size: 1.7rem;
    }
    .card__price .price-number {
        font-size: 2.7rem;
    }    
    .card__list {
        font-size: 1rem;
    }
}

@media (max-width: 860px) {
    .content-wrapper {
        max-width: 600px;
    }
    .about__content {
        flex-direction: column;
        justify-content: flex-start;
    }
    .about__text {
        width: 100%;
    }
    .about__img {
        width: 85%;
        margin: 30px auto 0;
    }
    .advantages {
        background: none;
        background-color: #f1f3f5;
    }
    .tariff-plans__content {
        padding: 120px 0 90px;
    }
    .tariff-plans__cards {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-top: 50px;
    }
    .tariff-plans__cards .card {
        max-width: 290px;
    }
    .tariff-plans__cards .tariff-plans__card:nth-child(n+2) {
        margin-top: 35px;
    }
    .card__price .price-number {
        font-size: 3rem;
    }    
    .updates__items {
        max-width: 100%;
    }
    .update-info {
        padding: 30px 15px;
    }
}

@media (max-width: 680px) {
    .content-wrapper {
        max-width: 92%;
    }
    .main-title {
        font-size: 3rem;
    }
    .about__title,
    .advantages__title,
    .tariff-plans__header,
    .updates__header {
        font-size: 2rem;
    }
    .advantages__item {
        font-size: 1.125rem;
    }
    .advantages__marker {
        width: 19px;
    }
    .tariff-plans__content {
        padding-top: 80px;
    }
}

@media (max-width: 576px) {
    .header-banner {
        min-height: 560px; 
    }
    .main-title {
        font-size: 2.4rem;
    }
    .update-info__header h2 {
        font-size: 1.35rem;
        border-bottom: 2px solid #ff9900;
    }
    .update-info__item {
        font-size: 1rem;
    }
}

@media (max-width: 430px) {
    .main-title {
        font-size: 2rem;
    }
    .about__title,
    .advantages__title,
    .tariff-plans__header,
    .updates__header {
        font-size: 1.7rem;
    }
    .about__content,
    .advantages__content,
    .tariff-plans__content {
        padding: 50px 0;
    }
    .about__text .text {
        font-size: 1rem;
    }
    .advantages__item {
        font-size: 1rem;
    }
    .tariff-plans__sub-header {
        font-size: 1rem;
    }
    .card__title {
        font-size: 1.65rem;
    }
    .card__price .price-number {
        font-size: 2.7rem;
    }
    .card__price {
        font-size: 1.5rem;
    }
    .update-info {
        padding: 20px 8px;
    }
}
