﻿/**************************************************************
//////////////////// 1) VARIABLES (Root) //////////////////////
**************************************************************/
:root {
    --container-max: 1200px;
    --gutter: clamp(16px,4vw,32px);
    --radius: 18px;
    --bg: #ffffff;
    --text: #0b1220;
    --muted: #5b6473;
    --border: #e8ebf0;
    --primary: #0f2a5f;
    --s1: 8px;
    --s2: 12px;
    --s3: 16px;
    --s4: 24px;
    --s5: 32px;
    --s6: 48px;
    --s7: 72px;
}

/**************************************************************
//////////////////// 2) RESET / BASE //////////////////////////
**************************************************************/
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,"Segoe UI",Arial;
    background: var(--bg);
    color: var(--text);
}

.container {
    width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

h1 {
    font-size: clamp(28px,3.5vw,52px);
    line-height: 1.1;
    margin: 0;
}

h2 {
    font-size: clamp(22px,2.4vw,34px);
    line-height: 1.2;
    margin: 0;
}

h3 {
    font-size: clamp(18px,1.8vw,24px);
    line-height: 1.3;
    margin: 0;
}

p {
    font-size: clamp(14px,1.2vw,16px);
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/**************************************************************
//////////////////// 3) HEADER (Base) //////////////////////////
**************************************************************/
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 16px;
    gap: 14px;
    position: relative;
    z-index: 2; 
}

.brand {
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/**************************************************************
//////////////////// 4) LOGO (Size + Swap) /////////////////////
**************************************************************/
.logo {
    height: 50px;
    width: auto;
}

/**************************************************************
//////////////////// 5) NAV (Desktop) //////////////////////////
**************************************************************/
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .nav a {
        text-decoration: none;
        opacity: .96;
        font-size: clamp(15px,1.1vw,17px);
        font-weight: 500;
        letter-spacing: .2px;
        padding: 8px 6px;
        border-radius: 10px;
        transition: background .2s ease, opacity .2s ease;
    }

        .nav a:hover {
            opacity: 1;
            background: #f5f6f8;
        }

        .nav a.active {
            background: #eef2f7;
            font-weight: 700;
            border-radius: 999px;
            opacity: 1;
            padding: 8px 12px;
        }

/**************************************************************
//////////////////// 6) HEADER ACTIONS /////////////////////////
**************************************************************/
.lang-link {
    padding: 9px 12px;
    border: 1px solid #dbe2ee;
    border-radius: 999px;
    text-decoration: none;
    background: #eef2f7;
    color: var(--text);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 3;
}

.menu-btn {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 1.15rem;
    cursor: pointer;
}
/**************************************************************
//////////////////// 7) HOME HEADER STYLE //////////////////////
**************************************************************/
body.is-home .site-header {
    box-shadow: none !important;
    isolation: isolate;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    border-bottom: 0 !important;
    backdrop-filter: none !important;
}

    body.is-home .site-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 360px;
        pointer-events: none;
        z-index: 0;
        background: radial-gradient(1200px 220px at 18% 0%, rgba(245,247,250,.22) 0%, rgba(245,247,250,0) 72%), radial-gradient(900px 200px at 82% 0%, rgba(245,247,250,.16) 0%, rgba(245,247,250,0) 70%), linear-gradient(180deg, rgba(245,247,250,.30) 0%, rgba(245,247,250,.14) 45%, rgba(245,247,250,.06) 72%, rgba(245,247,250,0) 100%);
    }


    body.is-home .site-header .container,
    body.is-home .site-header .header-row {
        position: relative;
        z-index: 1;
    }


    body.is-home .site-header .header-row {
        padding-top: 54px !important;
        padding-bottom: 60px !important;
    }

.hero-overlay,
.hero.hero--full::after {
    pointer-events: none;
}

@media (max-width:900px) {
    .menu-btn {
        position: relative;
        z-index: 20001;
        pointer-events: auto;
    }

    .site-header {
        z-index: 20000;
    }
}



/**************************************************************
//////////////////// 8) MOBILE NAV (<=900px) ///////////////////
**************************************************************/
@media (max-width:900px) {

    .logo {
        height: 42px;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 68px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
        z-index: 10000;
    }

        .nav.is-open {
            display: flex;
        }

        .nav a {
            font-size: 16px;
            width: 100%;
            padding: 12px 12px;
        }

    .lang-link {
        width: fit-content;
        align-self: flex-start;
    }

    body.is-home .nav {
        background: #fff;
    }

        body.is-home .nav a {
            color: var(--text) !important;
        }
}

/**************************************************************
//////////////////// 9) FOOTER /////////////////////////////////
**************************************************************/
.footer {
    background: #0b1324;
    color: #cbd5e1;
    padding: 60px 0 30px;
    font-family: Arial, sans-serif;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.footer-info h4,
.footer-social-col h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-info p {
    margin: 6px 0;
    font-size: 14px;
    color: #e5e7eb;
}

.footer-social {
    display: flex;
    gap: 14px;
}

    .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: all .3s ease;
    }

        .footer-social a:hover {
            background: #38bdf8;
            color: #0b1324;
            transform: translateY(-2px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width:768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/**************************************************************
//////////////////// 10) LAYOUT ////////////////////////////////
**************************************************************/
.main-content {
    padding: var(--s6) 0;
}

.section {
    padding: var(--s7) 0;
}

@media (max-width:768px) {
    .section {
        padding: var(--s6) 0;
    }
}

.section-alt {
    background: #fafbfc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/**************************************************************
//////////////////// 11) GRID + CARDS //////////////////////////
**************************************************************/
.grid {
    display: grid;
    gap: clamp(12px,2vw,24px);
}

.grid-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.grid-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

@media (max-width:900px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(16px,2vw,24px);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 40px rgba(0,0,0,.08);
    }


/**************************************************************
//////////////////// 12) BUTTONS ///////////////////////////////
**************************************************************/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--border);
    background: #fff;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 26px rgba(0,0,0,.08);
    }

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.btn-cert-red {
    background: #E80207 !important;
    border-color: #E80207 !important;
    color: #fff !important;
}

    .btn-cert-red:hover {
        background: #c80106 !important;
        border-color: #c80106 !important;
    }

/**************************************************************
//////////////////// 13) HERO (Full Background) ////////////////
**************************************************************/
.hero.hero--full {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: clamp(620px, 88vh, 940px);
}

    .hero.hero--full .hero-overlay {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 40%, rgba(15,42,95,.28), rgba(0,0,0,.55)), linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
        z-index: 1;
    }

    .hero.hero--full .container {
        position: relative;
        z-index: 2;
        padding-top: clamp(140px, 14vh, 220px) !important;
        padding-bottom: clamp(120px, 12vh, 200px) !important;
    }

@media (max-width:768px) {
    .hero.hero--full {
        min-height: 78vh !important;
        background-position: center !important;
    }
}


/**************************************************************
//////////////////// 14) HERO TEXT /////////////////////////////
**************************************************************/
.hero.hero--full .hero-kicker {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.94);
    text-shadow: 0 10px 26px rgba(0,0,0,.55);
}

