:root {
    --bg-color: #f4f7f5;
    --card-bg: #ffffff;
    --primary-dark: #123430;
    --accent-teal: #1a716c;
    --accent-light: #28938e;
    --text-main: #2b3a38;
    --text-muted: #607270;
    --req-box-green: #e1edea;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

header {
    background-color: var(--card-bg);
    padding: 15px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: none;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.lang-switch {
    display: flex;
    gap: 5px;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    padding: 3px 8px;
    border-radius: 4px;
}

.lang-switch button {
    cursor: pointer;
    padding: 2px 5px;
    color: var(--text-main);
    border: 0;
    background: transparent;
    font: inherit;
}

.lang-switch button.active {
    background-color: var(--accent-teal);
    color: white;
    border-radius: 2px;
}

.lang-switch button:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.btn-nav {
    background-color: var(--accent-teal);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-nav:hover {
    background-color: var(--accent-light);
}

.hero-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero-banner {
    background-color: var(--primary-dark);
    border-radius: 24px;
    color: white;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: 520px;
}

.hero-text {
    max-width: 55%;
    z-index: 2;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.05rem;
    color: #cce2e0;
    margin-bottom: 30px;
}

.btn-hero {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-hero:hover {
    background-color: white;
    color: var(--primary-dark);
}

.hero-image-container {
    width: 40%;
    height: 350px;
    background-color: var(--req-box-green);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
}

.hero-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-content-block {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid #eaeaea;
}

.info-section {
    padding-top: 40px;
    border-bottom: 1px solid #f0f4f2;
    padding-bottom: 40px;
}

.info-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.text-content-area {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #cedcd7;
    color: var(--text-main);
    font-size: 1.05rem;
}

.supplies-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.supplies-group {
    background-color: var(--bg-color);
    padding: 24px 30px;
    border-radius: 14px;
    border: 1px solid #cedcd7;
}

.supplies-group h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.supplies-group ul {
    padding-left: 22px;
}

.supplies-group li + li {
    margin-top: 8px;
}

/* Стили для галереи медицинских документов */
.docs-helper-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.docs-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 15px;
}

.doc-photo-item {
    background-color: #ffffff;
    border: 1px solid #cedcd7;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.doc-link-card {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.doc-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal);
    box-shadow: 0 6px 16px rgba(26, 113, 108, 0.08);
}

.doc-img-box {
    background-color: var(--bg-color);
    border-radius: 10px;
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.doc-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.doc-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    line-height: 1.3;
}

/* Стили реквизитов */
.requisites-line-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.req-card-box {
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--primary-dark);
    box-shadow: 0 4px 15px rgba(18, 52, 48, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: var(--card-bg);
    gap: 20px;
}

.req-card-box.tinted-green {
    background-color: var(--req-box-green);
}

.req-card-left {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.req-card-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.req-card-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.req-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.req-card-address-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.req-card-address {
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--card-bg);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #cedcd7;
    color: var(--accent-teal);
    font-weight: 700;
    word-break: break-all;
    font-size: 1.05rem;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.02);
    flex-grow: 1;
    margin-bottom: 0;
}

.btn-copy {
    background-color: var(--accent-teal);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-copy:hover {
    background-color: var(--accent-light);
}

.req-card-memo {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
    word-wrap: break-word;
}

.req-qr-container {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #cedcd7;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.req-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fundraising-progress {
    margin-top: 30px;
    padding: 24px 30px;
    border: 1px solid #cedcd7;
    border-radius: 14px;
    background-color: var(--bg-color);
}

.fundraising-progress h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.fundraising-progress-details {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.fundraising-progress-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background-color: #cedcd7;
}

.fundraising-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background-color: var(--accent-teal);
}

footer {
    background-color: var(--primary-dark);
    color: #cce2e0;
    padding: 30px 5%;
    margin-top: 60px;
    font-size: 0.9rem;
    text-align: center;
}

/* Адаптивная верстка */
@media (max-width: 1200px) {
    .requisites-line-grid { grid-template-columns: 1fr; gap: 20px; }
    .docs-images-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 650px) {
    .docs-images-grid { grid-template-columns: 1fr; gap: 15px; }
    .supplies-content { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 992px) {
    .hero-banner { flex-direction: column; padding: 40px; gap: 30px; min-height: auto; }
    .hero-text { max-width: 100%; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; margin-bottom: 20px; }
    .hero-image-container { width: 100%; height: 280px; }
    .req-card-box { flex-direction: column; align-items: stretch; padding: 25px; }
    .req-qr-container { order: -1; margin: 0 auto 15px auto; }
    .req-card-address-wrapper { flex-direction: column; align-items: stretch; gap: 8px; }
    .info-content-block { padding: 20px; margin-top: 30px; }
    header { padding: 15px 5%; justify-content: center; }
}
