/*
Theme Name: Flatsome Child
Description: ATL Modern Enterprise Technology — consolidated stylesheet
Author: ATL
Template: flatsome
Version: 4.0.0

Replace the previous ATL CSS; do not append both versions.
Existing UX Builder classes are preserved. No global body/heading/grid reset.
Keep your installed child theme metadata if it differs from this header.
Section backgrounds configured in UX Builder may cover CSS backgrounds:
remove conflicting section background settings there rather than hiding .section-bg.
*/

/* ==========================================================================
   01. SINGLE DESIGN TOKEN SOURCE / legacy variable aliases
   ========================================================================== */

:root {
    --atl-navy: #071426;
    --atl-navy-2: #0b2036;
    --atl-navy-3: #10304c;
    --atl-navy-dark: #050d19;
    --atl-blue: #0757c9;
    --atl-blue-hover: #0646a2;
    --atl-primary: var(--atl-blue);
    --atl-primary-light: #2877dc;
    --atl-cyan: #38c9ed;
    --atl-cyan-light: #9ce8fa;
    --atl-white: #fff;
    --atl-light: #f4f8fc;
    --atl-text: #17283d;
    --atl-muted: #52657a;
    --atl-on-dark: #c0cfdf;
    --atl-border: #dce5ef;
    --atl-border-hover: #87b6de;
    --atl-dark-border: #365674;
    --atl-radius: 18px;
    --atl-radius-small: 12px;
    --atl-radius-button: 10px;
    --atl-shadow: 0 12px 28px rgba(7, 20, 38, .08);
    --atl-shadow-dark: 0 16px 36px rgba(0, 0, 0, .18);
    --atl-space-1: .5rem;
    --atl-space-2: 1rem;
    --atl-space-3: 1.5rem;
    --atl-space-4: 2rem;
    --atl-space-5: 3rem;
    --atl-section-space: clamp(3rem, 5vw, 5.5rem);
    --atl-card-padding: clamp(1.25rem, 2.4vw, 2rem);
    --atl-font-body: 1.125rem;
    --atl-font-small: 1rem;
    --atl-font-label: .875rem;
    --atl-font-h1: clamp(2.5rem, 1.7rem + 3vw, 3.5rem);
    --atl-font-h2: clamp(2rem, 1.45rem + 2vw, 2.25rem);
    --atl-font-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
    --atl-font-h4: 1.25rem;
    --atl-leading: 1.7;
    --atl-duration: 180ms;
    --atl-ease: cubic-bezier(.2, .7, .3, 1);
    --atl-transition: color var(--atl-duration) ease, background-color var(--atl-duration) ease, border-color var(--atl-duration) ease, transform var(--atl-duration) var(--atl-ease);
    --atl-bg-dark: radial-gradient(circle at 80% 15%, rgba(56, 201, 237, .1), transparent 42%), linear-gradient(135deg, var(--atl-navy-dark), var(--atl-navy-2));
    --atl-bg-button: linear-gradient(110deg, var(--atl-blue), #0968c9);
    --atl-bg-grid: linear-gradient(rgba(56, 201, 237, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 201, 237, .04) 1px, transparent 1px);
}

/* ==========================================================================
   02. ATL SECTION TYPOGRAPHY / preserve Flatsome row, col and font family
   ========================================================================== */

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) {
    position: relative;
    padding-top: var(--atl-section-space);
    padding-bottom: var(--atl-section-space);
    font-size: var(--atl-font-body);
    line-height: var(--atl-leading);
    color: var(--atl-text);
    overflow-wrap: break-word;
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) > .section-content {
    position: relative;
    z-index: 1;
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) h1 {
    font-size: var(--atl-font-h1);
    line-height: 1.2;
    letter-spacing: -.025em;
    font-weight: 700;
    color: inherit;
    margin-bottom: var(--atl-space-2);
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) h2 {
    font-size: var(--atl-font-h2);
    line-height: 1.2;
    letter-spacing: -.025em;
    font-weight: 700;
    color: inherit;
    margin-bottom: var(--atl-space-2);
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) h3 {
    font-size: var(--atl-font-h3);
    line-height: 1.35;
    letter-spacing: -.01em;
    font-weight: 700;
    color: inherit;
    margin-bottom: var(--atl-space-2);
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) h4 {
    font-size: var(--atl-font-h4);
    line-height: 1.35;
    letter-spacing: -.01em;
    font-weight: 700;
    color: inherit;
    margin-bottom: var(--atl-space-2);
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) p {
    font-size: inherit;
    line-height: var(--atl-leading);
    margin-bottom: var(--atl-space-2);
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) .lead {
    font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
    line-height: 1.7;
}