.hero.hero--full .hero-title {
    font-weight: 700;
    font-size: clamp(34px, 4.0vw, 68px);
    line-height: 1.05;
    margin: 0 0 14px;
    color: #fff;
    text-shadow: 0 14px 34px rgba(0,0,0,.55);
}

.hero.hero--full .hero-desc {
    font-size: clamp(16px, 1.7vw, 22px);
    line-height: 1.9;
    max-width: 820px;
    color: rgba(255,255,255,.92);
    text-shadow: 0 12px 30px rgba(0,0,0,.55);
}

/* ===== HERO ACTIONS (Buttons spacing) =====*/
.hero.hero--full .hero-actions {
    margin-top: 30px; 
    display: flex;
    gap: 12px; 
    flex-wrap: wrap; 
    align-items: center;
}
@media (max-width:768px) {
    .hero.hero--full .hero-actions {
        margin-top: 20px;
    }
}

/* ===== HERO SLIDER LAYERS (slide animation) ===== */
.hero.hero--full {
    background-image: none !important; 
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform, opacity;
}

.hero-slide--a {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide--b {
    opacity: 0;
    transform: translateX(0);
}

.hero.hero--full .hero-overlay {
    z-index: 1;
}

.hero.hero--full .container {
    position: relative;
    z-index: 2;
}

.hero.hero--full.is-sliding .hero-slide--b {
    opacity: 1;
}

.hero.hero--full.is-sliding.dir-next .hero-slide--a {
    transform: translateX(-6%);
    opacity: .75;
    transition: transform 650ms ease, opacity 650ms ease;
}

.hero.hero--full.is-sliding.dir-next .hero-slide--b {
    transform: translateX(0);
    transition: transform 650ms ease, opacity 650ms ease;
}

.hero.hero--full.is-sliding.dir-prev .hero-slide--a {
    transform: translateX(6%);
    opacity: .75;
    transition: transform 650ms ease, opacity 650ms ease;
}

.hero.hero--full.is-sliding.dir-prev .hero-slide--b {
    transform: translateX(0);
    transition: transform 650ms ease, opacity 650ms ease;
}

.hero.hero--full.prepare-next .hero-slide--b {
    transform: translateX(6%);
}

.hero.hero--full.prepare-prev .hero-slide--b {
    transform: translateX(-6%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none !important;
        transform: none !important;
    }
}
/* ===================== HERO DOTS (base) ===================== */
#hero.hero {
    position: relative;
}

