/*
Theme Name: URRF
Theme URI: https://urrf.org
Author: Ukraine Resilience & Recovery Foundation
Author URI: https://urrf.org
Description: Ukraine Resilience & Recovery Foundation — Official Website Theme. One-page bilingual (UA/EN) responsive theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urrf
Tags: one-page, bilingual, responsive, custom-colors
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --color-primary:      #1d3461;
    --color-primary-dark: #152548;
    --color-secondary:    #c9a052;
    --color-secondary-dk: #a8832e;
    --color-white:        #ffffff;
    --color-light:        #f4f6fb;
    --color-text:         #2c3e50;
    --color-text-muted:   #6c7a8d;
    --color-border:       #dde2ed;
    --font-main:          'Inter', sans-serif;
    --trans:              0.3s ease;
    --shadow-sm:          0 2px 12px rgba(29, 52, 97, 0.08);
    --shadow-md:          0 4px 24px rgba(29, 52, 97, 0.12);
    --shadow-lg:          0 8px 40px rgba(29, 52, 97, 0.16);
    --radius:             8px;
    --radius-lg:          16px;
    --radius-xl:          24px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--trans);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

em { font-style: normal; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
h4 { font-size: 1rem; }

p {
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section--light {
    background: var(--color-light);
}

/* Section Header */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.section__title {
    margin-bottom: 16px;
}

.section__subtitle {
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 5px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--trans);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn--primary:hover {
    background: var(--color-secondary-dk);
    border-color: var(--color-secondary-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 160, 82, 0.35);
    color: var(--color-primary);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* =============================================
   LANGUAGE TOGGLE
   Language is now server-side (PHP). No data-lang JS needed.
   ============================================= */

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: background var(--trans), padding var(--trans), box-shadow var(--trans);
}

.site-header.scrolled {
    background: var(--color-primary);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo img {
    /* height: 48px; */
    height: 200px;
    width: auto;
    /* filter: brightness(0) invert(1); */
    transition: height var(--trans);
}

.site-header.scrolled .header__logo img {
    /* height: 40px; */
    height: 80px;
}

/* Nav */
.header__nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav__link {
    display: block;
    padding: 7px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: all var(--trans);
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.07);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    display: inline-block;
    background: none;
    border: 1px solid transparent;
    padding: 5px 9px;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    border-radius: 3px;
    transition: all var(--trans);
    text-decoration: none;
}

.lang-btn.active {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.lang-btn:hover:not(.active) {
    color: var(--color-white);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.burger__line {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--trans);
}

.burger.active .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active .burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay (mobile) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
}

.nav-overlay.visible { display: block; }

/* =============================================
   HERO
   ============================================= */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(150deg, #1d3461 0%, #152548 55%, #0d1a2e 100%);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 10% 60%, rgba(201, 160, 82, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(74, 122, 196, 0.1) 0%, transparent 50%);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cpath stroke='%23ffffff' stroke-width='0.5' stroke-opacity='0.04' d='M0 0h80v80H0z'/%3E%3Cpath stroke='%23c9a052' stroke-width='0.5' stroke-opacity='0.03' d='M40 0v80M0 40h80'/%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 260px 0 80px;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.hero__label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-secondary);
    flex-shrink: 0;
}

.hero__title {
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero__title em {
    color: var(--color-secondary);
}

.hero__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    animation: scroll-bounce 2.4s infinite;
    z-index: 1;
    border: none;
    background: none;
}

.hero__scroll svg {
    width: 18px;
    height: 18px;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(9px); opacity: 0.7; }
}

/* =============================================
   ABOUT
   ============================================= */
.about__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 80px;
}

.about__intro p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.about__intro p:last-child { margin-bottom: 0; }

/* Mission / Vision / Values */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.mvv-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--trans);
}

.mvv-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.mvv-card:hover::after { transform: scaleX(1); }

.mvv-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), #2a4a82);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mvv-card__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 1.5;
}

.mvv-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.mvv-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.55;
}

/* Values */
.values-section {
    text-align: center;
    margin-bottom: 72px;
}

.values-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.value-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: rgba(29, 52, 97, 0.05);
    border: 1px solid rgba(29, 52, 97, 0.12);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--trans);
    cursor: default;
}

.value-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.value-tag::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Team */
.team__title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 36px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 36px 24px 28px;
    text-align: center;
    transition: all var(--trans);
    border: 1px solid transparent;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(201, 160, 82, 0.3);
    background: var(--color-white);
}

.team-card__avatar {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--color-primary), #2a4a82);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    border: 3px solid rgba(201, 160, 82, 0.3);
    overflow: hidden;
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__name {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.team-card__desc {
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   AREAS OF ACTIVITY
   ============================================= */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.area-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--trans);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.area-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.area-card:hover::before { transform: scaleX(1); }

.area-card__num {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(29, 52, 97, 0.06);
    line-height: 1;
    margin-bottom: 4px;
    font-feature-settings: "tnum";
}

.area-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), #2a4a82);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.area-card__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.area-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.area-card p {
    font-size: 0.88rem;
    margin: 0;
}

