/* =========================================================
   ZMIENNE KOLORYSTYCZNE
========================================================= */

:root {
    --bg-main: #fbf7ff;
    --bg-hero: #f6f0ff;
    --text-main: #1f1235;
    --text-muted: #6b7280;
    --primary: #6f3ff5;          /* fiolet */
    --primary-dark: #4b2ab3;
    --accent-orange: #ff9b65;
    --accent-yellow: #ffd96b;
    --accent-pink: #ffb6c9;
    --card-bg: #ffffff;
}

/* baza */

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-main);
    font-family: "sofia-pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
}

/* żeby wszystko było max ~1200px */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   HEADER + NAVBAR
========================================================= */

.hero-header {
    background: linear-gradient(180deg, #f3ecff 0%, #f5f0ff 55%, #f7f3ff 100%);
    padding-top: 32px;
    padding-bottom: 56px;
    position: relative;
}

/* delikatny pasek na dole jak w designie */
.hero-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: rgba(148, 163, 184, 0.35);
}

.hero-navbar {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 32px;
}

/* brand */

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--text-main);
    text-decoration: none;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff5c5c;
    margin-right: 10px;
}

.brand-text {
    line-height: 1.1;
}

/* menu */

.hero-menu .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #a1a3c0;
    padding: 8px 10px;
}

.hero-menu .nav-link:hover,
.hero-menu .nav-item.active .nav-link {
    color: #1e1036;
    font-weight: 600;
}

/* kontakt w nagłówku */

.hero-contact {
    margin-left: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-contact-item {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.hero-contact-item i {
    margin-right: 6px;
    color: #8b5cf6;
}

/* toggler */

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.navbar-toggler-icon i {
    color: var(--primary);
    font-size: 18px;
}

/* mobile nav tło */

@media (max-width: 991.98px) {
    .hero-navbar {
        margin-bottom: 20px;
    }

    .navbar-collapse {
        padding-top: 16px;
    }

    .hero-contact {
        margin-left: 0;
        margin-top: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-contact-item {
        margin-left: 0;
        margin-bottom: 4px;
    }

    .hero-menu .nav-link {
        padding-left: 0;
    }
}

/* =========================================================
   HERO SEKCJA
========================================================= */

.hero {
    margin-top: 18px;
    padding-bottom: 40px;
}

/* tekst */

.hero-content {
    padding-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    color: #1e1036;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    color: #8285a2;
    max-width: 480px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

/* przyciski */

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 999px;
    background: radial-gradient(circle at 10% 0, #b38aff 0, #6f3ff5 45%, #5b2dd8 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 22px 50px rgba(108, 58, 245, 0.65);
    border: none;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 28px 60px rgba(108, 58, 245, 0.75);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: #f9f7ff;
    color: #1e1036;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(177, 173, 210, 0.7);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    text-decoration: none;
    background: #ffffff;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

/* statystyki */

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-stat {
    display: flex;
    align-items: center;
    max-width: 260px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 22px 50px rgba(148, 163, 184, 0.4);
}

.hero-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #f5f0ff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary);
}

.hero-stat-icon-secondary {
    color: #22c55e;
}

.hero-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #1e1036;
}

.hero-stat-label {
    font-size: 13px;
    color: #8b90aa;
}

/* prawa kolumna z dziećmi */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-figure {
    position: relative;
    width: 100%;
    max-width: 480px;
    min-height: 270px;
}

/* dwa kółka ze zdjęciami */

.hero-kid {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.45);
}

.hero-kid::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ffffff;
}

.hero-kid::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 50%;
}

/* LEWE DZIECKO – pomarańczowe koło */
.hero-kid-left {
    left: 10px;
    top: 10px;
}

.hero-kid-left::after {
    background: #f7a259;
}

/* PRAWE DZIECKO – żółte koło */
.hero-kid-right {
    right: 0;
    top: 70px;
}

.hero-kid-right::after {
    background: #ffd96b;
}

/* doodles – małe ozdobniki (kółka) */