/* layers */
#hero .hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* dots wrapper */
#hero .hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    padding: 0 12px;
}

/* dot button */
#hero .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.25);
    cursor: pointer;
    padding: 0;
    outline: none;
}

    #hero .hero-dot.is-active {
        background: rgba(255,255,255,.95);
        border-color: rgba(255,255,255,.95);
        transform: scale(1.15);
    }

    #hero .hero-dot:focus-visible {
        box-shadow: 0 0 0 3px rgba(255,255,255,.25);
    }

/* ===================== MOBILE TUNING ===================== */
@media (max-width: 768px) {
    #hero .hero-dots {
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    #hero .hero-dot {
        width: 8px;
        height: 8px;
    }

    #hero .hero-content {
        padding-bottom: 46px;
    }
}


/**************************************************************
//////////////////// 15) REVEAL (Soft Blur Fade) //////////////
**************************************************************/
.reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(10px);
    transition: opacity 900ms ease, transform 900ms ease, filter 1200ms cubic-bezier(.16, 1, .3, 1) 100ms; /* delay بسيط */
    will-change: opacity, transform, filter;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

@media (max-width: 768px) {
    .reveal {
        filter: blur(8px);
    }
}

/**************************************************************
//////////////////// 16) HIGHLIGHTS ///////////////////////////
**************************************************************/
.highlight-card p {
    margin-top: 10px;
}

.highlight-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    flex: 0 0 auto;
    padding: 0;
}

    .highlight-icon img {
        width: 44px;
        height: 44px;
        object-fit: contain;
        display: block;
    }

.inline-ico {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: inline-block;
}

@media (max-width: 900px) {
    .highlight-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .highlight-icon img,
    .inline-ico {
        width: 42px;
        height: 42px;
    }
}


/**************************************************************
//////////////////// 17) STATS SECTION ////////////////////////
**************************************************************/
.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 46px);
    margin-top: 22px;
}

@media (max-width: 900px) {
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .stats-section .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stats-section .stat {
    text-align: center;
    padding: clamp(22px, 2.2vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 170px;
}

.stats-section .stat-value,
.stats-section .stat-value .counter {
    font-weight: 700;
    color: #E80207;
    font-size: clamp(42px, 4.6vw, 78px);
    line-height: 1;
    letter-spacing: .2px;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    white-space: nowrap;
}

.stats-section .stat-text {
    margin-top: 14px;
    color: var(--text);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 700;
    opacity: .92;
    line-height: 1.35;
}


/**************************************************************
//////////////////// 18) SERVICES TABS /////////////////////////
**************************************************************/
.services2 .sv-wrap {
    display: grid;
    gap: 18px;
}

.services2 .sv-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.services2 .sv-tab {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

    .services2 .sv-tab:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(0,0,0,.06);
    }

    .services2 .sv-tab.is-active {
        background: var(--primary);
        color: #fff;
        border-color: transparent;
    }

.services2 .sv-panels {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(16px, 2vw, 22px);
    background: #fff;
}

.services2 .sv-content {
    display: none;
}

    .services2 .sv-content.is-active {
        display: block;
    }

    .services2 .sv-content h3 {
        margin-bottom: 8px;
    }


/**************************************************************
//////////////////// 19) PROJECTS FEATURED /////////////////////
**************************************************************/
.projects-featured .projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

    .projects-featured .projects-head p {
        margin-top: 10px;
        max-width: 820px;
    }

.projects-controls {
    display: flex;
    gap: 10px;
}

    .projects-controls .pbtn {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: #fff;
        cursor: pointer;
        font-size: 24px;
        line-height: 1;
        transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    }

        .projects-controls .pbtn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 26px rgba(0,0,0,.08);
            background: #f6f7f9;
        }

.projects-rail {
    margin-top: 18px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: clamp(14px, 2vw, 22px);
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    .projects-rail::-webkit-scrollbar {
        height: 10px;
    }

    .projects-rail::-webkit-scrollbar-thumb {
        background: #e6e9ef;
        border-radius: 999px;
    }

.project-card2 {
    scroll-snap-align: start;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .project-card2:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 50px rgba(0,0,0,.10);
    }

.project-thumb2 {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .project-thumb2::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0));
        opacity: .9;
    }

