/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zmienne CSS */
:root {
    --primary-color: #2c7bfe;
    --secondary-color: #1a5fb4;
    --accent-color: #4ecdc4;
    --text-color: #333;
    --background-color: #fff;
    --light-background: #f8f9fa;
    --surface-color: #eef5ff;
    --border-color: #d9e5f8;
    --shadow: 0 10px 30px rgba(21, 57, 110, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 88px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #ebf3ff;
    color: var(--secondary-color);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading p:last-child {
    color: #4e5e79;
}

.text-link {
    font-weight: 700;
}

.plain-list {
    padding-left: 18px;
}

.plain-list li + li {
    margin-top: 10px;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px;
}

.logo {
    flex: 0 0 auto;
}

.logo-link {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-nav {
    position: relative;
    flex: 1 1 auto;
}

.site-nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 28px;
}

.site-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
}

.site-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1951a9 0%, #2c7bfe 52%, #5bc6ff 100%);
    color: white;
    margin-top: 80px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.hero::before {
    width: 320px;
    height: 320px;
    top: -110px;
    right: -80px;
}

.hero::after {
    width: 220px;
    height: 220px;
    left: 6%;
    bottom: -90px;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 32px;
    align-items: center;
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    max-width: 760px;
}

.hero-lead {
    max-width: 720px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 22px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.hero-points li {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.95rem;
}

.hero-panel {
    background: rgba(10, 28, 59, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    font-size: 1.35rem;
}

.info-list {
    display: grid;
    gap: 16px;
    margin: 22px 0;
}

.info-list div {
    display: grid;
    gap: 4px;
}

.info-list strong {
    font-size: 1rem;
}

.info-list span {
    color: rgba(255, 255, 255, 0.84);
}

.hero-panel .text-link {
    color: white;
}

/* About */
.about {
    background-color: var(--light-background);
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.about-text,
.highlight-card,
.process-step,
.contact-info,
.contact-note,
.policy-card {
    background-color: white;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.about-text {
    padding: 34px;
}

.about-highlights {
    display: grid;
    gap: 20px;
}

.highlight-card {
    padding: 24px;
    border-top: 4px solid var(--accent-color);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: white;
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(21, 57, 110, 0.16);
}

/* Process */
.process {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.process-step {
    padding: 28px;
    border: 1px solid var(--border-color);
}

.step-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 18px;
    background: var(--surface-color);
    color: var(--secondary-color);
    font-weight: 700;
}

/* CTA */
.cta-band {
    background: linear-gradient(135deg, #163d80 0%, #1f62ca 100%);
    color: white;
}

.cta-band-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-band p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
}

/* FAQ */
.faq {
    background-color: var(--light-background);
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    padding: 24px 28px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 14px;
    margin-bottom: 0;
    color: #4e5e79;
}

/* Contact */
.contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.contact-info,
.contact-note {
    padding: 30px;
}

.contact-info h3,
.contact-note h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-note {
    border-top: 4px solid var(--accent-color);
}

.location-card {
    background-color: var(--surface-color);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    border-left: 4px solid var(--primary-color);
}

.location-card:last-of-type {
    margin-bottom: 22px;
}

.location-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Policy */
.policy-main {
    margin-top: 80px;
}

.policy-hero {
    background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}

.policy-intro {
    max-width: 860px;
}

.policy-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.policy-card {
    padding: 28px;
}

.policy-note {
    border-top: 4px solid #f4b740;
}

.policy-cta {
    margin-top: 8px;
}

/* Footer */
footer {
    background-color: #202939;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3,
.footer-links h4 {
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li + li {
    margin-top: 10px;
}

.footer-links ul li a,
.footer-bottom a {
    color: #cdd7ea;
}

.footer-links ul li a:hover,
.footer-bottom a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.95rem;
    color: #cdd7ea;
}

.footer-bottom-single {
    margin-top: 10px;
}

/* Animation */
.service-card,
.about-content,
.contact-content,
.process-step,
.faq-item,
.section-heading,
.cta-band-content,
.policy-card,
.policy-intro {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1),
.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2),
.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3),
.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4),
.process-step:nth-child(4) {
    transition-delay: 0.4s;
}

.about-content,
.contact-content,
.section-heading,
.cta-band-content,
.policy-intro {
    transition-delay: 0.2s;
}

/* Responsiveness */
@media (max-width: 992px) {
    .site-header .container {
        gap: 16px;
        padding: 16px 20px;
    }

    .logo-link {
        font-size: 1.55rem;
    }

    .site-nav ul {
        gap: 18px;
    }

    .hero-grid,
    .about-content,
    .contact-content,
    .footer-content,
    .cta-band-content {
        grid-template-columns: 1fr;
    }

    .cta-band-content {
        display: grid;
        justify-content: stretch;
    }
}

@media (max-width: 860px) {
    .site-nav {
        flex: 0 0 auto;
    }

    .site-nav ul {
        display: none;
        position: absolute;
        top: calc(100% + 18px);
        right: 0;
        min-width: 250px;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 12px 30px rgba(21, 57, 110, 0.18);
        border-radius: 18px;
        gap: 12px;
    }

    .site-nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    section {
        padding: 72px 0;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .hero {
        margin-top: 74px;
    }

    .hero h1 {
        font-size: 1.92rem;
    }

    .hero-panel,
    .about-text,
    .service-card,
    .process-step,
    .contact-info,
    .contact-note,
    .faq-item,
    .policy-card {
        padding: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-secondary,
    .btn-light {
        width: 100%;
        text-align: center;
    }
}
