/* =========================================
1. ZMIENNE GLOBALNE (KOLORY I FONTY)
========================================= */
:root {
    /* Kolory główne */
    --c-gold-primary: #baa971;
    --c-gold-dark: #937942;
    
    /* Kolory tła */
    --c-bg-body: #ffffff;
    --c-bg-white: #ffffff;
    --c-bg-opaque: #f8f8f8;
    --c-bg-panel: rgba(250, 250, 250, 1);
    --c-bg-placeholder: #4a4a4a;
    --c-bg-dark: #1d1e27;
    --c-line-gray: #e8e8ec;
    
    /* Tekst i odcienie szarości */
    --c-text-dark: #1d1d1c;
    --c-text-white: #ffffff;
    --c-text-danger: #b00020;
    
    /* Inne */
    --c-shadow: rgba(0, 0, 0, 0.15);
    
    /* Fonty */
    --font-primary: 'Poppins', sans-serif;
    --font-serif: 'nicholas', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* =========================================
2. STYLE BAZOWE
========================================= */
* {
    box-sizing: border-box;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

html {
    background-color: var(--c-bg-body);
    overflow-x: hidden;
    scroll-padding-top: 100px; 
    scroll-behavior: smooth;
}

ul {
    margin-bottom: 0 !important;
}

#pksel {
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================
3. KOMPONENTY I ELEMENTY WSPÓLNE
========================================= */
.cta,
.formwrapper button {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    margin: 0 auto;
    margin-top: 3rem;
    padding: 1.5rem 2.4rem;
    padding-bottom: 1.2rem;
    background-color: var(--c-gold-dark);
    color: var(--c-bg-white);
    border: 2px solid var(--c-gold-dark);
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    /* max-width: 350px; */
    font-size: 1.2rem;
    line-height: 1;
    width: fit-content;
}

.cta:hover, 
.cta:focus,
.formwrapper button:hover,
.formwrapper button:focus  {
    background-color: var(--c-bg-white);
    color: var(--c-text-dark);
}

.formwrapper button {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.gold {
    color: var(--c-gold-dark);
    font-weight: inherit;
}

.darkgold {
    color: var(--c-gold-dark);
    font-weight: inherit;
}

.opaque {
    background-color: var(--c-bg-opaque);
    border-top: 3px solid var(--c-line-gray);
    border-bottom: 3px solid var(--c-line-gray);
}

.margintop {
    margin-top: 2rem;
}

.bigger * {
    font-size: 1.2rem;
}

.italic {
    font-style: italic;
}
/* =========================================
4. SEKCJE BAZOWE
========================================= */
section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

section .content {
    width: 90%;
    max-width: 1400px;
}

section h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 2rem;
}

section .line {
    position: absolute;
    top: 3.3rem;
    left: 0;
    width: 5%;
    border-bottom: 3px solid var(--c-gold-dark);
}

section .content span {
    display: block;
    margin-bottom: 1rem;
}

section .content ul span {
    margin-bottom: 0.5rem;
}

section .content span strong {
    font-weight: 600;
}

section .content li {
    color: var(--c-gold-primary);
}

section .content li span {
    color: var(--c-text-dark);
}

/* =========================================
5. NAWIGACJA
========================================= */
.navbar {
    position: sticky !important;
    top: 0;
    left: 0;
    z-index: 10;
    min-height: 100px;
    width: 100%;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    background-color: var(--c-bg-white);
    box-shadow: 0 0 40px 0 var(--c-shadow);
}

.navbar .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.navbar .logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 400px;
}

.navbar .logos a {
    display: block;
    width: 45%;
    max-width: 230px;
}

.navbar .logos a .logo {
    width: 100%;
    height: auto;
}

.navbar .cta {
    display: none;
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.navbar .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar .menu .menu-item {
    display: none;
    text-decoration: none;
    color: var(--c-text-dark);
    cursor: pointer;
    transition: color 0.15s ease-in-out;
    padding-top: .5rem;
}

.navbar .menu .menu-item:hover,
.navbar .menu .menu-item:focus {
    color: var(--c-gold-dark);
}

/* =========================================
6. HERO SEKCJA
========================================= */
.hero {
    /* background-color: var(--c-bg-placeholder); */
    color: var(--c-text-white);
}

.mobileonly .hero {
    color: var(--c-text-dark);
}

section.hero {
    background-image: url(../gfx/LP_header.png?v=2.0); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
}

section.hero .aidisclaimer {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: .8rem;
}

section.hero .apla {
    /* display: none; */
    background-color: rgba(0,0,0,.2);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

section.hero .content,
section.hero .aidisclaimer {
    z-index: 2;
}

.hero h1,
.hero h1 span {
    font-size: 2.8rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1;
}

.hero h1 span {
    margin-bottom: 0;
}

.hero h2 {
    margin-bottom: 3rem;
    font-weight: 600;
    line-height: 1.4;
    font-size: 1.8rem;
    font-style: italic;
}

.hero span {
    display: block;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.hero .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero .content span,
.mobileonly .panel span {
    display: inline;
}

.hero .content span,
.hero .content span strong {
    font-size: 1.2rem;
}

.hero .column {
    width: 100%;
}

.hero.thanks {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero.thanks .column {
    width: 100%;
}

.hero.thanks .calendarline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .7rem;
}

.hero.thanks a,
.hero.thanks a:active,
.hero.thanks a:visited {
    text-decoration: none;
    color: var(--c-text-white);
    transition: color .15s ease-in-out;
}

.hero.thanks a:hover {
    color: var(--c-line-gray);
}

.hero.thanks span {
    margin-bottom: 1rem;
}

.hero.thanks .calendarline span {
    margin-bottom: 0;
}

.hero.thanks .calendarimage {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-gold-dark);
    border-radius: 3rem;
    width: 2.4rem;
    height: 2.4rem;
}

.hero.thanks .calendarimage img {
    width: 60%;
}

.hero.thanks h1 {
    font-size: 3rem;
    font-weight: 600;
    font-family: var(--font-serif);
    display: block;
    margin-bottom: 3rem;
}

.hero.thanks .content span {
    display: block;
}

.hero.thanks .content span,
.hero.thanks .content span strong {
    font-size: 1.2rem;
}

.desktoponly .panel {
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    /* width: 100%;
    height: 100%; */
    min-height: 230px;
    min-width: 500px;
    padding: 2rem 4rem;
    background-color: var(--c-bg-panel);
    border-radius: 2rem 0 0 2rem;
    color: var(--c-text-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

.hero .panel span {
    margin-bottom: 0;
    font-weight: 400;
}

.hero .panel .divider {
    width: 90%;
    margin: 0 0 1.4rem 0;
    border-bottom: 2px solid var(--c-gold-dark);
}

.hero .panel h2 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero .panel strong {
    font-weight: 600;
    font-size: 1.1rem;
}

.hero .cta {
    margin-left: 0;
}

/* =========================================
7. WIDOKI MOBILNE (KLASY POMOCNICZE)
========================================= */
.column.desktoponly {
    display: none;
    /* max-width: 500px; */
}

section.mobileonly {
    display: flex;
    padding: 0;
}

.mobileonly .hero {
    width: 100%;
    background-color: var(--c-bg-opaque);
    border-bottom: 2px solid var(--c-line-gray);
}

.mobileonly .hero .panel {
    left: 0;
    width: 100%;
    padding: 4rem 1rem;
    border-radius: 0;
}

.mobileonly .hero .panel .content {
    display: block;
    width: 90%;
    margin: 0 auto;
}

.mobileonly .date {
    color: var(--c-text-dark);
}

/* =========================================
8. KAFELKI I PROGRAM
========================================= */
.tiles-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tile {
    width: 100%;
    padding: 2rem;
    background-color: var(--c-bg-opaque);
    /* border-top: 3px solid var(--c-line-gray); */
}

.program .tile .tile-number {
    margin-bottom: 1rem;
    color: var(--c-gold-dark);
}

.program .tile .title {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-text-dark);
}

/* =========================================
9. HOSTS
========================================= */
.hosts .tile {
    background-color: var(--c-bg-white);
}

.hosts .tile .intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
}

.hosts .tile .intro .photo {
    width: 100%;
    max-width: 210px;
}

.hosts .tile .intro .photo img {
    width: 100%;
    height: auto;
}

.hosts .tile .intro .data {
    width: 100%;
}

.hosts .tile .intro .data .name span {
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
}

/* =========================================
10. DLACZEGO WARTO
========================================= */
.why-worth .column.details {
    margin-top: 3rem;
    padding: 1rem 2rem;
    background-color: var(--c-bg-white);
    border-top: 3px solid var(--c-line-gray);
}

.why-worth .column.details .datarow {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--c-line-gray);
}

.why-worth .column.details .datarow.noline {
    border: none;
}

.why-worth .column.details .description {
    display: flex;
    align-items: center;
}

.why-worth .column.details .description span {
    margin-bottom: 0;
}

.why-worth .column.details .icon img {
    width: 2rem;
}

/* =========================================
11. FORMULARZ I DISCLAIMER
========================================= */
.formwrapper {
    background-color: var(--c-bg-dark);
}

.formwrapper .fields {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.formwrapper .content h2 {
    color: var(--c-text-white);
}

.formwrapper #Form #meeting-selection {
    display: none;
}

.formwrapper #Form #form-wrapper {
    padding: 2rem;
    background-color: var(--c-bg-white);
    border-radius: 2rem;
}

.formwrapper label {
    width: 100%;
    color: var(--c-gold-dark);
    font-weight: 600;
}

.formwrapper .field {
    margin-top: 1rem;
    width: 100%;
}

.formwrapper .field input,
.formwrapper .field select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--c-line-gray);
    border-radius: .5rem;
}