:is(.atl-kicker, .atl-eyebrow, .atl-section-number, .atl-cta-small, .atl-panel-label, .atl-card-label, .atl-tech-small, .atl-card-number, .atl-step-number, .atl-product-type) {
    display: block;
    color: var(--atl-blue);
    font-size: var(--atl-font-label);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: var(--atl-space-2);
}

:is(.atl-kicker, .atl-eyebrow, .atl-section-number, .atl-cta-small, .atl-panel-label, .atl-card-label, .atl-tech-small, .atl-card-number, .atl-step-number, .atl-product-type) p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
}

.atl-section-number.atl-light {
    color: var(--atl-cyan-light);
}

/* ==========================================================================
   03. BUTTONS / existing homepage + about aliases
   ========================================================================== */

.atl-button-primary, .atl-btn-primary, .atl-button-secondary, .atl-footer-button, :where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) .button {
    min-height: 48px;
    max-width: 100%;
    padding: .65rem 1.5rem;
    border-radius: var(--atl-radius-button);
    font-size: var(--atl-font-small);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .015em;
    white-space: normal;
    text-transform: none;
    transition: var(--atl-transition);
}

.atl-button-primary, .atl-btn-primary {
    background: var(--atl-bg-button) !important;
    border: 1px solid transparent !important;
    color: var(--atl-white) !important;
    box-shadow: var(--atl-shadow);
}

.atl-button-secondary {
    background: transparent !important;
    border: 1px solid var(--atl-blue) !important;
    color: var(--atl-blue) !important;
}

/* ==========================================================================
   04. SHARED CARDS / one base, explicit contextual variants below
   ========================================================================== */

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) {
    position: relative;
    height: 100%;
    padding: var(--atl-card-padding);
    border: 1px solid var(--atl-border);
    border-radius: var(--atl-radius);
    background: var(--atl-white);
    color: var(--atl-text);
    transition: var(--atl-transition);
    overflow-wrap: anywhere;
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) :is(h3, h4) {
    color: inherit;
    font-weight: 700;
    line-height: 1.35;
    margin: var(--atl-space-2) 0 var(--atl-space-1);
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) h3 {
    font-size: var(--atl-font-h3);
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) h4 {
    font-size: var(--atl-font-h4);
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) p {
    color: var(--atl-muted);
    font-size: var(--atl-font-small);
    line-height: var(--atl-leading);
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) p:last-child {
    margin-bottom: 0;
}

.atl-solution-card a {
    color: var(--atl-blue);
    font-size: var(--atl-font-small);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.atl-solutions .atl-solution-card {
    min-height: 260px;
}

.atl-about-intro .atl-process-card, .atl-solution-thinking .atl-process-card {
    background: var(--atl-white);
    color: var(--atl-text);
    border-color: var(--atl-border);
}

.atl-process-row {
    margin-top: var(--atl-space-4);
}

.atl-process-card > span, .atl-process-card > p:first-child {
    color: var(--atl-blue);
    font-size: var(--atl-font-label);
    font-weight: 700;
    margin-bottom: var(--atl-space-3);
}

/* ==========================================================================
   05. DARK SECTIONS / solution and process context never leaks to homepage
   ========================================================================== */

:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-about-cta) {
    background: var(--atl-bg-dark);
    color: var(--atl-white);
}

:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-about-cta) :is(h1, h2, h3, h4) {
    color: var(--atl-white);
}

:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-about-cta) p {
    color: var(--atl-on-dark);
}

:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-about-cta) :is(.atl-kicker, .atl-eyebrow, .atl-section-number, .atl-cta-small, .atl-panel-label, .atl-card-label, .atl-tech-small, .atl-card-number, .atl-step-number, .atl-product-type), :is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-about-cta) :is(.atl-kicker, .atl-eyebrow, .atl-section-number, .atl-cta-small, .atl-panel-label, .atl-card-label, .atl-tech-small, .atl-card-number, .atl-step-number, .atl-product-type) p {
    color: var(--atl-cyan-light);
}

:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-about-cta) .atl-button-secondary {
    color: var(--atl-white) !important;
    border-color: var(--atl-on-dark) !important;
}

.atl-solution-featured, .atl-hero-panel, .atl-tech-card, .atl-dark-section .atl-process-card, .atl-dark-section .atl-problem-card, .atl-dark-section .atl-feature-card, .atl-solution-section .atl-solution-card {
    background: var(--atl-navy-2);
    border-color: var(--atl-dark-border);
    color: var(--atl-white);
}

