/* ===========================================================================
   Salonio, strony publiczne.

   Arkusz dokladany do app.css, tylko dla stron bez logowania: ekranu
   sprzedazowego, cennika i dokumentow. Panel go nie wczytuje, bo nie ma
   powodu, zeby pracownica w recepcji pobierala style strony reklamowej.

   Kolory, promienie i cienie pochodza ze zmiennych z app.css, zeby strona
   i panel wygladaly jak jeden produkt, a nie jak reklama czegos innego.
   =========================================================================== */

.site { background: var(--surface); }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 78px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* --- pasek gorny ---------------------------------------------------------- */

.site-head {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-head__inner {
    display: flex; align-items: center; gap: 18px;
    padding-top: 12px; padding-bottom: 12px;
}
.site-logo {
    font-size: 19px; font-weight: 700; letter-spacing: -.02em;
    color: var(--text); text-decoration: none;
}
.site-logo span { color: var(--accent); }

.site-nav { display: flex; gap: 20px; margin-left: 12px; }
.site-nav a { color: var(--muted); font-size: 14.5px; font-weight: 520; }
.site-nav a:hover { color: var(--text); }

.site-head__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-link { color: var(--muted); font-size: 14.5px; font-weight: 520; }
.site-link:hover { color: var(--text); }

.site-page { padding-top: 28px; padding-bottom: 40px; }

/* --- sekcje --------------------------------------------------------------- */

.band { padding: 64px 0; }
.band--alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.section-head h2 { font-size: 27px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.02em; }
.section-sub { color: var(--muted); font-size: 15.5px; margin: 0; }

.eyebrow {
    margin: 0 0 10px; color: var(--accent); font-size: 12.5px; font-weight: 640;
    letter-spacing: .08em; text-transform: uppercase;
}

.note { margin: 22px auto 0; max-width: 680px; text-align: center; color: var(--muted); font-size: 13.5px; }

.btn--lg { min-height: 48px; padding: 12px 22px; font-size: 15.5px; border-radius: var(--r); }

/* --- ekran pierwszy ------------------------------------------------------- */

.hero-wrap {
    padding: 52px 0 56px;
    background:
        radial-gradient(900px 420px at 15% -10%, var(--accent-soft), transparent 70%),
        radial-gradient(700px 380px at 95% 0%, #f3efe8, transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy h1 {
    font-size: 34px; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px;
    max-width: 20ch;
}
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 0 0 24px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; }
.hero-points li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Podglad panelu, rysowany stylami. */
.hero-mock { position: relative; }
.mock {
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
}
.mock__bar {
    display: flex; gap: 6px; padding: 11px 14px;
    background: var(--surface-alt); border-bottom: 1px solid var(--border);
}
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock__body { padding: 16px; }
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock__head strong { font-size: 14.5px; }
.mock__pill {
    font-size: 11.5px; font-weight: 600; color: var(--accent);
    background: var(--accent-soft); border-radius: 999px; padding: 3px 9px;
}
.mock__slot { display: flex; gap: 10px; align-items: stretch; margin-bottom: 8px; }
.mock__time { width: 42px; flex: none; color: var(--muted); font-size: 12px; padding-top: 9px; }
.mock__event {
    flex: 1; padding: 9px 12px; border-radius: var(--r-sm);
    border-left: 3px solid var(--accent); background: var(--accent-soft);
}
.mock__event strong { display: block; font-size: 13.5px; }
.mock__event small { color: var(--muted); font-size: 12px; }
.mock__event--b { border-left-color: #8f6440; background: #f6efe8; }
.mock__event--c { border-left-color: #4f6da8; background: #eceff7; }
.mock__free {
    flex: 1; border: 1px dashed var(--border-strong); border-radius: var(--r-sm);
    color: var(--muted); font-size: 12px; padding: 9px 12px;
}

.mock-sms {
    margin: -18px 0 0 auto; max-width: 320px; position: relative; z-index: 2;
    background: var(--side-bg); color: #f1efeb; border-radius: var(--r-lg);
    padding: 14px 16px; box-shadow: var(--shadow);
}
.mock-sms__head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
    color: #a8a49c; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
}
.mock-sms__head svg { width: 15px; height: 15px; }
.mock-sms p { margin: 0; font-size: 13.5px; line-height: 1.5; }

/* Branze: pasek pod ekranem pierwszym. */
.branches {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin: 46px 0 0; padding: 0;
}
.branches li {
    padding: 6px 13px; border-radius: 999px; font-size: 13px; color: var(--muted);
    background: var(--surface); border: 1px solid var(--border);
}

/* --- karty korzysci ------------------------------------------------------- */

.cards-3 { display: grid; gap: 16px; }
.feature {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.feature__icon {
    width: 42px; height: 42px; border-radius: var(--r); margin-bottom: 14px;
    display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 17px; margin: 0 0 7px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* --- rzedy funkcji -------------------------------------------------------- */

.split-row { display: grid; gap: 26px; align-items: center; margin-bottom: 46px; }
.split-row:last-of-type { margin-bottom: 0; }
.split-row__copy h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.02em; }
.split-row__copy p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 14px; max-width: 54ch; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; padding: 5px 0; font-size: 14.5px; }
.ticks svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 2px; }

.split-row__art {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm);
}

