:root {
    --bg: #050505;
    --bg2: #0b0d10;
    --bg3: #11151c;

    --text: #f5f7fa;
    --muted: #9aa4b2;
    --soft: #d8dde6;

    --red: #ff1f1f;
    --red2: #d71920;
    --blue: #5b8cff;
    --cyan: #7fd6ff;

    --glass: rgba(255, 255, 255, .065);
    --glass2: rgba(255, 255, 255, .1);
    --border: rgba(255, 255, 255, .11);

    --shadow: 0 40px 120px rgba(0, 0, 0, .48);
    --blur: blur(22px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

body.light-mode {
    --bg: #f4f6fa;
    --bg2: #ffffff;
    --bg3: #edf0f5;
    --text: #111319;
    --muted: #5f6772;
    --soft: #232833;
    --glass: rgba(255, 255, 255, .76);
    --glass2: rgba(255, 255, 255, .9);
    --border: rgba(0, 0, 0, .09);
    --shadow: 0 30px 90px rgba(0, 0, 0, .11);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

button,
input,
select {
    font-family: inherit;
}

/* LOADER */

.site-loader {
    position: fixed;
    inset: 0;
    background: #050505;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .6s;
}

.site-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    border-top-color: var(--red);
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-logo {
    text-align: center;
}

.loader-logo span {
    color: var(--red);
    font-size: 42px;
    font-weight: 900;
}

.loader-logo p {
    font-size: 11px;
    letter-spacing: 3px;
    color: #aaa;
    margin-top: 8px;
}

/* BACKGROUND FX */

.noise-layer,
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .1;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
}

.cursor-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 31, 31, .18), transparent 70%);
    filter: blur(18px);
    z-index: 4;
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .22;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 360px;
    height: 360px;
    background: var(--red);
    left: -120px;
    top: 20%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--blue);
    right: -100px;
    top: 45%;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: var(--cyan);
    left: 40%;
    bottom: -130px;
}

/* HEADER */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(5, 5, 5, .54);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

body.light-mode .site-header {
    background: rgba(255, 255, 255, .78);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logos{
    display:flex;
    align-items:center;
    gap:14px;
}

.brand-logos img{
    height:48px;
    width:auto;
    object-fit:contain;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
}

.logo-3m{
    height:54px !important;
}

.logo-atlas{
    height:46px !important;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.desktop-nav a:hover {
    color: var(--text);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: .3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn,
.icon-btn,
.theme-toggle,
.menu-btn,
.primary-btn,
.glass-btn,
.ghost-btn {
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: .3s ease;
}

.lang-btn,
.icon-btn,
.theme-toggle,
.menu-btn {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: var(--blur);
}

.primary-btn {
    min-height: 54px;
    padding: 0 26px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red), var(--red2));
    color: #fff;
    box-shadow: 0 0 36px rgba(255, 31, 31, .34);
}

.glass-btn,
.ghost-btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: var(--blur);
}

.primary-btn:hover,
.glass-btn:hover,
.ghost-btn:hover,
.lang-btn:hover,
.icon-btn:hover,
.theme-toggle:hover {
    transform: translateY(-3px);
}

.menu-btn {
    display: none;
    position: relative;
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 4px auto;
    border-radius: 4px;
}

.mobile-menu {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 999;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
}

.mobile-center-btn,
.mobile-login {
    padding: 14px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--border);
}

.mobile-center-btn {
    background: var(--red);
    color: #fff;
}

/* MAIN */

.main-wrapper {
    position: relative;
    z-index: 2;
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    margin-bottom: 0 !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .18), rgba(0, 0, 0, .88)),
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2600&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .12), transparent 18%),
        radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .12), transparent 32%),
        linear-gradient(to bottom, transparent, rgba(0, 0, 0, .82));
}

.hero-smoke {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 70%, rgba(255, 255, 255, .06), transparent 28%),
        radial-gradient(circle at 70% 35%, rgba(91, 140, 255, .08), transparent 30%);
    filter: blur(30px);
    animation: smoke 12s ease-in-out infinite alternate;
}

@keyframes smoke {
    from {
        transform: translateX(-30px);
    }

    to {
        transform: translateX(30px);
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: particlesMove 18s linear infinite;
}

@keyframes particlesMove {
    to {
        transform: translateY(-130px);
    }
}

.hero-light {
    position: absolute;
    width: 220px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    filter: blur(24px);
    opacity: .28;
    animation: headPulse 2.5s ease-in-out infinite;
}

.light-one {
    left: 43%;
    top: 58%;
}

.light-two {
    left: 58%;
    top: 58%;
    animation-delay: .4s;
}

@keyframes headPulse {
    0%,
    100% {
        opacity: .18;
        filter: blur(18px);
    }

    45% {
        opacity: .95;
        filter: blur(34px);
    }

    65% {
        opacity: .35;
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1040px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    
    margin-bottom: 28px;
    color: var(--red);
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 1050px;
    font-size: clamp(52px, 7vw, 118px);
    line-height: .92;
    letter-spacing: -4px;
    margin-bottom: 28px;
}

.hero p {
    max-width: 740px;
    color: #d7dde6;
    font-size: 22px;
    line-height: 1.75;
    margin-bottom: 42px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-metrics {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 92%;
    margin: 600px auto 90px auto !important;

    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;

    border-radius: 28px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero-metrics div {
    padding: 26px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.hero-metrics strong {
    display: block;
    font-size: 38px;
    color: #fff;
    margin-bottom: 6px;
}

.hero-metrics span {
    color: #c4cbd6;
}

/* GENERAL SECTIONS */

.section {
    position: relative;
    padding: 125px 4vw;
    background: var(--bg);
}

.section:nth-of-type(even) {
    background: var(--bg2);
}

.section-head {
    max-width: 980px;
    margin: 0 auto 62px;
    text-align: center;
}

.section h2,
.final-cta h2 {
    font-size: clamp(38px, 5vw, 82px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-head p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.ecosystem-grid,
.services-grid,
.material-grid,
.dash-grid {
    display: grid;
    gap: 22px;
}

.ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
}

.eco-card,
.material-card,
.builder-ui,
.advisor-ui,
.verify-box,
.wallet-card,
.center-panel,
.timeline,
.dash-grid div {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 32px;
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow);
}

.eco-card span,
.service-content span,
.center-card span {
    color: var(--red);
    font-weight: 900;
    letter-spacing: 2px;
}

.eco-card h3,
.material-card h3 {
    font-size: 28px;
    margin: 18px 0 12px;
}

.eco-card p,
.material-card p {
    color: var(--muted);
    line-height: 1.8;
}

/* 3D CONFIGURATOR */

.configurator-shell {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 28px;
    align-items: stretch;
}

.vehicle-stage {
    position: relative;
    min-height: 680px;
    height: 680px;
    border-radius: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 31, 31, .16), transparent 32%),
        linear-gradient(135deg, #050505, #111722);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.vehicle-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 15%, rgba(255, 31, 31, .18), transparent 26%),
        radial-gradient(circle at 70% 35%, rgba(91, 140, 255, .13), transparent 30%);
    pointer-events: none;
    z-index: 1;
}

#car-configurator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 680px;
    overflow: hidden;
    z-index: 2;
}

#car-configurator canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.three-badge {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 5;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
}

.three-badge span {
    display: block;
    color: var(--red);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 900;
}

.three-badge strong {
    font-size: 14px;
}

.config-panel {
    padding: 32px;
    border-radius: 38px;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow);
}

.config-panel h3 {
    font-size: 34px;
    margin-bottom: 24px;
}

.config-panel label {
    display: block;
    margin: 22px 0 12px;
    color: var(--muted);
    font-weight: 900;
}

.swatches,
.button-row,
.package-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.swatch {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .25);
    cursor: pointer;
}

.swatch[data-color="red"] {
    background: #b90e17;
}

.swatch[data-color="black"] {
    background: #070707;
}

.swatch[data-color="white"] {
    background: #e7edf4;
}

.swatch[data-color="blue"] {
    background: #1b4cff;
}

.swatch.active {
    outline: 3px solid var(--red);
}

.config-btn,
.package-btn {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.package-btn.active,
.config-btn.active {
    background: var(--red);
    color: #fff;
}

.config-stats {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.config-stats div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
}

.studio-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* SIMULATOR */

.simulator {
    position: relative;
    height: 650px;
    overflow: hidden;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: #111;
    box-shadow: var(--shadow);
}

.sim-before,
.sim-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sim-after {
    position: absolute;
    inset: 0;
    width: 52%;
    overflow: hidden;
}

.sim-after::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 31, 31, .46), rgba(91, 140, 255, .2));
    mix-blend-mode: screen;
}

.sim-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 52%;
    width: 3px;
    background: #fff;
    z-index: 4;
    box-shadow: 0 0 30px #fff;
}

.sim-divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--red);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 44px rgba(255, 31, 31, .85);
}

#simRange {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: .001;
    cursor: ew-resize;
}

.sim-label {
    position: absolute;
    top: 28px;
    z-index: 6;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(12px);
    color: #fff;
    font-weight: 900;
}

.before-label {
    left: 28px;
}

.after-label {
    right: 28px;
}

/* SERVICES */

.services-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 34px;
    background: #111;
    box-shadow: var(--shadow);
}

.service-card img {
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .92), transparent 58%);
}

.service-content {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    padding: 30px;
}

.service-content h3 {
    font-size: 30px;
    margin: 14px 0;
}

.service-content p {
    color: #d7dde6;
    line-height: 1.7;
}

/* MAP */

.map-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 30px;
}

.saudi-map {
    position: relative;
    min-height: 650px;
    border-radius: 40px;
    background:
        radial-gradient(circle at center, rgba(255, 31, 31, .2), transparent 36%),
        linear-gradient(135deg, #050505, #101722);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.saudi-map h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 88px;
    opacity: .08;
}

.map-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(255, 31, 31, .34);
    stroke-width: 2;
    stroke-dasharray: 12 14;
    animation: dash 7s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -200;
    }
}

.pin {
    position: absolute;
    border: 0;
    color: #fff;
    background: var(--red);
    padding: 9px 13px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        0 0 0 14px rgba(255, 31, 31, .14),
        0 0 45px rgba(255, 31, 31, .72);
    animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
    50% {
        transform: scale(1.08);
    }
}

.riyadh {
    left: 56%;
    top: 48%;
}

.jeddah {
    left: 34%;
    top: 59%;
}

.dammam {
    left: 72%;
    top: 43%;
}

.khobar {
    left: 75%;
    top: 47%;
}

.madinah {
    left: 39%;
    top: 43%;
}

.makkah {
    left: 36%;
    top: 55%;
}

.abha {
    left: 42%;
    top: 73%;
}

.tabuk {
    left: 31%;
    top: 25%;
}

.center-panel input,
.center-panel select,
.advisor-ui input,
.advisor-ui select,
.verify-box input {
    width: 100%;
    height: 58px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, .25);
    color: var(--text);
    padding: 0 18px;
    margin-bottom: 14px;
}

body.light-mode .center-panel input,
body.light-mode .center-panel select,
body.light-mode .advisor-ui input,
body.light-mode .advisor-ui select,
body.light-mode .verify-box input {
    background: #fff;
}

.center-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
    margin-top: 14px;
    border: 1px solid var(--border);
}

.center-card h4 {
    font-size: 24px;
    margin: 8px 0;
}

.center-card p {
    color: var(--muted);
    line-height: 1.6;
}

.center-card div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.center-card a {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
}

/* ADVISOR / WARRANTY / BUILDER */

.advisor-ui {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.advisor-result {
    grid-column: 1 / -1;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 31, 31, .12);
    border: 1px solid rgba(255, 31, 31, .25);
}

.warranty-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.wallet-card {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 31, 31, .24), transparent 28%),
        linear-gradient(135deg, #101010, #210b0b);
    color: #fff;
}

.wallet-card span {
    color: #ff7777;
    font-weight: 900;
    letter-spacing: 2px;
}

.wallet-card h3 {
    font-size: 34px;
    margin: 16px 0;
}

.wallet-card p {
    color: #e1e5ec;
    margin: 8px 0;
}

.builder-ui {
    max-width: 900px;
    margin: auto;
}

.builder-ui label {
    display: block;
    padding: 18px;
    margin: 10px 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
    cursor: pointer;
}

.builder-ui input {
    accent-color: var(--red);
}

.builder-ui h3 {
    margin-top: 22px;
    font-size: 30px;
}

.material-grid {
    grid-template-columns: repeat(3, 1fr);
}

.dash-grid {
    grid-template-columns: repeat(4, 1fr);
}

.dash-grid strong {
    display: block;
    font-size: 26px;
    margin-bottom: 10px;
}

.dash-grid span {
    color: var(--muted);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.timeline div {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
    color: var(--muted);
    border: 1px solid var(--border);
}

.timeline .active {
    background: var(--red);
    color: #fff;
}

/* FINAL */

.final-cta {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 120px 4vw;
}

.final-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .25)),
        url("https://images.unsplash.com/photo-1494976388531-d1058494cdd8?q=80&w=2600&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
}

.final-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.final-content p {
    color: #d9dfe8;
    font-size: 20px;
    line-height: 1.8;
    margin: 24px 0 34px;
}

/* FOOTER */

.footer {
    position: relative;
    z-index: 2;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 46px 4vw;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-brand h3 {
    font-size: 24px;
}

.footer-brand p,
.footer-bottom p {
    color: var(--muted);
    margin-top: 6px;
}

.footer-links,
.footer-contact {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a,
.footer-contact a {
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--border);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

/* ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(56px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* RTL */

html[dir="rtl"] body {
    font-family: Tajawal, Arial, sans-serif;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section h2 {
    letter-spacing: 0;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .configurator-shell,
    .map-layout,
    .warranty-layout {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advisor-ui {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .ghost-btn,
    .site-header .primary-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding-top: 130px;
        display: block;
    }

    .hero-metrics {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;

        margin-top: 200px;
        grid-template-columns: 1fr;
    }

    .ecosystem-grid,
    .services-grid,
    .material-grid,
    .dash-grid,
    .advisor-ui,
    .timeline,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .vehicle-stage,
    #car-configurator,
    .simulator,
    .saudi-map {
        min-height: 430px;
        height: 430px;
    }

    .section {
        padding: 85px 18px;
    }

    .site-header {
        padding: 0 18px;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }
}
/* =========================
   FINAL PLATFORM EXTENSIONS
========================= */
.page-hero {
    position: relative;
    min-height: 58vh;
    padding: 150px 4vw 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 70% 25%, rgba(255,31,31,.18), transparent 30%), linear-gradient(135deg,#050505,#101722);
}
.compact-page { min-height: 52vh; }
.page-hero-content { position: relative; z-index: 3; max-width: 1050px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -3px; }
.page-hero p { color: var(--muted); font-size: 20px; line-height: 1.8; max-width: 820px; margin-top: 24px; }
.three-service-grid { grid-template-columns: repeat(3,1fr); }
.partner-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.partner-strip div { border:1px solid var(--border); background:var(--glass); border-radius:28px; padding:28px; font-weight:900; text-align:center; backdrop-filter:var(--blur); }
.real-map iframe { position:absolute; inset:0; width:100%; height:100%; border:0; filter: grayscale(1) invert(.9) contrast(.95); opacity:.35; }
body.light-mode .real-map iframe { filter: grayscale(.4); opacity:.55; }
.center-rating { display:flex !important; align-items:center; gap:8px; margin:12px 0 !important; color:#ffcc4d; }
.center-rating small { color:var(--muted); }
.center-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.full-palette .swatch { position:relative; }
.full-palette .swatch::after { content:""; position:absolute; inset:3px; border-radius:50%; border:1px solid rgba(255,255,255,.22); }
.auth-screen { min-height:100vh; padding:140px 4vw 80px; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 50% 20%, rgba(255,31,31,.16), transparent 32%), var(--bg); }
.auth-card { width:min(920px,100%); background:var(--glass); border:1px solid var(--border); border-radius:36px; padding:38px; box-shadow:var(--shadow); backdrop-filter:var(--blur); }
.auth-card h1 { font-size:clamp(34px,5vw,64px); line-height:1; margin-bottom:14px; }
.auth-card p { color:var(--muted); line-height:1.8; }
.auth-card input { width:100%; height:58px; border-radius:16px; border:1px solid var(--border); background:rgba(0,0,0,.24); color:var(--text); padding:0 18px; margin:10px 0; }
.auth-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:26px; }
.auth-option { padding:28px; border-radius:26px; border:1px solid var(--border); background:rgba(255,255,255,.055); transition:.35s; }
.auth-option:hover { transform:translateY(-6px); box-shadow:0 20px 60px rgba(255,31,31,.18); }
.auth-option i { font-size:34px; color:var(--red); margin-bottom:18px; }
.auth-option h3 { font-size:28px; margin-bottom:10px; }
.swatch.active { outline:3px solid var(--red); outline-offset:3px; }
model-viewer { position:relative; z-index:2; }
@media(max-width:900px){ .three-service-grid,.partner-strip,.auth-grid{grid-template-columns:1fr;} .page-hero h1{letter-spacing:-1px;} .page-hero{padding:130px 18px 70px;} }




/* =========================
   FINAL OLD HEADER FIX
========================= */

.site-header{
  height:86px !important;
  padding:0 3.2vw !important;
  gap:20px !important;
}

.brand{
  min-width:300px !important;
  gap:12px !important;
}

.brand-logo{
  width:54px !important;
  height:54px !important;
  flex-shrink:0 !important;
}

.brand strong{
  font-size:18px !important;
  line-height:1.05 !important;
}

.brand small{
  font-size:9px !important;
  letter-spacing:2.5px !important;
}

.desktop-nav{
  gap:22px !important;
  flex:1 !important;
  justify-content:center !important;
}

.desktop-nav a{
  font-size:13px !important;
  white-space:nowrap !important;
}

.header-actions{
  gap:8px !important;
  flex-shrink:0 !important;
}

.theme-toggle,
.lang-btn,
.icon-btn{
  width:44px !important;
  height:44px !important;
  min-height:44px !important;
  border-radius:14px !important;
}

.ghost-btn{
  height:44px !important;
  min-height:44px !important;
  padding:0 18px !important;
  border-radius:14px !important;
  font-size:13px !important;
  white-space:nowrap !important;
}

.primary-btn{
  height:46px !important;
  min-height:46px !important;
  padding:0 20px !important;
  border-radius:15px !important;
  font-size:13px !important;
  line-height:1.1 !important;
  white-space:normal !important;
  max-width:210px !important;
  text-align:center !important;
}

.hero{
  padding-top:135px !important;
}

@media(max-width:1300px){
  .brand{
    min-width:260px !important;
  }

  .desktop-nav{
    gap:16px !important;
  }

  .desktop-nav a{
    font-size:12px !important;
  }

  .primary-btn{
    max-width:185px !important;
    padding:0 16px !important;
    font-size:12px !important;
  }
}


/* =========================
   CENTER APPLICATION PAGE
========================= */

.apply-page{
  min-height:100vh;
  padding:150px 4vw 90px;
  background:
    radial-gradient(circle at 70% 10%, rgba(255,31,31,.18), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(91,140,255,.10), transparent 28%),
    var(--bg);
}

.apply-hero{
  max-width:1050px;
  margin:0 auto 42px;
  text-align:center;
}

.apply-hero h1{
  font-size:clamp(44px,7vw,96px);
  line-height:.95;
  letter-spacing:-3px;
  margin:18px 0 24px;
}

.apply-hero p{
  max-width:850px;
  margin:auto;
  color:var(--muted);
  font-size:19px;
  line-height:1.8;
}

.apply-form{
  max-width:1120px;
  margin:auto;
  padding:34px;
  border-radius:36px;
  background:var(--glass);
  border:1px solid var(--border);
  backdrop-filter:var(--blur);
  box-shadow:var(--shadow);
}

.form-section-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin:10px 0 22px;
}

.form-section-title span{
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

.form-section-title h2{
  font-size:28px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.apply-form input,
.apply-form textarea{
  width:100%;
  border:1px solid var(--border);
  background:rgba(0,0,0,.28);
  color:var(--text);
  border-radius:18px;
  padding:0 18px;
  font-size:15px;
  outline:none;
}

.apply-form input{
  height:58px;
}

.apply-form textarea{
  min-height:120px;
  padding-top:18px;
  resize:vertical;
  margin-top:16px;
}

.apply-form input:focus,
.apply-form textarea:focus{
  border-color:rgba(255,31,31,.55);
  box-shadow:0 0 0 4px rgba(255,31,31,.12);
}

.upload-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:16px;
}

.upload-grid label{
  display:block;
  padding:20px;
  border-radius:20px;
  background:rgba(255,255,255,.055);
  border:1px solid var(--border);
}

.upload-grid strong{
  display:block;
  margin-bottom:12px;
  color:var(--soft);
}

.upload-grid input{
  height:auto;
  padding:14px;
}

.apply-submit{
  margin-top:24px;
  width:100%;
}

@media(max-width:900px){
  .form-grid,
  .upload-grid{
    grid-template-columns:1fr;
  }

  .apply-form{
    padding:22px;
  }

  .apply-hero h1{
    letter-spacing:-1px;
  }
}


.form-error{
  padding:16px 18px;
  border-radius:16px;
  background:rgba(255,31,31,.14);
  border:1px solid rgba(255,31,31,.35);
  color:#fff;
  margin-bottom:20px;
  font-weight:800;
}

.auth-small-text{
  margin-top:18px;
  color:var(--muted);
  text-align:center;
}

.auth-small-text a{
  color:var(--red);
  font-weight:900;
}

/* =========================
   LOGIN PAGE
========================= */

.login-body{
  min-height:100vh;
  overflow:hidden;
  background:#050505;
  position:relative;
}

.login-background{
  position:fixed;
  inset:0;

  background:
    radial-gradient(circle at top left,
    rgba(255,31,31,.18),
    transparent 28%),

    radial-gradient(circle at bottom right,
    rgba(255,31,31,.14),
    transparent 32%),

    linear-gradient(
      135deg,
      #050505,
      #0b0d10
    );
}

.login-overlay{
  position:fixed;
  inset:0;

  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

  background-size:48px 48px;

  mask-image:
    linear-gradient(to bottom,
    black,
    transparent);
}

.login-wrapper{
  min-height:100vh;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:40px;

  position:relative;
  z-index:10;
}

.login-card{
  width:100%;
  max-width:520px;

  padding:42px;

  border-radius:32px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.03)
    );

  border:1px solid rgba(255,255,255,.08);

  backdrop-filter:blur(24px);

  box-shadow:
    0 20px 70px rgba(0,0,0,.45);

  position:relative;

  overflow:hidden;
}

.login-card::before{
  content:"";

  position:absolute;

  width:320px;
  height:320px;

  border-radius:50%;

  background:
    rgba(255,31,31,.14);

  top:-160px;
  right:-140px;

  filter:blur(60px);
}

.login-brand{
  display:flex;
  align-items:center;
  gap:16px;

  margin-bottom:42px;

  position:relative;
  z-index:2;
}

.login-brand-logo{
  width:64px;
  height:64px;

  border-radius:18px;

  background:#ff1f1f;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#fff;

  font-size:30px;
  font-weight:900;

  box-shadow:
    0 14px 34px rgba(255,31,31,.28);
}

.login-brand-copy{
  display:flex;
  flex-direction:column;
}

.login-brand-copy strong{
  color:#fff;

  font-size:22px;
  font-weight:800;
}

.login-brand-copy span{
  color:#98a2b3;

  font-size:11px;

  letter-spacing:3px;
}

.login-heading{
  margin-bottom:34px;

  position:relative;
  z-index:2;
}

.login-heading h1{
  color:#fff;

  font-size:42px;
  font-weight:900;

  margin-bottom:12px;
}

.login-heading p{
  color:#98a2b3;

  font-size:15px;
  line-height:1.7;
}

.login-form{
  position:relative;
  z-index:2;
}

.input-group{
  margin-bottom:22px;
}

.input-group label{
  display:block;

  margin-bottom:10px;

  color:#d3d8e2;

  font-size:14px;
  font-weight:700;
}

.input-shell{
  height:58px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.04);

  display:flex;
  align-items:center;

  padding:0 18px;

  transition:.35s ease;
}

