/* AR Cyber Lab - theme overrides */

:root {
    --acl-primary: #1a6fa8;
    --acl-primary-dark: #0d4f7a;
    --acl-primary-light: #1677b5; /* AA contrast with white (>= 4.5) */
    --acl-accent: #ff4430;
    --acl-accent-soft: #ff6b5a;
    --acl-dark: #0f172a;
    --acl-dark-soft: #1e293b;
    --acl-text: #334155;
    --acl-text-light: #475569;
    --acl-heading: #0f172a;
    --acl-bg: #ffffff;
    --acl-bg-alt: #f1f5f9;
    --acl-bg-muted: #f8fafc;
    --acl-border: #e2e8f0;
    --acl-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --acl-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --acl-radius: 12px;
    --acl-radius-lg: 20px;
    --acl-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --acl-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --acl-font-heading: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --acl-header-height: 72px;
    --acl-focus: #0d4f7a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--acl-header-height) + 24px);
}

/* Anchor targets: clear fixed header + show section intro */
#solutiile,
#procedam,
#diferit {
    scroll-margin-top: calc(var(--acl-header-height) + 24px);
}

/* Accessibility helpers */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 16px;
    background: var(--acl-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 0;
    top: 0;
    position: fixed;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Visible focus for keyboard users (overrides main.css outline:0) */
a:focus-visible,
button:focus-visible,
.default-btn:focus-visible,
.slicknav_btn:focus-visible,
.form-control:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
#scroll-to-top:focus-visible {
    outline: 3px solid var(--acl-focus) !important;
    outline-offset: 2px !important;
}

::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

::-webkit-input-placeholder { color: #64748b !important; }
::-moz-placeholder { color: #64748b !important; opacity: 1; }
:-ms-input-placeholder { color: #64748b !important; }

.navbar-brand img,
.footer-logo img {
    width: 150px;
    height: 60px;
    display: block;
    max-width: 100%;
}

.sr-only {
    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;
}

/* Remove legacy preloader from critical path */
.site-preloader-wrap {
    display: none !important;
}

/* ── Base ── */
body {
    font-family: var(--acl-font);
    color: var(--acl-text);
    font-size: 17px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--acl-font-heading);
    color: var(--acl-heading);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.25; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

::selection { background-color: var(--acl-primary); color: #fff; }
::-webkit-scrollbar-thumb { background: var(--acl-primary); }

a { transition: color var(--acl-transition), opacity var(--acl-transition); }

.bg-grey { background-color: var(--acl-bg-muted) !important; }
.bd-bottom { border-bottom-color: var(--acl-border) !important; }
.bd-top { border-top-color: var(--acl-border) !important; }

.padding { padding: 80px 0; }

/* ── Buttons ── */
.default-btn {
    border-radius: 50px;
    font-family: var(--acl-font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    padding: 0 28px;
    height: 48px;
    line-height: 48px;
    transition: background-color var(--acl-transition), color var(--acl-transition), border-color var(--acl-transition);
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.default-btn.btn-blue {
    background: var(--acl-primary) !important;
    color: #fff !important;
}

.default-btn.btn-blue:hover {
    background: var(--acl-primary-dark) !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* ── Header / Navbar ── */
.header-section {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--acl-header-height);
    background: #fff;
    border-bottom: 1px solid var(--acl-border);
    transition: background-color var(--acl-transition), box-shadow var(--acl-transition), border-color var(--acl-transition);
    z-index: 1050;
}

.header-section.mobile-nav-open {
    height: auto;
    min-height: var(--acl-header-height);
    overflow: visible;
}

.header-section.animated,
.header-section.slideInDown {
    animation: none !important;
    transform: none !important;
}

.header-section.transparent:not(.header-scrolled) {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none !important;
}

.header-section.header-scrolled,
.header-section.header-scrolled.transparent {
    background: #fff !important;
    border-bottom-color: var(--acl-border);
    box-shadow: 0 1px 0 var(--acl-border), 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.header-section .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    min-height: var(--acl-header-height);
    gap: 16px;
    position: relative;
}

.header-section .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

.header-section .navbar-brand {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.header-section .navbar-brand svg {
    display: block;
    height: 42px;
    width: auto;
    max-width: 140px;
}

.navbar-end {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.menu-wrap {
    flex: 0 1 auto;
    min-width: 0;
}

#mainmenu .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 2px;
}

#mainmenu .nav > li {
    position: relative;
    flex: 0 0 auto;
}

ul.nav > li > a {
    font-family: var(--acl-font-heading);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2 !important;
    padding: 10px 14px !important;
    color: var(--acl-dark-soft);
    display: inline-block;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}

ul.nav > li > a::after {
    display: none !important;
}

ul.nav > li > a:hover {
    color: var(--acl-primary) !important;
    background: rgba(26, 111, 168, 0.08);
}

ul.nav > li > a.active {
    color: var(--acl-primary) !important;
    background: rgba(26, 111, 168, 0.1);
    font-weight: 600;
}

.header-section.transparent:not(.header-scrolled) ul.nav > li > a {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.header-section.transparent:not(.header-scrolled) ul.nav > li > a:hover,
.header-section.transparent:not(.header-scrolled) ul.nav > li > a.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

.header-scrolled ul.nav > li > a {
    color: var(--acl-dark-soft) !important;
}

.header-scrolled ul.nav > li > a:hover,
.header-scrolled ul.nav > li > a.active {
    color: var(--acl-primary) !important;
}

.navbar-header { padding: 0; }

@media (min-width: 992px) {
    .menu-wrap ul.nav,
    #mainmenu ul.nav,
    .js #mainmenu,
    .js .menu-wrap .mainmenu {
        display: flex !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    .slicknav_menu {
        display: none !important;
    }
}

/* Dropdown */
#mainmenu li ul {
    top: calc(100% + 4px);
    left: 0;
    border-radius: var(--acl-radius);
    box-shadow: var(--acl-shadow-lg);
    border: 1px solid var(--acl-border);
    overflow: hidden;
    min-width: 210px;
    padding: 6px 0;
    background: #fff;
}

#mainmenu li ul li a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4 !important;
    padding: 10px 16px !important;
    color: var(--acl-dark-soft);
    display: block;
    border-radius: 0;
}

#mainmenu li ul li a:hover {
    background: var(--acl-bg-muted);
    color: var(--acl-primary);
}

/* Hide legacy slicknav if present */
.slicknav_menu {
    display: none !important;
}

/* Native mobile nav */
.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--acl-border);
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1102;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.mobile-nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--acl-dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open .mobile-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--acl-border);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    z-index: 1101;
    padding: 8px 16px 20px;
}

.mobile-nav[hidden] {
    display: none !important;
}

.mobile-nav:not([hidden]) {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 8px;
    font-family: var(--acl-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--acl-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--acl-border);
}

.mobile-nav-list li:last-child a {
    border-bottom: 0;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a:focus {
    color: var(--acl-primary);
}

body.mobile-nav-open {
    overflow: hidden;
}

/* ── Hero Acasă: albastru brand + telefon fără overlap pe undă ── */
.hero-section.hero-4 {
    background: linear-gradient(135deg, #0d4f7a 0%, #145f91 55%, #1a6fa8 100%) !important;
    background-image: linear-gradient(135deg, #0d4f7a 0%, #145f91 55%, #1a6fa8 100%) !important;
    min-height: auto !important;
    height: auto !important;
    padding: calc(var(--acl-header-height) + 56px) 0 100px !important;
    overflow: hidden !important;
    margin-top: calc(-1 * var(--acl-header-height));
    display: block !important;
    position: relative;
    z-index: 1;
}

.hero-section.hero-4 .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hero-wrap {
    width: 100%;
    max-width: 620px;
    flex: 1 1 auto;
}

.hero-phone-picture {
    display: block !important;
    flex: 0 0 260px;
    width: 260px;
    max-width: 260px;
    align-self: flex-end;
    z-index: 4;
    pointer-events: none;
    user-select: none;
    line-height: 0;
}

.hero-phone {
    display: block !important;
    visibility: visible !important;
    width: 260px !important;
    height: auto !important;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center bottom;
    position: relative !important;
    margin: 0 !important;
}

.hero-moc,
.hero-visual {
    display: none !important;
}

.hero-section.hero-4 .hero-content {
    max-width: 100%;
}

.hero-section.hero-4 .hero-content h1 {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section.hero-4 .hero-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #fff;
    font-weight: 500;
    margin-bottom: 28px;
    max-width: 36em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

.hero-section.hero-4 .hero-actions .default-btn.btn-blue {
    background: #fff !important;
    color: var(--acl-primary-dark) !important;
}

.hero-section.hero-4 .hero-actions .default-btn.btn-blue:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--acl-primary-dark) !important;
}

.hero-link {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 2px;
    transition: border-color var(--acl-transition), opacity var(--acl-transition);
}

.hero-link:hover,
.hero-link:focus {
    color: #fff;
    border-bottom-color: #fff;
    opacity: 0.95;
}

.hero-section.hero-4 .hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.hero-section.hero-4 .hero-wave-fill,
.hero-section.hero-4 .hero-wave .st0 {
    fill: #ffffff;
}

.wave-1 { display: none !important; }

/* Trust bar under hero */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--acl-border);
    padding: 18px 0;
}

.trust-bar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 8px;
}

.trust-bar-list li {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--acl-text-light);
    padding: 0 14px;
    position: relative;
}

