main > .container {
    padding: 70px 15px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.not-set {
    color: var(--bs-danger);
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--bs-body-color);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--bs-body-color);
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: var(--bs-secondary-color);
}

.error-summary {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
    border-left: 3px solid var(--bs-danger-border-subtle);
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align navbar brand baseline with nav links */
.navbar > .container,
.navbar > .container-fluid {
    align-items: baseline;
}

/* style navbar logout link color, hover state, and mobile layout */
.navbar-nav .nav-link.logout {
    color: var(--bs-navbar-color);
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-link.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar-nav .nav-link.logout:focus,
.navbar-nav .nav-link.logout:hover {
    color: var(--bs-navbar-hover-color);
}



/* footer logo: light logo by default (light bg-body-tertiary), dark logo for dark theme */
.footer-logo-dark { display: none; }

[data-bs-theme="dark"] .footer-logo-light { display: none; }
[data-bs-theme="dark"] .footer-logo-dark  { display: inline-block; }

/* Yii brand button */
.btn-yii {
    background: linear-gradient(135deg, #226bf2, #1d5ce0);
    border: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: opacity .2s, transform .1s;
}

.btn-yii:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.btn-yii:active {
    transform: translateY(0);
}

/* form inputs: seamless icon inside input (Volt style) */
.form-card .input-group {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-card .input-group .input-group-text {
    background: var(--bs-body-bg);
    border: 0;
    padding-left: 1rem;
    padding-right: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card .input-group .form-control {
    border: 0;
}

.form-card .input-group .form-control:focus {
    box-shadow: none;
}

.form-card .input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

/* validation styles for browsers that support :has() */
@supports selector(.input-group:has(.is-invalid)) {
    .form-card .input-group:has(.is-invalid) ~ .invalid-feedback {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .form-card .input-group:has(.is-invalid) {
        border-color: var(--bs-danger);
    }

    .form-card .input-group:has(.is-invalid):focus-within {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* fallback validation styles for browsers without :has() support */
@supports not selector(.input-group:has(.is-invalid)) {
    .form-card .invalid-feedback:not(:empty) {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .form-card .input-group .form-control.is-invalid {
        border: var(--bs-border-width) solid var(--bs-danger);
    }

    .form-card .input-group .form-control.is-invalid:focus {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* login inputs: seamless icon inside input (Volt style) */
.login-split-card .input-group {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.login-split-card .input-group .input-group-text {
    background: transparent;
    border: 0;
    padding-left: .75rem;
    padding-right: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-split-card .input-group .form-control {
    border: 0;
    background: transparent;
}

.login-split-card .input-group .form-control:focus {
    box-shadow: none;
}

.login-split-card .input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

/* validation styles for login split card (browsers with :has()) */
@supports selector(.input-group:has(.is-invalid)) {
    .login-split-card .input-group:has(.is-invalid) ~ .invalid-feedback {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .login-split-card .input-group:has(.is-invalid) {
        border-color: var(--bs-danger);
    }

    .login-split-card .input-group:has(.is-invalid):focus-within {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* fallback validation styles for login split card (browsers without :has()) */
@supports not selector(.input-group:has(.is-invalid)) {
    .login-split-card .invalid-feedback:not(:empty) {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .login-split-card .input-group .form-control.is-invalid {
        border: var(--bs-border-width) solid var(--bs-danger);
    }

    .login-split-card .input-group .form-control.is-invalid:focus {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* login split card */
.login-split-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
    background-color: var(--bs-gray-100);
    width: 100%;
    max-width: 900px;
}

.login-split-card-wide {
    max-width: 960px;
}

.login-brand-title {
    font-size: 1.75rem;
    line-height: 1.3;
}

.login-brand-text {
    font-size: .9rem;
}

.login-brand-panel {
    background: linear-gradient(135deg, #226bf2 0%, #1d5ce0 40%, #38bdf8 100%);
    position: relative;
    min-height: 480px;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, .2) 0%, transparent 40%);
    pointer-events: none;
}

.login-btn {
    background: linear-gradient(135deg, #226bf2, #1d5ce0);
    border: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: opacity .2s, transform .1s;
}

.login-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

/* dark mode login card */
[data-bs-theme="dark"] .login-split-card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 4px 24px rgba(0, 0, 0, .4);
}

[data-bs-theme="dark"] .login-mobile-logo {
    filter: invert(1);
}

/* contact form textarea height */
.site-contact textarea.form-control {
    height: 140px;
}

/* form cards */
.form-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
}

/* dark mode: elevate form cards against dark background */
[data-bs-theme="dark"] .form-card {
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 4px 24px rgba(0, 0, 0, .4);
}

/* captcha: blend with card background */
.site-contact img[src*="captcha"] {
    border-radius: var(--bs-border-radius);
    mix-blend-mode: multiply;
}

/* dark mode: invert captcha for visibility on dark background */
[data-bs-theme="dark"] .site-contact img[src*="captcha"] {
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
}

/* centered page layout */
.site-login,
.site-signup,
.site-contact,
.site-request-password-reset,
.site-reset-password,
.site-resend-verification-email,
.site-index,
.site-error,
.site-about {
    flex: 1;
}

.site-error .site-error-content,
.site-about .site-about-content {
    width: 100%;
    max-width: 90%;
}

@media (min-width: 576px) {
    .site-error .site-error-content,
    .site-about .site-about-content {
        max-width: 80%;
    }
}

@media (min-width: 768px) {
    .site-error .site-error-content,
    .site-about .site-about-content {
        max-width: 60%;
    }
}

@media (min-width: 992px) {
    .site-error .site-error-content,
    .site-about .site-about-content {
        max-width: 50%;
    }
}

/* hero banner */
.hero-banner {
    background: linear-gradient(135deg, #38bdf8 0%, #1d5ce0 40%, #226bf2 100%);
    position: relative;
}

.hero-lead {
    max-width: 520px;
}

.hero-logo {
    height: 120px;
    opacity: .45;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, .3) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(56, 189, 248, .25) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 107, 242, .15) 0%, transparent 60%);
    pointer-events: none;
}

/* extension cards */
.extension-card {
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.extension-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important;
}

.extension-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* dark mode: extension cards */
[data-bs-theme="dark"] .extension-card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 2px 8px rgba(0, 0, 0, .3);
}

[data-bs-theme="dark"] .extension-card:hover {
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 8px 24px rgba(0, 0, 0, .4) !important;
}

/* ============================================================
   eleon landing page
   ============================================================ */

:root {
    --el-primary: #226bf2;
    --el-primary-dark: #1a54c7;
    --el-primary-rgb: 34, 107, 242;
    --el-ink: #0f172a;
    --el-surface: #eef4ff;
    --el-gradient: linear-gradient(135deg, #226bf2 0%, #1d5ce0 60%, #1544b3 100%);
}

.xsmall { font-size: .75rem; }

/* --- brand --- */
.brand-eleon .brand-word {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -.02em;
    color: var(--bs-body-color);
}

.brand-eleon .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: .65rem;
    background: var(--el-gradient);
    color: #fff;
}

/* --- navbar --- */
.eleon-navbar {
    backdrop-filter: blur(10px);
    --bs-bg-opacity: .92;
}

.eleon-navbar .nav-link {
    font-weight: 500;
}

.eleon-navbar .nav-link:hover {
    color: var(--el-primary);
}

/* --- buttons --- */
.btn-eleon {
    background: var(--el-gradient);
    border: none;
    color: #fff;
    transition: opacity .2s, transform .1s, box-shadow .2s;
}

.btn-eleon:hover, .btn-eleon:focus {
    color: #fff;
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(var(--el-primary-rgb), .35);
}

.btn-eleon:active { transform: translateY(0); color: #fff; }

.btn-outline-eleon {
    border: 1.5px solid var(--el-primary);
    color: var(--el-primary-dark);
    background: transparent;
    transition: background-color .2s, color .2s;
}

.btn-outline-eleon:hover {
    background: rgba(var(--el-primary-rgb), .1);
    color: var(--el-primary-dark);
    border-color: var(--el-primary);
}

[data-bs-theme="dark"] .btn-outline-eleon { color: #93bbfa; border-color: #60a5fa; }
[data-bs-theme="dark"] .btn-outline-eleon:hover { background: rgba(96, 165, 250, .12); color: #93bbfa; }

/* --- layout helpers --- */
.landing-body main { padding-top: 62px; }
.landing-alerts { padding-top: 1rem; }
.landing-alerts:empty { display: none; }

.section-block { padding: 5rem 0; }
.section-alt { background: var(--bs-tertiary-bg); }
.section-heading { max-width: 720px; }

.section-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--el-primary);
    margin-bottom: .75rem;
}

.text-gradient {
    background: var(--el-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-bs-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.icon-check { color: var(--el-primary); }
.icon-alert { color: #f59e0b; }

/* --- hero --- */
.hero-section {
    padding: 0;
    background:
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(var(--el-primary-rgb), .12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(14, 116, 144, .08) 0%, transparent 70%);
}

.badge-pill {
    background: rgba(var(--el-primary-rgb), .08);
    border: 1px solid rgba(var(--el-primary-rgb), .25);
    color: var(--el-primary-dark);
    border-radius: 999px;
    padding: .35rem 1rem .35rem .4rem;
    font-size: .85rem;
    font-weight: 500;
}

[data-bs-theme="dark"] .badge-pill { color: #93bbfa; }

.badge-new {
    background: var(--el-gradient);
    color: #fff;
    border-radius: 999px;
    padding: .15rem .65rem;
    font-size: .75rem;
    font-weight: 700;
}

/* --- hero mockup --- */
.hero-mockup { max-width: 560px; }

.mockup-window {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}

.mockup-titlebar {
    height: 40px;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.mockup-title { color: var(--bs-secondary-color); font-weight: 500; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #f87171; }
.dot-y { background: #fbbf24; }
.dot-g { background: #34d399; }

.kpi-tile {
    background: var(--bs-tertiary-bg);
    border-radius: .75rem;
    padding: .75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kpi-value { font-size: 1.35rem; font-weight: 800; color: var(--el-primary-dark); line-height: 1.2; }
[data-bs-theme="dark"] .kpi-value { color: #60a5fa; }
.kpi-label { font-size: .68rem; color: var(--bs-secondary-color); }

.mockup-chart {
    background: var(--bs-tertiary-bg);
    border-radius: .75rem;
    padding: .75rem;
}

.chart-label { color: var(--bs-secondary-color); margin-bottom: .5rem; }

.chart-bars { height: 90px; }

.chart-bars span {
    flex: 1;
    border-radius: .35rem .35rem 0 0;
    background: rgba(var(--el-primary-rgb), .3);
}

.chart-bars .bar-active { background: var(--el-gradient); }

.mockup-row {
    padding: .55rem .25rem;
    font-size: .8rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.mockup-row:last-child { border-bottom: 0; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-ok { background: #10b981; }
.status-warn { background: #f59e0b; }
.status-alert { background: #ef4444; }

.mockup-tag {
    font-size: .68rem;
    font-weight: 600;
    border-radius: 999px;
    padding: .15rem .6rem;
    white-space: nowrap;
}

.tag-ok { background: rgba(16, 185, 129, .12); color: #059669; }
.tag-warn { background: rgba(245, 158, 11, .14); color: #b45309; }
.tag-alert { background: rgba(239, 68, 68, .12); color: #dc2626; }

[data-bs-theme="dark"] .tag-ok { color: #34d399; }
[data-bs-theme="dark"] .tag-warn { color: #fbbf24; }
[data-bs-theme="dark"] .tag-alert { color: #f87171; }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    padding: .65rem .9rem;
    animation: el-float 5s ease-in-out infinite;
}

.float-card-1 { top: 18%; left: -3.5rem; }
.float-card-2 { bottom: 12%; right: -2.5rem; animation-delay: 2.5s; }

@keyframes el-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 991.98px) {
    .float-card-1 { left: 0; }
    .float-card-2 { right: 0; }
}

/* --- usecases strip --- */
.usecases-strip { border-top: 1px solid var(--bs-border-color); border-bottom: 1px solid var(--bs-border-color); }

.usecase-scroller {
    overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-width: none;
}

.usecase-scroller::-webkit-scrollbar { display: none; }

.usecase-chip {
    white-space: nowrap;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    padding: .45rem 1rem;
    font-size: .85rem;
    font-weight: 500;
}

/* --- features --- */
.feature-row { padding: 3rem 0; }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background: rgba(var(--el-primary-rgb), .1);
    color: var(--el-primary-dark);
}

[data-bs-theme="dark"] .feature-icon { color: #60a5fa; }

.feature-icon-sm { width: 44px; height: 44px; border-radius: .85rem; }

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .6rem;
    color: var(--bs-secondary-color);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(var(--el-primary-rgb), .12);
    color: var(--el-primary-dark);
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .2rem;
}

[data-bs-theme="dark"] .feature-list li::before { color: #60a5fa; }

.feature-visual {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    max-width: 480px;
    margin-inline: auto;
}

.mini-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    padding: .8rem 1rem;
}

.mini-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.mini-ok { background: rgba(16, 185, 129, .12); color: #059669; }
.mini-warn { background: rgba(245, 158, 11, .14); color: #b45309; }

[data-bs-theme="dark"] .mini-ok { color: #34d399; }
[data-bs-theme="dark"] .mini-warn { color: #fbbf24; }

.check-item {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    padding: .65rem .9rem;
    font-size: .875rem;
    margin-bottom: .5rem;
}

.check-box {
    width: 22px;
    height: 22px;
    border-radius: .45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.check-box.checked { background: var(--el-gradient); color: #fff; }
.check-box.pending { border: 2px solid var(--bs-border-color); }

.progress-track {
    height: 8px;
    border-radius: 999px;
    background: var(--bs-border-color);
    overflow: hidden;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--el-gradient);
}

/* timeline */
.timeline { position: relative; padding-left: .25rem; }

.timeline-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color);
}

.timeline-item:last-child::before { display: none; }

.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: .15rem;
    border: 4px solid var(--bs-tertiary-bg);
    position: relative;
    z-index: 1;
}

.tl-ok { background: #10b981; }
.tl-warn { background: #f59e0b; }
.tl-alert { background: #ef4444; }

/* feature / industry / testimonial cards */
.feature-card,
.industry-card,
.testimonial-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.feature-card:hover,
.industry-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .1);
}

[data-bs-theme="dark"] .feature-card:hover,
[data-bs-theme="dark"] .industry-card:hover,
[data-bs-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}

.industry-emoji { font-size: 2rem; line-height: 1; }

.industry-stat {
    border-top: 1px solid var(--bs-border-color);
    padding-top: .85rem;
    margin-top: .5rem;
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.industry-stat strong {
    font-size: 1.35rem;
    color: var(--el-primary-dark);
}

[data-bs-theme="dark"] .industry-stat strong { color: #60a5fa; }

/* --- metrics band --- */
.metrics-band {
    background: var(--el-gradient);
    padding: 4rem 0;
}

.metric-value {
    display: block;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.metric-label {
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
}

/* --- testimonials --- */
.stars { color: #f59e0b; letter-spacing: .15em; }

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--el-gradient);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- FAQ --- */
.faq-accordion .accordion-item {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem !important;
    margin-bottom: .75rem;
    overflow: hidden;
    background: var(--bs-body-bg);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    background: var(--bs-body-bg);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--el-primary-dark);
    background: rgba(var(--el-primary-rgb), .06);
}

[data-bs-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) { color: #60a5fa; }

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--el-primary-rgb), .15);
}

/* --- CTA final --- */
.cta-panel {
    background: var(--el-gradient);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-panel > * { position: relative; }

.cta-sub {
    color: rgba(255, 255, 255, .85);
    max-width: 560px;
    font-size: 1.05rem;
}

.cta-btn-main { color: var(--el-primary-dark); }

/* --- footer --- */
.eleon-footer {
    background: var(--bs-tertiary-bg);
    border-top: 1px solid var(--bs-border-color);
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: .9rem;
}

.footer-links a:hover { color: var(--el-primary); }

.footer-divider { border-color: var(--bs-border-color); opacity: 1; }

/* smooth anchor scrolling with navbar offset */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }

/* --- eleon logo (header & footer) --- */
.brand-logo {
    height: 46px;
    width: auto;
    display: block;
}

.brand-logo-footer {
    height: 64px;
    width: auto;
    display: block;
}

/* swap positive/negative logo according to active theme */
.brand-logo-dark { display: none; }

[data-bs-theme="dark"] .brand-logo-light { display: none; }
[data-bs-theme="dark"] img.brand-logo-dark { display: block; }

/* keep navbar compact with the taller logo */
.eleon-navbar .navbar-brand { padding-top: .25rem; padding-bottom: .25rem; }

@media (max-width: 575.98px) {
    .brand-logo { height: 38px; }
}

/* image brand needs center alignment (template default is baseline for text brand) */
.eleon-navbar > .container,
.eleon-navbar > .container-fluid {
    align-items: center;
}

/* --- hero: full-bleed artwork with overlaid copy --- */
.hero-visual { width: 100%; }

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 680px;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-copy {
    max-width: 720px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 1.5rem;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

[data-bs-theme="dark"] .hero-copy {
    background: rgba(15, 23, 42, .82);
    border-color: rgba(255, 255, 255, .08);
}

/* float cards positioned over the hero artwork (right side; copy panel sits left) */
.hero-visual .float-card-1 { top: 2rem; left: auto; right: max(1.5rem, 4vw); }
.hero-visual .float-card-2 { bottom: 2rem; right: max(1.5rem, 4vw); }

@media (max-width: 991.98px) {
    /* on small screens the float cards would collide with the overlaid copy */
    .hero-visual .float-card { display: none; }

    .hero-image { min-height: 720px; }

    .hero-copy { padding: 2rem 1.5rem; }
}

/* --- WhatsApp floating bubble --- */
.whatsapp-fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}

.whatsapp-fab:active { transform: scale(1); }

@media (max-width: 575.98px) {
    .whatsapp-fab {
        width: 52px;
        height: 52px;
        right: 1rem;
        bottom: 1rem;
    }

    .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* contact form: lighter placeholder color */
.site-contact .form-control::placeholder {
    color: #c3cad4;
    opacity: 1;
}

[data-bs-theme="dark"] .site-contact .form-control::placeholder {
    color: #4b5563;
}

/* --- error page (404 / 500) --- */
.error-code {
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    background: var(--el-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-logo { height: 90px; width: auto; }

.error-logo-dark { display: none; }

[data-bs-theme="dark"] .error-logo-light { display: none; }
[data-bs-theme="dark"] .error-logo-dark { display: inline-block; }

/* 404 illustration */
.error-illustration {
    max-width: min(380px, 85%);
    height: auto;
}