.input-shell:focus-within{
  border-color:
    rgba(255,31,31,.45);

  box-shadow:
    0 0 0 4px rgba(255,31,31,.08);
}

.input-shell i{
  color:#8d98a8;

  margin-right:14px;
}

.input-shell input{
  flex:1;

  height:100%;

  background:transparent;
  border:none;
  outline:none;

  color:#fff;

  font-size:15px;
}

.input-shell input::placeholder{
  color:#707988;
}

.login-options{
  margin-bottom:26px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.remember-me{
  display:flex;
  align-items:center;
  gap:10px;

  color:#c8d0dc;

  font-size:13px;
}

.login-options a{
  color:#ff4d4d;

  font-size:13px;
  font-weight:700;
}

.login-btn{
  width:100%;
  height:58px;

  border:none;

  border-radius:18px;

  background:
    linear-gradient(
      135deg,
      #ff1f1f,
      #d71920
    );

  color:#fff;

  font-size:15px;
  font-weight:800;

  cursor:pointer;

  transition:.35s ease;

  box-shadow:
    0 18px 40px rgba(255,31,31,.24);
}

.login-btn:hover{
  transform:translateY(-3px);

  box-shadow:
    0 22px 50px rgba(255,31,31,.34);
}

.login-divider{
  margin:32px 0;

  display:flex;
  align-items:center;
  justify-content:center;

  position:relative;
}

.login-divider::before{
  content:"";

  position:absolute;

  left:0;
  right:0;

  height:1px;

  background:
    rgba(255,255,255,.08);
}

.login-divider span{
  position:relative;

  padding:0 18px;

  background:#111;

  color:#8f98a8;

  font-size:12px;
  font-weight:700;
}

.social-login{
  display:flex;
  flex-direction:column;
  gap:14px;

  position:relative;
  z-index:2;
}

.social-btn{
  height:56px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.04);

  color:#fff;

  font-size:14px;
  font-weight:700;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;

  cursor:pointer;

  transition:.35s ease;
}

.social-btn:hover{
  transform:translateY(-3px);

  border-color:
    rgba(255,31,31,.35);

  background:
    rgba(255,255,255,.07);
}

.login-footer{
  margin-top:30px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  color:#9ba3b2;

  font-size:14px;

  position:relative;
  z-index:2;
}

.login-footer a{
  color:#ff4d4d;

  font-weight:800;
}


/* =========================
   ENTERPRISE LOGIN PAGE
========================= */

.enterprise-login{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  background:#050505;
  position:relative;
  overflow:hidden;
}

.login-visual{
  position:relative;
  padding:48px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.35)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
}

.login-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,31,31,.28), transparent 30%),
    linear-gradient(to bottom, transparent, rgba(0,0,0,.85));
}

.login-logo,
.login-visual-content{
  position:relative;
  z-index:2;
}

.login-logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.login-logo span{
  width:62px;
  height:52px;
  border-radius:16px;
  background:#ff1f1f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  font-weight:900;
  box-shadow:0 18px 40px rgba(255,31,31,.35);
}

.login-logo strong{
  display:block;
  color:#fff;
  font-size:18px;
}

.login-logo small{
  display:block;
  color:#9aa4b2;
  font-size:11px;
  letter-spacing:3px;
  text-transform:uppercase;
  font-weight:900;
}

.login-visual-content{
  max-width:720px;
}

.login-visual-content span{
  color:#ff2b2b;
  font-size:13px;
  font-weight:900;
  letter-spacing:4px;
}

.login-visual-content h1{
  font-size:clamp(56px,7vw,110px);
  line-height:.9;
  letter-spacing:-4px;
  margin:20px 0 24px;
  color:#fff;
}

.login-visual-content p{
  max-width:620px;
  color:#d7dde6;
  font-size:21px;
  line-height:1.7;
}

.login-panel{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,31,31,.16), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(91,140,255,.12), transparent 30%),
    #070707;
}

.login-box{
  width:100%;
  max-width:520px;
  padding:42px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(28px);
  box-shadow:0 40px 120px rgba(0,0,0,.55);
}

.login-box h2{
  font-size:46px;
  color:#fff;
  margin:14px 0 10px;
  letter-spacing:-1px;
}

.login-box > p{
  color:#9aa4b2;
  margin-bottom:30px;
  line-height:1.7;
}

.login-box form label{
  display:block;
  color:#d8dde6;
  font-size:13px;
  font-weight:800;
  margin:16px 0 10px;
}

.login-box input[type="text"],
.login-box input[type="password"]{
  width:100%;
  height:60px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.32);
  color:#fff;
  padding:0 18px;
  outline:none;
  font-size:15px;
  transition:.3s ease;
}

.login-box input:focus{
  border-color:rgba(255,31,31,.55);
  box-shadow:0 0 0 4px rgba(255,31,31,.10);
}

.login-meta{
  margin:18px 0 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  color:#9aa4b2;
  font-size:13px;
}

.login-meta label{
  margin:0 !important;
  display:flex !important;
  align-items:center;
  gap:8px;
}

.login-meta a{
  color:#fff;
  font-weight:800;
}

.enterprise-login-btn{
  width:100%;
  height:62px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#ff1f1f,#d71920);
  color:#fff;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 18px 45px rgba(255,31,31,.32);
  transition:.3s ease;
}

.enterprise-login-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 60px rgba(255,31,31,.42);
}

.enterprise-divider{
  margin:30px 0 22px;
  display:flex;
  align-items:center;
  gap:14px;
  color:#7f8794;
  font-size:11px;
  font-weight:900;
  letter-spacing:2px;
}

.enterprise-divider::before,
.enterprise-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.10);
}

.enterprise-social{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.enterprise-social a{
  height:54px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  font-weight:900;
  transition:.3s ease;
}

.enterprise-social a:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.10);
}

.login-bottom{
  margin-top:26px;
  display:flex;
  justify-content:center;
  gap:8px;
  color:#9aa4b2;
}

.login-bottom a{
  color:#ff4b4b;
  font-weight:900;
}

.back-home{
  margin-top:18px;
  display:block;
  text-align:center;
  color:#d8dde6;
  font-weight:800;
}

@media(max-width:980px){
  .enterprise-login{
    grid-template-columns:1fr;
  }

  .login-visual{
    min-height:360px;
  }

  .login-panel{
    padding:28px;
  }
}

@media(max-width:560px){
  .login-box{
    padding:28px;
  }

  .enterprise-social{
    grid-template-columns:1fr;
  }

  .login-visual-content h1{
    letter-spacing:-2px;
  }
}

.password-field{
  position:relative;
}

.password-field input{
  padding-right:62px !important;
}

.password-field button{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border:none;
  background:none;
  color:#9aa4b2;
  cursor:pointer;
  font-size:18px;
  transition:.3s ease;
}

.password-field button:hover{
  color:#fff;
}

/* =========================
   CENTER EMPLOYEE REGISTER
========================= */

.center-employee-screen{
  padding-top:130px;
}

.center-employee-card{
  width:min(1080px,100%);
}

.center-employee-card > p{
  max-width:820px;
}

.center-employee-form{
  margin-top:28px;
}

.center-employee-grid select{
  width:100%;
  height:58px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.28);
  color:var(--text);
  border-radius:18px;
  padding:0 18px;
  font-size:15px;
  outline:none;
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9aa4b2 50%),
    linear-gradient(135deg, #9aa4b2 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 25px,
    calc(100% - 15px) 25px;
  background-size:7px 7px, 7px 7px;
  background-repeat:no-repeat;
}

.center-employee-grid select option{
  background:#111;
  color:#fff;
}

.password-field{
  position:relative;
}

.password-field input{
  padding-right:62px !important;
}

.password-toggle{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  color:#9aa4b2;
  cursor:pointer;
  font-size:17px;
}

.password-toggle:hover{
  color:#fff;
}

.form-success{
  padding:16px 18px;
  border-radius:16px;
  background:rgba(27,185,95,.14);
  border:1px solid rgba(27,185,95,.35);
  color:#9ff0bd;
  margin-bottom:20px;
  font-weight:800;
}

/* =========================
   ACTION BUTTONS
========================= */

.center-actions{
  margin-top:28px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.center-actions a{
  height:54px;
  padding:0 24px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:.3s ease;
  border:1px solid transparent;
}

/* =========================
   GLASS BUTTON
========================= */

.glass-btn{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10) !important;
  color:#fff;
  backdrop-filter:blur(12px);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.glass-btn:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.18) !important;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}

/* =========================
   GHOST BUTTON
========================= */

.ghost-btn{
  background:transparent;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#cfd6e4;
}

.ghost-btn:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.05);
  border-color:rgba(255,31,31,.30) !important;
  color:#fff;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .center-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .center-actions a{
    width:100%;
  }

}

.password-field{
  position:relative;
  width:100%;
}

.password-field input{
  padding-right:64px !important;
}

.password-toggle{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:none;
  background:transparent;
  color:#9aa4b2;
  cursor:pointer;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s ease;
  z-index:5;
}

.password-toggle:hover{
  color:#fff;
  background:rgba(255,255,255,.06);
}

/* =========================
   ATLAS ENTERPRISE DASHBOARD
========================= */



/* =========================
   ATLAS COMMAND CENTER V2
========================= */

/* =========================
   ATLAS COMMAND OS — FINAL
========================= */

.atlas-os{
  min-height:100vh;
  display:grid;
  grid-template-columns:292px minmax(0,1fr);
  background:
    radial-gradient(circle at 12% 10%, rgba(255,31,31,.16), transparent 28%),
    radial-gradient(circle at 86% 42%, rgba(70,120,255,.14), transparent 32%),
    linear-gradient(180deg,#050505,#08090d);
  color:#fff;
  overflow-x:hidden;
}

/* SIDEBAR */
.os-sidebar{
  min-height:100vh;
  padding:28px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border-right:1px solid rgba(255,255,255,.085);
  backdrop-filter:blur(28px);
  display:flex;
  flex-direction:column;
}

.os-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}

.os-brand span{
  width:58px;
  height:50px;
  border-radius:17px;
  background:#ff1f1f;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:900;
  box-shadow:0 18px 42px rgba(255,31,31,.38);
}

.os-brand strong{
  display:block;
  font-size:21px;
  color:#fff;
}

.os-brand small{
  display:block;
  color:#a8b0bf;
  font-size:10px;
  letter-spacing:2.6px;
  font-weight:900;
}

.os-user-card{
  padding:16px;
  border-radius:24px;
  display:flex;
  align-items:center;
  gap:13px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  margin-bottom:22px;
}

.os-avatar{
  width:50px;
  height:50px;
  border-radius:18px;
  background:linear-gradient(135deg,#ff1f1f,#ff6b6b);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

.os-user-card strong{
  display:block;
  color:#fff;
}

.os-user-card span{
  display:block;
  color:#9aa4b2;
  font-size:12px;
  margin-top:4px;
}

.os-nav{
  display:grid;
  gap:7px;
}

.os-nav a{
  min-height:48px;
  padding:0 13px;
  border-radius:17px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#b8c0cf;
  font-size:14px;
  font-weight:850;
  transition:.25s ease;
}

.os-nav a i{
  width:21px;
  color:#fff;
}

.os-nav a span{
  flex:1;
}

.os-nav a b{
  min-width:26px;
  height:26px;
  border-radius:999px;
  background:#ff1f1f;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  box-shadow:0 0 0 5px rgba(255,31,31,.14);
}

.os-nav a:hover,
.os-nav a.active{
  color:#fff;
  background:linear-gradient(135deg, rgba(255,31,31,.36), rgba(255,255,255,.06));
  box-shadow:0 14px 34px rgba(255,31,31,.16);
}

.os-sidebar-footer{
  margin-top:26px;
  display:flex;
  gap:10px;
}

.os-sidebar-footer button,
.os-sidebar-footer a{
  height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}

.os-sidebar-footer button{
  width:54px;
}

.os-sidebar-footer a{
  flex:1;
  background:#ff1f1f;
}

/* MAIN */
.os-main{
  padding:30px;
  min-width:0;
}

/* TOPBAR */
.os-topbar{
  min-height:78px;
  margin-bottom:24px;
  padding:14px 16px 14px 22px;
  border-radius:28px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(22px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.os-page-title span{
  color:#ff3333;
  letter-spacing:3px;
  font-size:11px;
  font-weight:900;
}

.os-page-title h1{
  font-size:28px;
  margin-top:5px;
  color:#fff;
}

.os-top-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.os-search{
  height:52px;
  width:360px;
  padding:0 16px;
  border-radius:18px;
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.10);
}

.os-search i{
  color:#9aa4b2;
}

.os-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
}

.os-search input::placeholder{
  color:#9aa4b2;
}

.os-icon-btn{
  width:52px;
  height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.34);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  position:relative;
  transition:.25s ease;
}

.os-icon-btn:hover{
  transform:translateY(-3px);
  background:rgba(255,31,31,.18);
  border-color:rgba(255,31,31,.30);
}

.os-has-badge span{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#ff1f1f;
  color:#fff;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 0 6px rgba(255,31,31,.15);
}

.os-profile-pill{
  height:52px;
  padding:6px 15px 6px 7px;
  border-radius:19px;
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.10);
}

.os-profile-pill div{
  width:40px;
  height:40px;
  border-radius:15px;
  background:linear-gradient(135deg,#ff1f1f,#ff6b6b);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

.os-profile-pill span{
  color:#fff;
  font-weight:850;
}

/* HERO */
.os-hero{
  min-height:390px;
  border-radius:42px;
  position:relative;
  overflow:hidden;
  padding:46px;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.38)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  box-shadow:0 34px 110px rgba(0,0,0,.55);
}

.os-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  top:-150px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:rgba(255,31,31,.24);
  filter:blur(85px);
}

.os-hero-content{
  position:relative;
  z-index:2;
  max-width:850px;
}

.os-hero-content span{
  color:#ff3333;
  letter-spacing:3px;
  font-size:12px;
  font-weight:900;
}

.os-hero-content h2{
  font-size:clamp(58px,6vw,96px);
  line-height:.92;
  letter-spacing:-3px;
  margin:18px 0;
}

.os-hero-content p{
  color:#d8dde6;
  font-size:18px;
  line-height:1.75;
  max-width:760px;
}

.os-hero-actions{
  display:flex;
  gap:12px;
  margin-top:30px;
  flex-wrap:wrap;
}

.os-primary-action,
.os-secondary-action{
  height:56px;
  padding:0 24px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:900;
}

.os-primary-action{
  background:#ff1f1f;
  color:#fff;
  box-shadow:0 18px 44px rgba(255,31,31,.38);
}

.os-secondary-action{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
}

.os-live-card{
  position:absolute;
  right:34px;
  bottom:34px;
  z-index:2;
  width:300px;
  padding:18px;
  border-radius:24px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.11);
  backdrop-filter:blur(20px);
}

.os-live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 8px rgba(34,197,94,.14);
  margin-bottom:14px;
}

.os-live-card strong{
  display:block;
  color:#fff;
  margin-bottom:7px;
}

.os-live-card span{
  color:#9aa4b2;
  font-size:13px;
}

/* KPIS */
.os-kpi-strip{
  margin-top:-25px;
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.os-kpi-card{
  min-height:176px;
  padding:25px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(24px);
  box-shadow:0 25px 80px rgba(0,0,0,.35);
  overflow:hidden;
  position:relative;
  transition:.25s ease;
}

.os-kpi-card:hover{
  transform:translateY(-7px);
  border-color:rgba(255,31,31,.26);
}

.os-kpi-card::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-90px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(255,31,31,.12);
  filter:blur(50px);
}

.os-kpi-card.blue::after{background:rgba(70,120,255,.18);}
.os-kpi-card.green::after{background:rgba(34,197,94,.16);}
.os-kpi-card.orange::after{background:rgba(255,149,0,.18);}
.os-kpi-card.purple::after{background:rgba(168,85,247,.18);}

.os-kpi-card i,
.os-kpi-card span,
.os-kpi-card strong,
.os-kpi-card small{
  position:relative;
  z-index:2;
}

.os-kpi-card i{
  width:46px;
  height:46px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ff3333;
  margin-bottom:18px;
}

.os-kpi-card span{
  display:block;
  color:#9aa4b2;
  font-weight:850;
}

.os-kpi-card strong{
  display:block;
  font-size:46px;
  margin:9px 0 7px;
}

.os-kpi-card small{
  color:#ff5757;
  font-weight:850;
}

/* GRID */
.os-grid{
  margin-top:24px;
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:20px;
}

.os-panel{
  padding:28px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(22px);
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}

.os-wide-panel{
  grid-row:span 3;
}

.os-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}

.os-panel-head span{
  color:#ff3333;
  letter-spacing:3px;
  font-size:12px;
  font-weight:900;
}

.os-panel-head h3{
  font-size:28px;
  margin-top:8px;
}

.os-panel-head small{
  color:#ff5757;
  font-weight:900;
}

.os-module-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.os-module-grid div{
  padding:22px;
  border-radius:22px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.07);
  transition:.25s ease;
}

.os-module-grid div:hover{
  transform:translateY(-6px);
  border-color:rgba(255,31,31,.28);
  background:rgba(255,31,31,.10);
}

.os-module-grid i{
  color:#ff3333;
  font-size:24px;
  margin-bottom:16px;
}

.os-module-grid strong,
.os-list strong{
  display:block;
  margin-bottom:7px;
}

.os-module-grid span,
.os-list span,
.os-timeline span{
  color:#9aa4b2;
  line-height:1.5;
  font-size:13px;
}

.os-list,
.os-timeline{
  display:grid;
  gap:12px;
}

.os-list div,
.os-timeline div{
  padding:18px;
  border-radius:20px;
  background:rgba(0,0,0,.26);
  border:1px solid rgba(255,255,255,.07);
}

.os-list div{
  display:grid;
  grid-template-columns:10px 1fr;
  column-gap:12px;
}

.os-list b{
  width:10px;
  height:10px;
  margin-top:6px;
  border-radius:50%;
  background:#ff1f1f;
  box-shadow:0 0 18px rgba(255,31,31,.8);
}

.os-list .warning b{background:#ff9500;}
.os-list .success b{background:#22c55e;}

.os-timeline time{
  color:#ff5757;
  font-weight:900;
  margin-right:12px;
}

/* RESPONSIVE */
@media(max-width:1200px){
  .atlas-os{
    grid-template-columns:1fr;
  }

  .os-sidebar{
    min-height:auto;
  }

  .os-topbar,
  .os-top-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .os-search{
    width:100%;
  }

  .os-hero{
    padding:32px;
  }

  .os-live-card{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:28px;
  }

  .os-kpi-strip,
  .os-grid,
  .os-module-grid{
    grid-template-columns:1fr;
  }
}

.os-search.is-focused{
  border-color:rgba(255,31,31,.35);
  box-shadow:0 0 0 5px rgba(255,31,31,.10);
}

.os-has-badge.is-pulsing{
  box-shadow:0 0 0 7px rgba(255,31,31,.13);
}

.os-main{
  padding:30px;
}

/* =========================
   PREMIUM COLLAPSE BUTTON
========================= */

/* =========================
   PREMIUM COLLAPSE BUTTON
========================= */

.os-brand-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:26px;
  width:100%;
}

.os-collapse-btn{
  width:54px;
  height:54px;
  min-width:54px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  backdrop-filter:blur(18px);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.28s ease;
}

.os-collapse-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,31,31,.25), transparent 48%);
}