.trust-bar-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--acl-primary-light);
    opacity: 0.7;
}

@media (max-width: 575px) {
    .trust-bar-list li {
        font-size: 12px;
        padding: 0 10px;
    }
}

/* ── Section headings ── */
.section-heading span {
    display: inline-block;
    font-family: var(--acl-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--acl-primary);
    margin-bottom: 10px;
}

.section-heading h2 {
    color: var(--acl-heading);
}

.section-lead {
    max-width: 520px;
    margin: 12px auto 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--acl-text-light);
}

/* ── Feature cards ── */
.feature-item {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: transform var(--acl-transition), box-shadow var(--acl-transition), border-color var(--acl-transition);
    box-shadow: var(--acl-shadow);
    position: relative;
}

.feature-item::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--acl-primary-dark), var(--acl-primary-light));
    opacity: 0;
    transition: opacity var(--acl-transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--acl-shadow-lg);
    border-color: rgba(26, 111, 168, 0.28);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item i {
    width: 72px;
    height: 72px;
    line-height: 72px;
    font-size: 32px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--acl-text-light);
}

/* Brand-aligned icon colors */
.color-red { color: #dc2626 !important; }
.bg-red { background: rgba(255, 68, 48, 0.1) !important; }
.color-blue { color: var(--acl-primary) !important; }
.bg-blue { background: rgba(26, 111, 168, 0.1) !important; }
.color-yellow { color: #b45309 !important; }
.bg-yellow { background: rgba(180, 83, 9, 0.12) !important; }
.color-green { color: #047857 !important; }
.bg-green { background: rgba(4, 120, 87, 0.1) !important; }
.color-orange { color: #c2410c !important; }
.bg-orange { background: rgba(194, 65, 12, 0.1) !important; }
.color-purple { color: #6d28d9 !important; }
.bg-purple { background: rgba(109, 40, 217, 0.1) !important; }

/* ── Content sections ── */
.content-section .section-heading p {
    color: var(--acl-text);
    font-size: 16px;
}

.content-section img {
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow);
}

.content-feature {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.content-feature > li.content-feature-item {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    width: auto;
    float: none;
    padding-right: 0;
    margin-bottom: 0;
}

.content-feature-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    height: 100%;
    padding: 20px;
    background: #fff;
    border-radius: var(--acl-radius);
    border: 1px solid var(--acl-border);
    transition: all var(--acl-transition);
    box-sizing: border-box;
}

.content-feature-item:hover {
    box-shadow: var(--acl-shadow);
}

.content-feature-item i {
    flex-shrink: 0;
    font-size: 28px;
    display: block;
    margin-bottom: 0;
}

.content-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-feature-item h3 {
    margin-bottom: 8px;
}

.content-feature-item p {
    margin-bottom: 0;
}

/* ── How it works ── */
.how-it-works-section .work-pro-steps {
    position: relative;
}

.work-pro-item {
    padding: 28px 20px;
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg);
    height: 100%;
    box-shadow: var(--acl-shadow);
    transition: transform var(--acl-transition), box-shadow var(--acl-transition);
}

.work-pro-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--acl-shadow-lg);
}

.how-it-works-section .work-pro-steps {
    position: relative;
}

.work-pro-item .number {
    background: var(--acl-primary-dark) !important;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-family: var(--acl-font-heading);
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(26, 111, 168, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.work-pro-item .number:before {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(26, 111, 168, 0.2) !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.35);
    transform-origin: center center;
    content: "";
    z-index: -1;
}

.work-pro-item .number-line {
    display: none !important;
}

@media (min-width: 992px) {
    .how-it-works-section .work-pro-steps::before {
        content: "";
        position: absolute;
        top: 67px;
        left: 12.5%;
        width: 75%;
        height: 2px;
        background-color: #e2e8f0;
        z-index: 0;
        transform: translateY(-50%);
    }
}

.work-pro-item h3 {
    margin-top: 16px;
    font-size: 1.05rem;
}

.work-pro-item p {
    font-size: 15px;
    color: var(--acl-text-light);
}

/* ── Blog / project cards ── */
.case-studies-section h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
    margin-bottom: 40px;
}

.project-item {
    border-radius: var(--acl-radius-lg);
    overflow: hidden;
    box-shadow: var(--acl-shadow);
    transition: all var(--acl-transition);
    background: #fff;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--acl-shadow-lg);
}

.project-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-item .project-content {
    padding: 20px;
    position: relative;
    background: #fff;
}

.blog-card-date {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--acl-primary);
    margin-bottom: 8px;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--acl-text-light);
    margin: 0 0 14px;
}