:is(.atl-solution-featured, .atl-hero-panel, .atl-tech-card, .atl-dark-section .atl-process-card, .atl-dark-section .atl-problem-card, .atl-dark-section .atl-feature-card, .atl-solution-section .atl-solution-card) :is(h3, h4) {
    color: var(--atl-white);
}

:is(.atl-solution-featured, .atl-hero-panel, .atl-tech-card, .atl-dark-section .atl-process-card, .atl-dark-section .atl-problem-card, .atl-dark-section .atl-feature-card, .atl-solution-section .atl-solution-card) p {
    color: var(--atl-on-dark);
}

.atl-solution-featured a, .atl-solution-section .atl-solution-card a, .atl-dark-section .atl-process-card > p:first-child, .atl-dark-section .atl-process-card > span {
    color: var(--atl-cyan-light);
}

.atl-solution-section .atl-solution-card {
    min-height: 330px;
    margin-top: var(--atl-space-3);
}

.atl-solution-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--atl-space-3);
    border: 1px solid var(--atl-dark-border);
    border-radius: 50%;
    color: var(--atl-cyan-light);
    font-size: var(--atl-font-label);
    font-weight: 700;
}

.atl-hero-v2::before, .atl-about-hero::before, .atl-dark-section::before, .atl-solution-section::before, .atl-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--atl-bg-grid);
    background-size: 56px 56px;
    pointer-events: none;
}

/* ==========================================================================
   06. HERO / static gradients instead of blur and backdrop filters
   ========================================================================== */

.atl-hero-v2 {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.atl-hero-heading h1 {
    max-width: 800px;
    margin: var(--atl-space-1) 0 var(--atl-space-3);
}

.atl-hero-heading strong, .atl-about-hero h1 strong, .atl-solution-section h2 strong {
    color: var(--atl-cyan-light);
}

.atl-hero-description, .atl-about-hero .lead {
    max-width: 720px;
    font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
}

.atl-hero-panel, .atl-tech-card {
    box-shadow: var(--atl-shadow-dark);
}

.atl-hero-panel::before, .atl-tech-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--atl-space-4);
    right: var(--atl-space-4);
    height: 2px;
    background: linear-gradient(90deg, var(--atl-blue), var(--atl-cyan));
    pointer-events: none;
}

.atl-hero-panel p strong {
    color: var(--atl-cyan-light);
    font-weight: 700;
}

.atl-tech-line {
    height: 1px;
    width: 100%;
    margin: var(--atl-space-3) 0;
    background: var(--atl-dark-border);
}

/* ==========================================================================
   07. HOMEPAGE / flow, architecture, kiosk, products, capabilities, projects
   ========================================================================== */

.atl-solutions, .atl-architecture-section, .atl-applications, .atl-products-section, .atl-project-section {
    background: var(--atl-white);
}

.atl-queue-flow, .atl-kiosk-section, .atl-about-section {
    background: var(--atl-light);
}

.atl-flow-card {
    min-height: 210px;
}

.atl-architecture-core {
    padding: var(--atl-card-padding);
    margin-bottom: var(--atl-space-2);
    border-radius: var(--atl-radius);
    background: var(--atl-bg-dark);
    text-align: center;
    color: var(--atl-white);
}

.atl-architecture-core h3 {
    color: var(--atl-white);
    font-size: var(--atl-font-h3);
}

.atl-architecture-core p {
    color: var(--atl-on-dark);
}

.atl-architecture-item > p {
    color: var(--atl-blue);
    font-size: var(--atl-font-label);
    font-weight: 700;
}

.atl-industry-card, .atl-value-card {
    border-top: 2px solid var(--atl-blue);
}

.atl-kiosk-display {
    position: relative;
    min-height: 430px;
    padding: var(--atl-space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--atl-white);
    border: 10px solid var(--atl-navy-3);
    border-radius: var(--atl-radius);
    background: var(--atl-bg-dark);
    box-shadow: var(--atl-shadow-dark);
}

.atl-kiosk-display::after {
    content: "";
    position: absolute;
    width: min(180px, 60%);
    height: 18px;
    left: 50%;
    bottom: -48px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--atl-navy-3);
    pointer-events: none;
}

.atl-kiosk-display h2 {
    color: var(--atl-white);
    font-size: var(--atl-font-h2);
    line-height: 1.2;
}

.atl-kiosk-display p {
    color: var(--atl-cyan-light);
    font-size: var(--atl-font-label);
    letter-spacing: .08em;
}