.project-body2 {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-top2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .project-top2 h3 {
        font-size: clamp(18px, 1.5vw, 22px);
    }

.project-chip {
    border: 1px solid var(--border);
    background: #f7f8fb;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.project-cta {
    margin-top: auto;
    font-weight: 700;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .project-cta .arrow {
        display: inline-block;
        transition: transform .2s ease;
    }

.project-card2:hover .project-cta .arrow {
    transform: translateX(-4px);
}

.projects-footer {
    margin-top: 16px;
}


/**************************************************************
//////////////////// 20) CERTIFICATIONS CTA ////////////////////
**************************************************************/
.cert-cta {
    background: transparent;
    border: 0;
}

.cert-card {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    padding: clamp(22px, 3vw, 40px);
    background: linear-gradient(135deg, #f6f8fc 0%, #fff 55%, #fff5f5 100%);
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: clamp(16px, 2vw, 28px);
    align-items: center;
}

@media (max-width: 900px) {
    .cert-card {
        grid-template-columns: 1fr;
    }
}

.cert-content h2 {
    margin: 0;
}

.cert-desc {
    margin-top: 12px;
    max-width: 900px;
    line-height: 1.9;
    color: var(--muted);
}

.cert-chips {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.cert-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cert-side {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .cert-side {
        justify-content: center;
        margin-top: 10px;
    }
}

.cert-badge {
    width: min(320px, 100%);
    border-radius: 22px;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--border);
    padding: 18px 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.cert-badge-top {
    font-weight: 900;
    letter-spacing: .6px;
    color: var(--primary);
    font-size: 24px;
}

.cert-badge-sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
/* ===================== ABOUTX (Card Image + Overlay) ===================== */
.aboutx-wrap {
    padding: 0;
}

.aboutx-slab {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    height: auto;
    width: min(var(--container-max), calc(100% - (var(--gutter)*2)));
    margin: 22px auto;
    border-radius: 26px;
    border: 1px solid rgba(15,42,95,.14);
    box-shadow: 0 18px 60px rgba(0,0,0,.10);
    --mx: 50%;
    --my: 40%;
    --py: 0px;
}

.aboutx-slab--tight {
    min-height: 0;
    height: auto;
}
.aboutx-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: translateY(var(--py)) scale(1.08);
    transition: transform 900ms ease;
    z-index: 0;
    filter: saturate(1.05) contrast(1.05);
}

.aboutx-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(900px 520px at 20% 10%, rgba(15,42,95,.70), rgba(15,42,95,0) 70%), radial-gradient(700px 460px at 80% 0%, rgba(232,2,7,.22), rgba(232,2,7,0) 65%), linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.78));
}

.aboutx-overlay--soft {
    background: radial-gradient(900px 520px at 20% 10%, rgba(15,42,95,.55), rgba(15,42,95,0) 70%), linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.70));
}

.aboutx-slab::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
    background: radial-gradient(520px 420px at var(--mx) var(--my), rgba(255,255,255,.18), rgba(255,255,255,0) 62%);
}

.aboutx-slab.is-hover::after {
    opacity: 1;
}

.aboutx-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .10;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
    background-size: 260px 260px;
}

.aboutx-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 1100px;
    padding-top: 110px;
    padding-bottom: 70px;
}

.aboutx-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(18px,3vw,40px);
}

.aboutx-title {
    margin: 0;
    font-weight: 500;
    font-size: clamp(34px, 4.0vw, 68px);
    line-height: 1.05;
    text-shadow: 0 18px 44px rgba(0,0,0,.75);
    max-width: 46%;
    align-self: center;
    margin-block: auto;
    max-width: 46%;
    color: #fff;
}

.aboutx-left {
    width: fit-content;
    max-width: 52%;
}

.aboutx-text {
    margin: 0;
    max-width: 920px;
    color: rgba(255,255,255,.92);
    font-size: clamp(15px,1.35vw,19px);
    line-height: 2;
    text-shadow: 0 14px 36px rgba(0,0,0,.78);
}

.aboutx-box {
    display: inline-block;
    border-radius: 22px;
    background: rgba(11,18,32,.42);
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
    padding: 0; 
    width: fit-content;
    max-width: 640px;
}