.art-calendar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; height: 190px; }
.art-calendar__col { position: relative; background: var(--surface-alt); border-radius: var(--r-sm); }
.art-calendar__col span {
    position: absolute; top: -18px; left: 0; right: 0; text-align: center;
    font-size: 11px; color: var(--muted);
}
.art-calendar__col i {
    position: absolute; left: 4px; right: 4px; border-radius: 4px;
    background: var(--accent-soft); border-left: 3px solid var(--accent);
}
.art-calendar__col--now { background: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.art-calendar { margin-top: 20px; }

.art-client__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.art-avatar {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: #4f6da8; color: #fff; font-weight: 640; font-size: 14px; flex: none;
}
.art-client__head strong { display: block; font-size: 15px; }
.art-client__head small { color: var(--muted); font-size: 12.5px; }
.art-client__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.art-client__stats div {
    background: var(--surface-alt); border-radius: var(--r-sm); padding: 10px; text-align: center;
}
.art-client__stats b { display: block; font-size: 16px; font-weight: 660; }
.art-client__stats span { color: var(--muted); font-size: 11.5px; }
.art-client__list { list-style: none; margin: 0; padding: 0; }
.art-client__list li {
    display: flex; gap: 10px; align-items: center; padding: 8px 0;
    border-top: 1px solid var(--border); font-size: 13.5px;
}
.art-client__list span { color: var(--muted); font-size: 12.5px; width: 46px; flex: none; }
.art-client__list b { margin-left: auto; font-weight: 600; }

.art-sms__phone { max-width: 300px; margin: 0 auto; }
.art-sms__bubble {
    background: var(--accent); color: #fff; border-radius: 16px 16px 16px 4px;
    padding: 11px 14px; font-size: 13.5px; line-height: 1.5;
}
.art-sms__bubble--next { margin-top: 16px; }
.art-sms__meta { color: var(--muted); font-size: 11.5px; margin: 6px 0 0 4px; }

/* --- male kafelki --------------------------------------------------------- */

.cards-3--tight { margin-top: 40px; }
.mini {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); padding: 18px;
}
.mini h4 {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin: 0 0 6px; font-size: 15px; font-weight: 620;
}
.mini h4 svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.mini p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.mini--soon { border-style: dashed; }
.chip {
    font-size: 11px; font-weight: 620; text-transform: uppercase; letter-spacing: .04em;
    color: var(--warn); background: var(--warn-bg); border-radius: 999px; padding: 2px 8px;
}

/* --- pakiety SMS ---------------------------------------------------------- */

