:root {
    --navy: #1f3b63; /* granat z logo */
    --navy-2: #274771;
    --blue: #5aa6d6; /* błękit */
    --cream: #f6f3ee; /* jasne tło */
    --sand: #fff9f1;
    --accent: #e5513f; /* czerwony akcent z książki */
    --gold: #f0b43a; /* żółty detal (kotwica) */
    --ink: #0f172a; /* ciemny do tekstu */
    --muted: #5b6b7e;
    --radius: 18px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    backdrop-filter: saturate(140%) blur(6px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 46px;
    height: 46px;
}

.brand h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform 0.06s ease, filter 0.2s ease, background 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.btn--light {
    background: #fff;
    color: var(--navy);
    border: 1px solid #e4e8ef;
}

.btn--accent {
    background: var(--accent);
}

.phone {
    font-weight: 800;
    color: var(--navy);
}

.phone-2 {
    font-weight: 800;
    color: var(--sand);
}

.hide-mobile {
    display: block;
}

@media (max-width: 720px) {
    .hide-mobile {
        display: none;
    }
}

/* HERO (slider 3 kadry) */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, var(--sand) 100%);
    border-bottom: 1px solid #e8edf5;
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 20px 54px;
}

.slides {
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #fff;
}

.track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.slide,
.banner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.slide {
    min-width: 100%;
    background:
        radial-gradient(1200px 400px at 60% 140%, rgba(39, 71, 113, 0.06), transparent 60%),
        radial-gradient(800px 300px at 10% -20%, rgba(90, 166, 214, 0.1), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.slide__visual,
.banner__visual {
    position: relative;
    padding: 16px;
}

.slide__visual .tag,
.badge-city {
    position: absolute;
    left: 16px;
    top: 16px;
    background: rgba(31, 59, 99, 0.08);
    color: var(--navy);
    font-weight: 700;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
}

.badge-city {
    font-weight: 800;
    padding: 6px 12px;
    letter-spacing: 0.06em;
}

.slide__visual img,
.banner__visual img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.slide__text {
    padding: 10px 10px 10px 0;
}

.eyebrow {
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.slide h2,
.banner h2 {
    font-size: 34px;
    line-height: 1.15;
    margin: 0.3em 0 0.4em;
    color: var(--navy);
}

.slide p,
.banner p {
    color: var(--muted);
    font-size: 18px;
    margin: 0.2em 0 1em;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pill {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--navy);
}

.hero-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #c8d4e5;
    cursor: pointer;
    border: none;
}

.dot.active {
    background: var(--navy);
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 58px;
    pointer-events: none;
    background:
        radial-gradient(80% 38px at 50% 120%, rgba(31, 59, 99, 0.08), transparent 60%),
        linear-gradient(180deg, transparent 0, rgba(39, 71, 113, 0.06) 100%);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M0,0 C150,100 350,0 600,70 C850,140 1050,0 1200,60 L1200,100 L0,100 Z" fill="black"/></svg>');
    mask-size: cover;
    mask-repeat: no-repeat;
}

@media (max-width: 960px) {
    .slide,
    .banner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .slide h2,
    .banner h2 {
        font-size: 28px;
    }

    .slide p,
    .banner p {
        font-size: 16px;
    }
}

/* Single hero banner for city landing pages */
.banner {
    background-image:
        radial-gradient(1200px 400px at 60% 140%, rgba(39, 71, 113, 0.06), transparent 60%),
        radial-gradient(800px 300px at 10% -20%, rgba(90, 166, 214, 0.1), transparent 60%);
}

/* 3 steps */
section {
    padding: 68px 0;
}

.section-title {
    margin: 0 0 18px;
    font-size: 28px;
    color: var(--navy);
}

.section-lead {
    margin: 0 0 28px;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 10px;
}

.card h3 {
    margin: 0.2em 0 0.4em;
    font-size: 20px;
    color: var(--navy);
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

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

/* Info rules */
.rules {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: start;
}

.rules .card ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.rules .card li {
    margin: 10px 0;
    padding-left: 26px;
    position: relative;
}

.rules .card li::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--accent);
    font-weight: 800;
}

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

/* Contact strip */
.contact-strip {
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
    border-top: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-actions .btn {
    height: 56px;
    padding: 0 24px;
    gap: 10px;
}

.big-phone {
    font-size: 24px;
    color: #0e2a4a;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Footer */
footer {
    padding: 28px 0;
    color: #dbe5f2;
    background: var(--navy);
    background-image: radial-gradient(1000px 200px at 50% -10%, rgba(255, 255, 255, 0.12), transparent);
}

footer .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

footer .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(219, 229, 242, 0.25);
    margin-bottom: 20px;
    padding-bottom: 24px;
}

footer small {
    opacity: 0.9;
}

.footer-cities h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-cities ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3;
    column-gap: 30px;
}

.footer-cities li {
    break-inside: avoid;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-cities a {
    color: #dbe5f2;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.88;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-cities a::before {
    content: "•";
    font-size: 18px;
    color: var(--accent);
    transform: translateY(-1px);
}

.footer-cities a:hover {
    opacity: 1;
}

@media (max-width: 720px) {
    .footer-cities ul {
        columns: 2;
    }
}

/* City landing extras */
.areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border: 1px solid #e6ebf3;
    border-radius: 999px;
    padding: 6px 12px;
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.faq {
    max-width: 900px;
}

.faq details {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
}
