
:root {
    --primary: #8a50fc;
    --primary-dark: #7342d7;
    --primary-soft: #faf8ff;
    --border: #ece7fa;
    --title: #15121f;
    --text: #55515f;
    --muted: #8b8598;
    --white: #ffffff;
    --danger: #ff5757;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    width: 150px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 13px;
    font-weight: 550;
    color: var(--title);
}

.site-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-button,
.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--title);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover,
.menu-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.header-subscribe {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 550;
}

.header-subscribe:hover {
    background: var(--primary-dark);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 44px;
    padding: 0 21px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 550;
}

.primary-button:hover {
    background: var(--primary-dark);
}

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.home-section-head h2 {
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--title);
}

.home-section-head h2::before {
    content: "";
    width: 6px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--danger), var(--primary));
    display: inline-block;
}

.home-section-head a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 550;
}

.home-section-head a:hover {
    color: var(--primary-dark);
}

.site-footer {
    margin-top: 28px;
    padding: 34px 0 20px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 34px;
}

.footer-logo {
    width: 132px;
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 260px;
    margin: 0;
    line-height: 1.65;
    font-size: 13px;
    color: var(--text);
}

.site-footer h3 {
    margin: 0 0 12px;
    color: var(--title);
    font-size: 13px;
    font-weight: 550;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.footer-social a {
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 999px;
    background: var(--primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .site-nav {
        display: none;
    }

    .header-subscribe {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 13px;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        height: 66px;
    }

    .site-logo img {
        width: 124px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Footer
========================= */

.site-footer {
    margin-top: 54px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr .95fr 1fr;
    gap: 54px;
    padding-top: 54px;
    padding-bottom: 44px;
}

.footer-brand-block {
    max-width: 300px;
}

.footer-logo-link {
    display: inline-flex;
}

.footer-logo {
    width: 112px;
    height: auto;
}

.footer-description {
    max-width: 285px;
    margin: 22px 0 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.75;
    font-weight: 300;
}

.footer-column h3 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    color: var(--title);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.footer-column nav {
    display: grid;
    gap: 10px;
}

.footer-column a {
    width: fit-content;
    color: var(--text);
    font-size: 13,5px;
    line-height: 1.45;
    font-weight: 300;
    transition:
        color .18s ease,
        transform .18s ease;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.footer-signature {
    min-height: 76px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-signature-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-heart {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.footer-signature-brand > span:last-child {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
}

.footer-signature-brand strong {
    color: var(--title);
    font-size: 12px;
    font-weight: 400;
}

.footer-signature-brand em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
}

.footer-copyright {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 300;
}

@media (max-width: 920px) {

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 48px;
    }

    .footer-brand-block {
        max-width: none;
    }

}

@media (max-width: 620px) {

    .site-footer {
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 38px;
        padding-bottom: 34px;
    }

    .footer-description {
        margin-top: 16px;
    }

    .footer-signature {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 22px;
    }

}
