/* ==========================================================================
   BAJLANDIA - MODERN DESIGN SYSTEM & MAIN STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & INITIAL SETUP
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --------------------------------------------------------------------------
   2. VARIABLES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #ff4757;
    --secondary-hover: #ff6b81;
    --accent: #ffa502;
    --accent-light: #fff8e7;

    /* Neutral Palette */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --bg-surface: #f1f5f9;

    /* Text Colors */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    /* Glassmorphism & Borders */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --border-color: #e2e8f0;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px -4px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 35px -5px rgba(79, 70, 229, 0.18);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw + 0.5rem, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.site-main {
    flex: 1;
}

.container-custom {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-padding {
    padding-top: clamp(3rem, 5vw, 6rem);
    padding-bottom: clamp(3rem, 5vw, 6rem);
}

/* --------------------------------------------------------------------------
    5. HEADER & NAVIGATION 
    -------------------------------------------------------------------------- */
.site-header.sticky-top {
    z-index: 1030;
}

.nav-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.navbar-custom {
    background: rgba(10, 16, 36, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    padding: 0.65rem 0;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Compact appearance on scroll */
.navbar-custom.navbar-scrolled {
    background: rgba(10, 16, 36, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.35rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.navbar-scrolled .nav-logo {
    max-height: 36px;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm, 6px);
    transition: all var(--transition-fast, 0.2s ease);
    letter-spacing: 0.01em;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header.sticky-top {
    z-index: 1030;
}

.nav-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.navbar-custom {
    background: rgba(10, 16, 36, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    padding: 0.65rem 0;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Compact appearance on scroll */
.navbar-custom.navbar-scrolled {
    background: rgba(10, 16, 36, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.35rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.navbar-scrolled .nav-logo {
    max-height: 36px;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm, 6px);
    transition: all var(--transition-fast, 0.2s ease);
    letter-spacing: 0.01em;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
}

/* --- DEDYKOWANY DROPDOWN (Bez Bootstrap Dropdown) --- */

.nav-item-dropdown {
    position: relative;
}

/* Mała strzałka w dół */
.style-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .style-arrow {
    transform: rotate(180deg);
}

/* Ukryte menu rozwijane */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(10, 16, 36, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm, 8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;

    /* Animacja wyłaniania */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Pokazywanie po najechaniu */
.nav-item-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Linki wewnątrz rozwijanego menu */
.sub-menu-link {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-menu-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    padding-left: 1.25rem;
    /* Subtelne przesunięcie w prawo */
}

/* --- MOBILE STYLING --- */
@media (max-width: 991.98px) {
    #mainNavbar {
        background: rgba(10, 16, 36, 0.97);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 0.5rem 1.25rem;
        border-radius: 0 0 var(--radius-md, 12px) var(--radius-md, 12px);
        margin-top: 0.5rem;
    }

    .nav-link-custom {
        padding: 0.65rem 1rem !important;
        border-radius: var(--radius-sm, 6px);
    }

    /* Adaptacja menu dla widoku mobilnego */
    .nav-item-dropdown {
        width: 100%;
        text-align: center;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border: none;
        border-radius: var(--radius-sm, 6px);
        margin: 0.25rem 0.5rem;
        display: none;
        /* Rozwijane na kliknięcie w mobilkach jeśli potrzeba */
    }

    .nav-item-dropdown:hover .sub-menu {
        display: block;
        /* Prosty fallback hover dla mobile */
    }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    background: linear-gradient(rgba(10, 16, 36, 0.65), rgba(10, 16, 36, 0.65)),
        url('Content/Media/baner.png') center / 100% 100% no-repeat;
    color: #ffffff;
    padding: clamp(0.5rem, 6.5vw, 7.5rem) 0;
    overflow: hidden;
    text-align: center;
}

@media (max-width: 991.98px) {
    .hero-wrapper {
        background: linear-gradient(rgba(10, 16, 36, 0.65), rgba(10, 16, 36, 0.65)),
            url('Content/Media/baner.png') 75%/ cover no-repeat;
    }
}

/* .hero-wrapper::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-slow 8s ease-in-out infinite;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -18%;
    left: -8%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-slow 10s ease-in-out 2s infinite;
} */

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #c7d2fe;
    padding: 0.42rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    letter-spacing: 0.02em;
}

/*
 * CONTRAST FIX: .hero-title and .hero-subtitle are used on every page (subpages
 * have light/white backgrounds). Default to dark readable colors. White text is
 * applied only inside the dark .hero-wrapper section on the homepage.
 */
.hero-title {
    color: #0f172a;
    font-size: clamp(1.9rem, 4vw + 0.6rem, 3.25rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    color: #475569;
    font-size: clamp(1rem, 2vw, 1.22rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

/* Override: white text only inside the dark hero banner on the homepage */
.hero-wrapper .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.hero-wrapper .hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-features-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.75rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none !important;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
}

.btn-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary), #ff6b81);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-secondary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.45);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-dark) !important;
    border: 2px solid var(--border-color);
}

.btn-outline-custom:hover {
    background: var(--bg-surface);
    border-color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   8. CARDS & PRODUCT CARDS
   -------------------------------------------------------------------------- */
.card-modern {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden !important;
    isolation: isolate;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.3);
}

.card-img-wrapper,
.card-modern .swiper,
.card-modern .owl-carousel {
    position: relative;
    width: 100%;
    height: 430px;
    flex-shrink: 0;
    overflow: hidden !important;
    background: var(--bg-surface);
    isolation: isolate;
}

@media (min-width: 768px) {

    /* --------------------------------------------------------------------------
   14. COUNTER CARD STYLE
   -------------------------------------------------------------------------- */
    .counter-card {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 1.5rem;
        text-align: center;
        transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    }

    .counter-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    /* Ensure counter numbers have accent color */
    .counter-card .display-4 {
        color: var(--primary);
    }

    /* Small description styling */
    .counter-card .h6 {
        margin-top: 0.5rem;
        margin-bottom: 0.3rem;
    }

    .counter-card small {
        color: var(--text-muted);
    }

    .card-img-wrapper,

    /* Counter typography enhancements */
    .counter-card .display-4 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .counter-card .h6 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600;
        margin-top: 0.5rem;
    }

    .counter-card small {
        font-size: 0.85rem;
    }

    .card-modern .swiper,
    .card-modern .owl-carousel {
        height: 360px;
    }
}

/* Ensure inner carousel slide containers span 100% height */
.card-modern .swiper .swiper-wrapper,
.card-modern .swiper .swiper-slide,
.card-modern .owl-carousel .owl-stage-outer,
.card-modern .owl-carousel .owl-stage,
.card-modern .owl-carousel .owl-item {
    height: 100% !important;
    width: 100% !important;
}

.card-img-top,
.product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Swiper navigation buttons customization */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
    opacity: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.card-modern:hover .swiper-button-next,
.card-modern:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(79, 70, 229, 0.85);
    transform: scale(1.1);
}

/* Swiper pagination customization */
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
    width: 18px;
    border-radius: 4px;
}

.card-body-custom {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title-custom {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.table-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.table-specs th {
    background: var(--bg-surface);
    color: var(--text-dark);
    padding: 0.4rem 0.6rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--border-color);
}

.table-specs td {
    padding: 0.4rem 0.6rem;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.age-badge {
    display: inline-block;
    background: var(--accent-light);
    color: #d97706;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   9. FORMS & CONTACT
   -------------------------------------------------------------------------- */

.form-group {
    margin-bottom: 1.25rem;
}

.form-label-custom {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-card);
    color: var(--text-dark);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.footer-custom {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. ANIMATIONS & ACCESSIBILITY
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE UTILITIES & WHITESPACE
   -------------------------------------------------------------------------- */

/* Section heading accent */
.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

/* Page intro image */
.page-intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

/* Smoother contact card spacing */
.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Icon circle in contact panels */
.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Responsive vertical rhythm */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(1.65rem, 6vw, 2.5rem);
    }

    .hero-feature-item {
        font-size: 0.82rem;
        padding: 0.45rem 0.9rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .section-padding {
        padding-top: clamp(2rem, 4vw, 3.5rem);
        padding-bottom: clamp(2rem, 4vw, 3.5rem);
    }
}

/* --------------------------------------------------------------------------
   13. PAGE HERO STRIP — decorative top banner for imageless subpages
   -------------------------------------------------------------------------- */
.page-hero-strip {
    position: relative;
    background: linear-gradient(135deg, #0a1024 0%, #1a1654 55%, #2d2680 100%);
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem);
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.page-hero-strip::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -6%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-strip::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -6%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-strip .page-strip-inner {
    position: relative;
    z-index: 2;
}

.page-hero-strip .page-strip-icon {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.92;
}

.page-hero-strip h1 {
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw + 0.8rem, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.page-hero-strip p.strip-lead {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}