/* =============================================
   PROJECTS
   ============================================= */
#projects {
    background: var(--color-primary);
}

#projects .section__label { color: var(--color-secondary); }
#projects .section__title { color: var(--color-white); }
#projects .section__subtitle { color: rgba(255, 255, 255, 0.65); }
#projects .divider { background: var(--color-secondary); }

.projects__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.projects__text h3 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.projects__text p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.projects__principles {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.principle-item::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

.projects__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--trans);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(201, 160, 82, 0.3);
}

.stat-card__num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    line-height: 1.4;
}

/* =============================================
   PARTNERS & DONORS
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 36px 20px 28px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--trans);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(201, 160, 82, 0.4);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(29,52,97,0.07), rgba(29,52,97,0.03));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(29, 52, 97, 0.1);
    transition: all var(--trans);
}

.feature-card:hover .feature-card__icon {
    background: linear-gradient(135deg, var(--color-primary), #2a4a82);
    border-color: transparent;
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--trans);
}

.feature-card:hover .feature-card__icon svg {
    stroke: var(--color-secondary);
}

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    margin: 0;
}

/* =============================================
   IMPACT & REPORTING
   ============================================= */
.impact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.impact__intro p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.impact__intro p:last-child { margin-bottom: 28px; }

.impact__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.impact__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--trans);
}

.impact__item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(201, 160, 82, 0.3);
}

.impact__item__icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-primary), #2a4a82);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact__item__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.impact__item h4 {
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.impact__item p {
    font-size: 0.83rem;
    margin: 0;
}

/* =============================================
   FOR DONORS
   ============================================= */
#donors {
    background: linear-gradient(150deg, #1d3461 0%, #152548 100%);
}

#donors .section__label { color: var(--color-secondary); }
#donors .section__title { color: var(--color-white); }
#donors .section__subtitle { color: rgba(255, 255, 255, 0.65); }
#donors .divider { background: var(--color-secondary); }

.donors__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.donors__text h3 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.donors__text p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.donors__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.donor-feature {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    padding: 22px 18px;
    transition: all var(--trans);
}

.donor-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 160, 82, 0.35);
    transform: translateY(-3px);
}

.donor-feature__icon {
    width: 40px;
    height: 40px;
    background: rgba(201, 160, 82, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.donor-feature__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.donor-feature__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.donor-feature p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.55;
}

/* =============================================
   CONTACTS
   ============================================= */
.contacts__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), #2a4a82);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item__body {}

.contact-item__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 3px;
}

.contact-item__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.contact-item__text a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-item__text a:hover {
    color: var(--color-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--color-light);
    border-radius: var(--radius-xl);
    padding: 0 40px;
}

.contact-form__title {
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 7px;
    letter-spacing: 0.03em;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--trans), box-shadow var(--trans);
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 52, 97, 0.08);
}

.form-control::placeholder {
    color: #aab4c4;
}

textarea.form-control {
    height: 110px;
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    width: 100%;
    padding: 13px;
    margin-top: 22px;
    font-size: 0.92rem;
}

.form-message {
    margin-top: 14px;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-message--error {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #0d1a2e;
    padding: 60px 0 28px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 40px;
}

.footer__logo-img {
    width: auto;
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.7;
}

.footer__col-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 18px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer__nav a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--trans);
}

.footer__nav a:hover { color: var(--color-white); }

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer__contact-info a,
.footer__contact-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    transition: color var(--trans);
}

.footer__contact-info a:hover { color: var(--color-white); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
    .areas-grid,
    .mvv-grid,
    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
    .section { padding: 68px 0; }

    /* Header mobile */
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100dvh;
        background: var(--color-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 84px 20px 36px;
        transition: right var(--trans);
        box-shadow: -6px 0 32px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 999;
    }

    .header__nav.open { right: 0; }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        width: 100%;
    }

    .nav__link {
        width: 100%;
        font-size: 0.9rem;
        padding: 11px 14px;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        width: 100%;
    }

    .burger { display: flex; }

    /* Sections layout */
    .about__top,
    .projects__layout,
    .impact__layout,
    .donors__layout,
    .contacts__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .areas-grid,
    .mvv-grid,
    .team-grid,
    .features-grid { grid-template-columns: 1fr; }

    .donors__features { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr; gap: 28px; }

    .hero__actions { flex-direction: column; align-items: flex-start; }
    .hero__content { padding-bottom: 60px; }

    .form-row { grid-template-columns: 1fr; }

    .contact-form { padding: 28px 20px; }

    .footer__bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================= */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 52px 0; }
    .projects__stats { grid-template-columns: 1fr; }
    h1 { font-size: 1.9rem; }
}
