/* Minimalny CSS startowy – możesz przenieść do style.css */
:root {
    --bg: #0f0f12;
    --card: #17171c;
    --text: #f2f2f2;
    --muted: #b9b9c3;
    --line: #2a2a33;
    --btn: #ffffff;
    --btnText: #0f0f12;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 130px;
    /* wysokość nav */
    scroll-behavior: smooth;
    /* opcjonalnie, płynne przewijanie */
}

body {
    margin: 0;
    font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1100px, 92%);
    margin: 0 auto;
}

nav {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 18, .9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 12px;
    margin-top:4px;
}

/* logo */

.logo {
    /* ustawiasz docelowy rozmiar */
    height: auto;
    /* zachowuje proporcje */
    height: 8em;
    width: auto;
}


/* kafelki z pojedynczymi usługami */
.serviceTiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.serviceTile {
    padding: 18px;
    border: 1px solid var(--line, rgba(255, 255, 255, .16));
    border-radius: 16px;
}

.serviceTile:hover {
    transform: translateY(-2px);
}

.tileTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fromPrice {
    font-weight: 700;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line, rgba(255, 255, 255, .16));
    white-space: nowrap;
}

.serviceTile h3 {
    margin: 10px 0 6px;
}

.serviceTile p {
    margin: 0;
    opacity: .9;
    line-height: 1.5;
}

.serviceTile .ico {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line, rgba(255, 255, 255, .16));
}

.serviceTile .ico i {
    font-size: 16px;
}

@media (max-width: 900px) {
    .serviceTiles {
        grid-template-columns: 1fr;
    }
}


.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand strong {
    font-size: 18px;
    letter-spacing: .3px;
}

.brand span {
    font-size: 12px;
    color: var(--muted);
}

.links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.links a {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 10px;
}

.links a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
}

header {
    padding: 64px 0 34px;
    border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 22px;
    align-items: center;
}

.kicker {
    color: var(--muted);
    font-size: 14px;
}

h1 {
    margin: 8px 0 10px;
    font-size: 42px;
    line-height: 1.08;
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 62ch;
}

.ctaRow {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--btn);
    color: var(--btnText);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;

}

.btn:hover {
    background-color: #cdba9a;
    /* stonowane złoto */
    color: #1a1a1a;
    transform: translateY(-1px);
}

.btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    font-weight: 600;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.btn.secondary:hover {
    background-color: #cdba9a;
    color: #1a1a1a;
}

.heroCard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.heroCard p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

#start {
    background-image:
        linear-gradient(rgba(15, 15, 18, .50), rgba(15, 15, 18, .92)),
        url("images/bg/hero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Section */
section {
    padding: 38px 0;
    border-bottom: 1px solid var(--line);
}

.sectionTitle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.sectionTitle h2 {
    margin: 0;
    font-size: 24px;
}

.sectionTitle p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.offers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.offer {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.offerTop {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.offer h3 {
    margin: 0;
    font-size: 18px;
}

.price {
    font-weight: 800;
}

.offer .sub {
    margin: 6px 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Pakiet self publishing */
#pakiet-selfpublishing-start {
    grid-column: 1 / -1;
    /* jeśli masz grid */
}

#pakiet-selfpublishing-start .result {
    margin: 14px 0 22px;
    font-weight: 500;
}

#pakiet-selfpublishing-start .bullets li {
    margin-bottom: 8px;
}

#pakiet-selfpublishing-start .note {
    margin-top: 22px;
    font-size: 0.9em;
    opacity: 0.85;
    line-height: 1.4;
}


/* Pakiet przedwydawnczy */


#pakiet-przedwydawniczy-start {
    grid-column: 1 / -1;
    /* jeśli masz grid */
}

#pakiet-przedwydawniczy-start .result {
    margin: 14px 0 22px;
    font-weight: 500;
}

#pakiet-przedwydawniczy-start .bullets li {
    margin-bottom: 8px;
}

#pakiet-przedwydawniczy-start .note {
    margin-top: 22px;
    font-size: 0.9em;
    opacity: 0.85;
    line-height: 1.4;
}



.bullets {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.offer .miniCta {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.note {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stepNum {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 10px;
}

details {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
}

details+details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 700;
}

details p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

/* O mnie */
.about {
    display: grid;
    grid-template-columns: 1fr 260px;
    /* tekst szeroki + wąska kolumna na zdjęcie */
    gap: 18px;
    align-content: space-around;
}

.aboutImg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.aboutBody {
    padding: 18px;
}

.aboutMedia {
    padding: 10px;
}

/* Na mobile: zdjęcie pod tekstem */
@media (max-width: 860px) {
    .about {
        grid-template-columns: 1fr;
    }

    .aboutMedia {
        max-width: 320px;
        /* zdjęcie mniejsze także na mobile */
        justify-self: end;
        /* trzyma się prawej */
    }
}


footer {
    padding: 34px 0 34px;
}

footer {
    background-image:
        linear-gradient(rgba(15, 15, 18, .50), rgba(15, 15, 18, .92)),
        url("images/bg/hero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
}

.foot a {
    text-decoration: underline;
}

.footRight {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social {
    display: flex;
    gap: 16px;
}

.socialBtn {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line, rgba(255, 255, 255, .18));
    border-radius: 999px;
    text-decoration: none;
}

.socialBtn i {
    font-size: 18px;
}

.socialBtn:hover {
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .offers {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 34px;
    }
}

/* Media: Nawigacja */

@media (max-width: 900px) {
  nav {
    position: static;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    width: 100%;
  }

  .links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .links a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
}
