/* Базовые стили */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #222222;
    min-height: 100vh;
}

/* Константа: единое скругление */
:root {
    --radius-main: 16px;
    --color-main: #D75298;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Шапка */

.header {
    padding: 16px;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: var(--radius-main);
    background: #ffffff;
    border: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип */

.logo {
    text-decoration: none;
    color: inherit;
}

.logo-placeholder {
    width: 120px;
    height: 40px;
    border-radius: var(--radius-main);
    background: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.logo-placeholder-large {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-main);
    font-size: 20px;
}

/* Навигация и кнопки */

.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    border-radius: var(--radius-main);
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.btn-outline {
    background: #ffffff;
    color: #222222;
    border-color: #dddddd;
}

.btn-outline:hover {
    background: #f7f7f7;
    border-color: var(--color-main);
}

.btn-primary {
    background: var(--color-main);
    color: #ffffff;
    border-color: var(--color-main);
}

.btn-primary:hover {
    background: #c04688;
    border-color: #c04688;
}

.btn-lg {
    padding: 12px 26px;
    font-size: 15px;
}

.is-active {
    border-color: var(--color-main);
}

/* Основной контент */

.main {
    flex: 1 0 auto;
    max-width: 960px;
    margin: 0 auto 32px;
    padding: 0 16px;
}

.main-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hero (главная) */

.hero {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
}

.hero-logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 32px;
    font-size: 24px;
    line-height: 1.5;
    color: #444444;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Карточки контента */

.content-card {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    background: #ffffff;
    border-radius: var(--radius-main);
    padding: 24px 22px 26px;
    border: 1px solid #f1f1f1;
    text-align: left;
}

.page-title {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 600;
    color: #222222;
}

.placeholder-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
}

/* Поддержка */

.support-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.support-item {
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: var(--radius-main);
    padding: 14px 14px 16px;
    border: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.12s ease, background-color 0.12s ease;
}

.support-item:hover {
    border-color: var(--color-main);
    background-color: #fff6fb;
}

.support-icon-placeholder {
    width: 100%;
    aspect-ratio: 3 / 1;
    border-radius: var(--radius-main);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777777;
}

.support-caption {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}

/* Подвал */

.footer {
    padding: 0 16px 16px;
    flex-shrink: 0;
}

.footer-text {
    display: block;
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: var(--radius-main);
    background: #f8f8f8;
    color: #777777;
    font-size: 12px;
    text-align: center;
}

/* Адаптив */

@media (max-width: 720px) {
    .header-inner {
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    .hero {
        margin-top: 30px;
    }

    .content-card {
        margin-top: 30px;
        padding: 20px 16px 22px;
    }

    .page-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .logo-placeholder-large {
        width: 150px;
        height: 150px;
    }
}