* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}


/* =========================
   ШАПКА
   ========================= */

.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #5bbce4;
}

.navigation {
    display: flex;
    gap: 30px;
}

.navigation a {
    text-decoration: none;
    color: #4b5563;
    font-size: 15px;
}

.navigation a:hover {
    color: #5bbce4;
}

.login-button {
    border: none;
    background: #5bbce4;
    color: white;
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.login-button:hover {
    background: #359dcc;
}


/* =========================
   ГЛАВНЫЙ БЛОК
   ========================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 90px 0;

    background:
        radial-gradient(
            circle at 4% 90%,
            rgba(104, 168, 216, 0.13),
            transparent 25%
        ),
        linear-gradient(
            110deg,
            #DCECF8 0%,
            #EDF6FC 38%,
            #F8FCFE 63%,
            #FFFFFF 78%,
            #FFFFFF 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    left: -100px;
    top: -100px;

    border-radius: 50%;

    background:
        rgba(104, 168, 216, 0.11);
}

.hero::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    left: -65px;
    bottom: -65px;

    border-radius: 50%;

    background:
        rgba(80, 128, 208, 0.07);
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.08;
    margin-bottom: 25px;

    color: #172033;
    letter-spacing: -1.4px;
}

.hero-text p {
    font-size: 19px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 30px;
}

.main-button {
    border: none;

    background: linear-gradient(
        135deg,
        #5bbce4,
        #359dcc
    );

    color: white;

    padding: 15px 30px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(53, 157, 204, 0.22);

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.main-button:hover {
    background: #359dcc;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(53, 157, 204, 0.28);
}


/* Логотип на главной */

.hero-logo {
    width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-logo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
}


/* =========================
   ВОЗМОЖНОСТИ
   ========================= */

.features {
    padding: 90px 0;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F3F8FC 100%
        );
}

.features h2 {
    text-align: center;

    font-size: 36px;

    margin-bottom: 48px;

    color: #172033;

    letter-spacing: -0.7px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    position: relative;
    overflow: hidden;

    background:
    linear-gradient(
        145deg,
        #FFFFFF 0%,
        #F5FAFD 100%
    );

    padding: 32px;

    border-radius: 20px;

    border:
    1px solid
    var(--primary-border);


    box-shadow:
    0 10px 30px
    rgba(80, 128, 208, 0.07);

    transition:
        transform 0.25s,
        box-shadow 0.25s,
        border-color 0.25s;
}
.feature-card::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -30px;
    top: -30px;

    border-radius: 50%;

    background:
        rgba(91, 188, 228, 0.10);
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: #b9e1f2;

    box-shadow:
        0 18px 38px
        rgba(53, 157, 204, 0.14);
}

.feature-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 16px;

    background:
        var(--primary-light);

    font-size: 30px;

    box-shadow:
        inset 0 0 0 1px
        var(--primary-border);
}

.feature-card h3 {
    position: relative;
    z-index: 2;

    font-size: 20px;

    margin-bottom: 12px;

    color: #1f2937;
}

.feature-card p {
    position: relative;
    z-index: 2;

    color: #667085;

    line-height: 1.65;
}


/* =========================
   АВТОРИЗАЦИЯ
   ========================= */

.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.auth-modal.active {
    display: flex;
}

.auth-box {
    position: relative;
    width: 90%;
    max-width: 400px;
    padding: 35px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.auth-box h2 {
    margin-bottom: 25px;
    text-align: center;
}

.auth-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.auth-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 15px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-switch span {
    color: #111;
    font-weight: 600;
    cursor: pointer;
}

.auth-error {
    color: #d32f2f;
    text-align: center;
    margin-top: 15px;
}


/* =========================
   КОМПАНИИ
   ========================= */
.companies {
    position: relative;

    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            #f5f6f7 0%,
            #d5ebfa 55%,
            #C5DEEF 100%
        );
}

.companies h2 {
    font-size: 36px;
    margin-bottom: 12px;

    color: var(--text-main);
}
.companies .section-description {
    color: #526B7C;
}


/* Поиск компании */

.company-search {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 30px;
}