.aboutx-boxpad {
    padding: 18px 22px; 
}

.aboutx-slab .cert-chips {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aboutx-float {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .7s ease, transform .7s ease;
}

.aboutx-slab.is-in .aboutx-float {
    opacity: 1;
    transform: translateY(0);
    animation: aboutxFloat 6.2s ease-in-out infinite;
}

@keyframes aboutxFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.aboutx-float.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
}

.aboutx-float.ring {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.45);
}

.aboutx-float.a {
    top: 16%;
    right: 10%;
}

.aboutx-float.b {
    top: 34%;
    right: 20%;
    animation-duration: 7s;
}

.aboutx-float.c {
    top: 22%;
    left: 10%;
}

.aboutx-slab .aboutx-content {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.aboutx-slab.is-in .aboutx-content {
    opacity: 1;
    transform: translateY(0);
}

.aboutx-slab.is-in .aboutx-bg {
    transform: translateY(var(--py)) scale(1.00);
}

@media (max-width:900px) {
    .aboutx-row {
        flex-direction: column;
    }

    .aboutx-title {
        max-width: 100%;
    }

    .aboutx-left {
        max-width: 100%;
    }

    .aboutx-box {
        max-width: 100%;
    }
}

@media (max-width:768px) {
    .aboutx-slab {
        border-radius: 18px;
        margin: 14px auto;
    }

    .aboutx-content {
        padding-top: 80px;
        padding-bottom: 54px;
    }
}

.vmx {
    padding: clamp(26px,5vw,60px) 0
}

.vmx-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(28px,6vw,54px)
}

.vmx-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(18px,4vw,48px)
}

.vmx-row--rev {
    flex-direction: row-reverse
}

.vmx-orbwrap {
    flex: 0 0 auto;
    width: clamp(58px,8vw,110px);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.vmx-icon {
    width: clamp(26px,3.2vw,38px);
    height: clamp(26px,3.2vw,38px);
    display: block;
    transform-origin: center;
    animation: vmxPulseImg 2.2s ease-in-out infinite;
    filter: drop-shadow(0 10px 22px rgba(232,2,7,.18));
}

.vmx-row:hover .vmx-icon {
    animation: vmxSpinImg .85s linear infinite;
    filter: drop-shadow(0 14px 28px rgba(232,2,7,.28));
}

@keyframes vmxPulseImg {
    0%,100% {
        transform: scale(.88)
    }

    50% {
        transform: scale(1.34)
    }
}

@keyframes vmxSpinImg {
    0% {
        transform: scale(1.12) rotate(0)
    }

    100% {
        transform: scale(1.12) rotate(360deg)
    }
}

.vmx-copy {
    flex: 1 1 auto;
    max-width: 650px
}

.vmx-title {
    margin: 0 0 10px;
    font-weight: 500;
    font-size: clamp(28px,3.1vw,44px);
    color: #0b1220
}

.vmx-desc {
    margin: 0;
    font-size: clamp(15px,1.25vw,18px);
    line-height: 2;
    color: #4b5566
}

@media(max-width:900px) {
    .vmx-row, .vmx-row--rev {
        flex-direction: column;
        align-items: flex-start
    }

    .vmx-orbwrap {
        width: auto;
        padding-top: 0
    }
}
@media (max-width: 600px) {
    .vmx-icon {
        width: 28px;
        height: 28px;
    }

    .vmx-title {
        font-size: clamp(22px, 6vw, 30px);
    }

    .vmx-desc {
        font-size: 14px;
        line-height: 1.9;
    }
}
/* ===================== WHYX (White Cards / Vertical) ===================== */
.statsx {
    padding: 0;
}

    .statsx.section {
        background: #f7f9fc;
        border-radius: 24px;
        padding: clamp(26px,5vw,60px) 0;
    }

.statsx-head {
    margin-bottom: clamp(16px,2.8vw,26px);
    text-align: center;
}

.statsx-h2 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: clamp(22px,2.6vw,34px);
    color: #0b1220;
}

.statsx-p {
    margin: 0 auto;
    max-width: 760px;
    color: #5b6473;
    line-height: 1.9;
    font-size: clamp(14px,1.2vw,17px);
}
.statsx-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0,1fr));
    align-items: stretch;
}

@media (max-width: 1100px) {
    .statsx-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .statsx-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px){
  .statsx-card{
    min-height: 0;
    padding: 18px 18px 16px;
    text-align: right;
  }
  .statsx-ico{ width: 28px; height: 28px; }
  .statsx-title{ margin-top: 8px; }
}