.os-collapse-btn:hover{
  transform:translateY(-3px);
  border-color:rgba(255,31,31,.35);
  box-shadow:0 18px 38px rgba(255,31,31,.18);
}

.collapse-lines{
  width:22px;
  height:22px;
  position:relative;
  z-index:2;
}

.collapse-lines span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  border-radius:999px;
  background:#fff;
  transition:.28s ease;
}

.collapse-lines span:nth-child(1){
  top:4px;
}

.collapse-lines span:nth-child(2){
  top:10px;
  width:70%;
  left:auto;
  right:0;
}

.collapse-lines span:nth-child(3){
  top:16px;
}

.os-collapse-btn:hover .collapse-lines span:nth-child(2){
  width:100%;
}

/* =========================
   COLLAPSED MODE
========================= */

.atlas-os{
  transition:.32s ease;
}

.atlas-os.sidebar-collapsed{
  grid-template-columns:104px minmax(0,1fr);
}

.atlas-os.sidebar-collapsed .os-sidebar{
  align-items:center;
  padding-left:18px;
  padding-right:18px;
}

.atlas-os.sidebar-collapsed .os-brand-wrap{
  justify-content:center;
}

.atlas-os.sidebar-collapsed .os-brand{
  justify-content:center;
}

.atlas-os.sidebar-collapsed .os-brand-text,
.atlas-os.sidebar-collapsed .os-user-card div:last-child,
.atlas-os.sidebar-collapsed .os-nav a span,
.atlas-os.sidebar-collapsed .os-sidebar-footer a{
  display:none !important;
}

.atlas-os.sidebar-collapsed .os-user-card{
  width:64px;
  height:64px;
  padding:7px;
  justify-content:center;
}

.atlas-os.sidebar-collapsed .os-avatar{
  width:48px;
  height:48px;
}

.atlas-os.sidebar-collapsed .os-nav{
  width:100%;
  justify-items:center;
}

.atlas-os.sidebar-collapsed .os-nav a{
  width:58px;
  height:58px;
  min-height:58px;
  padding:0;
  justify-content:center;
  position:relative;
}

.atlas-os.sidebar-collapsed .os-nav a i{
  width:auto;
  font-size:17px;
}

.atlas-os.sidebar-collapsed .os-nav a b{
  position:absolute;
  top:5px;
  right:5px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  font-size:9px;
  display:flex !important;
  box-shadow:0 0 0 4px rgba(255,31,31,.14);
}

.atlas-os.sidebar-collapsed .os-sidebar-footer{
  width:100%;
  justify-content:center;
}

.atlas-os.sidebar-collapsed .os-sidebar-footer button{
  width:54px;
}

/* X Animation */

.atlas-os.sidebar-collapsed .collapse-lines span:nth-child(1){
  top:10px;
  transform:rotate(45deg);
}

.atlas-os.sidebar-collapsed .collapse-lines span:nth-child(2){
  opacity:0;
  transform:scaleX(0);
}

.atlas-os.sidebar-collapsed .collapse-lines span:nth-child(3){
  top:10px;
  transform:rotate(-45deg);
}

/* =========================
   FINAL SPACING FIXES
========================= */

.os-sidebar{
  position:sticky;
  top:0;
}

.os-main{
  padding:34px;
  min-width:0;
}

.os-hero{
  margin-top:6px;
}

.os-kpi-strip{
  margin-top:34px;
}


/* =========================
   GLOBAL SHARED
========================= */

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#ff2b2b;
    font-size:13px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.os-module-link{
    text-decoration:none;
    color:inherit;
}

/* =========================
   TICKETS PAGE
========================= */

.tickets-page{
    padding:0;
    min-height:100vh;
    color:#fff;
}

.tickets-hero{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:start;
    gap:34px;
    margin-bottom:28px;
    padding:38px;
    border-radius:32px;
    background:
        radial-gradient(circle at top right, rgba(255,31,31,.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0,132,255,.12), transparent 24%),
        linear-gradient(180deg, rgba(17,21,28,.98), rgba(6,9,13,.98));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:0 28px 90px rgba(0,0,0,.42);
}

.tickets-hero h1{
    font-size:clamp(42px,4.5vw,74px);
    font-weight:900;
    line-height:.96;
    margin:12px 0 18px;
    letter-spacing:-3px;
}

.tickets-hero p{
    max-width:760px;
    color:#9ca7b7;
    line-height:1.8;
    font-size:16px;
}

/* =========================
   KPI CARDS
========================= */

.tickets-kpis{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:26px;
}

.ticket-kpi{
    position:relative;
    overflow:hidden;
    min-height:148px;
    padding:26px;
    border-radius:24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 14px 40px rgba(0,0,0,.25);
    transition:.25s ease;
}

.ticket-kpi:hover{
    transform:translateY(-4px);
    border-color:rgba(255,255,255,.13);
}

.ticket-kpi span{
    display:block;
    color:#a6afbd;
    font-size:13px;
    font-weight:800;
    margin-bottom:12px;
}

.ticket-kpi strong{
    display:block;
    font-size:44px;
    line-height:1;
    font-weight:900;
    color:#fff;
    margin-bottom:10px;
}

.ticket-kpi small{
    color:#7f8998;
    font-weight:600;
}

.ticket-kpi.warning strong{ color:#ffcc33; }
.ticket-kpi.danger strong{ color:#ff4d4d; }
.ticket-kpi.success strong{ color:#26e878; }

/* =========================
   TOOLBAR
========================= */

.tickets-toolbar{
    display:flex;
    gap:14px;
    margin-bottom:22px;
    flex-wrap:wrap;
}

.ticket-search{
    flex:1;
    min-width:280px;
    height:56px;
    display:flex;
    align-items:center;
    gap:12px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:0 18px;
}

.ticket-search i{
    color:#8b95a5;
}

.ticket-search input{
    width:100%;
    height:54px;
    background:none;
    border:none;
    outline:none;
    color:#fff;
    font-size:15px;
}

.tickets-toolbar select{
    height:56px;
    min-width:170px;
    border:none;
    outline:none;
    border-radius:16px;
    padding:0 18px;
    background:rgba(255,255,255,.035);
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
}

/* =========================
   TABLES
========================= */

.tickets-table-wrap{
    width:100%;
    overflow:auto;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.07);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022));
    box-shadow:0 18px 58px rgba(0,0,0,.28);
}

.tickets-table{
    width:100%;
    border-collapse:collapse;
    min-width:1100px;
}

.tickets-table thead{
    background:rgba(255,255,255,.035);
}

.tickets-table th{
    text-align:left;
    padding:18px 22px;
    font-size:12px;
    color:#9ca7b7;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.tickets-table td{
    padding:18px 22px;
    border-top:1px solid rgba(255,255,255,.055);
    vertical-align:middle;
    color:#fff;
}

.tickets-table tbody tr{
    transition:.22s ease;
}

.tickets-table tbody tr:hover{
    background:rgba(255,255,255,.028);
}

.tickets-table td strong{
    display:block;
    margin-bottom:6px;
    font-size:15px;
    color:#fff;
}

.tickets-table td span{
    color:#9ca7b7;
    font-size:13px;
}

.empty-table{
    text-align:center;
    color:#8e98a7 !important;
    padding:44px !important;
}

/* =========================
   STATUS / PRIORITY
========================= */

.status-pill,
.priority-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:7px 13px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.04em;
    white-space:nowrap;
}

