:root {
    --bg: #f7f5f3;
    --bg-muted: #ffffff;
    --accent: #ff7a3c;
    --accent-soft: #ffe1cf;
    --accent-dark: #e15c1f;
    --text: #1f1f2a;
    --text-muted: #6b6b80;
    --border: #e4e0da;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
}

/* Global */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 245, 243, 0.96);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(228, 224, 218, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #fff, #ffb992);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 18px;
}

.logo-text span:last-child {
    color: var(--accent-dark);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

.main-nav a {
    color: var(--text-muted);
    padding: 6px 0;
}

.main-nav a.active {
    color: var(--text);
    font-weight: 500;
}

.main-nav .btn-outline.small {
    padding: 6px 16px;
    font-size: 13px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 14px 30px rgba(225, 92, 31, 0.38);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(225, 92, 31, 0.48);
    opacity: 0.96;
}

.btn.full {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(225, 92, 31, 0.4);
    color: var(--accent-dark);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 122, 60, 0.06);
    box-shadow: none;
}

.btn-link {
    border: none;
    background: none;
    padding: 0;
    margin-left: 6px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
}

.btn-light {
    background: #fff;
    color: var(--accent-dark);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

/* Hero */

.hero {
    padding: 48px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

.hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero-sub {
    max-width: 420px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-trust {
    display: flex;
    gap: 22px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-trust strong {
    display: block;
    color: var(--text);
    font-size: 16px;
}

/* Hero Card */

.hero-card {
    background: var(--bg-muted);
    border-radius: 24px;
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(228, 224, 218, 0.9);
}

.hero-card h2 {
    font-size: 18px;
    margin: 0 0 4px;
}

.hero-card p {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.hero-form input[type="range"],
.hero-form select {
    width: 100%;
    margin-top: 6px;
}

.hero-form select {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 8px 10px;
    font-size: 14px;
}

.form-row-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text);
}

.hero-summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7f2;
    border: 1px solid #ffe1cf;
    font-size: 12px;
    margin: 8px 0 14px;
}

.hero-summary span {
    display: block;
    color: var(--text-muted);
}

.hero-summary strong {
    display: block;
    color: var(--accent-dark);
    margin-top: 2px;
}

.form-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Sections */

.section {
    padding: 56px 0;
}

.section-muted {
    background: #f0ede8;
}

.section-accent {
    background: linear-gradient(135deg, #ffb992, #ff7a3c);
    color: #3b1a0e;
}

.section-header.center {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 32px;
}

.section-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 6px;
}

.section h2 {
    font-size: 24px;
    margin: 0 0 10px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Cards grid */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.card {
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(228, 224, 218, 0.9);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.card-image {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 16px 16px 18px;
    font-size: 13px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card-body p {
    margin: 0 0 10px;
    color: var(--text-muted);
}

.card-list {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--text-muted);
}

.card-list li {
    margin-bottom: 4px;
}

.card-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-dark);
}

/* Two-column layout */

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
}

.image-panel {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* Icon list */

.icon-list {
    margin-top: 20px;
    display: grid;
    gap: 16px;
}

.icon-list-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step-card {
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 16px 16px 18px;
    border: 1px solid rgba(228, 224, 218, 0.9);
    font-size: 13px;
}

.step-number {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff1e6;
    color: var(--accent-dark);
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Testimonials */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial {
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 16px 16px 18px;
    border: 1px solid rgba(228, 224, 218, 0.9);
    font-size: 13px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.testimonial p {
    margin: 0 0 12px;
    color: var(--text-muted);
}

.testimonial-meta span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
}

/* FAQ */

.faq {
    align-items: flex-start;
}

.faq-list {
    background: var(--bg-muted);
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(228, 224, 218, 0.9);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.faq-list details {
    border-bottom: 1px solid rgba(228, 224, 218, 0.9);
    padding: 8px 0;
}

.faq-list details:last-child {
    border-bottom: none;
}

.faq-list summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.faq-list p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Final */

.cta-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-final h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.cta-final p {
    margin: 0;
    font-size: 14px;
    max-width: 460px;
}

/* Footer */

.site-footer {
    background: #15141b;
    color: #d1d1e1;
    padding-top: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 40px;
    font-size: 13px;
}

.footer-logo .logo-mark {
    background: radial-gradient(circle at 30% 20%, #fff, #ffb992);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #d1d1e1;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 18px;
    border-top: 1px solid rgba(148, 149, 166, 0.4);
    padding: 10px 0 14px;
    font-size: 11px;
    color: #9b9cb4;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
}

/* Other pages - common hero */

.page-hero {
    padding: 48px 0 34px;
}

.page-hero h1 {
    font-size: 28px;
    margin: 0 0 8px;
}

.page-hero p {
    margin: 0;
    max-width: 520px;
    color: var(--text-muted);
    font-size: 14px;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 34px;
    align-items: flex-start;
    padding-bottom: 54px;
}

.page-content {
    background: var(--bg-muted);
    border-radius: 20px;
    padding: 22px 22px 24px;
    border: 1px solid rgba(228, 224, 218, 0.9);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    font-size: 14px;
}

.page-content h2 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 18px;
}

.page-content p {
    margin: 0 0 8px;
    color: var(--text-muted);
}

.page-sidebar {
    font-size: 13px;
}

.sidebar-box {
    background: var(--bg-muted);
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(228, 224, 218, 0.9);
    margin-bottom: 12px;
}

/* Contact */

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive */

@media (max-width: 992px) {
    .hero-grid,
    .two-col,
    .page-layout {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav {
        display: none; /* dla prostoty – można dodać burger menu */
    }

    .site-header {
        padding-bottom: 8px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 32px;
    }

    .cards-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-final {
        flex-direction: column;
        align-items: flex-start;
    }
}