.statsx-card {
    position: relative;
    border-radius: 18px;
    padding: 22px 22px 20px;
    min-height: 190px;
    background: #fff;
    border: 1px solid rgba(15,42,95,.12);
    box-shadow: 0 14px 40px rgba(11,18,32,.10);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
    text-align: center;
}

    .statsx-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 70px rgba(11,18,32,.14);
        border-color: rgba(15,42,95,.18);
    }

.statsx-ico {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    transform: translateZ(18px);
    transition: transform .18s ease;
    opacity: .95;
}

    .statsx-ico img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.statsx-card:hover .statsx-ico {
    transform: translateZ(18px) scale(1.12) rotate(22deg);
}

.statsx-title {
    margin: 24px 0 10px;
    font-weight: 600;
    font-size: clamp(16px,1.6vw,22px);
    color: #0b1220;
    transform: translateZ(12px);
}

.statsx-desc {
    margin: 0;
    color: #5b6473;
    line-height: 1.9;
    font-size: clamp(13px,1.1vw,15px);
    transform: translateZ(10px);
}

@media (prefers-reduced-motion: reduce) {
    .statsx-card, .statsx-ico {
        transition: none !important;
    }

    .statsx-card {
        transform: none !important;
    }
}
/* ===================== Team & Resources (TR) ===================== */
.tr.section {
    padding: clamp(26px,5vw,60px) 0;
}

.tr-head {
    text-align: center;
    margin-bottom: clamp(14px,2.5vw,22px);
}

.tr-h2 {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: clamp(20px,2.2vw,30px);
    color: #0b1220;
}

.tr-p {
    margin: 0 auto;
    max-width: 560px;
    color: #5b6473;
    line-height: 1.85;
    font-size: clamp(13px,1.05vw,15px);
}

.tr-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0,1fr));
    align-items: stretch;
}

@media (max-width:900px) {
    .tr-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 520px) {
    .tr-metrics {
        gap: 10px;
    }

    .tr-metric {
        min-width: 0;
        flex: 1 1 100%;
    }
}

.tr-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15,42,95,.10);
    box-shadow: 0 14px 40px rgba(11,18,32,.08);
    padding: 22px 18px 18px;
    min-height: 220px;
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

    .tr-card::after {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        background: radial-gradient(520px 260px at var(--mx,50%) var(--my,35%), rgba(232,2,7,.10), rgba(232,2,7,0) 60%);
    }

.tr-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tr-ico {
    width: 40px; 
    height: 40px;
    display: grid;
    place-items: center;
    margin: 0;
    transition: transform .22s ease;
    flex: 0 0 auto;
}

    .tr-ico img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.tr-title {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: #0b1220;
}

.tr-desc {
    margin: 0;
    color: #5b6473;
    font-size: 14px;
    line-height: 1.85;
}

.tr-metrics {
    margin-top: 16px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tr-metric {
    min-width: 120px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f7f9fc;
    border: 1px solid rgba(15,42,95,.08);
}

.tr-num {
    font-weight: 900;
    font-size: 20px;
    color: #0b1220;
    direction: ltr;
}

.tr-label {
    margin-top: 4px;
    font-size: 12px;
    color: #5b6473;
}

.tr-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #E80207, rgba(232,2,7,.35));
    transition: width .35s ease;
}

.tr-card:hover {
    border-color: rgba(232,2,7,.18);
    box-shadow: 0 22px 70px rgba(11,18,32,.12);
    transform: translateY(-2px);
}

    .tr-card:hover::after {
        opacity: 1;
    }

    .tr-card:hover .tr-ico {
        transform: scale(1.12) rotate(10deg);
    }

    .tr-card:hover .tr-bar {
        width: 100%;
    }

.reveal.is-visible .tr-bar {
    width: 65%;
}

.reveal.is-visible.tr-card:hover .tr-bar {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .tr-card, .tr-card::after, .tr-ico, .tr-bar {
        transition: none !important;
    }

    .tr-card {
        transform: none !important;
    }
}

/* ===================== CTA (Contact) ===================== */
.cta.section {
    padding: clamp(26px,5vw,70px) 0;
}

.cta-card {
    background: #fff;
    border: 1px solid rgba(15,42,95,.10);
    border-radius: 24px;
    padding: clamp(18px,3vw,34px);
    box-shadow: 0 18px 55px rgba(11,18,32,.08);
    position: relative;
    overflow: hidden;
}



