:root {
    --color-primary: #D8EC48;
    --color-secondary: #0A1A2F;
    --color-bg-body: #FFFFFF;
    --color-bg-steel: #757783;
    --color-bg-light-grey: #F4F4F4;
    --color-white: #FFFFFF;
    --color-text-body: #0A1A2F;
    --color-text-muted: #556070;
    
    --container-width: 960px;
    --section-padding: 6rem 1.5rem;
    --border-radius: 8px;
    --font-main: 'Inter', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 220px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-body);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 2px solid var(--color-primary);
    gap: 10px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(216, 236, 72, 0.4);
}

.section-title, .section-subtitle, .expert-info, .footer-container, .footer-right {
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.site-header {
    padding: 1.5rem 0;
    background-color: var(--color-white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: center; 
    align-items: center;
}

.logo-img {
    max-height: 120px;
    width: auto;
    display: block;      
    margin: 0 auto;  
}

.hero {
    padding: 6rem 1.5rem; 
    position: relative;
    /* Tło dla mobile, powielane */
    background-image: linear-gradient(rgba(10, 26, 47, 0.90), rgba(10, 26, 47, 0.90)), url('bg-hero-mobile.webp');
    background-position: center top;
    background-repeat: repeat; /* Powielanie */
    background-size: auto; /* Nie cover */
    background-attachment: scroll;
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3rem; 
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--color-white);
}

.highlight-lime {
    color: var(--color-primary); /* Lime-green word */
    position: relative;
    display: inline-block;
    z-index: 1;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.form-container {
    max-width: 650px;
    margin: 1rem auto 0 auto;
    position: relative;
    z-index: 5;
}

.benefits {
    padding: 8rem 1.5rem; 
    background: linear-gradient(rgba(248, 248, 248, 0.96), rgba(248, 248, 248, 0.96)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1920&auto=format&fit=crop') center / cover;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 5rem;
}

.benefit-card {
    background: var(--color-white); /* Białe tło */
    color: var(--color-text-body); /* Ciemny tekst */
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    border-left: 8px solid var(--color-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 100%;
    max-width: 80px;
    height: 80px;  
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-align: center;
}

.benefit-card p {
    color: var(--color-text-muted);
    text-align: center
}

.experts {
    padding: 8rem 1.5rem;
    background: linear-gradient(rgba(10, 26, 47, 0.92), rgba(10, 26, 47, 0.92)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1920&auto=format&fit=crop') center / cover;
    color: var(--color-white);
    position: relative;
}

.experts .section-title {
    color: var(--color-white);
}

.experts .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4rem;
}

.main-expert {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: var(--color-white);
    color: var(--color-text-body);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto 4rem auto;
    align-items: center; 
}

.expert-photo {
    width: 220px;        
    height: 300px;       
    border-radius: 8px;  
    object-fit: cover;   
    object-position: top;
    border: 6px solid var(--color-primary); 
    flex-shrink: 0;
    background-color: #ddd;
}

.expert-info h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
}

.expert-title {
    display: block;
    margin-bottom: 2rem;
    color: var(--color-bg-steel);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 5rem 0;
    font-size: 1rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    max-height: 120px;
    width: auto;
    margin: 0 auto 2rem auto;
    display: block;      
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--color-white);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    opacity: 0.8;
    justify-content: center;
}

.footer-address {
    font-style: normal;
    opacity: 0.8;
    line-height: 1.8;
}

.site-footer a {
    transition: color 0.2s, border-bottom-color 0.2s;
    border-bottom: 1px solid transparent;
}

.site-footer a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

@media (max-width: 480px) {
    .site-header { padding: 1rem 0; }
    .logo-img { max-height: 110px; }
    .hero h1 { font-size: 2.25rem; }
    .expert-photo {
        width: 180px;
        height: 240px;
    }
}

@media (min-width: 768px) {
    .hero { 
        padding: 8rem 2rem;
        /* Tło desktop: cover */
        background-size: cover;
        background-repeat: no-repeat;
    }
    .hero h1 { font-size: 3.5rem; }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .main-expert {
        flex-direction: row;
        padding: 4.5rem;
    }
    
    .expert-info, .footer-container, .footer-right {
        text-align: left;
    }

    .expert-photo {
        width: 240px; 
        height: 320px;
    }

    .footer-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 6rem; 
    }

    .footer-logo {
        margin: 0 0 2rem 0;   
    }

    .footer-socials, .footer-links {
        justify-content: flex-start;
    }
}