.project-item .project-content h3 {
    margin: 0 0 10px;
}

.project-item .project-content h3 a {
    color: var(--acl-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content .blog-card-date {
    margin-bottom: 10px;
}

.project-item .project-content h3 a:hover {
    color: var(--acl-primary);
}

/* ── Page header (home + inner pages, same blue design) ── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d4f7a 0%, #145f91 55%, #1a6fa8 100%) !important;
    background-image: linear-gradient(135deg, #0d4f7a 0%, #145f91 55%, #1a6fa8 100%) !important;
    min-height: 320px;
    height: auto;
    padding: calc(var(--acl-header-height) + 56px) 0 72px;
    margin-top: calc(-1 * var(--acl-header-height));
    position: relative;
}

.page-header.home-header {
    min-height: 380px;
}

.home-header-cta {
    margin-top: 24px;
    display: inline-block;
}

/* Boxed content panel (solutions text) */
.content-section.content-5 {
    background: var(--acl-bg-alt) !important;
}

.content-panel {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-left: 4px solid var(--acl-primary);
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow);
    padding: 40px 40px 36px;
    max-width: 920px;
    margin: 0 auto;
}

.content-panel-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--acl-primary);
    margin-bottom: 12px;
}

.content-panel-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--acl-heading);
    line-height: 1.3;
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--acl-border);
}

.content-panel-body p {
    color: var(--acl-text);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
}

.content-panel-body p:last-child {
    margin-bottom: 0;
}

.content-panel--side {
    max-width: none;
    margin: 0;
    height: 100%;
}

.content-side-img {
    width: 100%;
    height: auto;
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow-lg);
}

.download-section .section-heading h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--acl-primary-dark);
    margin: 28px 0 10px;
    padding-left: 14px;
    border-left: 3px solid var(--acl-primary);
}

.download-section .section-heading h3:first-of-type {
    margin-top: 8px;
}

.download-section .section-heading > h2 {
    margin-bottom: 8px;
}

.download-section img {
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow-lg);
}

/* Final homepage CTA */
.home-cta-section {
    background: linear-gradient(135deg, #0d4f7a 0%, #145f91 55%, #1a6fa8 100%);
    position: relative;
    overflow: hidden;
}

.home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.home-cta-copy {
    flex: 1 1 420px;
    max-width: 640px;
}

.home-cta-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.home-cta h2,
.home-cta-inner h2 {
    color: #fff;
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-cta p,
.home-cta-inner p {
    color: #fff;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.7;
    max-width: 34em;
    font-weight: 400;
}

.home-cta p {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.home-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.home-cta-inner .hero-actions {
    margin-top: 4px;
}

.home-cta .default-btn.btn-blue,
.home-cta-inner .default-btn.btn-blue {
    background: #fff !important;
    color: var(--acl-primary-dark) !important;
    flex: 0 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.home-cta .default-btn.btn-blue:hover,
.home-cta-inner .default-btn.btn-blue:hover {
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--acl-primary-dark) !important;
}

.home-cta-inner .hero-link {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
    .home-cta {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .home-cta .default-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .content-panel {
        padding: 26px 20px;
    }
}

.page-header > .container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-content {
    padding: 8px 16px;
}

.page-content h1,
.page-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.page-content h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 12px 0 0;
}

.project-item .project-thumb-link {
    display: block;
    overflow: hidden;
    border-radius: var(--acl-radius) var(--acl-radius) 0 0;
}

.project-item .project-thumb-link img {
    transition: transform var(--acl-transition);
}

.project-item:hover .project-thumb-link img {
    transform: scale(1.03);
}

.project-item .read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--acl-primary);
}

.project-item .read-more:hover {
    color: var(--acl-primary-dark);
    text-decoration: none;
}

.case-studies-section .text-center.mt-4 {
    margin-top: 32px !important;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-wrap {
    gap: 24px 0;
}

.page-content p {
    color: #ffffff;
    font-size: 17px;
    margin: 14px 0 0;
    line-height: 1.6;
}

/* ── Contact ── */
.contact-section {
    background: var(--acl-bg-alt);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
}

.contact-aside {
    padding: 8px 8px 0 0;
}

.contact-aside-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--acl-primary);
    margin-bottom: 12px;
}

.contact-aside h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--acl-heading);
}

.contact-aside > p {
    color: var(--acl-text);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 34em;
}

.contact-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.contact-channels li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    box-shadow: var(--acl-shadow);
}

.contact-channel-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(26, 111, 168, 0.1);
    color: var(--acl-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}

.contact-channels strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--acl-heading);
    margin-bottom: 2px;
}

.contact-channels a,
.contact-channels span {
    color: var(--acl-text);
    font-size: 15px;
    word-break: break-word;
}

