/*
 * landing-home.css — dedykowany, lekki arkusz strony głównej sklepu (landing).
 * Odwzorowuje filipkowarski.pl: granat (navy) + akcent złoto + biel.
 * Mobile-first. Zero bibliotek. Ładowany tylko na index.php (przez $extraCss).
 *
 * Landing łamie domyślny app-container (wąski) — sekcje rozciągają się na pełną
 * szerokość, własny wewnętrzny max-width. Trzymamy klasy z prefiksem .lp-, by nie
 * kolidować ze współdzielonym storefront.css.
 */

:root {
    --lp-navy: #142339;
    --lp-navy-deep: #0f1c30;
    --lp-gold: #c8a258;
    --lp-gold-strong: #b8893f;
    --lp-ink: #1f2a3a;
    --lp-muted: #5a6b80;
    --lp-line: #e3e8ef;
}

/* Landing rozbija wąski kontener treści, by sekcje szły na całą szerokość. */
.app-main > .app-container:not(.app-container--wide) {
    max-width: none;
    padding: 0;
}

.lp-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background-color 0.18s ease, transform 0.05s ease;
}
.lp-btn--accent {
    background: var(--lp-gold);
    color: var(--lp-navy-deep);
}
.lp-btn--accent:hover { background: var(--lp-gold-strong); }
.lp-btn--accent:active { transform: translateY(1px); }

.lp-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--lp-gold-strong);
    margin-bottom: 0.6rem;
}
.lp-eyebrow--light { color: var(--lp-gold); }

/* ---------- HERO ---------- */
.lp-hero {
    background: var(--lp-navy);
    color: #fff;
    padding: 48px 20px 0;
}
.lp-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.lp-hero__title {
    font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 1.08;
    margin: 0 0 18px;
}
.lp-hero__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cdd6e2;
    margin: 0 0 20px;
    max-width: 36em;
}
.lp-hero__lead strong { color: var(--lp-gold); }
.lp-hero__paths {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.lp-hero__paths li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #e7ecf3;
}
.lp-hero__paths li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lp-gold);
}
.lp-hero__paths span { color: var(--lp-muted); }
.lp-hero__media { display: flex; justify-content: center; align-items: flex-end; }
/* Hero to wycięta sylwetka (alpha) - stoi na dolnej krawędzi granatu, bez zaokrągleń. */
.lp-hero__media img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    vertical-align: bottom;
}

/* ---------- BIO ---------- */
.lp-bio {
    background: #fff;
    color: var(--lp-ink);
    padding: 56px 20px;
}
.lp-bio__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.lp-bio__media { display: flex; justify-content: center; }
.lp-bio__media img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 8px;
}
.lp-bio__title {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    margin: 0 0 18px;
    color: var(--lp-navy);
}
.lp-bio__copy p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #4a5666;
    margin: 0 0 14px;
}
.lp-bio__lead { font-weight: 700; color: var(--lp-ink) !important; }
.lp-bio__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lp-bio__list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #4a5666;
}
.lp-bio__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--lp-gold-strong);
    font-weight: 800;
}