.company-search input {
    flex: 1;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #dfe3eb;
    border-radius: 12px;
    background: #ffffff;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

.company-search input:focus {
    border-color: #5bbce4;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.company-search button {
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 12px;
    background: #5bbce4;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.company-search button:hover {
    background: #359dcc;
    transform: translateY(-1px);
}


/* Результат поиска */

.company-result {
    max-width: 900px;
    padding: 30px;

    background: white;

    border:
        1px solid
        var(--primary-border);

    border-radius: 20px;

    box-shadow:
        0 16px 38px
        rgba(80, 128, 208, 0.12);
}

.company-result h3 {
    margin: 0;
}


/* Найденные организации */

#organizationList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.organization-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: 0.2s;
}

.organization-item:hover {
    border-color: #cbeaf7;
    background: #f5fbfe;
    transform: translateY(-1px);
}

.organization-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.organization-item p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.organization-item button {
    flex-shrink: 0;
    border: none;
    padding: 10px 18px;
    border-radius: 9px;
    background: #5bbce4;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.organization-item button:hover {
    background: #359dcc;
}


/* =========================
   ВЫБРАННАЯ КОМПАНИЯ
   ========================= */

.selected-company {
    margin-top: 25px;
}

.selected-company-card {
    padding: 24px;
    background: linear-gradient(135deg, #f5fbfe, #ffffff);
    border: 1px solid #dbe3f0;
    border-radius: 18px;
}

.selected-company-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
}

.selected-company-card > p {
    color: #6b7280;
    margin-bottom: 22px;
    line-height: 1.5;
}

.company-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.company-actions button {
    border: 1px solid #dfe3eb;
    background: white;
    color: #374151;
    padding: 11px 17px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.company-actions button:hover {
    border-color: #5bbce4;
    color: #5bbce4;
    background: #f5fbfe;
}


/* =========================
   ОТЗЫВЫ BRАNDWATCH
   ========================= */

.company-reviews {
    margin-top: 25px;
}

.company-reviews-card {
    padding: 26px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.company-reviews-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.reviews-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 22px;
}

.reviews-empty {
    padding: 25px;
    background: #f8fafc;
    border: 1px dashed #d7dce5;
    border-radius: 14px;
    text-align: center;
}

.reviews-empty p {
    color: #6b7280;
    margin-bottom: 16px;
}


/* Кнопка добавить отзыв */

#addCompanyReviewButton {
    border: none;
    background: #5bbce4;
    color: white;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#addCompanyReviewButton:hover {
    background: #359dcc;
}


/* Форма отзыва */

.company-reviews-card select,
.company-reviews-card textarea {
    width: 100%;
    display: block;
    padding: 13px 15px;
    margin-bottom: 14px;
    border: 1px solid #dfe3eb;
    border-radius: 11px;
    background: white;
    color: #1f2937;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.company-reviews-card select {
    height: 48px;
}

.company-reviews-card textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.5;
}

.company-reviews-card select:focus,
.company-reviews-card textarea:focus {
    border-color: #5bbce4;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#saveCompanyReviewButton {
    width: 100%;
    border: none;
    background: #5bbce4;
    color: white;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#saveCompanyReviewButton:hover {
    background: #359dcc;
}

#companyReviewMessage {
    margin-top: 14px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}


/* Карточка отдельного отзыва */

.company-review-item {
    padding: 20px;
    margin-bottom: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.company-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 5px;
}

.company-review-header strong {
    font-size: 18px;
}

.company-review-author {
    color: #6b7280;
    font-size: 13px;
}

.company-review-date {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 14px;
}

.company-review-text {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
}


/* ИИ-анализ отзыва */

.company-review-ai {
    margin-top: 16px;
    padding: 14px 16px;
    background: #f5fbfe;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
}

.company-review-ai strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #374151;
}

.ai-review-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ai-review-info span {
    padding: 6px 10px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
}


/* =========================
   ВНЕШНИЕ ОТЗЫВЫ
   ========================= */

.external-reviews-card {
    margin-top: 25px;
    padding: 26px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.external-reviews-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.external-source-section {
    margin-top: 25px;
}

.external-source-section:first-of-type {
    margin-top: 15px;
}

.external-source-section h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.external-source-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 18px;
}

.external-source-rating strong {
    font-size: 22px;
}

.external-source-rating span {
    color: #6b7280;
    font-size: 14px;
}