.contact-channels a {
    color: var(--acl-primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-channels a:hover {
    color: var(--acl-primary-dark);
}

.contact-form-card,
.contact-form {
    background: #fff;
    border-radius: var(--acl-radius-lg);
    padding: 36px;
    box-shadow: var(--acl-shadow);
    border: 1px solid var(--acl-border);
    border-left: 4px solid var(--acl-primary);
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--acl-heading);
    margin: 0;
}

.contact-optional {
    font-weight: 500;
    color: var(--acl-text-light);
    text-transform: none;
    letter-spacing: 0;
}

.contact-form-card .form-control,
.contact-form .form-control {
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    height: 50px;
    font-size: 15px;
    padding: 0 16px;
    transition: border-color var(--acl-transition), box-shadow var(--acl-transition);
    background: var(--acl-bg-muted);
    width: 100%;
}

.contact-form-card .form-control:focus,
.contact-form .form-control:focus {
    border-color: var(--acl-primary);
    box-shadow: 0 0 0 3px rgba(26, 111, 168, 0.15);
    background: #fff;
    outline: none;
}

.contact-form-card .form-control.error,
.contact-form .form-control.error {
    border-color: #dc2626;
}

.contact-form-card textarea.form-control,
.contact-form textarea.form-control {
    height: auto;
    padding: 14px 16px;
    min-height: 150px;
    resize: vertical;
}

.contact-recaptcha {
    margin: 18px 0 4px;
}

.contact-submit {
    margin-top: 22px;
    min-width: 200px;
}

.contact-form-note {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--acl-text-light);
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 575px) {
    .contact-fields {
        grid-template-columns: 1fr;
    }
}

/* ── Blog ── */
.blog-item {
    border-radius: var(--acl-radius-lg);
    overflow: hidden;
    border: 1px solid var(--acl-border);
    box-shadow: var(--acl-shadow);
    transition: all var(--acl-transition);
    background: #fff;
    height: 100%;
}

.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--acl-shadow-lg);
}

.blog-item .blog-content {
    padding: 24px;
}

.blog-item .blog-content h3 a {
    color: var(--acl-heading);
    font-size: 1.05rem;
}

.blog-item .blog-content h3 a:hover {
    color: var(--acl-primary);
}

.blog-item .read-more {
    color: var(--acl-primary);
    font-weight: 600;
    font-size: 14px;
}

.blog-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-thumb a {
    display: block;
}

.blog-empty {
    text-align: center;
    color: var(--acl-text-light);
    padding: 40px 20px;
}

.blog-empty-panel {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-left: 4px solid var(--acl-primary);
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow);
    padding: 40px 28px;
    text-align: center;
}

.blog-empty-panel h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.blog-empty-panel p {
    margin: 0 auto 24px;
    max-width: 34em;
    color: var(--acl-text);
}

.blog-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.blog-pagination .pagination {
    margin: 0;
}

.blog-pagination .page-link {
    color: var(--acl-primary-dark);
    border-color: var(--acl-border);
}

.blog-pagination .page-item.active .page-link {
    background: var(--acl-primary);
    border-color: var(--acl-primary);
}

.blog-pagination .page-link:hover {
    background: var(--acl-bg-muted);
    color: var(--acl-primary-dark);
}

/* Breadcrumbs */
.site-breadcrumbs {
    background: #fff;
    border-bottom: 1px solid var(--acl-border);
    padding: 12px 0;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    font-size: 13px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--acl-text-light);
    max-width: 100%;
}

/* Bootstrap also adds "/" via ::before — keep only our separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: none;
    display: none;
    padding: 0;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #94a3b8;
}

.breadcrumb-item a {
    color: var(--acl-primary);
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--acl-primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.is-current span {
    color: var(--acl-heading);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(60vw, 420px);
    display: inline-block;
}

.service-item {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg);
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    box-shadow: var(--acl-shadow);
    transition: box-shadow var(--acl-transition);
}

.service-item:hover {
    box-shadow: var(--acl-shadow-lg);
}

.service-item h3 {
    font-size: 1.05rem;
    margin-top: 16px;
    margin-bottom: 0;
}

.service-item i {
    font-size: 36px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-details {
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}

.faq-details summary {
    color: var(--acl-heading);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    padding: 16px 20px;
    position: relative;
}

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

.faq-details summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--acl-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-details[open] summary::after {
    content: '−';
}

.faq-details summary:hover,
.faq-details summary:focus-visible {
    color: var(--acl-primary);
}

.faq-details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--acl-text);
    line-height: 1.75;
}

.faq-section .card {
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-section .card-header {
    background: #fff;
    border-bottom: none;
    padding: 0;
}

.faq-section .btn-link {
    color: var(--acl-heading);
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    white-space: normal;
}

.faq-section .btn-link:hover,
.faq-section .btn-link:focus {
    color: var(--acl-primary);
    text-decoration: none;
}

.faq-section .card-body {
    padding: 4px 20px 20px;
    color: var(--acl-text);
    line-height: 1.75;
}

.job-details-wrap blockquote,
.job-details-wrap em {
    display: block;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--acl-bg-muted);
    border-left: 4px solid var(--acl-primary);
    border-radius: 0 var(--acl-radius) var(--acl-radius) 0;
    font-style: normal;
}

.blog-single-wrap {
    background: #fff;
    border-radius: var(--acl-radius-lg);
    border: 1px solid var(--acl-border);
    box-shadow: var(--acl-shadow);
    overflow: hidden;
}

.blog-single-wrap .blog-thumb img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.blog-single-content {
    padding: 32px;
}

.blog-single-content h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.single-post-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--acl-text-light);
    font-size: 14px;
}

.single-post-meta a {
    color: var(--acl-primary);
}

.blog-article-body {
    color: var(--acl-text);
    line-height: 1.8;
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--acl-radius);
}

.post-tags {
    list-style: none;
    padding: 0 32px 24px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tags li a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--acl-bg-muted);
    border-radius: 999px;
    font-size: 13px;
    color: var(--acl-primary);
}

.author-box {
    margin: 0 32px 32px;
    padding: 20px 24px;
    border-radius: var(--acl-radius);
}

.author-box h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.post-navigation {
    padding: 0 32px 32px;
    margin: 0;
}

.post-navigation a {
    color: var(--acl-primary);
    font-weight: 600;
}

.sidebar-wrap .widget-content + .widget-content {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--acl-border);
}

.sidebar-wrap .widget-content h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.sidebar-wrap .search-form {
    display: flex;
    gap: 8px;
}

.sidebar-wrap .search-form .form-control {
    border-radius: var(--acl-radius);
    border: 1px solid var(--acl-border);
    height: 44px;
}

.sidebar-wrap .search-btn {
    border: none;
    background: var(--acl-primary);
    color: #fff;
    border-radius: var(--acl-radius);
    width: 44px;
}

/* Sidebar */
.sidebar-wrap {
    background: #fff;
    border-radius: var(--acl-radius-lg);
    padding: 28px;
    border: 1px solid var(--acl-border);
    box-shadow: var(--acl-shadow);
}