.atl-kiosk-item {
    height: 100%;
    padding: var(--atl-space-3);
    border-left: 2px solid var(--atl-border);
}

.atl-kiosk-item p {
    font-size: var(--atl-font-small);
    color: var(--atl-muted);
}

.atl-product-card {
    min-height: 250px;
    background: linear-gradient(145deg, var(--atl-white), var(--atl-light));
}

.atl-product-card h3 {
    margin-top: var(--atl-space-4);
}

.atl-capability-box {
    box-shadow: var(--atl-shadow);
}

.atl-capability-box h3 {
    padding-top: var(--atl-space-2);
    border-top: 1px solid var(--atl-border);
}

.atl-project-placeholder {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-style: dashed;
    background: var(--atl-light);
}

.atl-final-cta h2, .atl-final-cta p:not(.atl-kicker) {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   08. ABOUT / values, industries, CTA, company info
   ========================================================================== */

.atl-about-intro p, .atl-industries p, .atl-values .lead {
    color: var(--atl-muted);
}

.atl-about-intro strong, .atl-about-intro .lead {
    color: var(--atl-text);
}

.atl-values .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.atl-value-card {
    margin-top: var(--atl-space-3);
    background: var(--atl-light);
    min-height: 245px;
}

.atl-value-card h3 {
    color: var(--atl-blue);
    font-size: var(--atl-font-h2);
    margin-bottom: var(--atl-space-3);
}

.atl-industry-item {
    height: auto;
    margin-bottom: var(--atl-space-2);
    border-left: 2px solid var(--atl-blue);
}

.atl-industry-item span {
    color: var(--atl-blue);
    font-size: var(--atl-font-label);
    font-weight: 700;
}

.atl-about-cta {
    background: var(--atl-bg-button);
}

.atl-about-cta p {
    color: var(--atl-white);
    max-width: 750px;
}

.atl-about-cta .atl-cta-small, .atl-about-cta .atl-cta-small p {
    color: var(--atl-white);
}

.atl-about-cta .atl-btn-primary {
    background: var(--atl-white) !important;
    color: var(--atl-blue) !important;
}

.atl-company-info {
    border-top: 1px solid var(--atl-dark-border);
}

.atl-company-info p {
    margin-bottom: 0;
    font-size: var(--atl-font-small);
}

/* ==========================================================================
   09. MEGA MENU / no global .header-nav .nav-dropdown pseudo-element override
   ========================================================================== */

.atl-mega-solutions {
    position: relative;
    width: 100%;
    padding: var(--atl-space-3) var(--atl-space-2);
    background: linear-gradient(135deg, var(--atl-white), var(--atl-light));
    color: var(--atl-text);
}

.atl-mega-title h4 {
    margin: 0 0 var(--atl-space-2);
    padding-left: var(--atl-space-2);
    border-left: 3px solid var(--atl-blue);
    color: var(--atl-text);
    font-size: var(--atl-font-small);
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .035em;
}

.atl-mega-links p {
    margin: 0;
}

.atl-mega-links a {
    display: block;
    min-height: 44px;
    padding: .6rem .5rem;
    color: var(--atl-muted);
    font-size: var(--atl-font-small);
    line-height: 1.5;
    border-radius: var(--atl-radius-small);
    text-decoration: none;
    transition: var(--atl-transition);
}

.atl-mega-footer-text p {
    margin: 0;
    font-size: var(--atl-font-label);
    line-height: 1.7;
    color: var(--atl-muted);
}

.atl-mega-footer-text strong {
    color: var(--atl-text);
}

.atl-mega-cta {
    display: inline-block;
    min-height: 44px;
    padding: .65rem 0;
    font-size: var(--atl-font-small) !important;
    font-weight: 700;
    color: var(--atl-blue) !important;
    transition: var(--atl-transition);
}

/* Progressive enhancement: target only dropdowns containing ATL content.
   Never overwrite Flatsome's ::before arrow or its positioning/visibility. */
@supports selector(:has(*)) {
    .header-nav .nav-dropdown:has(.atl-mega-solutions) {
        border-radius: 0 0 var(--atl-radius-small) var(--atl-radius-small);
        box-shadow: var(--atl-shadow);
    }
}

/* ==========================================================================
   10. FOOTER / readable text on navy, 44px link targets
   ========================================================================== */

.atl-footer, .atl-footer-bottom {
    position: relative;
    background: var(--atl-bg-dark);
    color: var(--atl-on-dark);
    font-size: var(--atl-font-small);
    line-height: var(--atl-leading);
    overflow-wrap: anywhere;
    border-top: 1px solid var(--atl-dark-border);
}

.atl-footer {
    padding-top: var(--atl-section-space);
    padding-bottom: var(--atl-space-4);
}

.atl-footer-bottom {
    background: var(--atl-navy-dark);
    padding-top: var(--atl-space-2);
    padding-bottom: var(--atl-space-2);
}

.atl-footer-brand {
    max-width: 440px;
}

.atl-footer-brand h3 {
    color: var(--atl-white);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 var(--atl-space-1);
}

.atl-footer-tagline, .atl-footer-process p, .atl-footer-process strong {
    color: var(--atl-cyan-light);
    font-size: var(--atl-font-label);
    line-height: 1.7;
    letter-spacing: .05em;
}

.atl-footer-brand p:not(.atl-footer-tagline), .atl-footer-contact p {
    color: var(--atl-on-dark);
    font-size: var(--atl-font-small);
    line-height: var(--atl-leading);
}

.atl-footer-process {
    margin-top: var(--atl-space-3);
}

.atl-footer-heading h4 {
    color: var(--atl-white);
    font-size: var(--atl-font-small);
    font-weight: 700;
    line-height: 1.5;
    padding-bottom: var(--atl-space-1);
    margin-bottom: var(--atl-space-2);
    border-bottom: 2px solid var(--atl-dark-border);
}

.atl-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.atl-footer-links ul li {
    margin: 0;
    padding: 0;
    border: 0;
}

.atl-footer-links a {
    display: inline-block;
    min-height: 44px;
    padding: .6rem 0;
    color: var(--atl-on-dark);
    font-size: var(--atl-font-small);
    line-height: 1.5;
    text-decoration: none;
    transition: var(--atl-transition);
}

.atl-footer-contact {
    max-width: 420px;
}

.atl-footer-contact .atl-company, .atl-footer-contact .atl-company strong {
    color: var(--atl-white);
    font-weight: 600;
}

.atl-footer-contact p > span {
    display: inline-block;
    color: var(--atl-on-dark);
    font-size: var(--atl-font-label);
    line-height: 1.5;
    font-weight: 700;
}

.atl-footer-contact a {
    color: var(--atl-cyan-light);
    text-underline-offset: .2em;
}

.atl-footer-button {
    background: transparent !important;
    border: 1px solid var(--atl-cyan-light) !important;
    color: var(--atl-white) !important;
    margin-top: var(--atl-space-1);
    box-shadow: none;
}

.atl-footer-copyright p, .atl-footer-bottom-menu p {
    margin: 0;
    color: var(--atl-on-dark);
    font-size: var(--atl-font-label);
    line-height: 1.7;
}

.atl-footer-bottom-menu a {
    display: inline-block;
    padding: .65rem 0;
    min-height: 44px;
    color: var(--atl-on-dark);
    font-size: var(--atl-font-label);
    transition: var(--atl-transition);
}

.atl-footer-bottom-menu span {
    margin: 0 .5rem;
    color: var(--atl-on-dark);
}

.atl-footer .text:last-child, .atl-footer .text:last-child p:last-child {
    margin-bottom: 0;
}

/* Metadata keeps the same readable label scale inside card text rules. */
:is(.atl-card-number, .atl-step-number, .atl-product-type, .atl-panel-label, .atl-card-label, .atl-tech-small),
:is(.atl-card-number, .atl-step-number, .atl-product-type, .atl-panel-label, .atl-card-label, .atl-tech-small) p {
    font-size: var(--atl-font-label);
    font-weight: 700;
    color: var(--atl-blue);
}
:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-solution-featured)
:is(.atl-card-number, .atl-step-number, .atl-product-type, .atl-panel-label, .atl-card-label, .atl-tech-small),
:is(.atl-hero-v2, .atl-about-hero, .atl-dark-section, .atl-solution-section, .atl-final-cta, .atl-solution-featured)
:is(.atl-card-number, .atl-step-number, .atl-product-type, .atl-panel-label, .atl-card-label, .atl-tech-small) p {
    color: var(--atl-cyan-light);
}
/* Flow keeps its existing class; omit decorative connectors that depend on
   a fixed column count or fail when columns wrap. Flatsome controls its layout. */
