/* Restored missing legacy classes */
.absolute-logo {
    max-height: 80px;
    width: auto;
}

.bg-square {
    position: absolute;
    top: 0;
    left: 0;
    width: 45vw;
    max-width: 600px;
    z-index: -1;
    pointer-events: none;
}

.bg-square-mirror {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    transform: rotate(180deg);
}

.pt-8 {
    padding-top: 8rem !important;
}

.bg-light-cyan {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 15%, transparent 40%) !important;
    box-shadow: none !important;
    border: none !important;
}

/* Mobile-specific styles */
        @media (max-width: 768px) {
            /* Hero section - allow auto height, add breathing room */
            .hero-mobile-fix {
                height: auto !important;
                min-height: auto !important;
                padding-bottom: 2rem !important;
            }

            /* More vertical space between hero cards */
            .hero-cards-container .row {
                gap: 1.5rem !important;
            }

            .hero-cards-container .col-12 {
                margin-bottom: 1rem !important;
            }

            /* Steps section - shorter descriptions on mobile */
            .step-description-full {
                display: none !important;
            }

            .step-description-short {
                display: block !important;
            }

            /* Steps section - more horizontal padding, smaller images */
            .steps-section .col-12 {
                padding-left: 1.5rem !important;
                padding-right: 1.5rem !important;
            }

            .steps-section img {
                max-width: 150px !important;
                width: 60% !important;
            }

            /* FAQ/Kontakty section - reduce horizontal padding, reduce vertical space */
            .faq-section {
                padding: 1rem 0.25rem !important;
                min-height: auto !important;
            }

            .faq-section .row {
                gap: 1rem !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }

            .faq-section .col-12 {
                padding-left: 0.25rem !important;
                padding-right: 0.25rem !important;
            }

            .faq-section .card-body {
                padding: 0.75rem !important;
            }

            .faq-section h2 {
                margin-bottom: 1rem !important;
                font-size: 1.4rem !important;
            }

            .faq-section h3 {
                margin-bottom: 0.5rem !important;
                font-size: 1.1rem !important;
            }

            .faq-section .accordion-body {
                padding: 0.75rem !important;
                font-size: 0.9rem !important;
            }

            .faq-section .card.mb-4 {
                margin-bottom: 1rem !important;
            }
        }

        /* Default: hide short descriptions on desktop */
        .step-description-short {
            display: none;
        }

        .step-description-full {
            display: block;
        }
    

    :root {
        --jss-primary: #0d6efd;
        --jss-primary-light: #e3f2fd;
        --jss-success: #198754;
        --jss-gray-100: #f8f9fa;
        --jss-gray-200: #e9ecef;
        --jss-gray-600: #6c757d;
        --jss-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        --jss-radius: 1rem;
        --jss-transition: all 0.15s ease;
    }

    .register-page-shell {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #f4f8fc 0%, #eaf1fa 100%);
        position: relative;
        overflow-x: hidden;
    }

    .register-page-main {
        flex-grow: 1;
        padding: 7.5rem 0 4rem;
        position: relative;
        isolation: isolate;
    }

    .register-page-shell .container.register-page-container {
        position: relative;
        z-index: 2;
        width: min(100% - 2rem, 1480px);
        max-width: 1480px;
    }

    .register-banner-bg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 48vh;
        object-fit: cover;
        object-position: center bottom;
        opacity: 0.22;
        pointer-events: none;
        z-index: 0;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 52%);
                mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 52%);
    }

    .register-bg-shape,
    .register-dot-matrix {
        position: absolute;
        pointer-events: none;
        z-index: 0;
    }

    .register-bg-shape {
        width: min(22vw, 360px);
        height: auto;
        opacity: 0.58;
    }

    .register-bg-shape-left {
        top: 4.5rem;
        left: -7rem;
    }

    .register-bg-shape-right {
        top: 4.5rem;
        right: -5.5rem;
        opacity: 0.24;
        transform: rotate(180deg);
    }

    .register-dot-matrix-left {
        top: 8rem;
        left: 5vw;
        opacity: 0.72;
    }

    .register-footer-separator {
        overflow: hidden;
        background-color: #4a7cbd;
        position: relative;
        z-index: 2;
    }

    .register-footer-separator img {
        display: block;
        width: 100vw;
        height: 10vh;
    }

    .register-page-shell + .register-footer-separator + footer {
        background-color: #4a7cbd !important;
        position: relative;
        z-index: 2;
    }

    .register-content {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .register-page-heading {
        text-align: center;
        max-width: 920px;
        margin: 0 auto 3rem;
        padding: 0 1rem;
    }

    .register-page-heading h1 {
        color: #0d1b2a;
        font-size: clamp(2rem, 4.2vw, 3.35rem);
        font-weight: 800;
        letter-spacing: 0;
        margin: 0;
    }

    .register-heading-kicker {
        color: #64748b;
        font-size: 0.95rem;
        margin: 0 0 0.75rem;
    }

    .register-heading-text {
        color: #475569;
        font-size: 1.02rem;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 760px;
    }

    /* Page layout for desktop */
    .register-page-wrapper {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 2.75rem;
        width: 100%;
        max-width: 1360px;
        margin: 0 auto;
        padding: 0 1rem;
        position: relative;
    }

    /* Main card - wider on desktop */
    .card.register-card {
        border: 0;
        box-shadow: 0 14px 40px rgba(15, 41, 89, 0.09);
        border-radius: 0.95rem;
        background: #fff;
        width: 100%;
        max-width: 900px;
        overflow: hidden;
    }

    /* Sticky navbar spacer */
    .navbar-spacer {
        height: 0px;
    }

    /* Sidebar for desktop */
    .register-sidebar {
        display: none;
    }

    /* Sidebar card styling */
    .sidebar-card {
        background: #fff;
        border: 1px solid rgba(15, 41, 89, 0.06);
        border-left: 4px solid var(--jss-primary);
        border-radius: 0.65rem;
        padding: 1.25rem 1.25rem 1.5rem 1.25rem;
        box-shadow: 0 8px 26px rgba(15, 41, 89, 0.07);
        margin-bottom: 1rem;
    }

    .sidebar-card:last-child {
        margin-bottom: 0;
    }

    .sidebar-card.accent-green {
        border-left-color: #198754;
    }

    .sidebar-card.accent-purple {
        border-left-color: #6f42c1;
    }

    .sidebar-card h6 {
        color: #333;
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .sidebar-card p {
        color: var(--jss-gray-600);
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.5;
    }

    .sidebar-card ul {
        color: var(--jss-gray-600);
        font-size: 0.85rem;
        margin: 0;
        padding-left: 1.25rem;
        line-height: 1.6;
    }

    @media (min-width: 1200px) {
        .register-page-wrapper {
            max-width: 1360px;
            justify-content: center;
            gap: 2.75rem;
        }

        .register-sidebar {
            display: block;
            position: sticky;
            top: 6.5rem;
            width: 360px;
            flex-shrink: 0;
            align-self: flex-start;
        }

        /* Hide inline info box on desktop */
        .info-box-inline {
            display: none;
        }

        /* On desktop, hide the inline info section completely */
        .register-section.info-section-inline {
            display: none;
        }

        /* Hide mobile-only cards on desktop */
        .mobile-info-cards {
            display: none !important;
        }
    }

    @media (min-width: 1550px) {
        .register-page-wrapper {
            max-width: 1440px;
        }

        .register-sidebar {
            width: 380px;
        }
    }

    /* Mobile info cards (shown below form on mobile) */
    .mobile-info-cards {
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-info-cards .sidebar-card {
        margin-bottom: 0;
    }

    /* Inline info box for mobile/tablet */
    .info-box-inline {
        background: #fff;
        border: 1px solid #e9ecef;
        border-left: 4px solid var(--jss-primary);
        border-radius: 0.5rem;
        padding: 1rem 1.25rem;
        margin-bottom: 0;
    }

    .info-box-inline h6 {
        color: #333;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .info-box-inline p {
        color: var(--jss-gray-600);
        font-size: 0.9rem;
        margin: 0;
    }

    /* Section styling - consistent padding */
    .register-section {
        padding: 1.75rem;
        border-bottom: 1px solid var(--jss-gray-200);
    }

    .register-section:last-child {
        border-bottom: none;
    }

    /* First real section after hidden info box */
    .register-section.first-section {
        padding-top: 1.75rem;
    }

    .register-section h5 {
        color: var(--jss-primary);
        font-weight: 700;
        margin-bottom: 1.4rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.25rem;
    }

    .register-section h5 .section-number {
        width: 32px;
        height: 32px;
        background: var(--jss-primary);
        color: #fff;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        font-weight: 700;
    }

    /* Form styling */
    .form-control,
    .form-select {
        border-radius: 0.5rem;
        padding: 0.65rem 1rem;
        border: 1px solid #dee2e6;
        transition: var(--jss-transition);
    }

    .register-page-shell .form-control,
    .register-page-shell .form-select {
        border-color: #d7e1ee;
        border-radius: 0.55rem;
        min-height: 3.55rem;
        padding: 0.85rem 1rem;
        color: #0d1b2a;
        box-shadow: none;
    }

    .register-page-shell .form-control:focus,
    .register-page-shell .form-select:focus {
        box-shadow: 0 0 0 3px rgba(21, 101, 255, 0.14);
        border-color: #1565ff;
    }

    .register-page-shell .btn-primary {
        background: #1565ff;
        border-color: #1565ff;
        border-radius: 0.55rem;
        font-weight: 600;
        box-shadow: 0 8px 18px rgba(21, 101, 255, 0.22);
    }

    .register-page-shell .btn-primary:hover,
    .register-page-shell .btn-primary:focus {
        background: #0d52d8;
        border-color: #0d52d8;
    }

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
        border-color: var(--jss-primary);
    }

    .form-label {
        font-weight: 500;
        font-size: 0.9rem;
        color: #444;
        margin-bottom: 0.4rem;
    }

    /* IČO input with status icon */
    .ico-input-wrapper {
        position: relative;
    }

    .ico-input-wrapper .status-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #adb5bd;
        pointer-events: none;
    }

    .ico-input-wrapper .spinner-border {
        width: 1.2rem;
        height: 1.2rem;
    }

    /* Company card */
    .company-card {
        background: linear-gradient(135deg, #f8faff 0%, #fff 100%);
        border: 1px solid #e0e8f0;
        border-radius: 0.75rem;
        padding: 0;
        margin: 0;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s ease, max-height 0.25s ease, margin 0.2s ease, padding 0.2s ease;
    }

    .company-card.visible {
        opacity: 1;
        max-height: 300px;
        margin-top: 1rem;
        padding: 1.25rem;
    }

    .company-card .badge-found {
        background: rgba(13, 110, 253, 0.1);
        color: var(--jss-primary);
        font-weight: 500;
        padding: 0.4rem 0.8rem;
        border-radius: 2rem;
        font-size: 0.8rem;
    }

    .company-card .data-label {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--jss-gray-600);
        margin-bottom: 2px;
    }

    .company-card .data-value {
        font-weight: 600;
        color: #333;
        font-size: 1rem;
    }

    .company-card-actions {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }

    /* Toast notification */
    .jss-toast {
        position: fixed;
        top: 20px;
        right: 20px;
        background: var(--jss-primary);
        color: #fff;
        padding: 0.85rem 1.25rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s, transform 0.2s;
        max-width: 350px;
    }

    .jss-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* Form section - company data */
    .company-fields {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s ease, max-height 0.25s ease;
        padding: 0 1.5rem;
        border-bottom: none;
    }

    .company-fields.visible {
        opacity: 1;
        max-height: 600px;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--jss-gray-200);
    }

    .company-fields.readonly .form-control[readonly] {
        background-color: var(--jss-gray-100);
        cursor: not-allowed;
    }

    .company-fields.readonly .form-control:not([readonly]) {
        cursor: text;
    }

    /* Registration form section */
    .registration-fields {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s ease, max-height 0.25s ease;
        padding: 0 1.5rem;
    }

    .registration-fields.visible {
        opacity: 1;
        max-height: 1000px;
        padding: 1.25rem 1.5rem;
    }

    /* Buttons */
    .btn-jss-primary {
        background: var(--jss-primary);
        color: #fff;
        border: none;
        border-radius: 0.5rem;
        padding: 0.7rem 1.5rem;
        font-weight: 600;
        transition: var(--jss-transition);
    }

    .btn-jss-primary:hover {
        background: #0b5ed7;
        color: #fff;
    }

    .btn-jss-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .btn-jss-secondary {
        background: transparent;
        color: var(--jss-gray-600);
        border: 1px solid #dee2e6;
        border-radius: 0.5rem;
        padding: 0.7rem 1.5rem;
        font-weight: 500;
        transition: var(--jss-transition);
    }

    .btn-jss-secondary:hover {
        background: var(--jss-gray-100);
        color: #333;
    }

    /* Consent section */
    .consent-section {
        background: var(--jss-gray-100);
        border-radius: 0.5rem;
        padding: 1rem;
    }

    .consent-section .form-check-label {
        font-size: 0.85rem;
        color: var(--jss-gray-600);
    }

    /* Manual entry link */
    .manual-entry-link {
        color: var(--jss-gray-600);
        font-size: 0.85rem;
        text-decoration: underline;
        cursor: pointer;
    }

    .manual-entry-link:hover {
        color: var(--jss-primary);
    }

