:root {
    --font-primary: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    --color-white: #ffffff;
    --color-text: #1b1f3b;
    --color-muted: #4b5570;
    --color-accent: #d62828; /* красный */
    --color-accent-dark: #a31414;
    --color-accent-blue: #0047ab; /* синий */
    --color-border: #dfe4f0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background: #f4f6fb;
    color: var(--color-text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo span {
    line-height: 1.2;
}

.main-nav {
    display: flex;
    gap: 24px;
    font-weight: 500;
}

@media (max-width: 780px) {
    .site-header__inner {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        height: auto;
        padding: 16px 24px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 25px rgba(13, 17, 37, 0.15);
        flex-direction: column;
        gap: 16px;
        padding: 16px 24px 24px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        font-size: 15px;
    }

    .main-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.burger span {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 780px) {
    .burger {
        display: inline-flex;
    }
}

.site-main {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-bottom: 96px;
}

.section {
    padding: 48px 0;
}

.section--gray {
    background: var(--color-white);
}

.section--partners {
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.9), rgba(0, 71, 171, 0.85));
    color: var(--color-white);
    border-radius: 0;
    padding: 72px 0;
}

.section__head--light h2,
.section__head--light .eyebrow {
    color: var(--color-white);
}

.btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(4, 15, 40, 0.25);
}

.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .section {
        padding: 32px 0;
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.section__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 900px) {
    .section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
}

.section__grid--contact {
    align-items: stretch;
}

.section__card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(54, 57, 77, 0.08);
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin: 0 0 8px;
}

h1, h2, h3 {
    margin: 0 0 16px;
    font-weight: 700;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
}

h3 {
    font-size: 22px;
}

.stats {
    list-style: none;
    display: grid;
    gap: 24px;
    padding: 0;
    margin: 32px 0 0;
}

@media (min-width: 600px) {
    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.stats strong {
    display: block;
    font-size: 32px;
    color: var(--color-accent-dark);
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: grid;
    gap: 16px;
}

.benefit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.15), rgba(0, 71, 171, 0.2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
    stroke-width: 1.6;
    fill: none;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--color-accent);
}

.benefit-item strong {
    display: block;
    margin-bottom: 4px;
}

.benefit-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--small {
    padding: 14px 28px;
    font-size: 16px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-blue));
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(0, 71, 171, 0.35);
}

.btn--ghost {
    border-color: var(--color-border);
    color: var(--color-text);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider {
    display: grid;
}

.slide {
    min-height: 540px;
    display: none;
    position: relative;
    color: var(--color-white);
}

.slide.is-active {
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(214, 40, 40, 0.9), rgba(0, 19, 70, 0.95));
}

.slide__media {
    position: absolute;
    inset: 0;
    background: url('/img/fon-1.jpg') top center/cover no-repeat;
    opacity: 0.35;
}

.slide__media--alt {
    background-image: url('https://images.unsplash.com/photo-1575517111478-7f6b5c8f5dd0?auto=format&fit=crop&w=1400&q=80');
}

.slide__media--dark {
    background-image: url('https://images.unsplash.com/photo-1459535653751-d571815e906b?auto=format&fit=crop&w=1400&q=80');
}

.slide__content {
    position: relative;
    max-width: 640px;
    padding: 96px 24px;
}

.slide__content--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .slide__content--split {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    }
}

.slide__visual {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.slide__logo {
    width: min(540px, 80vw);
    height: auto;
}

.slide__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.slide__text .eyebrow {
    color: var(--color-white);
}

.slide__text h1 {
    font-size: clamp(24px, 3.5vw, 38px);
    padding-top: 56px;
}

@media (max-width: 640px) {
    .slide {
        min-height: 420px;
    }

    .slide__content {
        padding: 64px 16px;
    }

    .slide__logo {
        width: min(320px, 80vw);
    }
}

.slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.slider__controls {
    position: absolute;
    inset: auto 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.slider__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
}

.slider__dots {
    display: flex;
    gap: 8px;
}

.cards {
    display: grid;
    gap: 24px;
}

@media (min-width: 900px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cards--news .card {
    min-height: 100%;
}

.cards--news .card .btn {
    margin-top: auto;
}

.card__link {
    font-weight: 600;
    color: var(--color-accent-dark);
}

.card__eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-muted);
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: rgba(7, 12, 30, 0.75);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal__dialog {
    background: var(--color-white);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(4, 15, 40, 0.35);
    display: flex;
    flex-direction: column;
}

.modal__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    flex-shrink: 0;
}

.modal__video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    flex-shrink: 0;
    background: #000;
}

.modal__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal__dialog--wide {
    max-width: 960px;
}

.modal__image--large {
    height: auto;
    max-height: 600px;
}

.modal__body {
    padding: 24px;
}