.status-new{ background:rgba(59,130,246,.15); color:#60a5fa; }
.status-assigned{ background:rgba(168,85,247,.15); color:#c084fc; }
.status-in_progress{ background:rgba(245,158,11,.15); color:#fbbf24; }
.status-quality_check{ background:rgba(14,165,233,.15); color:#38bdf8; }
.status-warranty_issued{ background:rgba(34,197,94,.15); color:#4ade80; }
.status-delivered{ background:rgba(16,185,129,.15); color:#34d399; }
.status-closed{ background:rgba(75,85,99,.25); color:#d1d5db; }
.status-overdue,
.status-pending{ background:rgba(239,68,68,.18); color:#f87171; }
.status-approved{ background:rgba(34,197,94,.15); color:#4ade80; }
.status-rejected{ background:rgba(75,85,99,.25); color:#d1d5db; }

.priority-low{ background:rgba(34,197,94,.12); color:#4ade80; }
.priority-medium{ background:rgba(245,158,11,.14); color:#fbbf24; }
.priority-high{ background:rgba(249,115,22,.15); color:#fb923c; }
.priority-critical{ background:rgba(239,68,68,.18); color:#f87171; }

/* =========================
   ACTION BUTTONS
========================= */

.table-action{
    min-height:38px;
    padding:0 15px;
    border-radius:11px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    text-decoration:none;
    background:#ff1f1f;
    border:1px solid rgba(255,31,31,.42);
    transition:.22s ease;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.table-action:hover{
    transform:translateY(-2px);
    background:#ff3838;
}

.table-action.dark{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.09);
}

.table-action.purple{
    background:rgba(139,92,246,.18);
    border:1px solid rgba(139,92,246,.30);
}

/* =========================
   TICKET DETAIL
========================= */

.ticket-detail-page{
    display:grid;
    gap:24px;
}

.ticket-detail-hero{
    padding:36px;
    border-radius:32px;
    background:
        radial-gradient(circle at top right, rgba(255,31,31,.18), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 24px 80px rgba(0,0,0,.32);
    display:flex;
    justify-content:space-between;
    gap:24px;
}

.ticket-detail-hero h1{
    font-size:clamp(36px,5vw,70px);
    line-height:.95;
    margin:12px 0 18px;
}

.ticket-detail-hero p{
    max-width:850px;
    color:#9aa4b2;
    line-height:1.8;
}

.ticket-detail-status{
    display:flex;
    gap:10px;
    align-items:flex-start;
    flex-wrap:wrap;
}

.ticket-detail-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.ticket-detail-panel{
    padding:24px;
    border-radius:26px;
    background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 18px 55px rgba(0,0,0,.22);
}

.ticket-detail-panel.wide{
    grid-column:span 4;
}

.ticket-panel-head{
    margin-bottom:18px;
}

.ticket-panel-head span{
    color:#ff3333;
    letter-spacing:3px;
    font-size:11px;
    font-weight:900;
}

.ticket-panel-head h3{
    font-size:24px;
    margin-top:8px;
}

.ticket-detail-panel p{
    color:#d8dde6;
    line-height:1.7;
}

.ticket-flow{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:10px;
}

.ticket-flow div{
    min-height:72px;
    border-radius:18px;
    padding:14px;
    background:rgba(0,0,0,.25);
    border:1px solid rgba(255,255,255,.08);
    color:#9aa4b2;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.ticket-flow div.active{
    color:#fff;
    background:rgba(255,31,31,.18);
    border-color:rgba(255,31,31,.36);
    box-shadow:0 14px 38px rgba(255,31,31,.16);
}

.ticket-timeline{
    display:grid;
    gap:12px;
}

.ticket-timeline div{
    padding:18px;
    border-radius:20px;
    background:rgba(0,0,0,.24);
    border:1px solid rgba(255,255,255,.07);
    display:grid;
    grid-template-columns:12px 1fr;
    column-gap:14px;
}

.ticket-timeline b{
    width:11px;
    height:11px;
    margin-top:6px;
    border-radius:50%;
    background:#ff1f1f;
    box-shadow:0 0 18px rgba(255,31,31,.8);
}

.ticket-timeline strong{
    display:block;
    color:#fff;
    margin-bottom:6px;
}

.ticket-timeline span{
    color:#9aa4b2;
    font-size:13px;
}

/* =========================
   TICKET ACTIONS
========================= */

.ticket-actions-bar{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.ticket-action-btn{
    height:52px;
    border:none;
    border-radius:16px;
    padding:0 20px;
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    font-weight:800;
    color:#fff;
    text-decoration:none;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    transition:.25s ease;
}

.ticket-action-btn:hover{
    transform:translateY(-3px);
    background:rgba(255,255,255,.12);
}

.ticket-action-btn.blue{ background:rgba(59,130,246,.18); border-color:rgba(59,130,246,.35); }
.ticket-action-btn.orange{ background:rgba(249,115,22,.18); border-color:rgba(249,115,22,.35); }
.ticket-action-btn.purple{ background:rgba(139,92,246,.18); border-color:rgba(139,92,246,.35); }
.ticket-action-btn.green{ background:rgba(34,197,94,.18); border-color:rgba(34,197,94,.35); }
.ticket-action-btn.danger{ background:rgba(255,31,31,.18); border-color:rgba(255,31,31,.35); }

/* =========================
   INVENTORY PAGE
========================= */

.inventory-page{
    display:flex;
    flex-direction:column;
    gap:26px;
    padding-bottom:40px;
}

.inventory-hero{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:start;
    gap:36px;
    padding:42px 42px 40px;
    border-radius:32px;
    background:
        radial-gradient(circle at top right, rgba(255,31,31,.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0,132,255,.14), transparent 26%),
        linear-gradient(180deg, rgba(17,21,28,.98), rgba(6,9,13,.98));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:0 28px 90px rgba(0,0,0,.42);
}

.inventory-hero::after{
    content:"";
    position:absolute;
    right:-120px;
    top:-120px;
    width:420px;
    height:420px;
    border-radius:50%;
    border:1px solid rgba(255,31,31,.18);
    box-shadow:
        0 0 0 40px rgba(255,31,31,.025),
        0 0 0 90px rgba(255,31,31,.018);
    pointer-events:none;
}

.inventory-hero h1{
    max-width:820px;
    margin:14px 0 18px;
    font-size:clamp(48px,4.4vw,76px);
    line-height:.95;
    letter-spacing:-3px;
    color:#fff;
}

.inventory-hero p{
    max-width:820px;
    color:#9ca7b7;
    line-height:1.85;
    font-size:16px;
}

.inventory-hero-actions{
    position:relative;
    z-index:2;
    display:flex;
    gap:14px;
    justify-content:flex-end;
    align-items:flex-start;
    flex-wrap:nowrap;
    padding-top:24px;
}

.inventory-hero-actions a,
.inventory-hero-actions button{
    min-width:180px;
    height:60px;
    border:none;
    border-radius:16px;
    padding:0 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    font-size:16px;
    font-weight:900;
    color:#fff;
    text-decoration:none;
    cursor:pointer;
    transition:.25s ease;
    white-space:nowrap;
}

.inventory-hero-actions .os-primary-action{
    background:linear-gradient(180deg, #ff3030, #ff1010);
    border:1px solid rgba(255,31,31,.45);
    box-shadow:0 16px 34px rgba(255,31,31,.25);
}

.inventory-hero-actions .os-secondary-action{
    background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    border:1px solid rgba(255,255,255,.09);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.inventory-hero-actions a:hover,
.inventory-hero-actions button:hover{
    transform:translateY(-4px);
}

/* =========================
   INVENTORY PANELS
========================= */

.inventory-table-panel{
    overflow:hidden;
    border-radius:26px;
    background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:0 18px 58px rgba(0,0,0,.28);
}

.os-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:26px 28px 18px;
}

.os-panel-head span{
    display:block;
    margin-bottom:7px;
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#ff4d4d;
    font-weight:900;
}

.os-panel-head h3{
    color:#fff;
    font-size:30px;
    line-height:1.1;
}

.os-panel-head small{
    color:#8f99aa;
    font-weight:800;
}

/* =========================
   LIST / ALERTS
========================= */

.os-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:0 24px 24px;
}

.os-list > div{
    min-height:74px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:17px 19px;
    border-radius:18px;
    background:rgba(0,0,0,.22);
    border:1px solid rgba(255,255,255,.06);
}

.os-list > div b{
    width:12px;
    height:12px;
    min-width:12px;
    border-radius:50%;
}

.os-list > div strong{
    display:block;
    margin-bottom:5px;
    color:#fff;
    font-size:15px;
}

.os-list > div span{
    display:block;
    color:#97a1b0;
    font-size:13px;
    line-height:1.6;
}

.os-list .critical b{
    background:#ff3b3b;
    box-shadow:0 0 14px #ff3b3b;
}

.os-list .success b{
    background:#00ff85;
    box-shadow:0 0 14px #00ff85;
}

/* =========================
   INVENTORY ACTIONS
========================= */

.inventory-actions{
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
}

/* =========================
   MODALS
========================= */

.inventory-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(14px);
}

.inventory-modal.active{
    display:flex;
}

.inventory-modal-box{
    width:min(620px,100%);
    padding:30px;
    border-radius:28px;
    background:
        radial-gradient(circle at top right, rgba(255,31,31,.14), transparent 32%),
        linear-gradient(180deg, rgba(20,22,28,.98), rgba(8,9,12,.99));
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 30px 120px rgba(0,0,0,.55);
}

.inventory-modal-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
}

.inventory-modal-head h3{
    font-size:30px;
    color:#fff;
}

.inventory-modal-head button{
    width:46px;
    height:46px;
    border:none;
    border-radius:14px;
    background:rgba(255,255,255,.06);
    color:#fff;
    cursor:pointer;
    transition:.25s ease;
}

.inventory-modal-head button:hover{
    transform:rotate(90deg);
    background:rgba(255,31,31,.20);
}

.inventory-form{
    display:grid;
    gap:16px;
}

.inventory-form input,
.inventory-form select,
.inventory-form textarea{
    width:100%;
    min-height:58px;
    padding:0 18px;
    border-radius:16px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    outline:none;
    transition:.25s ease;
}

.inventory-form textarea{
    min-height:120px;
    resize:vertical;
    padding:16px 18px;
}

.inventory-form input:focus,
.inventory-form select:focus,
.inventory-form textarea:focus{
    border-color:rgba(255,31,31,.35);
    box-shadow:0 0 0 4px rgba(255,31,31,.08);
}

.inventory-form input::placeholder,
.inventory-form textarea::placeholder{
    color:#7f8b9c;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1300px){
    .inventory-hero{
        grid-template-columns:1fr;
    }

    .inventory-hero-actions{
        padding-top:0;
        justify-content:flex-start;
        flex-wrap:wrap;
    }
}

@media(max-width:1200px){
    .tickets-kpis{
        grid-template-columns:repeat(2,1fr);
    }

    .ticket-detail-grid{
        grid-template-columns:1fr;
    }

    .ticket-detail-panel.wide{
        grid-column:span 1;
    }

    .ticket-flow{
        grid-template-columns:1fr;
    }

    .ticket-detail-hero{
        flex-direction:column;
    }
}

@media(max-width:900px){
    .tickets-hero{
        grid-template-columns:1fr;
    }

    .inventory-hero{
        padding:28px;
    }

    .inventory-hero-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr;
    }

    .inventory-hero-actions a,
    .inventory-hero-actions button{
        width:100%;
    }
}

@media(max-width:700px){
    .tickets-kpis{
        grid-template-columns:1fr;
    }

    .tickets-hero h1,
    .inventory-hero h1{
        font-size:38px;
        letter-spacing:-2px;
    }

    .os-panel-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .os-panel-head h3{
        font-size:26px;
    }

    .inventory-modal-box{
        padding:22px;
        border-radius:22px;
    }
}

/* =========================================
   QR DETAIL PAGE
========================================= */

.qr-code-box{
    display:flex;
    align-items:center;
    justify-content:center;

    padding:40px;

    border-radius:28px;

    background:
        radial-gradient(circle at top right,
        rgba(255,255,255,.04),
        transparent 34%),

        linear-gradient(
        180deg,
        rgba(255,255,255,.03),
        rgba(255,255,255,.015)
    );

    border:1px solid rgba(255,255,255,.06);

    min-height:420px;
}

.qr-code-box img{
    width:280px;
    height:280px;

    border-radius:24px;

    background:#fff;

    padding:18px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}

/* =========================================
   QR DETAIL INFO
========================================= */

.qr-info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.qr-info-card{
    padding:24px;

    border-radius:24px;

    background:
        linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );

    border:1px solid rgba(255,255,255,.06);

    box-shadow:
        0 18px 40px rgba(0,0,0,.24);
}

.qr-info-card span{
    display:block;

    margin-bottom:10px;

    color:#ff4d4d;

    font-size:12px;
    font-weight:900;

    letter-spacing:.18em;
    text-transform:uppercase;
}

.qr-info-card h3{
    margin:0 0 14px;

    color:#fff;

    font-size:24px;
}

.qr-info-card p{
    margin:0;

    color:#aab4c3;

    line-height:1.8;
}

/* =========================================
   QR VERIFY BOX
========================================= */

.qr-verify-box{
    padding:26px;

    border-radius:24px;

    background:
        linear-gradient(
        180deg,
        rgba(34,197,94,.10),
        rgba(34,197,94,.04)
    );

    border:1px solid rgba(34,197,94,.22);

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.qr-verify-box h3{
    margin:0 0 10px;

    color:#22e67a;

    font-size:24px;
}

.qr-verify-box p{
    margin:0;

    color:#b7c1cf;

    line-height:1.7;
}

.qr-verify-box i{
    font-size:54px;
    color:#22e67a;
}

/* =========================================
   MOVEMENT TIMELINE ENHANCE
========================================= */

.ticket-timeline div{
    transition:.25s ease;
}

.ticket-timeline div:hover{
    transform:translateY(-2px);

    border-color:rgba(255,255,255,.12);

    background:
        linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.025)
    );
}

/* =========================================
   QR ACTION BUTTONS
========================================= */

.ticket-actions-bar .ticket-action-btn{
    min-width:180px;
    justify-content:center;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1100px){

    .qr-info-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:700px){

    .qr-code-box{
        padding:24px;
        min-height:auto;
    }

    .qr-code-box img{
        width:220px;
        height:220px;
    }

    .qr-verify-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .ticket-actions-bar{
        width:100%;
    }

    .ticket-actions-bar .ticket-action-btn{
        width:100%;
    }

}

/* =========================================
   HERO BADGE
========================================= */

.inventory-hero-actions a,
.inventory-hero-actions button{
    position:relative;
}

.hero-badge{
    position:absolute;
    top:-8px;
    right:-8px;

    min-width:24px;
    height:24px;

    padding:0 7px;

    border-radius:999px;

    background:#ff1f1f;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:11px;
    font-weight:900;

    box-shadow:
        0 0 18px rgba(255,31,31,.6);
}

/* FIX INVENTORY HERO BUTTONS OVERFLOW */

.inventory-hero{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(420px, 760px) !important;
  align-items:start !important;
}

.inventory-hero-actions{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(180px, 1fr)) !important;
  gap:14px !important;
  width:100% !important;
  max-width:760px !important;
  justify-self:end !important;
}

.inventory-hero-actions a,
.inventory-hero-actions button{
  width:100% !important;
  min-width:0 !important;
  height:64px !important;
  white-space:nowrap !important;
}

@media(max-width:1300px){
  .inventory-hero{
    grid-template-columns:1fr !important;
  }

  .inventory-hero-actions{
    justify-self:start !important;
    max-width:100% !important;
  }
}

@media(max-width:700px){
  .inventory-hero-actions{
    grid-template-columns:1fr !important;
  }
}


.inventory-overview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.inventory-overview-card{
  min-height:320px;
}

.inventory-action-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:0 24px 24px;
}

.inventory-action-grid a{
  min-height:130px;
  padding:22px;
  border-radius:20px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.07);
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  transition:.25s ease;
}

.inventory-action-grid a:hover{
  transform:translateY(-4px);
  border-color:rgba(255,31,45,.35);
  background:rgba(255,31,45,.08);
}

.inventory-action-grid i{
  color:#ff1f2d;
  font-size:24px;
}

.inventory-action-grid strong{
  font-size:18px;
}

.inventory-action-grid span{
  color:#9ca3af;
  font-size:13px;
}

.mini-table{
  display:grid;
  gap:12px;
  padding:0 24px 24px;
}

.mini-row{
  min-height:74px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.mini-row strong{
  display:block;
  color:#fff;
  margin-bottom:5px;
}

.mini-row span{
  color:#9ca3af;
  font-size:13px;
}

.mini-empty{
  padding:28px;
  border-radius:18px;
  text-align:center;
  color:#9ca3af;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
}

@media(max-width:1100px){
  .inventory-overview-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .inventory-action-grid{
    grid-template-columns:1fr;
  }

  .mini-row{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================================
   ATLAS INVENTORY COMMAND CENTER
========================================= */

.inventory-command{
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* HERO */

.inv-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,620px);
  gap:34px;
  padding:38px;
  border-radius:34px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255,31,45,.22), transparent 28%),
    radial-gradient(circle at 12% 100%, rgba(59,130,246,.12), transparent 30%),
    linear-gradient(180deg, rgba(18,24,33,.98), rgba(6,8,12,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 28px 85px rgba(0,0,0,.42);
}

.inv-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.025), transparent);
  pointer-events:none;
}

.inv-hero-content{
  position:relative;
  z-index:2;
}

.inv-hero h1{
  margin:14px 0 18px;
  max-width:820px;
  color:#fff;
  font-size:clamp(44px,4.7vw,78px);
  line-height:.94;
  letter-spacing:-3px;
}

.inv-hero p{
  max-width:760px;
  color:#a5afbf;
  font-size:16px;
  line-height:1.85;
}

.inv-hero-actions{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  align-content:start;
}

.inv-action{
  min-height:72px;
  padding:0 22px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-weight:900;
  cursor:pointer;
  transition:.25s ease;
}

.inv-action:hover{
  transform:translateY(-4px);
  border-color:rgba(255,31,45,.35);
  background:rgba(255,31,45,.12);
}

.inv-action.primary{
  background:linear-gradient(180deg,#ff3642,#ff111f);
  border-color:rgba(255,31,45,.45);
  box-shadow:0 18px 40px rgba(255,31,45,.28);
}

/* TOP COMMAND GRID */

.inv-command-grid{
  display:grid;
  grid-template-columns:1.55fr .75fr .75fr;
  gap:20px;
}

.inv-health-card{
  grid-row:span 2;
  position:relative;
  overflow:hidden;
  min-height:360px;
  padding:32px;
  border-radius:30px;
  background:
    radial-gradient(circle at top right, rgba(255,31,45,.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}

.inv-widget-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.inv-widget-head span,
.inv-small-card span,
.inv-panel-head span{
  color:#ff4d57;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.live-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#22e67a;
  box-shadow:0 0 18px #22e67a;
  animation:invPulse 1.8s infinite;
}

@keyframes invPulse{
  0%{transform:scale(1);opacity:1;}
  50%{transform:scale(1.35);opacity:.55;}
  100%{transform:scale(1);opacity:1;}
}

.inv-health-main{
  margin-top:30px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:24px;
  align-items:center;
}

.inv-health-main > strong{
  color:#fff;
  font-size:92px;
  line-height:1;
  letter-spacing:-5px;
}

.inv-health-main h3{
  margin:0 0 10px;
  color:#fff;
  font-size:34px;
}

.inv-health-main p{
  color:#a5afbf;
  line-height:1.8;
}

.inv-health-bar{
  height:12px;
  margin:30px 0;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  overflow:hidden;
}

.inv-health-bar div{
  width:98%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#ff1f2d,#ff7474);
  box-shadow:0 0 26px rgba(255,31,45,.45);
}

.inv-mini-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.inv-mini-stats div{
  padding:18px;
  border-radius:18px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.06);
}

.inv-mini-stats strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
  font-size:28px;
}

.inv-mini-stats span{
  color:#98a3b4;
  font-size:13px;
}

.inv-side-stack{
  display:grid;
  gap:20px;
}

.inv-small-card{
  min-height:170px;
  padding:26px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 22px 60px rgba(0,0,0,.30);
}

.inv-small-card strong{
  display:block;
  margin:18px 0 8px;
  color:#fff;
  font-size:52px;
  line-height:1;
}

.inv-small-card p{
  color:#9ca3af;
  line-height:1.7;
}

.inv-small-card.alert{
  box-shadow:0 22px 70px rgba(255,31,45,.09);
}

.inv-small-card.approval{
  box-shadow:0 22px 70px rgba(245,158,11,.08);
}

.inv-small-card.qr{
  box-shadow:0 22px 70px rgba(59,130,246,.09);
}

.inv-small-card.stock{
  box-shadow:0 22px 70px rgba(34,197,94,.09);
}

/* LOWER LAYOUT */

.inv-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.inv-panel{
  overflow:hidden;
  min-height:330px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 62px rgba(0,0,0,.30);
}

.inv-panel-head{
  padding:24px 26px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid rgba(255,255,255,.045);
}

.inv-panel-head h3{
  margin:8px 0 0;
  color:#fff;
  font-size:28px;
}

.inv-panel-head small{
  color:#9ca3af;
}

/* OPERATION GRID */

.inv-operation-grid{
  padding:22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.inv-operation-grid a{
  min-height:132px;
  padding:22px;
  border-radius:20px;
  background:rgba(0,0,0,.23);
  border:1px solid rgba(255,255,255,.07);
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  transition:.25s ease;
}

.inv-operation-grid a:hover{
  transform:translateY(-4px);
  border-color:rgba(255,31,45,.38);
  background:rgba(255,31,45,.09);
}

.inv-operation-grid i{
  color:#ff1f2d;
  font-size:25px;
}

.inv-operation-grid strong{
  color:#fff;
  font-size:18px;
}

.inv-operation-grid span{
  color:#9ca3af;
  font-size:13px;
  line-height:1.5;
}

/* ALERT LIST */

.inv-alert-list{
  display:grid;
  gap:12px;
  padding:22px;
}

.inv-alert-list > div{
  min-height:74px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(0,0,0,.23);
  border:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  gap:14px;
}

.inv-alert-list b{
  width:11px;
  height:11px;
  min-width:11px;
  border-radius:50%;
}

.inv-alert-list .danger b{
  background:#ff3b3b;
  box-shadow:0 0 14px #ff3b3b;
}

.inv-alert-list .success b{
  background:#22e67a;
  box-shadow:0 0 14px #22e67a;
}

.inv-alert-list strong{
  display:block;
  margin-bottom:4px;
  color:#fff;
}

.inv-alert-list span{
  color:#9ca3af;
  font-size:13px;
}

/* MINI TABLE */

.inv-mini-table{
  display:grid;
  gap:12px;
  padding:22px;
}

.inv-row{
  min-height:74px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(0,0,0,.23);
  border:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.inv-row strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
}

.inv-row span{
  color:#9ca3af;
  font-size:13px;
}

.inv-empty{
  padding:30px;
  border-radius:18px;
  text-align:center;
  color:#9ca3af;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.06);
}

/* MODAL FIX */

.inventory-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(14px);
}

.inventory-modal.active{
  display:flex;
}

.inventory-modal-box{
  width:min(620px,100%);
  padding:30px;
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(255,31,45,.14), transparent 32%),
    linear-gradient(180deg, rgba(20,22,28,.98), rgba(8,9,12,.99));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 120px rgba(0,0,0,.55);
}

.inventory-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}

.inventory-modal-head h3{
  margin:0;
  color:#fff;
  font-size:30px;
}

.inventory-modal-head button{
  width:46px;
  height:46px;
  border:0;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}

.inventory-form{
  display:grid;
  gap:16px;
}

.inventory-form input,
.inventory-form select,
.inventory-form textarea{
  width:100%;
  min-height:58px;
  padding:0 18px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  outline:0;
}

.inventory-form textarea{
  min-height:120px;
  resize:vertical;
  padding:16px 18px;
}

/* RESPONSIVE */

@media(max-width:1400px){
  .inv-command-grid{
    grid-template-columns:1fr 1fr;
  }

  .inv-health-card{
    grid-column:span 2;
    grid-row:auto;
  }
}

@media(max-width:1100px){
  .inv-hero{
    grid-template-columns:1fr;
  }

  .inv-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .inv-hero{
    padding:26px;
  }

  .inv-hero-actions,
  .inv-operation-grid,
  .inv-mini-stats{
    grid-template-columns:1fr;
  }

  .inv-command-grid{
    grid-template-columns:1fr;
  }

  .inv-health-card{
    grid-column:span 1;
  }

  .inv-health-main{
    grid-template-columns:1fr;
  }

  .inv-health-main > strong{
    font-size:64px;
  }

  .inv-row{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================================
   REPRESENTATIVE TRANSFERS PAGE
========================================= */

.inv-panel .inventory-form{
  padding:22px;
}

.inv-panel .inventory-form select,
.inv-panel .inventory-form input{
  height:60px;
  border-radius:18px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  padding:0 18px;
}

.inv-panel .inventory-form select:focus,
.inv-panel .inventory-form input:focus{
  border-color:rgba(255,31,45,.45);
  box-shadow:0 0 0 4px rgba(255,31,45,.09);
}

.inv-panel .inventory-form button{
  min-height:60px;
  cursor:pointer;
}

.inv-panel .inventory-form option{
  background:#0b1016;
  color:#fff;
}

/* Assignment table improvements */

.tickets-table td:nth-child(4){
  font-family:monospace;
  font-size:12px;
  color:#cbd5e1;
}

.tickets-table td:nth-child(5){
  font-weight:800;
}

.tickets-table td:nth-child(6){
  color:#9ca3af;
}

/* Flow rules panel */

.inv-alert-list .success{
  background:
    linear-gradient(
      180deg,
      rgba(34,197,94,.08),
      rgba(34,197,94,.025)
    );
  border-color:rgba(34,197,94,.18);
}

.inv-alert-list .success strong{
  color:#fff;
}

.inv-alert-list .success span{
  color:#a7b3c4;
}

/* Representative page action buttons */

.inv-hero-actions .inv-action{
  cursor:pointer;
}

.inv-hero-actions .inv-action:hover{
  transform:translateY(-4px);
}

/* Mobile */

@media(max-width:900px){
  .inv-layout{
    grid-template-columns:1fr;
  }

  .tickets-table{
    min-width:1100px;
  }
}

@media(max-width:600px){
  .inv-panel .inventory-form{
    padding:16px;
  }

  .inv-panel .inventory-form select,
  .inv-panel .inventory-form input{
    height:56px;
  }
}

/* =========================================
   REPRESENTATIVES PAGE
========================================= */

.serial-cell{
  font-family:monospace;
  font-size:12px;
  color:#dbe4f0;
  letter-spacing:.03em;
}

.tickets-table td{
  vertical-align:middle;
}

.tickets-table td:nth-child(1){
  font-weight:800;
  color:#fff;
}

.tickets-table td:nth-child(5){
  min-width:140px;
}

.inv-small-card.alert strong{
  color:#22e67a;
  letter-spacing:.08em;
}

.inv-small-card.stock strong{
  color:#5b8cff;
}

.inv-small-card.approval strong{
  color:#ffcc66;
}

.inv-health-card .inv-health-bar div{
  background:
    linear-gradient(
      90deg,
      #ff2d2d,
      #ff6b6b
    );
}

@media(max-width:900px){

  .tickets-table{
    min-width:1200px;
  }

}

@media(max-width:600px){

  .serial-cell{
    font-size:11px;
  }

}

/* =========================================
   CENTERS COMMAND CENTER
========================================= */

.table-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.table-user-avatar{
    width:48px;
    height:48px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#ff1f2d,#ff6b6b);
    color:#fff;
    font-weight:800;
    font-size:18px;
    box-shadow:0 12px 30px rgba(255,31,45,.25);
}

.table-user strong{
    display:block;
    color:#fff;
    font-size:15px;
    margin-bottom:4px;
}

.table-user span{
    color:#8e98ab;
    font-size:12px;
}

.inventory-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.table-action{
    min-width:92px;
    height:40px;
    padding:0 16px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#ff1f2d,#ff4d5d);
    border:1px solid rgba(255,255,255,.08);
    transition:.25s ease;
}

.table-action:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(255,31,45,.25);
}

.table-action.dark{
    background:rgba(255,255,255,.06);
    color:#c9d1dc;
}

.table-action.dark:hover{
    background:rgba(255,255,255,.12);
}

.status-pill{
    height:34px;
    padding:0 14px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:800;
    letter-spacing:.04em;
    border:1px solid transparent;
}

.status-approved{
    color:#57ffb2;
    background:rgba(45,255,155,.12);
    border-color:rgba(45,255,155,.18);
}

.status-pending{
    color:#ffd86b;
    background:rgba(255,216,107,.12);
    border-color:rgba(255,216,107,.18);
}

.status-rejected{
    color:#ff7070;
    background:rgba(255,112,112,.12);
    border-color:rgba(255,112,112,.18);
}

.empty-table{
    text-align:center;
    padding:40px !important;
    color:#8e98ab;
}

.tickets-table td{
    vertical-align:middle;
}

.tickets-table td strong{
    display:block;
    margin-bottom:4px;
}

.tickets-table td span{
    font-size:12px;
    color:#8f99ab;
}

.inv-panel{
    overflow:hidden;
}

.inv-panel .tickets-table-wrap{
    overflow:auto;
}

.inv-panel table{
    min-width:1100px;
}

.inv-mini-table{
    display:grid;
    gap:14px;
}

.inv-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px 20px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
}

.inv-row strong{
    display:block;
    color:#fff;
    margin-bottom:4px;
}

.inv-row span{
    color:#8f99ab;
    font-size:13px;
}

.inv-empty{
    padding:32px;
    border-radius:18px;
    text-align:center;
    background:rgba(255,255,255,.03);
    border:1px dashed rgba(255,255,255,.08);
    color:#8f99ab;
}

@media(max-width:1100px){

    .inv-panel table{
        min-width:1000px;
    }

}

@media(max-width:768px){

    .table-user{
        min-width:220px;
    }

    .inventory-actions{
        flex-direction:column;
        align-items:flex-start;
    }

    .table-action{
        width:100%;
    }

    .inv-row{
        flex-direction:column;
        align-items:flex-start;
    }

}


/* =========================================
   NOTIFICATION BELL DROPDOWN
========================================= */

.os-notification-wrap{
  position:relative;
}

.os-notification-dropdown{
  position:absolute;
  top:58px;
  right:0;
  width:390px;
  max-height:520px;
  overflow:hidden;
  display:none;
  z-index:99999;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,31,45,.16), transparent 32%),
    linear-gradient(180deg, rgba(18,24,33,.98), rgba(6,8,12,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}

.os-notification-dropdown.active{
  display:block;
}

.os-notification-head{
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.os-notification-head strong{
  color:#fff;
  font-size:17px;
}

.os-notification-head small{
  color:#9ca3af;
}

.os-notification-list{
  max-height:430px;
  overflow:auto;
  padding:12px;
}

.os-notification-item{
  display:flex;
  gap:14px;
  padding:14px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  border:1px solid transparent;
  transition:.22s ease;
}

.os-notification-item:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.08);
}

.os-notification-item.unread{
  background:rgba(255,31,45,.08);
  border-color:rgba(255,31,45,.14);
}

.os-notification-icon{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,31,45,.15);
  color:#ff4d57;
}

.os-notification-content strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:14px;
}

.os-notification-content p{
  margin:0 0 6px;
  color:#a5afbf;
  font-size:13px;
  line-height:1.5;
}

.os-notification-content span{
  color:#6f7a8b;
  font-size:12px;
}

.os-notification-empty{
  padding:34px;
  text-align:center;
  color:#9ca3af;
}

@media(max-width:600px){
  .os-notification-dropdown{
    right:-80px;
    width:330px;
  }
}

/* =========================================
   CENTER DASHBOARD
========================================= */

.center-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.center-widget{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    padding:26px;
    background:
        radial-gradient(circle at top right, rgba(255,31,45,.12), transparent 35%),
        linear-gradient(180deg, rgba(20,25,34,.96), rgba(10,13,19,.96));
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 24px 60px rgba(0,0,0,.35);
}

.center-widget::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, transparent, rgba(255,255,255,.03));
    pointer-events:none;
}

.center-widget span{
    display:block;
    color:#8f99ab;
    font-size:12px;
    letter-spacing:.12em;
    margin-bottom:14px;
}

.center-widget strong{
    display:block;
    color:#fff;
    font-size:42px;
    line-height:1;
    margin-bottom:10px;
    font-weight:900;
}

.center-widget p{
    color:#9ca7b7;
    line-height:1.7;
    font-size:14px;
}

.center-widget.qr{
    border-color:rgba(255,31,45,.15);
}

.center-widget.stock{
    border-color:rgba(75,192,255,.14);
}

.center-widget.approval{
    border-color:rgba(255,209,102,.14);
}

.center-widget.alert{
    border-color:rgba(255,120,120,.14);
}

.center-live-badge{
    position:absolute;
    top:22px;
    right:22px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#2dff9b;
    box-shadow:0 0 20px rgba(45,255,155,.7);
}

.center-dashboard-layout{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:24px;
    margin-top:24px;
}

.center-dashboard-panel{
    position:relative;
    overflow:hidden;
    border-radius:30px;
    background:
        linear-gradient(180deg, rgba(18,22,31,.98), rgba(8,10,14,.98));
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 24px 70px rgba(0,0,0,.35);
}

.center-dashboard-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:26px 28px;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.center-dashboard-head span{
    display:block;
    color:#8f99ab;
    font-size:12px;
    letter-spacing:.12em;
    margin-bottom:6px;
}

.center-dashboard-head h3{
    color:#fff;
    font-size:22px;
    margin:0;
}

.center-dashboard-head small{
    color:#7f8a9d;
}

.center-dashboard-content{
    padding:26px;
}

.center-module-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.center-module-grid a{
    position:relative;
    overflow:hidden;
    min-height:180px;
    border-radius:24px;
    padding:24px;
    text-decoration:none;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
    transition:.25s ease;
}

.center-module-grid a:hover{
    transform:translateY(-4px);
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.1);
}

.center-module-grid i{
    width:58px;
    height:58px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    font-size:22px;
    background:rgba(255,31,45,.12);
    color:#ff4d5d;
}

.center-module-grid strong{
    display:block;
    color:#fff;
    font-size:18px;
    margin-bottom:10px;
}

.center-module-grid span{
    color:#8f99ab;
    line-height:1.7;
    font-size:14px;
}

.center-activity-list{
    display:grid;
    gap:14px;
}

.center-activity-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 20px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
}

.center-activity-item strong{
    display:block;
    color:#fff;
    margin-bottom:6px;
}

.center-activity-item span{
    color:#8f99ab;
    font-size:13px;
}

.center-activity-state{
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    background:rgba(45,255,155,.12);
    color:#57ffb2;
}

@media(max-width:1200px){

    .center-dashboard-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .center-dashboard-layout{
        grid-template-columns:1fr;
    }

    .center-module-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .center-dashboard-grid{
        grid-template-columns:1fr;
    }

    .center-module-grid{
        grid-template-columns:1fr;
    }

    .center-dashboard-head{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .center-widget strong{
        font-size:34px;
    }

}

/* =========================================
   CENTER QR REGISTRY
========================================= */

.inventory-search-wrap{
    padding:0 26px 24px;
}

.inventory-search{
    width:100%;
    max-width:460px;
}

.serial-cell{
    font-family:"Consolas","Courier New",monospace;
    font-size:13px;
    font-weight:700;
    color:#57c7ff;
    letter-spacing:.04em;
    max-width:280px;
    word-break:break-word;
}

.qr-registry-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.qr-registry-card{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    padding:26px;
    background:
        radial-gradient(circle at top right, rgba(255,31,45,.14), transparent 35%),
        linear-gradient(180deg, rgba(18,24,33,.98), rgba(8,10,14,.98));
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 24px 70px rgba(0,0,0,.35);
}

.qr-registry-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, transparent, rgba(255,255,255,.03));
    pointer-events:none;
}