/* Job/details pages */
.job-details-section {
    background: var(--acl-bg-muted);
}

.job-details-wrap {
    background: #fff;
    border-radius: var(--acl-radius-lg);
    padding: 36px;
    border: 1px solid var(--acl-border);
    box-shadow: var(--acl-shadow);
    margin-bottom: 0;
}

.job-details-wrap h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.job-details-wrap p {
    margin-bottom: 0;
    line-height: 1.75;
}

.case-list-wrap {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg);
    padding: 32px 28px;
    margin-top: 28px;
    box-shadow: var(--acl-shadow);
}

.case-list-wrap .case-list {
    margin-bottom: 0;
}

.detalii-section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.detalii-section-heading h2 {
    margin-bottom: 8px;
}

.detalii-section-heading p {
    color: var(--acl-text-light);
    margin: 0;
}

.service-section .service-wrap {
    row-gap: 8px;
}

.faq-section {
    background: #fff;
}

.home-faq-section {
    background: var(--acl-bg-muted);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.skill-card {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow);
    padding: 28px 24px;
    border-left: 4px solid var(--acl-primary);
}

.skill-card h3 {
    font-size: 1.1rem;
    margin: 0 0 14px;
    color: var(--acl-heading);
}

.skill-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.skill-card li {
    position: relative;
    padding: 8px 0 8px 18px;
    font-size: 15px;
    color: var(--acl-text);
    line-height: 1.5;
    border-bottom: 1px solid var(--acl-border);
}

.skill-card li:last-child {
    border-bottom: 0;
}

.skill-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acl-primary);
}

@media (max-width: 767px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.faq-section .faq-item {
    max-width: 860px;
    margin: 0 auto;
}

.job-details-sidebar .case-sidebar-item {
    background: var(--acl-bg-muted);
    border-radius: var(--acl-radius-lg);
    padding: 28px;
    border: 1px solid var(--acl-border);
}

.case-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 15px;
    color: var(--acl-text);
    line-height: 1.5;
}

.case-list li i {
    position: absolute;
    left: 0;
    top: 13px;
    color: var(--acl-primary);
    margin-right: 0;
    width: 1em;
    text-align: center;
}

/* ── Footer ── */
.widget-section.widget-4 {
    background: var(--acl-dark);
    border: none;
    padding: 64px 0 56px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo svg {
    height: 48px;
    width: auto;
    max-width: 180px;
}

.widget-section .widget-content p {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 24px;
}

.footer-nav {
    padding-top: 8px;
}

@media (min-width: 992px) {
    .footer-nav {
        padding-top: 12px;
        padding-left: 24px;
    }
}

.widget-section .widget-content h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.widget-section .widget-links li {
    margin-bottom: 10px;
}

.widget-section .widget-links li a {
    color: #e2e8f0;
    font-size: 15px;
    transition: color var(--acl-transition);
}

.widget-section .widget-links li a:hover {
    color: var(--acl-primary-light);
    text-decoration: none;
}

.footer-contact-line {
    margin: 0 0 16px !important;
}

.footer-contact-line a {
    color: #7dd3fc !important;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact-line a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.widget-section .footer-nav h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    text-transform: none;
    letter-spacing: 0;
}

.widget-social.color-white {
    margin-top: 4px;
}

.widget-social.color-white li a {
    background: rgba(255, 255, 255, 0.08);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all var(--acl-transition);
    display: inline-block;
}

.widget-social.color-white li a:hover {
    background: var(--acl-primary);
    color: #fff;
}

.contact-info .contact-extra {
    margin-top: 16px;
    font-size: 16px;
}

.contact-info .contact-extra a {
    color: var(--acl-primary);
    font-weight: 600;
}

.contact-info .contact-extra a:hover {
    color: var(--acl-primary-dark);
}

/* ── Form alerts ── */
.site-alert {
    border-radius: var(--acl-radius);
    padding: 18px 20px;
    margin-bottom: 20px;
    font-size: 15px;
}

.site-alert-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.site-alert p {
    margin: 0;
}

.site-alert p + p {
    margin-top: 6px;
}

.site-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #059669;
    color: #065f46;
}

.site-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.contact-success-next {
    margin-top: 10px !important;
    font-size: 14px;
}

.contact-success-next a {
    color: #047857;
    font-weight: 700;
}

.legal-panel .legal-content h3 {
    font-size: 1.1rem;
    margin: 28px 0 10px;
    color: var(--acl-heading);
}

.legal-panel .legal-content h3:first-of-type {
    margin-top: 8px;
}

.legal-updated {
    color: var(--acl-text-light) !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

/* Blog sidebar polish */
.blog-sidebar {
    border-left: 4px solid var(--acl-primary);
    position: sticky;
    top: calc(var(--acl-header-height) + 16px);
}

.blog-sidebar .blog-widget h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--acl-primary-dark);
    margin-bottom: 14px;
}

.blog-side-links li a {
    display: block;
    padding: 8px 0;
    color: var(--acl-text);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--acl-border);
}

.blog-side-links li:last-child a {
    border-bottom: 0;
}

.blog-side-links li a:hover {
    color: var(--acl-primary);
}

.blog-side-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-side-posts li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid var(--acl-border);
}

.blog-side-posts li:last-child a {
    border-bottom: 0;
}

.blog-side-post-title {
    display: block;
    color: var(--acl-heading);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.blog-side-posts time {
    font-size: 12px;
    color: var(--acl-text-light);
}

.blog-side-posts li a:hover .blog-side-post-title {
    color: var(--acl-primary);
}

.blog-side-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-side-tags li a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--acl-bg-muted);
    border: 1px solid var(--acl-border);
    color: var(--acl-text);
    font-size: 13px;
    text-decoration: none;
}

.blog-side-tags li a:hover {
    background: rgba(26, 111, 168, 0.1);
    border-color: rgba(26, 111, 168, 0.35);
    color: var(--acl-primary-dark);
}

.blog-side-empty {
    color: var(--acl-text-light);
    font-size: 14px;
}

@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 12px;
    }
}

.footer-section.footer-4 {
    background: var(--acl-dark-soft);
    padding: 20px 0;
}

.footer-section p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
}

.footer-section a {
    color: #7dd3fc;
}

.footer-section a:hover {
    color: #fff;
}

