/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.header--compact {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: gap 0.35s ease;
}

.header--compact .container {
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    transition: gap 0.35s ease;
}

.header--compact .logo {
    gap: 12px;
}

.logo img {
    height: 80px;
    width: auto;
    margin: 0;
    flex-shrink: 0;
    transition: height 0.35s ease;
}

.header--compact .logo img {
    height: 48px;
}

.logo-text {
    min-width: 0;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1px;
    line-height: 1.15;
    transition: font-size 0.35s ease, margin 0.35s ease;
}

.header--compact .logo-text h1 {
    font-size: 1.45rem;
    margin-bottom: 0;
}

.logo-text .tagline {
    font-size: 0.9rem;
    line-height: 1.35;
    opacity: 0.9;
    max-height: 4em;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
}

.header--compact .logo-text .tagline {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/fon.jpeg") center/cover no-repeat;
    opacity: 0.45;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #d32f2f;
    color: white;
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a237e;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #d32f2f, #ff5722);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-team {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 2px solid #eee;
}

.about-team-title {
    text-align: center;
    font-size: 1.75rem;
    color: #1a237e;
    margin-bottom: 36px;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
}

.about-team-grid .team-card:nth-child(1) {
    grid-column: 1 / 5;
}

.about-team-grid .team-card:nth-child(2) {
    grid-column: 5 / 9;
}

.about-team-grid .team-card:nth-child(3) {
    grid-column: 9 / 13;
}

.about-team-grid .team-card:nth-child(4) {
    grid-column: 1 / 5;
}

.about-team-grid .team-card:nth-child(5) {
    grid-column: 5 / 9;
}

.about-team-grid .team-card:nth-child(6) {
    grid-column: 9 / 13;
}

.about-team-grid .team-card:nth-child(7) {
    grid-column: 1 / 5;
}

.about-team-grid .team-card:nth-child(8) {
    grid-column: 5 / 9;
}

.about-team-grid .team-card:nth-child(9) {
    grid-column: 9 / 13;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #1a237e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #e8eaf6 0%, #f5f5f5 100%);
    overflow: hidden;
}

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

.team-photo img[src$=".svg"] {
    object-fit: contain;
    padding: 20px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.team-info {
    padding: 18px 16px 22px;
    width: 100%;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.35;
    margin: 0 0 8px;
}

.team-role {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #666;
    margin: 0;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* News Section */
.news {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: zoom-in;
}

.news-image--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    cursor: default;
}

.news-image--fallback img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 28px;
    cursor: default;
}

body.news-lightbox-open {
    overflow: hidden;
}

.news-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.news-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.news-lightbox[hidden] {
    display: flex;
}

.news-lightbox-img {
    max-width: min(95vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
    pointer-events: none;
}

.news-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s;
}

.news-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a237e;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #b71c1c;
}

.news-loading,
.news-empty {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.news-empty {
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-carousel {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.news-carousel-title {
    text-align: center;
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 25px;
}

.news-carousel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-carousel-viewport {
    flex: 1;
    overflow: hidden;
}

.news-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.news-carousel-track .news-card {
    flex: 0 0 100%;
    max-width: 100%;
}

.news-carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 2px solid #1a237e;
    border-radius: 50%;
    background: white;
    color: #1a237e;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.news-carousel-btn:hover:not(:disabled) {
    background: #1a237e;
    color: white;
}

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

.news-carousel-counter {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 0.95rem;
}

/* Donate Section */
.donate {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
}

.donate .section-title {
    color: white;
}

.donate .section-title::after {
    background: linear-gradient(to right, #ff5722, #ff9800);
}

.donate-notice {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 4px solid  #ff5722;
    border-radius: 10px;
    text-align: center;
}

.donate-notice-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.donate-notice strong {
    color: #ff9800;
    
}

.donate-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-bottom: 50px;
}

.donate-card {
    background: white;
    color: #333;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.donate-card-title {
    font-size: 1.35rem;
    color: #1a237e;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.donate-details {
    margin: 0;
}

.donate-details-row {
    display: grid;
    grid-template-columns: minmax(120px, 38%) 1fr;
    gap: 12px 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.donate-details-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.donate-details dt {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0;
}

.donate-details dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

.donate-mono {
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #1a237e;
}

.donate-payments-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.donate-payments-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.donate-payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 28px 18px;
    transition: transform 0.3s, background-color 0.3s;
}

.donate-payment:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
}

.donate-payment-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 12px;
}

.donate-payment-label {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.donate-payment-value {
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    line-height: 1.4;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-decoration: none;
}

/* Safari на iOS иногда превращает номера карт в синие ссылки */
.donate-payment-value a:not(.donate-payment-link) {
    color: inherit !important;
    text-decoration: none !important;
    -webkit-text-fill-color: inherit;
    pointer-events: none;
}

.donate-card {
    -webkit-text-size-adjust: 100%;
}

.donate-details dd a {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}

.donate-payment-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s, opacity 0.3s;
}

.donate-payment-link:hover {
    border-bottom-color: white;
    opacity: 0.9;
}

.donate-payment-hint {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 18px;
    line-height: 1.5;
}

.donate-copy-btn {
    margin-top: auto;
    padding: 10px 18px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    background: transparent;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.donate-copy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.donate-copy-btn.is-copied {
    border-color: #81c784;
    background: rgba(129, 199, 132, 0.2);
}

.btn-donate {
    background: linear-gradient(to right, #ff5722, #ff9800);
    color: white;
    padding: 12px 16px;
    font-size: 0.95rem;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.35;
    white-space: normal;
}

.btn-donate:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.35);
}

