/* --- 1. ZMIENNE (DESIGN TOKENS) --- */
:root {
    /* Brand Colors */
    --color-primary: #D8EC48;     /* Limonka */
    --color-secondary: #0A1A2F;   /* Ciemny granat */
    --color-bg-body: #FFFFFF;
    
    /* UI Colors */
    --color-bg-steel: #757783;
    --color-bg-light-grey: #F4F4F4;
    --color-white: #FFFFFF;
    --color-text-body: #0A1A2F;
    --color-text-muted: #556070;
    
    /* Layout Defaults */
    --container-width: 960px;     /* Dopasowane pod 1024px szerokości */
    --section-padding: 6rem 1.5rem;
    --border-radius: 8px;
    --font-main: 'Inter', sans-serif;
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 3. KOMPONENTY UI --- */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem; /* Większe marginesy boczne dla 1024px */
}

/* Przycisk CTA */
.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);
    text-align: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(216, 236, 72, 0.4);
}

/* Typografia */
.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* --- 4. SEKCJE (LAYOUT) --- */

/* Header */
.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-left: auto;   
    margin-right: auto;  
}

/* Sekcja Hero */
.hero {
    padding: 10rem 1.5rem; 
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(10, 26, 47, 0.90), rgba(10, 26, 47, 0.90)), 
                url('bg-hero.webp');
    background-size: cover;
    background-position: center top; 
    background-attachment: scroll;
    min-height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: 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);
    display: inline;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Kontener Formularza - MAKSYMALNE ODSTĘPY */
.form-container {
    max-width: 650px;
    margin: 1rem auto 0 auto;
    position: relative;
    z-index: 5;
    scroll-margin-top: 120px; 

}

/* Sekcja Korzyści */
.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');
    background-size: cover;
    background-position: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 5rem;
}

.benefit-card {
    background: #FFFFFF;
    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;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--color-secondary);
    font-weight: 700;
}

/* Sekcja Eksperci */
.experts {
    padding: 8rem 1.5rem;
    background-color: var(--color-bg-steel);
    color: #ffffff;
    position: relative;
}

.experts .section-title {
    color: #ffffff;
}

.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; 
}

/* ZDJĘCIE IRKA - PROSTOKĄT (PORTRET) Z POPRAWIONYM POZYCJONOWANIEM GŁOWY */
.expert-photo {
    width: 220px;        /* Szerokość */
    height: 300px;       /* Wysokość (większa niż szerokość = prostokąt) */
    border-radius: 8px;  /* Zaokrąglenie 8px */
    object-fit: cover;   /* Wypełnienie kadru */
    object-position: top; /* KLUCZOWE: trzymaj górę zdjęcia (głowę) w kadrze */
    border: 6px solid var(--color-primary); 
    flex-shrink: 0;
    background-color: #ddd;
}

.expert-info {
    text-align: center;
}

.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;
}

.co-hosts {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.8;
}

.co-hosts strong {
    color: var(--color-primary);
}

/* Stopka */
.site-footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 5rem 0;
    font-size: 1rem;
    border-top: none; 
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-height: 120px;
    width: auto;
    margin-bottom: 2rem;
    display: block;      
    margin-left: auto;   
    margin-right: auto;  
}

.footer-left h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.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-right {
    text-align: center;
}

.footer-address {
    font-style: normal;
    opacity: 0.8;
    line-height: 1.8;
}

.site-footer a {
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.site-footer a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* --- 5. MEDIA QUERIES --- */

@media (max-width: 480px) {
    .site-header {
        padding: 1rem 0;
    }
    .logo-img {
        max-height: 110px;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    /* Mniejszy prostokąt na małe telefony z zachowaniem góry kadru */
    .expert-photo {
        width: 180px;
        height: 240px;
        object-position: top;
    }
}

@media (min-width: 768px) {
    .hero { padding: 12rem 2rem; }
    .hero h1 { font-size: 3.5rem; }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .main-expert {
        flex-direction: row;
        align-items: center; 
        padding: 4.5rem;
        text-align: left;
    }
    
    .expert-info {
        text-align: left;
    }

    /* Pionowy prostokąt na desktopie z zachowaniem góry kadru */
    .expert-photo {
        width: 240px; 
        height: 320px;
        object-position: top;
    }

    .footer-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 6rem; 
        text-align: left;
    }

    .footer-logo {
        margin-left: 0;   
        margin-right: 0;  
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-right {
        text-align: left;
    }
    
}

@media (max-width: 767px) {
    .hero {
        background: linear-gradient(rgba(10, 26, 47, 0.90), rgba(10, 26, 47, 0.90)), 
                    url('bg-hero-mobile.jpg');
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }
}

/* --- STYLE SLIDERA OPINII --- */
.slider-wrapper {
    position: relative;
    max-width: 600px;
    margin: 3rem auto 0;
    border-radius: 12px;
    /* Zmieniono tło na białe, aby zlało się ze screenem z FB */
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.slider-track {
    display: flex;
    /* Wyrównanie do góry zapobiega rozciąganiu w pionie i powstawaniu pustej przestrzeni na dole */
    align-items: flex-start; 
    transition: transform 0.4s ease-in-out;
}

.slide {
    min-width: 100%;
    display: block;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    /* Wewnętrzne marginesy robią miejsce na strzałki po bokach (50px) i dają oddech na górze/dole (20px) */
    padding: 20px 50px;
    box-sizing: border-box;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0A1A2F;
    color: #D8EC48;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.slider-arrow:hover {
    background: #152b4d;
    transform: translateY(-50%) scale(1.05);
}

.slider-prev { left: 8px; }
.slider-next { right: 8px; }

.form-disclaimer {
            margin-top: 1.5rem;
            font-size: 0.95rem;
            opacity: 0.9;
            line-height: 1.6;
        }