#scroll-to-top {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--acl-primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #fff;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    box-shadow: var(--acl-shadow);
    transition: opacity var(--acl-transition), transform var(--acl-transition), background var(--acl-transition);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#scroll-to-top:hover {
    background: var(--acl-primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

/* ── Floating dots / shapes (reactivate, clipped inside sections) ── */
.anim-elements {
    display: block !important;
    pointer-events: none;
    z-index: 0;
}

.bubble-effect {
    display: block !important;
    pointer-events: none;
}

.feature-section,
.how-it-works-section,
.download-section,
.content-section,
.page-header,
.hero-section.hero-4 {
    position: relative;
    overflow: hidden;
}

.feature-section > .container,
.how-it-works-section > .container,
.download-section > .container,
.content-section > .container {
    position: relative;
    z-index: 1;
}

/* Brand-blue palette for floating shapes */
.anim-elements .anim-element:nth-child(1) {
    background: rgba(26, 111, 168, 0.45) !important;
}
.anim-elements .anim-element:nth-child(2) {
    border-color: rgba(43, 138, 202, 0.4) !important;
}
.anim-elements .anim-element:nth-child(3) {
    border-color: rgba(13, 79, 122, 0.35) !important;
}
.anim-elements .anim-element:nth-child(4) {
    background: rgba(59, 164, 217, 0.55) !important;
}
.anim-elements .anim-element:nth-child(5) {
    background: rgba(26, 111, 168, 0.4) !important;
}

/* ── Preloader ── */
.site-preloader-wrap .spinner {
    border-top-color: var(--acl-primary);
}

/* ── Responsive ── */
@media (min-width: 1200px) {
    .hero-section.hero-4 {
        padding-top: calc(var(--acl-header-height) + 72px) !important;
        padding-bottom: 110px !important;
    }

    .hero-section.hero-4 .container {
        min-height: 420px;
        align-items: center;
    }

    .hero-phone-picture {
        flex: 0 0 300px;
        width: 300px;
        max-width: 300px;
    }

    .hero-phone {
        width: 300px !important;
        max-width: 300px;
        max-height: 440px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    ul.nav > li > a {
        padding: 8px 10px !important;
        font-size: 14px !important;
    }

    .header-section .navbar-brand svg {
        height: 38px;
        max-width: 120px;
    }
}

@media (max-width: 991px) {
    :root {
        --acl-header-height: 64px;
    }

    html {
        scroll-padding-top: calc(var(--acl-header-height) + 20px);
    }

    #solutiile,
    #procedam,
    #diferit {
        scroll-margin-top: calc(var(--acl-header-height) + 20px);
    }

    .header-section,
    .header-section.transparent:not(.header-scrolled),
    .header-section.header-scrolled,
    .header-section.header-scrolled.transparent {
        background: #ffffff !important;
        border-bottom: 1px solid var(--acl-border) !important;
        box-shadow: 0 1px 0 var(--acl-border) !important;
        height: 64px;
    }

    .header-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-section .navbar {
        gap: 12px;
        min-height: 64px;
    }

    .header-section .navbar-brand {
        height: auto;
        max-width: calc(100% - 60px);
    }

    .header-section .navbar-brand svg {
        height: 34px;
        max-width: 150px;
    }

    .navbar-end {
        flex: 0 0 auto;
        width: auto;
        justify-content: flex-end;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .menu-wrap,
    .menu-wrap .mainmenu,
    #mainmenu,
    .js #mainmenu,
    .slicknav_menu,
    .js .slicknav_menu {
        display: none !important;
    }

    .hero-section.hero-4,
    .hero-section {
        margin-top: 0 !important;
        padding: 88px 16px 72px !important;
        text-align: center;
        min-height: auto !important;
        height: auto !important;
        background: linear-gradient(135deg, #0d4f7a 0%, #145f91 55%, #1a6fa8 100%) !important;
    }

    .hero-section.hero-4 .container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0;
    }

    .hero-phone-picture,
    .hero-phone {
        display: none !important;
    }

    .hero-section.hero-4 .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .hero-section.hero-4 .hero-content h1 {
        display: block !important;
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
        margin: 0 0 14px !important;
        color: #fff !important;
    }

    .hero-section.hero-4 .hero-content p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        margin: 0 auto 22px !important;
        max-width: 34em;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 14px;
    }

    .hero-section.hero-4 .default-btn {
        display: inline-block;
        min-width: 220px;
    }

    .page-header {
        margin-top: 0 !important;
        padding-top: 88px !important;
    }
}

@media (min-width: 992px) {
    .work-pro-item .number-line {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .hero-section.hero-4 .hero-content {
        max-width: 100%;
    }

    .feature-item {
        margin-bottom: 16px;
    }

    .content-feature > li.content-feature-item {
        flex: 1 1 100%;
    }

    .content-section img {
        margin-bottom: 24px;
    }

    .download-section .row {
        flex-direction: column-reverse;
    }

    .download-section img {
        margin-bottom: 32px;
        max-width: 100%;
        height: auto;
    }

    .contact-form-card,
    .contact-form {
        margin-top: 0;
        padding: 24px 20px;
    }

    .job-details-sidebar {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    body, p {
        font-size: 16px;
        line-height: 1.65;
    }

    .padding {
        padding: 56px 0;
    }

    .hero-section.hero-4 {
        min-height: auto;
    }

    .feature-item {
        padding: 24px 20px;
    }

    .work-pro-item {
        margin-bottom: 24px;
    }

    .project-item img {
        height: 180px;
    }

    .page-header {
        min-height: 260px;
        padding: calc(var(--acl-header-height) + 40px) 0 56px;
    }

    .page-content h1,
    .page-content h2 {
        font-size: 1.5rem;
    }

    .case-list-wrap {
        padding: 24px 20px;
    }

    .job-details-wrap {
        padding: 24px 20px;
    }

    .case-list-wrap .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .case-list li {
        padding-left: 30px;
        margin-bottom: 4px;
    }

    .case-list li i {
        top: 12px;
    }

    .widget-wrap > div {
        margin-bottom: 32px;
    }

    .section-heading.mb-40,
    .section-heading.mb-60 {
        margin-bottom: 32px !important;
    }

    .content-wrap.row {
        flex-direction: column;
    }

    .content-wrap.row .col-lg-6:first-child img {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .contact-form .form-group.colum-row .col-sm-6 {
        margin-bottom: 12px;
    }
}

/* ── Honeypot (anti-spam) ── */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── 404 page ── */
.error-section {
    min-height: 55vh;
    display: flex;
    align-items: center;
    background: var(--acl-bg-alt);
}

.error-panel {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--acl-border);
    border-left: 4px solid var(--acl-primary);
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow);
    padding: 48px 32px;
}

.error-code {
    display: block;
    font-size: clamp(3.5rem, 10vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--acl-primary);
    margin-bottom: 12px;
}

.error-panel h1 {
    margin: 0 0 12px;
    color: var(--acl-heading);
}

.error-panel > p {
    margin: 0 auto 28px;
    max-width: 34em;
    color: var(--acl-text);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
}

.error-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
}

.error-links a {
    color: var(--acl-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.error-links a:hover {
    color: var(--acl-primary-dark);
    text-decoration: underline;
}

/* Related posts */
.related-posts {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--acl-border);
}

.related-posts-title {
    font-size: 1.35rem;
    margin: 0 0 20px;
    color: var(--acl-heading);
}

.related-post-card {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg);
    padding: 16px;
    height: 100%;
    box-shadow: var(--acl-shadow);
}

.related-post-thumb {
    display: block;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: var(--acl-radius);
}

.related-post-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    line-height: 1.35;
}