.qr-registry-card span{
    display:block;
    color:#8f99ab;
    font-size:12px;
    letter-spacing:.12em;
    margin-bottom:14px;
}

.qr-registry-card strong{
    display:block;
    color:#fff;
    font-size:42px;
    line-height:1;
    margin-bottom:10px;
    font-weight:900;
}

.qr-registry-card p{
    color:#9aa5b5;
    line-height:1.7;
    font-size:14px;
}

.qr-registry-card.qr{
    border-color:rgba(87,199,255,.18);
}

.qr-registry-card.stock{
    border-color:rgba(45,255,155,.18);
}

.qr-registry-card.approval{
    border-color:rgba(255,216,107,.18);
}

.qr-registry-card.alert{
    border-color:rgba(255,120,120,.18);
}

.qr-registry-table .tickets-table th{
    white-space:nowrap;
}

.qr-registry-table .tickets-table td{
    vertical-align:middle;
}

.qr-registry-table .tickets-table td strong{
    display:block;
    margin-bottom:5px;
    color:#fff;
}

.qr-registry-table .tickets-table td span{
    color:#8f99ab;
    font-size:12px;
}

.qr-status-installed{
    background:rgba(45,255,155,.12);
    color:#57ffb2;
}

.qr-status-assigned{
    background:rgba(87,199,255,.12);
    color:#57c7ff;
}

.qr-status-pending{
    background:rgba(255,216,107,.12);
    color:#ffd86b;
}

.qr-status-void{
    background:rgba(255,120,120,.12);
    color:#ff8b8b;
}

.qr-mini-badge{
    padding:8px 12px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
    color:#d7dce4;
}

.qr-table-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.qr-empty-state{
    padding:60px 20px;
    text-align:center;
    color:#8f99ab;
}

.qr-empty-state i{
    width:80px;
    height:80px;
    margin:0 auto 18px;
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.04);
    color:#ff4d57;
    font-size:30px;
}

.qr-empty-state strong{
    display:block;
    color:#fff;
    font-size:20px;
    margin-bottom:10px;
}

.qr-empty-state p{
    max-width:460px;
    margin:auto;
    line-height:1.8;
}

@media(max-width:1200px){

    .qr-registry-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .qr-registry-grid{
        grid-template-columns:1fr;
    }

    .serial-cell{
        min-width:240px;
    }

    .inventory-search{
        max-width:100%;
    }

}

/* =========================================
   TECHNICIAN QR INSTALLATION FLOW
========================================= */

.tech-install-form{
  padding:24px;
}

.tech-scan-box{
  padding:34px 24px;
  border-radius:28px;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(255,31,45,.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
}

.tech-scan-icon{
  width:86px;
  height:86px;
  margin:0 auto 18px;
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,31,45,.14);
  color:#ff4d57;
  font-size:34px;
  box-shadow:0 18px 45px rgba(255,31,45,.18);
}

.tech-scan-box h3{
  color:#fff;
  font-size:26px;
  margin:0 0 10px;
}

.tech-scan-box p{
  max-width:520px;
  margin:0 auto;
  color:#9ca3af;
  line-height:1.8;
}

.tech-divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:8px 0;
}

.tech-divider::before,
.tech-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.08);
}

.tech-divider span{
  color:#ff4d57;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.tech-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.tech-install-form input,
.tech-install-form select,
.tech-install-form textarea{
  width:100%;
  min-height:58px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.28);
  color:#fff;
  padding:0 18px;
  outline:none;
  transition:.22s ease;
}

.tech-install-form textarea{
  min-height:120px;
  padding:16px 18px;
  resize:vertical;
}

.tech-install-form input:focus,
.tech-install-form select:focus,
.tech-install-form textarea:focus{
  border-color:rgba(255,31,45,.45);
  box-shadow:0 0 0 4px rgba(255,31,45,.09);
}

.tech-install-form option{
  background:#0b1016;
  color:#fff;
}

.tech-submit-btn{
  min-height:62px;
  cursor:pointer;
}

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

  .tech-install-form{
    padding:16px;
  }
}


/* =========================================
   PUBLIC ROLL VERIFICATION PAGE
========================================= */

.roll-verify-page{
  min-height:100vh;
  padding:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at top right, rgba(255,31,45,.18), transparent 34%),
    linear-gradient(180deg,#080b10,#020305);
}

.roll-verify-card{
  width:min(980px,100%);
  padding:34px;
  border-radius:34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 32px 120px rgba(0,0,0,.55);
}

.roll-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:30px;
}

.roll-brand > span{
  width:54px;
  height:54px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ff1f2d,#ff5b66);
  color:#fff;
  font-weight:900;
}

.roll-brand strong{
  display:block;
  color:#fff;
  font-size:22px;
}

.roll-brand small{
  color:#9ca3af;
  letter-spacing:.16em;
  font-size:11px;
}

.verify-state{
  padding:34px;
  border-radius:28px;
  margin-bottom:24px;
  text-align:center;
  border:1px solid rgba(255,255,255,.08);
}

.verify-state i{
  font-size:44px;
  margin-bottom:16px;
}

.verify-state h1{
  color:#fff;
  margin:0 0 10px;
  font-size:42px;
}

.verify-state p{
  color:#a5afbf;
  margin:0;
}

.verify-state.valid{
  background:rgba(34,197,94,.09);
  border-color:rgba(34,197,94,.22);
}

.verify-state.valid i{
  color:#22e67a;
}

.verify-state.invalid{
  background:rgba(255,31,45,.09);
  border-color:rgba(255,31,45,.22);
}

.verify-state.invalid i{
  color:#ff4d57;
}

.verify-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.verify-grid > div{
  padding:18px;
  border-radius:18px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.06);
}

.verify-grid span{
  display:block;
  color:#8f99ab;
  font-size:12px;
  margin-bottom:8px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.verify-grid strong{
  display:block;
  color:#fff;
  font-size:15px;
  word-break:break-word;
}

.verify-footer{
  margin-top:24px;
  text-align:center;
  color:#8f99ab;
  line-height:1.7;
}

@media(max-width:700px){
  .roll-verify-page{
    padding:18px;
  }

  .roll-verify-card{
    padding:22px;
  }

  .verify-grid{
    grid-template-columns:1fr;
  }

  .verify-state h1{
    font-size:30px;
  }
}

/* =========================================
   RECEPTION CREATE TICKET
========================================= */

.upload-box{
  min-height:120px;
  padding:18px;
  border-radius:20px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(0,0,0,.22);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  cursor:pointer;
  transition:.25s ease;
}

.upload-box:hover{
  border-color:rgba(255,31,45,.45);
  background:rgba(255,31,45,.06);
  transform:translateY(-2px);
}

.upload-box span{
  color:#fff;
  font-weight:800;
  font-size:14px;
}

.upload-box input{
  min-height:auto;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}

.upload-box input::file-selector-button{
  border:0;
  border-radius:12px;
  padding:10px 14px;
  margin-right:12px;
  background:linear-gradient(135deg,#ff1f2d,#ff4d5d);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.auto-assign-box{
  min-height:70px;
  padding:18px;
  border-radius:18px;
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.18);
  display:flex;
  align-items:center;
  gap:14px;
}

.auto-assign-box i{
  width:46px;
  height:46px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(34,197,94,.14);
  color:#22e67a;
}

.auto-assign-box strong{
  display:block;
  color:#fff;
  margin-bottom:5px;
}

.auto-assign-box span{
  color:#9ca3af;
  font-size:13px;
}


/* =========================================
   TECHNICIAN JOBS + JOB EXECUTION
========================================= */

.job-photo-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding:26px;
}

.job-photo-card{
  position:relative;
  overflow:hidden;
  min-height:220px;
  border-radius:22px;
  text-decoration:none;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.07);
  transition:.25s ease;
}

.job-photo-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,31,45,.35);
  box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.job-photo-card img{
  width:100%;
  height:165px;
  object-fit:cover;
  display:block;
}

.job-photo-card strong{
  display:block;
  padding:14px 14px 4px;
  color:#fff;
  font-size:14px;
}

.job-photo-card span{
  display:block;
  padding:0 14px 14px;
  color:#9ca3af;
  font-size:12px;
}

/* Technician table polish */
.tickets-table td strong{
  display:block;
  color:#fff;
  margin-bottom:5px;
}

.tickets-table td span{
  display:block;
  color:#8f99ab;
  font-size:12px;
}

.status-assigned{
  color:#57c7ff;
  background:rgba(87,199,255,.12);
  border-color:rgba(87,199,255,.18);
}

.status-in_progress{
  color:#ffd86b;
  background:rgba(255,216,107,.12);
  border-color:rgba(255,216,107,.18);
}

.status-open{
  color:#a5afbf;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.1);
}

.status-completed{
  color:#57ffb2;
  background:rgba(45,255,155,.12);
  border-color:rgba(45,255,155,.18);
}

.status-cancelled{
  color:#ff7070;
  background:rgba(255,112,112,.12);
  border-color:rgba(255,112,112,.18);
}

@media(max-width:1200px){
  .job-photo-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .job-photo-grid{
    grid-template-columns:1fr;
    padding:18px;
  }

  .job-photo-card{
    min-height:auto;
  }
}


/* =========================================
   CUSTOMER SIGNATURE PAD
========================================= */

.signature-pad-wrap{
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.14);
}

.signature-pad-wrap canvas{
  width:100%;
  height:260px;
  border-radius:18px;
  background:#fff;
  display:block;
  touch-action:none;
}

.signature-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.signature-preview{
  padding:24px;
  border-radius:22px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
}

.signature-preview strong{
  display:block;
  color:#fff;
  margin-bottom:14px;
}

.signature-preview img{
  width:100%;
  max-height:220px;
  object-fit:contain;
  background:#fff;
  border-radius:18px;
  padding:14px;
  margin-bottom:12px;
}

.signature-preview span{
  display:block;
  color:#9ca3af;
  font-size:13px;
}

.complete-job-box{
  padding:22px;
  border-radius:22px;
  display:flex;
  align-items:center;
  gap:18px;
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.18);
}

.complete-job-box i{
  width:58px;
  height:58px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(34,197,94,.14);
  color:#22e67a;
  font-size:24px;
}

.complete-job-box strong{
  display:block;
  color:#fff;
  font-size:16px;
  margin-bottom:6px;
}

.complete-job-box span{
  display:block;
  color:#9ca3af;
  line-height:1.6;
  font-size:13px;
}

/* ==========================
   WARRANTY PAGE
========================== */

.serial-cell{
    max-width:420px;
    overflow-wrap:anywhere;
    word-break:break-word;
    font-family:monospace;
    font-size:12px;
    color:#8fe3ff;
}

.inv-mini-table{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.inv-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding:14px 18px;
    border-radius:14px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
}

.inv-row strong{
    color:#fff;
    font-size:14px;
    font-weight:700;
    min-width:180px;
}

.inv-row span{
    color:#cfd8e3;
    text-align:right;
    flex:1;
}

.inv-small-card.qr{
    background:
    linear-gradient(
        135deg,
        rgba(0,163,255,.15),
        rgba(0,163,255,.05)
    );
}

.inv-small-card.stock{
    background:
    linear-gradient(
        135deg,
        rgba(0,255,153,.15),
        rgba(0,255,153,.05)
    );
}

.inv-small-card.approval{
    background:
    linear-gradient(
        135deg,
        rgba(255,187,0,.15),
        rgba(255,187,0,.05)
    );
}

.inv-small-card.alert{
    background:
    linear-gradient(
        135deg,
        rgba(255,80,80,.15),
        rgba(255,80,80,.05)
    );
}

.inv-panel{
    background:#0f141c;
    border:1px solid rgba(255,255,255,.06);
    border-radius:24px;
    padding:24px;
    box-shadow:
    0 10px 30px rgba(0,0,0,.25);
}

.inv-panel-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
}

.inv-panel-head span{
    color:#7e8b9c;
    font-size:11px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.inv-panel-head h3{
    color:#fff;
    margin-top:4px;
    font-size:20px;
}

.inv-panel-head small{
    color:#7e8b9c;
}

.inv-action.primary{
    background:linear-gradient(
        135deg,
        #00a3ff,
        #006eff
    );
    color:#fff;
    border:none;
}

.inv-action.primary:hover{
    transform:translateY(-2px);
}

@media (max-width:768px){

    .inv-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .inv-row span{
        text-align:left;
    }

    .serial-cell{
        font-size:11px;
    }

    .inv-panel{
        padding:18px;
    }
}

.customer-qr-box{
  display:flex;
  align-items:center;
  gap:22px;
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.customer-qr-box #customerWarrantyQr{
  padding:14px;
  border-radius:18px;
  background:#fff;
}

.customer-qr-box strong{
  display:block;
  color:#fff;
  font-size:17px;
  margin-bottom:8px;
}

.customer-qr-box span{
  display:block;
  color:#9ca3af;
  font-family:monospace;
  font-size:12px;
  word-break:break-all;
}

@media(max-width:700px){
  .customer-qr-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ==================================================
   ATLAS × 3M PUBLIC WARRANTY VERIFY PAGE
================================================== */

.public-verify-page {
    min-height: 100vh;
    width: 100%;
    background:
        radial-gradient(circle at top, rgba(255,0,0,.18), transparent 35%),
        linear-gradient(135deg, #050505, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-family: "Inter", sans-serif;
}


/* MAIN CARD */
.public-verify-card {
    width: 100%;
    max-width: 760px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.12),
            rgba(255,255,255,.04)
        );

    backdrop-filter: blur(22px);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 28px;

    padding: 35px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.6),
        inset 0 0 30px rgba(255,255,255,.04);

    animation: verifyOpen .6s ease;
}


/* OPEN ANIMATION */
@keyframes verifyOpen {

    from {
        opacity: 0;
        transform: translateY(30px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}



/* STATUS BOX */
.verify-state {
    text-align: center;

    padding: 30px 20px;

    border-radius: 24px;

    margin-bottom: 30px;
}


.verify-state h1 {

    font-size: 28px;

    letter-spacing: 1px;

    margin-bottom: 12px;

}


.verify-state p {

    font-size: 15px;

    color: #cbd5e1;

}



/* VALID */
.verify-state.valid {

    background:
        linear-gradient(
            135deg,
            rgba(22,163,74,.25),
            rgba(34,197,94,.08)
        );

    border: 1px solid rgba(34,197,94,.4);

}


.verify-state.valid h1 {

    color: #4ade80;

}



/* INVALID */
.verify-state.invalid {

    background:
        linear-gradient(
            135deg,
            rgba(220,38,38,.25),
            rgba(239,68,68,.08)
        );

    border: 1px solid rgba(239,68,68,.4);

}


.verify-state.invalid h1 {

    color: #ef4444;

}



/* TABLE */
.public-verify-card .inv-mini-table {

    display: flex;

    flex-direction: column;

    gap: 14px;

}



.public-verify-card .inv-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 16px 18px;


    background: rgba(255,255,255,.06);

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,.08);

}



.public-verify-card .inv-row strong {

    color: #94a3b8;

    font-size: 13px;

    text-transform: uppercase;

}



.public-verify-card .inv-row span {

    color: #fff;

    font-weight: 700;

    text-align: right;

    word-break: break-word;

}



/* ROLL SERIAL */
.public-verify-card .serial-cell {

    font-family: monospace;

    color: #38bdf8 !important;

}



/* MOBILE */
@media(max-width: 700px){


    .public-verify-page {

        padding: 15px;

    }


    .public-verify-card {

        padding: 22px;

        border-radius: 20px;

    }


    .verify-state h1 {

        font-size: 22px;

    }


    .public-verify-card .inv-row {

        flex-direction: column;

        align-items: flex-start;

    }


    .public-verify-card .inv-row span {

        text-align: left;

    }

}


/* ==================================================
   ATLAS × 3M WARRANTY DASHBOARD
================================================== */


/* Warranty numbers */
.inv-small-card strong {
    font-size: 34px;
    letter-spacing: 1px;
}


/* Warranty status colors */
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 14px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
}


/* Active */
.status-active {
    color: #22c55e;

    background:
        rgba(34,197,94,.12);

    border:
        1px solid rgba(34,197,94,.35);
}


/* Expired */
.status-expired {
    color: #f97316;

    background:
        rgba(249,115,22,.12);

    border:
        1px solid rgba(249,115,22,.35);
}


/* Cancelled */
.status-cancelled {
    color: #ef4444;

    background:
        rgba(239,68,68,.12);

    border:
        1px solid rgba(239,68,68,.35);
}



/* Latest Warranty Table */
.tickets-table-wrap {

    width: 100%;

    overflow-x: auto;

}


.tickets-table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0 12px;

}


.tickets-table thead th {

    color: #94a3b8;

    font-size: 12px;

    text-transform: uppercase;

    text-align: left;

    padding: 12px 16px;

}


.tickets-table tbody tr {

    background:
        rgba(255,255,255,.05);

    transition: .25s ease;

}


.tickets-table tbody tr:hover {

    background:
        rgba(255,255,255,.09);

    transform: scale(1.01);

}


.tickets-table td {

    padding: 16px;

    color: #fff;

}


.tickets-table td:first-child {

    border-radius: 16px 0 0 16px;

}


.tickets-table td:last-child {

    border-radius: 0 16px 16px 0;

}



.tickets-table td strong {

    display: block;

    font-size: 14px;

    color: #fff;

}


.tickets-table td span {

    display: block;

    margin-top: 5px;

    color: #94a3b8;

    font-size: 12px;

}



/* View Button */
.table-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;


    padding: 9px 18px;


    border-radius: 12px;


    background:
        linear-gradient(
            135deg,
            #d71920,
            #7f1d1d
        );


    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;


    transition: .25s;

}



.table-action:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(215,25,32,.4);

}



/* Empty */
.empty-table,
.inv-empty {

    text-align: center;

    padding: 30px;

    color: #94a3b8;

}



/* TOP CENTER EFFECT */
.inv-mini-table .inv-row {

    transition: .25s ease;

}


.inv-mini-table .inv-row:hover {

    background:
        rgba(255,255,255,.08);

    transform: translateX(5px);

}



/* MOBILE */
@media(max-width:800px){


    .tickets-table {

        min-width: 900px;

    }


    .inv-small-card strong {

        font-size: 26px;

    }


}

/* ==========================
   AUDIT TIMELINE
========================== */

.audit-timeline{
  display:flex;
  flex-direction:column;
  gap:18px;
  position:relative;
}

.audit-item{
  display:flex;
  gap:16px;
  position:relative;
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
  transition:.25s ease;
}

.audit-item:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.07);
}

.audit-dot{
  width:14px;
  height:14px;
  min-width:14px;
  border-radius:50%;
  margin-top:5px;
  background:#22c55e;
  box-shadow:0 0 0 6px rgba(34,197,94,.12);
}

.audit-content strong{
  display:block;
  color:#fff;
  font-size:15px;
  margin-bottom:6px;
}

.audit-content p{
  color:#cbd5e1;
  font-size:13px;
  line-height:1.6;
  margin-bottom:6px;
}

.audit-content span{
  color:#94a3b8;
  font-size:12px;
}


/* EMPTY STATE */
.inv-empty{
  padding:18px;
  text-align:center;
  color:#94a3b8;
  border-radius:16px;
  background:rgba(255,255,255,.04);
}


/* MOBILE */
@media(max-width:700px){

  .audit-item{
    padding:14px;
    gap:12px;
  }

  .audit-content strong{
    font-size:14px;
  }

  .audit-content p{
    font-size:12px;
  }

}


/* PRINT WARRANTY */
@media print{

  .audit-item{
    background:#fff;
    border:1px solid #ddd;
  }

  .audit-content strong,
  .audit-content p,
  .audit-content span{
    color:#000;
  }

}

/* =========================
   ATLAS WEBSITE FINAL CSS
========================= */

.region-popup{
  position:fixed;
  inset:0;
  z-index:999999999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(18px);
}

.region-card{
  width:min(92%,540px);
  padding:44px;
  border-radius:34px;
  text-align:center;
  color:#fff;
  background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 40px 100px rgba(0,0,0,.65);
}

.region-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:28px;
}

.region-actions button{
  padding:24px 14px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
  font-size:34px;
}

.region-actions button:hover{
  transform:translateY(-6px);
  background:rgba(255,31,31,.22);
}

.hero-slider{
  position:relative;
  min-height:100vh;
  padding:0;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  background-size:cover;
  background-position:center;
  transition:opacity 1s ease, visibility 1s ease;
  display:flex;
  align-items:center;
  padding:150px 4vw 170px;
}

.hero-slide.active{
  opacity:1;
  visibility:visible;
}

.hero-dots{
  position:absolute;
  z-index:8;
  left:50%;
  bottom:150px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}

.hero-dots button{
  width:12px;
  height:12px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.35);
  cursor:pointer;
}

.hero-dots button.active{
  background:var(--red);
  box-shadow:0 0 22px rgba(255,31,31,.8);
}