.atl-flow-row {
    position: relative;
}

/* ==========================================================================
   11. INTERACTION / pointer hover only, keyboard feedback and focus ring
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card):hover {
    transform: translateY(-3px);
    border-color: var(--atl-border-hover);
}

.atl-button-primary:hover, .atl-btn-primary:hover {
    background: var(--atl-blue-hover) !important;
    transform: translateY(-2px);
}

.atl-mega-links a:hover {
    background-color: var(--atl-light);
    color: var(--atl-blue);
}

.atl-footer-links a:hover, .atl-footer-bottom-menu a:hover {
    color: var(--atl-white);
    text-decoration: underline;
}

.atl-solution-card a:hover {
    text-decoration-thickness: 2px;
}

}

:where(:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section), .atl-footer, .atl-footer-bottom, .atl-mega-solutions) :is(a, button, input, select, textarea, [tabindex]):focus-visible, :is(.atl-button-primary, .atl-btn-primary, .atl-button-secondary, .atl-footer-button, .atl-mega-cta):focus-visible {
    outline: 3px solid var(--atl-blue) !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--atl-white);
}

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) ::selection, .atl-footer ::selection {
    background: var(--atl-cyan-light);
    color: var(--atl-navy);
}

/* ==========================================================================
   12. RESPONSIVE / Flatsome breakpoints 849px and 549px
   ========================================================================== */