.hero-doodle {
    position: absolute;
    border-radius: 999px;
    border: 1.5px solid rgba(148, 163, 184, 0.8);
}

.hero-doodle-1 {
    width: 44px;
    height: 44px;
    left: 60%;
    top: 0;
}

.hero-doodle-2 {
    width: 40px;
    height: 40px;
    right: -6px;
    top: 40px;
}

.hero-doodle-3 {
    width: 34px;
    height: 34px;
    right: 50px;
    bottom: -12px;
}

/* mobile hero */

@media (max-width: 991.98px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }
}

/* =========================================================
   GŁÓWNA TREŚĆ
========================================================= */

.page-main {
    flex: 1;
    padding: 40px 0 50px;
}

.page-heading {
    margin-bottom: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.page-lead {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 540px;
}

.page-content {
    margin-top: 20px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.35);
    font-size: 15px;
    line-height: 1.7;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* =========================================================
   STOPKA
========================================================= */

.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 28px 0 18px;
    margin-top: auto;
}

.footer-inner {
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-text {
    color: #d1d5db;
    font-size: 14px;
}

.footer-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-bottom: 8px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 4px;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #a5b4fc;
}

.footer-contact i {
    margin-right: 6px;
    color: #a5b4fc;
}

/* dół stopki */

.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.9);
    margin-top: 18px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
}

.footer-powered strong {
    color: #e5e7eb;
}

/* mobile */

@media (max-width: 767.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* =========================================================
   HERO – UKŁAD W STYLU EDUKIDS
========================================================= */

.hero-edukids {
    padding-top: 40px;
    padding-bottom: 70px;
}

.hero-edukids-main {
    max-width: 720px;
    margin: 0 auto 32px auto;
}

.hero-subtitle-center {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* statystyki na środku */

.hero-stats-center {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* kółka / dzieci po bokach */

.hero-edukids-visual {
    position: relative;
    margin: 30px auto 0 auto;
    max-width: 760px;
    min-height: 260px;
}

.hero-circle {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.45);
}

.hero-circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ffffff;
}

.hero-circle::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
}

/* LEWE KOŁO – POMARAŃCZ / DZIECKO */
.hero-circle-left {
    left: 60px;
    top: 0;
}

.hero-circle-left::after {
    /* tu możesz dodać własne zdjęcie dziecka zamiast czystego koloru */
    background:
        radial-gradient(circle at 50% 50%, #f7a259 0, #f7a259 60%, transparent 61%);
    /* np. tak:
       background:
         radial-gradient(circle at 50% 50%, #f7a259 0, #f7a259 60%, transparent 61%),
         url("images/dziecko-lewe.png") center 40% / 80% auto no-repeat;
    */
}

/* PRAWE KOŁO – ŻÓŁTE / DZIECKO */
.hero-circle-right {
    right: 60px;
    top: 40px;
}

.hero-circle-right::after {
    background:
        radial-gradient(circle at 50% 50%, #ffd96b 0, #ffd96b 60%, transparent 61%);
}

/* doodles jak w poprzedniej wersji, tylko względem nowego kontenera */

.hero-edukids-visual .hero-doodle {
    position: absolute;
    border-radius: 999px;
    border: 1.5px solid rgba(148, 163, 184, 0.8);
}

.hero-edukids-visual .hero-doodle-1 {
    width: 44px;
    height: 44px;
    left: 52%;
    top: -16px;
}

.hero-edukids-visual .hero-doodle-2 {
    width: 40px;
    height: 40px;
    right: 40px;
    top: 10px;
}

.hero-edukids-visual .hero-doodle-3 {
    width: 34px;
    height: 34px;
    right: 150px;
    bottom: -14px;
}

/* CTA wyśrodkowane */

.hero-actions-center {
    justify-content: center;
}

/* mobile */

@media (max-width: 991.98px) {
    .hero-edukids-visual {
        max-width: 360px;
        min-height: 220px;
    }

    .hero-circle {
        width: 200px;
        height: 200px;
    }

    .hero-circle-left {
        left: 0;
    }

    .hero-circle-right {
        right: 0;
        top: 60px;
    }
}