/* ---------- KOMU POMÓC (ciemna sekcja, 3 karty) ---------- */
.lp-help {
    background: var(--lp-navy);
    color: #fff;
    padding: 56px 20px;
    text-align: center;
}
.lp-help__inner { max-width: 1120px; margin: 0 auto; }
.lp-help__title {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    margin: 0 0 36px;
}
.lp-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.lp-card {
    background: #fff;
    color: var(--lp-ink);
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
}
.lp-card__icon { width: 56px; height: auto; margin: 0 auto 16px; display: block; }
.lp-card__title {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 0 12px;
    color: var(--lp-navy);
}
.lp-card p { font-size: 0.95rem; line-height: 1.6; color: #56606f; margin: 0; }

/* ---------- KOMU POMAGAM (jasna sekcja, 3 karty person) ---------- */
/* Delikatny odcień + karty z obramowaniem/cieniem, by nie zlać się z białym BIO. */
.lp-who {
    background: #f6f7f9;
    color: var(--lp-ink);
    padding: 56px 20px;
    text-align: center;
    border-top: 1px solid var(--lp-line);
}
.lp-who__inner { max-width: 1120px; margin: 0 auto; }
.lp-who__title {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    margin: 0 0 36px;
    color: var(--lp-navy);
}
.lp-who .lp-card {
    border: 1px solid var(--lp-line);
    box-shadow: 0 6px 18px rgba(20, 35, 57, 0.06);
}
.lp-who .lp-card__title { font-size: 1.15rem; }

/* ---------- JAK DZIAŁAM (3 kolumny) ---------- */
.lp-how {
    background: #fff;
    color: var(--lp-ink);
    padding: 56px 20px 64px;
    text-align: center;
}
.lp-how__inner { max-width: 1120px; margin: 0 auto; }
.lp-how__title {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    margin: 0 0 36px;
    color: var(--lp-navy);
}
.lp-how__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
}
.lp-how__col h3 {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    margin: 0 0 12px;
    color: var(--lp-navy);
    position: relative;
    padding-left: 18px;
}
.lp-how__col h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--lp-gold);
}
.lp-how__col p { font-size: 0.96rem; line-height: 1.65; color: #56606f; margin: 0; }
.lp-how__cta { margin-top: 40px; text-align: center; }

/* ---------- FOOTER ---------- */
.lp-footer {
    background: var(--lp-navy-deep);
    color: #cdd6e2;
    padding: 48px 20px 28px;
}
.lp-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.lp-footer__logo {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
    font-size: 1.3rem;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}
.lp-footer__tagline { font-size: 0.9rem; color: #93a1b5; margin: 0; }
.lp-footer__nav,
.lp-footer__social { display: flex; flex-direction: column; gap: 8px; }
.lp-footer__nav a,
.lp-footer__social a {
    color: #cdd6e2;
    text-decoration: none;
    font-size: 0.92rem;
}
.lp-footer__nav a:hover,
.lp-footer__social a:hover { color: var(--lp-gold); }
.lp-footer__social-title {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--lp-gold);
    margin-bottom: 4px;
}
.lp-footer__copy {
    max-width: 1120px;
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #7a8aa0;
    text-align: center;
}

/* ---------- TABLET / DESKTOP ---------- */
@media (min-width: 720px) {
    .lp-cards { grid-template-columns: repeat(3, 1fr); }
    .lp-how__cols { grid-template-columns: repeat(3, 1fr); }
    .lp-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 920px) {
    .lp-hero { padding: 72px 24px 0; }
    .lp-hero__inner { flex-direction: row; align-items: center; }
    .lp-hero__copy { flex: 1 1 58%; }
    /* Nowe zdjęcie patrzy w prawo - box na GÓRZE-LEWEJ, sylwetka na dnie granatu. */
    .lp-hero__media { flex: 1 1 42%; order: -1; align-self: flex-end; }
    .lp-hero__media img { max-width: 420px; }
    .lp-bio { padding: 80px 24px; }
    .lp-bio__inner { flex-direction: row; align-items: center; }
    /* Naprzemiennie: bio.webp niżej i po PRAWEJ (przeciwnie do hero). */
    .lp-bio__media { flex: 0 0 40%; order: 1; }
    .lp-bio__copy { flex: 1 1 60%; }
}

/* ---------- REFRESH wizytówki: miękkie linki, lead sekcji, licznik ---------- */
.lp-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 6px;
}
.lp-link {
    display: inline-block;
    color: var(--lp-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(200, 162, 88, 0.45);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.lp-link:hover { color: var(--lp-gold-strong); border-bottom-color: var(--lp-gold-strong); }
.lp-note {
    max-width: 40em;
    margin: 0 auto 26px;
    font-size: 1.05rem;
    line-height: 1.65;
}
.lp-stat { margin: 8px 0 28px; }
.lp-stat__value {
    display: block;
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    line-height: 1;
    color: var(--lp-gold);
}
.lp-stat__label {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #cdd6e2;
}

/* ---------- Regulaminy w stopce ---------- */
.lp-footer__legal {
    max-width: 1120px;
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}
.lp-footer__legal a {
    color: #93a1b5;
    text-decoration: none;
    font-size: 0.82rem;
}
.lp-footer__legal a:hover { color: var(--lp-gold); }
.lp-footer__terms { color: #93a1b5; font-size: 0.82rem; }

/* ---------- MOBILE: mniejszy nagłówek hero (desktop bez zmian) ---------- */
@media (max-width: 640px) {
    .lp-hero__title { font-size: 1.7rem; }
    /* mobile: druga fotka (bio) zbedna - chowamy, zostaje sama tresc */
    .lp-bio__media { display: none; }
}