/* ========================================================================
   Top navbar (v2)
   ====================================================================== */
.jss-top-navbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.6rem 0;
    z-index: 1050;
}

.jss-top-navbar .absolute-logo {
    max-height: 56px;
}

.jss-top-links {
    gap: 1.25rem;
}

.jss-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.jss-top-link:hover {
    color: var(--jss-primary);
}

.jss-top-link svg {
    color: #1f2937;
}

.jss-top-link:hover svg {
    color: var(--jss-primary);
}

.jss-top-divider {
    width: 1px;
    height: 22px;
    background: #d8dde6;
}

@media (max-width: 575.98px) {
    .jss-top-links {
        gap: 0.75rem;
    }
    .jss-top-link span {
        display: none;
    }
    .jss-top-navbar .absolute-logo {
        max-height: 44px;
    }
}

/* ========================================================================
   Hero v2
   ====================================================================== */
.hero-v2 {
    background: linear-gradient(180deg, #f4f8fc 0%, #eaf1fa 100%);
    padding: 6rem 0 2rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.hero-banner-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 60%);
            mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 60%);
}

/* Parallax layers - the transform is driven by --px/--py from JS */
.parallax-layer {
    position: absolute;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
}

.parallax-cube-left {
    top: 0;
    left: 0;
}

.parallax-cube-right {
    transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(180deg);
    top: auto;
    bottom: 0;
    right: 0;
    left: auto;
}