.modal__date {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    margin: 0 0 8px;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: var(--color-white);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.modal__close:hover {
    background: rgba(0, 0, 0, 0.65);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav--prev {
    left: 16px;
}

.gallery-nav--next {
    right: 16px;
}

.gallery-modal .modal__dialog {
    position: relative;
}

.partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.partners-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.partners-track {
    display: flex;
    gap: 24px;
    scroll-behavior: smooth;
    padding: 8px 0;
}

.partner-logo {
    flex: 0 0 calc((100% - (3 * 24px)) / 4);
    width: calc((100% - (3 * 24px)) / 4);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-sizing: border-box;
}

.partner-logo img {
    max-height: 100px;
    width: auto;
    filter: grayscale(0);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    position: relative;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}

.carousel-btn--prev::before {
    transform: translate(-50%, -50%) rotate(225deg);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.partners-empty {
    color: rgba(255, 255, 255, 0.8);
}

.partners-fade {
    display: none;
}

.partner-logo--fade {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.partner-logo--fade.is-visible {
    opacity: 1;
}

@media (max-width: 640px) {
    .partners-carousel--desktop {
        display: none;
    }

    .partners-fade {
        display: flex;
        justify-content: center;
        position: relative;
        min-height: 140px;
    }

    .partner-logo--fade {
        position: absolute;
        min-width: auto;
        width: min(240px, 80vw);
        padding: 20px;
        background: rgba(255, 255, 255, 0.18);
    }

    .partner-logo--fade img {
        max-height: 56px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery__item {
    margin: 0;
}

.gallery__thumb {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(20, 24, 36, 0.12);
}

.gallery__thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery__thumb:hover img {
    transform: scale(1.05);
}

.gallery__item figcaption {
    margin-top: 12px;
    font-weight: 600;
    color: var(--color-text);
}

.gallery-empty {
    color: var(--color-muted);
}

/* Таблица документов */
.documents-table-wrapper {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(54, 57, 77, 0.08);
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
}

.documents-table thead {
    background: #f4f6fb;
}

.documents-table th {
    padding: 12px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    border-bottom: 2px solid var(--color-border);
}

.documents-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s ease;
}

.documents-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.documents-table tbody tr:hover {
    background: #f0f2f5;
}

.documents-table tbody tr:last-child {
    border-bottom: none;
}

.documents-table td {
    padding: 12px 24px;
    vertical-align: middle;
}

.documents-table__name {
    font-weight: 500;
    color: var(--color-text);
}

.documents-table__type {
    color: var(--color-muted);
    font-size: 14px;
}

.documents-table__size {
    color: var(--color-muted);
    font-size: 14px;
}

.documents-table__action {
    text-align: right;
}

.documents-table__link {
    color: var(--color-accent-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.documents-table__link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.documents-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-muted);
    background: var(--color-white);
    border-radius: 16px;
}

@media (max-width: 768px) {
    .documents-table-wrapper {
        overflow-x: auto;
    }
    
    .documents-table {
        min-width: 600px;
    }
    
    .documents-table th,
    .documents-table td {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Раздел команды */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.team-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(54, 57, 77, 0.12);
}

.team-card__photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
    flex-shrink: 0;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.team-card__name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
}

.team-card__position {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .team-grid {
        gap: 24px;
        margin-top: 32px;
    }
    
    .team-card {
        padding: 24px 20px;
    }
    
    .team-card__photo {
        width: 150px;
        height: 150px;
    }
    
    .team-card__name {
        font-size: 16px;
    }
}

.section--contact {
    background: var(--color-white);
    border-radius: 32px 32px 0 0;
    padding-bottom: 64px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 16px;
}

.contact-list span {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-muted);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 500;
}

.social-links {
    margin-top: 32px;
}

.social-links__title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 16px;
}

.social-links__list {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: color 0.2s ease, transform 0.2s ease;
    border-radius: 10px;
}

.social-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.contact-form input,
.contact-form textarea {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 14px 16px;
    font: inherit;
}

.contact-form .btn {
    padding: 14px 20px;
    width: auto;
    align-self: flex-start;
}

.form-note {
    font-size: 13px;
    color: var(--color-muted);
}

.site-footer {
    background: #0e0f19;
    color: var(--color-white);
    padding: 32px 0;
}

.site-footer__grid {
    display: grid;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 800px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
    }
}

@media (max-width: 799px) {
    .site-footer__copy {
        text-align: left;
    }
}

.site-footer__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.site-footer__copy {
    text-align: right;
}

.site-footer__copy a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.site-footer__copy a:hover {
    color: var(--color-white);
}

/* Стили для страниц политик */
.privacy-page h1,
.personal-data-page h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.privacy-page h2,
.personal-data-page h2 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.privacy-page ul,
.personal-data-page ul {
    margin: 16px 0;
    padding-left: 24px;
}

.privacy-page li,
.personal-data-page li {
    margin-bottom: 8px;
}

.privacy-page a,
.personal-data-page a {
    color: var(--color-accent);
    text-decoration: underline;
}

.privacy-page a:hover,
.personal-data-page a:hover {
    color: var(--color-accent-dark);
}

/* Попап успешной отправки формы */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 31, 59, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px;
}

.success-popup.is-visible {
    opacity: 1;
    visibility: visible;
}

.success-popup__dialog {
    background: var(--color-white);
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(54, 57, 77, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
}

.success-popup.is-visible .success-popup__dialog {
    transform: translateY(0);
}

.success-popup__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s ease 0.1s both;
}

.success-popup__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-white);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.success-popup__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px;
    animation: fadeInUp 0.3s ease 0.2s both;
}

.success-popup__message {
    font-size: 16px;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
    animation: fadeInUp 0.3s ease 0.3s both;
}

.success-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.success-popup__close:hover {
    background: rgba(27, 31, 59, 0.1);
}

.success-popup__close svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .success-popup__dialog {
        padding: 32px 24px;
    }
    
    .success-popup__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }
    
    .success-popup__icon svg {
        width: 32px;
        height: 32px;
    }
    
    .success-popup__title {
        font-size: 20px;
    }
    
    .success-popup__message {
        font-size: 14px;
    }
}