.floating-actions{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.float-btn{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:24px;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.float-btn.whatsapp{
  background:#25D366;
}

.float-btn.call{
  background:linear-gradient(135deg,var(--red),var(--red2));
}

.change-region-btn{
  gap:8px;
}

html[dir="rtl"] .desktop-nav a::after{
  left:auto;
  right:0;
}

html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-links{
  justify-content:flex-start;
}

@media(max-width:900px){
  .hero-slide{
    padding:130px 18px 220px;
  }

  .hero-dots{
    bottom:170px;
  }

  .region-actions{
    grid-template-columns:1fr;
  }

  .floating-actions{
    right:14px;
    bottom:14px;
  }

  .float-btn{
    width:52px;
    height:52px;
  }
}

/* ===== FIX CENTERS SECTION LAYOUT ===== */

.map-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) 430px;
  gap:28px;
  align-items:start;
}

.saudi-map,
.real-map,
#regionMap{
  height:720px !important;
  min-height:720px !important;
  max-height:720px !important;
  border-radius:30px;
  overflow:hidden;
  position:sticky;
  top:105px;
  background:rgba(255,255,255,.04);
}

.saudi-map iframe,
.real-map iframe,
#regionMap iframe{
  width:100%;
  height:100% !important;
  border:0;
  border-radius:30px;
}

.center-panel{
  max-height:720px;
  overflow-y:auto;
  padding-inline-end:10px;
  scroll-behavior:smooth;
}

.center-card{
  margin-bottom:14px;
}

.center-panel::-webkit-scrollbar{
  width:7px;
}

.center-panel::-webkit-scrollbar-track{
  background:rgba(255,255,255,.06);
  border-radius:20px;
}

.center-panel::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--red),var(--red2));
  border-radius:20px;
}

/* لو الخريطة الجديدة فيها Pins كتير */
.map-pin{
  font-size:12px;
  padding:7px 11px;
  white-space:nowrap;
  transform:scale(.9);
}

.map-pin:hover{
  transform:scale(1.05);
  z-index:20;
}

@media(max-width:900px){
  .map-layout{
    grid-template-columns:1fr;
  }

  .saudi-map,
  .real-map,
  #regionMap{
    height:390px !important;
    min-height:390px !important;
    max-height:390px !important;
    position:relative;
    top:auto;
  }

  .center-panel{
    max-height:560px;
  }
}

/* =====================================
   WHY 3M PAGE FIX
===================================== */

body{
  background:#050505;
  color:#fff;
  font-family:"Tajawal","Inter",sans-serif;
}

.page-hero{
  min-height:82vh !important;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:140px 8% 80px;
}

.page-hero .hero-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:flex !important;
  align-items:center;
  justify-content:center;
  background-size:cover;
  background-position:center;
  opacity:1 !important;
}

.page-hero .hero-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(255,31,31,.22), transparent 42%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.95));
  z-index:1;
}

.page-hero .hero-content{
  position:relative;
  z-index:3;
  max-width:950px;
  text-align:center;
  margin:auto;
}

.page-hero .eyebrow{
  color:var(--red,#ff1f1f);
  letter-spacing:4px;
  font-weight:900;
  text-transform:uppercase;
}

.page-hero h1{
  margin:22px auto;
  font-size:clamp(42px,7vw,88px);
  font-weight:900;
  line-height:1.08;
  max-width:1000px;
}

.page-hero p{
  max-width:760px;
  margin:0 auto 32px;
  color:var(--muted,#a9b0bd);
  font-size:20px;
  line-height:1.8;
}

.page-hero .hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

/* INTRO CARDS */

.intro{
  padding:110px 8%;
}

.section-head{
  max-width:900px;
  margin:0 auto 55px;
  text-align:center;
}

.section-head .eyebrow{
  color:var(--red,#ff1f1f);
  letter-spacing:3px;
  font-weight:900;
  text-transform:uppercase;
}

.section-head h2{
  font-size:clamp(34px,5vw,64px);
  margin:18px 0;
  font-weight:900;
}

.section-head p{
  color:var(--muted,#a9b0bd);
  font-size:18px;
  line-height:1.8;
}

.ecosystem-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.eco-card{
  min-height:280px;
  padding:36px;
  border-radius:34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 25px 70px rgba(0,0,0,.28);
  backdrop-filter:blur(20px);
  transition:.35s ease;
}

.eco-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.55);
  box-shadow:0 30px 90px rgba(255,31,31,.18);
}

.eco-card span{
  color:var(--red,#ff1f1f);
  font-size:18px;
  font-weight:900;
  letter-spacing:2px;
}

.eco-card h3{
  margin:22px 0 12px;
  font-size:28px;
  font-weight:900;
}

.eco-card p{
  color:var(--muted,#a9b0bd);
  line-height:1.8;
  font-size:16px;
}

/* SERVICES CARDS */

.services{
  padding:110px 8%;
}

.three-service-grid,
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.service-card{
  position:relative;
  height:430px;
  border-radius:34px;
  overflow:hidden;
  display:block;
  text-decoration:none;
  color:#fff;
  background:#111;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 25px 70px rgba(0,0,0,.35);
}

.service-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:1s ease;
  filter:brightness(.65);
}

.service-card:hover img{
  transform:scale(1.12);
  filter:brightness(.45);
}

.service-content{
  position:absolute;
  inset:auto 0 0 0;
  padding:34px;
  z-index:2;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.92));
}

.service-content span{
  color:var(--red,#ff1f1f);
  font-weight:900;
  letter-spacing:2px;
}

.service-content h3{
  font-size:30px;
  margin:12px 0;
  font-weight:900;
}

.service-content p{
  color:#d5d9e2;
  line-height:1.7;
}

/* CTA FIX */

.final-cta{
  min-height:520px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:90px 8%;
}

.final-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(255,31,31,.25), transparent 45%),
    linear-gradient(180deg, rgba(15,15,15,.2), #050505);
}

.final-content{
  position:relative;
  z-index:3;
  max-width:850px;
}

.final-content h2{
  font-size:clamp(36px,6vw,76px);
  font-weight:900;
  margin:18px 0;
}

.final-content p{
  color:var(--muted,#a9b0bd);
  font-size:19px;
  line-height:1.8;
  margin-bottom:30px;
}

/* MOBILE */

@media(max-width:900px){
  .page-hero{
    min-height:70vh !important;
    padding:120px 22px 70px;
  }

  .page-hero h1{
    font-size:42px;
  }

  .page-hero p{
    font-size:16px;
  }

  .ecosystem-grid,
  .three-service-grid,
  .services-grid{
    grid-template-columns:1fr;
  }

  .intro,
  .services{
    padding:80px 22px;
  }

  .service-card{
    height:360px;
  }
}


/* =====================================
   SERVICES PAGE EXTENSIONS
===================================== */

.services-page-hero{
  min-height:82vh !important;
}

.services-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.35), rgba(0,0,0,.9)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  animation:heroZoom 18s ease-in-out infinite alternate;
}

.atlas-tech-section{
  background:
    radial-gradient(circle at 80% 20%, rgba(255,31,31,.12), transparent 30%),
    var(--bg2);
}

.atlas-tech-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.atlas-tech-card{
  min-height:300px;
  padding:32px;
  border-radius:32px;
  background:linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 25px 70px rgba(0,0,0,.26);
  backdrop-filter:blur(20px);
  transition:.35s ease;
}

.atlas-tech-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.55);
  box-shadow:0 30px 90px rgba(255,31,31,.18);
}

.atlas-tech-card i{
  width:64px;
  height:64px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:24px;
  box-shadow:0 18px 40px rgba(255,31,31,.25);
}

.atlas-tech-card h3{
  font-size:23px;
  margin-bottom:14px;
}

.atlas-tech-card p{
  color:var(--muted);
  line-height:1.8;
}

.service-process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.process-card{
  position:relative;
  min-height:260px;
  padding:30px;
  border-radius:30px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
  overflow:hidden;
  transition:.35s ease;
}

.process-card::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  right:-70px;
  bottom:-70px;
  background:rgba(255,31,31,.12);
  filter:blur(20px);
}

.process-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.5);
}

.process-card span{
  color:var(--red);
  font-size:18px;
  font-weight:900;
  letter-spacing:2px;
}

.process-card h3{
  margin:22px 0 12px;
  font-size:25px;
}

.process-card p{
  color:var(--muted);
  line-height:1.8;
}

@media(max-width:1100px){
  .atlas-tech-grid,
  .service-process{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .atlas-tech-grid,
  .service-process{
    grid-template-columns:1fr;
  }

  .atlas-tech-card,
  .process-card{
    min-height:auto;
  }
}

.service-category-block{
  margin-top:38px;
  padding:34px;
  border-radius:36px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.12);
}

.service-category-head{
  margin-bottom:24px;
}

.service-category-head span{
  color:var(--red);
  font-weight:900;
  letter-spacing:3px;
}

.service-category-head h3{
  font-size:38px;
  margin:10px 0;
  font-weight:900;
}

.service-category-head p{
  color:var(--muted);
  line-height:1.8;
  max-width:850px;
}

.service-detail-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}

.service-detail-card{
  min-height:245px;
  padding:24px;
  border-radius:26px;
  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  transition:.35s ease;
}

.service-detail-card:hover{
  transform:translateY(-9px);
  border-color:rgba(255,31,31,.55);
  box-shadow:0 25px 70px rgba(255,31,31,.16);
}

.service-detail-card i{
  width:54px;
  height:54px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  font-size:22px;
  margin-bottom:18px;
}

.service-detail-card h4{
  font-size:19px;
  margin-bottom:10px;
  font-weight:900;
}

.service-detail-card p{
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

@media(max-width:1200px){
  .service-detail-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:800px){
  .service-category-block{
    padding:24px;
  }

  .service-detail-grid{
    grid-template-columns:1fr;
  }

  .service-category-head h3{
    font-size:30px;
  }
}

/* =====================================
   ENTERPRISE WARRANTY PAGE
===================================== */

.warranty-enterprise-hero{
  min-height:82vh !important;
}

.warranty-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.35), rgba(0,0,0,.92)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  animation:heroZoom 18s ease-in-out infinite alternate;
}

.warranty-studio{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:28px;
  align-items:stretch;
}

.warranty-form-panel,
.digital-warranty-card{
  border-radius:38px;
  padding:36px;
  background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  backdrop-filter:blur(22px);
}

.studio-label{
  color:var(--red);
  font-size:12px;
  font-weight:900;
  letter-spacing:3px;
}

.warranty-form-panel h3{
  font-size:36px;
  margin:14px 0 24px;
  font-weight:900;
}

.warranty-input-group{
  margin-bottom:16px;
}

.warranty-input-group label{
  display:block;
  color:var(--muted);
  margin-bottom:8px;
  font-size:13px;
  font-weight:800;
}

.warranty-input-group input{
  width:100%;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(0,0,0,.38);
  color:#fff;
  outline:none;
}

.qr-scan-box{
  display:flex;
  gap:14px;
  align-items:center;
  padding:18px;
  border-radius:24px;
  margin:20px 0;
  border:1px dashed rgba(255,255,255,.20);
  background:rgba(255,255,255,.045);
}

.qr-scan-box i{
  width:52px;
  height:52px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  font-size:24px;
}

.qr-scan-box p{
  color:var(--muted);
  font-size:13px;
  margin-top:4px;
}

.warranty-verify-btn{
  width:100%;
  justify-content:center;
}

.digital-warranty-card{
  position:relative;
  overflow:hidden;
  min-height:560px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.digital-warranty-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,31,31,.28), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.08), transparent 34%);
  pointer-events:none;
}

.digital-warranty-card::after{
  content:"3M";
  position:absolute;
  left:30px;
  bottom:-32px;
  font-size:180px;
  font-weight:900;
  color:rgba(255,255,255,.045);
}

.card-top,
.warranty-status,
.warranty-chip,
.digital-warranty-card h3,
.digital-warranty-card p,
.warranty-card-lines{
  position:relative;
  z-index:2;
}

.card-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:#fff;
  font-weight:900;
  letter-spacing:2px;
  font-size:13px;
}

.warranty-status{
  width:max-content;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:12px;
}

.warranty-status.active{
  background:rgba(34,197,94,.15);
  color:#22c55e;
}

.warranty-chip{
  width:86px;
  height:66px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.25),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--red);
  font-size:30px;
}

.digital-warranty-card h3{
  font-size:42px;
  margin:20px 0 8px;
}

.digital-warranty-card p{
  color:var(--muted);
  line-height:1.8;
}

.warranty-card-lines{
  display:grid;
  gap:12px;
  margin-top:25px;
}

.warranty-card-lines div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:13px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.warranty-card-lines span{
  color:var(--muted);
}

.warranty-card-lines strong{
  text-align:end;
}

/* Timeline */

.warranty-timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.warranty-step{
  min-height:300px;
  padding:30px;
  border-radius:32px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
  position:relative;
  overflow:hidden;
  transition:.35s ease;
}

.warranty-step:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.5);
  box-shadow:0 25px 70px rgba(255,31,31,.15);
}

.warranty-step span{
  color:var(--red);
  font-weight:900;
  letter-spacing:2px;
}

.warranty-step i{
  width:62px;
  height:62px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  font-size:25px;
  margin:24px 0;
}

.warranty-step h3{
  font-size:24px;
  margin-bottom:12px;
}

.warranty-step p{
  color:var(--muted);
  line-height:1.8;
}

/* Coverage */

.coverage-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.coverage-card{
  padding:34px;
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  transition:.35s ease;
}

.coverage-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.5);
}

.coverage-card i{
  width:66px;
  height:66px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:24px;
}

.coverage-card h3{
  font-size:28px;
  margin-bottom:18px;
}

.coverage-card ul{
  list-style:none;
  display:grid;
  gap:12px;
}

.coverage-card li{
  color:var(--muted);
  line-height:1.7;
}

.coverage-card li::before{
  content:"✓";
  color:#22c55e;
  font-weight:900;
  margin-inline-end:8px;
}

/* QR System */

.qr-system-layout{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:34px;
  align-items:center;
  padding:42px;
  border-radius:40px;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,31,31,.18), transparent 35%),
    rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
}

.qr-system-layout h2{
  font-size:clamp(36px,5vw,64px);
  margin:18px 0;
}

.qr-system-layout p{
  color:var(--muted);
  line-height:1.9;
  max-width:850px;
}

.qr-mini-list{
  display:grid;
  gap:14px;
  margin-top:28px;
}

.qr-mini-list div{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.qr-mini-list i{
  color:var(--red);
  font-size:20px;
}

.qr-visual-card{
  min-height:420px;
  border-radius:36px;
  background:linear-gradient(145deg,#111827,#050505);
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.fake-qr{
  width:190px;
  height:190px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  padding:18px;
  border-radius:28px;
  background:#fff;
  margin-bottom:26px;
}

.fake-qr span{
  background:#050505;
  border-radius:7px;
}

.qr-visual-card h3{
  font-size:28px;
  letter-spacing:2px;
}

/* Garage */

.garage-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.garage-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:26px;
  border-radius:28px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
}

.garage-card i{
  width:58px;
  height:58px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,31,31,.15);
  color:var(--red);
  font-size:24px;
}

.garage-card div{
  flex:1;
}

.garage-card h3{
  font-size:20px;
  margin-bottom:5px;
}

.garage-card p{
  color:var(--muted);
  font-size:13px;
}

.garage-card > span{
  color:#22c55e;
  font-size:12px;
  font-weight:900;
}

/* Responsive */

@media(max-width:1100px){
  .warranty-studio,
  .qr-system-layout{
    grid-template-columns:1fr;
  }

  .warranty-timeline,
  .garage-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .coverage-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .warranty-form-panel,
  .digital-warranty-card,
  .qr-system-layout{
    padding:24px;
  }

  .warranty-timeline,
  .garage-grid{
    grid-template-columns:1fr;
  }

  .digital-warranty-card{
    min-height:auto;
  }

  .card-top,
  .warranty-card-lines div{
    flex-direction:column;
  }

  .qr-visual-card{
    min-height:320px;
  }
}

/* =====================================
   FRANCHISE PAGE
===================================== */

.franchise-hero{
  min-height:82vh !important;
}

.franchise-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.38), rgba(0,0,0,.92)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  animation:heroZoom 18s ease-in-out infinite alternate;
}

.franchise-value-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.franchise-value-card{
  min-height:300px;
  padding:32px;
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 25px 70px rgba(0,0,0,.26);
  backdrop-filter:blur(20px);
  transition:.35s ease;
}

.franchise-value-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.55);
  box-shadow:0 30px 90px rgba(255,31,31,.18);
}

.franchise-value-card i{
  width:64px;
  height:64px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:24px;
}

.franchise-value-card h3{
  font-size:24px;
  margin-bottom:14px;
}

.franchise-value-card p{
  color:var(--muted);
  line-height:1.8;
}

.franchise-requirements-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
  padding:42px;
  border-radius:40px;
  background:
    radial-gradient(circle at 85% 30%,rgba(255,31,31,.16),transparent 35%),
    rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
}

.franchise-requirements-layout h2{
  font-size:clamp(36px,5vw,64px);
  margin:18px 0;
  font-weight:900;
}

.franchise-requirements-layout p{
  color:var(--muted);
  line-height:1.9;
}

.requirements-list{
  display:grid;
  gap:14px;
}

.requirements-list div{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.requirements-list i{
  color:var(--red);
  font-size:20px;
}

.franchise-process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.franchise-process-card{
  min-height:260px;
  padding:30px;
  border-radius:30px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
  position:relative;
  overflow:hidden;
  transition:.35s ease;
}

.franchise-process-card::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  right:-70px;
  bottom:-70px;
  background:rgba(255,31,31,.12);
  filter:blur(20px);
}

.franchise-process-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.5);
  box-shadow:0 25px 70px rgba(255,31,31,.14);
}

.franchise-process-card span{
  color:var(--red);
  font-size:18px;
  font-weight:900;
  letter-spacing:2px;
}

.franchise-process-card h3{
  margin:22px 0 12px;
  font-size:25px;
  font-weight:900;
}

.franchise-process-card p{
  color:var(--muted);
  line-height:1.8;
}

.application-preview-layout{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:34px;
  align-items:center;
  padding:42px;
  border-radius:40px;
  background:
    radial-gradient(circle at 80% 25%, rgba(255,31,31,.18), transparent 35%),
    linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.12);
}

.application-preview-content h2{
  font-size:clamp(36px,5vw,64px);
  margin:18px 0;
  font-weight:900;
}

.application-preview-content p{
  color:var(--muted);
  line-height:1.9;
  max-width:850px;
}

.application-checks{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:28px 0;
}

.application-checks div{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.application-checks i{
  color:#22c55e;
}

.application-glass-card{
  min-height:420px;
  border-radius:36px;
  padding:34px;
  background:linear-gradient(145deg,#111827,#050505);
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}

.application-glass-card::after{
  content:"3M";
  position:absolute;
  left:22px;
  bottom:-30px;
  font-size:140px;
  font-weight:900;
  color:rgba(255,255,255,.045);
}

.application-card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-weight:900;
  letter-spacing:2px;
  font-size:12px;
  position:relative;
  z-index:2;
}

.application-glass-card > i{
  width:82px;
  height:82px;
  border-radius:28px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  position:relative;
  z-index:2;
}

.application-glass-card h3{
  font-size:30px;
  position:relative;
  z-index:2;
}

.application-glass-card p{
  color:var(--muted);
  line-height:1.8;
  position:relative;
  z-index:2;
}

.application-status{
  width:max-content;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(34,197,94,.14);
  color:#22c55e;
  font-size:12px;
  font-weight:900;
  position:relative;
  z-index:2;
}

@media(max-width:1100px){
  .franchise-value-grid,
  .franchise-process{
    grid-template-columns:repeat(2,1fr);
  }

  .franchise-requirements-layout,
  .application-preview-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .franchise-value-grid,
  .franchise-process,
  .application-checks{
    grid-template-columns:1fr;
  }

  .franchise-requirements-layout,
  .application-preview-layout,
  .application-glass-card{
    padding:24px;
  }

  .application-glass-card{
    min-height:340px;
  }
}

/* =====================================
   CONTACT PAGE
===================================== */

.contact-hero{
  min-height:82vh !important;
}

.contact-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.34), rgba(0,0,0,.92)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  animation:heroZoom 18s ease-in-out infinite alternate;
}

.contact-layout{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:32px;
  align-items:stretch;
}

.contact-info-panel,
.contact-form-panel{
  padding:38px;
  border-radius:38px;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 90px rgba(0,0,0,.30);
  backdrop-filter:blur(22px);
}

.contact-info-panel h2{
  font-size:clamp(34px,5vw,58px);
  margin:18px 0;
  font-weight:900;
}

.contact-info-panel p{
  color:var(--muted);
  line-height:1.9;
}

.contact-methods{
  display:grid;
  gap:14px;
  margin-top:28px;
}

.contact-method{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px;
  border-radius:24px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  text-decoration:none;
  transition:.35s ease;
}

.contact-method:hover{
  transform:translateY(-6px);
  border-color:rgba(255,31,31,.5);
  box-shadow:0 20px 60px rgba(255,31,31,.14);
}

.contact-method i{
  width:54px;
  height:54px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}

.contact-method strong{
  display:block;
  font-size:17px;
  margin-bottom:4px;
}

.contact-method span{
  color:var(--muted);
  font-size:14px;
}

.contact-form-panel h3{
  font-size:38px;
  margin:14px 0 24px;
  font-weight:900;
}

.contact-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea{
  width:100%;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(0,0,0,.38);
  color:#fff;
  outline:none;
  font-family:inherit;
}

.contact-form-grid textarea{
  grid-column:1/-1;
  min-height:150px;
  resize:vertical;
}

.contact-submit-btn{
  margin-top:18px;
  width:100%;
  justify-content:center;
}

.contact-demo-result{
  margin-top:16px;
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  color:var(--muted);
  border:1px solid rgba(255,255,255,.10);
}

.contact-demo-result.active{
  background:rgba(34,197,94,.12);
  color:#22c55e;
  border-color:rgba(34,197,94,.25);
}