.hero-v2 .parallax-layer .bg-square {
    position: static;
    width: 38vw;
    max-width: 520px;
    opacity: 0.95;
}

.hero-v2 .parallax-layer .bg-square-mirror {
    transform: none; /* parent layer handles the flip */
}

/* Dot matrices near the cubes */
.dot-matrix {
    opacity: 0.55;
    z-index: 1;
}

.dot-matrix-left {
    top: 18%;
    left: 7vw;
    width: 110px;
    height: 110px;
}

.dot-matrix-right {
    top: 14%;
    right: 6vw;
    width: 110px;
    height: 110px;
}

@media (max-width: 991.98px) {
    .dot-matrix-left { top: 12%; left: 3vw; width: 80px; height: 80px; }
    .dot-matrix-right { top: 9%; right: 3vw; width: 80px; height: 80px; }
    .hero-v2 .parallax-layer .bg-square { width: 55vw; }
}

@media (max-width: 575.98px) {
    .dot-matrix { display: none; }
}

.hero-v2-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
}

.hero-v2-headline {
    margin-top: 1rem;
}

.hero-v2-headline h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    color: #0d1b2a;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.hero-title-underline {
    display: block;
    width: 64px;
    height: 4px;
    background: var(--jss-primary);
    border-radius: 4px;
    margin: 0.5rem auto 1.25rem;
}

