/* Strona startowa Eventometru — wdrożenie projektu z Figmy („Eventometer”, ekran 1:2).
   Wymiary i kolory odczytane z projektu przy szerokości 1920 px: treść 1104 px (baner)
   i 1086 px (sekcje), kroje Manrope (nagłówki) + DM Sans (tekst).
   Projekt pokazuje tylko wersję na komputer — układ dla tabletu i telefonu jest dopisany
   na dole pliku i zachowuje tę samą kolejność oraz styl elementów. */

:root {
    --lp-navy: #162442;          /* nagłówki */
    --lp-text: #5d6879;          /* tekst akapitów */
    --lp-muted: #8a94a3;
    --lp-blue: #2a6fd6;          /* etykiety sekcji, ikony */
    --lp-pink: #e83663;          /* akcent i przyciski */
    --lp-pink-dark: #d32a56;
    --lp-teal: #5fcfc4;
    --lp-bg: #f5f8fb;
    --lp-line: #e5ebf1;
    --lp-tile-dark: #22315e;
    --lp-tile-light: #eaf2ff;
    --lp-grad: linear-gradient(118deg, #212f5b 0%, #223f7c 30%, #2455a9 66%, #2568d2 100%);
    --lp-wide: 1104px;
    --lp-inner: 1086px;
    --lp-gutter: 24px;
}

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

.lp {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* Reguły zerujące celowo na samych znacznikach (najniższy priorytet), żeby nie
   nadpisywały odstępów i wymiarów ustawianych niżej klasami. */
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
.lp-ico { width: 1em; height: 1em; flex: none; }

/* ─── nagłówek ─── */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--lp-line);
}
.lp-header__in {
    max-width: calc(var(--lp-wide) + 2 * var(--lp-gutter));
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lp-brand { display: flex; align-items: center; min-width: 0; }
.lp-brand a { display: block; flex: none; }
.lp-brand__evm { height: 50px; width: auto; }
.lp-brand__sep { width: 1px; height: 38px; background: #dfe5ec; margin: 0 36px; flex: none; }
.lp-brand__sbe { height: 29px; width: auto; flex: none; }
.lp-conf {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5d6879;
    font-size: 13px;
    white-space: nowrap;
}
.lp-conf .lp-ico { font-size: 15px; stroke-width: 1.8; }

/* ─── baner ─── */
.lp-hero {
    position: relative;
    overflow: hidden;
    max-width: var(--lp-wide);
    min-height: 614px;
    margin: 52px auto 0;
    padding: 64px 58px 66px;
    border-radius: 32px;
    background: var(--lp-grad);
    box-shadow: 0 30px 60px -22px rgba(22, 40, 84, 0.42), 0 10px 24px -12px rgba(22, 40, 84, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
}
.lp-hero__copy { position: relative; z-index: 2; max-width: 470px; }
.lp-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--lp-teal);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.5;
}
.lp-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--lp-teal);
    box-shadow: 0 0 0 4px rgba(95, 207, 196, 0.22);
    margin-left: 4px;
    flex: none;
}
.lp-hero h1 {
    margin-top: 22px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 300;
    font-size: 64px;
    line-height: 68px;
    letter-spacing: -0.045em;
    color: #fff;
}
.lp-hero h1 .lp-accent { color: var(--lp-pink); }
/* szerokość dobrana tak, żeby tytuł łamał się jak w projekcie:
   „Razem mierzymy / puls rynku MICE / w Polsce." */
.lp-hero h1 { max-width: 9.2em; }
.lp-hero__lead {
    margin-top: 22px;
    max-width: 452px;
    font-size: 16.6px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
}
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: var(--lp-pink);
    color: #fff;
    font: 600 16px/1 'DM Sans', system-ui, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 22px -10px rgba(232, 54, 99, 0.7);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.lp-btn .lp-ico { font-size: 20px; transition: transform .15s ease; }
.lp-btn:hover { background: var(--lp-pink-dark); }
.lp-btn:hover .lp-ico { transform: translateX(3px); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.85); outline-offset: 3px; }
.lp-hero .lp-btn { margin-top: 32px; }
.lp-hero__note {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}
.lp-hero__note .lp-ico { font-size: 16px; stroke-width: 1.7; }
.lp-hero__invite {
    margin-top: 18px;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13.5px;
    color: #fff;
}