.contact-routing-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.contact-routing-card{
  min-height:285px;
  padding:32px;
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  transition:.35s ease;
}

.contact-routing-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.55);
  box-shadow:0 30px 90px rgba(255,31,31,.16);
}

.contact-routing-card i{
  width:64px;
  height:64px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:24px;
}

.contact-routing-card h3{
  font-size:23px;
  margin-bottom:14px;
}

.contact-routing-card p{
  color:var(--muted);
  line-height:1.8;
}

.contact-map-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:center;
  padding:42px;
  border-radius:40px;
  background:
    radial-gradient(circle at 80% 25%, rgba(255,31,31,.18), transparent 35%),
    linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.12);
}

.contact-map-layout h2{
  font-size:clamp(36px,5vw,64px);
  margin:18px 0;
  font-weight:900;
}

.contact-map-layout p{
  color:var(--muted);
  line-height:1.9;
  margin-bottom:26px;
}

.contact-map-card{
  height:420px;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 90px rgba(0,0,0,.35);
}

.contact-map-card iframe{
  width:100%;
  height:100%;
  border:0;
  filter:grayscale(1) contrast(1.08) brightness(.72);
}

@media(max-width:1100px){
  .contact-layout,
  .contact-map-layout{
    grid-template-columns:1fr;
  }

  .contact-routing-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .contact-info-panel,
  .contact-form-panel,
  .contact-map-layout{
    padding:24px;
  }

  .contact-form-grid{
    grid-template-columns:1fr;
  }

  .contact-routing-grid{
    grid-template-columns:1fr;
  }

  .contact-map-card{
    height:320px;
  }
}

/* =====================================
   BOOKING PAGE
===================================== */

.booking-hero{
  min-height:82vh;
  position:relative;
  overflow:hidden;
}

.booking-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.95),
      rgba(0,0,0,.35),
      rgba(0,0,0,.9)
    ),
    url("https://images.unsplash.com/photo-1542362567-b07e54358753?q=80&w=2200&auto=format&fit=crop");

  background-size:cover;
  background-position:center;
  animation:heroZoom 20s ease-in-out infinite alternate;
}


.booking-section{
  position:relative;
}


.booking-layout{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:34px;
  align-items:stretch;
}


/* =========================
   FORM PANEL
========================= */

.booking-form-panel{
  padding:40px;
  border-radius:38px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.11),
      rgba(255,255,255,.03)
    );

  border:1px solid rgba(255,255,255,.13);
  backdrop-filter:blur(24px);

  box-shadow:
    0 30px 90px rgba(0,0,0,.35);
}


.booking-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}


.booking-form-grid input,
.booking-form-grid select,
.booking-form-grid textarea{

  width:100%;

  padding:17px 20px;

  border-radius:18px;

  background:
    rgba(0,0,0,.42);

  border:
    1px solid rgba(255,255,255,.13);

  color:white;

  font-family:inherit;
  font-size:15px;

  outline:none;

  transition:.35s ease;
}


.booking-form-grid input:focus,
.booking-form-grid select:focus,
.booking-form-grid textarea:focus{

  border-color:rgba(255,31,31,.7);

  box-shadow:
    0 0 25px rgba(255,31,31,.18);
}


.booking-form-grid textarea{
  grid-column:1/-1;
  min-height:160px;
  resize:vertical;
}


.booking-submit-btn{

  margin-top:22px;

  width:100%;

  justify-content:center;

  font-size:16px;
}


.booking-demo-result{

  margin-top:18px;

  padding:16px;

  border-radius:18px;

  background:
    rgba(255,255,255,.055);

  border:
    1px solid rgba(255,255,255,.1);

  color:var(--muted);

}


.booking-demo-result.active{

  background:
    rgba(34,197,94,.12);

  color:#22c55e;

  border-color:
    rgba(34,197,94,.35);
}



/* =========================
   SUMMARY CARD
========================= */

.booking-summary-card{

  position:relative;

  padding:42px;

  border-radius:42px;

  overflow:hidden;


  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(255,31,31,.28),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,.12),
      rgba(255,255,255,.035)
    );


  border:
    1px solid rgba(255,255,255,.13);


  box-shadow:
    0 30px 90px rgba(0,0,0,.38);
}


.booking-summary-card::before{

  content:"";

  position:absolute;

  width:260px;
  height:260px;

  right:-90px;
  top:-90px;

  background:
    radial-gradient(circle,var(--red),transparent 70%);

  opacity:.25;

  filter:blur(30px);

}


.booking-summary-top{

  position:relative;

  display:flex;

  justify-content:space-between;

  margin-bottom:40px;

}


.booking-summary-top span{

  color:var(--red);

  font-weight:900;

  letter-spacing:2px;
}


.booking-summary-card > i{

  width:90px;
  height:90px;

  border-radius:30px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(135deg,var(--red),var(--red2));

  font-size:38px;

  margin-bottom:30px;

  box-shadow:
    0 20px 60px rgba(255,31,31,.35);
}


.booking-summary-card h3{

  font-size:34px;

  margin-bottom:15px;

}


.booking-summary-card p{

  color:var(--muted);

  line-height:1.9;

}



.booking-flow-list{

  margin-top:32px;

  display:grid;

  gap:14px;
}



.booking-flow-list div{

  display:flex;

  align-items:center;

  gap:14px;

  padding:15px;

  border-radius:18px;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid rgba(255,255,255,.08);

}


.booking-flow-list span{

  width:40px;
  height:40px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  background:rgba(255,31,31,.18);

  color:var(--red);

  font-weight:900;

}



/* =========================
   BOOKING SERVICE CARDS
========================= */

.booking-services-section
.contact-routing-card{

  cursor:pointer;

}


.booking-services-section
.contact-routing-card:hover i{

  transform:scale(1.1) rotate(-8deg);

}


.booking-services-section i{

  transition:.35s ease;

}



/* =========================
   RESPONSIVE
========================= */


@media(max-width:1050px){

  .booking-layout{

    grid-template-columns:1fr;

  }

}


@media(max-width:650px){


  .booking-form-panel,
  .booking-summary-card{

    padding:25px;

    border-radius:28px;

  }


  .booking-form-grid{

    grid-template-columns:1fr;

  }


  .booking-summary-card h3{

    font-size:27px;

  }


  .booking-summary-card > i{

    width:70px;
    height:70px;

    font-size:28px;

  }

}

/* =====================================
   AUTOMOTIVE PAGE
===================================== */

.automotive-hero{
  min-height:82vh !important;
}

.automotive-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.35), rgba(0,0,0,.92)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  animation:heroZoom 18s ease-in-out infinite alternate;
}

.auto-service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.auto-service-card{
  min-height:310px;
  padding:32px;
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  transition:.35s ease;
}

.auto-service-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,31,31,.55);
  box-shadow:0 30px 90px rgba(255,31,31,.16);
}

.auto-service-card i{
  width:64px;
  height:64px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:22px;
}

.auto-service-card span{
  color:var(--red);
  font-weight:900;
  letter-spacing:2px;
}

.auto-service-card h3{
  font-size:25px;
  margin:14px 0;
}

.auto-service-card p{
  color:var(--muted);
  line-height:1.8;
}

.auto-package-layout,
.auto-before-after{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:34px;
  align-items:center;
  padding:42px;
  border-radius:40px;
  background:
    radial-gradient(circle at 80% 25%, rgba(255,31,31,.18), transparent 35%),
    linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.12);
}

.auto-package-layout h2,
.auto-before-after h2{
  font-size:clamp(36px,5vw,64px);
  margin:18px 0;
  font-weight:900;
}

.auto-package-layout p,
.auto-before-after p{
  color:var(--muted);
  line-height:1.9;
  margin-bottom:26px;
}

.auto-package-list{
  display:grid;
  gap:14px;
  margin:28px 0;
}

.auto-package-list div{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.auto-package-list i{
  color:#22c55e;
}

.auto-package-card{
  min-height:430px;
  border-radius:38px;
  padding:34px;
  background:linear-gradient(145deg,#111827,#050505);
  border:1px solid rgba(255,255,255,.12);
  position:relative;
  overflow:hidden;
}

.auto-package-card::after{
  content:"3M";
  position:absolute;
  left:22px;
  bottom:-35px;
  font-size:150px;
  font-weight:900;
  color:rgba(255,255,255,.045);
}

.auto-package-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
  font-weight:900;
  letter-spacing:2px;
  font-size:12px;
  position:relative;
  z-index:2;
}

.auto-package-card > i{
  width:86px;
  height:86px;
  border-radius:28px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:36px;
  margin:48px 0 28px;
  position:relative;
  z-index:2;
}

.auto-package-card h3,
.auto-package-card p,
.auto-package-stats{
  position:relative;
  z-index:2;
}

.auto-package-card h3{
  font-size:34px;
  margin-bottom:10px;
}

.auto-package-card p{
  color:var(--muted);
  line-height:1.8;
}

.auto-package-stats{
  display:grid;
  gap:12px;
  margin-top:28px;
}

.auto-package-stats div{
  display:flex;
  justify-content:space-between;
  padding:13px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.auto-package-stats span{
  color:var(--muted);
}

.auto-visual-compare{
  height:360px;
  border-radius:34px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 90px rgba(0,0,0,.35);
}

.compare-side{
  display:flex;
  align-items:end;
  justify-content:center;
  padding:28px;
  font-weight:900;
  letter-spacing:2px;
}

.compare-side.dark{
  background:
    linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.9)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  filter:grayscale(1);
}

.compare-side.red{
  background:
    linear-gradient(180deg,rgba(255,31,31,.08),rgba(0,0,0,.75)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=1200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
}

@media(max-width:1100px){
  .auto-service-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .auto-package-layout,
  .auto-before-after{
    grid-template-columns:1fr;
  }
}

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

  .auto-package-layout,
  .auto-before-after{
    padding:24px;
  }

  .auto-visual-compare{
    height:280px;
  }
}

/* =====================================
   RESIDENTIAL PAGE
===================================== */

.residential-hero{
  min-height:82vh !important;
}

.residential-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.34), rgba(0,0,0,.92)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?q=80&w=2200&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  animation:heroZoom 18s ease-in-out infinite alternate;
}

.residential-card-visual{
  background:
    radial-gradient(circle at 80% 20%, rgba(255,31,31,.22), transparent 35%),
    linear-gradient(145deg,#111827,#050505);
}

.residential-card-visual > i{
  background:linear-gradient(135deg,var(--red),var(--red2));
}

.residential-rooms-section .coverage-card i{
  color:#fff;
}

/* =====================================
   CENTERS PAGE
===================================== */

/* ===== CENTER PAGE HERO ALIGN FIX ===== */

.centers-hero{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.centers-hero .hero-content{
    width:100% !important;
    max-width:1000px !important;

    margin:0 auto !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;

    text-align:center !important;

    padding-inline:20px !important;

    position:relative !important;
    z-index:5;
}


.centers-hero .eyebrow{
    margin-inline:auto !important;
}


.centers-hero h1{
    text-align:center !important;
    max-width:900px !important;
}


.centers-hero p{
    text-align:center !important;
    max-width:850px !important;
}


.centers-hero .hero-actions{
    justify-content:center !important;
}




.centers-tools{
  display:grid;
  grid-template-columns:2fr 1fr 1fr auto;
  gap:14px;
  margin-bottom:24px;
}

.search-wrap{
  position:relative;
}

.search-wrap input,
.centers-tools select{
  width:100%;
  height:56px;
  padding:0 18px;
  border-radius:18px;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.13);
  color:#fff;
  outline:none;
}

.search-wrap button{
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:rgba(255,31,31,.18);
  color:#fff;
  cursor:pointer;
}

.centers-layout{
  display:grid;
  grid-template-columns:42% 58%;
  gap:24px;
  align-items:start;
}

.centers-map-box{
  height:620px;
  position:sticky;
  top:110px;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 90px rgba(0,0,0,.35);
  background:#111;
}

.centers-map-box iframe{
  width:100%;
  height:100%;
  border:0;
  filter:grayscale(1) contrast(1.08) brightness(.72);
}

.city-pins{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.city-pins button{
  position:absolute;
  pointer-events:auto;
  border:0;
  padding:9px 13px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 15px 40px rgba(255,31,31,.35);
}

.city-pins button:nth-child(1){right:42%;top:45%;}
.city-pins button:nth-child(2){right:25%;top:60%;}
.city-pins button:nth-child(3){right:28%;top:39%;}
.city-pins button:nth-child(4){right:37%;top:74%;}
.city-pins button:nth-child(5){right:43%;top:53%;}
.city-pins button:nth-child(6){right:34%;top:43%;}

.centers-panel{
  max-height:620px;
  overflow-y:auto;
  padding-inline-end:10px;
}

.centers-panel::-webkit-scrollbar{
  width:7px;
}

.centers-panel::-webkit-scrollbar-track{
  background:rgba(255,255,255,.06);
  border-radius:20px;
}

.centers-panel::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--red),var(--red2));
  border-radius:20px;
}

.center-card{
  margin-bottom:14px;
  padding:24px;
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  transition:.35s ease;
}

.center-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,31,31,.5);
  box-shadow:0 25px 70px rgba(255,31,31,.13);
}

.center-card > span{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,31,31,.15);
  color:var(--red);
  font-size:11px;
  font-weight:900;
  letter-spacing:1px;
}

.center-card h4{
  font-size:22px;
  margin:14px 0 8px;
  font-weight:900;
}

.center-card p{
  color:var(--muted);
  line-height:1.7;
}

.center-rating{
  display:flex;
  align-items:center;
  gap:8px;
  margin:12px 0;
}

.center-rating b{
  color:#facc15;
  letter-spacing:1px;
}

.center-rating small{
  color:var(--muted);
}

.center-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.center-actions a{
  text-decoration:none;
  color:#fff;
  padding:10px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-size:13px;
  font-weight:800;
}

.center-actions a:hover{
  background:var(--red);
  border-color:var(--red);
}

.center-empty{
  padding:30px;
  text-align:center;
  border-radius:28px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
}

@media(max-width:1000px){
  .centers-tools{
    grid-template-columns:1fr;
  }

  .centers-layout{
    grid-template-columns:1fr;
  }

  .centers-map-box{
    height:390px;
    position:relative;
    top:auto;
  }

  .centers-panel{
    max-height:620px;
  }
}

/* MOBILE */
@media(max-width:768px){

    .centers-hero{
        min-height:85vh !important;
    }

    .centers-hero .hero-content{
        align-items:center !important;
        text-align:center !important;
        padding:0 22px !important;
    }

    .centers-hero h1{
        font-size:42px !important;
        line-height:1.25 !important;
    }

    .centers-hero p{
        font-size:16px !important;
    }

    .centers-hero .hero-actions{
        flex-direction:column;
        width:100%;
    }

    .centers-hero .hero-actions a{
        width:100%;
        justify-content:center;
    }
}


/* =====================
   ATLAS HEADER LOGO
===================== */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}


.atlas-header-logo {
    width: 70px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.atlas-header-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
      drop-shadow(0 0 12px rgba(255,255,255,.25));

    transition: .35s ease;
}


.atlas-header-logo:hover img {
    transform: scale(1.08);
}


/* 3M BOX FIX */
.brand-logo {
    flex-shrink: 0;
}


/* TEXT FIX */
.brand-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}


/* MOBILE */
@media(max-width:768px){

    .atlas-header-logo{
        width:55px;
        height:35px;
    }

    .brand{
        gap:8px;
    }

    .brand-text small{
        font-size:10px;
    }
}

/* ==================================================
   ATLAS WEBSITE LOCKED FINAL PATCH
================================================== */
.brand-logo{overflow:hidden;position:relative;}
.brand-3m-img{width:42px;height:auto;max-height:32px;object-fit:contain;display:block;filter:drop-shadow(0 6px 16px rgba(255,31,31,.18));}
.brand-logo .fallback-3m{display:none;}
.atlas-header-logo{width:76px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:5px 8px;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);}
.atlas-header-logo img{width:100%;height:100%;object-fit:contain;}
.hero .eyebrow,.hero-slide .eyebrow{font-size:16px!important;letter-spacing:3px!important;padding:10px 15px;border-radius:999px;background:rgba(255,31,31,.16);border:1px solid rgba(255,31,31,.28);box-shadow:0 16px 40px rgba(255,31,31,.12);}
.hero-book-btn{box-shadow:0 0 45px rgba(255,31,31,.45)!important;transform:none!important;}
.hero-book-btn::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff;margin-inline-start:10px;box-shadow:0 0 18px #fff;}
.smart-journey{overflow:hidden;background:radial-gradient(circle at 50% 10%, rgba(255,31,31,.12), transparent 34%), var(--bg2);}
.journey-timeline{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1280px;margin:auto;}
.journey-line{position:absolute;left:8%;right:8%;top:46px;height:2px;background:linear-gradient(90deg,transparent,var(--red),rgba(255,255,255,.25),var(--red),transparent);opacity:.7;}
.journey-step{position:relative;z-index:2;min-height:280px;padding:30px 24px;border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow);backdrop-filter:var(--blur);transition:.35s ease;}
.journey-step:hover{transform:translateY(-10px);border-color:rgba(255,31,31,.45);box-shadow:0 35px 90px rgba(255,31,31,.15);}
.journey-step>span{display:inline-flex;width:54px;height:54px;border-radius:18px;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--red),var(--red2));color:#fff;font-weight:900;box-shadow:0 18px 42px rgba(255,31,31,.28);}
.journey-step i{display:block;color:var(--red);font-size:30px;margin:26px 0 18px;}
.journey-step h3{font-size:24px;margin-bottom:12px;}
.journey-step p{color:var(--muted);line-height:1.75;}
.partners-section{overflow:hidden;background:var(--bg);}
.partners-marquee{width:100%;overflow:hidden;border-radius:34px;border:1px solid var(--border);background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));box-shadow:var(--shadow);padding:22px 0;}
.partners-track{display:flex;gap:18px;width:max-content;animation:partnersMove 42s linear infinite;}
.partners-marquee:hover .partners-track{animation-play-state:paused;}
.partner-logo-card{width:190px;height:118px;flex:0 0 auto;border-radius:24px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;}
.partner-logo-card img{max-width:140px;max-height:58px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));}
.partner-logo-card span{font-size:10px;color:var(--muted);font-weight:800;text-align:center;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@keyframes partnersMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.region-actions.three-regions button{font-size:46px;min-height:150px;}
.region-actions.three-regions button strong{font-size:18px;}
.region-actions.three-regions button small{font-size:12px;color:rgba(255,255,255,.68)}
@media(max-width:900px){
  .atlas-header-logo{width:62px;height:38px;}
  .brand{min-width:auto!important;gap:8px!important;}
  .brand-logo{width:46px!important;height:46px!important;border-radius:14px!important;}
  .brand-3m-img{width:35px;max-height:26px;}
  .brand strong{font-size:14px!important;}
  .brand small{font-size:8px!important;letter-spacing:1.2px!important;}
  .hero-slide{background-position:center center!important;min-height:100svh;padding:128px 18px 235px!important;}
  .hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.75));z-index:1;}
  .hero-slide .hero-content{position:relative;z-index:3;}
  .hero h1{font-size:40px!important;line-height:1.08!important;}
  .hero p{font-size:16px!important;line-height:1.65!important;}
  .hero .eyebrow,.hero-slide .eyebrow{font-size:12px!important;letter-spacing:1.5px!important;padding:8px 12px;}
  .hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%;}
  .hero-actions a{width:100%;max-width:none!important;}
  .journey-timeline{grid-template-columns:1fr;}
  .journey-line{display:none;}
  .journey-step{min-height:auto;}
  .partner-logo-card{width:155px;height:100px;}
  .partner-logo-card img{max-width:110px;max-height:46px;}
}


/* =========================================
   FINAL PARTNERS SHOWCASE FIX
   - no names under logos
   - no Atlas/3M brand cards in partners strip
   - bigger, clean, premium cards
========================================= */
.partners-section{
  padding-top:120px !important;
  padding-bottom:125px !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,31,31,.11), transparent 34%),
    var(--bg) !important;
}

.partners-section .section-head h2{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

.partners-marquee{
  width:100%;
  overflow:hidden;
  padding:22px 0 34px;
  mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.partners-track{
  display:flex !important;
  align-items:center !important;
  gap:24px !important;
  width:max-content !important;
  animation:partnersMove 58s linear infinite !important;
}

.partners-marquee:hover .partners-track{
  animation-play-state:paused !important;
}

.partner-logo-card{
  width:280px !important;
  height:165px !important;
  flex:0 0 280px !important;
  padding:26px !important;
  border-radius:30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:0 22px 65px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(18px) !important;
  overflow:hidden !important;
  transition:.35s ease !important;
}

.partner-logo-card::before{
  content:"";
  position:absolute;
  inset:-45%;
  background:radial-gradient(circle at 50% 50%, rgba(255,31,31,.14), transparent 48%);
  opacity:0;
  transition:.35s ease;
}

.partner-logo-card:hover{
  transform:translateY(-8px) scale(1.02) !important;
  border-color:rgba(255,31,31,.38) !important;
  box-shadow:0 28px 85px rgba(255,31,31,.13), 0 22px 65px rgba(0,0,0,.36) !important;
}

.partner-logo-card:hover::before{
  opacity:1;
}

.partner-logo-card img{
  position:relative !important;
  z-index:2 !important;
  width:auto !important;
  height:auto !important;
  max-width:220px !important;
  max-height:105px !important;
  object-fit:contain !important;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,.28)) !important;
}

.partner-logo-card span,
.partner-logo-card p,
.partner-logo-card small{
  display:none !important;
}