.hero-v2-lead {
    font-size: 1.05rem;
    color: #475569;
    max-width: 760px;
    margin: 0 auto 2rem;
    line-height: 1.55;
}

.hero-v2-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.btn.btn-jss-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.75rem;
    padding: 1rem 2.1rem;
    font-weight: 600;
    border-radius: 0.7rem;
    font-size: 1.08rem;
    min-width: 310px;
    justify-content: center;
    position: relative;
    text-align: center;
}

.btn.btn-jss-hero svg {
    position: absolute;
    left: 1.6rem;
}

.btn-jss-hero.btn-primary {
    background: #1565ff;
    border-color: #1565ff;
    box-shadow: 0 8px 18px rgba(21, 101, 255, 0.25);
}

.btn-jss-hero.btn-primary:hover,
.btn-jss-hero.btn-primary:focus {
    background: #0d52d8;
    border-color: #0d52d8;
}

.btn-jss-hero.btn-outline-primary {
    color: #1565ff;
    border-color: #1565ff;
    background: rgba(255, 255, 255, 0.6);
}

.btn-jss-hero.btn-outline-primary:hover {
    background: #1565ff;
    color: #fff;
}

/* Feature cards row */
.hero-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 8rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 0.95rem;
    padding: 2.25rem 1.75rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    box-shadow: 0 6px 22px rgba(15, 41, 89, 0.06);
    border: 1px solid rgba(15, 41, 89, 0.04);
}

.feature-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e7f0fb;
    color: #1565ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 0.25rem;
}

.feature-body p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* "Více informací" full-width card */
.hero-more-info {
    background: #fff;
    border-radius: 0.85rem;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    box-shadow: 0 6px 22px rgba(15, 41, 89, 0.06);
    border: 1px solid rgba(15, 41, 89, 0.04);
    margin-top: auto;
}

.more-info-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e7f0fb;
    color: #1565ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.more-info-body {
    flex: 1 1 auto;
}