.cta-title {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: clamp(20px,2.4vw,32px);
    color: #0b1220;
}

.cta-desc {
    margin: 0 0 18px;
    max-width: 920px;
    color: #5b6473;
    line-height: 1.9;
    font-size: clamp(14px,1.15vw,17px);
}

.cta .btn {
    margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .cta-card::after {
        transition: none !important;
    }
}
@media (max-width: 520px) {
    .cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1100px) {
    .aboutx-content {
        max-width: 100%;
    }

    .aboutx-title {
        max-width: 52%;
    }

    .aboutx-left {
        max-width: 48%;
    }
}

@media (max-width: 900px) {
    .aboutx-content {
        padding-top: 64px;
        padding-bottom: 44px;
    }

    .aboutx-title {
        font-size: clamp(28px, 7vw, 42px);
        line-height: 1.15;
        max-width: 100%;
        text-align: right;
    }

    .aboutx-left {
        max-width: 100%;
        width: 100%;
    }

    .aboutx-box {
        width: 100%;
        max-width: 100%;
    }

    .aboutx-boxpad {
        padding: 14px 16px;
    }

    .aboutx-text {
        font-size: 14px;
        line-height: 1.9;
    }
}

@media (max-width: 520px) {
    .aboutx-slab {
        border-radius: 16px;
    }
}

/* ===== SERVICES (Section 2) — cards only ===== */

.svc-card {
    position: relative;
    overflow: hidden;
}

    .svc-card::after {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        transition: opacity .22s ease;
        background: radial-gradient( 520px 260px at var(--mx,50%) var(--my,35%), rgba(15,42,95,.10), rgba(15,42,95,0) 60% );
    }

    .svc-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 55px rgba(0,0,0,.10);
    }

        .svc-card:hover::after {
            opacity: 1;
        }

    .svc-card .svc-top {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

.svc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e11d2e;
    border-color: rgba(225,29,46,.35);
    border: 1px solid rgba(15,42,95,.12);
    color: #fff;
    font-weight: 900;
    letter-spacing: .4px;
    direction: ltr;
    box-shadow: 0 10px 26px rgba(225,29,46,.18);
}

.svc-card h3 {
    margin: 0;
}

.svc-bullets {
    margin: 12px 0 0;
    padding: 0 18px 0 0; 
    color: var(--muted);
    line-height: 1.95;
}

    .svc-bullets li {
        margin: 8px 0;
    }

@media (max-width:900px) {
    .svc-num {
        min-width: 44px;
        height: 34px;
    }

    .svc-bullets {
        padding-right: 16px;
    }
}

/* ===================== PROJECTS PAGE (Slider Cards) - CLEAN ===================== */

.proj-head p {
    margin-top: 10px;
    max-width: 920px;
    line-height: 2;
}

.proj-card {
    padding: 0;
    overflow: hidden;
    border-radius: calc(var(--radius) + 10px);
    border: 1px solid rgba(15,42,95,.08);
    background: #fff;
    box-shadow: 0 22px 70px rgba(11,18,32,.10);
}

.proj-slider {
    position: relative;
    overflow: hidden;
    background: #0b1220;
    aspect-ratio: 1/1;
    min-height: clamp(200px, 22vw, 260px);
}

.proj-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.02);
    transition: opacity .55s ease, transform 1.8s ease;
    will-change: opacity, transform;
}

    .proj-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

.proj-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(900px 260px at 20% 10%, rgba(255,255,255,.10), rgba(255,255,255,0) 62%), linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0) 62%);
}

.proj-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.proj-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .proj-top h3 {
        margin: 0;
        font-size: clamp(18px, 1.6vw, 22px);
        line-height: 1.25;
    }

.proj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--muted);
    font-size: 14px;
}

    .proj-meta i {
        opacity: .9;
        margin-left: 6px;
    }

.proj-desc {
    margin: 0;
    line-height: 1.95;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.proj-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15,42,95,.10);
    background: #fff;
    font-size: 13px;
    color: var(--muted);
}

.proj-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 4px;
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
}

.proj-card--list .proj-body {
    padding: 18px;
}

.proj-list {
    margin: 10px 0 0;
    padding: 0 18px 0 0;
    color: var(--muted);
    line-height: 1.95;
}

    .proj-list li {
        margin: 8px 0;
    }

.proj-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    line-height: 1;
    opacity: .85;
    text-shadow: 0 12px 30px rgba(0,0,0,.55);
    transition: opacity .18s ease, transform .18s ease;
}

.proj-slider:hover .proj-arrow {
    opacity: 1;
}