.donate-payment--qr {
    justify-content: flex-start;
}

@media (max-width: 1100px) {
    .donate-payments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .donate-payments-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .donate-payment {
        padding: 24px 16px;
    }
}

/* Humanitarian aid points */
.aid-points {
    padding: 80px 0;
    background-color: #f9f9f9;
    scroll-margin-top: 100px;
}

.aid-points-intro {
    max-width: 720px;
    margin: -30px auto 36px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
}

.aid-points-loading,
.aid-points-empty {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.aid-points-empty {
    padding: 36px 28px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.aid-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.aid-point-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: white;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #1a237e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aid-point-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.aid-point-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.35;
    margin: 0;
}

.aid-point-location {
    font-size: 1rem;
    line-height: 1.55;
    color: #444;
    margin: 0;
}

.aid-point-addresses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aid-point-addresses li {
    position: relative;
    padding-left: 16px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #555;
}

.aid-point-addresses li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d32f2f;
}

.aid-point-phones {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aid-point-phone {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.aid-point-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a237e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.aid-point-phone-link::before {
    content: "☎";
    font-size: 0.95rem;
    line-height: 1;
}

.aid-point-phone-link:hover {
    color: #d32f2f;
}

.aid-point-phone-name {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0d1642 0%, #0a1030 100%);
    color: white;
    padding: 48px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-col--brand {
    max-width: 320px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-bottom: 18px;
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
}

.footer-contact-item a {
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s, opacity 0.3s;
}

.footer-contact-item a:hover {
    color: #ffcc80;
}

.footer-contact-person {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-social-icon {
    width: 26px;
    height: 26px;
    display: block;
}

.footer-social-link--max {
    position: relative;
    overflow: hidden;
}

.footer-social-icon--max-mark {
    width: 26px;
    height: 26px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-social-icon--max-color {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-link--max:hover {
    background: #ffffff;
    border-color: #ffffff;
}

.footer-social-link--max:hover .footer-social-icon--max-mark {
    opacity: 0;
}

.footer-social-link--max:hover .footer-social-icon--max-color {
    opacity: 1;
}

.footer-social-link--vk:hover {
    background: #0077ff;
    border-color: #0077ff;
}

.footer-social-link--tg:hover {
    background: #229ed9;
    border-color: #229ed9;
}

.footer-divider {
    height: 1px;
    margin: 36px 0 24px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-bottom {
    text-align: center;
}

.footer-copy {
    margin: 0 0 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-note {
    margin: 0;
    opacity: 0.65;
    font-style: italic;
    font-size: 0.9rem;
}

.footer-legal-links {
    margin: 8px 0;
    font-size: 0.88rem;
    opacity: 0.85;
}

.footer-legal-links a {
    color: #ffcc80;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-legal-links a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.footer-legal-sep {
    margin: 0 8px;
    opacity: 0.5;
}

.logo--link {
    text-decoration: none;
    color: inherit;
}

.legal-page {
    padding: 48px 0 80px;
    background: #f9f9f9;
    min-height: 60vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px 36px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-title {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 8px;
}

.legal-updated {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.legal-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #444;
}

.legal-content h2 {
    font-size: 1.25rem;
    color: #1a237e;
    margin: 28px 0 12px;
}

.legal-content h3 {
    font-size: 1.05rem;
    color: #333;
    margin: 16px 0 8px;
}

.legal-content p {
    line-height: 1.75;
    margin-bottom: 12px;
    color: #444;
}

.legal-list {
    margin: 0 0 16px 1.25rem;
    line-height: 1.75;
    color: #444;
}

.legal-content a {
    color: #1a237e;
}

.legal-content a:hover {
    color: #d32f2f;
}

.legal-back {
    margin-top: 36px;
    text-align: center;
}

/* Cookie banner (Яндекс.Метрика) */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11000;
    padding: 16px 0;
    background: rgba(13, 22, 66, 0.97);
    color: white;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 240px;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    opacity: 0.95;
}

.cookie-banner__text a {
    color: #ffcc80;
}

.cookie-banner__actions {
    flex-shrink: 0;
}

.cookie-banner__btn {
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.cookie-banner__btn--accept {
    background: #d32f2f;
    color: white;
}

.cookie-banner__btn--accept:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .header--compact {
        padding: 8px 0;
    }

    .header--compact .container {
        gap: 10px;
    }

    .header--compact .logo img {
        height: 40px;
    }

    .header--compact .logo-text h1 {
        font-size: 1.25rem;
    }

    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content,
    .donate-content {
        grid-template-columns: 1fr;
    }

    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-team-grid .team-card:nth-child(n) {
        grid-column: auto;
    }

    .donate-details-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .donate-payment-value {
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .news-grid,
    .aid-points-grid {
        grid-template-columns: 1fr;
    }

    .aid-points-intro {
        margin-top: -20px;
        padding: 0 4px;
    }

    .news-carousel-controls {
        gap: 10px;
    }

    .news-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-col--brand {
        max-width: none;
    }

    .footer-contact-list {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .legal-content {
        padding: 28px 20px;
    }

    .legal-title {
        font-size: 1.6rem;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner__btn {
        width: 100%;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}