@media (max-width: 849px) {

.atl-hero-v2 {
    min-height: auto;
}

.atl-hero-row {
    min-height: auto;
}

.atl-hero-panel, .atl-tech-card {
    margin-top: var(--atl-space-3);
}

.atl-solutions .atl-solution-card, .atl-solution-section .atl-solution-card {
    min-height: 0;
}

.atl-kiosk-display {
    max-width: 420px;
    margin: 0 auto 70px;
}

.atl-mega-solutions {
    padding: var(--atl-space-2);
}

.atl-mega-title h4 {
    margin-top: var(--atl-space-2);
}

.atl-mega-footer-text {
    margin-bottom: var(--atl-space-2);
}

.atl-footer > .section-content > .row > .col {
    margin-bottom: var(--atl-space-3);
}

}

@media (max-width: 549px) {

:where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) {
    font-size: 1.0625rem;
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card) {
    min-height: 0;
    height: auto;
}

.atl-solutions .atl-solution-card, .atl-solution-section .atl-solution-card, .atl-flow-card, .atl-product-card, .atl-value-card {
    min-height: 0;
}

.atl-kiosk-display {
    min-height: 320px;
    border-width: 8px;
    padding: var(--atl-space-3);
}

.atl-footer-button {
    width: 100%;
    text-align: center;
}

.atl-footer-bottom, .atl-footer-copyright, .atl-footer-bottom-menu {
    text-align: center;
}

.atl-footer-bottom-menu {
    margin-top: var(--atl-space-1);
}

}

/* ==========================================================================
   13. ACCESSIBILITY / reduced motion overrides hover transforms too
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card), .atl-button-primary, .atl-btn-primary, .atl-button-secondary, .atl-footer-button, .atl-mega-links a, .atl-mega-cta, .atl-footer-links a, .atl-footer-bottom-menu a, :where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) .button {
    transition: none !important;
    animation: none !important;
}

:is(.atl-solution-card, .atl-process-card, .atl-problem-card, .atl-flow-card, .atl-architecture-item, .atl-feature-card, .atl-industry-card, .atl-product-card, .atl-value-card, .atl-industry-item, .atl-project-placeholder, .atl-capability-box, .atl-hero-panel, .atl-tech-card):hover, :is(.atl-button-primary, .atl-btn-primary, .atl-button-secondary, .atl-footer-button, .atl-mega-cta):hover, :where(.atl-section, .atl-hero-v2, .atl-final-cta, .atl-about-hero, .atl-about-intro, .atl-solution-thinking, .atl-solution-section, .atl-values, .atl-industries, .atl-about-cta, .atl-dark-section) .button:hover {
    transform: none !important;
}

}

@media (forced-colors: active) {
    .atl-button-primary, .atl-btn-primary, .atl-button-secondary, .atl-footer-button {
        border: 1px solid ButtonText !important;
        background: ButtonFace !important;
        color: ButtonText !important;
    }
}

/* ATL HEADER — FLATSOME
   Thay CSS header ATL cũ bằng đoạn này.
   Thanh tìm kiếm: thêm phần tử Search Form trong Header Builder.
*/

#header,
#main-menu {
  --atl-h-primary: #312783;
  --atl-h-accent: #009fe3;
  --atl-h-text: #25263d;
  --atl-h-muted: #62677b;
  --atl-h-border: #e6e8f1;
  --atl-h-soft: #f5f7fc;
}

/* TOP HEADER */

#header #top-bar {
  background: #312783;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

#header #top-bar .nav > li > a,
#header #top-bar .html,
#header #top-bar .html a,
#header #top-bar .social-icons a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .01em;
}