/* okręgi w tle: wspólny środek jak w projekcie (877, 249 w układzie banera 1104×614) */
.lp-hero__rings { position: absolute; inset: 0; pointer-events: none; }
.lp-hero__rings i {
    position: absolute;
    left: 877px; top: 249px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.lp-hero__rings i:nth-child(1) { width: 410px; height: 410px; }
.lp-hero__rings i:nth-child(2) { width: 552px; height: 552px; }
.lp-hero__rings i:nth-child(3) { width: 714px; height: 714px; }
.lp-hero__rings i:nth-child(4) { width: 900px; height: 900px; border-color: rgba(255, 255, 255, 0.09); }

/* szklana karta z wykresem, lekko obrócona */
.lp-chart {
    position: absolute;
    z-index: 1;
    left: 692px; top: 119px;
    width: 358px; height: 254px;
    transform: rotate(-4.9deg);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.11));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 50px -24px rgba(10, 22, 60, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-chart svg { display: block; width: 100%; height: 100%; }
.lp-chart text { font-family: 'DM Sans', system-ui, sans-serif; fill: rgba(255, 255, 255, 0.82); }
.lp-chart__label, .lp-chart__live { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; fill: #fff; }
.lp-chart__years text { font-size: 9px; fill: rgba(255, 255, 255, 0.72); }

/* ─── sekcje ─── */
.lp-section {
    max-width: calc(var(--lp-inner) + 2 * var(--lp-gutter));
    margin: 0 auto;
    padding: 92px var(--lp-gutter) 0;
    text-align: center;
}
.lp-section + .lp-section { padding-top: 130px; }
.lp-eyebrow {
    color: var(--lp-blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.5;
}
.lp-section h2 {
    margin-top: 12px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.5;
    letter-spacing: -0.029em;
    color: var(--lp-navy);
}
.lp-h2--narrow { max-width: 660px; margin-left: auto; margin-right: auto; }
.lp-lead {
    max-width: 700px;
    margin: 16px auto 0;
    font-size: 16.15px;
    line-height: 27px;
    color: var(--lp-text);
}

.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
.lp-grid--about { gap: 18px; margin-top: 44px; }
.lp-grid--reasons { gap: 20px 19px; margin-top: 44px; }

.lp-about, .lp-reason {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
}
.lp-about { display: flex; gap: 16px; padding: 22px 24px 24px; }
.lp-about__icon {
    flex: none;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--lp-tile-dark);
    color: #fff;
    font-size: 20px;
}
.lp-about__icon .lp-ico { stroke-width: 1.9; }
.lp-about h3, .lp-reason h3 {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 500;
    color: var(--lp-navy);
    letter-spacing: -0.02em;
}
.lp-about h3 { font-size: 15px; line-height: 1.4; margin-top: 3px; letter-spacing: -0.005em; }
.lp-about p { margin-top: 8px; font-size: 13px; line-height: 20px; color: #6b7686; }

.lp-reason { padding: 28px 24px 26px; min-height: 215px; }
.lp-reason__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--lp-tile-light);
    color: var(--lp-blue);
    font-size: 20px;
}
.lp-reason__icon .lp-ico { stroke-width: 1.9; }
.lp-reason h3 { margin-top: 18px; font-size: 16.5px; line-height: 1.4; font-weight: 400; }
.lp-reason p { margin-top: 8px; font-size: 14px; line-height: 22.5px; color: #6b7686; }

/* pas z wezwaniem do udziału */
.lp-cta {
    margin-top: 42px;
    min-height: 116px;
    padding: 30px 36px;
    border-radius: 16px;
    background: linear-gradient(100deg, #212f5b 0%, #234a93 55%, #2562c4 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}
.lp-cta__title {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 18.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    color: #fff;
}
.lp-cta__sub { margin-top: 5px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.lp-cta .lp-btn { flex: none; padding: 0 22px; }

/* partner technologiczny */
.lp-partner {
    max-width: var(--lp-inner);
    margin: 74px auto 0;
    padding: 44px;
    min-height: 200px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: 0 24px 48px -30px rgba(22, 40, 84, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.lp-partner__copy { max-width: 440px; }
.lp-partner__copy p:not(.lp-eyebrow) { margin-top: 18px; font-size: 15px; line-height: 25.5px; color: var(--lp-text); }
.lp-partner__logo { flex: 1; display: flex; justify-content: center; padding-left: 60px; }
.lp-partner__logo img { width: 285px; }

/* osoby */
.lp-section--people { padding-top: 76px; }
.lp-people {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    gap: 26px;
    text-align: left;
}
.lp-person {
    width: 363px;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 36px -28px rgba(22, 40, 84, 0.3);
}
/* zdjęcia są już przycięte do kadru z projektu (proporcja 363:320) */
.lp-person img { width: 100%; height: 320px; object-fit: cover; }
.lp-person__body { padding: 26px 28px 28px; }
.lp-person h3 {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.012em;
    color: var(--lp-navy);
}
.lp-person__role { margin-top: 6px; font-size: 14px; font-weight: 600; color: #2f66d8; line-height: 1.45; }
.lp-person__org { margin-top: 6px; font-size: 12.5px; color: var(--lp-muted); }

/* stopka */
.lp-footer {
    margin-top: 52px;
    padding: 24px var(--lp-gutter) 40px;
    border-top: 1px solid var(--lp-line);
    text-align: center;
    font-size: 12px;
    color: var(--lp-muted);
}

/* ─── węższe ekrany (poza projektem: ta sama kolejność i styl, układ w kolumnie) ─── */
@media (max-width: 1151px) {
    .lp-hero, .lp-partner { margin-left: var(--lp-gutter); margin-right: var(--lp-gutter); }
}
@media (max-width: 1080px) {
    .lp-chart { left: auto; right: 34px; transform: rotate(-4.9deg) scale(0.86); transform-origin: right center; }
    .lp-hero__rings i { left: 80%; }
    .lp-hero h1 { font-size: 56px; line-height: 60px; }
}
@media (max-width: 920px) {
    .lp-chart { display: none; }
    .lp-hero { min-height: 0; padding: 52px 40px 54px; }
    .lp-hero__rings i { left: 92%; top: 30%; }
    .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-section h2 { font-size: 36px; line-height: 1.35; }
    .lp-cta { flex-direction: column; align-items: flex-start; }
    .lp-partner { flex-direction: column; align-items: flex-start; gap: 28px; }
    .lp-partner__logo { padding-left: 0; justify-content: flex-start; flex: none; }
    .lp-partner__logo img { width: 230px; }
}
@media (max-width: 640px) {
    :root { --lp-gutter: 16px; }
    .lp-header__in { height: 64px; }
    .lp-brand__evm { height: 40px; }
    .lp-brand__sep { height: 30px; margin: 0 16px; }
    .lp-brand__sbe { height: 24px; }
    .lp-conf span { display: none; }
    .lp-conf .lp-ico { font-size: 18px; }
    .lp-hero { margin-top: 20px; padding: 36px 24px 38px; border-radius: 24px; }
    .lp-hero h1 { font-size: 40px; line-height: 44px; margin-top: 18px; }
    .lp-hero__lead { font-size: 16px; line-height: 26px; margin-top: 22px; }
    .lp-hero .lp-btn { width: 100%; margin-top: 26px; }
    .lp-section { padding-top: 64px; }
    .lp-section h2 { font-size: 30px; margin-top: 16px; }
    .lp-lead { font-size: 15.5px; line-height: 25px; }
    .lp-grid { grid-template-columns: minmax(0, 1fr); }
    .lp-grid--about, .lp-grid--reasons { gap: 14px; margin-top: 32px; }
    .lp-reason { min-height: 0; }
    .lp-cta { padding: 26px 22px; margin-top: 28px; }
    .lp-cta .lp-btn { width: 100%; }
    .lp-partner { margin-top: 56px; padding: 30px 24px; border-radius: 20px; }
    .lp-section--people { padding-top: 60px; }
    .lp-people { flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
    .lp-person { width: 100%; max-width: 420px; }
    .lp-person img { height: auto; aspect-ratio: 363 / 320; }
}
@media (max-width: 360px) {
    .lp-hero h1 { font-size: 34px; line-height: 38px; }
    .lp-brand__sep { margin: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-btn, .lp-btn .lp-ico { transition: none; }
}