.more-info-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 0.15rem;
}

.more-info-body p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.more-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #1565ff;
    border-color: #1565ff;
    background: #fff;
}

.more-info-btn:hover {
    background: #1565ff;
    color: #fff;
}

@media (max-width: 991.98px) {
    .hero-feature-cards {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    .hero-v2 {
        padding: 5.5rem 0 1.5rem;
    }
    .hero-v2-headline {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .btn.btn-jss-hero {
        min-width: 0;
        width: 100%;
    }
    .hero-more-info {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .more-info-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================================
   Page sections (v2) - unified design pattern
   ====================================================================== */
.jss-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.jss-section-tinted {
    background: linear-gradient(180deg, #f4f8fc 0%, #eaf1fa 100%);
}

.jss-section-plain {
    background: #fff;
}

.jss-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.jss-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0d1b2a;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.jss-section-underline {
    display: block;
    width: 64px;
    height: 4px;
    background: var(--jss-primary);
    border-radius: 4px;
    margin: 0.75rem auto 1.25rem;
}

.jss-section-lead {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.55;
    margin: 0;
}

/* §4 / §6 / §7 paragraph cards */
.paragraf-card {
    background: #fff;
    border-radius: 0.95rem;
    padding: 2rem 1.5rem 1.75rem;
    box-shadow: 0 6px 22px rgba(15, 41, 89, 0.06);
    border: 1px solid rgba(15, 41, 89, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.paragraf-card img {
    width: 70%;
    max-width: 200px;
    margin-bottom: 1.25rem;
}

.paragraf-card h3 {
    color: #0d1b2a;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.paragraf-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* Dodatky cards (match feature-card look) */
.dodatek-card {
    background: #fff;
    border-radius: 0.95rem;
    padding: 1.75rem 1.25rem 1.5rem;
    box-shadow: 0 6px 22px rgba(15, 41, 89, 0.06);
    border: 1px solid rgba(15, 41, 89, 0.04);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dodatek-card img {
    max-width: 86px;
    margin-bottom: 0.85rem;
}

.dodatek-card h5 {
    color: #0d1b2a;
    font-weight: 700;
    font-size: 1.02rem;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.dodatek-card .price-included {
    color: var(--jss-success);
    font-weight: 600;
    margin: 0;
}

.dodatek-card .price-extra {
    color: var(--jss-primary);
    font-weight: 600;
    margin: 0;
}

/* Process steps */
.step-card {
    text-align: center;
    padding: 0.5rem 0.5rem 0;
}

.step-card img {
    max-width: 140px;
    width: 75%;
    margin-bottom: 1rem;
}

.step-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* FAQ + Kontakty cards */
.jss-card-rounded {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 6px 22px rgba(15, 41, 89, 0.06);
    border: 1px solid rgba(15, 41, 89, 0.04);
    height: 100%;
}

.jss-card-rounded h2,
.jss-card-rounded h3 {
    color: #0d1b2a;
    font-weight: 700;
}

.jss-card-rounded h2 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.jss-card-rounded h3 {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

/* Accordion */
.jss-accordion .accordion-item {
    border: 1px solid #e6ebf2;
    border-radius: 0.65rem !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.jss-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.jss-accordion .accordion-button {
    background: #fff;
    color: #0d1b2a;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.65rem !important;
}

.jss-accordion .accordion-button:not(.collapsed) {
    background: #e7f0fb;
    color: var(--jss-primary);
    box-shadow: none;
}

.jss-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(21, 101, 255, 0.15);
    border-color: transparent;
}

.jss-accordion .accordion-body {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1rem 1.1rem 1.1rem;
}

.jss-accordion .accordion-body h2 {
    color: #0d1b2a;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1rem 0 0.6rem;
}

.jss-accordion .accordion-body h2:first-child {
    margin-top: 0;
}

.jss-accordion .accordion-body p {
    margin-bottom: 0.6rem;
}

/* Contact card */
.contact-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-left: 4px solid var(--jss-primary);
    border-radius: 0.65rem;
    box-shadow: 0 4px 18px rgba(15, 41, 89, 0.04);
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card .card-title {
    color: #0d1b2a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.contact-card .card-subtitle {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.contact-card .card-text {
    color: #475569;
    font-size: 0.92rem;
    margin: 0.1rem 0;
}

@media (max-width: 767.98px) {
    .jss-section {
        padding: 3rem 0 2.5rem;
    }
    .jss-section-header {
        margin-bottom: 2rem;
    }
    .jss-card-rounded {
        padding: 1.25rem;
    }
}