.external-source-section + .external-source-section {
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.external-yandex-link {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 16px;
    border: 1px solid #dfe3eb;
    border-radius: 9px;
    background: white;
    color: #5bbce4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}

.external-yandex-link:hover {
    background: #f0f5ff;
    border-color: #5bbce4;
}


/* =========================
   КАРТА
   ========================= */

#companyMap {
    width: 100%;
    height: 400px;
    margin-top: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}


/* =========================
   АНАЛИТИКА
   ========================= */

.analytics {
    padding: 90px 0;

    background:
        linear-gradient(
            180deg,
            #e3eaee 0%,
            #d5ebfa 100%
        );
}

.analytics h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.analytics-search {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 30px 0;
}

.analytics-search input {
    flex: 1;
    padding: 14px;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    font-size: 16px;
}

.analytics-result {
    max-width: 900px;
    margin-top: 30px;
}

.analytics-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.analytics-card h3 {
    margin: 0 0 24px;
    font-size: 24px;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.analytics-stat {
    padding: 20px;

    background:
        var(--primary-light);

    border:
        1px solid
        var(--primary-border);

    border-radius: 14px;

    text-align: center;
}

.analytics-stat strong {
    display: block;
    font-size: 30px;
    margin-bottom: 6px;
}

.analytics-stat span {
    font-size: 14px;
    color: #666;
}

.analytics-sentiment {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.analytics-sentiment h4 {
    margin: 0 0 14px;
}

.analytics-sentiment p {
    margin: 8px 0;
}


/* =========================
   ПОДВАЛ
   ========================= */

.footer {
    background: #111827;
    padding: 25px 0;
    color: #9ca3af;
}

.footer p {
    font-size: 14px;
}

.analytics-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.analytics-section h4 {
    margin-bottom: 16px;
    font-size: 18px;
}

.analytics-address {
    color: #6b7280;
    margin-bottom: 24px;
}

.analytics-rating-block {
    padding: 22px;
    background: #f5f7ff;
    border-radius: 14px;
}

.analytics-rating-block span {
    display: block;
    margin-bottom: 7px;
    color: #6b7280;
    font-size: 14px;
}

.analytics-rating-block strong {
    font-size: 32px;
}

.analytics-sentiment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.analytics-sentiment-grid div {
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}

.analytics-sentiment-grid strong {
    display: block;
    margin-bottom: 5px;
    font-size: 24px;
}

.analytics-sentiment-grid span {
    color: #6b7280;
    font-size: 13px;
}

.analytics-topics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.analytics-topic {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 10px;
}

.general-ai-item {
    margin-top: 14px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.general-ai-item strong {
    display: block;
    margin-bottom: 7px;
}

.general-ai-item p {
    color: #4b5563;
    line-height: 1.6;
}


/* Выделенный общий вывод */

.general-ai-summary {
    margin-top: 20px;
    padding: 22px;
    background: #eef4ff;
    border: 1px solid #c7d7fe;
    border-radius: 14px;
}

.general-ai-summary strong {
    display: block;
    margin-bottom: 10px;
    color: #5bbce4;
    font-size: 18px;
}

.general-ai-summary p {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.general-ai-summary {
    background: #f5f7ff;
}


.toast {
    position: fixed;
    top: 90px;
    right: 30px;

    padding: 14px 20px;

    background: #1f2937;
    color: white;

    border-radius: 10px;

    font-size: 14px;

    opacity: 0;
    transform: translateY(-10px);

    pointer-events: none;

    transition: 0.25s;

    z-index: 2000;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #16a34a;
}

.toast.error {
    background: #dc2626;
}

.show-more-reviews {
    border: 1px solid #5bbce4;
    background: white;
    color: #5bbce4;

    padding: 11px 20px;
    margin-right: 10px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.2s;
}

.show-more-reviews:hover {
    background: #eff6ff;
}

.nps-title {
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nps-scale {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nps-button {
    width: 38px;
    height: 38px;
    padding: 0;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: white;
    color: #374151;

    cursor: pointer;
}

.nps-button:hover {
    border-color: #5bbce4;
    color: #5bbce4;
}

.nps-button.selected {
    background: #5bbce4;
    border-color: #5bbce4;
    color: white;
}

.nps-labels {
    display: flex;
    justify-content: space-between;

    margin-top: 6px;

    color: #6b7280;
    font-size: 12px;
}


.user-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.user-metric {
    padding: 20px;

    background: #f8fafc;
    border-radius: 12px;
}

.user-metric span {
    display: block;

    color: #6b7280;
    font-size: 14px;
}

.user-metric strong {
    display: block;

    margin: 6px 0;

    font-size: 30px;
}

.user-metric p {
    margin: 0;

    color: #6b7280;
    font-size: 13px;
}

.analytics-empty {
    padding: 16px;

    background: #f8fafc;
    border-radius: 12px;

    color: #6b7280;
}

/* =========================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================= */

@media (max-width: 800px) {

    .container {
        padding: 0 20px;
    }

    .navigation {
        display: flex;
        gap: 14px;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-content {
        min-height: 65px;
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .login-button {
        padding: 9px 14px;
        font-size: 12px;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .hero-logo {
        width: 100%;
    }

    .hero-logo img {
        max-width: 280px;
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .company-search {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .company-search input {
        width: 100%;
        min-width: 0;
        height: 56px;
        padding: 0 18px;
        box-sizing: border-box;
        font-size: 16px;
        border-radius: 12px;
    }

    .company-search button {
        width: 100%;
    }

    .company-result {
        padding: 20px;
    }

    .organization-item {
        flex-direction: column;
        align-items: stretch;
    }

    .organization-item button {
        width: 100%;
    }

    .selected-company-card {
        padding: 20px;
    }

    .company-actions {
        flex-direction: column;
    }

    .company-actions button {
        width: 100%;
    }

    .company-reviews-card,
    .external-reviews-card {
        padding: 20px;
    }

    .company-review-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .external-source-rating {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .external-yandex-link {
        width: 100%;
        text-align: center;
    }

    .analytics-search {
        flex-direction: column;
    }

    .analytics-stats {
        grid-template-columns: 1fr;
    }

    #companyMap {
        height: 320px;
    }
    .analytics-sentiment-grid {
        grid-template-columns: 1fr;
    }
.user-metrics {
        grid-template-columns: 1fr;
    }
    .hero {
    padding: 55px 0;
}

.hero::before {
    width: 180px;
    height: 180px;
}

.hero::after {
    width: 120px;
    height: 120px;
}

.hero-text h1 {
    font-size: 38px;
    letter-spacing: -0.8px;
}

.main-button {
    width: 100%;
}

.features {
    padding: 65px 0;
}

.features h2 {
    font-size: 30px;
    margin-bottom: 32px;
}

.feature-card {
    padding: 26px 22px;
}
}
























/* =====================================================
   НОВАЯ ЦВЕТОВАЯ СХЕМА BRANDWATCH
   TIFFANY / ГОЛУБОЙ
===================================================== */

:root {
    --primary: #68A8D8;
    --primary-dark: #5080D0;

    --primary-light: #DCECF8;
    --primary-soft: #F3F8FC;
    --primary-border: #C4DCEB;

    --text-main: #1D2940;
    --text-soft: #64748B;

    --primary-shadow:
        rgba(80, 128, 208, 0.14);
}


/* Основные кнопки */

.login-button,
.main-button,
.company-search button,
.organization-item button,
#addCompanyReviewButton,
#saveCompanyReviewButton {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    box-shadow:
        0 7px 18px
        var(--primary-shadow);
}

.login-button:hover,
.main-button:hover,
.company-search button:hover,
.organization-item button:hover,
#addCompanyReviewButton:hover,
#saveCompanyReviewButton:hover {
    background: var(--primary-dark);
}


/* Логотип BrandWatch */

.logo {
    color: var(--primary-dark);
}


/* Ссылки */

.navigation a:hover,
.active-nav-link {
    color: var(--primary-dark);
}

.active-nav-link {
    font-weight: 600;
}


/* Поля ввода */

.company-search input:focus,
.company-reviews-card select:focus,
.company-reviews-card textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(91, 188, 228, 0.16)
}


/* Найденные организации */

.organization-item:hover {
    border-color:
        var(--primary-border);

    background:
        var(--primary-soft);
}


/* Выбранная компания */

.selected-company-card {
    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            #ffffff
        );

    border-color:
        var(--primary-border);
}


/* Кнопки Яндекс / 2ГИС / ФССП */

.company-actions button:hover {
    border-color:
        var(--primary);

    color:
        var(--primary-dark);

    background:
        var(--primary-soft);
}


/* ИИ анализ */

.company-review-ai {
    background:
        var(--primary-soft);

    border-color:
        var(--primary-border);
}


/* Аналитика */

.analytics-stat {
    background:
        var(--primary-light);
}


/* =====================================================
   СТРАНИЦА "О ПРОЕКТЕ"
===================================================== */

.about-logo-link {
    text-decoration: none;
}


/* Первый экран */

.about-hero {
    padding: 110px 0 100px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f3fcfb 55%,
            #ddf7f4 100%
        );
}


.about-hero-content {
    max-width: 850px;
}


.about-label {
    display: inline-block;

    margin-bottom: 20px;

    color:
        var(--primary-dark);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}


.about-hero h1 {
    margin-bottom: 28px;

    font-size: 58px;
    line-height: 1.05;
}


.about-hero p {
    max-width: 820px;

    margin-bottom: 18px;

    color: #5f6977;

    font-size: 19px;
    line-height: 1.75;
}


/* =====================================================
   КАРТОЧКИ О ПРОЕКТЕ
===================================================== */

.about-info {
    padding: 90px 0;

    background: #f7fafb;
}


.about-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.about-info-card {
    padding: 34px;

    background: white;

    border:
        1px solid #e2e8ec;

    border-radius: 20px;

    transition: 0.25s;
}


.about-info-card:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--primary-border);

    box-shadow:
        0 18px 45px
        rgba(53, 157, 204, 0.10)
}


.about-info-number {
    margin-bottom: 28px;

    color:
        var(--primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;
}


.about-info-card h2 {
    margin-bottom: 16px;

    font-size: 22px;
}


.about-info-card p {
    color: #6b7280;

    font-size: 15px;
    line-height: 1.65;
}


/* =====================================================
   БЛОК ПОДДЕРЖКИ
===================================================== */

.project-support {
    padding: 90px 0 110px;

    background: white;
}


.project-support-card {
    padding: 50px;

    background:
        linear-gradient(
            135deg,
            #f4fcfb,
            #ffffff
        );

    border:
        1px solid
        var(--primary-border);

    border-radius: 28px;
}


.support-heading {
    max-width: 650px;

    margin-bottom: 45px;
}


.support-heading h2 {
    font-size: 36px;
    line-height: 1.2;
}


/* Логотипы */

.support-logos {
    display: grid;

    grid-template-columns:
        1.15fr 1fr;

    gap: 25px;

    margin-bottom: 35px;
}


.support-logo-item {
    min-height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: white;

    border:
        1px solid #e4eaed;

    border-radius: 20px;
}


.support-logo-item img {
    display: block;

    max-width: 100%;
    max-height: 150px;

    object-fit: contain;
}


/* Официальный текст */

.support-text {
    max-width: 900px;

    padding-top: 32px;

    border-top:
        1px solid
        var(--primary-border);
}


.support-text p {
    color: #4b5563;

    font-size: 16px;
    line-height: 1.7;
}


/* Номер проекта */

.project-number {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 35px;
}


.project-number span {
    color: #6b7280;

    font-size: 14px;
}


.project-number strong {
    color:
        var(--primary-dark);

    font-size: 22px;
}


/* =====================================================
   ПОДВАЛ ABOUT
===================================================== */

.about-footer {
    padding: 35px 0;
}


.about-footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.footer-brand {
    display: block;

    margin-bottom: 7px;

    color: white;

    font-size: 19px;
}


.footer-company-info {
    text-align: right;
}


.footer-company-info p {
    margin: 4px 0;
}


/* =====================================================
   МОБИЛЬНАЯ ВЕРСИЯ ABOUT
===================================================== */

@media (max-width: 800px) {

    .about-hero {
        padding:
            70px 0;
    }


    .about-hero h1 {
        font-size:
            42px;
    }


    .about-hero p {
        font-size:
            17px;
    }


    .about-info-grid {
        grid-template-columns:
            1fr;
    }


    .project-support-card {
        padding:
            28px 20px;
    }


    .support-heading h2 {
        font-size:
            28px;
    }


    .support-logos {
        grid-template-columns:
            1fr;
    }


    .support-logo-item {
        min-height:
            150px;
    }


    .about-footer-content {
        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .footer-company-info {
        text-align:
            left;
    }
}