:root {
    --primary: #1A5F3D;
    --accent: #FFB800;
    --dark: #0D1F1A;
    --light: #F8FAF4;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    --grain: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grain);
    pointer-events: none;
    z-index: 1000;
    mix-blend-mode: overlay;
    opacity: 0.6;
}

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

/* ========== HEADER ========== */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #2A7F5D 100%);
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(5deg); }
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(-2deg);
    margin-bottom: 2rem;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-2deg);
    }
}

h1 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInRight 0.8s ease-out 0.2s backwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    max-width: 600px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

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

.accent-line {
    color: var(--accent);
    font-weight: 700;
}

/* ========== MAIN ========== */
main {
    padding: 4rem 0;
}

/* Загальні стилі для секцій */
section {
    margin-bottom: 5rem;
    animation: scaleIn 0.6s ease-out backwards;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.section-number {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.section-header h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    line-height: 1.2;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    animation-delay: 0.2s;
}

.about-content {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(26, 95, 61, 0.08);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.lead-text strong {
    color: var(--primary);
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--light) 0%, rgba(255, 184, 0, 0.05) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 95, 61, 0.12);
}

.about-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-item:nth-child(2) .about-icon {
    animation-delay: 0.2s;
}

.about-item:nth-child(3) .about-icon {
    animation-delay: 0.4s;
}

.about-item h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.about-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
    animation-delay: 0.4s;
}

.cta-content {
    background: var(--white);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(26, 95, 61, 0.12);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.cta-content::after {
    content: '📍';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    opacity: 0.08;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.1); opacity: 0.12; }
}

.description {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.description strong {
    color: var(--primary);
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(26, 95, 61, 0.1);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    padding-left: 1rem;
    color: var(--primary);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #2A7F5D 100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.button-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.cta-button:hover .button-bg {
    transform: scale(1.05);
}

.cta-button:hover .arrow {
    transform: translateX(6px);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
    z-index: 3;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-note {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
}

/* ========== INFO SECTION ========== */
.info-section {
    animation-delay: 0.6s;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 95, 61, 0.15);
    border-color: var(--accent);
}

.info-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-logo .logo {
    background: var(--accent);
    color: var(--dark);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-motto {
    font-weight: 600;
    color: var(--accent) !important;
    font-size: 1.1rem;
}

/* ========== ANIMATIONS ========== */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 3rem 0 4rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .about-content,
    .cta-content {
        padding: 2rem;
    }

    .cta-content::after {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }

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

    .info-cards {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-content,
    .cta-content,
    .info-card {
        padding: 1.5rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles для доступності */
a:focus,
button:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