.proj-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}


html[dir="ltr"] .proj-prev {
    left: 12px;
}

html[dir="ltr"] .proj-next {
    right: 12px;
}

html[dir="rtl"] .proj-prev {
    right: 12px;
    left: auto;
}

html[dir="rtl"] .proj-next {
    left: 12px;
    right: auto;
}

@media (max-width:900px) {
    .proj-slider {
        aspect-ratio: 4/3;
        min-height: 220px;
    }

    .proj-arrow {
        opacity: 1;
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    html[dir="ltr"] .proj-prev {
        left: 10px;
    }

    html[dir="ltr"] .proj-next {
        right: 10px;
    }

    html[dir="rtl"] .proj-prev {
        right: 10px;
        left: auto;
    }

    html[dir="rtl"] .proj-next {
        left: 10px;
        right: auto;
    }
}

/***********************/

.appr-view {
    --appr-scale: 1.30;
    display: grid;
    gap: calc(12px * var(--appr-scale));
    justify-items: center;
}

.appr-top {
    width: 100%;
    display: flex;
    justify-content: center;
}

.appr-title {
    font-weight: 700;
    color: var(--text);
    font-size: calc(22px * var(--appr-scale));
    line-height: 1.25;
}

.appr-stage {
    direction: ltr;
    display: inline-grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: calc(14px * var(--appr-scale));
}

.appr-nav {
    border: 0;
    background: transparent;
    color: #0f2a5f;
    font-size: calc(44px * var(--appr-scale));
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: calc(28px * var(--appr-scale));
    height: calc(56px * var(--appr-scale));
    display: grid;
    place-items: center;
    user-select: none;
}

    .appr-nav:hover {
        opacity: .85;
    }

    .appr-nav:disabled {
        opacity: .35;
        cursor: default;
    }

.appr-stage [data-cert-prev] {
    order: 3;
}

.appr-stage .appr-frame {
    order: 2;
}

.appr-stage [data-cert-next] {
    order: 1;
}

.appr-frame {
    background: #0f2a5f;
    border-radius: calc(18px * var(--appr-scale));
    padding: calc(12px * var(--appr-scale));
    display: grid;
    place-items: center;
    overflow: hidden;
    width: auto;
    height: auto;
    max-width: min(calc(1250px * var(--appr-scale)), calc(100vw - 120px));
    max-height: min(84vh, 1040px);
}

.appr-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 240px);
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transform-origin: 0 0;
    user-select: none;
    -webkit-user-drag: none;
}

.appr-frame.is-zoomed {
    overflow: auto;
    cursor: grab;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .appr-frame.is-zoomed::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .appr-frame.is-zoomed:active {
        cursor: grabbing;
    }

.appr-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
}

.appr-page {
    color: var(--muted);
    font-weight: 700;
    font-size: calc(15px * var(--appr-scale));
}

@media (max-width:640px) {
    .appr-view {
        --appr-scale: 1.05;
    }

    .appr-frame {
        max-width: calc(100vw - 110px);
        max-height: calc(100vh - 240px);
    }
}
.contactx-sub {
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 500;
    opacity: .92;
}

.aboutx-slab--contact .contactx-fields2 {
    width: clamp(340px, 32vw, 460px);
}

.aboutx-slab--contact .aboutx-box {
    max-width: none;
}

.aboutx-slab--contact .field {
    width: 100%;
}

.aboutx-slab--contact .contactx-input {
    width: 100%;
    max-width: none;
    display: block;
    box-sizing: border-box;
    padding: 14px 16px;
    background: #fff;
    color: #0b1220;
    border: 1px solid rgba(15,42,95,.18);
}

    .aboutx-slab--contact .contactx-input::placeholder {
        color: #6b7280;
        opacity: 1;
    }

.aboutx-slab--contact .contactx-actions {
    display: flex;
}

@media (max-width:900px) {
    .aboutx-slab--contact .contactx-fields2 {
        width: 100%;
    }
}

.toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 999999;
    min-width: 260px;
    max-width: 360px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15,42,95,.16);
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 40px rgba(0,0,0,.14);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    font-weight: 600;
    color: #0b1220;
}

    .toast.is-show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.toast--ok {
    border-color: rgba(22,163,74,.35);
}

.toast--err {
    border-color: rgba(220,38,38,.35);
}

.toast__msg {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

/* موبايل */
@media (max-width: 600px) {
    .toast {
        left: 12px;
        right: 12px;
        max-width: none;
        min-width: 0;
    }
}