.formwrapper .field input:focus,
.formwrapper .field select:focus {
    outline: none;
    border: 2px solid var(--c-gold-dark);
}
.cta:focus,
.formwrapper button:focus {
    outline: none;
    border: 2px solid var(--c-gold-dark);
}

.formwrapper .errorMessage {
    color: var(--c-text-danger);
    font-weight: 600;
    padding-top: .2rem;
    width: 100%;
}

.formwrapper label.pseudo-check {
    width: 1rem;
    aspect-ratio: 1/1;
    border: 1px solid red;
}

.formwrapper .fields {
    margin-bottom: 3rem;
}

.formwrapper .agree {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.formwrapper .agreerow .short {
    width: 80%;
}

.formwrapper .agreerow {
    margin-top: 1rem;
}

.formwrapper .description {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.formwrapper .description a {
    text-decoration: none;
    color: var(--c-gold-dark);
    transition: color .15s ease-in-out;
}

.formwrapper .description .agr_rm2_h,
.formwrapper .description .agr_rm2_more {
    display: inline;
    margin-left: .3rem;
    color: var(--c-gold-dark);
    transition: color .15s ease-in-out;
}

.formwrapper .description .agr_rm2_h:hover,
.formwrapper .description .agr_rm2_more:hover {
    color: var(--c-gold-primary);
}

.formwrapper .description .agr_rm2 {
    display: inline;
}
.formwrapper .description a:hover {
    color: var(--c-gold-primary);
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

input[type="checkbox"] + .pseudo-check {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--c-gold-dark);
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    vertical-align: top;
    margin-right: 10px;
    transition: all 0.3s ease;
}

input[type="checkbox"] + .pseudo-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid var(--c-text-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: border-color .15s ease-in-out;
}

input[type="checkbox"] + .pseudo-check:hover::after {
    border: solid var(--c-gold-primary);
    border-width: 0 2px 2px 0;
}

input[type="checkbox"]:checked + .pseudo-check::after {
    border: solid var(--c-text-white);
    border-width: 0 2px 2px 0;
}

input[type="checkbox"]:checked + .pseudo-check {
    border-color: var(--c-gold-dark);
    background-color: var(--c-gold-dark);
}

input[type="checkbox"]:focus-visible + .pseudo-check {
    box-shadow: 0 0 0 2px var(--c-gold-dark);
}


.disclaimer {
    background-color: var(--c-bg-white);
}

.disclaimer .content {
    text-align: justify;
}

.disclaimer .content a,
.disclaimer .content a:visited {
    text-decoration: underline;
    color: var(--c-text-dark);
    cursor: pointer;
}

.disclaimer .content a:hover,
.disclaimer .content a:focus {
    color: var(--c-gold-dark);
}




/* =========================================
12. MEDIA QUERIES
========================================= */
@media screen and (min-width: 400px) {
    * {
        font-size: 16px;
    }
    .hosts .tile .intro {
        flex-direction: row;
    }
    /* .hosts .tile .intro .photo,
    .hosts .tile .intro .data {
    width: 48%;
    } */
    .hosts .tile .intro .data .name span {
        font-size: 1.4rem;
    }
    input[type="checkbox"] + .pseudo-check {
        width: 22px;
        height: 22px;
        border: 2px solid var(--c-gold-dark);
    }
    input[type="checkbox"] + .pseudo-check::after {
        left: 6px;
        top: 0px;
        width: 7px;
        height: 15px;
    }
}

@media screen and (min-width: 492px) {
    .hero h1,
    .hero h1 span {
        font-size: 3rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .formwrapper .agreerow .short {
        width: 90%;
    }
}

@media screen and (min-width: 672px) {
    .hero h1,
    .hero h1 span {
        font-size: 3.7rem;
    }
    .hero h2 {
        font-size: 2.6rem;
    }
    .hero .content span, .hero .content span strong {
        font-size: 1.5rem;
    }
    .navbar .cta {
        display: flex;
    }
    .cta, .formwrapper button {
        font-size: 1.5rem;
        font-weight: 600;
    }
}

@media screen and (min-width: 1000px) {
    .hero h1,
    .hero h1 span {
        font-size: 3.2rem;
    }
    .cta {
        margin-left: 0;
        /* max-width: 300px; */
    }
    .formwrapper button {
        /* max-width: 300px; */
    }
    section.mobileonly {
        display: none;
    }
    .column.desktoponly {
        display: block;
    }
    .hero .column {
        width: 47%;
    }
    .tiles-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-between;
    }
    /* .hosts .tile {
    width: 48%;
    } */
    .formwrapper .agreerow .short {
        width: 95%;
    }
    
    .formwrapper #Form #form-wrapper {
        padding: 3rem 4rem;
    }
    
    .why-worth .columns-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .why-worth .column.list {
        width: 50%;
    }
    
    .why-worth .column.details {
        margin-top: 0;
        width: 50%;
    }
    .webinar-forwho .content .columns {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2rem;
    }
    .webinar-forwho .content .columns .column {
        width: 35%;
    }
}

@media screen and (min-width: 1280px) {
    .hero h1,
    .hero h1 span {
        font-size: 4rem;
    }
    .navbar .menu .menu-item {
        display: block;
    }
    
    .program .tile {
        width: 48%;
    }
    .program .tile.qa {
        width: 100%;
    }
    .formwrapper .field {
        width: 49%;
    }
}

@media screen and (min-width: 1500px) {
    
    .column.desktoponly {
        display: flex;
        justify-content: flex-end;
    }
    .desktoponly .panel {
        /* min-width: 700px; */
        max-width: 560px;
    }
    .desktoponly .panel .divider {
        width: 100%;
    }
}


@media screen and (min-width: 1700px) {
    .hero .column.left {
        width: 60%;
    }
    .hero .column.right {
        width: 40%;
    }
    .desktoponly .panel {
        position: relative;
        left: auto;
        top: auto;
        transform: translateY(0);
        border-radius: 2rem;
    }
}

@media screen and (min-width: 1800px) {
    section .line {
        width: 10vw;
    }
}

@media screen and (min-width: 2000px) {
    .navbar .content {
        gap: 4rem;
    }
    section .line {
        width: 12vw;
    }
}

@media screen and (min-width: 2200px) {
    section .line {
        display: none;
    }
}