#header #top-bar .nav > li > a {
  min-height: 38px;
}

#header #top-bar .nav > li > a:hover,
#header #top-bar .html a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#header #top-bar .nav > li > a > i {
  color: #fff;
  opacity: .8;
}

/* HEADER */

#header .header-main {
  background: #fff;
}

#header .header-wrapper {
  border-bottom: 1px solid var(--atl-h-border);
  box-shadow: 0 4px 20px rgba(36, 29, 91, .035);
}

#header .header-bottom {
  background: #fff;
  border-top: 1px solid #eef0f6;
}

#header .stuck .header-main {
  background: #fff;
  box-shadow: 0 8px 28px rgba(36, 29, 91, .08);
}

#header .header-main .nav > li > a,
#header .header-bottom .nav > li > a {
  min-height: 52px;
  color: var(--atl-h-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-transform: none;
  transition: color .18s ease;
}

#header .header-nav > li {
  margin-right: 13px;
  margin-left: 13px;
}

#header .header-nav > li > a > .icon-angle-down {
  margin-left: 7px;
  color: #85869a;
  font-size: 13px;
  opacity: 1;
  transition: color .18s ease;
}

#header .header-nav > li:hover > a,
#header .header-nav > li.active > a,
#header .header-nav > li.current-menu-item > a,
#header .header-nav > li.current-menu-ancestor > a {
  color: var(--atl-h-primary);
}

#header .header-nav > li:hover > a > .icon-angle-down {
  color: var(--atl-h-accent);
}

#header .header-nav.nav-line-bottom > li > a:before,
#header .header-nav.nav-line-grow > li > a:before,
#header .header-nav.nav-line > li > a:before {
  height: 3px;
  border-radius: 3px;
  background: var(--atl-h-accent);
}

/* CTA */

#header .header-button .button {
  min-height: 46px;
  margin-bottom: 0;
  padding: 10px 21px;
  border: 1px solid var(--atl-h-primary);
  border-radius: 8px;
  background: var(--atl-h-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 12px rgba(49, 39, 131, .12);
  transition: background-color .18s ease, box-shadow .18s ease;
}

#header .header-button .button:hover {
  border-color: #27206b;
  background: #27206b;
  color: #fff;
  box-shadow: 0 6px 16px rgba(49, 39, 131, .18);
}

#header .header-button .button.is-outline {
  background: #fff;
  color: var(--atl-h-primary);
  box-shadow: none;
}

#header .header-button .button.is-outline:hover {
  background: var(--atl-h-primary);
  color: #fff;
}

/* SEARCH FORM */

#header .header-search-form {
  width: clamp(190px, 19vw, 300px);
  max-width: 100%;
}

#header .searchform {
  margin-bottom: 0;
}

#header .searchform .flex-row {
  min-height: 46px;
  border: 1px solid var(--atl-h-border);
  border-radius: 9px;
  background: var(--atl-h-soft);
  transition: border-color .18s ease, box-shadow .18s ease;
}

#header .searchform .flex-row:focus-within {
  border-color: var(--atl-h-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 159, 227, .12);
}

#header .searchform .flex-col {
  min-width: 0;
}

#header .searchform input.search-field {
  height: 44px;
  margin: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 9px 0 0 9px;
  background: transparent;
  color: var(--atl-h-text);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
}

#header .searchform input.search-field::placeholder {
  color: #70758a;
  opacity: 1;
}

#header .searchform input.search-field:focus {
  background: transparent;
  box-shadow: none;
}

#header .searchform .ux-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: var(--atl-h-primary);
  box-shadow: none;
  text-shadow: none;
}

#header .searchform .ux-search-submit:hover {
  background: #e9edf8;
  color: var(--atl-h-primary);
}

#header .searchform .ux-search-submit i {
  font-size: 19px;
}

#header .searchform .search_categories {
  max-width: 120px;
  height: 44px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--atl-h-border);
  background-color: transparent;
  color: var(--atl-h-muted);
  font-size: 14px;
  box-shadow: none;
}

#header .header-search > a {
  color: var(--atl-h-primary);
}

#header .header-search > a i {
  font-size: 21px;
}

/* DROPDOWN — giữ nguyên vị trí và cơ chế mở của Flatsome */

#header .nav-dropdown {
  padding: 12px;
  border: 1px solid var(--atl-h-border);
  border-top: 3px solid var(--atl-h-primary);
  border-radius: 0 0 12px 12px;
  background: #fff;
  color: var(--atl-h-text);
  box-shadow: 0 16px 40px rgba(36, 29, 91, .12);
}