@media(max-width:900px){
  .partners-section{
    padding-top:85px !important;
    padding-bottom:95px !important;
  }
  .partners-track{
    gap:16px !important;
    animation-duration:45s !important;
  }
  .partner-logo-card{
    width:220px !important;
    height:130px !important;
    flex-basis:220px !important;
    padding:20px !important;
    border-radius:24px !important;
  }
  .partner-logo-card img{
    max-width:172px !important;
    max-height:82px !important;
  }
}

/* ===============================
   WHY 3M HERO FIX
================================ */

.why3m-hero,
.why3m-hero .hero-slide{
    min-height:92vh !important;
    height:92vh !important;
    overflow:hidden !important;
    padding:0 !important;
}

.why3m-hero .hero-slide{
    position:relative;
    width:100%;
    display:flex;
    align-items:center;
}

.why3m-hero .hero-content{
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    transform:translate(-50%, -50%) !important;
    width:min(1100px, 90%) !important;
    max-width:1100px !important;
    padding:0 !important;
    z-index:5;
}

.why3m-hero h1{
    font-size:clamp(44px, 5.2vw, 76px) !important;
    line-height:1.15 !important;
    margin-bottom:22px !important;
}

.why3m-hero p{
    font-size:21px !important;
    line-height:1.65 !important;
    max-width:900px !important;
    max-height:none !important;
    overflow:visible !important;
    margin-bottom:28px !important;
}

.why3m-hero .hero-actions{
    display:flex !important;
    gap:18px;
    margin-top:18px !important;
}

@media(max-width:768px){
    .why3m-hero,
    .why3m-hero .hero-slide{
        min-height:86vh !important;
        height:86vh !important;
    }

    .why3m-hero h1{
        font-size:38px !important;
    }

    .why3m-hero p{
        font-size:16px !important;
        line-height:1.7 !important;
    }
}


/* =========================
   COMMERCIAL PAGE ONLY
========================= */

.commercial-page-hero{
  min-height: 92vh;
  overflow: hidden;
}

.commercial-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35), rgba(0,0,0,.75)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

.commercial-services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.commercial-card{
  padding:26px;
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 25px 70px rgba(0,0,0,.35);
  min-height:260px;
  transition:.3s ease;
}

.commercial-card:hover{
  transform:translateY(-8px);
  border-color:rgba(255,31,31,.35);
  box-shadow:0 32px 90px rgba(0,0,0,.48), 0 0 35px rgba(255,31,31,.10);
}

.commercial-card i{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:rgba(255,31,31,.14);
  color:#ff1f1f;
  font-size:24px;
  margin-bottom:18px;
}

.commercial-card h3{
  font-size:22px;
  margin-bottom:10px;
  font-weight:900;
}

.commercial-card p{
  color:rgba(255,255,255,.68);
  line-height:1.8;
}

.commercial-process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.process-step{
  padding:24px;
  border-radius:24px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.1);
  min-height:210px;
  transition:.3s ease;
}

.process-step:hover{
  transform:translateY(-6px);
  background:rgba(255,255,255,.075);
  border-color:rgba(255,31,31,.28);
}

.process-step span{
  color:#ff1f1f;
  font-size:28px;
  font-weight:900;
  display:block;
  margin-bottom:12px;
}

.process-step h3{
  font-weight:900;
  margin-bottom:8px;
}

.process-step p{
  color:rgba(255,255,255,.68);
  line-height:1.75;
}

html[dir="ltr"] .commercial-card,
html[dir="ltr"] .process-step,
html[dir="ltr"] .section-head,
html[dir="ltr"] .hero-content{
  text-align:left;
}

html[dir="rtl"] .commercial-card,
html[dir="rtl"] .process-step,
html[dir="rtl"] .section-head,
html[dir="rtl"] .hero-content{
  text-align:right;
}

@media(max-width:900px){
  .commercial-page-hero{
    min-height: 86vh;
  }

  .commercial-services-grid,
  .commercial-process{
    grid-template-columns:1fr;
  }

  .commercial-card,
  .process-step{
    min-height:auto;
  }
}

/* MOBILE ONLY FIX */
@media (max-width: 768px){

  .site-header{
    height:78px !important;
    padding:8px 12px !important;
  }

  .desktop-nav,
  .site-header .ghost-btn,
  .site-header .primary-btn,
  .change-region-btn{
    display:none !important;
  }

  .menu-btn{
    display:flex !important;
  }

  .brand{
    min-width:0 !important;
    max-width:calc(100% - 48px) !important;
  }

  .brand-logos img,
  .logo-atlas{
    height:34px !important;
  }

  .logo-3m{
    height:38px !important;
  }

  .brand-text strong{
    font-size:12px !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .brand-text small{
    font-size:7px !important;
  }

  .hero-slide{
    min-height:100vh !important;
    padding:110px 18px 145px !important;
    align-items:center !important;
  }

  .hero-content{
    text-align:center !important;
    transform:translateY(-18px) !important;
    padding:0 !important;
  }

  .hero h1{
    font-size:42px !important;
    line-height:1.15 !important;
    letter-spacing:0 !important;
  }

  .hero p{
    font-size:16px !important;
    line-height:1.7 !important;
  }

  .hero-actions{
    flex-direction:column !important;
    width:100% !important;
  }

  .hero-actions a{
    width:100% !important;
    max-width:100% !important;
  }

  .floating-actions{
    bottom:80px !important;
    right:14px !important;
  }

  .float-btn{
    width:52px !important;
    height:52px !important;
  }
}

/* FINAL MOBILE HERO FIX */
@media (max-width: 768px){

  .site-header{
    height:72px !important;
    min-height:72px !important;
    padding:6px 12px !important;
    overflow:hidden !important;
  }

  .site-header img,
  .brand img,
  .brand-logos img,
  .logo-3m,
  .logo-atlas{
    max-height:34px !important;
    height:34px !important;
    width:auto !important;
    object-fit:contain !important;
  }

  .logo-3m{
    max-height:42px !important;
    height:42px !important;
  }

  .brand-text strong{
    font-size:13px !important;
    line-height:1.1 !important;
  }

  .brand-text small{
    font-size:8px !important;
  }

  .hero-slider,
  .hero,
  .page-hero{
    min-height:calc(100svh - 72px) !important;
    height:calc(100svh - 72px) !important;
    padding:0 !important;
    margin-top:72px !important;
    overflow:hidden !important;
  }

  .hero-slide{
    height:calc(100svh - 72px) !important;
    min-height:calc(100svh - 72px) !important;
    padding:0 24px 110px !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
  }

  .hero-content{
    width:100% !important;
    max-width:100% !important;
    text-align:center !important;
    transform:none !important;
    padding:0 !important;
  }

  .hero h1{
    font-size:42px !important;
    line-height:1.12 !important;
    margin:14px 0 18px !important;
  }

  .hero p{
    font-size:17px !important;
    line-height:1.7 !important;
    margin-bottom:22px !important;
  }

  .hero-actions{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    width:100% !important;
  }

  .hero-actions a{
    width:100% !important;
    max-width:100% !important;
    height:58px !important;
    border-radius:18px !important;
  }

  .hero-dots{
    bottom:80px !important;
  }

  .floating-actions{
    right:14px !important;
    bottom:92px !important;
  }

}


/* ===== MOBILE CLEAN FIX - HOME HERO ===== */
@media (max-width: 768px){

  body{
    overflow-x:hidden !important;
  }

  .site-header{
    height:76px !important;
    min-height:76px !important;
    padding:8px 14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    overflow:hidden !important;
  }

  .desktop-nav,
  .change-region-btn,
  .site-header .ghost-btn,
  .site-header .primary-btn{
    display:none !important;
  }

  .brand{
    flex:1 !important;
    min-width:0 !important;
    max-width:calc(100% - 52px) !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    overflow:hidden !important;
  }

  .brand-text{
    min-width:0 !important;
    max-width:135px !important;
    overflow:hidden !important;
  }

  .brand-text strong{
    font-size:12px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .brand-text small{
    font-size:7px !important;
    white-space:nowrap !important;
  }

  .brand-logos{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    flex-shrink:0 !important;
  }

  .brand-logos img,
  .logo-atlas,
  .brand-logo img,
  .atlas-header-logo img{
    width:auto !important;
    height:30px !important;
    max-height:30px !important;
    object-fit:contain !important;
  }

  .logo-3m{
    width:auto !important;
    height:38px !important;
    max-height:38px !important;
  }

  .header-actions{
    width:44px !important;
    min-width:44px !important;
    display:flex !important;
    justify-content:flex-end !important;
  }

  .theme-toggle,
  .lang-btn{
    display:none !important;
  }

  .menu-btn{
    display:flex !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border-radius:14px !important;
  }

  .mobile-menu{
    top:76px !important;
  }

  .hero,
  .hero-slider,
  .page-hero{
    margin-top:76px !important;
    min-height:calc(100svh - 76px) !important;
    height:calc(100svh - 76px) !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  .hero-slide{
    min-height:calc(100svh - 76px) !important;
    height:calc(100svh - 76px) !important;
    padding:0 22px 120px !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
    background-position:center !important;
  }

  .hero-content{
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 auto !important;
    text-align:center !important;
    transform:none !important;
  }

  .hero .eyebrow{
    margin:0 auto 14px !important;
    font-size:11px !important;
  }

  .hero h1{
    font-size:40px !important;
    line-height:1.12 !important;
    margin:0 0 18px !important;
  }

  .hero p{
    font-size:16px !important;
    line-height:1.65 !important;
    margin:0 0 24px !important;
  }

  .hero-actions{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    width:100% !important;
  }

  .hero-actions a{
    width:100% !important;
    height:56px !important;
    border-radius:18px !important;
  }

  .hero-dots{
    bottom:92px !important;
  }

  .floating-actions{
    right:14px !important;
    bottom:88px !important;
  }

  .float-btn{
    width:52px !important;
    height:52px !important;
  }
}
/* MOBILE MENU BUTTON FIX */
@media (max-width:768px){

  .menu-btn{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:48px !important;
    height:48px !important;

    background:rgba(255,255,255,.08) !important;
    border:1px solid rgba(255,255,255,.25) !important;
    border-radius:16px !important;

    position:relative !important;
  }


  .menu-btn span,
  .menu-btn::before,
  .menu-btn::after{
    content:"" !important;
    display:block !important;

    width:22px !important;
    height:2px !important;

    background:#fff !important;
    border-radius:5px !important;

    position:absolute !important;
  }


  .menu-btn::before{
    transform:translateY(-7px) !important;
  }

  .menu-btn span{
    transform:translateY(0) !important;
  }

  .menu-btn::after{
    transform:translateY(7px) !important;
  }


  }

/* ===== MOBILE HERO METRICS FIX ===== */
@media (max-width:768px){

  .hero-metrics{

    position:relative !important;
    z-index:50 !important;

    width:auto !important;

    margin:
      600px
      28px
      80px
      28px !important;

    padding:28px 18px !important;

    height:auto !important;
    min-height:auto !important;

    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;

    gap:0 !important;

    background:rgba(20,20,20,.72) !important;
    backdrop-filter:blur(18px) !important;

    border-radius:28px !important;
    border:1px solid rgba(255,255,255,.15) !important;

    overflow:hidden !important;
  }



  .hero-metrics div{

    min-height:120px !important;

    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;

    text-align:center !important;

    padding:15px 8px !important;

  }



  .hero-metrics strong{

    display:block !important;

    font-size:42px !important;
    font-weight:900 !important;

    line-height:1 !important;

    margin-bottom:18px !important;

    color:white !important;

  }



  .hero-metrics span{

    display:block !important;

    font-size:15px !important;
    line-height:1.5 !important;

    color:rgba(255,255,255,.75) !important;

  }


}





@media (max-width:768px){

.section.intro{

    position:relative !important;
    z-index:1 !important;

    margin-top:0 !important;
    padding-top:200px !important;

  }


  #experience{
    margin-top:0 !important;
    padding-top:70px !important;
  }

 }

@media (max-width:768px){

  .hero-metrics{
      position: relative;
      z-index: 5;
      margin-bottom: 80px !important;
      
  }

  #experience{
      position: relative;
      z-index: 1;
      transform: translateY(120px) !important;
      padding-top: 0 !important;
      margin-top: 0 !important;
  }

}

 
  
@media (max-width:768px){

  .hero,
  .hero-slider{
    height:auto !important;
    min-height:-500px !important;
    overflow:hidden !important;
  }


  .hero-metrics{
    position:relative !important;
    z-index:5 !important;
    margin-top:580px !important;
    margin-bottom:90px !important;
    transform:none !important;
  }

  #experience{
    transform:none !important;
    margin-top:0 !important;
    padding-top:0px !important;
  }

}

@media (max-width:768px){

  .hero-dots{
    position:relative !important;
    z-index:60 !important;

    bottom:auto !important;

    margin:
      25px
      auto
      20px
      auto !important;

    transform:none !important;
  }


  .hero-metrics{
    margin-top:580px !important;
  }

}


/* Smart Journey paragraph text */
.journey-step p{
  font-size:60px !important;
  line-height:2 !important;
  font-weight:600 !important;
}

/* Mobile */
@media (max-width:768px){
  .journey-step p{
    font-size:40px !important;
    line-height:1.9 !important;
  }
}


.atlas-footer{
  width:100%;
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(237,28,36,.26), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(40,90,180,.16), transparent 32%),
    linear-gradient(180deg,#07080c 0%,#020305 100%);
  border-top:1px solid rgba(255,255,255,.08);
}

.atlas-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
  pointer-events:none;
}

.atlas-footer-top{
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:85px 70px 60px;
  display:grid;
  grid-template-columns:1.1fr 1.7fr;
  gap:70px;
  align-items:start;
  position:relative;
  z-index:2;
}

.footer-brand-side{
  padding:34px;
  border-radius:34px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(20px);
  box-shadow:0 25px 80px rgba(0,0,0,.36);
}

.footer-logos{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:24px;
}

.footer-logos img{
  height:56px;
  max-width:150px;
  object-fit:contain;
}

.footer-logos span{
  font-size:28px;
  font-weight:900;
  color:#ed1c24;
}

.footer-brand-side h2{
  font-size:36px;
  font-weight:900;
  color:#ed1c24;
  letter-spacing:2px;
  margin:0 0 16px;
}

.footer-brand-side p{
  color:rgba(255,255,255,.76);
  font-size:16px;
  line-height:1.95;
  margin:0 0 24px;
}

.footer-social{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.footer-social a{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  transition:.25s ease;
  font-size:18px;
}

.footer-social a:hover{
  background:#ed1c24;
  border-color:#ed1c24;
  transform:translateY(-4px);
}

.footer-links-side{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  padding-top:18px;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:13px;
}

.footer-column h3{
  font-size:19px;
  font-weight:900;
  color:#fff;
  margin:0 0 10px;
}

.footer-column a,
.footer-column span{
  color:rgba(255,255,255,.68);
  text-decoration:none;
  font-size:15.5px;
  line-height:1.7;
  transition:.25s ease;
}

.footer-column a:hover{
  color:#ed1c24;
  transform:translateX(-6px);
}

.atlas-footer-bottom{
  position:relative;
  z-index:2;
  border-top:1px solid rgba(255,255,255,.08);
  max-width:1440px;
  margin:0 auto;
  padding:24px 70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:rgba(255,255,255,.48);
  font-size:14px;
}

.atlas-footer-bottom div{
  display:flex;
  gap:18px;
}

.atlas-footer-bottom a{
  color:rgba(255,255,255,.55);
  text-decoration:none;
  transition:.25s ease;
}

.atlas-footer-bottom a:hover{
  color:#ed1c24;
}


/* ===== TABLET ===== */
@media(max-width:1024px){

  .atlas-footer-top{
    padding:70px 36px 50px;
    grid-template-columns:1fr;
    gap:40px;
  }

  .footer-links-side{
    grid-template-columns:repeat(3,1fr);
  }

  .atlas-footer-bottom{
    padding:22px 36px;
  }

}


/* ===== MOBILE ===== */
@media(max-width:768px){

  .atlas-footer-top{
    padding:55px 18px 38px;
    gap:30px;
  }

  .footer-brand-side{
    padding:28px 20px;
    border-radius:28px;
    text-align:center;
  }

  .footer-logos{
    justify-content:center;
    gap:12px;
    margin-bottom:20px;
  }

  .footer-logos img{
    height:42px;
    max-width:112px;
  }

  .footer-logos span{
    font-size:22px;
  }

  .footer-brand-side h2{
    font-size:28px;
    margin-bottom:12px;
  }

  .footer-brand-side p{
    font-size:14.5px;
    line-height:1.9;
  }

  .footer-social{
    justify-content:center;
  }

  .footer-social a{
    width:42px;
    height:42px;
    font-size:17px;
  }

  .footer-links-side{
    grid-template-columns:1fr;
    gap:22px;
    text-align:center;
    padding-top:0;
  }

  .footer-column{
    align-items:center;
    padding:22px 18px;
    border-radius:24px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.08);
  }

  .footer-column h3{
    font-size:18px;
  }

  .footer-column a,
  .footer-column span{
    font-size:15px;
  }

  .footer-column a:hover{
    transform:none;
  }

  .atlas-footer-bottom{
    padding:22px 18px;
    flex-direction:column;
    text-align:center;
    font-size:12.5px;
  }

  .atlas-footer-bottom div{
    justify-content:center;
  }

}

.reviews-page{
  min-height:100vh;
  padding:150px 24px 90px;
  background:
    radial-gradient(circle at 20% 10%, rgba(237,28,36,.22), transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(40,90,180,.16), transparent 35%),
    linear-gradient(180deg,#07080c,#020305);
  color:#fff;
}

.reviews-hero{
  max-width:900px;
  margin:0 auto 60px;
  text-align:center;
}

.reviews-hero span{
  color:#ed1c24;
  font-size:15px;
  font-weight:900;
  letter-spacing:6px;
}

.reviews-hero h1{
  font-size:64px;
  line-height:1.15;
  margin:18px 0;
  font-weight:900;
}

.reviews-hero p{
  color:rgba(255,255,255,.68);
  font-size:18px;
  line-height:1.9;
}

.reviews-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.review-card{
  min-height:260px;
  padding:30px;
  border-radius:28px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(18px);
  box-shadow:0 25px 70px rgba(0,0,0,.28);
  transition:.3s ease;
}

.review-card:hover{
  transform:translateY(-8px);
  border-color:rgba(237,28,36,.55);
}

.review-stars{
  color:#ed1c24;
  font-size:20px;
  letter-spacing:3px;
  margin-bottom:20px;
}

.review-card p{
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.9;
  margin-bottom:24px;
}

.review-card h3{
  font-size:18px;
  color:#fff;
  margin:0;
  font-weight:900;
}

@media(max-width:1024px){
  .reviews-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .reviews-page{
    padding:120px 18px 70px;
  }

  .reviews-hero{
    margin-bottom:38px;
  }

  .reviews-hero span{
    font-size:12px;
    letter-spacing:4px;
  }

  .reviews-hero h1{
    font-size:42px;
  }

  .reviews-hero p{
    font-size:15px;
  }

  .reviews-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .review-card{
    min-height:auto;
    padding:24px 20px;
    border-radius:24px;
  }

  .review-card p{
    font-size:15px;
  }
}

/* ===== EXCLUSIVE HERO SLIDE ===== */
.hero-slide h1 span{
  color:#ed1c24;
}

.hero-slide:first-child{
  background-position:center center !important;
}

.hero-slide:first-child .hero-content{
  max-width:760px;
}

.hero-slide:first-child .eyebrow{
  color:#ed1c24;
  letter-spacing:5px;
  font-weight:900;
}

.hero-slide:first-child h1{
  font-size:64px;
  line-height:1.18;
}

.hero-slide:first-child p{
  max-width:620px;
  font-size:18px;
  line-height:1.9;
}

/* Mobile */
@media(max-width:768px){

  .hero-slide:first-child{
    background-position:center center !important;
  }

  .hero-slide:first-child .hero-content{
    text-align:center;
    max-width:100%;
  }

  .hero-slide:first-child .eyebrow{
    font-size:12px;
    letter-spacing:3px;
  }

  .hero-slide:first-child h1{
    font-size:36px !important;
    line-height:1.35 !important;
  }

  .hero-slide:first-child p{
    font-size:15px !important;
    line-height:1.8 !important;
  }

}
/* ==========================
   PARTNERS SLIDER FINAL
========================== */

.partners-section{
    overflow:hidden;
}


.partners-marquee{
    width:100%;
    overflow:hidden;
    position:relative;

    padding:35px 0;
}


.partners-track{

    display:flex;
    align-items:center;

    gap:30px;

    width:max-content;

    animation:
    partnersSlide 60s linear infinite;

    will-change:transform;

}


.partner-logo-card{

    flex:0 0 210px;

    height:120px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:20px;

    border-radius:24px;

    background:
    linear-gradient(
        145deg,
        rgba(255,255,255,.10),
        rgba(255,255,255,.02)
    );

    border:
    1px solid rgba(255,255,255,.12);

    transition:.35s ease;

}


.partner-logo-card img{

    width:100%;
    height:100%;

    object-fit:contain;

}


.partner-logo-card:hover{

    transform:
    translateY(-8px)
    scale(1.05);

    box-shadow:
    0 20px 50px
    rgba(227,27,35,.25);

}



/* الحركة */

@keyframes partnersSlide{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-33.333%);
    }

}




/* ===== MOBILE ===== */

@media(max-width:768px){


.partners-marquee{

    padding:25px 0;

}


.partners-track{

    gap:18px;

    animation-duration:38s;

}


.partner-logo-card{

    flex:0 0 140px;

    height:85px;

    padding:13px;

    border-radius:18px;

}


}