.related-post-card h3 a {
    color: var(--acl-heading);
    text-decoration: none;
}

.related-post-card h3 a:hover {
    color: var(--acl-primary);
}

.related-post-card p {
    margin: 0;
    font-size: 14px;
    color: var(--acl-text-light);
    line-height: 1.55;
}

/* Reveal micro-animations */
.acl-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.acl-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .acl-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Preloader ── */
body.loaded .site-preloader-wrap {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#scroll-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-to-top svg {
    display: block;
}
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 16px;
    pointer-events: none;
}

.cookie-banner-inner {
    pointer-events: auto;
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--acl-border);
    border-left: 4px solid var(--acl-primary);
    border-radius: var(--acl-radius-lg);
    box-shadow: var(--acl-shadow-lg);
    padding: 20px 22px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--acl-primary);
    margin-bottom: 6px;
}

.cookie-banner-copy p {
    margin: 0;
    color: var(--acl-text);
    font-size: 14px;
    line-height: 1.55;
    max-width: 52em;
}

.cookie-banner-inner a {
    color: var(--acl-primary-dark);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-inner a:hover,
.cookie-banner-inner a:focus-visible {
    color: var(--acl-primary);
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner-actions .default-btn {
    height: 42px;
    line-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.default-btn.btn-outline {
    background: transparent;
    color: var(--acl-primary);
    border: 2px solid var(--acl-primary);
}

.default-btn.btn-outline:hover {
    background: var(--acl-primary);
    color: #fff;
}

/* ── Legal pages ── */
.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--acl-heading);
}

.legal-content p,
.legal-content li {
    color: var(--acl-text);
    line-height: 1.7;
}

/* ── Optimized images ── */
.blog-card-img,
.project-item img,
.blog-hero-img,
.content-section picture img,
.content-section img {
    width: 100%;
    height: auto;
}

/* Below-fold rendering hint */
.feature-section,
.how-it-works-section,
.content-section,
.case-studies-section,
.cta-section,
.home-cta-section,
.blog-section,
.widget-section,
.faq-section,
.job-details-section,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

/* Faster icon font paint when deferred CSS loads */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-display: swap;
}

.blog-thumb img,
.blog-thumb picture,
.project-thumb-link picture,
.project-thumb-link img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--acl-radius);
}

.blog-hero-img,
.blog-single-content picture img {
    border-radius: var(--acl-radius-lg);
    max-width: 100%;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }
}

/* ── Service landing pages ── */
.service-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item-link:hover {
    transform: translateY(-3px);
    color: inherit;
}

.service-item-link h3 {
    color: var(--acl-heading);
}

.service-item-link:hover h3 {
    color: var(--acl-primary);
}

.service-item-card {
    padding: 28px 24px;
}

.service-item-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--acl-primary);
    margin-bottom: 10px;
}

.service-item-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--acl-primary);
}

.service-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-top: 24px;
}

.service-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-page-list li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid var(--acl-border);
    color: var(--acl-text);
    font-size: 15px;
    line-height: 1.5;
}

.service-page-list li:last-child {
    border-bottom: 0;
}

.service-page-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acl-primary);
}

@media (max-width: 991px) {
    .service-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Article reading time + TOC ── */
.post-reading-time {
    color: var(--acl-text-light);
}

.article-toc {
    margin: 0 0 28px;
    padding: 18px 20px;
    border-left: 4px solid var(--acl-primary);
    background: var(--acl-bg-muted);
    border-radius: 0 var(--acl-radius) var(--acl-radius) 0;
}

.article-toc-title {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--acl-heading);
}

.article-toc-list {
    margin: 0;
    padding-left: 1.2rem;
}

.article-toc-list li {
    margin: 6px 0;
    line-height: 1.4;
}

.article-toc-list a {
    color: var(--acl-text);
    text-decoration: none;
    font-size: 14px;
}

.article-toc-list a:hover {
    color: var(--acl-primary);
}

.article-toc-level-3 {
    margin-left: 12px;
    list-style-type: circle;
}

.blog-article-body h2,
.blog-article-body h3 {
    scroll-margin-top: calc(var(--acl-header-height, 80px) + 16px);
}

/* ── Cum colaborăm timeline ── */
.collab-timeline {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    position: relative;
}

.collab-timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--acl-primary), rgba(26, 111, 168, 0.15));
}

.collab-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    margin-bottom: 22px;
    position: relative;
}

.collab-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--acl-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--acl-bg-muted, #f1f5f9);
}

.collab-step-body {
    background: #fff;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    padding: 18px 20px;
}

.collab-step-body h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: var(--acl-heading);
}

.collab-step-tag {
    margin: 0 0 10px !important;
    font-size: 13px;
    font-weight: 700;
    color: var(--acl-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.collab-step-body p:last-child {
    margin-bottom: 0;
}

.collab-expect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 767px) {
    .collab-expect-grid {
        grid-template-columns: 1fr;
    }

    .collab-timeline::before {
        left: 19px;
    }

    .collab-step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .collab-step-num {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

/* ── Excel vs app compare ── */
.excel-compare {
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius-lg, 12px);
    overflow: hidden;
    background: #fff;
}

.excel-compare-row {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1.4fr;
}

.excel-compare-row + .excel-compare-row {
    border-top: 1px solid var(--acl-border);
}

.excel-compare-cell {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--acl-text);
}

.excel-compare-head .excel-compare-cell {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--acl-bg-muted);
    color: var(--acl-heading);
}