#header .nav-dropdown li > a {
  min-height: 46px;
  padding: 12px 15px;
  border-bottom-color: #eef0f6;
  border-radius: 7px;
  color: var(--atl-h-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
  transition: background-color .18s ease, color .18s ease;
}

#header .nav-dropdown li > a:hover,
#header .nav-dropdown li.active > a,
#header .nav-dropdown li.current-menu-item > a {
  background: #f0f5fc;
  color: var(--atl-h-primary);
}

#header .nav-dropdown .nav-column > li.nav-dropdown-col > a {
  color: var(--atl-h-primary);
  font-size: 16px;
  font-weight: 700;
}

/* ATL MEGA MENU */

#header .atl-mega-solutions {
  padding: 24px 16px;
  background: #fff;
  color: var(--atl-h-text);
}

#header .atl-mega-title h4 {
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--atl-h-accent);
  color: var(--atl-h-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
  text-transform: none;
}

#header .atl-mega-links p {
  margin-bottom: 0;
}

#header .atl-mega-links a {
  display: block;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 7px;
  color: var(--atl-h-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color .18s ease, background-color .18s ease;
}

#header .atl-mega-links a:hover {
  transform: none;
  background: #f0f5fc;
  color: var(--atl-h-primary);
}

#header .atl-mega-footer-text p {
  color: var(--atl-h-muted);
  font-size: 14px;
  line-height: 1.7;
}

#header .atl-mega-footer-text strong {
  color: var(--atl-h-primary);
}

#header .atl-mega-cta {
  color: var(--atl-h-primary) !important;
  font-size: 16px !important;
  font-weight: 700;
}

#header .atl-mega-cta:hover {
  text-decoration: underline;
  text-decoration-color: var(--atl-h-accent);
  text-underline-offset: 5px;
}

/* MOBILE MENU */

#main-menu {
  background: #fff;
  color: var(--atl-h-text);
}

#main-menu .nav-sidebar > li {
  border-top-color: var(--atl-h-border);
}

#main-menu .nav-sidebar li > a {
  min-height: 52px;
  color: var(--atl-h-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

#main-menu .nav-sidebar li > a:hover,
#main-menu .nav-sidebar li.active > a,
#main-menu .nav-sidebar li.current-menu-item > a {
  background: var(--atl-h-soft);
  color: var(--atl-h-primary);
}

#main-menu .nav-sidebar .children a {
  font-size: 16px;
  font-weight: 500;
}

#main-menu .toggle {
  min-width: 44px;
  min-height: 48px;
  color: var(--atl-h-primary);
}

#main-menu .searchform input.search-field {
  height: 46px;
  border-color: var(--atl-h-border);
  background: var(--atl-h-soft);
  color: var(--atl-h-text);
  font-size: 16px;
  box-shadow: none;
}

#main-menu .searchform .ux-search-submit {
  min-width: 46px;
  height: 46px;
  margin: 0;
  border-color: var(--atl-h-primary);
  background: var(--atl-h-primary);
  color: #fff;
}

/* RESPONSIVE */

@media (min-width: 850px) and (max-width: 1199px) {
  #header .header-nav > li {
    margin-right: 8px;
    margin-left: 8px;
  }

  #header .header-main .nav > li > a,
  #header .header-bottom .nav > li > a {
    font-size: 16px;
  }

  #header .header-search-form {
    width: 190px;
  }

  #header .header-button .button {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 849px) {
  #header .header-nav > li {
    margin-right: 6px;
    margin-left: 6px;
  }

  #header .header-main .nav > li > a {
    min-height: 48px;
  }

  #header .header-search-form {
    width: 100%;
  }

  #header .header-button .button {
    min-height: 44px;
    padding: 9px 13px;
    font-size: 14px;
  }

  #header .atl-mega-solutions {
    padding: 16px 0;
  }

  #header #top-bar .html,
  #header #top-bar .html a {
    font-size: 13px;
  }
}

/* Dán cuối CSS: bỏ viền trên bị lệch với mũi tên dropdown */
#header .nav-dropdown {
  border: 1px solid #e6e8f1;
  border-top: 1px solid #e6e8f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(49, 39, 131, .12);
}

/* KEYBOARD + REDUCED MOTION */

#header :is(a, button, input, select):focus-visible,
#main-menu :is(a, button, input, select):focus-visible {
  outline: 2px solid #009fe3;
  outline-offset: 3px;
}

#header #top-bar :is(a, button):focus-visible {
  outline-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  #header :is(a, button, input, .flex-row),
  #main-menu :is(a, button, input) {
    transition: none;
  }
}