@import url(../fonts/stylesheet.css);

:root {
    --font-family: 'Segoe UI';
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

.page {
    color: #323130;
    line-height: 1.6;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

.hero {
    background: linear-gradient(135deg, #d89d12, #5d1515ba);
    color: #ffffff;
    padding: 80px 40px;
    text-align: center;
}
/* d89d12 */
.container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.warning {
    background-color: #fff4ce;
    border-left: 5px solid #ffb900;
    padding: 20px;
    margin: 40px 0;
}

.footer {
    background-color: #323130;
    color: #ffffff;
    padding: 60px 40px 30px;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

/* Элементы */
.header__logo {
    font-size: 24px;
    font-weight: 600;
    color: #d89d12;
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
}

.nav__item {
    margin-left: 30px;
}

.nav__link {
    text-decoration: none;
    color: #323130;
    font-weight: 500;
    transition: color 0.3s;
}

.hero__title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero__subtitle {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.title, .article__main h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #0078d4;
    font-weight: 600;
}

.subtitle, .article__main h3 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #323130;
    font-weight: 500;
}

.article__main img {
    margin-block: 20px;
    display: block;
    width: 100%;
    border-radius: 20px;
    cursor: pointer;
}

.article__main a {
    color: #0078d4;
}

.text, .faq__content ul li, .article__main p, .article__main ul, .article__main ol, .article__main ul li, .article__main ol li {
    margin-bottom: 20px;
    font-size: 18px;
}

.article__main ul, .article__main ol, .article__main ul li, .article__main ol li {
    margin-bottom: 10px;
}

.article__main ul, .article__main ol {
    padding-left: 40px;
}

.faq__content ul {
    padding-left: 20px;
}

.feature__title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0078d4;
}

.table__header {
    background-color: #0078d4;
    color: white;
    font-weight: 500;
}

.table__cell {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table__row:nth-child(even) {
    background-color: #f3f2f1;
}

.btn {
    display: inline-block;
    background-color: #0078d4;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.warning__title {
    color: #d83b01;
    margin-top: 0;
}

.footer__title {
    margin-bottom: 20px;
    font-weight: 500;
}

.footer__list {
    list-style: none;
}

.footer__item {
    margin-bottom: 10px;
}

.footer__link {
    color: #a19f9d;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #5d5d5d;
    color: #a19f9d;
}

/* Модификаторы */
.nav__link--active {
    color: #0078d4;
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn--white {
    background-color: white;
    color: #0078d4;
}



.warning--error {
    background-color: #fde7e9;
    border-left-color: #d83b01;
}

.table--compact .table__cell {
    padding: 10px;
}

/* Состояния */
.nav__link:hover {
    color: #0078d4;
}

.btn:hover {
    background-color: #106ebe;
}

.feature:hover {
    transform: translateY(-5px);
}

.footer__link:hover {
    color: #ffffff;
}

.header__nav_burger {
    display: none;
}

.header__nav_btns {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.table__link {
    font-size: 18px;
    color: #0078d4;
    text-decoration: underline;
    transition: all .3s ease;
}

.table__link:hover {
    color: #323130;
}

.table__cell {
    font-size: 18px;
}

.work__img {
    width: 100%;
    border-radius: 20px;
}

.faq__item {
    margin-top: 25px;
}

.faq__item-header h4 {
    font-size: 18px;
    color: #0078d4;
}

.faq__item-header svg path {
    fill: #0078d4;
}

.faq__item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.faq__content {
    padding: 0 25px;
    margin-top: 15px;
    display: none;
}

.faq__item.active .faq__content {
    display: block;
}

.faq__item.active .faq__item-header svg {
    transform: rotate(90deg);
}

:root {
    --faq-item-header-svg-size: 24px;
}

.faq__item-header svg {
    min-width: var(--faq-item-header-svg-size);
    min-height: var(--faq-item-header-svg-size);
    max-width: var(--faq-item-header-svg-size);
    max-height: var(--faq-item-header-svg-size);
}

.blog__items {
    display: flex;
    align-items: normal;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

.blog__item {
    width: 31%;
    position: relative;
    flex: 1 auto;
    background-color: #ffb900;
    padding: 30px 20px 60px 20px;
    border-radius: 10px;
}

.blog__read-more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}