.excel-compare-label {
    font-weight: 700;
    color: var(--acl-heading);
    background: rgba(26, 111, 168, 0.04);
}

.excel-compare-bad {
    background: #fff7f7;
}

.excel-compare-good {
    background: #f3faf7;
}

.excel-compare-head .excel-compare-bad {
    background: #fee2e2;
    color: #991b1b;
}

.excel-compare-head .excel-compare-good {
    background: #d1fae5;
    color: #065f46;
}

.excel-compare-note {
    margin-top: 22px;
    color: var(--acl-text-light);
    font-size: 15px;
}

.excel-compare-note a {
    font-weight: 700;
    color: var(--acl-primary);
}

/* Hide Excel comparison on phone - table is hard to read on small screens */
@media (max-width: 767px) {
    .excel-compare-section {
        display: none !important;
    }
}

/* ── Blog toolbar filters ── */
.blog-toolbar {
    margin-bottom: 22px;
    padding: 18px 18px 14px;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    background: #fff;
}

.blog-filter-group {
    margin-bottom: 14px;
}

.blog-filter-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--acl-primary-dark, var(--acl-primary));
    margin-bottom: 8px;
}

.blog-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--acl-border);
    background: var(--acl-bg-muted);
    color: var(--acl-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.blog-chip:hover,
.blog-chip.is-active {
    background: rgba(26, 111, 168, 0.12);
    border-color: rgba(26, 111, 168, 0.4);
    color: var(--acl-primary-dark, var(--acl-primary));
}

.blog-sort-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.blog-sort-row .blog-filter-label {
    margin: 0;
}

.blog-sort-select {
    min-width: 180px;
    padding: 8px 12px;
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    background: #fff;
    color: var(--acl-text);
    font-size: 14px;
}

.blog-filter-status {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--acl-text-light);
}

.blog-filter-status a {
    font-weight: 700;
    color: var(--acl-primary);
}

/* ── Checklist pre-proiect ── */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 28px;
}

.checklist-card .content-panel-title {
    font-size: 1.2rem;
}

.checklist-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid var(--acl-border);
    font-size: 15px;
    line-height: 1.45;
    color: var(--acl-text);
}

.checklist-list li:last-child {
    border-bottom: 0;
}

.checklist-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 14px;
    height: 14px;
    border: 2px solid var(--acl-primary);
    border-radius: 3px;
}

.checklist-mode-switch {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    margin-bottom: 18px;
    background: var(--acl-bg-muted);
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
}

.checklist-mode-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--acl-text);
    border-radius: calc(var(--acl-radius) - 2px);
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--acl-transition), color var(--acl-transition);
}

.checklist-mode-btn.is-active {
    background: #fff;
    color: var(--acl-primary-dark);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.checklist-progress {
    margin-bottom: 18px;
}

.checklist-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--acl-bg-muted);
    border: 1px solid var(--acl-border);
    overflow: hidden;
}

.checklist-progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--acl-primary);
    transition: width 0.25s ease;
}

.checklist-progress-text {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--acl-text-light);
}

.checklist-builder {
    margin-bottom: 22px;
}

.checklist-builder-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checklist-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.checklist-field--full {
    grid-column: 1 / -1;
}

.checklist-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--acl-heading);
    margin: 0;
}

.checklist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checklist-chip {
    appearance: none;
    border: 1px solid var(--acl-border);
    background: #fff;
    color: var(--acl-text);
    border-radius: var(--acl-radius);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color var(--acl-transition), background var(--acl-transition), color var(--acl-transition), box-shadow var(--acl-transition);
}

.checklist-chip:hover {
    border-color: var(--acl-primary);
    color: var(--acl-primary);
}

.checklist-chip:focus-visible {
    outline: none;
    border-color: var(--acl-primary);
    box-shadow: 0 0 0 3px rgba(26, 111, 168, 0.15);
}

.checklist-chip.is-active {
    border-color: var(--acl-primary);
    background: rgba(26, 111, 168, 0.1);
    color: var(--acl-primary-dark);
}

.checklist-template .form-control {
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    height: 50px;
    font-size: 15px;
    padding: 0 16px;
    transition: border-color var(--acl-transition), box-shadow var(--acl-transition);
    background: var(--acl-bg-muted);
    width: 100%;
}

.checklist-template .form-control:focus {
    border-color: var(--acl-primary);
    box-shadow: 0 0 0 3px rgba(26, 111, 168, 0.15);
    background: #fff;
    outline: none;
}

.checklist-template textarea.form-control.checklist-textarea,
.checklist-template .checklist-textarea {
    height: auto;
    min-height: 96px;
    padding: 14px 16px;
    resize: vertical;
}

.checklist-preview-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 8px;
}

.checklist-preview-label {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--acl-text-light);
}

.checklist-preview-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.checklist-status {
    font-size: 12px;
    font-weight: 700;
    color: var(--acl-text-light);
}

.checklist-status.is-custom {
    color: var(--acl-primary-dark);
}

.checklist-link-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--acl-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checklist-link-btn:hover {
    color: var(--acl-primary-dark);
}

.checklist-template-pre,
.checklist-message-editor {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 18px 20px;
    background: var(--acl-bg-muted);
    border: 1px solid var(--acl-border);
    border-radius: var(--acl-radius);
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.55;
    color: var(--acl-heading);
    resize: vertical;
    min-height: 220px;
    transition: border-color var(--acl-transition), box-shadow var(--acl-transition), background var(--acl-transition);
}

.checklist-message-editor:focus {
    border-color: var(--acl-primary);
    box-shadow: 0 0 0 3px rgba(26, 111, 168, 0.15);
    background: #fff;
    outline: none;
}

.checklist-char-count {
    margin: 0 0 16px;
    font-size: 12px;
    color: var(--acl-text-light);
}

.checklist-template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.contact-checklist-hint {
    margin: 0 0 18px;
    font-size: 15px;
}

.contact-checklist-hint a {
    font-weight: 700;
    color: var(--acl-primary);
}

.contact-prefill-notice {
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .checklist-grid,
    .checklist-builder-fields {
        grid-template-columns: 1fr;
    }

    .checklist-template-actions .default-btn {
        width: 100%;
        text-align: center;
    }
}


/* Dropdown menu text contrast (overrides main.css #6a8695) */
#mainmenu li ul li a {
    color: #334155 !important;
}
