@font-face {
    font-family: 'Gotham Book';
    src: url('fonts/Gotham-Book.woff2') format('woff2'),
        url('fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Bold';
    src: url('fonts/Gotham-Bold.woff2') format('woff2'),
        url('fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham BoldItalic';
    src: url('fonts/Gotham-BoldItalic.woff2') format('woff2'),
        url('fonts/Gotham-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham BookItalic';
    src: url('fonts/Gotham-BookItalic.woff2') format('woff2'),
        url('fonts/Gotham-BookItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Medium';
    src: url('fonts/Gotham-Medium.woff2') format('woff2'),
        url('fonts/Gotham-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --purple: #7a126b;
    --purple-dark: #1f0113;
    --black: #1a1a1a;
    --gray: #4e444e;
    --gray_footer: #aba8b1;
    --border: #aba8b1;
    --radius: 6px;
    --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Gotham Book', sans-serif;
    color: var(--black);
    line-height: 1.5;
    font-size: 16px;
    background: #f4f4f4;
}

strong,
b {
    font-family: 'Gotham Bold';
}

.hero {
    width: 100%;
    display: block;
    line-height: 0;
}

.hero__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero__img--mobile { display: none; }

.main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; background: linear-gradient(120deg, rgba(74, 24, 80, 1) 0%, rgba(26, 28, 77, 1) 35%, rgba(94, 32, 93, 1) 100%); }

.agenda {
    min-width: 0;
    background: transparent;
    color: #fff;
    padding: 60px 45px 60px 150px;
}

.register {
    background: #fff;
    padding: 60px max(7vw, 45px);
}

.speakers { min-width: 0; color: #fff; padding: 60px 45px; background: transparent; }
.speakers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.speaker {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100px;
    padding: 22px 18px 20px 120px;
    margin-top: 10px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .24);
}
.speaker__avatar {
    position: absolute;
    top: -12px;
    left: 16px;
    width: 90px;
    height: 90px;
    display: block;
    border-radius: 5px;
    object-fit: cover;
}
.speaker h3 { font: 16px/1.3 'Gotham Bold', sans-serif; color: #fff; }
.speaker p { margin-top: 5px; font-size: 12px; line-height: 1.4; color: #fff; }
.registration-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.registration-columns > :only-child {
    grid-column: 1 / -1;
}
.parking-label { margin-top: 18px; }
.parking-notes { margin: 8px 0 0 30px; color: var(--gray); font-size: .85rem; line-height: 1.5; }
.registration-consents { min-width: 0; }

.section-title {
    font-size: 1.8rem;
    font-family: 'Gotham Bold', sans-serif;
    color: #7a126b;
    margin-bottom: 32px;
}

.section-title.upper {
    text-transform: uppercase;
}

.agenda .section-title { color: #fff; }

.agenda__item {
    display: flex;
    gap: 24px;
    padding: 8px 0;
    align-items: baseline;
}

.agenda__time {
    font-family: 'Gotham Bold', sans-serif;
    min-width: 140px;
    white-space: nowrap;
}

.agenda__desc {
    font-weight: 400;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: .85rem;
    font-family: 'Gotham Bold', sans-serif;
    margin-bottom: 4px;
    color: var(--gray);
}

.form-group input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(108,60,224,.15);
}

.form-group input.input-error {
    border-color: #e74c3c;
}

.diet-title {
    font-family: 'Gotham Bold', sans-serif;
    font-size: .95rem;
    color: var(--purple-dark);
    margin: 24px 0 8px;
}

.diet-options {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.diet-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .95rem;
}

.diet-label input { display: none; }

.diet-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: border-color var(--transition);
}

.diet-label input:checked + .diet-custom {
    border-color: var(--purple);
}

.diet-label input:checked + .diet-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--purple);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accommodation-section {
    margin: 24px 0 16px;
}

.accommodation-title {

}

.accommodation-notes {
    margin-top: 8px;
    padding-left: 30px;
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.5;
}

.disclaimer {
    margin: 24px 0;
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.7;
}

.consents {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
}

.consent-label a {
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
    text-decoration: none;
    color: inherit;
}

.consent-label input { display: none; }

.consent-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    margin-top: 1px;
    transition: all var(--transition);
}

.consent-label input:checked + .consent-custom {
    background: var(--purple);
    border-color: var(--purple);
}

.consent-label input:checked + .consent-custom::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 2px;
    left: 5px;
    transform: rotate(45deg);
}

.btn-submit {
    display: inline-block;
    padding: 14px 35px;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--purple); 
    transition: background var(--transition);
    margin-top: 8px;
}

.btn-submit:hover { 
    background: transparent;
    color: var(--purple);
    border: 1px solid var(--purple); 
}

.btn-submit:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: .95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f8e8;
    color: #2d7a2d;
    border: 1px solid #b6e0b6;
}

.form-message.error {
    display: block;
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f0b6b6;
}

.form-success {
    display: none;
}

.form-success.is-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.form-success__content {
    text-align: center;
}

.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8f8e8;
    color: #2d7a2d;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.form-success__text {
    font-size: 1.3rem;
    font-family: 'Gotham Bold', sans-serif;
    color: var(--black);
    line-height: 1.6;
}

.copy {
    padding: 12px 24px;
    font-size: 11px;
    color: #aba8b1;
    background: #fff;
    text-align: center;
    line-height: 1.4;
}

.copy p {
    margin-bottom: 0;
}

.partners {
    background: #e6e6e6;
    padding: 42px 24px;
}

.partners__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.partners__label {
    font-family: 'Gotham Bold', sans-serif;
    font-size: 1.1rem;
    color: #4e444e;
    white-space: nowrap;
}
.partners__label--media { margin-top: 18px; }

.partners__list {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.partners__item {
    display: flex;
    align-items: center;
}

.partners__logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.85);
    transition: filter var(--transition), transform var(--transition);
}

.partners__logo:hover {
    filter: grayscale(0%) opacity(1);
}

.section-title.goscie {
                    font-size: 17px;
                    color: #fff;
                    margin-top: 30px;
                    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .agenda {
        padding-left: 80px;
        padding-right: 40px;
    }

    .speakers { padding: 60px 32px; }
}

@media (max-width: 992px) {
    .main { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero__img--desktop { display: none; }
    .hero__img--mobile  { display: block; }

    .agenda, .register, .speakers {
        padding: 40px 24px;
    }

    .registration-columns { grid-template-columns: 1fr; gap: 12px; }
    .speakers__grid { grid-template-columns: 1fr; gap: 22px; }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .agenda__item {
        flex-direction: column;
        gap: 4px;
    }

    .agenda__time {
        min-width: unset;
    }

    .diet-options {
        flex-direction: column;
    }

    .partners {
        padding: 16px 24px;
    }

    .partners__container { gap: 16px; }

    .partners__list {
        gap: 20px;
    }

    .przyciski {
        text-align: center;
    }

    .partners__logo {
        height: 22px;
    }
}