.rates { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.rate {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 20px; text-align: center;
}
.rate__credits { font-size: 27px; font-weight: 680; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rate__label { color: var(--muted); font-size: 12.5px; }
.rate__price { margin-top: 10px; font-size: 17px; font-weight: 640; }
.rate__unit { color: var(--muted); font-size: 12.5px; }

/* --- kroki ---------------------------------------------------------------- */

.steps-big { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; counter-reset: krok; }
.steps-big li {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 24px; position: relative;
}
.steps-big__no {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--accent); color: #fff; font-weight: 660; font-size: 15px; margin-bottom: 14px;
}
.steps-big h3 { font-size: 17px; margin: 0 0 6px; }
.steps-big p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* --- cennik skrocony ------------------------------------------------------ */

.price-2 { display: grid; gap: 16px; align-items: stretch; }
.price-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.price-card--best { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card__ribbon {
    position: absolute; top: -12px; left: 26px; padding: 4px 11px; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 620;
}
.price-card h3 { font-size: 19px; margin: 0; }
.price-card__price {
    font-size: 38px; font-weight: 700; letter-spacing: -.03em; margin: 10px 0 4px;
    font-variant-numeric: tabular-nums;
}
.price-card__price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 5px; }
.price-card__note { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; min-height: 20px; }
.price-card .ticks { margin-bottom: 22px; }
.price-card .btn { margin-top: auto; }

/* --- pytania -------------------------------------------------------------- */

.faq {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
}
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary {
    cursor: pointer; padding: 17px 20px; font-size: 15.5px; font-weight: 580;
    display: flex; align-items: center; gap: 12px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; margin-left: auto; color: var(--muted); font-size: 19px; font-weight: 400;
    line-height: 1; transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--surface-alt); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* --- ostatnie wezwanie ---------------------------------------------------- */

.cta { background: var(--side-bg); color: #f1efeb; padding: 54px 0; }
.cta__inner { display: grid; gap: 22px; align-items: center; }
.cta h2 { font-size: 25px; margin: 0 0 8px; letter-spacing: -.02em; color: #fff; }
.cta p { margin: 0; color: #b6b2aa; font-size: 15.5px; line-height: 1.6; max-width: 56ch; }
.cta__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta__actions span { color: #8c887f; font-size: 12.5px; }

/* --- stopka --------------------------------------------------------------- */

.site-foot { background: var(--bg); border-top: 1px solid var(--border); padding: 44px 0 0; }
.site-foot__inner { display: grid; gap: 28px; padding-bottom: 32px; }
.site-foot__brand p { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; max-width: 34ch; }
.site-foot__col h3 {
    font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
    color: var(--muted); margin: 0 0 12px; font-weight: 640;
}
.site-foot__col a { display: block; color: var(--text); font-size: 14px; padding: 4px 0; }
.site-foot__col a:hover { color: var(--accent); }
.site-foot__bottom {
    display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
    border-top: 1px solid var(--border); padding-top: 18px; padding-bottom: 24px;
    color: var(--muted); font-size: 12.5px;
}

/* ===========================================================================
   Od 720 pikseli
   =========================================================================== */

@media (min-width: 720px) {
    .band { padding: 78px 0; }
    .cards-3 { grid-template-columns: repeat(3, 1fr); }
    .rates { grid-template-columns: repeat(4, 1fr); }
    .steps-big { grid-template-columns: repeat(3, 1fr); }
    .price-2 { grid-template-columns: repeat(2, 1fr); }
    .site-foot__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .cta__inner { grid-template-columns: 1fr auto; }
    .cta__actions { align-items: flex-end; text-align: right; }
    .section-head h2 { font-size: 30px; }
}

@media (min-width: 960px) {
    .hero-wrap { padding: 76px 0 64px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 54px; }
    .hero-copy h1 { font-size: 46px; }
    .lead { font-size: 18px; }
    .split-row { grid-template-columns: 1fr 1fr; gap: 44px; }
    .split-row--flip .split-row__copy { order: 2; }
    .split-row--flip .split-row__art { order: 1; }
}

/* Telefon: podglad panelu schodzi pod tekst i nie moze rozpychac strony. */
@media (max-width: 719px) {
    .hero-copy h1 { font-size: 29px; max-width: none; }
    .hero-cta { display: grid; }
    .hero-cta .btn { width: 100%; }
    .mock-sms { margin-left: 0; max-width: none; }
    .site-nav { display: none; }
}

@media print {
    .site-head, .site-foot, .cta { display: none; }
}

/* --- tabela porownania planow --------------------------------------------- */

.hero-wrap--short { padding: 44px 0 40px; }

.cmp {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
}
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; font-size: 14.5px; }
.cmp thead th {
    background: var(--surface-alt); border-bottom: 1px solid var(--border);
    font-size: 13px; font-weight: 640;
}
.cmp tbody tr { border-bottom: 1px solid var(--border); }
.cmp tbody tr:last-child { border-bottom: none; }
.cmp__cell { text-align: center; width: 150px; }
.cmp__cell svg { width: 18px; height: 18px; color: var(--accent); }
.cmp__no { color: var(--border-strong); }
.cmp__text { color: var(--muted); font-size: 13px; }

@media (max-width: 560px) {
    .cmp th, .cmp td { padding: 11px 10px; font-size: 13px; }
    .cmp__cell { width: 74px; }
}

/* Bloki w podgladzie tygodnia dostaja kolory pracownikow, tak jak w kalendarzu. */
.art-calendar__col i.art-b { background: #f6efe8; border-left-color: #8f6440; }
.art-calendar__col i.art-c { background: #eceff7; border-left-color: #4f6da8; }

/* Po krotkim naglowku sekcja zaczyna sie blizej, bo inaczej robi sie dziura. */
.hero-wrap--short + .band { padding-top: 44px; }
