/* Atlas Ã— 3M unified stylesheet. Internal CSS file count: 1. */
/* Generated from previous website CSS files and consolidated for Egypt + Saudi. */



/* ===== SOURCE: static/css/legacy-main.css ===== */
: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: 38px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  transition: .3s;
  white-space: nowrap;
}

.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("/static/images/franchise-hero-saudi.jpg");
  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);
}

/* Interactive before and after comparison slider */
.auto-visual-compare {
  --compare-position: 50%;
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  background: #111;
}

/* Magnetic CTA buttons */
@media (hover: hover) and (pointer: fine) {
  .primary-btn,
  .mobile-center-btn,
  .offer-notif-whatsapp-btn,
  .center-apply-btn,
  .glass-btn {
    position: relative;
    will-change: transform;
    transition: transform .34s cubic-bezier(.22, 1.35, .36, 1), box-shadow .28s ease, background .28s ease !important;
  }

  .primary-btn::after,
  .mobile-center-btn::after,
  .offer-notif-whatsapp-btn::after,
  .center-apply-btn::after,
  .glass-btn::after {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    border-radius: inherit;
    background: rgba(227, 6, 19, .24);
    filter: blur(14px);
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;
  }

  .primary-btn:hover::after,
  .mobile-center-btn:hover::after,
  .offer-notif-whatsapp-btn:hover::after,
  .center-apply-btn:hover::after,
  .glass-btn:hover::after {
    opacity: .75;
  }
}

.compare-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.compare-panel-before {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .9)), url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1200&auto=format&fit=crop");
  filter: grayscale(1) saturate(.55);
}

.compare-panel-after {
  clip-path: inset(0 0 0 var(--compare-position));
  background-image: linear-gradient(180deg, rgba(227, 6, 19, .08), rgba(0, 0, 0, .76)), url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=1200&auto=format&fit=crop");
}

.compare-panel-caption {
  display: grid;
  gap: 5px;
  max-width: min(72%, 300px);
  margin: 0 28px 28px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
}

.compare-panel-caption span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compare-panel-caption strong {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.25;
}

.compare-divider {
  position: absolute;
  inset-block: 0;
  left: var(--compare-position);
  z-index: 3;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(227, 6, 19, .8), 0 0 24px rgba(255, 255, 255, .5);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-divider > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e30613;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%);
}

.compare-metrics {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(7, 10, 14, .68);
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.compare-metrics strong {
  margin-inline-end: 3px;
  color: #63e6b0;
  font-size: 16px;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
  appearance: none;
}

@media (max-width: 700px) {
  .compare-metrics {
    top: 12px;
    right: 12px;
    padding: 8px 9px;
    font-size: 9px;
  }

  .compare-metrics strong {
    font-size: 13px;
  }

  .compare-panel-caption {
    margin: 0 18px 18px;
  }
}

.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 .btn-book-now: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;

  }


}

/* FORCE HEADER FIX */
.desktop-nav {
  gap: 18px !important;
}

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

.brand {
  margin-left: 30px !important;
}

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

.site-header {
  height: 76px !important;
  padding: 0 2vw !important;
}

.Logo-atlas {
  height: 42px !important;
}

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

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

.header-actions {
  gap: 10px !important;
}

.header-actions a,
.header-actions button {
  padding: 12px 18px !important;
  font-size: 15px !important;
}

/* FIX RTL PHONE NUMBER */
.float-btn,
.float-btn *,
a[href^="tel"],
a[href^="https://wa.me"],
.phone,
.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* HEADER FIX */
.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.desktop-nav a {
  font-size: 15px !important;
  white-space: nowrap !important;
  padding: 8px 4px !important;
}

.site-header {
  height: 88px !important;
}

.logo-atlas img,
.logo-3m img {
  max-height: 54px !important;
}

/* HEADER CLEAN FIX */
.site-header {
  height: 88px !important;
  overflow: visible !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

}

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  padding: 6px 3px !important;
  margin: 0 !important;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ© ÙÙ‚Ø· Ø¨ÙŠÙ† Ø§Ù„Ù…Ø±Ø§ÙƒØ² Ø§Ù„Ù…Ø¹ØªÙ…Ø¯Ø© ÙˆØ§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© */
.desktop-nav a:first-child {
  margin-left: 28px !important;
}

/* Ø²Ø± ÙƒÙ† Ù…Ø±ÙƒØ²Ø§Ù‹ Ù…Ø¹ØªÙ…Ø¯Ø§Ù‹ ÙŠØ¸Ù‡Ø± ÙƒØ§Ù…Ù„ */
.header-actions {
  gap: 8px !important;
}

.header-actions a,
.header-actions button {
  font-size: 13px !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
}

/* ===== SMART JOURNEY FIX ===== */

.smart-journey .journey-step {
  padding: 35px 25px !important;
  min-height: 320px !important;
}

.smart-journey .journey-step h3 {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

.smart-journey .journey-step p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.smart-journey .journey-step span {
  width: 55px !important;
  height: 55px !important;
  font-size: 18px !important;
}





/* === ATLAS SERVICES DROPDOWN PATCH === */
.atlas-services-dd {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
  display: flex;
  align-items: center
}

.atlas-services-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(880px, calc(100vw - 42px));
  background: rgba(9, 10, 14, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 20000
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0)
}

.atlas-services-panel b {
  display: block;
  color: #ff2835;
  margin-bottom: 10px;
  font-size: 15px
}

.atlas-services-panel a {
  display: block;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.35
}

.atlas-services-panel a:hover {
  background: rgba(227, 6, 19, .14);
  color: #ff2835 !important
}

@media(max-width:980px) {
  .atlas-services-dd {
    display: none
  }

  .atlas-services-panel {
    display: none
  }
}

/* country modal small fix */
.region-card button[data-country="ae"] {
  display: none !important
}

/* ===== Atlas mobile controls fix: language + country visible in mobile menu ===== */
.mobile-top-controls {
  display: none;
}

@media (max-width: 900px) {
  .mobile-top-controls {
    display: grid !important;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
  }

  .mobile-lang-btn,
  .mobile-region-btn {
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  }

  .mobile-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .04em;
  }

  .mobile-region-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    text-align: center;
  }

  .mobile-region-btn i {
    color: #ff2a2a;
  }

  html[data-theme="light"] .mobile-lang-btn,
  html[data-theme="light"] .mobile-region-btn {
    background: rgba(0, 0, 0, .045);
    border-color: rgba(0, 0, 0, .1);
    color: #111827;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  }

  .mobile-menu-content {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
}


/* ===== SOURCE: static/css/final-polish.css ===== */
/* =====================================================
   ATLAS Ã— 3M FINAL POLISH PATCH
   Mobile/Tablet + Light/Dark + Page Consistency + Centers reset
===================================================== */

/* ---------- GLOBAL THEME TOKENS ---------- */
:root {
  --atlas-bg: #050608;
  --atlas-bg-soft: #0d1015;
  --atlas-card: rgba(255, 255, 255, .055);
  --atlas-card-solid: #11151c;
  --atlas-text: #ffffff;
  --atlas-text-soft: rgba(255, 255, 255, .72);
  --atlas-muted: rgba(255, 255, 255, .52);
  --atlas-border: rgba(255, 255, 255, .12);
  --atlas-red: #e30613;
  --atlas-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

html[data-theme="light"] {
  --atlas-bg: #f5f6f8;
  --atlas-bg-soft: #ffffff;
  --atlas-card: rgba(255, 255, 255, .92);
  --atlas-card-solid: #ffffff;
  --atlas-text: #101217;
  --atlas-text-soft: rgba(16, 18, 23, .74);
  --atlas-muted: rgba(16, 18, 23, .58);
  --atlas-border: rgba(0, 0, 0, .11);
  --atlas-shadow: 0 22px 55px rgba(15, 23, 42, .10);
}

html[data-theme="light"] body {
  background: var(--atlas-bg) !important;
  color: var(--atlas-text) !important;
}

html[data-theme="light"] .main-wrapper,
html[data-theme="light"] main,
html[data-theme="light"] section:not(.hero):not(.page-hero),
html[data-theme="light"] .section,
html[data-theme="light"] .content-shell {
  background: transparent !important;
  color: var(--atlas-text) !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] label,
html[data-theme="light"] small,
html[data-theme="light"] strong,
html[data-theme="light"] a:not(.primary-btn):not(.glass-btn):not(.ghost-btn),
html[data-theme="light"] .section-head p,
html[data-theme="light"] .content-card p,
html[data-theme="light"] .content-card li,
html[data-theme="light"] .service-detail-hero p {
  color: var(--atlas-text) !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-head .eyebrow,
html[data-theme="light"] .content-card h3 {
  color: var(--atlas-red) !important;
}

html[data-theme="light"] .eco-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .content-card,
html[data-theme="light"] .center-panel,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .center-summary,
html[data-theme="light"] .form-card,
html[data-theme="light"] .booking-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .franchise-card,
html[data-theme="light"] .contact-card {
  background: var(--atlas-card) !important;
  border-color: var(--atlas-border) !important;
  box-shadow: var(--atlas-shadow) !important;
  color: var(--atlas-text) !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #fff !important;
  color: #111 !important;
  border-color: var(--atlas-border) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(0, 0, 0, .48) !important;
}

/* make image/model areas readable in light mode without destroying the old design */
html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .service-detail-hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(227, 6, 19, .16), transparent 32%),
    linear-gradient(135deg, #ffffff, #eef1f6) !important;
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .service-detail-hero h1,
html[data-theme="light"] .hero p,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .service-detail-hero p {
  color: #111 !important;
}

html[data-theme="light"] img.logo-atlas,
html[data-theme="light"] .footer-logos img,
html[data-theme="light"] .brand-logos img {
  filter: none !important;
}

/* ---------- HEADER STABILITY ---------- */
.site-header {
  overflow: visible !important;
  isolation: isolate;
}

.theme-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 999px !important;
}

.theme-toggle[hidden] {
  display: inline-flex !important;
}

.theme-toggle i {
  margin: 0 !important;
  line-height: 1 !important;
}

.atlas-services-dd {
  position: relative !important;
  padding-bottom: 18px !important;
  margin-bottom: -18px !important;
}

.atlas-services-panel {
  pointer-events: none;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.atlas-services-panel b,
.atlas-services-panel a {
  white-space: normal !important;
}

/* ---------- CONSISTENT PAGE LAYOUT ---------- */
.page-hero,
.service-detail-hero {
  min-height: 430px !important;
  display: flex !important;
  align-items: center !important;
}

.section,
.content-shell {
  width: min(1220px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}

.section-head,
.hero-content,
.service-detail-wrap {
  max-width: 1180px !important;
  margin-inline: auto !important;
}

/* ---------- CENTERS RESET BUTTON MUST NOT STICK OR SCROLL SEPARATELY ---------- */
.center-summary {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}

.reset-filters-btn,
#resetCenterFilters,
#resetFilters {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.center-panel {
  position: relative !important;
}

/* ---------- MOBILE / TABLET ---------- */
@media (max-width:1180px) {
  .site-header {
    min-height: 76px !important;
    padding: 12px 16px !important;
    gap: 10px !important;
  }

  .brand {
    min-width: 0 !important;
    max-width: 210px !important;
  }

  .brand-logos img.logo-3m,
  .brand-logos .logo-3m {
    width: auto !important;
    max-width: 58px !important;
    height: 32px !important;
    object-fit: contain !important;
  }

  .brand-logos img.logo-atlas,
  .brand-logos .logo-atlas {
    width: auto !important;
    max-width: 98px !important;
    height: 32px !important;
    object-fit: contain !important;
  }

  .brand-text strong {
    font-size: 13px !important;
  }

  .brand-text small {
    font-size: 11px !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-actions {
    margin-inline-start: auto !important;
    gap: 8px !important;
  }

  .header-actions>.ghost-btn:not(.change-region-btn),
  .header-actions>.primary-btn {
    display: none !important;
  }

  .change-region-btn span {
    display: none !important;
  }

  .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .mobile-menu {
    position: fixed !important;
    top: 76px !important;
    inset-inline: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 96px) !important;
    overflow: auto !important;
    border-radius: 22px !important;
    z-index: 9998 !important;
    background: rgba(8, 10, 15, .96) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  html[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, .96) !important;
    border-color: rgba(0, 0, 0, .11) !important;
  }

  .mobile-menu-content {
    padding: 14px !important;
    display: grid !important;
    gap: 8px !important;
  }

  .mobile-menu-content a {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
  }

  html[data-theme="light"] .mobile-menu-content a {
    background: rgba(0, 0, 0, .045) !important;
    color: #111 !important;
  }

  .hero,
  .page-hero,
  .service-detail-hero {
    min-height: auto !important;
    padding: 122px 18px 54px !important;
  }

  .hero-content h1,
  .page-hero h1,
  .service-detail-hero h1 {
    font-size: clamp(30px, 8vw, 54px) !important;
    line-height: 1.14 !important;
  }

  .hero-content p,
  .page-hero p,
  .service-detail-hero p {
    font-size: 16px !important;
    line-height: 1.85 !important;
  }

  .section,
  .content-shell {
    width: min(100% - 28px, 1180px) !important;
    margin-top: 44px !important;
    margin-bottom: 44px !important;
  }

  .map-layout,
  .services-grid,
  .cards-grid,
  .features-grid,
  .contact-grid,
  .booking-grid,
  .franchise-grid,
  .warranty-grid {
    grid-template-columns: 1fr !important;
  }

  .atlas-map-wrap,
  .saudi-map,
  .atlas-leaflet-map {
    min-height: 360px !important;
    height: 360px !important;
  }

  .center-panel {
    max-height: none !important;
    overflow: visible !important;
    padding-inline-end: 0 !important;
  }

  .center-summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .reset-filters-btn {
    flex: 0 0 auto !important;
  }
}

@media (max-width:680px) {
  .site-header {
    padding: 10px 12px !important;
  }

  .brand {
    max-width: 162px !important;
  }

  .brand-text strong {
    font-size: 11px !important;
  }

  .brand-text small {
    display: none !important;
  }

  .brand-logos {
    gap: 7px !important;
  }

  .brand-logos span {
    opacity: .55 !important;
  }

  .brand-logos img.logo-3m,
  .brand-logos .logo-3m {
    max-width: 44px !important;
    height: 25px !important;
  }

  .brand-logos img.logo-atlas,
  .brand-logos .logo-atlas {
    max-width: 72px !important;
    height: 25px !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .lang-btn,
  .theme-toggle,
  .change-region-btn,
  .menu-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }

  .hero,
  .page-hero,
  .service-detail-hero {
    padding-top: 108px !important;
  }

  .hero-actions,
  .detail-cta,
  .cta-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions a,
  .detail-cta a,
  .cta-actions a,
  .primary-btn,
  .glass-btn,
  .ghost-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .content-card {
    padding: 22px 18px !important;
    border-radius: 24px !important;
  }

  .content-card p,
  .content-card li {
    font-size: 15.5px !important;
    line-height: 1.9 !important;
  }

  .center-summary strong {
    font-size: 24px !important;
  }

  .reset-filters-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =====================================================
   V9 FIXES - centers stay Arabic + mobile service scroll + stronger theme
===================================================== */

/* Centers/search: keep Arabic even in English */
.no-translate,
.no-translate * {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="ltr"] .no-translate,
html[dir="ltr"] .no-translate * {
  direction: rtl !important;
  text-align: right !important;
}

.no-translate input,
.no-translate select,
.no-translate textarea {
  direction: rtl !important;
  text-align: right !important;
}

.no-translate .center-summary {
  position: static !important;
  top: auto !important;
}

.no-translate .reset-filters-btn,
.no-translate #resetCenterFilters,
.no-translate #resetFilters {
  position: static !important;
  top: auto !important;
  transform: none !important;
}

/* Stronger light/dark readability */
html[data-theme="dark"] body {
  background: #050608 !important;
  color: #fff !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .atlas-services-panel {
  background: rgba(8, 10, 15, .94) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

html[data-theme="dark"] .content-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .eco-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .atlas-center-card,
html[data-theme="dark"] .center-panel,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .booking-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .warranty-card,
html[data-theme="dark"] .franchise-card {
  background: rgba(255, 255, 255, .055) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] span,
html[data-theme="dark"] a:not(.primary-btn):not(.glass-btn):not(.ghost-btn),
html[data-theme="dark"] label,
html[data-theme="dark"] small {
  color: inherit;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .atlas-services-panel {
  background: rgba(255, 255, 255, .96) !important;
  color: #101217 !important;
  border-color: rgba(0, 0, 0, .12) !important;
}

html[data-theme="light"] .desktop-nav a,
html[data-theme="light"] .atlas-services-panel a,
html[data-theme="light"] .atlas-services-panel b,
html[data-theme="light"] .mobile-menu-content a,
html[data-theme="light"] .mobile-menu-content button,
html[data-theme="light"] .brand-text strong,
html[data-theme="light"] .brand-text small {
  color: #101217 !important;
}

html[data-theme="light"] .hero::before,
html[data-theme="light"] .page-hero::before,
html[data-theme="light"] .service-detail-hero::before {
  opacity: .12 !important;
}

html[data-theme="light"] .noise-layer,
html[data-theme="light"] .gradient-orb {
  opacity: .12 !important;
}

html[data-theme="light"] .content-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .eco-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .center-panel,
html[data-theme="light"] .form-card,
html[data-theme="light"] .booking-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .franchise-card {
  background: #fff !important;
  color: #101217 !important;
  border-color: rgba(0, 0, 0, .12) !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .10) !important;
}

html[data-theme="light"] .primary-btn,
html[data-theme="light"] .book-btn,
html[data-theme="light"] .action-book {
  color: #fff !important;
}

/* Mobile-only services dropdown/scroll */
.mobile-services-toggle {
  display: none;
}

@media (max-width:1180px) {
  .mobile-menu-content .mobile-services-toggle {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 0 !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    font: inherit !important;
    font-weight: 800 !important;
    cursor: pointer !important;
  }

  html[data-theme="light"] .mobile-menu-content .mobile-services-toggle {
    background: rgba(0, 0, 0, .045) !important;
    color: #111 !important;
  }

  .mobile-services-toggle::after {
    content: "â–¾";
    font-size: 12px;
    opacity: .8;
  }

  .mobile-menu.services-open .mobile-services-toggle::after {
    content: "â–´";
  }

  .mobile-services-panel {
    display: none !important;
    max-height: 46vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 12px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    background: rgba(255, 255, 255, .045) !important;
  }

  html[data-theme="light"] .mobile-services-panel {
    background: rgba(0, 0, 0, .035) !important;
    border-color: rgba(0, 0, 0, .10) !important;
  }

  .mobile-menu.services-open .mobile-services-panel {
    display: grid !important;
    gap: 8px !important;
  }

  .mobile-services-panel strong {
    color: #ff3333 !important;
    font-weight: 900 !important;
    padding: 8px 4px 3px !important;
  }

  .mobile-services-panel a {
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    white-space: normal !important;
  }

  /* desktop mega dropdown should not break mobile, it becomes scrollable if shown */
  .atlas-services-panel,
  .mega-menu,
  .services-dropdown,
  .dropdown-menu {
    max-height: 62vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* centers stay normal mobile scroll, no sticky filter */
  .center-panel.no-translate {
    max-height: none !important;
    overflow: visible !important;
  }

  .center-panel.no-translate .atlas-center-card,
  .center-panel.no-translate .center-card {
    min-width: 0 !important;
  }
}

@media (max-width:680px) {
  .mobile-services-panel {
    max-height: 42vh !important;
  }
}

/* =========================================================
   V10 TARGETED FIX: MOBILE CENTERS SCROLL + TRUE LIGHT MODE
   ========================================================= */

/* --- real light palette for the whole old design --- */
html[data-theme="light"] body,
html[data-theme="light"] .main-wrapper {
  background: #f5f6f8 !important;
  color: #111318 !important;
}

html[data-theme="light"] .header,
html[data-theme="light"] .site-header,
html[data-theme="light"] .desktop-nav,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-menu-content,
html[data-theme="light"] .atlas-services-panel,
html[data-theme="light"] .mega-menu,
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .footer,
html[data-theme="light"] .section,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .content-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .center-card,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .center-panel,
html[data-theme="light"] .center-summary,
html[data-theme="light"] .map-card,
html[data-theme="light"] .glass,
html[data-theme="light"] .booking-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .form-card {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .12) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08) !important;
}

html[data-theme="light"] .section:nth-child(even),
html[data-theme="light"] .hero,
html[data-theme="light"] .page-wrap,
html[data-theme="light"] .map-section {
  background: #f5f6f8 !important;
  color: #111318 !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] a,
html[data-theme="light"] label,
html[data-theme="light"] button,
html[data-theme="light"] strong,
html[data-theme="light"] b {
  color: #111318 !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .red,
html[data-theme="light"] .accent,
html[data-theme="light"] .section-head .eyebrow,
html[data-theme="light"] .atlas-services-panel b,
html[data-theme="light"] .mega-col h3,
html[data-theme="light"] .mobile-services-panel strong,
html[data-theme="light"] .brand .logo-3m,
html[data-theme="light"] .text-red {
  color: #d71920 !important;
}

html[data-theme="light"] .muted,
html[data-theme="light"] .subtitle,
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .card p,
html[data-theme="light"] small,
html[data-theme="light"] .footer p {
  color: #555c67 !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .search-box,
html[data-theme="light"] .filter-select {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .18) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #737b86 !important;
}

html[data-theme="light"] .primary-btn,
html[data-theme="light"] .book-btn,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .reset-filters-btn,
html[data-theme="light"] .map-pin,
html[data-theme="light"] .marker-bubble {
  background: #d71920 !important;
  color: #fff !important;
  border-color: #d71920 !important;
}

html[data-theme="light"] .primary-btn *,
html[data-theme="light"] .book-btn *,
html[data-theme="light"] .btn-primary *,
html[data-theme="light"] .reset-filters-btn *,
html[data-theme="light"] .map-pin *,
html[data-theme="light"] .marker-bubble * {
  color: #fff !important;
}

html[data-theme="light"] .secondary-btn,
html[data-theme="light"] .ghost-btn {
  background: #fff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .16) !important;
}

html[data-theme="light"] img,
html[data-theme="light"] video,
html[data-theme="light"] canvas,
html[data-theme="light"] model-viewer {
  filter: none !important;
}

/* Theme switch shape and icon visibility */
#themeBtn,
.theme-toggle,
.mode-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

html[data-theme="light"] #themeBtn,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .mode-toggle {
  background: #111318 !important;
  color: #fff !important;
  border-color: #111318 !important;
}

html[data-theme="dark"] #themeBtn,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .mode-toggle {
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}

html[data-theme="light"] #themeBtn i,
html[data-theme="light"] #themeBtn span,
html[data-theme="light"] .theme-toggle i,
html[data-theme="light"] .mode-toggle i {
  color: #fff !important;
}

/* --- mobile centers: list scrolls inside a fixed panel, not one huge page --- */
@media (max-width: 900px) {
  .map-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .atlas-real-map,
  #regionMap,
  .atlas-map-wrap,
  #atlasSaudiLeafletMap {
    width: 100% !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    position: relative !important;
    top: auto !important;
  }

  .center-panel.no-translate,
  .center-panel {
    width: 100% !important;
    height: auto !important;
    max-height: 68vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px !important;
    overscroll-behavior: contain !important;
    border-radius: 22px !important;
  }

  .center-summary {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    margin-bottom: 12px !important;
    padding: 12px !important;
    border-radius: 18px !important;
    backdrop-filter: blur(12px) !important;
  }

  .center-search,
  .center-filters,
  .filters-row,
  .filter-bar {
    position: static !important;
    top: auto !important;
  }

  .reset-filters-btn,
  #resetCenterFilters,
  #resetFilters {
    position: static !important;
    top: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
  }

  .atlas-center-card,
  .center-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 520px) {

  .center-panel.no-translate,
  .center-panel {
    max-height: 64vh !important;
    padding: 12px !important;
  }

  .atlas-real-map,
  #regionMap,
  .atlas-map-wrap,
  #atlasSaudiLeafletMap {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}


/* ===== SOURCE: static/css/atlas-final-unified.css ===== */

/* Atlas final unified patch - keeps old files safe but centralizes the latest overrides */
:root {
  --atlas-red: #e30613;
  --atlas-dark: #070b12;
  --atlas-card: rgba(255, 255, 255, .075);
  --atlas-border: rgba(255, 255, 255, .16)
}

html[data-theme="light"] {
  --atlas-card: rgba(0, 0, 0, .045);
  --atlas-border: rgba(0, 0, 0, .12)
}

.site-header .primary-btn[data-i18n="become_center"],
.site-header .mobile-center-btn[data-i18n="become_center"] {
  white-space: nowrap
}

.booking-form-grid select[name="center"] {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--atlas-border);
  background: var(--atlas-card);
  color: inherit;
  padding: 0 16px;
  font-family: inherit;
  outline: none
}

.booking-form-grid select[name="center"] option {
  background: #0b111c;
  color: #fff
}

html[data-theme="light"] .booking-form-grid select[name="center"] option {
  background: #fff;
  color: #111
}

.booking-form-grid input,
.booking-form-grid select,
.booking-form-grid textarea {
  box-sizing: border-box
}

@media (max-width:768px) {
  .booking-form-grid {
    grid-template-columns: 1fr !important
  }

  .desktop-nav a[data-i18n="become_center"] {
    display: none !important
  }

  .mobile-center-btn {
    display: flex !important;
    justify-content: center;
    align-items: center
  }
}


/* ===== SOURCE: website/static/css/atlas-final-unified.css ===== */

/* Atlas final unified patch - keeps old files safe but centralizes the latest overrides */
:root {
  --atlas-red: #e30613;
  --atlas-dark: #070b12;
  --atlas-card: rgba(255, 255, 255, .075);
  --atlas-border: rgba(255, 255, 255, .16)
}

html[data-theme="light"] {
  --atlas-card: rgba(0, 0, 0, .045);
  --atlas-border: rgba(0, 0, 0, .12)
}

.site-header .primary-btn[data-i18n="become_center"],
.site-header .mobile-center-btn[data-i18n="become_center"] {
  white-space: nowrap
}

.booking-form-grid select[name="center"] {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--atlas-border);
  background: var(--atlas-card);
  color: inherit;
  padding: 0 16px;
  font-family: inherit;
  outline: none
}

.booking-form-grid select[name="center"] option {
  background: #0b111c;
  color: #fff
}

html[data-theme="light"] .booking-form-grid select[name="center"] option {
  background: #fff;
  color: #111
}

.booking-form-grid input,
.booking-form-grid select,
.booking-form-grid textarea {
  box-sizing: border-box
}

@media (max-width:768px) {
  .booking-form-grid {
    grid-template-columns: 1fr !important
  }

  .desktop-nav a[data-i18n="become_center"] {
    display: none !important
  }

  .mobile-center-btn {
    display: flex !important;
    justify-content: center;
    align-items: center
  }
}


/* ===== SOURCE: static/css/01-base-loader-background.css ===== */
: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;
}


/* ===== SOURCE: static/css/02-header-core.css ===== */
/* 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: 38px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  transition: .3s;
  white-space: nowrap;
}

.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;
}


/* ===== SOURCE: static/css/03-home-hero-sections-map.css ===== */
/* 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;
}


/* ===== SOURCE: static/css/04-footer-rtl-responsive-core.css ===== */
/* 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;
  }
}


/* ===== SOURCE: static/css/05-platform-extensions.css ===== */
/* =========================
   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;
  }
}


/* ===== SOURCE: static/css/06-old-header-and-mobile-patches.css ===== */
/* =========================
   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
========================= */


/* ===== SOURCE: static/css/07-command-os-and-pages.css ===== */
/* =========================
   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;
  }
}


/* ===== SOURCE: static/css/08-services-centers-pages.css ===== */
/* =====================================
   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("/static/images/franchise-hero-saudi.jpg");
  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 .btn-book-now: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;
  }
}


/* ===== SOURCE: static/css/09-header-theme-mobile-final-fixes.css ===== */
/* =====================
   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;

  }


}

/* FORCE HEADER FIX */
.desktop-nav {
  gap: 18px !important;
}

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

.brand {
  margin-left: 30px !important;
}

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

.site-header {
  height: 76px !important;
  padding: 0 2vw !important;
}

.Logo-atlas {
  height: 42px !important;
}

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

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

.header-actions {
  gap: 10px !important;
}

.header-actions a,
.header-actions button {
  padding: 12px 18px !important;
  font-size: 15px !important;
}

/* FIX RTL PHONE NUMBER */
.float-btn,
.float-btn *,
a[href^="tel"],
a[href^="https://wa.me"],
.phone,
.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* HEADER FIX */
.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.desktop-nav a {
  font-size: 15px !important;
  white-space: nowrap !important;
  padding: 8px 4px !important;
}

.site-header {
  height: 88px !important;
}

.logo-atlas img,
.logo-3m img {
  max-height: 54px !important;
}

/* HEADER CLEAN FIX */
.site-header {
  height: 88px !important;
  overflow: visible !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

}

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  padding: 6px 3px !important;
  margin: 0 !important;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ© ÙÙ‚Ø· Ø¨ÙŠÙ† Ø§Ù„Ù…Ø±Ø§ÙƒØ² Ø§Ù„Ù…Ø¹ØªÙ…Ø¯Ø© ÙˆØ§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© */
.desktop-nav a:first-child {
  margin-left: 28px !important;
}

/* Ø²Ø± ÙƒÙ† Ù…Ø±ÙƒØ²Ø§Ù‹ Ù…Ø¹ØªÙ…Ø¯Ø§Ù‹ ÙŠØ¸Ù‡Ø± ÙƒØ§Ù…Ù„ */
.header-actions {
  gap: 8px !important;
}

.header-actions a,
.header-actions button {
  font-size: 13px !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
}

/* ===== SMART JOURNEY FIX ===== */

.smart-journey .journey-step {
  padding: 35px 25px !important;
  min-height: 320px !important;
}

.smart-journey .journey-step h3 {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

.smart-journey .journey-step p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.smart-journey .journey-step span {
  width: 55px !important;
  height: 55px !important;
  font-size: 18px !important;
}





/* === ATLAS SERVICES DROPDOWN PATCH === */
.atlas-services-dd {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
  display: flex;
  align-items: center
}

.atlas-services-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(880px, calc(100vw - 42px));
  background: rgba(9, 10, 14, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 20000
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0)
}

.atlas-services-panel b {
  display: block;
  color: #ff2835;
  margin-bottom: 10px;
  font-size: 15px
}

.atlas-services-panel a {
  display: block;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.35
}

.atlas-services-panel a:hover {
  background: rgba(227, 6, 19, .14);
  color: #ff2835 !important
}

@media(max-width:980px) {
  .atlas-services-dd {
    display: none
  }

  .atlas-services-panel {
    display: none
  }
}

/* country modal small fix */
.region-card button[data-country="ae"] {
  display: none !important
}

/* =========================================================
   FINAL IMAGE VISIBILITY FIX
   Purpose: Light mode must NOT dim / wash / invert images.
   Keep all photos, hero backgrounds, sliders, and service images
   visible exactly like dark mode.
========================================================= */

body.light-mode img,
body.light-mode picture,
body.light-mode video,
body.light-mode canvas,
body.light-mode model-viewer,
body.light-mode .hero-bg,
body.light-mode .hero-slide,
body.light-mode .hero-slider,
body.light-mode .final-bg,
body.light-mode .page-hero,
body.light-mode .page-hero .hero-slide,
body.light-mode .services-hero-bg,
body.light-mode .warranty-hero-bg,
body.light-mode .franchise-hero-bg,
body.light-mode .contact-hero-bg,
body.light-mode .service-card img,
body.light-mode .sim-before,
body.light-mode .sim-after img,
body.light-mode .qr-code-box img,
body.light-mode .job-photo-card img,
body.light-mode .signature-preview img,
body.light-mode .login-visual,
body.light-mode .os-hero,
body.light-mode .inv-hero,
body.light-mode .franchise-hero,
body.light-mode .warranty-enterprise-hero,
body.light-mode .services-page-hero,
body.light-mode [style*="background-image"],
body.light-mode [style*="url("] {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Keep photo cards readable without destroying the image */
body.light-mode .service-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 62%) !important;
}

body.light-mode .service-card:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08);
}

/* Hero photo overlay in light mode: transparent enough to show image */
body.light-mode .hero-vignette,
body.light-mode .page-hero .hero-slide::before {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .08), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .10), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .34)) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Slider overlays should not hide the photo in light mode */
body.light-mode .hero-slide::before,
body.light-mode .hero-slide::after,
body.light-mode .final-cta::before {
  opacity: .65 !important;
  mix-blend-mode: normal !important;
}

/* Logos should remain clean and sharp in light mode */
body.light-mode .brand-logos img,
body.light-mode .logo-3m,
body.light-mode .logo-atlas,
body.light-mode .footer-brand img,
body.light-mode .loader-logo img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* If any old light-mode rule added white layers above images, disable it */
body.light-mode .image-overlay,
body.light-mode .photo-overlay,
body.light-mode .light-overlay {
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =================================================
   LIGHT MODE - WARRANTY / DARK CARDS FIX
================================================= */

body.light-mode .warranty-card,
body.light-mode .warranty-wallet,
body.light-mode .verify-card,
body.light-mode .protection-card,
body.light-mode .glass-card,
body.light-mode .dark-card {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #15171d !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08) !important;
}

/* Ø§Ù„Ù†ØµÙˆØµ Ø§Ù„Ù„ÙŠ Ø¬ÙˆÙ‡ Ø§Ù„ÙƒØ§Ø±Øª */
body.light-mode .warranty-card *,
body.light-mode .warranty-wallet *,
body.light-mode .verify-card *,
body.light-mode .protection-card *,
body.light-mode .glass-card *,
body.light-mode .dark-card * {
  color: #15171d !important;
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† Ø§Ù„ØµØºÙŠØ± Ø§Ù„Ø£Ø­Ù…Ø± ÙŠÙØ¶Ù„ */
body.light-mode .warranty-card .eyebrow,
body.light-mode .warranty-wallet .eyebrow,
body.light-mode .verify-card .eyebrow {
  color: #d71920 !important;
}

/* FIX RIGHT WARRANTY CARD IN LIGHT MODE */
body.light-mode .digital-warranty-card {
  background: #ffffff !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .10) !important;
}

body.light-mode .digital-warranty-card::before,
body.light-mode .digital-warranty-card::after {
  opacity: .04 !important;
}

body.light-mode .digital-warranty-card h1,
body.light-mode .digital-warranty-card h2,
body.light-mode .digital-warranty-card h3,
body.light-mode .digital-warranty-card h4,
body.light-mode .digital-warranty-card p,
body.light-mode .digital-warranty-card span,
body.light-mode .digital-warranty-card strong,
body.light-mode .digital-warranty-card div {
  color: #111319 !important;
}

body.light-mode .digital-warranty-card .studio-label,
body.light-mode .digital-warranty-card .eyebrow,
body.light-mode .digital-warranty-card .card-top {
  color: #d71920 !important;
}


/* ==================================================
   ATLAS FINAL MANUAL FIX
   - Warranty card light mode
   - Mobile language/theme buttons
   - Keep images visible in light mode
================================================== */

/* Support all theme states used by old JS files */
body.light,
body.light-mode,
html[data-theme="light"] body {
  background: #f4f6fa !important;
  color: #111319 !important;
}

/* Warranty right card - real class from warranty page */
body.light .digital-warranty-card,
body.light-mode .digital-warranty-card,
html[data-theme="light"] .digital-warranty-card {
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 32, .10), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 247, 250, .94)) !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .10) !important;
}

body.light .digital-warranty-card::before,
body.light-mode .digital-warranty-card::before,
html[data-theme="light"] .digital-warranty-card::before {
  opacity: .18 !important;
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 32, .16), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, .04), transparent 34%) !important;
}

body.light .digital-warranty-card::after,
body.light-mode .digital-warranty-card::after,
html[data-theme="light"] .digital-warranty-card::after {
  color: rgba(215, 25, 32, .045) !important;
  opacity: 1 !important;
}

body.light .digital-warranty-card h1,
body.light .digital-warranty-card h2,
body.light .digital-warranty-card h3,
body.light .digital-warranty-card h4,
body.light .digital-warranty-card p,
body.light .digital-warranty-card span,
body.light .digital-warranty-card strong,
body.light .digital-warranty-card div,
body.light-mode .digital-warranty-card h1,
body.light-mode .digital-warranty-card h2,
body.light-mode .digital-warranty-card h3,
body.light-mode .digital-warranty-card h4,
body.light-mode .digital-warranty-card p,
body.light-mode .digital-warranty-card span,
body.light-mode .digital-warranty-card strong,
body.light-mode .digital-warranty-card div,
html[data-theme="light"] .digital-warranty-card h1,
html[data-theme="light"] .digital-warranty-card h2,
html[data-theme="light"] .digital-warranty-card h3,
html[data-theme="light"] .digital-warranty-card h4,
html[data-theme="light"] .digital-warranty-card p,
html[data-theme="light"] .digital-warranty-card span,
html[data-theme="light"] .digital-warranty-card strong,
html[data-theme="light"] .digital-warranty-card div {
  color: #111319 !important;
}

body.light .digital-warranty-card .card-top span,
body.light .digital-warranty-card .card-top strong,
body.light-mode .digital-warranty-card .card-top span,
body.light-mode .digital-warranty-card .card-top strong,
html[data-theme="light"] .digital-warranty-card .card-top span,
html[data-theme="light"] .digital-warranty-card .card-top strong {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-status,
body.light-mode .digital-warranty-card .warranty-status,
html[data-theme="light"] .digital-warranty-card .warranty-status {
  background: rgba(215, 25, 32, .10) !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-status *,
body.light-mode .digital-warranty-card .warranty-status *,
html[data-theme="light"] .digital-warranty-card .warranty-status * {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-chip,
body.light-mode .digital-warranty-card .warranty-chip,
html[data-theme="light"] .digital-warranty-card .warranty-chip {
  background: rgba(215, 25, 32, .10) !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
}

body.light .digital-warranty-card .warranty-chip i,
body.light-mode .digital-warranty-card .warranty-chip i,
html[data-theme="light"] .digital-warranty-card .warranty-chip i {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-card-lines div,
body.light-mode .digital-warranty-card .warranty-card-lines div,
html[data-theme="light"] .digital-warranty-card .warranty-card-lines div {
  border-bottom: 1px solid rgba(0, 0, 0, .10) !important;
}

/* Warranty left form panel in light mode */
body.light .warranty-form-panel,
body.light-mode .warranty-form-panel,
html[data-theme="light"] .warranty-form-panel {
  background: rgba(255, 255, 255, .92) !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
}

body.light .warranty-form-panel *,
body.light-mode .warranty-form-panel *,
html[data-theme="light"] .warranty-form-panel * {
  color: #111319 !important;
}

body.light .warranty-form-panel .studio-label,
body.light-mode .warranty-form-panel .studio-label,
html[data-theme="light"] .warranty-form-panel .studio-label {
  color: #d71920 !important;
}

body.light .warranty-form-panel input,
body.light-mode .warranty-form-panel input,
html[data-theme="light"] .warranty-form-panel input {
  background: #fff !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .14) !important;
}

/* Keep background photos visible in light mode */
body.light img,
body.light-mode img,
html[data-theme="light"] img,
body.light .hero-slide,
body.light-mode .hero-slide,
html[data-theme="light"] .hero-slide,
body.light .warranty-hero-bg,
body.light-mode .warranty-hero-bg,
html[data-theme="light"] .warranty-hero-bg,
body.light .services-hero-bg,
body.light-mode .services-hero-bg,
html[data-theme="light"] .services-hero-bg,
body.light .franchise-hero-bg,
body.light-mode .franchise-hero-bg,
html[data-theme="light"] .franchise-hero-bg,
body.light .contact-hero-bg,
body.light-mode .contact-hero-bg,
html[data-theme="light"] .contact-hero-bg,
body.light .final-bg,
body.light-mode .final-bg,
html[data-theme="light"] .final-bg {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-blend-mode: normal !important;
}

/* Reduce white wash overlays in light mode without removing readability */
body.light .hero-vignette,
body.light-mode .hero-vignette,
html[data-theme="light"] .hero-vignette {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .05), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .08), transparent 34%),
    linear-gradient(to bottom, rgba(255, 255, 255, .10), rgba(255, 255, 255, .18)) !important;
}

/* Mobile header: keep language/theme visible */
@media(max-width:900px) {
  .site-header {
    height: 76px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .brand-text {
    display: none !important;
  }

  .brand-logos {
    gap: 8px !important;
    min-width: 0 !important;
  }

  .brand-logos img.logo-3m {
    height: 38px !important;
  }

  .brand-logos img.logo-atlas {
    height: 38px !important;
    max-width: 86px !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    gap: 7px !important;
    display: flex !important;
    align-items: center !important;
  }

  .theme-toggle,
  .lang-btn,
  .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    color: var(--text) !important;
    background: var(--glass) !important;
    border: 1px solid var(--border) !important;
  }

  .header-actions>.ghost-btn,
  .header-actions>.primary-btn,
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu {
    top: 76px !important;
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
    background: var(--bg2) !important;
  }

  .mobile-tools {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
  }

  .mobile-tools .theme-toggle,
  .mobile-tools .lang-btn {
    width: 100% !important;
    height: 48px !important;
  }
}

@media(min-width:901px) {
  .mobile-tools {
    display: none !important;
  }
}


/* ===== SOURCE: static/css/animations.css ===== */


/* ===== SOURCE: static/css/atlas-egypt-row.css ===== */

/* Atlas Egypt row image polish */
.egypt-hero-row,
.egypt-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 34px;
  margin: 48px 0;
}

.egypt-hero-copy,
.egypt-visual-copy {
  position: relative;
  z-index: 2;
}

.egypt-hero-copy .eyebrow,
.egypt-visual-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #f8fafc;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.egypt-hero-copy h2,
.egypt-visual-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.08;
  color: #fff;
}

.egypt-hero-copy p,
.egypt-visual-copy p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.9;
  max-width: 720px;
}

.egypt-hero-image,
.egypt-visual-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  isolation: isolate;
}

.egypt-hero-image::before,
.egypt-visual-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .52));
  z-index: 1;
}

.egypt-hero-image::after,
.egypt-visual-image::after {
  content: "Atlas Egypt";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.egypt-hero-image img,
.egypt-visual-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s ease, filter .7s ease;
}

.egypt-hero-image:hover img,
.egypt-visual-image:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

[dir="rtl"] .egypt-hero-image::after,
[dir="rtl"] .egypt-visual-image::after {
  right: auto;
  left: 18px;
}

@media(max-width:900px) {

  .egypt-hero-row,
  .egypt-visual-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 34px 0;
  }

  .egypt-hero-image,
  .egypt-visual-image {
    min-height: 260px;
    border-radius: 24px;
  }

  .egypt-hero-image img,
  .egypt-visual-image img {
    min-height: 260px;
  }
}


/* ===== SOURCE: static/css/atlas-egypt-v4-final.css ===== */

/* Atlas Egypt V4 final visual fixes */
.region-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px);
  z-index: 999999;
  padding: 20px
}

.region-popup.show {
  display: flex
}

.region-popup-card {
  width: min(460px, 92vw);
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, #070b12, #101827);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  color: #fff;
  text-align: center;
  position: relative
}

.region-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 22px;
  cursor: pointer
}

.region-options {
  display: grid;
  gap: 14px;
  margin-top: 22px
}

.region-options button {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.region-options button:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px)
}

.region-options strong {
  font-size: 18px
}

.region-options small {
  opacity: .75
}

.center-phone,
[dir="ltr"] {
  direction: ltr !important;
  unicode-bidi: isolate !important
}

.atlas-leaflet-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 620px !important;
  display: block !important
}

.leaflet-container {
  background: #05070b !important
}

.egypt-image-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  margin: 54px 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  overflow: hidden
}

.egypt-image-row .egypt-row-img {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: #111
}

.egypt-image-row .egypt-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: .6s ease
}

.egypt-image-row:hover .egypt-row-img img {
  transform: scale(1.07)
}

.egypt-image-row .egypt-row-content h2 {
  font-size: clamp(28px, 4vw, 52px);
  margin: 0 0 14px;
  font-weight: 900
}

.egypt-image-row .egypt-row-content p {
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
  font-size: 17px
}

.egypt-image-row .egypt-row-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px
}

.egypt-image-row .egypt-row-badges span {
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 9px 13px;
  color: #fff
}

@media(max-width:900px) {
  .egypt-image-row {
    grid-template-columns: 1fr;
    padding: 18px
  }

  .egypt-image-row .egypt-row-img {
    min-height: 260px
  }

  .atlas-leaflet-map {
    min-height: 360px !important
  }
}


/* ===== SOURCE: static/css/atlas-egypt-v5-final.css ===== */

/* Atlas Egypt V5 final CSS: hero row/image polish + map cleanup */
.egypt-hero-row,
.atlas-egypt-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(10, 12, 18, .88), rgba(35, 6, 8, .78));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
  overflow: hidden;
}

.egypt-hero-row .egypt-hero-copy,
.atlas-egypt-hero-row .egypt-hero-copy {
  position: relative;
  z-index: 2;
}

.egypt-hero-row .egypt-hero-copy h2,
.atlas-egypt-hero-row .egypt-hero-copy h2 {
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: #fff;
  font-weight: 900;
}

.egypt-hero-row .egypt-hero-copy p,
.atlas-egypt-hero-row .egypt-hero-copy p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 22px;
}

.egypt-hero-row .egypt-hero-image,
.atlas-egypt-hero-row .egypt-hero-image {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
}

.egypt-hero-row .egypt-hero-image img,
.atlas-egypt-hero-row .egypt-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.egypt-hero-row .egypt-hero-image:after,
.atlas-egypt-hero-row .egypt-hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55));
  pointer-events: none;
}

.egypt-map .atlas-sa-map-canvas,
.egypt-map .atlas-map-overlay {
  display: none !important;
}

.egypt-map .atlas-leaflet-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 620px !important;
  display: block !important;
  background: #05070b !important;
}

[dir="ltr"],
.center-phone,
.atlas-call-link {
  unicode-bidi: isolate !important;
}

@media(max-width:900px) {

  .egypt-hero-row,
  .atlas-egypt-hero-row {
    grid-template-columns: 1fr;
    padding: 20px
  }

  .egypt-hero-row .egypt-hero-image,
  .atlas-egypt-hero-row .egypt-hero-image {
    min-height: 260px
  }

  .egypt-hero-row .egypt-hero-image img,
  .atlas-egypt-hero-row .egypt-hero-image img {
    min-height: 260px
  }

  .egypt-map .atlas-leaflet-map {
    min-height: 360px !important
  }
}

/* Atlas Egypt red Leaflet pins */
.atlas-red-map-pin span {
  width: 26px;
  height: 26px;
  display: block;
  background: #e30613;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 12px 28px rgba(227, 6, 19, .45);
}

.atlas-red-map-pin span:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  top: 6px;
  left: 6px;
}


/* ===== SOURCE: static/css/atlas-final-fixes-v6.css ===== */
/* Atlas final fixes v6: mobile header + hero theme protection */
.hero .hero-content,
.hero .hero-content *,
.page-hero .hero-content,
.page-hero .hero-content *,
.automotive-hero .hero-content,
.booking-hero .hero-content,
.centers-hero .hero-content,
.contact-hero .hero-content,
.commercial-page-hero .hero-content,
.residential-hero .hero-content,
.warranty-hero .hero-content,
.why-hero .hero-content,
.franchise-hero .hero-content,
.apply-hero,
.apply-hero *,
.hero-slide .eyebrow,
.hero-slide h1,
.hero-slide p {
  color: #fff !important;
}

html[data-theme="light"] .hero .hero-content,
html[data-theme="light"] .hero .hero-content *,
body.light .hero .hero-content,
body.light .hero .hero-content *,
body.light-mode .hero .hero-content,
body.light-mode .hero .hero-content *,
html[data-theme="light"] .page-hero .hero-content,
html[data-theme="light"] .page-hero .hero-content * {
  color: #fff !important;
}

.hero .glass-btn,
.page-hero .glass-btn {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .32) !important;
  background: rgba(255, 255, 255, .12) !important;
}

.hero-vignette {
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .36), rgba(0, 0, 0, .62)) !important;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 72px !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .site-header .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 118px) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .site-header .brand-logos {
    flex: 0 0 auto !important;
    gap: 5px !important;
  }

  .site-header .brand-logos img.logo-3m {
    max-width: 38px !important;
    height: auto !important;
  }

  .site-header .brand-logos img.logo-atlas {
    max-width: 78px !important;
    height: auto !important;
  }

  .site-header .brand-text {
    display: none !important;
  }

  .site-header .header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 106px !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .menu-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }

  .site-header .header-actions .change-region-btn,
  .site-header .header-actions>a.ghost-btn,
  .site-header .header-actions>a.primary-btn {
    display: none !important;
  }

  .site-header .header-actions .theme-toggle i {
    font-size: 14px !important;
  }

  .site-header .header-actions .lang-btn {
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .site-header .header-actions .menu-btn span {
    width: 15px !important;
    margin: 2px 0 !important;
  }

  .mobile-menu {
    z-index: 99999 !important;
  }

  .mobile-top-controls {
    display: flex !important;
  }
}

@media (max-width: 420px) {
  .site-header .brand-logos img.logo-3m {
    max-width: 34px !important;
  }

  .site-header .brand-logos img.logo-atlas {
    max-width: 68px !important;
  }

  .site-header .brand {
    max-width: calc(100% - 108px) !important;
  }

  .site-header .header-actions {
    gap: 4px !important;
    min-width: 100px !important;
  }

  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .menu-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
}


/* ===== SOURCE: static/css/atlas-header-unified-v4.css ===== */

/* Atlas unified header / country controls v4 */
.site-header .header-actions .change-region-btn,
.site-header .header-actions .lang-btn,
.mobile-top-controls .mobile-region-btn,
.mobile-top-controls .mobile-lang-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-top-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 16px !important;
}

.mobile-top-controls .mobile-lang-btn,
.mobile-top-controls .mobile-region-btn {
  min-height: 44px !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: inherit !important;
  font-weight: 800 !important;
}

.mobile-top-controls .mobile-region-btn {
  flex: 1 !important;
}

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

.region-popup.show {
  display: flex
}

.region-popup-card {
  width: min(460px, 92vw);
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, #070b12, #101827);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  color: #fff;
  text-align: center;
  position: relative
}

.region-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 22px;
  cursor: pointer
}

.region-options {
  display: grid;
  gap: 14px;
  margin-top: 22px
}

.region-options button {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit
}

.region-options button:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px)
}

.region-options strong {
  font-size: 18px
}

.region-options small {
  opacity: .75
}

.region-options button.is-active {
  border-color: #e30613;
  background: rgba(227, 6, 19, .22)
}


/* ===== SOURCE: static/css/atlas.css ===== */
/* Atlas CSS Phase 1 Split
   Generated from the current legacy CSS without changing selectors or order.
   Keep this import order exactly to preserve the website appearance. */

@import url('./01-base-loader-background.css');
@import url('./02-header-core.css');
@import url('./03-home-hero-sections-map.css');
@import url('./04-footer-rtl-responsive-core.css');
@import url('./05-platform-extensions.css');
@import url('./06-old-header-and-mobile-patches.css');
@import url('./07-command-os-and-pages.css');
@import url('./08-services-centers-pages.css');
@import url('./09-header-theme-mobile-final-fixes.css');


/* ===== SOURCE: static/css/components.css ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-navbar);
  padding: 14px 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.brand-mark {
  width: 52px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ff1f1f;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.brand-text {
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.main-nav a,
.nav-dropdown button {
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.main-nav a:hover,
.nav-dropdown button:hover {
  color: var(--accent-primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 34px;
  left: 0;
  min-width: 220px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(11, 13, 16, 0.96);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

html[data-theme="light"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: rgba(255, 31, 31, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.language-switcher {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.language-switcher button,
.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 900;
  transition: var(--transition-fast);
}

.language-switcher button:hover,
.theme-toggle:hover {
  background: var(--accent-primary);
  color: #fff;
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 15px;
}

.account-link {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.account-link:hover {
  background: var(--accent-primary);
  color: #fff;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff1f1f, #d71920);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 31, 31, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255, 31, 31, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text-primary);
}

/* HERO */

.hero-section {
  min-height: 100vh;
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 31, 31, 0.16), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(255, 31, 31, 0.12), transparent 30%),
    linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(255, 31, 31, .18);
  top: -120px;
  left: -100px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: rgba(255, 31, 31, .12);
  bottom: -180px;
  right: -120px;
  animation-delay: 2s;
}

.hero-grid {
  position: absolute;
  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: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent);
  animation: gridFlow 14s linear infinite;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, .35) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, .68) 100%);
  pointer-events: none;
}

.hero-light-beam {
  position: absolute;
  width: 700px;
  height: 700px;
  top: -180px;
  right: -220px;
  background: radial-gradient(circle, rgba(255, 31, 31, .24), transparent 70%);
  filter: blur(90px);
  animation: beamMove 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  max-width: 760px;
  transition: transform .25s ease-out;
  will-change: transform;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #ff4b4b;
  font-size: 13px;
  font-weight: 900;
}

.hero-content h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  margin-bottom: 26px;
  letter-spacing: -2px;
}

.hero-content p {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.hero-metrics {
  margin: 34px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.metric-card {
  min-width: 160px;
  padding: 18px;
  border-radius: 22px;
  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(18px);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 31, 31, .12), transparent);
  opacity: 0;
  transition: .35s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 31, 31, .35);
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-card strong {
  position: relative;
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.metric-card span {
  position: relative;
  color: #c7cbd3;
  font-size: 13px;
  font-weight: 600;
}

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

.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 390px;
  min-height: 360px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .25s ease-out, box-shadow .35s ease;
  will-change: transform;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 31, 31, 0.18);
  top: -80px;
  right: -80px;
}

.hero-card-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 31, 31, .22);
  filter: blur(70px);
  top: -60px;
  right: -60px;
}

.hero-card:hover {
  box-shadow:
    0 30px 80px rgba(255, 31, 31, .18),
    0 20px 40px rgba(0, 0, 0, .45);
}

.hero-card h3 {
  position: relative;
  font-size: 22px;
  margin-bottom: 18px;
}

.hero-card strong {
  position: relative;
  font-size: 86px;
  line-height: 1;
  color: var(--accent-primary);
}

.hero-card p {
  position: relative;
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 12px;
}

/* LOADER */

.atlas-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(255, 31, 31, .15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 31, 31, .12), transparent 30%),
    #050505;
  transition: opacity .9s ease, visibility .9s ease;
}

.atlas-loader::before {
  content: "";
  position: absolute;
  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: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent);
  animation: gridMove 12s linear infinite;
}

.atlas-loader::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255, 31, 31, .12);
  filter: blur(120px);
  animation: glowPulse 5s ease-in-out infinite;
}

.atlas-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  position: relative;
  z-index: 5;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(255, 31, 31, .18),
    inset 0 0 30px rgba(255, 255, 255, .04);
  animation: loaderFloat 4s ease-in-out infinite;
}

.loader-logo::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 31, 31, .8), transparent);
  animation: spinRing 4s linear infinite;
}

.loader-logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #090909;
}

.loader-3m {
  position: relative;
  z-index: 2;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #ff1f1f;
  text-shadow:
    0 0 15px rgba(255, 31, 31, .5),
    0 0 30px rgba(255, 31, 31, .3);
  animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo span {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  color: #c7cbd3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
  line-height: 1.8;
}

/* ANIMATIONS */

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(50px);
  }
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(-40px) translateX(20px);
  }
}

@keyframes gridFlow {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(60px);
  }
}

@keyframes beamMove {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(-40px) translateY(20px);
  }
}

/* ===== SOURCE: static/css/core.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&display=swap');

/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* =========================
   SELECTION
========================= */

::selection {
  background: var(--accent-primary);
  color: #000;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 100px;
}

/* =========================
   LINKS
========================= */

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

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

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

/* =========================
   IMAGES
========================= */

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

/* =========================
   LISTS
========================= */

ul {
  list-style: none;
}

/* =========================
   MAIN APP
========================= */

#atlasApp {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* =========================
   FOUNDATION SECTION
========================= */

.foundation-section {
  min-height: 100vh;

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

  text-align: center;
  padding: 40px;
}

.foundation-section h1 {
  font-size: var(--text-3xl);
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.foundation-section p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

/* =========================
   LANGUAGE SWITCHER
========================= */

.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;

  display: flex;
  gap: 10px;

  z-index: var(--z-navbar);
}

.language-switcher button {
  width: 50px;
  height: 50px;

  border-radius: 50%;

  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  color: var(--text-primary);

  transition: var(--transition-normal);
}

.language-switcher button:hover {
  background: var(--accent-primary);
  color: #000;

  transform: translateY(-3px);
}

/* ===== SOURCE: static/css/layout.css ===== */
.container {
  width: min(100% - 48px, var(--container-xl));
  margin: 0 auto;
}

/* ===== SOURCE: static/css/legacy-main-original-backup.css ===== */
: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: 38px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  transition: .3s;
  white-space: nowrap;
}

.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("/static/images/franchise-hero-saudi.jpg");
  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 .btn-book-now: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;

  }


}

/* FORCE HEADER FIX */
.desktop-nav {
  gap: 18px !important;
}

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

.brand {
  margin-left: 30px !important;
}

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

.site-header {
  height: 76px !important;
  padding: 0 2vw !important;
}

.Logo-atlas {
  height: 42px !important;
}

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

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

.header-actions {
  gap: 10px !important;
}

.header-actions a,
.header-actions button {
  padding: 12px 18px !important;
  font-size: 15px !important;
}

/* FIX RTL PHONE NUMBER */
.float-btn,
.float-btn *,
a[href^="tel"],
a[href^="https://wa.me"],
.phone,
.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* HEADER FIX */
.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.desktop-nav a {
  font-size: 15px !important;
  white-space: nowrap !important;
  padding: 8px 4px !important;
}

.site-header {
  height: 88px !important;
}

.logo-atlas img,
.logo-3m img {
  max-height: 54px !important;
}

/* HEADER CLEAN FIX */
.site-header {
  height: 88px !important;
  overflow: visible !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

}

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  padding: 6px 3px !important;
  margin: 0 !important;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ© ÙÙ‚Ø· Ø¨ÙŠÙ† Ø§Ù„Ù…Ø±Ø§ÙƒØ² Ø§Ù„Ù…Ø¹ØªÙ…Ø¯Ø© ÙˆØ§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© */
.desktop-nav a:first-child {
  margin-left: 28px !important;
}

/* Ø²Ø± ÙƒÙ† Ù…Ø±ÙƒØ²Ø§Ù‹ Ù…Ø¹ØªÙ…Ø¯Ø§Ù‹ ÙŠØ¸Ù‡Ø± ÙƒØ§Ù…Ù„ */
.header-actions {
  gap: 8px !important;
}

.header-actions a,
.header-actions button {
  font-size: 13px !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
}

/* ===== SMART JOURNEY FIX ===== */

.smart-journey .journey-step {
  padding: 35px 25px !important;
  min-height: 320px !important;
}

.smart-journey .journey-step h3 {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

.smart-journey .journey-step p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.smart-journey .journey-step span {
  width: 55px !important;
  height: 55px !important;
  font-size: 18px !important;
}





/* === ATLAS SERVICES DROPDOWN PATCH === */
.atlas-services-dd {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
  display: flex;
  align-items: center
}

.atlas-services-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(880px, calc(100vw - 42px));
  background: rgba(9, 10, 14, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 20000
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0)
}

.atlas-services-panel b {
  display: block;
  color: #ff2835;
  margin-bottom: 10px;
  font-size: 15px
}

.atlas-services-panel a {
  display: block;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.35
}

.atlas-services-panel a:hover {
  background: rgba(227, 6, 19, .14);
  color: #ff2835 !important
}

@media(max-width:980px) {
  .atlas-services-dd {
    display: none
  }

  .atlas-services-panel {
    display: none
  }
}

/* country modal small fix */
.region-card button[data-country="ae"] {
  display: none !important
}

/* =========================================================
   FINAL IMAGE VISIBILITY FIX
   Purpose: Light mode must NOT dim / wash / invert images.
   Keep all photos, hero backgrounds, sliders, and service images
   visible exactly like dark mode.
========================================================= */

body.light-mode img,
body.light-mode picture,
body.light-mode video,
body.light-mode canvas,
body.light-mode model-viewer,
body.light-mode .hero-bg,
body.light-mode .hero-slide,
body.light-mode .hero-slider,
body.light-mode .final-bg,
body.light-mode .page-hero,
body.light-mode .page-hero .hero-slide,
body.light-mode .services-hero-bg,
body.light-mode .warranty-hero-bg,
body.light-mode .franchise-hero-bg,
body.light-mode .contact-hero-bg,
body.light-mode .service-card img,
body.light-mode .sim-before,
body.light-mode .sim-after img,
body.light-mode .qr-code-box img,
body.light-mode .job-photo-card img,
body.light-mode .signature-preview img,
body.light-mode .login-visual,
body.light-mode .os-hero,
body.light-mode .inv-hero,
body.light-mode .franchise-hero,
body.light-mode .warranty-enterprise-hero,
body.light-mode .services-page-hero,
body.light-mode [style*="background-image"],
body.light-mode [style*="url("] {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Keep photo cards readable without destroying the image */
body.light-mode .service-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 62%) !important;
}

body.light-mode .service-card:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08);
}

/* Hero photo overlay in light mode: transparent enough to show image */
body.light-mode .hero-vignette,
body.light-mode .page-hero .hero-slide::before {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .08), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .10), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .34)) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Slider overlays should not hide the photo in light mode */
body.light-mode .hero-slide::before,
body.light-mode .hero-slide::after,
body.light-mode .final-cta::before {
  opacity: .65 !important;
  mix-blend-mode: normal !important;
}

/* Logos should remain clean and sharp in light mode */
body.light-mode .brand-logos img,
body.light-mode .logo-3m,
body.light-mode .logo-atlas,
body.light-mode .footer-brand img,
body.light-mode .loader-logo img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* If any old light-mode rule added white layers above images, disable it */
body.light-mode .image-overlay,
body.light-mode .photo-overlay,
body.light-mode .light-overlay {
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =================================================
   LIGHT MODE - WARRANTY / DARK CARDS FIX
================================================= */

body.light-mode .warranty-card,
body.light-mode .warranty-wallet,
body.light-mode .verify-card,
body.light-mode .protection-card,
body.light-mode .glass-card,
body.light-mode .dark-card {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #15171d !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08) !important;
}

/* Ø§Ù„Ù†ØµÙˆØµ Ø§Ù„Ù„ÙŠ Ø¬ÙˆÙ‡ Ø§Ù„ÙƒØ§Ø±Øª */
body.light-mode .warranty-card *,
body.light-mode .warranty-wallet *,
body.light-mode .verify-card *,
body.light-mode .protection-card *,
body.light-mode .glass-card *,
body.light-mode .dark-card * {
  color: #15171d !important;
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† Ø§Ù„ØµØºÙŠØ± Ø§Ù„Ø£Ø­Ù…Ø± ÙŠÙØ¶Ù„ */
body.light-mode .warranty-card .eyebrow,
body.light-mode .warranty-wallet .eyebrow,
body.light-mode .verify-card .eyebrow {
  color: #d71920 !important;
}

/* FIX RIGHT WARRANTY CARD IN LIGHT MODE */
body.light-mode .digital-warranty-card {
  background: #ffffff !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .10) !important;
}

body.light-mode .digital-warranty-card::before,
body.light-mode .digital-warranty-card::after {
  opacity: .04 !important;
}

body.light-mode .digital-warranty-card h1,
body.light-mode .digital-warranty-card h2,
body.light-mode .digital-warranty-card h3,
body.light-mode .digital-warranty-card h4,
body.light-mode .digital-warranty-card p,
body.light-mode .digital-warranty-card span,
body.light-mode .digital-warranty-card strong,
body.light-mode .digital-warranty-card div {
  color: #111319 !important;
}

body.light-mode .digital-warranty-card .studio-label,
body.light-mode .digital-warranty-card .eyebrow,
body.light-mode .digital-warranty-card .card-top {
  color: #d71920 !important;
}


/* ==================================================
   ATLAS FINAL MANUAL FIX
   - Warranty card light mode
   - Mobile language/theme buttons
   - Keep images visible in light mode
================================================== */

/* Support all theme states used by old JS files */
body.light,
body.light-mode,
html[data-theme="light"] body {
  background: #f4f6fa !important;
  color: #111319 !important;
}

/* Warranty right card - real class from warranty page */
body.light .digital-warranty-card,
body.light-mode .digital-warranty-card,
html[data-theme="light"] .digital-warranty-card {
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 32, .10), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 247, 250, .94)) !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .10) !important;
}

body.light .digital-warranty-card::before,
body.light-mode .digital-warranty-card::before,
html[data-theme="light"] .digital-warranty-card::before {
  opacity: .18 !important;
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 32, .16), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, .04), transparent 34%) !important;
}

body.light .digital-warranty-card::after,
body.light-mode .digital-warranty-card::after,
html[data-theme="light"] .digital-warranty-card::after {
  color: rgba(215, 25, 32, .045) !important;
  opacity: 1 !important;
}

body.light .digital-warranty-card h1,
body.light .digital-warranty-card h2,
body.light .digital-warranty-card h3,
body.light .digital-warranty-card h4,
body.light .digital-warranty-card p,
body.light .digital-warranty-card span,
body.light .digital-warranty-card strong,
body.light .digital-warranty-card div,
body.light-mode .digital-warranty-card h1,
body.light-mode .digital-warranty-card h2,
body.light-mode .digital-warranty-card h3,
body.light-mode .digital-warranty-card h4,
body.light-mode .digital-warranty-card p,
body.light-mode .digital-warranty-card span,
body.light-mode .digital-warranty-card strong,
body.light-mode .digital-warranty-card div,
html[data-theme="light"] .digital-warranty-card h1,
html[data-theme="light"] .digital-warranty-card h2,
html[data-theme="light"] .digital-warranty-card h3,
html[data-theme="light"] .digital-warranty-card h4,
html[data-theme="light"] .digital-warranty-card p,
html[data-theme="light"] .digital-warranty-card span,
html[data-theme="light"] .digital-warranty-card strong,
html[data-theme="light"] .digital-warranty-card div {
  color: #111319 !important;
}

body.light .digital-warranty-card .card-top span,
body.light .digital-warranty-card .card-top strong,
body.light-mode .digital-warranty-card .card-top span,
body.light-mode .digital-warranty-card .card-top strong,
html[data-theme="light"] .digital-warranty-card .card-top span,
html[data-theme="light"] .digital-warranty-card .card-top strong {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-status,
body.light-mode .digital-warranty-card .warranty-status,
html[data-theme="light"] .digital-warranty-card .warranty-status {
  background: rgba(215, 25, 32, .10) !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-status *,
body.light-mode .digital-warranty-card .warranty-status *,
html[data-theme="light"] .digital-warranty-card .warranty-status * {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-chip,
body.light-mode .digital-warranty-card .warranty-chip,
html[data-theme="light"] .digital-warranty-card .warranty-chip {
  background: rgba(215, 25, 32, .10) !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
}

body.light .digital-warranty-card .warranty-chip i,
body.light-mode .digital-warranty-card .warranty-chip i,
html[data-theme="light"] .digital-warranty-card .warranty-chip i {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-card-lines div,
body.light-mode .digital-warranty-card .warranty-card-lines div,
html[data-theme="light"] .digital-warranty-card .warranty-card-lines div {
  border-bottom: 1px solid rgba(0, 0, 0, .10) !important;
}

/* Warranty left form panel in light mode */
body.light .warranty-form-panel,
body.light-mode .warranty-form-panel,
html[data-theme="light"] .warranty-form-panel {
  background: rgba(255, 255, 255, .92) !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
}

body.light .warranty-form-panel *,
body.light-mode .warranty-form-panel *,
html[data-theme="light"] .warranty-form-panel * {
  color: #111319 !important;
}

body.light .warranty-form-panel .studio-label,
body.light-mode .warranty-form-panel .studio-label,
html[data-theme="light"] .warranty-form-panel .studio-label {
  color: #d71920 !important;
}

body.light .warranty-form-panel input,
body.light-mode .warranty-form-panel input,
html[data-theme="light"] .warranty-form-panel input {
  background: #fff !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .14) !important;
}

/* Keep background photos visible in light mode */
body.light img,
body.light-mode img,
html[data-theme="light"] img,
body.light .hero-slide,
body.light-mode .hero-slide,
html[data-theme="light"] .hero-slide,
body.light .warranty-hero-bg,
body.light-mode .warranty-hero-bg,
html[data-theme="light"] .warranty-hero-bg,
body.light .services-hero-bg,
body.light-mode .services-hero-bg,
html[data-theme="light"] .services-hero-bg,
body.light .franchise-hero-bg,
body.light-mode .franchise-hero-bg,
html[data-theme="light"] .franchise-hero-bg,
body.light .contact-hero-bg,
body.light-mode .contact-hero-bg,
html[data-theme="light"] .contact-hero-bg,
body.light .final-bg,
body.light-mode .final-bg,
html[data-theme="light"] .final-bg {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-blend-mode: normal !important;
}

/* Reduce white wash overlays in light mode without removing readability */
body.light .hero-vignette,
body.light-mode .hero-vignette,
html[data-theme="light"] .hero-vignette {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .05), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .08), transparent 34%),
    linear-gradient(to bottom, rgba(255, 255, 255, .10), rgba(255, 255, 255, .18)) !important;
}

/* Mobile header: keep language/theme visible */
@media(max-width:900px) {
  .site-header {
    height: 76px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .brand-text {
    display: none !important;
  }

  .brand-logos {
    gap: 8px !important;
    min-width: 0 !important;
  }

  .brand-logos img.logo-3m {
    height: 38px !important;
  }

  .brand-logos img.logo-atlas {
    height: 38px !important;
    max-width: 86px !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    gap: 7px !important;
    display: flex !important;
    align-items: center !important;
  }

  .theme-toggle,
  .lang-btn,
  .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    color: var(--text) !important;
    background: var(--glass) !important;
    border: 1px solid var(--border) !important;
  }

  .header-actions>.ghost-btn,
  .header-actions>.primary-btn,
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu {
    top: 76px !important;
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
    background: var(--bg2) !important;
  }

  .mobile-tools {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
  }

  .mobile-tools .theme-toggle,
  .mobile-tools .lang-btn {
    width: 100% !important;
    height: 48px !important;
  }
}

@media(min-width:901px) {
  .mobile-tools {
    display: none !important;
  }
}



/* ===== SOURCE: static/css/legacy-main_fixed_complete.css ===== */
: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: 38px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  transition: .3s;
  white-space: nowrap;
}

.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("/static/images/franchise-hero-saudi.jpg");
  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 .btn-book-now: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;

  }


}

/* FORCE HEADER FIX */
.desktop-nav {
  gap: 18px !important;
}

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

.brand {
  margin-left: 30px !important;
}

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

.site-header {
  height: 76px !important;
  padding: 0 2vw !important;
}

.Logo-atlas {
  height: 42px !important;
}

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

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

.header-actions {
  gap: 10px !important;
}

.header-actions a,
.header-actions button {
  padding: 12px 18px !important;
  font-size: 15px !important;
}

/* FIX RTL PHONE NUMBER */
.float-btn,
.float-btn *,
a[href^="tel"],
a[href^="https://wa.me"],
.phone,
.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* HEADER FIX */
.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.desktop-nav a {
  font-size: 15px !important;
  white-space: nowrap !important;
  padding: 8px 4px !important;
}

.site-header {
  height: 88px !important;
}

.logo-atlas img,
.logo-3m img {
  max-height: 54px !important;
}

/* HEADER CLEAN FIX */
.site-header {
  height: 88px !important;
  overflow: visible !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

}

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  padding: 6px 3px !important;
  margin: 0 !important;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ© ÙÙ‚Ø· Ø¨ÙŠÙ† Ø§Ù„Ù…Ø±Ø§ÙƒØ² Ø§Ù„Ù…Ø¹ØªÙ…Ø¯Ø© ÙˆØ§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© */
.desktop-nav a:first-child {
  margin-left: 28px !important;
}

/* Ø²Ø± ÙƒÙ† Ù…Ø±ÙƒØ²Ø§Ù‹ Ù…Ø¹ØªÙ…Ø¯Ø§Ù‹ ÙŠØ¸Ù‡Ø± ÙƒØ§Ù…Ù„ */
.header-actions {
  gap: 8px !important;
}

.header-actions a,
.header-actions button {
  font-size: 13px !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
}

/* ===== SMART JOURNEY FIX ===== */

.smart-journey .journey-step {
  padding: 35px 25px !important;
  min-height: 320px !important;
}

.smart-journey .journey-step h3 {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

.smart-journey .journey-step p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.smart-journey .journey-step span {
  width: 55px !important;
  height: 55px !important;
  font-size: 18px !important;
}





/* === ATLAS SERVICES DROPDOWN PATCH === */
.atlas-services-dd {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
  display: flex;
  align-items: center
}

.atlas-services-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(880px, calc(100vw - 42px));
  background: rgba(9, 10, 14, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 20000
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0)
}

.atlas-services-panel b {
  display: block;
  color: #ff2835;
  margin-bottom: 10px;
  font-size: 15px
}

.atlas-services-panel a {
  display: block;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.35
}

.atlas-services-panel a:hover {
  background: rgba(227, 6, 19, .14);
  color: #ff2835 !important
}

@media(max-width:980px) {
  .atlas-services-dd {
    display: none
  }

  .atlas-services-panel {
    display: none
  }
}

/* country modal small fix */
.region-card button[data-country="ae"] {
  display: none !important
}

/* =========================================================
   FINAL IMAGE VISIBILITY FIX
   Purpose: Light mode must NOT dim / wash / invert images.
   Keep all photos, hero backgrounds, sliders, and service images
   visible exactly like dark mode.
========================================================= */

body.light-mode img,
body.light-mode picture,
body.light-mode video,
body.light-mode canvas,
body.light-mode model-viewer,
body.light-mode .hero-bg,
body.light-mode .hero-slide,
body.light-mode .hero-slider,
body.light-mode .final-bg,
body.light-mode .page-hero,
body.light-mode .page-hero .hero-slide,
body.light-mode .services-hero-bg,
body.light-mode .warranty-hero-bg,
body.light-mode .franchise-hero-bg,
body.light-mode .contact-hero-bg,
body.light-mode .service-card img,
body.light-mode .sim-before,
body.light-mode .sim-after img,
body.light-mode .qr-code-box img,
body.light-mode .job-photo-card img,
body.light-mode .signature-preview img,
body.light-mode .login-visual,
body.light-mode .os-hero,
body.light-mode .inv-hero,
body.light-mode .franchise-hero,
body.light-mode .warranty-enterprise-hero,
body.light-mode .services-page-hero,
body.light-mode [style*="background-image"],
body.light-mode [style*="url("] {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Keep photo cards readable without destroying the image */
body.light-mode .service-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 62%) !important;
}

body.light-mode .service-card:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08);
}

/* Hero photo overlay in light mode: transparent enough to show image */
body.light-mode .hero-vignette,
body.light-mode .page-hero .hero-slide::before {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .08), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .10), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .34)) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Slider overlays should not hide the photo in light mode */
body.light-mode .hero-slide::before,
body.light-mode .hero-slide::after,
body.light-mode .final-cta::before {
  opacity: .65 !important;
  mix-blend-mode: normal !important;
}

/* Logos should remain clean and sharp in light mode */
body.light-mode .brand-logos img,
body.light-mode .logo-3m,
body.light-mode .logo-atlas,
body.light-mode .footer-brand img,
body.light-mode .loader-logo img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* If any old light-mode rule added white layers above images, disable it */
body.light-mode .image-overlay,
body.light-mode .photo-overlay,
body.light-mode .light-overlay {
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =================================================
   LIGHT MODE - WARRANTY / DARK CARDS FIX
================================================= */

body.light-mode .warranty-card,
body.light-mode .warranty-wallet,
body.light-mode .verify-card,
body.light-mode .protection-card,
body.light-mode .glass-card,
body.light-mode .dark-card {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #15171d !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08) !important;
}

/* Ø§Ù„Ù†ØµÙˆØµ Ø§Ù„Ù„ÙŠ Ø¬ÙˆÙ‡ Ø§Ù„ÙƒØ§Ø±Øª */
body.light-mode .warranty-card *,
body.light-mode .warranty-wallet *,
body.light-mode .verify-card *,
body.light-mode .protection-card *,
body.light-mode .glass-card *,
body.light-mode .dark-card * {
  color: #15171d !important;
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† Ø§Ù„ØµØºÙŠØ± Ø§Ù„Ø£Ø­Ù…Ø± ÙŠÙØ¶Ù„ */
body.light-mode .warranty-card .eyebrow,
body.light-mode .warranty-wallet .eyebrow,
body.light-mode .verify-card .eyebrow {
  color: #d71920 !important;
}

/* FIX RIGHT WARRANTY CARD IN LIGHT MODE */
body.light-mode .digital-warranty-card {
  background: #ffffff !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .10) !important;
}

body.light-mode .digital-warranty-card::before,
body.light-mode .digital-warranty-card::after {
  opacity: .04 !important;
}

body.light-mode .digital-warranty-card h1,
body.light-mode .digital-warranty-card h2,
body.light-mode .digital-warranty-card h3,
body.light-mode .digital-warranty-card h4,
body.light-mode .digital-warranty-card p,
body.light-mode .digital-warranty-card span,
body.light-mode .digital-warranty-card strong,
body.light-mode .digital-warranty-card div {
  color: #111319 !important;
}

body.light-mode .digital-warranty-card .studio-label,
body.light-mode .digital-warranty-card .eyebrow,
body.light-mode .digital-warranty-card .card-top {
  color: #d71920 !important;
}


/* ==================================================
   ATLAS FINAL MANUAL FIX
   - Warranty card light mode
   - Mobile language/theme buttons
   - Keep images visible in light mode
================================================== */

/* Support all theme states used by old JS files */
body.light,
body.light-mode,
html[data-theme="light"] body {
  background: #f4f6fa !important;
  color: #111319 !important;
}

/* Warranty right card - real class from warranty page */
body.light .digital-warranty-card,
body.light-mode .digital-warranty-card,
html[data-theme="light"] .digital-warranty-card {
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 32, .10), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 247, 250, .94)) !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .10) !important;
}

body.light .digital-warranty-card::before,
body.light-mode .digital-warranty-card::before,
html[data-theme="light"] .digital-warranty-card::before {
  opacity: .18 !important;
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 32, .16), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, .04), transparent 34%) !important;
}

body.light .digital-warranty-card::after,
body.light-mode .digital-warranty-card::after,
html[data-theme="light"] .digital-warranty-card::after {
  color: rgba(215, 25, 32, .045) !important;
  opacity: 1 !important;
}

body.light .digital-warranty-card h1,
body.light .digital-warranty-card h2,
body.light .digital-warranty-card h3,
body.light .digital-warranty-card h4,
body.light .digital-warranty-card p,
body.light .digital-warranty-card span,
body.light .digital-warranty-card strong,
body.light .digital-warranty-card div,
body.light-mode .digital-warranty-card h1,
body.light-mode .digital-warranty-card h2,
body.light-mode .digital-warranty-card h3,
body.light-mode .digital-warranty-card h4,
body.light-mode .digital-warranty-card p,
body.light-mode .digital-warranty-card span,
body.light-mode .digital-warranty-card strong,
body.light-mode .digital-warranty-card div,
html[data-theme="light"] .digital-warranty-card h1,
html[data-theme="light"] .digital-warranty-card h2,
html[data-theme="light"] .digital-warranty-card h3,
html[data-theme="light"] .digital-warranty-card h4,
html[data-theme="light"] .digital-warranty-card p,
html[data-theme="light"] .digital-warranty-card span,
html[data-theme="light"] .digital-warranty-card strong,
html[data-theme="light"] .digital-warranty-card div {
  color: #111319 !important;
}

body.light .digital-warranty-card .card-top span,
body.light .digital-warranty-card .card-top strong,
body.light-mode .digital-warranty-card .card-top span,
body.light-mode .digital-warranty-card .card-top strong,
html[data-theme="light"] .digital-warranty-card .card-top span,
html[data-theme="light"] .digital-warranty-card .card-top strong {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-status,
body.light-mode .digital-warranty-card .warranty-status,
html[data-theme="light"] .digital-warranty-card .warranty-status {
  background: rgba(215, 25, 32, .10) !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-status *,
body.light-mode .digital-warranty-card .warranty-status *,
html[data-theme="light"] .digital-warranty-card .warranty-status * {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-chip,
body.light-mode .digital-warranty-card .warranty-chip,
html[data-theme="light"] .digital-warranty-card .warranty-chip {
  background: rgba(215, 25, 32, .10) !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
}

body.light .digital-warranty-card .warranty-chip i,
body.light-mode .digital-warranty-card .warranty-chip i,
html[data-theme="light"] .digital-warranty-card .warranty-chip i {
  color: #d71920 !important;
}

body.light .digital-warranty-card .warranty-card-lines div,
body.light-mode .digital-warranty-card .warranty-card-lines div,
html[data-theme="light"] .digital-warranty-card .warranty-card-lines div {
  border-bottom: 1px solid rgba(0, 0, 0, .10) !important;
}

/* Warranty left form panel in light mode */
body.light .warranty-form-panel,
body.light-mode .warranty-form-panel,
html[data-theme="light"] .warranty-form-panel {
  background: rgba(255, 255, 255, .92) !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
}

body.light .warranty-form-panel *,
body.light-mode .warranty-form-panel *,
html[data-theme="light"] .warranty-form-panel * {
  color: #111319 !important;
}

body.light .warranty-form-panel .studio-label,
body.light-mode .warranty-form-panel .studio-label,
html[data-theme="light"] .warranty-form-panel .studio-label {
  color: #d71920 !important;
}

body.light .warranty-form-panel input,
body.light-mode .warranty-form-panel input,
html[data-theme="light"] .warranty-form-panel input {
  background: #fff !important;
  color: #111319 !important;
  border: 1px solid rgba(0, 0, 0, .14) !important;
}

/* Keep background photos visible in light mode */
body.light img,
body.light-mode img,
html[data-theme="light"] img,
body.light .hero-slide,
body.light-mode .hero-slide,
html[data-theme="light"] .hero-slide,
body.light .warranty-hero-bg,
body.light-mode .warranty-hero-bg,
html[data-theme="light"] .warranty-hero-bg,
body.light .services-hero-bg,
body.light-mode .services-hero-bg,
html[data-theme="light"] .services-hero-bg,
body.light .franchise-hero-bg,
body.light-mode .franchise-hero-bg,
html[data-theme="light"] .franchise-hero-bg,
body.light .contact-hero-bg,
body.light-mode .contact-hero-bg,
html[data-theme="light"] .contact-hero-bg,
body.light .final-bg,
body.light-mode .final-bg,
html[data-theme="light"] .final-bg {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-blend-mode: normal !important;
}

/* Reduce white wash overlays in light mode without removing readability */
body.light .hero-vignette,
body.light-mode .hero-vignette,
html[data-theme="light"] .hero-vignette {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .05), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .08), transparent 34%),
    linear-gradient(to bottom, rgba(255, 255, 255, .10), rgba(255, 255, 255, .18)) !important;
}

/* Mobile header: keep language/theme visible */
@media(max-width:900px) {
  .site-header {
    height: 76px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .brand-text {
    display: none !important;
  }

  .brand-logos {
    gap: 8px !important;
    min-width: 0 !important;
  }

  .brand-logos img.logo-3m {
    height: 38px !important;
  }

  .brand-logos img.logo-atlas {
    height: 38px !important;
    max-width: 86px !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    gap: 7px !important;
    display: flex !important;
    align-items: center !important;
  }

  .theme-toggle,
  .lang-btn,
  .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    color: var(--text) !important;
    background: var(--glass) !important;
    border: 1px solid var(--border) !important;
  }

  .header-actions>.ghost-btn,
  .header-actions>.primary-btn,
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu {
    top: 76px !important;
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
    background: var(--bg2) !important;
  }

  .mobile-tools {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
  }

  .mobile-tools .theme-toggle,
  .mobile-tools .lang-btn {
    width: 100% !important;
    height: 48px !important;
  }
}

@media(min-width:901px) {
  .mobile-tools {
    display: none !important;
  }
}



/* ===== SOURCE: static/css/main_fixed_images.css ===== */
: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: 38px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  transition: .3s;
  white-space: nowrap;
}

.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("/static/images/franchise-hero-saudi.jpg");
  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 .btn-book-now: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;

  }


}

/* FORCE HEADER FIX */
.desktop-nav {
  gap: 18px !important;
}

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

.brand {
  margin-left: 30px !important;
}

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

.site-header {
  height: 76px !important;
  padding: 0 2vw !important;
}

.Logo-atlas {
  height: 42px !important;
}

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

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

.header-actions {
  gap: 10px !important;
}

.header-actions a,
.header-actions button {
  padding: 12px 18px !important;
  font-size: 15px !important;
}

/* FIX RTL PHONE NUMBER */
.float-btn,
.float-btn *,
a[href^="tel"],
a[href^="https://wa.me"],
.phone,
.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* HEADER FIX */
.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.desktop-nav a {
  font-size: 15px !important;
  white-space: nowrap !important;
  padding: 8px 4px !important;
}

.site-header {
  height: 88px !important;
}

.logo-atlas img,
.logo-3m img {
  max-height: 54px !important;
}

/* HEADER CLEAN FIX */
.site-header {
  height: 88px !important;
  overflow: visible !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

}

.desktop-nav a {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  padding: 6px 3px !important;
  margin: 0 !important;
}

/* Ø§Ù„Ù…Ø³Ø§ÙØ© ÙÙ‚Ø· Ø¨ÙŠÙ† Ø§Ù„Ù…Ø±Ø§ÙƒØ² Ø§Ù„Ù…Ø¹ØªÙ…Ø¯Ø© ÙˆØ§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© */
.desktop-nav a:first-child {
  margin-left: 28px !important;
}

/* Ø²Ø± ÙƒÙ† Ù…Ø±ÙƒØ²Ø§Ù‹ Ù…Ø¹ØªÙ…Ø¯Ø§Ù‹ ÙŠØ¸Ù‡Ø± ÙƒØ§Ù…Ù„ */
.header-actions {
  gap: 8px !important;
}

.header-actions a,
.header-actions button {
  font-size: 13px !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
}

/* ===== SMART JOURNEY FIX ===== */

.smart-journey .journey-step {
  padding: 35px 25px !important;
  min-height: 320px !important;
}

.smart-journey .journey-step h3 {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

.smart-journey .journey-step p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.smart-journey .journey-step span {
  width: 55px !important;
  height: 55px !important;
  font-size: 18px !important;
}





/* === ATLAS SERVICES DROPDOWN PATCH === */
.atlas-services-dd {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
  display: flex;
  align-items: center
}

.atlas-services-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(880px, calc(100vw - 42px));
  background: rgba(9, 10, 14, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 20000
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0)
}

.atlas-services-panel b {
  display: block;
  color: #ff2835;
  margin-bottom: 10px;
  font-size: 15px
}

.atlas-services-panel a {
  display: block;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.35
}

.atlas-services-panel a:hover {
  background: rgba(227, 6, 19, .14);
  color: #ff2835 !important
}

@media(max-width:980px) {
  .atlas-services-dd {
    display: none
  }

  .atlas-services-panel {
    display: none
  }
}

/* country modal small fix */
.region-card button[data-country="ae"] {
  display: none !important
}

/* =========================================================
   FINAL IMAGE VISIBILITY FIX
   Purpose: Light mode must NOT dim / wash / invert images.
   Keep all photos, hero backgrounds, sliders, and service images
   visible exactly like dark mode.
========================================================= */

body.light-mode img,
body.light-mode picture,
body.light-mode video,
body.light-mode canvas,
body.light-mode model-viewer,
body.light-mode .hero-bg,
body.light-mode .hero-slide,
body.light-mode .hero-slider,
body.light-mode .final-bg,
body.light-mode .page-hero,
body.light-mode .page-hero .hero-slide,
body.light-mode .services-hero-bg,
body.light-mode .warranty-hero-bg,
body.light-mode .franchise-hero-bg,
body.light-mode .contact-hero-bg,
body.light-mode .service-card img,
body.light-mode .sim-before,
body.light-mode .sim-after img,
body.light-mode .qr-code-box img,
body.light-mode .job-photo-card img,
body.light-mode .signature-preview img,
body.light-mode .login-visual,
body.light-mode .os-hero,
body.light-mode .inv-hero,
body.light-mode .franchise-hero,
body.light-mode .warranty-enterprise-hero,
body.light-mode .services-page-hero,
body.light-mode [style*="background-image"],
body.light-mode [style*="url("] {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Keep photo cards readable without destroying the image */
body.light-mode .service-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 62%) !important;
}

body.light-mode .service-card:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08);
}

/* Hero photo overlay in light mode: transparent enough to show image */
body.light-mode .hero-vignette,
body.light-mode .page-hero .hero-slide::before {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .08), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(255, 31, 31, .10), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .34)) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Slider overlays should not hide the photo in light mode */
body.light-mode .hero-slide::before,
body.light-mode .hero-slide::after,
body.light-mode .final-cta::before {
  opacity: .65 !important;
  mix-blend-mode: normal !important;
}

/* Logos should remain clean and sharp in light mode */
body.light-mode .brand-logos img,
body.light-mode .logo-3m,
body.light-mode .logo-atlas,
body.light-mode .footer-brand img,
body.light-mode .loader-logo img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* If any old light-mode rule added white layers above images, disable it */
body.light-mode .image-overlay,
body.light-mode .photo-overlay,
body.light-mode .light-overlay {
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
}



/* ===== SOURCE: static/css/responsive.css ===== */


/* ===== SOURCE: static/css/v11-final-fix.css ===== */


/* =========================================================
   V11 FINAL FIXES: READABLE THEME + SERVICES MENU + DETAILS
   ========================================================= */
html[data-theme="light"],
html[data-theme="light"] body {
  background: #f4f6f9 !important;
  color: #111318 !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #050608 !important;
  color: #ffffff !important;
}

/* make every common page area follow the active theme */
html[data-theme="light"] .site-header,
html[data-theme="light"] .desktop-nav,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-menu-content,
html[data-theme="light"] .atlas-services-panel,
html[data-theme="light"] .atlas-footer,
html[data-theme="light"] .footer-column,
html[data-theme="light"] .section,
html[data-theme="light"] .content-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .eco-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .center-panel,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .center-summary,
html[data-theme="light"] .booking-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .franchise-card,
html[data-theme="light"] .form-card,
html[data-theme="light"] .review-card {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .12) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08) !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .mobile-menu-content,
html[data-theme="dark"] .atlas-services-panel,
html[data-theme="dark"] .atlas-footer,
html[data-theme="dark"] .section,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .eco-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .center-panel,
html[data-theme="dark"] .atlas-center-card,
html[data-theme="dark"] .center-summary,
html[data-theme="dark"] .booking-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .warranty-card,
html[data-theme="dark"] .franchise-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .review-card {
  background: rgba(8, 10, 15, .94) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] a:not(.primary-btn):not(.glass-btn):not(.ghost-btn),
html[data-theme="light"] label,
html[data-theme="light"] button:not(.primary-btn),
html[data-theme="light"] strong,
html[data-theme="light"] b,
html[data-theme="light"] small {
  color: #111318 !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] p,
html[data-theme="dark"] span,
html[data-theme="dark"] li,
html[data-theme="dark"] a:not(.primary-btn):not(.glass-btn):not(.ghost-btn),
html[data-theme="dark"] label,
html[data-theme="dark"] button:not(.primary-btn),
html[data-theme="dark"] strong,
html[data-theme="dark"] b,
html[data-theme="dark"] small {
  color: #ffffff !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .accent,
html[data-theme="light"] .atlas-services-panel b,
html[data-theme="light"] .mobile-services-panel strong,
html[data-theme="light"] .content-card h3 {
  color: #d71920 !important;
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .accent,
html[data-theme="dark"] .atlas-services-panel b,
html[data-theme="dark"] .mobile-services-panel strong,
html[data-theme="dark"] .content-card h3 {
  color: #ff3333 !important;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .service-detail-hero {
  background: radial-gradient(circle at 18% 8%, rgba(227, 6, 19, .15), transparent 35%), linear-gradient(135deg, #ffffff, #eef1f6) !important;
  color: #111318 !important;
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .service-detail-hero {
  background: radial-gradient(circle at 18% 8%, rgba(227, 6, 19, .24), transparent 35%), linear-gradient(135deg, #050505, #11151c) !important;
  color: #ffffff !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #fff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .18) !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #11151c !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .14) !important;
}

html[data-theme="light"] .primary-btn,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .reset-filters-btn,
html[data-theme="dark"] .primary-btn,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .reset-filters-btn {
  background: #d71920 !important;
  color: #fff !important;
  border-color: #d71920 !important;
}

html[data-theme="light"] .primary-btn *,
html[data-theme="light"] .btn-primary *,
html[data-theme="light"] .reset-filters-btn *,
html[data-theme="dark"] .primary-btn *,
html[data-theme="dark"] .btn-primary *,
html[data-theme="dark"] .reset-filters-btn * {
  color: #fff !important;
}

/* services must clearly show that it has submenu */
.atlas-services-dd>a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.atlas-services-dd>a::after {
  content: 'â–¾';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(227, 6, 19, .16);
  color: #ff3333;
  transition: .2s ease;
}

.atlas-services-dd:hover>a::after,
.atlas-services-dd:focus-within>a::after {
  transform: rotate(180deg);
  background: #d71920;
  color: #fff;
}

.atlas-services-dd::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 26px;
}

.atlas-services-panel {
  top: calc(100% + 12px) !important;
}

/* theme toggle: never hidden and always readable */
#themeBtn,
.theme-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid currentColor !important;
}

.theme-toggle[hidden],
#themeBtn[hidden] {
  display: inline-flex !important;
}

html[data-theme="light"] #themeBtn,
html[data-theme="light"] .theme-toggle {
  background: #111318 !important;
  color: #fff !important;
  border-color: #111318 !important;
}

html[data-theme="dark"] #themeBtn,
html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .18) !important;
}

#themeBtn i,
.theme-toggle i {
  color: inherit !important;
}

/* mobile menu and services submenu scroll */
.mobile-services-toggle {
  display: flex !important;
  justify-content: space-between !important;
}

.mobile-services-toggle::after {
  content: 'â–¾';
}

.mobile-menu.services-open .mobile-services-toggle::after {
  content: 'â–´';
}

@media (max-width:1180px) {
  .mobile-services-panel {
    display: none !important;
    max-height: 45vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .mobile-menu.services-open .mobile-services-panel {
    display: grid !important;
    gap: 8px !important;
  }

  .mobile-menu-content a,
  .mobile-menu-content button {
    color: inherit !important;
  }
}

/* centers mobile scroll */
@media (max-width:900px) {

  .center-panel,
  .center-panel.no-translate {
    max-height: 68vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .center-summary {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
  }
}

/* ===== V12 REQUEST FIXES ===== */
.theme-toggle[hidden],
#themeBtn[hidden] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#themeBtn,
.theme-toggle {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 20 !important;
}

html[data-theme="light"] #themeBtn,
html[data-theme="light"] .theme-toggle {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .14) !important;
}

#themeBtn i,
.theme-toggle i {
  color: inherit !important;
  font-size: 16px !important;
}

html[data-theme="light"],
html[data-theme="light"] body,
body.light {
  background: #f5f6f8 !important;
  color: #111 !important;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .desktop-nav,
html[data-theme="light"] .header-actions,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .atlas-services-panel,
html[data-theme="light"] .mobile-services-panel,
html[data-theme="light"] .atlas-footer,
html[data-theme="light"] .content-card,
html[data-theme="light"] .service-detail-card,
html[data-theme="light"] .franchise-value-card,
html[data-theme="light"] .franchise-process-card,
html[data-theme="light"] .application-glass-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .page-card,
html[data-theme="light"] .center-card,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .center-summary,
html[data-theme="light"] .filter-panel,
html[data-theme="light"] .booking-card,
html[data-theme="light"] .contact-card {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, .12) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .08) !important;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .service-detail-hero {
  background: radial-gradient(circle at 18% 5%, rgba(227, 6, 19, .10), transparent 34%), linear-gradient(135deg, #fff, #f1f2f5) !important;
  color: #111 !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] a:not(.primary-btn):not(.book-btn):not(.primary),
html[data-theme="light"] label,
html[data-theme="light"] b,
html[data-theme="light"] strong,
body.light h1,
body.light h2,
body.light h3,
body.light p,
body.light span,
body.light li,
body.light a:not(.primary-btn):not(.book-btn):not(.primary) {
  color: #111 !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .mega-col h3,
html[data-theme="light"] .atlas-services-panel b,
html[data-theme="light"] .mobile-services-panel strong,
html[data-theme="light"] .section-head .eyebrow {
  color: #d71920 !important;
}

html[data-theme="light"] small,
html[data-theme="light"] .muted,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .hero-content p,
html[data-theme="light"] .content-card p,
html[data-theme="light"] .content-card li {
  color: #555 !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, .16) !important;
}

html[data-theme="light"] .primary-btn,
html[data-theme="light"] .book-btn,
html[data-theme="light"] .primary,
html[data-theme="light"] .action-book {
  background: #d71920 !important;
  color: #fff !important;
  border-color: #d71920 !important;
}

html[data-theme="light"] .ghost-btn,
html[data-theme="light"] .glass-btn {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, .14) !important;
}

.atlas-services-dd>a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-inline-start: 8px;
  font-size: 12px;
  color: #ff2b35;
  display: inline-block;
  transition: .2s ease;
}

.atlas-services-dd:hover>a::after {
  transform: rotate(180deg)
}

.atlas-services-panel a,
.mobile-services-panel a {
  display: block !important;
}

.mobile-services-toggle::after {
  content: "â–¼";
  float: inline-end;
  margin-inline-start: 8px;
  color: #ff2b35;
  font-size: 12px;
}

.mobile-menu.services-open .mobile-services-toggle::after {
  content: "â–²";
}

@media(max-width:991px) {
  .mobile-services-panel {
    max-height: 62vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important
  }

  .mobile-menu-content {
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important
  }

  .atlas-services-panel {
    max-height: 62vh !important;
    overflow-y: auto !important
  }

  .map-layout {
    display: block !important
  }

  .centers-list,
  .centers-results,
  .center-panel {
    max-height: 70vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important
  }

  .atlas-center-card,
  .center-card {
    margin-bottom: 14px !important
  }
}

.map-section {
  scroll-margin-top: 110px !important
}

.section {
  padding-block: clamp(42px, 6vw, 78px) !important
}

.page-hero {
  min-height: auto !important;
  padding-block: clamp(110px, 12vw, 150px) clamp(55px, 7vw, 80px) !important
}

.content-shell {
  margin-block: 42px !important
}

.franchise-hero-bg {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .28)), url('/static/images/saudi-business-team.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 1 !important;
  filter: none !important;
}

html[data-theme="light"] .franchise-hero-bg {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .18)), url('/static/images/saudi-business-team.svg') !important;
}


/* ===== V13 VISUAL POLISH FIXES ===== */
/* Keep hero readable in light mode because slides use dark photo backgrounds */
html[data-theme="light"] .hero-slider,
html[data-theme="light"] .hero-slide,
html[data-theme="light"] .franchise-hero,
html[data-theme="light"] .page-hero.has-bg,
html[data-theme="light"] .visual-hero {
  color: #fff !important;
}

html[data-theme="light"] .hero-slider h1,
html[data-theme="light"] .hero-slider h1 span,
html[data-theme="light"] .hero-slider p,
html[data-theme="light"] .hero-slider .eyebrow,
html[data-theme="light"] .hero-slider .hero-content *,
html[data-theme="light"] .franchise-hero h1,
html[data-theme="light"] .franchise-hero p,
html[data-theme="light"] .franchise-hero .eyebrow {
  color: #fff !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, .55) !important;
}

html[data-theme="light"] .hero-vignette {
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .42), rgba(0, 0, 0, .2)) !important;
  opacity: 1 !important;
}

html[dir="ltr"][data-theme="light"] .hero-vignette {
  background: linear-gradient(270deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .42), rgba(0, 0, 0, .2)) !important;
}

/* Metrics must be visible in both modes */
.hero-metrics,
.metrics-row,
.stats-row,
.stats-grid {
  isolation: isolate;
}

html[data-theme="light"] .hero-metrics,
html[data-theme="light"] .metrics-row,
html[data-theme="light"] .stats-row,
html[data-theme="light"] .stats-grid {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(0, 0, 0, .12) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16) !important;
  backdrop-filter: blur(16px) !important;
}

html[data-theme="light"] .hero-metrics *,
html[data-theme="light"] .metrics-row *,
html[data-theme="light"] .stats-row *,
html[data-theme="light"] .stats-grid * {
  color: #111318 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .hero-metrics strong,
html[data-theme="light"] .metrics-row strong,
html[data-theme="light"] .stats-row strong,
html[data-theme="light"] .stats-grid strong {
  color: #d71920 !important;
}

html[data-theme="dark"] .hero-metrics,
html[data-theme="dark"] .metrics-row,
html[data-theme="dark"] .stats-row,
html[data-theme="dark"] .stats-grid {
  background: rgba(5, 5, 5, .62) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  backdrop-filter: blur(16px) !important;
}

/* Light mode mobile menu visibility */
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-menu-content,
html[data-theme="light"] .mobile-services-panel {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .12) !important;
}

html[data-theme="light"] .mobile-menu a,
html[data-theme="light"] .mobile-menu button,
html[data-theme="light"] .mobile-services-panel a,
html[data-theme="light"] .mobile-services-panel strong {
  color: #111318 !important;
  background: #f5f6f8 !important;
  border-color: rgba(0, 0, 0, .12) !important;
  text-shadow: none !important;
}

html[data-theme="light"] .mobile-menu .mobile-center-btn,
html[data-theme="light"] .mobile-menu .primary-btn {
  background: #d71920 !important;
  color: #fff !important;
}

html[data-theme="light"] .menu-btn span {
  background: #111318 !important;
}

html[data-theme="light"] .menu-btn {
  border-color: rgba(0, 0, 0, .16) !important;
  background: #fff !important;
}

/* Desktop services dropdown: open centered under the services button in RTL/LTR */
.atlas-services-dd {
  position: relative !important;
}

.atlas-services-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(12px) !important;
  margin-inline: 0 !important;
  text-align: start !important;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  transform: translateX(-50%) translateY(0) !important;
}

html[dir="rtl"] .atlas-services-panel {
  direction: rtl !important;
}

html[dir="ltr"] .atlas-services-panel {
  direction: ltr !important;
}

@media (min-width:981px) {
  .atlas-services-panel {
    width: min(820px, calc(100vw - 56px)) !important;
    max-width: 820px !important;
  }
}

@media (max-width:1180px) and (min-width:981px) {
  .atlas-services-panel {
    width: min(720px, calc(100vw - 32px)) !important;
  }
}

/* Premium loader: dark red by default, clean light version when selected */
.site-loader {
  background: radial-gradient(circle at 50% 35%, rgba(215, 25, 32, .22), transparent 32%), #030303 !important;
  transition: opacity .55s ease, visibility .55s ease !important;
}

html[data-theme="light"] .site-loader {
  background: radial-gradient(circle at 50% 35%, rgba(215, 25, 32, .16), transparent 34%), #f7f8fa !important;
}

.loader-ring {
  width: 96px !important;
  height: 96px !important;
  border: 2px solid rgba(215, 25, 32, .22) !important;
  border-top-color: #d71920 !important;
  border-right-color: #d71920 !important;
  box-shadow: 0 0 34px rgba(215, 25, 32, .34), inset 0 0 18px rgba(215, 25, 32, .12) !important;
  animation: atlasLoaderSpin .9s linear infinite !important;
}

.loader-logo {
  padding: 18px 22px !important;
  border-radius: 22px !important;
  background: rgba(0, 0, 0, .48) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .38) !important;
  backdrop-filter: blur(14px) !important;
}

html[data-theme="light"] .loader-logo {
  background: rgba(255, 255, 255, .86) !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .12) !important;
}

.loader-logo span {
  color: #d71920 !important;
  font-size: 42px !important;
  font-weight: 1000 !important;
  letter-spacing: -2px !important;
  text-shadow: 0 0 24px rgba(215, 25, 32, .42) !important;
}

.loader-logo p {
  color: #fff !important;
  letter-spacing: 3px !important;
  font-weight: 900 !important;
}

html[data-theme="light"] .loader-logo p {
  color: #111318 !important;
}

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

/* Reduce remaining huge vertical gaps */
.section {
  padding-block: clamp(36px, 5vw, 66px) !important;
}

.content-shell {
  margin-block: 34px !important;
}

.page-hero {
  padding-block: clamp(90px, 10vw, 128px) clamp(42px, 6vw, 62px) !important;
}

/* Franchise Saudi visual */
.franchise-hero-bg {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25)), url('/static/images/saudi-business-team.svg') !important;
  background-size: cover !important;
  background-position: center !important;
}

html[data-theme="light"] .franchise-hero-bg {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .18)), url('/static/images/saudi-business-team.svg') !important;
}


/* ===== SOURCE: static/css/v14-final-visual-polish.css ===== */
/* ===== V14 FINAL VISUAL POLISH ===== */

/* Bigger Atlas logo to match 3M visual weight */
.logo-atlas {
  width: auto !important;
  height: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.logo-3m {
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}

.site-header .brand-logos {
  align-items: center !important;
  gap: 12px !important;
}

@media(max-width:980px) {
  .logo-atlas {
    height: 46px !important;
    max-height: 46px !important;
  }

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

/* Real Saudi/business photo for franchise hero */
.franchise-hero-bg {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .26)), url('/static/images//new-saudi.jpg') !important;
  background-size: cover !important;
  background-position: center 38% !important;
  filter: none !important;
}

html[data-theme="light"] .franchise-hero-bg,
body.light .franchise-hero-bg,
body.light-mode .franchise-hero-bg {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .20)), url('/static/images/saudi-business-real.jpg') !important;
  background-size: cover !important;
  background-position: center 38% !important;
}

/* Strong readable light mode for hero, metrics, mobile menu, and pre-footer sections */
html[data-theme="light"] body,
body.light,
body.light-mode {
  color: #111318 !important;
  background: #f6f7f9 !important;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .hero-slide,
html[data-theme="light"] .page-hero,
body.light .hero,
body.light .hero-slide,
body.light .page-hero,
body.light-mode .hero,
body.light-mode .hero-slide,
body.light-mode .page-hero {
  color: #111318 !important;
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero h2,
html[data-theme="light"] .hero p,
html[data-theme="light"] .hero span,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .slide-content h1,
html[data-theme="light"] .slide-content p,
html[data-theme="light"] .slide-content span,
body.light .hero h1,
body.light .hero h2,
body.light .hero p,
body.light .hero span,
body.light .page-hero h1,
body.light .page-hero p,
body.light .slide-content h1,
body.light .slide-content p,
body.light .slide-content span,
body.light-mode .hero h1,
body.light-mode .hero h2,
body.light-mode .hero p,
body.light-mode .hero span,
body.light-mode .page-hero h1,
body.light-mode .page-hero p,
body.light-mode .slide-content h1,
body.light-mode .slide-content p,
body.light-mode .slide-content span {
  color: #111318 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .eyebrow,
body.light .eyebrow,
body.light-mode .eyebrow {
  color: #d71920 !important;
}

html[data-theme="light"] .hero-metrics,
body.light .hero-metrics,
body.light-mode .hero-metrics {
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(0, 0, 0, .12) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12) !important;
}

html[data-theme="light"] .hero-metrics div,
body.light .hero-metrics div,
body.light-mode .hero-metrics div {
  background: rgba(255, 255, 255, .96) !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

html[data-theme="light"] .hero-metrics strong,
html[data-theme="light"] .hero-metrics span,
body.light .hero-metrics strong,
body.light .hero-metrics span,
body.light-mode .hero-metrics strong,
body.light-mode .hero-metrics span {
  color: #111318 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .hero-metrics strong,
body.light .hero-metrics strong,
body.light-mode .hero-metrics strong {
  color: #d71920 !important;
}

/* Sections just above footer / CTA strips in light mode */
html[data-theme="light"] .cta-section,
html[data-theme="light"] .final-cta,
html[data-theme="light"] .footer-cta,
html[data-theme="light"] .pre-footer,
html[data-theme="light"] .contact-strip,
html[data-theme="light"] .closing-cta,
html[data-theme="light"] .application-preview,
html[data-theme="light"] .franchise-application-preview,
body.light .cta-section,
body.light .final-cta,
body.light .footer-cta,
body.light .pre-footer,
body.light .contact-strip,
body.light .closing-cta,
body.light .application-preview,
body.light .franchise-application-preview,
body.light-mode .cta-section,
body.light-mode .final-cta,
body.light-mode .footer-cta,
body.light-mode .pre-footer,
body.light-mode .contact-strip,
body.light-mode .closing-cta,
body.light-mode .application-preview,
body.light-mode .franchise-application-preview {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .12) !important;
}

html[data-theme="light"] .cta-section *,
html[data-theme="light"] .final-cta *,
html[data-theme="light"] .footer-cta *,
html[data-theme="light"] .pre-footer *,
html[data-theme="light"] .contact-strip *,
html[data-theme="light"] .closing-cta *,
html[data-theme="light"] .application-preview *,
html[data-theme="light"] .franchise-application-preview *,
body.light .cta-section *,
body.light .final-cta *,
body.light .footer-cta *,
body.light .pre-footer *,
body.light .contact-strip *,
body.light .closing-cta *,
body.light .application-preview *,
body.light .franchise-application-preview *,
body.light-mode .cta-section *,
body.light-mode .final-cta *,
body.light-mode .footer-cta *,
body.light-mode .pre-footer *,
body.light-mode .contact-strip *,
body.light-mode .closing-cta *,
body.light-mode .application-preview *,
body.light-mode .franchise-application-preview * {
  color: #111318 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .cta-section .primary-btn,
html[data-theme="light"] .final-cta .primary-btn,
html[data-theme="light"] .footer-cta .primary-btn,
body.light .cta-section .primary-btn,
body.light .final-cta .primary-btn,
body.light .footer-cta .primary-btn,
body.light-mode .cta-section .primary-btn,
body.light-mode .final-cta .primary-btn,
body.light-mode .footer-cta .primary-btn {
  color: #fff !important;
}

/* Light mode mobile menu visibility */
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-panel,
html[data-theme="light"] .mobile-nav,
body.light .mobile-menu,
body.light .mobile-panel,
body.light .mobile-nav,
body.light-mode .mobile-menu,
body.light-mode .mobile-panel,
body.light-mode .mobile-nav {
  background: #fff !important;
  color: #111318 !important;
  border-color: rgba(0, 0, 0, .12) !important;
}

html[data-theme="light"] .mobile-menu a,
html[data-theme="light"] .mobile-menu button,
html[data-theme="light"] .mobile-panel a,
html[data-theme="light"] .mobile-panel button,
html[data-theme="light"] .mobile-nav a,
html[data-theme="light"] .mobile-nav button,
body.light .mobile-menu a,
body.light .mobile-menu button,
body.light .mobile-panel a,
body.light .mobile-panel button,
body.light .mobile-nav a,
body.light .mobile-nav button,
body.light-mode .mobile-menu a,
body.light-mode .mobile-menu button,
body.light-mode .mobile-panel a,
body.light-mode .mobile-panel button,
body.light-mode .mobile-nav a,
body.light-mode .mobile-nav button {
  color: #111318 !important;
  background: rgba(0, 0, 0, .035) !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

/* Services dropdown should open centered below the button in Arabic and English */
@media (min-width:981px) {

  .services-dropdown,
  .atlas-services-panel,
  .mega-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    transform-origin: top center !important;
  }

  .nav-services:hover .services-dropdown,
  .nav-services:focus-within .services-dropdown,
  .services-dropdown:hover,
  .desktop-services:hover .atlas-services-panel,
  .desktop-services:focus-within .atlas-services-panel,
  .atlas-services-panel:hover,
  .has-menu:hover .mega-menu,
  .has-menu:focus-within .mega-menu,
  .mega-menu:hover {
    transform: translateX(-50%) translateY(0) !important;
  }
}

/* More professional loader: two red rings orbiting on black or light */
.site-loader {
  background: radial-gradient(circle at 50% 45%, rgba(215, 25, 32, .26), transparent 34%), #020203 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity .55s ease, visibility .55s ease !important;
}

html[data-theme="light"] .site-loader,
body.light .site-loader,
body.light-mode .site-loader {
  background: radial-gradient(circle at 50% 45%, rgba(215, 25, 32, .18), transparent 34%), #f7f8fb !important;
}

.site-loader.hide {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.loader-ring {
  width: 116px !important;
  height: 116px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: conic-gradient(from 0deg, transparent 0 26%, #d71920 37%, transparent 48% 64%, #ff2b35 77%, transparent 89%) !important;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)) !important;
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)) !important;
  animation: atlasLoaderSpin 1s linear infinite !important;
  box-shadow: 0 0 42px rgba(215, 25, 32, .42) !important;
  position: relative !important;
}

.loader-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, transparent 0 30%, rgba(255, 43, 53, .98) 44%, transparent 55% 70%, rgba(215, 25, 32, .9) 84%, transparent 94%) !important;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)) !important;
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)) !important;
  animation: atlasLoaderSpinReverse 1.45s linear infinite !important;
}

.loader-logo {
  margin-top: 22px !important;
  padding: 18px 24px !important;
  border-radius: 24px !important;
  background: rgba(0, 0, 0, .54) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .46) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

html[data-theme="light"] .loader-logo,
body.light .loader-logo,
body.light-mode .loader-logo {
  background: rgba(255, 255, 255, .88) !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14) !important;
}

.loader-logo span {
  color: #d71920 !important;
  font-size: 46px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: -2px !important;
  text-shadow: 0 0 26px rgba(215, 25, 32, .48) !important;
}

.loader-logo p {
  color: #ffffff !important;
  margin-top: 8px !important;
  letter-spacing: 3px !important;
  font-weight: 900 !important;
  font-size: 11px !important;
}

html[data-theme="light"] .loader-logo p,
body.light .loader-logo p,
body.light-mode .loader-logo p {
  color: #111318 !important;
}

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

@keyframes atlasLoaderSpinReverse {
  to {
    transform: rotate(-360deg)
  }
}


/* ===== SOURCE: static/css/v15-visual-fixes.css ===== */
/* ===== V15 FINAL VISUAL/THEME/SERVICES FIXES ===== */

/* 1) Powerful light mode readability everywhere */
html[data-theme="light"],
html[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f4f5f7 !important;
  color: #171a22 !important;
}

html[data-theme="light"] .main-wrapper,
html[data-theme="light"] main,
html[data-theme="light"] section,
html[data-theme="light"] .section,
html[data-theme="light"] .page-section,
html[data-theme="light"] .service-category-block,
html[data-theme="light"] .content-card,
html[data-theme="light"] .content-shell,
html[data-theme="light"] .step-card,
html[data-theme="light"] .service-detail-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .verify-card,
html[data-theme="light"] .journey-card,
html[data-theme="light"] .center-card,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .form-card,
body.light .main-wrapper,
body.light main,
body.light section,
body.light .section,
body.light .page-section,
body.light .service-category-block,
body.light .content-card,
body.light .content-shell,
body.light .step-card,
body.light .service-detail-card,
body.light .feature-card,
body.light .glass-card,
body.light .warranty-card,
body.light .verify-card,
body.light .journey-card,
body.light .center-card,
body.light .atlas-center-card,
body.light .review-card,
body.light .contact-card,
body.light .form-card,
body.light-mode .main-wrapper,
body.light-mode main,
body.light-mode section,
body.light-mode .section,
body.light-mode .page-section,
body.light-mode .service-category-block,
body.light-mode .content-card,
body.light-mode .content-shell,
body.light-mode .step-card,
body.light-mode .service-detail-card,
body.light-mode .feature-card,
body.light-mode .glass-card,
body.light-mode .warranty-card,
body.light-mode .verify-card,
body.light-mode .journey-card,
body.light-mode .center-card,
body.light-mode .atlas-center-card,
body.light-mode .review-card,
body.light-mode .contact-card,
body.light-mode .form-card {
  color: #171a22 !important;
  border-color: rgba(17, 24, 39, .12) !important;
}

html[data-theme="light"] .service-detail-card,
html[data-theme="light"] .step-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .verify-card,
html[data-theme="light"] .journey-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .content-card,
body.light .service-detail-card,
body.light .step-card,
body.light .warranty-card,
body.light .verify-card,
body.light .journey-card,
body.light .glass-card,
body.light .content-card,
body.light-mode .service-detail-card,
body.light-mode .step-card,
body.light-mode .warranty-card,
body.light-mode .verify-card,
body.light-mode .journey-card,
body.light-mode .glass-card,
body.light-mode .content-card {
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 20px 45px rgba(17, 24, 39, .08) !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] small,
html[data-theme="light"] label,
html[data-theme="light"] a:not(.primary-btn):not(.action-book):not(.float-btn),
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light p,
body.light span,
body.light li,
body.light small,
body.light label,
body.light a:not(.primary-btn):not(.action-book):not(.float-btn),
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode small,
body.light-mode label,
body.light-mode a:not(.primary-btn):not(.action-book):not(.float-btn) {
  color: #171a22 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-kicker,
html[data-theme="light"] .red-text,
html[data-theme="light"] .accent,
body.light .eyebrow,
body.light .section-kicker,
body.light .red-text,
body.light .accent,
body.light-mode .eyebrow,
body.light-mode .section-kicker,
body.light-mode .red-text,
body.light-mode .accent {
  color: #d71920 !important;
}

html[data-theme="light"] .subtitle,
html[data-theme="light"] .muted,
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .card-text,
html[data-theme="light"] .service-detail-card p,
html[data-theme="light"] .step-card p,
body.light .subtitle,
body.light .muted,
body.light .section-subtitle,
body.light .card-text,
body.light .service-detail-card p,
body.light .step-card p,
body.light-mode .subtitle,
body.light-mode .muted,
body.light-mode .section-subtitle,
body.light-mode .card-text,
body.light-mode .service-detail-card p,
body.light-mode .step-card p {
  color: #4b5563 !important;
}

/* 2) Page hero / services hero specifically */
html[data-theme="light"] .page-hero,
html[data-theme="light"] .services-page-hero,
html[data-theme="light"] .service-detail-hero,
body.light .page-hero,
body.light .services-page-hero,
body.light .service-detail-hero,
body.light-mode .page-hero,
body.light-mode .services-page-hero,
body.light-mode .service-detail-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .70), rgba(255, 255, 255, .48)),
    radial-gradient(circle at 60% 15%, rgba(215, 25, 32, .20), transparent 34%),
    #eef0f4 !important;
  color: #171a22 !important;
}

html[data-theme="light"] .page-hero .hero-vignette,
html[data-theme="light"] .services-hero-bg,
body.light .page-hero .hero-vignette,
body.light .services-hero-bg,
body.light-mode .page-hero .hero-vignette,
body.light-mode .services-hero-bg {
  opacity: .18 !important;
  filter: brightness(1.1) contrast(.92) !important;
}

html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .service-detail-hero h1,
html[data-theme="light"] .service-detail-hero p,
body.light .page-hero h1,
body.light .page-hero p,
body.light .service-detail-hero h1,
body.light .service-detail-hero p,
body.light-mode .page-hero h1,
body.light-mode .page-hero p,
body.light-mode .service-detail-hero h1,
body.light-mode .service-detail-hero p {
  color: #171a22 !important;
  text-shadow: none !important;
}

/* 3) Home journey cards / Scan Verify Trust / metrics / top-of-footer CTAs */
html[data-theme="light"] .journey,
html[data-theme="light"] .atlas-journey,
html[data-theme="light"] .verification,
html[data-theme="light"] .warranty-verify,
html[data-theme="light"] .scan-section,
html[data-theme="light"] .final-cta,
html[data-theme="light"] .cta-section,
html[data-theme="light"] .footer-cta,
html[data-theme="light"] .pre-footer,
html[data-theme="light"] .closing-cta,
body.light .journey,
body.light .atlas-journey,
body.light .verification,
body.light .warranty-verify,
body.light .scan-section,
body.light .final-cta,
body.light .cta-section,
body.light .footer-cta,
body.light .pre-footer,
body.light .closing-cta,
body.light-mode .journey,
body.light-mode .atlas-journey,
body.light-mode .verification,
body.light-mode .warranty-verify,
body.light-mode .scan-section,
body.light-mode .final-cta,
body.light-mode .cta-section,
body.light-mode .footer-cta,
body.light-mode .pre-footer,
body.light-mode .closing-cta {
  background: #fff !important;
  color: #171a22 !important;
}

html[data-theme="light"] .journey *,
html[data-theme="light"] .atlas-journey *,
html[data-theme="light"] .verification *,
html[data-theme="light"] .warranty-verify *,
html[data-theme="light"] .scan-section *,
html[data-theme="light"] .final-cta *:not(.primary-btn),
html[data-theme="light"] .cta-section *:not(.primary-btn),
html[data-theme="light"] .footer-cta *:not(.primary-btn),
html[data-theme="light"] .pre-footer *:not(.primary-btn),
html[data-theme="light"] .closing-cta *:not(.primary-btn),
body.light .journey *,
body.light .atlas-journey *,
body.light .verification *,
body.light .warranty-verify *,
body.light .scan-section *,
body.light .final-cta *:not(.primary-btn),
body.light .cta-section *:not(.primary-btn),
body.light .footer-cta *:not(.primary-btn),
body.light .pre-footer *:not(.primary-btn),
body.light .closing-cta *:not(.primary-btn),
body.light-mode .journey *,
body.light-mode .atlas-journey *,
body.light-mode .verification *,
body.light-mode .warranty-verify *,
body.light-mode .scan-section *,
body.light-mode .final-cta *:not(.primary-btn),
body.light-mode .cta-section *:not(.primary-btn),
body.light-mode .footer-cta *:not(.primary-btn),
body.light-mode .pre-footer *:not(.primary-btn),
body.light-mode .closing-cta *:not(.primary-btn) {
  color: #171a22 !important;
  text-shadow: none !important;
}

/* Metrics variants */
html[data-theme="light"] .hero-metrics,
html[data-theme="light"] .metric-row,
html[data-theme="light"] .metrics-grid,
body.light .hero-metrics,
body.light .metric-row,
body.light .metrics-grid,
body.light-mode .hero-metrics,
body.light-mode .metric-row,
body.light-mode .metrics-grid {
  background: rgba(255, 255, 255, .92) !important;
  border-color: rgba(17, 24, 39, .12) !important;
}

html[data-theme="light"] .hero-metrics strong,
html[data-theme="light"] .metrics-grid strong,
body.light .hero-metrics strong,
body.light .metrics-grid strong,
body.light-mode .hero-metrics strong,
body.light-mode .metrics-grid strong {
  color: #d71920 !important;
}

html[data-theme="light"] .hero-metrics span,
html[data-theme="light"] .metrics-grid span,
body.light .hero-metrics span,
body.light .metrics-grid span,
body.light-mode .hero-metrics span,
body.light-mode .metrics-grid span {
  color: #171a22 !important;
}

/* 4) Header/mobile in light mode */
html[data-theme="light"] .site-header,
body.light .site-header,
body.light-mode .site-header {
  background: rgba(255, 255, 255, .96) !important;
  color: #171a22 !important;
  border-color: rgba(17, 24, 39, .10) !important;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .08) !important;
}

html[data-theme="light"] .site-header a,
html[data-theme="light"] .site-header span,
html[data-theme="light"] .site-header strong,
html[data-theme="light"] .site-header small,
html[data-theme="light"] .site-header button,
body.light .site-header a,
body.light .site-header span,
body.light .site-header strong,
body.light .site-header small,
body.light .site-header button,
body.light-mode .site-header a,
body.light-mode .site-header span,
body.light-mode .site-header strong,
body.light-mode .site-header small,
body.light-mode .site-header button {
  color: #171a22 !important;
}

html[data-theme="light"] .primary-btn,
body.light .primary-btn,
body.light-mode .primary-btn,
html[data-theme="light"] .site-header .primary-btn,
body.light .site-header .primary-btn,
body.light-mode .site-header .primary-btn {
  color: #fff !important;
}

html[data-theme="light"] .mobile-menu,
body.light .mobile-menu,
body.light-mode .mobile-menu {
  background: #fff !important;
  border-color: rgba(17, 24, 39, .12) !important;
}

html[data-theme="light"] .mobile-menu a,
html[data-theme="light"] .mobile-menu button,
html[data-theme="light"] .mobile-services-panel a,
html[data-theme="light"] .mobile-services-panel strong,
body.light .mobile-menu a,
body.light .mobile-menu button,
body.light .mobile-services-panel a,
body.light .mobile-services-panel strong,
body.light-mode .mobile-menu a,
body.light-mode .mobile-menu button,
body.light-mode .mobile-services-panel a,
body.light-mode .mobile-services-panel strong {
  color: #171a22 !important;
  background: rgba(17, 24, 39, .035) !important;
}

/* 5) Services dropdown: always opens under Services button, not off to the side */
.atlas-services-dd {
  position: relative !important;
}

.atlas-services-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(10px) !important;
  transform-origin: top center !important;
  min-width: min(760px, calc(100vw - 36px)) !important;
  max-width: calc(100vw - 36px) !important;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  transform: translateX(-50%) translateY(0) !important;
}

html[data-theme="light"] .atlas-services-panel,
body.light .atlas-services-panel,
body.light-mode .atlas-services-panel {
  background: #fff !important;
  color: #171a22 !important;
  border-color: rgba(17, 24, 39, .12) !important;
  box-shadow: 0 22px 50px rgba(17, 24, 39, .12) !important;
}

html[data-theme="light"] .atlas-services-panel *,
body.light .atlas-services-panel *,
body.light-mode .atlas-services-panel * {
  color: #171a22 !important;
}

html[data-theme="light"] .atlas-services-panel b,
body.light .atlas-services-panel b,
body.light-mode .atlas-services-panel b {
  color: #d71920 !important;
}

.desktop-nav .atlas-services-dd>a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid #d71920;
  border-bottom: 2px solid #d71920;
  transform: rotate(45deg);
  margin-inline-start: 8px;
  margin-bottom: 3px;
  transition: .2s ease;
}

.desktop-nav .atlas-services-dd:hover>a::after {
  transform: rotate(225deg);
  margin-bottom: -2px;
}

/* 6) Footer unified visual */
.atlas-footer {
  background: #07080b !important;
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, .10) !important;
}

.atlas-footer * {
  color: inherit !important;
}

.atlas-footer a {
  color: rgba(255, 255, 255, .82) !important;
  text-decoration: none;
}

.atlas-footer a:hover {
  color: #ff2b35 !important;
}

.atlas-footer h2,
.atlas-footer h3 {
  color: #fff !important;
}

.atlas-footer p,
.atlas-footer span {
  color: rgba(255, 255, 255, .72) !important;
}

html[data-theme="light"] .atlas-footer,
body.light .atlas-footer,
body.light-mode .atlas-footer {
  background: #0b0d12 !important;
  color: #fff !important;
}

html[data-theme="light"] .atlas-footer *,
body.light .atlas-footer *,
body.light-mode .atlas-footer * {
  color: inherit !important;
}

html[data-theme="light"] .atlas-footer p,
html[data-theme="light"] .atlas-footer span,
body.light .atlas-footer p,
body.light .atlas-footer span,
body.light-mode .atlas-footer p,
body.light-mode .atlas-footer span {
  color: rgba(255, 255, 255, .72) !important;
}

/* 7) Loader: premium red rings, visible on dark/light */
.site-loader {
  background: #050505 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 18px !important;
}

html[data-theme="light"] .site-loader,
body.light .site-loader,
body.light-mode .site-loader {
  background: #f7f8fb !important;
}

.site-loader .loader-ring {
  width: 82px !important;
  height: 82px !important;
  border-radius: 50% !important;
  border: 3px solid rgba(215, 25, 32, .16) !important;
  border-top-color: #d71920 !important;
  border-right-color: #ff3b45 !important;
  position: relative !important;
  animation: atlasSpin 1s linear infinite !important;
  box-shadow: 0 0 34px rgba(215, 25, 32, .22) !important;
}

.site-loader .loader-ring::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-left-color: #d71920;
  border-bottom-color: #ff3b45;
  animation: atlasSpinReverse .8s linear infinite;
}

.site-loader .loader-logo span {
  color: #d71920 !important;
  font-weight: 900 !important;
  font-size: 32px !important;
  letter-spacing: -2px !important;
}

.site-loader .loader-logo p {
  color: #fff !important;
  letter-spacing: 3px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

html[data-theme="light"] .site-loader .loader-logo p,
body.light .site-loader .loader-logo p,
body.light-mode .site-loader .loader-logo p {
  color: #171a22 !important;
}

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

@keyframes atlasSpinReverse {
  to {
    transform: rotate(-360deg)
  }
}

/* 8) Mobile polish */
@media(max-width:980px) {
  .atlas-services-panel {
    position: static !important;
    transform: none !important;
    min-width: 100% !important;
    max-height: 68vh !important;
    overflow: auto !important;
  }

  .desktop-nav .atlas-services-dd>a::after {
    display: none;
  }

  .service-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .service-category-block {
    padding-inline: 18px !important;
  }
}


/* ===== SOURCE: static/css/v16-final-theme-translation-footer.css ===== */
/* ===== V16 FINAL: GLOBAL LIGHT MODE, FOOTER, HEADER LOGO, SERVICES TRANSLATION SUPPORT ===== */

/* Atlas logo equals 3M visual weight */
.brand-logos .logo-atlas,
.logo-atlas,
img.logo-atlas,
.brand img.logo-atlas {
  width: 74px !important;
  max-width: 74px !important;
  height: auto !important;
  min-height: 54px !important;
  object-fit: contain !important;
}

.brand-logos .logo-3m,
.logo-3m,
img.logo-3m {
  width: 112px !important;
  max-width: 112px !important;
  height: auto !important;
  object-fit: contain !important;
}

.brand-logos {
  gap: 14px !important;
  align-items: center !important;
}

.brand-text strong {
  font-size: 16px !important;
}

.brand-text small {
  letter-spacing: 3px !important;
}

/* Dropdown must always open centered under Services */
.atlas-services-dd {
  position: relative !important;
}

.atlas-services-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(14px) !important;
  text-align: inherit !important;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  transform: translateX(-50%) translateY(0) !important;
}

/* Real light mode foundation */
html[data-theme="light"],
html[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f3f4f7 !important;
  color: #151923 !important;
}

html[data-theme="light"] .main-wrapper,
html[data-theme="light"] main,
html[data-theme="light"] section,
html[data-theme="light"] .section,
html[data-theme="light"] .page-section,
html[data-theme="light"] .content-section,
html[data-theme="light"] .service-category-block,
html[data-theme="light"] .journey,
html[data-theme="light"] .atlas-journey,
html[data-theme="light"] .verification,
html[data-theme="light"] .warranty-verify,
html[data-theme="light"] .scan-section,
html[data-theme="light"] .cta-section,
html[data-theme="light"] .pre-footer,
html[data-theme="light"] .footer-cta,
html[data-theme="light"] .trust-section,
body.light .main-wrapper,
body.light main,
body.light section,
body.light .section,
body.light .page-section,
body.light .content-section,
body.light .service-category-block,
body.light .journey,
body.light .atlas-journey,
body.light .verification,
body.light .warranty-verify,
body.light .scan-section,
body.light .cta-section,
body.light .pre-footer,
body.light .footer-cta,
body.light .trust-section,
body.light-mode .main-wrapper,
body.light-mode main,
body.light-mode section,
body.light-mode .section,
body.light-mode .page-section,
body.light-mode .content-section,
body.light-mode .service-category-block,
body.light-mode .journey,
body.light-mode .atlas-journey,
body.light-mode .verification,
body.light-mode .warranty-verify,
body.light-mode .scan-section,
body.light-mode .cta-section,
body.light-mode .pre-footer,
body.light-mode .footer-cta,
body.light-mode .trust-section {
  color: #151923 !important;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-menu-content,
body.light .site-header,
body.light .mobile-menu,
body.light .mobile-menu-content,
body.light-mode .site-header,
body.light-mode .mobile-menu,
body.light-mode .mobile-menu-content {
  background: rgba(255, 255, 255, .96) !important;
  color: #151923 !important;
  border-color: rgba(21, 25, 35, .12) !important;
  box-shadow: 0 14px 42px rgba(15, 23, 42, .08) !important;
}

html[data-theme="light"] .desktop-nav a,
html[data-theme="light"] .brand-text strong,
html[data-theme="light"] .brand-text small,
html[data-theme="light"] .header-actions .ghost-btn,
html[data-theme="light"] .lang-btn,
html[data-theme="light"] .mobile-menu a,
body.light .desktop-nav a,
body.light .brand-text strong,
body.light .brand-text small,
body.light .header-actions .ghost-btn,
body.light .lang-btn,
body.light .mobile-menu a,
body.light-mode .desktop-nav a,
body.light-mode .brand-text strong,
body.light-mode .brand-text small,
body.light-mode .header-actions .ghost-btn,
body.light-mode .lang-btn,
body.light-mode .mobile-menu a {
  color: #151923 !important;
  text-shadow: none !important;
}

/* Light mode cards and boxes */
html[data-theme="light"] .content-card,
html[data-theme="light"] .content-shell,
html[data-theme="light"] .step-card,
html[data-theme="light"] .service-detail-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .verify-card,
html[data-theme="light"] .journey-card,
html[data-theme="light"] .center-card,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .form-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .metric-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .info-card,
body.light .content-card,
body.light .content-shell,
body.light .step-card,
body.light .service-detail-card,
body.light .feature-card,
body.light .glass-card,
body.light .warranty-card,
body.light .verify-card,
body.light .journey-card,
body.light .center-card,
body.light .atlas-center-card,
body.light .review-card,
body.light .contact-card,
body.light .form-card,
body.light .service-card,
body.light .metric-card,
body.light .stat-card,
body.light .info-card,
body.light-mode .content-card,
body.light-mode .content-shell,
body.light-mode .step-card,
body.light-mode .service-detail-card,
body.light-mode .feature-card,
body.light-mode .glass-card,
body.light-mode .warranty-card,
body.light-mode .verify-card,
body.light-mode .journey-card,
body.light-mode .center-card,
body.light-mode .atlas-center-card,
body.light-mode .review-card,
body.light-mode .contact-card,
body.light-mode .form-card,
body.light-mode .service-card,
body.light-mode .metric-card,
body.light-mode .stat-card,
body.light-mode .info-card {
  background: rgba(255, 255, 255, .92) !important;
  color: #151923 !important;
  border-color: rgba(21, 25, 35, .12) !important;
  box-shadow: 0 22px 50px rgba(15, 23, 42, .08) !important;
}

/* Light text: cover stubborn black/white text everywhere */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] small,
html[data-theme="light"] label,
html[data-theme="light"] b,
html[data-theme="light"] strong,
html[data-theme="light"] a:not(.primary-btn):not(.action-book):not(.float-btn),
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6,
body.light p,
body.light span,
body.light li,
body.light small,
body.light label,
body.light b,
body.light strong,
body.light a:not(.primary-btn):not(.action-book):not(.float-btn),
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode small,
body.light-mode label,
body.light-mode b,
body.light-mode strong,
body.light-mode a:not(.primary-btn):not(.action-book):not(.float-btn) {
  color: #151923 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .subtitle,
html[data-theme="light"] .muted,
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .card-text,
html[data-theme="light"] .service-detail-card p,
html[data-theme="light"] .step-card p,
html[data-theme="light"] .journey-card p,
body.light .subtitle,
body.light .muted,
body.light .section-subtitle,
body.light .card-text,
body.light .service-detail-card p,
body.light .step-card p,
body.light .journey-card p,
body.light-mode .subtitle,
body.light-mode .muted,
body.light-mode .section-subtitle,
body.light-mode .card-text,
body.light-mode .service-detail-card p,
body.light-mode .step-card p,
body.light-mode .journey-card p {
  color: #4b5563 !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-kicker,
html[data-theme="light"] .red-text,
html[data-theme="light"] .accent,
body.light .eyebrow,
body.light .section-kicker,
body.light .red-text,
body.light .accent,
body.light-mode .eyebrow,
body.light-mode .section-kicker,
body.light-mode .red-text,
body.light-mode .accent {
  color: #d71920 !important;
}

/* Hero/readability in light mode (Home, Services, Warranty Scan Verify Trust) */
html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .services-page-hero,
html[data-theme="light"] .service-detail-hero,
html[data-theme="light"] .warranty-hero,
body.light .hero,
body.light .page-hero,
body.light .services-page-hero,
body.light .service-detail-hero,
body.light .warranty-hero,
body.light-mode .hero,
body.light-mode .page-hero,
body.light-mode .services-page-hero,
body.light-mode .service-detail-hero,
body.light-mode .warranty-hero {
  background-color: #eef0f4 !important;
  color: #151923 !important;
}

html[data-theme="light"] .hero::before,
html[data-theme="light"] .hero::after,
html[data-theme="light"] .hero-vignette,
html[data-theme="light"] .services-hero-bg,
body.light .hero::before,
body.light .hero::after,
body.light .hero-vignette,
body.light .services-hero-bg,
body.light-mode .hero::before,
body.light-mode .hero::after,
body.light-mode .hero-vignette,
body.light-mode .services-hero-bg {
  opacity: .12 !important;
  filter: brightness(1.25) contrast(.85) !important;
}

html[data-theme="light"] .hero-content,
html[data-theme="light"] .hero-content *,
html[data-theme="light"] .warranty-verify *,
html[data-theme="light"] .scan-section *,
body.light .hero-content,
body.light .hero-content *,
body.light .warranty-verify *,
body.light .scan-section *,
body.light-mode .hero-content,
body.light-mode .hero-content *,
body.light-mode .warranty-verify *,
body.light-mode .scan-section * {
  color: #151923 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .primary-btn,
html[data-theme="light"] .action-book,
html[data-theme="light"] .float-btn,
body.light .primary-btn,
body.light .action-book,
body.light .float-btn,
body.light-mode .primary-btn,
body.light-mode .action-book,
body.light-mode .float-btn {
  color: #fff !important;
}

/* Unify footer visually on all pages */
.atlas-footer {
  margin-top: 0 !important;
  background: #07080b !important;
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
}

.atlas-footer * {
  color: inherit;
}

.atlas-footer a {
  color: rgba(255, 255, 255, .78) !important;
}

.atlas-footer a:hover {
  color: #ff2b35 !important;
}

.atlas-footer .footer-column h4,
.atlas-footer strong {
  color: #fff !important;
}

.atlas-footer p,
.atlas-footer small {
  color: rgba(255, 255, 255, .62) !important;
}

html[data-theme="light"] .atlas-footer,
body.light .atlas-footer,
body.light-mode .atlas-footer {
  background: #101114 !important;
  color: #fff !important;
}

html[data-theme="light"] .atlas-footer *,
body.light .atlas-footer *,
body.light-mode .atlas-footer * {
  color: inherit !important;
}

html[data-theme="light"] .atlas-footer a,
body.light .atlas-footer a,
body.light-mode .atlas-footer a {
  color: rgba(255, 255, 255, .76) !important;
}

html[data-theme="light"] .atlas-footer p,
html[data-theme="light"] .atlas-footer small,
body.light .atlas-footer p,
body.light .atlas-footer small,
body.light-mode .atlas-footer p,
body.light-mode .atlas-footer small {
  color: rgba(255, 255, 255, .62) !important;
}

/* Mobile light menu visible */
@media (max-width:980px) {

  html[data-theme="light"] .mobile-menu,
  html[data-theme="light"] .mobile-menu-content,
  body.light .mobile-menu,
  body.light .mobile-menu-content,
  body.light-mode .mobile-menu,
  body.light-mode .mobile-menu-content {
    background: #fff !important;
    color: #151923 !important;
  }

  html[data-theme="light"] .mobile-menu a,
  body.light .mobile-menu a,
  body.light-mode .mobile-menu a {
    color: #151923 !important;
    background: rgba(15, 23, 42, .04) !important;
    border-color: rgba(15, 23, 42, .10) !important;
  }

  .atlas-services-panel {
    left: auto !important;
    right: auto !important;
    transform: none !important;
    max-height: 68vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* ===== SOURCE: static/css/v17-final-exact-fix.css ===== */
/* ===== V17 EXACT FIX: ENGLISH, LIGHT MODE, FOOTER, ATLAS LOGO ===== */

/* Logo balance: keep 3M normal, make Atlas visually equal */
.site-header .brand {
  min-width: 245px !important;
}

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

.site-header .brand-logos span {
  color: rgba(20, 24, 32, .45) !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] .site-header .brand-logos span {
  color: rgba(255, 255, 255, .45) !important;
}

.site-header img.logo-3m,
.site-header .logo-3m {
  width: 96px !important;
  max-width: 96px !important;
  height: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.site-header img.logo-atlas,
.site-header .logo-atlas {
  width: 118px !important;
  max-width: 118px !important;
  height: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  transform: scale(1.12) !important;
  transform-origin: center !important;
}

.site-header .brand-text strong {
  font-size: 16px !important;
  line-height: 1.1 !important;
}

.site-header .brand-text small {
  font-size: 10px !important;
  letter-spacing: 3px !important;
}

/* Services dropdown centered exactly under Services */
.atlas-services-dd {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.atlas-services-dd>a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.atlas-services-dd>a::after {
  content: "\2304";
  font-size: 13px;
  color: #e30613;
  margin-inline-start: 4px;
  line-height: 1;
}

.atlas-services-panel {
  position: absolute !important;
  top: calc(100% + 14px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(12px) !important;
  width: min(880px, calc(100vw - 36px)) !important;
  text-align: inherit !important;
  z-index: 99999 !important;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  transform: translateX(-50%) translateY(0) !important;
}

html[dir="rtl"] .atlas-services-panel,
html[dir="ltr"] .atlas-services-panel {
  left: 50% !important;
  right: auto !important;
}

/* Real light mode foundation */
html[data-theme="light"],
html[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f4f5f8 !important;
  color: #151923 !important;
}

html[data-theme="light"] .noise-layer,
body.light .noise-layer,
body.light-mode .noise-layer {
  opacity: .18 !important;
  mix-blend-mode: multiply !important;
}

/* Header and mobile menu light visibility */
html[data-theme="light"] .site-header,
body.light .site-header,
body.light-mode .site-header {
  background: rgba(255, 255, 255, .96) !important;
  color: #151923 !important;
  border-color: rgba(21, 25, 35, .12) !important;
  box-shadow: 0 14px 42px rgba(15, 23, 42, .08) !important;
}

html[data-theme="light"] .desktop-nav,
html[data-theme="light"] .header-actions,
html[data-theme="light"] .brand,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-menu-content,
body.light .desktop-nav,
body.light .header-actions,
body.light .brand,
body.light .mobile-menu,
body.light .mobile-menu-content,
body.light-mode .desktop-nav,
body.light-mode .header-actions,
body.light-mode .brand,
body.light-mode .mobile-menu,
body.light-mode .mobile-menu-content {
  background: rgba(255, 255, 255, .95) !important;
  color: #151923 !important;
  border-color: rgba(21, 25, 35, .12) !important;
}

html[data-theme="light"] .desktop-nav a,
html[data-theme="light"] .brand-text strong,
html[data-theme="light"] .brand-text small,
html[data-theme="light"] .header-actions a,
html[data-theme="light"] .header-actions button,
html[data-theme="light"] .header-actions span,
html[data-theme="light"] .mobile-menu a,
html[data-theme="light"] .mobile-menu button,
body.light .desktop-nav a,
body.light .brand-text strong,
body.light .brand-text small,
body.light .header-actions a,
body.light .header-actions button,
body.light .header-actions span,
body.light .mobile-menu a,
body.light .mobile-menu button,
body.light-mode .desktop-nav a,
body.light-mode .brand-text strong,
body.light-mode .brand-text small,
body.light-mode .header-actions a,
body.light-mode .header-actions button,
body.light-mode .header-actions span,
body.light-mode .mobile-menu a,
body.light-mode .mobile-menu button {
  color: #151923 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .primary-btn,
html[data-theme="light"] .action-book,
html[data-theme="light"] .mobile-center-btn,
body.light .primary-btn,
body.light .action-book,
body.light .mobile-center-btn,
body.light-mode .primary-btn,
body.light-mode .action-book,
body.light-mode .mobile-center-btn {
  color: #fff !important;
}

/* Theme button visible and working */
.theme-toggle,
#themeBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #303237 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18) !important;
  cursor: pointer !important;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] #themeBtn,
body.light .theme-toggle,
body.light #themeBtn,
body.light-mode .theme-toggle,
body.light-mode #themeBtn {
  background: #2f3238 !important;
  color: #fff !important;
  border-color: rgba(0, 0, 0, .1) !important;
}

.theme-toggle i,
#themeBtn i {
  color: #fff !important;
}

/* Global light text and cards */
html[data-theme="light"] main,
html[data-theme="light"] section,
html[data-theme="light"] .section,
html[data-theme="light"] .page-section,
html[data-theme="light"] .content-section,
html[data-theme="light"] .service-category-block,
html[data-theme="light"] .atlas-tech-section,
html[data-theme="light"] .atlas-journey,
html[data-theme="light"] .journey,
html[data-theme="light"] .warranty-verify,
html[data-theme="light"] .scan-section,
html[data-theme="light"] .verification,
html[data-theme="light"] .footer-cta,
html[data-theme="light"] .pre-footer,
html[data-theme="light"] .trust-section,
body.light main,
body.light section,
body.light .section,
body.light .page-section,
body.light .content-section,
body.light .service-category-block,
body.light .atlas-tech-section,
body.light .atlas-journey,
body.light .journey,
body.light .warranty-verify,
body.light .scan-section,
body.light .verification,
body.light .footer-cta,
body.light .pre-footer,
body.light .trust-section,
body.light-mode main,
body.light-mode section,
body.light-mode .section,
body.light-mode .page-section,
body.light-mode .content-section,
body.light-mode .service-category-block,
body.light-mode .atlas-tech-section,
body.light-mode .atlas-journey,
body.light-mode .journey,
body.light-mode .warranty-verify,
body.light-mode .scan-section,
body.light-mode .verification,
body.light-mode .footer-cta,
body.light-mode .pre-footer,
body.light-mode .trust-section {
  color: #151923 !important;
}

html[data-theme="light"] .content-card,
html[data-theme="light"] .content-shell,
html[data-theme="light"] .service-detail-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .warranty-card,
html[data-theme="light"] .verify-card,
html[data-theme="light"] .journey-card,
html[data-theme="light"] .center-card,
html[data-theme="light"] .atlas-center-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .form-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .metric-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .info-card,
html[data-theme="light"] .atlas-tech-card,
body.light .content-card,
body.light .content-shell,
body.light .service-detail-card,
body.light .feature-card,
body.light .glass-card,
body.light .warranty-card,
body.light .verify-card,
body.light .journey-card,
body.light .center-card,
body.light .atlas-center-card,
body.light .review-card,
body.light .contact-card,
body.light .form-card,
body.light .service-card,
body.light .metric-card,
body.light .stat-card,
body.light .info-card,
body.light .atlas-tech-card,
body.light-mode .content-card,
body.light-mode .content-shell,
body.light-mode .service-detail-card,
body.light-mode .feature-card,
body.light-mode .glass-card,
body.light-mode .warranty-card,
body.light-mode .verify-card,
body.light-mode .journey-card,
body.light-mode .center-card,
body.light-mode .atlas-center-card,
body.light-mode .review-card,
body.light-mode .contact-card,
body.light-mode .form-card,
body.light-mode .metric-card,
body.light-mode .stat-card,
body.light-mode .info-card,
body.light-mode .atlas-tech-card {
  background: rgba(255, 255, 255, .94) !important;
  color: #151923 !important;
  border-color: rgba(21, 25, 35, .12) !important;
  box-shadow: 0 22px 50px rgba(15, 23, 42, .08) !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] small,
html[data-theme="light"] label,
html[data-theme="light"] b,
html[data-theme="light"] strong,
html[data-theme="light"] a:not(.primary-btn):not(.float-btn),
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6,
body.light p,
body.light span,
body.light li,
body.light small,
body.light label,
body.light b,
body.light strong,
body.light a:not(.primary-btn):not(.float-btn),
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode small,
body.light-mode label,
body.light-mode b,
body.light-mode strong,
body.light-mode a:not(.primary-btn):not(.float-btn) {
  color: #151923 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .muted,
html[data-theme="light"] .subtitle,
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .card-text,
body.light .muted,
body.light .subtitle,
body.light .section-subtitle,
body.light .card-text,
body.light-mode .muted,
body.light-mode .subtitle,
body.light-mode .section-subtitle,
body.light-mode .card-text {
  color: #5d6572 !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .accent,
html[data-theme="light"] .red-text,
body.light .eyebrow,
body.light .accent,
body.light .red-text,
body.light-mode .eyebrow,
body.light-mode .accent,
body.light-mode .red-text {
  color: #d71920 !important;
}

/* Image hero text must stay white in light mode */
html[data-theme="light"] .hero.page-hero,
html[data-theme="light"] .services-page-hero,
html[data-theme="light"] .service-detail-hero,
html[data-theme="light"] .hero-slider,
html[data-theme="light"] .hero-slide,
html[data-theme="light"] .home-hero,
body.light .hero.page-hero,
body.light .services-page-hero,
body.light .service-detail-hero,
body.light .hero-slider,
body.light .hero-slide,
body.light .home-hero,
body.light-mode .hero.page-hero,
body.light-mode .services-page-hero,
body.light-mode .service-detail-hero,
body.light-mode .hero-slider,
body.light-mode .hero-slide,
body.light-mode .home-hero {
  color: #fff !important;
}

html[data-theme="light"] .hero.page-hero h1,
html[data-theme="light"] .hero.page-hero h2,
html[data-theme="light"] .hero.page-hero p,
html[data-theme="light"] .hero.page-hero span:not(.eyebrow),
html[data-theme="light"] .services-page-hero h1,
html[data-theme="light"] .services-page-hero p,
html[data-theme="light"] .service-detail-hero h1,
html[data-theme="light"] .service-detail-hero p,
html[data-theme="light"] .hero-slider h1,
html[data-theme="light"] .hero-slider p,
html[data-theme="light"] .hero-slide h1,
html[data-theme="light"] .hero-slide p,
body.light .hero.page-hero h1,
body.light .hero.page-hero h2,
body.light .hero.page-hero p,
body.light .hero.page-hero span:not(.eyebrow),
body.light .services-page-hero h1,
body.light .services-page-hero p,
body.light .service-detail-hero h1,
body.light .service-detail-hero p,
body.light .hero-slider h1,
body.light .hero-slider p,
body.light .hero-slide h1,
body.light .hero-slide p,
body.light-mode .hero.page-hero h1,
body.light-mode .hero.page-hero h2,
body.light-mode .hero.page-hero p,
body.light-mode .hero.page-hero span:not(.eyebrow),
body.light-mode .services-page-hero h1,
body.light-mode .services-page-hero p,
body.light-mode .service-detail-hero h1,
body.light-mode .service-detail-hero p,
body.light-mode .hero-slider h1,
body.light-mode .hero-slider p,
body.light-mode .hero-slide h1,
body.light-mode .hero-slide p {
  color: #fff !important;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .75) !important;
}

html[data-theme="light"] .hero.page-hero .eyebrow,
html[data-theme="light"] .services-page-hero .eyebrow,
html[data-theme="light"] .service-detail-hero .eyebrow,
body.light .hero.page-hero .eyebrow,
body.light .services-page-hero .eyebrow,
body.light .service-detail-hero .eyebrow,
body.light-mode .hero.page-hero .eyebrow,
body.light-mode .services-page-hero .eyebrow,
body.light-mode .service-detail-hero .eyebrow {
  color: #ff3b3b !important;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .75) !important;
}

/* Warranty / scan section cards */
html[data-theme="light"] .warranty-verify input,
html[data-theme="light"] .verify-card input,
body.light .warranty-verify input,
body.light .verify-card input,
body.light-mode .warranty-verify input,
body.light-mode .verify-card input {
  background: #fff !important;
  color: #151923 !important;
  border-color: rgba(21, 25, 35, .16) !important;
}

html[data-theme="light"] .verify-preview,
body.light .verify-preview,
body.light-mode .verify-preview {
  background: #151923 !important;
  color: #fff !important;
}

html[data-theme="light"] .verify-preview h3,
html[data-theme="light"] .verify-preview p,
html[data-theme="light"] .verify-preview span,
body.light .verify-preview h3,
body.light .verify-preview p,
body.light .verify-preview span,
body.light-mode .verify-preview h3,
body.light-mode .verify-preview p,
body.light-mode .verify-preview span {
  color: #fff !important;
}

/* Unified footer visual */
.atlas-footer,
.site-footer,
footer {
  background: #050506 !important;
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
}

.atlas-footer h1,
.atlas-footer h2,
.atlas-footer h3,
.atlas-footer p,
.atlas-footer span,
.atlas-footer a,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer span,
.site-footer a,
footer h1,
footer h2,
footer h3,
footer p,
footer span,
footer a {
  color: #fff !important;
}

html[data-theme="light"] .atlas-footer,
html[data-theme="light"] .site-footer,
html[data-theme="light"] footer,
body.light .atlas-footer,
body.light .site-footer,
body.light footer,
body.light-mode .atlas-footer,
body.light-mode .site-footer,
body.light-mode footer {
  background: #0b0c10 !important;
  color: #fff !important;
}

html[data-theme="light"] .atlas-footer *,
html[data-theme="light"] .site-footer *,
html[data-theme="light"] footer *,
body.light .atlas-footer *,
body.light .site-footer *,
body.light footer *,
body.light-mode .atlas-footer *,
body.light-mode .site-footer *,
body.light-mode footer * {
  color: #fff !important;
}

/* Loader two red rings */
.site-loader {
  background: #050506 !important;
}

html[data-theme="light"] .site-loader,
body.light .site-loader,
body.light-mode .site-loader {
  background: #f7f8fb !important;
}

.site-loader .loader-ring,
.site-loader .loader-ring::before,
.site-loader .loader-ring::after {
  border-color: rgba(227, 6, 19, .16) !important;
  border-top-color: #e30613 !important;
}

.site-loader .loader-ring {
  position: relative !important;
  width: 84px !important;
  height: 84px !important;
  border-width: 3px !important;
  animation: atlasV17Spin 1.1s linear infinite !important;
}

.site-loader .loader-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 3px solid rgba(227, 6, 19, .14);
  border-bottom-color: #ff3838;
  animation: atlasV17SpinReverse .9s linear infinite;
}

.site-loader .loader-ring::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: #e30613;
  box-shadow: 0 0 32px rgba(227, 6, 19, .6);
}

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

@keyframes atlasV17SpinReverse {
  to {
    transform: rotate(-360deg)
  }
}

.site-loader .loader-logo span {
  color: #e30613 !important;
}

html[data-theme="light"] .site-loader .loader-logo p,
body.light .site-loader .loader-logo p,
body.light-mode .site-loader .loader-logo p {
  color: #151923 !important;
}

/* Mobile light menu visibility */
@media(max-width:991px) {

  html[data-theme="light"] .menu-btn span,
  body.light .menu-btn span,
  body.light-mode .menu-btn span {
    background: #151923 !important;
  }

  html[data-theme="light"] .mobile-menu-content,
  body.light .mobile-menu-content,
  body.light-mode .mobile-menu-content {
    background: #fff !important;
    color: #151923 !important;
  }

  html[data-theme="light"] .mobile-menu-content a,
  html[data-theme="light"] .mobile-menu-content button,
  body.light .mobile-menu-content a,
  body.light .mobile-menu-content button,
  body.light-mode .mobile-menu-content a,
  body.light-mode .mobile-menu-content button {
    color: #151923 !important;
    background: #fff !important;
    border-color: rgba(21, 25, 35, .12) !important;
  }

  .site-header .brand {
    min-width: 205px !important;
  }

  .site-header img.logo-3m,
  .site-header .logo-3m {
    width: 82px !important;
    height: 46px !important;
  }

  .site-header img.logo-atlas,
  .site-header .logo-atlas {
    width: 102px !important;
    height: 50px !important;
  }

  .atlas-services-panel {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
  }
}


/* ===== SOURCE: static/css/v20-master-fix.css ===== */
/* ===== V20 MASTER CSS FIX ===== */
:root[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f5f5f5 !important;
  color: #1f2430 !important;
}

:root[data-theme="light"] .site-header,
:root[data-theme="light"] header,
body.light .site-header,
body.light header {
  background: rgba(255, 255, 255, .96) !important;
  color: #1f2430 !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08) !important;
}

:root[data-theme="light"] .hero,
:root[data-theme="light"] .page-hero,
:root[data-theme="light"] .section,
:root[data-theme="light"] .journey-section,
:root[data-theme="light"] .warranty-section,
:root[data-theme="light"] .services-section,
:root[data-theme="light"] .content-section,
:root[data-theme="light"] main,
body.light .hero,
body.light .page-hero,
body.light .section,
body.light .journey-section,
body.light .warranty-section,
body.light .services-section,
body.light .content-section,
body.light main {
  background-color: #f7f7f7 !important;
  color: #1f2430 !important;
}

:root[data-theme="light"] .glass-card,
:root[data-theme="light"] .journey-card,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .center-card,
:root[data-theme="light"] .card,
:root[data-theme="light"] .feature-card,
:root[data-theme="light"] .warranty-card,
:root[data-theme="light"] .atlas-services-panel,
:root[data-theme="light"] .mega-menu,
body.light .glass-card,
body.light .journey-card,
body.light .service-card,
body.light .center-card,
body.light .card,
body.light .feature-card,
body.light .warranty-card,
body.light .atlas-services-panel,
body.light .mega-menu {
  background: rgba(255, 255, 255, .92) !important;
  color: #1f2430 !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08) !important;
}

:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] p,
:root[data-theme="light"] span,
:root[data-theme="light"] small,
:root[data-theme="light"] li,
:root[data-theme="light"] a,
:root[data-theme="light"] button,
:root[data-theme="light"] label,
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light p,
body.light span,
body.light small,
body.light li,
body.light a,
body.light button,
body.light label {
  color: #1f2430 !important;
}

:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .red,
:root[data-theme="light"] .accent,
:root[data-theme="light"] .step-number,
body.light .eyebrow,
body.light .red,
body.light .accent,
body.light .step-number {
  color: #d71920 !important;
}

:root[data-theme="light"] .muted,
:root[data-theme="light"] .subtitle,
:root[data-theme="light"] .section-subtitle,
body.light .muted,
body.light .subtitle,
body.light .section-subtitle {
  color: #5c6270 !important;
}

:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .book-btn,
:root[data-theme="light"] .red-btn,
:root[data-theme="light"] .become-center-btn,
body.light .btn-primary,
body.light .book-btn,
body.light .red-btn,
body.light .become-center-btn {
  background: #d71920 !important;
  color: #fff !important;
}

/* Atlas logo bigger, 3M unchanged */
.brand-logo img[alt*="Atlas"],
.brand-logo img[src*="atlas"],
.atlas-logo,
img.atlas-logo {
  width: auto !important;
  min-width: 64px !important;
  max-height: 52px !important;
  transform: scale(1.18);
  transform-origin: center;
}

.brand-logo img[alt*="3M"],
.brand-logo img[src*="3m"],
.logo-3m {
  max-height: 58px !important;
  transform: none !important;
}

/* Services dropdown must appear centered under Services button in both Arabic/English */
.atlas-services-dd {
  position: relative !important;
}

.atlas-services-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(10px) !important;
  transform-origin: top center !important;
}

.atlas-services-dd:hover .atlas-services-panel {
  transform: translateX(-50%) translateY(0) !important;
}

/* English mode: force LTR inside service cards */
body.lang-en .service-card,
body.lang-en .journey-card,
body.lang-en .atlas-services-panel {
  direction: ltr !important;
  text-align: left !important;
}

body.lang-en .service-card *,
body.lang-en .journey-card *,
body.lang-en .atlas-services-panel * {
  direction: ltr !important;
  text-align: left !important;
}

/* do not translate centers/search visually */
.no-translate,
.no-translate *,
.centers-section,
.centers-section *,
.center-card,
.center-card * {
  direction: rtl !important;
  text-align: right !important;
}

@media(max-width:991px) {

  :root[data-theme="light"] .mobile-nav,
  :root[data-theme="light"] .mobile-menu,
  :root[data-theme="light"] .desktop-nav,
  body.light .mobile-nav,
  body.light .mobile-menu,
  body.light .desktop-nav {
    background: #fff !important;
    color: #1f2430 !important;
  }

  .atlas-services-panel {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-height: 66vh !important;
    overflow-y: auto !important;
  }
}


/* ===== SOURCE: static/css/v21-stable-controls.css ===== */
/* ===== V21 stable controls + coming soon sizing ===== */
#themeBtn.theme-toggle,
.theme-toggle {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(215, 25, 32, .18) !important;
  background: #303136 !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
  transition: .2s ease !important;
}

#themeBtn.theme-toggle i,
.theme-toggle i {
  color: inherit !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

:root[data-theme="light"] #themeBtn.theme-toggle,
:root[data-theme="light"] .theme-toggle,
body.light #themeBtn.theme-toggle,
body.light .theme-toggle {
  background: #d71920 !important;
  color: #fff !important;
  border-color: #d71920 !important;
}

.lang-btn,
#langBtn {
  cursor: pointer !important;
}

/* stronger light mode readability */
:root[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f5f6f8 !important;
  color: #20242d !important;
}

:root[data-theme="light"] header,
:root[data-theme="light"] .site-header,
:root[data-theme="light"] .main-header,
body.light header,
body.light .site-header,
body.light .main-header {
  background: rgba(255, 255, 255, .98) !important;
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

:root[data-theme="light"] .glass-card,
:root[data-theme="light"] .journey-card,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .feature-card,
:root[data-theme="light"] .warranty-card,
:root[data-theme="light"] .soon-box,
body.light .glass-card,
body.light .journey-card,
body.light .service-card,
body.light .feature-card,
body.light .warranty-card,
body.light .soon-box {
  background: rgba(255, 255, 255, .94) !important;
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .08) !important;
}

:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] p,
:root[data-theme="light"] span,
:root[data-theme="light"] a,
:root[data-theme="light"] li,
:root[data-theme="light"] button,
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light p,
body.light span,
body.light a,
body.light li,
body.light button {
  color: #20242d !important;
}

:root[data-theme="light"] .primary-btn,
:root[data-theme="light"] .red-btn,
:root[data-theme="light"] .become-center-btn,
body.light .primary-btn,
body.light .red-btn,
body.light .become-center-btn {
  color: #fff !important;
  background: #d71920 !important;
}

/* Coming soon page: compact and professional */
.soon-box {
  width: min(92vw, 520px) !important;
  padding: 34px 28px !important;
  border-radius: 26px !important;
}

.soon-box .logo {
  font-size: 46px !important;
  margin-bottom: 14px !important;
  line-height: 1 !important;
}

.soon-box h1 {
  font-size: clamp(34px, 5vw, 56px) !important;
  margin-bottom: 12px !important;
  line-height: 1.05 !important;
}

.soon-box p {
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
}

.soon-box a {
  padding: 13px 26px !important;
  font-size: 14px !important;
}

@media(max-width:600px) {
  .soon-box {
    padding: 28px 18px !important
  }

  .soon-box .logo {
    font-size: 38px !important
  }

  .soon-box h1 {
    font-size: 36px !important
  }

  .soon-box p {
    font-size: 14px !important
  }
}

/* ===== V22 FOOTER LIGHT/DARK HARD FIX ===== */
:root[data-theme="light"] .atlas-footer,
body.light .atlas-footer,
body.light-mode .atlas-footer {
  background: #ffffff !important;
  color: #20242d !important;
  border-top: 1px solid rgba(0, 0, 0, .10) !important;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, .06) !important;
}

:root[data-theme="light"] .atlas-footer-top,
:root[data-theme="light"] .atlas-footer-bottom,
:root[data-theme="light"] .footer-brand-side,
:root[data-theme="light"] .footer-links-side,
:root[data-theme="light"] .footer-column,
body.light .atlas-footer-top,
body.light .atlas-footer-bottom,
body.light .footer-brand-side,
body.light .footer-links-side,
body.light .footer-column,
body.light-mode .atlas-footer-top,
body.light-mode .atlas-footer-bottom,
body.light-mode .footer-brand-side,
body.light-mode .footer-links-side,
body.light-mode .footer-column {
  background: transparent !important;
  color: #20242d !important;
}

:root[data-theme="light"] .atlas-footer h1,
:root[data-theme="light"] .atlas-footer h2,
:root[data-theme="light"] .atlas-footer h3,
:root[data-theme="light"] .atlas-footer p,
:root[data-theme="light"] .atlas-footer span,
:root[data-theme="light"] .atlas-footer a,
:root[data-theme="light"] .atlas-footer li,
body.light .atlas-footer h1,
body.light .atlas-footer h2,
body.light .atlas-footer h3,
body.light .atlas-footer p,
body.light .atlas-footer span,
body.light .atlas-footer a,
body.light .atlas-footer li,
body.light-mode .atlas-footer h1,
body.light-mode .atlas-footer h2,
body.light-mode .atlas-footer h3,
body.light-mode .atlas-footer p,
body.light-mode .atlas-footer span,
body.light-mode .atlas-footer a,
body.light-mode .atlas-footer li {
  color: #20242d !important;
}

:root[data-theme="light"] .atlas-footer p,
:root[data-theme="light"] .atlas-footer-bottom,
body.light .atlas-footer p,
body.light .atlas-footer-bottom,
body.light-mode .atlas-footer p,
body.light-mode .atlas-footer-bottom {
  color: #5f6673 !important;
}

:root[data-theme="light"] .footer-column h3,
body.light .footer-column h3,
body.light-mode .footer-column h3 {
  color: #d71920 !important;
}

:root[data-theme="light"] .footer-social a,
body.light .footer-social a,
body.light-mode .footer-social a {
  background: #f2f3f5 !important;
  color: #20242d !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
}

:root[data-theme="light"] .footer-social a:hover,
body.light .footer-social a:hover,
body.light-mode .footer-social a:hover {
  background: #d71920 !important;
  color: #fff !important;
}

:root[data-theme="light"] .footer-social a:hover i,
body.light .footer-social a:hover i,
body.light-mode .footer-social a:hover i {
  color: #fff !important;
}

:root[data-theme="light"] .footer-logos,
body.light .footer-logos,
body.light-mode .footer-logos {
  background: rgba(0, 0, 0, .03) !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

:root[data-theme="dark"] .atlas-footer,
body:not(.light) .atlas-footer {
  background: #070707 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, .10) !important;
}

:root[data-theme="dark"] .atlas-footer h1,
:root[data-theme="dark"] .atlas-footer h2,
:root[data-theme="dark"] .atlas-footer h3,
:root[data-theme="dark"] .atlas-footer p,
:root[data-theme="dark"] .atlas-footer span,
:root[data-theme="dark"] .atlas-footer a,
body:not(.light) .atlas-footer h1,
body:not(.light) .atlas-footer h2,
body:not(.light) .atlas-footer h3,
body:not(.light) .atlas-footer p,
body:not(.light) .atlas-footer span,
body:not(.light) .atlas-footer a {
  color: #ffffff !important;
}

body:not(.light) .atlas-footer p,
body:not(.light) .atlas-footer-bottom {
  color: rgba(255, 255, 255, .68) !important;
}


/* ===== SOURCE: static/css/v23-final-user-fix.css ===== */
/* ===== V23 FINAL USER FIX: light mode hero + footer + services readability ===== */

/* Atlas logo size: Atlas must visually match 3M */
.brand-logos .logo-3m,
.site-header .logo-3m {
  width: 118px !important;
  max-width: 118px !important;
  height: auto !important;
  object-fit: contain !important;
}

.brand-logos .logo-atlas,
.site-header .logo-atlas {
  width: 126px !important;
  max-width: 126px !important;
  height: auto !important;
  object-fit: contain !important;
}

@media(max-width:1200px) {

  .brand-logos .logo-3m,
  .site-header .logo-3m {
    width: 92px !important;
    max-width: 92px !important;
  }

  .brand-logos .logo-atlas,
  .site-header .logo-atlas {
    width: 100px !important;
    max-width: 100px !important;
  }
}

/* Theme variables */
:root[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f5f6f8 !important;
  color: #20242d !important;
}

/* Header / mobile menu light visibility */
:root[data-theme="light"] .site-header,
body.light .site-header,
body.light-mode .site-header {
  background: rgba(255, 255, 255, .98) !important;
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08) !important;
}

:root[data-theme="light"] .desktop-nav a,
:root[data-theme="light"] .header-actions a,
:root[data-theme="light"] .header-actions button,
:root[data-theme="light"] .brand-text strong,
:root[data-theme="light"] .brand-text small,
body.light .desktop-nav a,
body.light .header-actions a,
body.light .header-actions button,
body.light .brand-text strong,
body.light .brand-text small,
body.light-mode .desktop-nav a,
body.light-mode .header-actions a,
body.light-mode .header-actions button,
body.light-mode .brand-text strong,
body.light-mode .brand-text small {
  color: #20242d !important;
}

:root[data-theme="light"] .mobile-menu,
:root[data-theme="light"] .mobile-menu-content,
body.light .mobile-menu,
body.light .mobile-menu-content,
body.light-mode .mobile-menu,
body.light-mode .mobile-menu-content {
  background: #ffffff !important;
  color: #20242d !important;
}

:root[data-theme="light"] .mobile-menu a,
body.light .mobile-menu a,
body.light-mode .mobile-menu a {
  color: #20242d !important;
  background: #f3f4f6 !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

/* Services dropdown must open under Services, centered, in both Arabic and English */
.atlas-services-dd {
  position: relative !important;
}

.atlas-services-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(14px) !important;
  transform-origin: top center !important;
  z-index: 99999 !important;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  transform: translateX(-50%) translateY(0) !important;
}

:root[data-theme="light"] .atlas-services-panel,
body.light .atlas-services-panel,
body.light-mode .atlas-services-panel {
  background: #ffffff !important;
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .14) !important;
}

:root[data-theme="light"] .atlas-services-panel b,
:root[data-theme="light"] .atlas-services-panel a,
body.light .atlas-services-panel b,
body.light .atlas-services-panel a,
body.light-mode .atlas-services-panel b,
body.light-mode .atlas-services-panel a {
  color: #20242d !important;
}

:root[data-theme="light"] .atlas-services-panel b,
body.light .atlas-services-panel b,
body.light-mode .atlas-services-panel b {
  color: #d71920 !important;
}

/* Hero image sections: text must be readable in light mode */
.hero,
.page-hero,
.services-page-hero {
  position: relative !important;
}

:root[data-theme="light"] .hero::after,
:root[data-theme="light"] .page-hero::after,
:root[data-theme="light"] .services-page-hero::after,
body.light .hero::after,
body.light .page-hero::after,
body.light .services-page-hero::after,
body.light-mode .hero::after,
body.light-mode .page-hero::after,
body.light-mode .services-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .38), rgba(255, 255, 255, .18)) !important;
  pointer-events: none;
  z-index: 1;
}

:root[data-theme="light"] .hero-vignette,
body.light .hero-vignette,
body.light-mode .hero-vignette {
  opacity: .18 !important;
}

.hero-content,
.page-hero .hero-content,
.services-page-hero .hero-content {
  position: relative !important;
  z-index: 3 !important;
}

:root[data-theme="light"] .hero-content h1,
:root[data-theme="light"] .hero-content h2,
:root[data-theme="light"] .hero-content p,
:root[data-theme="light"] .hero-content span,
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero p,
:root[data-theme="light"] .services-page-hero h1,
:root[data-theme="light"] .services-page-hero p,
body.light .hero-content h1,
body.light .hero-content h2,
body.light .hero-content p,
body.light .hero-content span,
body.light .page-hero h1,
body.light .page-hero p,
body.light .services-page-hero h1,
body.light .services-page-hero p,
body.light-mode .hero-content h1,
body.light-mode .hero-content h2,
body.light-mode .hero-content p,
body.light-mode .hero-content span,
body.light-mode .page-hero h1,
body.light-mode .page-hero p,
body.light-mode .services-page-hero h1,
body.light-mode .services-page-hero p {
  color: #20242d !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .hero-content .eyebrow,
:root[data-theme="light"] .page-hero .eyebrow,
:root[data-theme="light"] .services-page-hero .eyebrow,
body.light .hero-content .eyebrow,
body.light .page-hero .eyebrow,
body.light .services-page-hero .eyebrow,
body.light-mode .hero-content .eyebrow,
body.light-mode .page-hero .eyebrow,
body.light-mode .services-page-hero .eyebrow {
  color: #d71920 !important;
}

/* Light mode cards/sections that were still dark/low contrast */
:root[data-theme="light"] .section,
:root[data-theme="light"] .service-category-block,
:root[data-theme="light"] .journey-card,
:root[data-theme="light"] .service-detail-card,
:root[data-theme="light"] .atlas-tech-card,
:root[data-theme="light"] .process-card,
:root[data-theme="light"] .glass-card,
:root[data-theme="light"] .warranty-card,
body.light .section,
body.light .service-category-block,
body.light .journey-card,
body.light .service-detail-card,
body.light .atlas-tech-card,
body.light .process-card,
body.light .glass-card,
body.light .warranty-card,
body.light-mode .section,
body.light-mode .service-category-block,
body.light-mode .journey-card,
body.light-mode .service-detail-card,
body.light-mode .atlas-tech-card,
body.light-mode .process-card,
body.light-mode .glass-card,
body.light-mode .warranty-card {
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

:root[data-theme="light"] .service-detail-card,
:root[data-theme="light"] .journey-card,
:root[data-theme="light"] .atlas-tech-card,
:root[data-theme="light"] .process-card,
body.light .service-detail-card,
body.light .journey-card,
body.light .atlas-tech-card,
body.light .process-card,
body.light-mode .service-detail-card,
body.light-mode .journey-card,
body.light-mode .atlas-tech-card,
body.light-mode .process-card {
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .07) !important;
}

:root[data-theme="light"] .section h1,
:root[data-theme="light"] .section h2,
:root[data-theme="light"] .section h3,
:root[data-theme="light"] .section h4,
:root[data-theme="light"] .section p,
:root[data-theme="light"] .section span,
:root[data-theme="light"] .service-detail-card h4,
:root[data-theme="light"] .service-detail-card p,
body.light .section h1,
body.light .section h2,
body.light .section h3,
body.light .section h4,
body.light .section p,
body.light .section span,
body.light .service-detail-card h4,
body.light .service-detail-card p,
body.light-mode .section h1,
body.light-mode .section h2,
body.light-mode .section h3,
body.light-mode .section h4,
body.light-mode .section p,
body.light-mode .section span,
body.light-mode .service-detail-card h4,
body.light-mode .service-detail-card p {
  color: #20242d !important;
}

:root[data-theme="light"] .section .eyebrow,
body.light .section .eyebrow,
body.light-mode .section .eyebrow {
  color: #d71920 !important;
}

:root[data-theme="light"] .service-detail-card i,
:root[data-theme="light"] .atlas-tech-card i,
body.light .service-detail-card i,
body.light .atlas-tech-card i,
body.light-mode .service-detail-card i,
body.light-mode .atlas-tech-card i {
  color: #d71920 !important;
}

/* Final CTA / area above footer readability */
:root[data-theme="light"] .final-cta,
body.light .final-cta,
body.light-mode .final-cta {
  background: #ffffff !important;
  color: #20242d !important;
}

:root[data-theme="light"] .final-cta::before,
:root[data-theme="light"] .final-bg,
body.light .final-cta::before,
body.light .final-bg,
body.light-mode .final-cta::before,
body.light-mode .final-bg {
  opacity: .08 !important;
}

:root[data-theme="light"] .final-cta h1,
:root[data-theme="light"] .final-cta h2,
:root[data-theme="light"] .final-cta p,
:root[data-theme="light"] .final-cta span,
body.light .final-cta h1,
body.light .final-cta h2,
body.light .final-cta p,
body.light .final-cta span,
body.light-mode .final-cta h1,
body.light-mode .final-cta h2,
body.light-mode .final-cta p,
body.light-mode .final-cta span {
  color: #20242d !important;
}

/* Footer hard unified light/dark */
:root[data-theme="light"] .atlas-footer,
body.light .atlas-footer,
body.light-mode .atlas-footer {
  background: #ffffff !important;
  color: #20242d !important;
  border-top: 1px solid rgba(0, 0, 0, .10) !important;
}

:root[data-theme="light"] .atlas-footer *,
body.light .atlas-footer *,
body.light-mode .atlas-footer * {
  color: #20242d !important;
}

:root[data-theme="light"] .atlas-footer p,
:root[data-theme="light"] .atlas-footer-bottom,
body.light .atlas-footer p,
body.light .atlas-footer-bottom,
body.light-mode .atlas-footer p,
body.light-mode .atlas-footer-bottom {
  color: #5f6673 !important;
}

:root[data-theme="light"] .atlas-footer .footer-column h3,
body.light .atlas-footer .footer-column h3,
body.light-mode .atlas-footer .footer-column h3 {
  color: #d71920 !important;
}

:root[data-theme="light"] .footer-social a,
body.light .footer-social a,
body.light-mode .footer-social a {
  background: #f2f3f5 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
}

/* Mobile dropdown and menu in light mode */
@media(max-width:991px) {
  .atlas-services-panel {
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .atlas-services-dd:hover .atlas-services-panel,
  .atlas-services-dd:focus-within .atlas-services-panel,
  .atlas-services-panel:hover {
    transform: none !important;
  }
}

/* =========================================================
   V23 HOTFIX - LIGHT MODE + MOBILE HEADER
   Ù„Ø§ÙŠØª Ù…ÙˆØ¯ Ù„Ø§ ÙŠÙ„Ù…Ø³ Ø§Ù„ØµÙˆØ± ÙˆÙ„Ø§ Ø§Ù„Ù†ØµÙˆØµ ÙÙˆÙ‚ Ø§Ù„ØµÙˆØ±
   ÙˆÙ‡ÙŠØ¯Ø± Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ Ø¨Ø¯ÙˆÙ† ØªØ¯Ø§Ø®Ù„ Ù…Ø¹ Ø§Ù„Ù„ÙˆØ¬Ùˆ
========================================================= */

/* 1) Ø§Ù…Ù†Ø¹ Ø£ÙŠ Ø·Ø¨Ù‚Ø© Ø¨ÙŠØ¶Ø§Ø¡/ÙØ§ØªØ­Ø© ÙÙˆÙ‚ ØµÙˆØ± Ø§Ù„Ù‡ÙŠØ±Ùˆ Ø£Ùˆ Ø§Ù„Ø¨Ù†Ø±Ø§Øª ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª Ù…ÙˆØ¯ */
:root[data-theme="light"] .hero::after,
:root[data-theme="light"] .hero-slide::after,
:root[data-theme="light"] .page-hero::after,
:root[data-theme="light"] .services-page-hero::after,
:root[data-theme="light"] .final-cta::after,
:root[data-theme="light"] .service-card::before,

body.light .hero::after,
body.light .hero-slide::after,
body.light .page-hero::after,
body.light .services-page-hero::after,
body.light .final-cta::after,
body.light .service-card::before,

body.light-mode .hero::after,
body.light-mode .hero-slide::after,
body.light-mode .page-hero::after,
body.light-mode .services-page-hero::after,
body.light-mode .final-cta::after,
body.light-mode .service-card::before {
  content: none !important;
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

/* 2) Ø®Ù„ÙŠ Ø·Ø¨Ù‚Ø§Øª Ø§Ù„ØµÙˆØ± Ù†ÙØ³Ù‡Ø§ ÙƒÙ…Ø§ Ù‡ÙŠ ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª ÙˆØ§Ù„Ø¯Ø§Ø±Ùƒ */
:root[data-theme="light"] .hero-bg,
:root[data-theme="light"] .hero-slide,
:root[data-theme="light"] .page-hero,
:root[data-theme="light"] .services-page-hero,
:root[data-theme="light"] .final-bg,
:root[data-theme="light"] .service-card img,

body.light .hero-bg,
body.light .hero-slide,
body.light .page-hero,
body.light .services-page-hero,
body.light .final-bg,
body.light .service-card img,

body.light-mode .hero-bg,
body.light-mode .hero-slide,
body.light-mode .page-hero,
body.light-mode .services-page-hero,
body.light-mode .final-bg,
body.light-mode .service-card img {
  filter: none !important;
  opacity: 1 !important;
}

/* 3) Ø§Ù„Ù†ØµÙˆØµ ÙÙˆÙ‚ Ø§Ù„ØµÙˆØ± ØªÙØ¶Ù„ Ø¨ÙŠØ¶Ø§Ø¡ Ø¯Ø§Ø¦Ù…Ø§Ù‹ */
.hero,
.hero-slide,
.page-hero,
.services-page-hero,
.final-cta,
.service-card,
.hero-content,
.page-hero-content,
.final-content,
.service-content {
  color: #fff !important;
}

.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero span,
.hero .eyebrow,
.hero-slide h1,
.hero-slide h2,
.hero-slide h3,
.hero-slide p,
.hero-slide span,
.hero-slide .eyebrow,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-hero span,
.page-hero .eyebrow,
.services-page-hero h1,
.services-page-hero h2,
.services-page-hero h3,
.services-page-hero p,
.services-page-hero span,
.services-page-hero .eyebrow,
.final-cta h1,
.final-cta h2,
.final-cta h3,
.final-cta p,
.final-cta span,
.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content p,
.service-content span {
  color: #fff !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .55) !important;
}

:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .hero h2,
:root[data-theme="light"] .hero h3,
:root[data-theme="light"] .hero p,
:root[data-theme="light"] .hero span,
:root[data-theme="light"] .hero .eyebrow,
:root[data-theme="light"] .hero-slide h1,
:root[data-theme="light"] .hero-slide h2,
:root[data-theme="light"] .hero-slide h3,
:root[data-theme="light"] .hero-slide p,
:root[data-theme="light"] .hero-slide span,
:root[data-theme="light"] .hero-slide .eyebrow,
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero h2,
:root[data-theme="light"] .page-hero h3,
:root[data-theme="light"] .page-hero p,
:root[data-theme="light"] .page-hero span,
:root[data-theme="light"] .page-hero .eyebrow,
:root[data-theme="light"] .services-page-hero h1,
:root[data-theme="light"] .services-page-hero h2,
:root[data-theme="light"] .services-page-hero h3,
:root[data-theme="light"] .services-page-hero p,
:root[data-theme="light"] .services-page-hero span,
:root[data-theme="light"] .services-page-hero .eyebrow,
:root[data-theme="light"] .final-cta h1,
:root[data-theme="light"] .final-cta h2,
:root[data-theme="light"] .final-cta h3,
:root[data-theme="light"] .final-cta p,
:root[data-theme="light"] .final-cta span,
:root[data-theme="light"] .service-content h1,
:root[data-theme="light"] .service-content h2,
:root[data-theme="light"] .service-content h3,
:root[data-theme="light"] .service-content h4,
:root[data-theme="light"] .service-content p,
:root[data-theme="light"] .service-content span,

body.light .hero h1,
body.light .hero h2,
body.light .hero h3,
body.light .hero p,
body.light .hero span,
body.light .hero .eyebrow,
body.light .hero-slide h1,
body.light .hero-slide h2,
body.light .hero-slide h3,
body.light .hero-slide p,
body.light .hero-slide span,
body.light .hero-slide .eyebrow,
body.light .page-hero h1,
body.light .page-hero h2,
body.light .page-hero h3,
body.light .page-hero p,
body.light .page-hero span,
body.light .page-hero .eyebrow,
body.light .services-page-hero h1,
body.light .services-page-hero h2,
body.light .services-page-hero h3,
body.light .services-page-hero p,
body.light .services-page-hero span,
body.light .services-page-hero .eyebrow,
body.light .final-cta h1,
body.light .final-cta h2,
body.light .final-cta h3,
body.light .final-cta p,
body.light .final-cta span,
body.light .service-content h1,
body.light .service-content h2,
body.light .service-content h3,
body.light .service-content h4,
body.light .service-content p,
body.light .service-content span,

body.light-mode .hero h1,
body.light-mode .hero h2,
body.light-mode .hero h3,
body.light-mode .hero p,
body.light-mode .hero span,
body.light-mode .hero .eyebrow,
body.light-mode .hero-slide h1,
body.light-mode .hero-slide h2,
body.light-mode .hero-slide h3,
body.light-mode .hero-slide p,
body.light-mode .hero-slide span,
body.light-mode .hero-slide .eyebrow,
body.light-mode .page-hero h1,
body.light-mode .page-hero h2,
body.light-mode .page-hero h3,
body.light-mode .page-hero p,
body.light-mode .page-hero span,
body.light-mode .page-hero .eyebrow,
body.light-mode .services-page-hero h1,
body.light-mode .services-page-hero h2,
body.light-mode .services-page-hero h3,
body.light-mode .services-page-hero p,
body.light-mode .services-page-hero span,
body.light-mode .services-page-hero .eyebrow,
body.light-mode .final-cta h1,
body.light-mode .final-cta h2,
body.light-mode .final-cta h3,
body.light-mode .final-cta p,
body.light-mode .final-cta span,
body.light-mode .service-content h1,
body.light-mode .service-content h2,
body.light-mode .service-content h3,
body.light-mode .service-content h4,
body.light-mode .service-content p,
body.light-mode .service-content span {
  color: #fff !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .55) !important;
}

/* 4) Ø®Ù„ÙŠ Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ù‡ÙŠØ±Ùˆ ÙˆØ§Ø¶Ø­Ø© ÙÙˆÙ‚ Ø§Ù„ØµÙˆØ± */
.hero .primary-btn,
.hero .glass-btn,
.hero-slide .primary-btn,
.hero-slide .glass-btn,
.page-hero .primary-btn,
.page-hero .glass-btn,
.final-cta .primary-btn,
.final-cta .glass-btn {
  color: #fff !important;
}

/* 5) Ø¥ØµÙ„Ø§Ø­ Ù‡ÙŠØ¯Ø± Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„: Ø§Ù„Ù„ÙˆØ¬Ùˆ ÙˆØ§Ù„Ø²Ø±Ø§Ø± Ù„Ø§ ÙŠØ±ÙƒØ¨ÙˆØ§ Ø¹Ù„Ù‰ Ø¨Ø¹Ø¶ */
@media(max-width:991px) {
  .site-header {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .site-header .brand {
    min-width: 0 !important;
    max-width: 58% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .site-header .brand-logos {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .site-header .brand-logos span {
    display: none !important;
  }

  .brand-logos .logo-3m,
  .site-header .logo-3m {
    width: 58px !important;
    max-width: 58px !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }

  .brand-logos .logo-atlas,
  .site-header .logo-atlas {
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }

  .brand-text {
    display: none !important;
  }

  .site-header .header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 42% !important;
  }

  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .menu-btn {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 12px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    transform: none !important;
  }

  .site-header .header-actions .change-region-btn,
  .site-header .header-actions>a.ghost-btn,
  .site-header .header-actions>a.primary-btn {
    display: none !important;
  }

  .site-header .menu-btn {
    display: inline-flex !important;
    flex-direction: column !important;
  }

  .mobile-menu {
    top: 72px !important;
    max-height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
  }

  .mobile-menu-content {
    padding: 18px 16px 26px !important;
    gap: 12px !important;
  }

  .mobile-menu-content a,
  .mobile-menu-content button,
  .mobile-login,
  .mobile-center-btn,
  .mobile-services-toggle,
  .mobile-menu .change-region-btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 14px !important;
    text-align: center !important;
  }

  /* Ù„Ùˆ Ø²Ø± ØªØºÙŠÙŠØ± Ø§Ù„Ø¯ÙˆÙ„Ø© Ù…ØªÙƒØ±Ø± ÙÙŠ HTMLØŒ Ø®Ù„ÙŠÙ‡ ÙŠØ¸Ù‡Ø± Ø£ÙˆÙ„ Ù…Ø±Ø© ÙÙ‚Ø· */
  .mobile-menu-content .change-region-btn:nth-of-type(n+2) {
    display: none !important;
  }
}

/* 6) Ù…ÙˆØ¨Ø§ÙŠÙ„ ØµØºÙŠØ± Ø¬Ø¯Ø§Ù‹ */
@media(max-width:420px) {
  .site-header .brand {
    max-width: 54% !important;
  }

  .site-header .header-actions {
    max-width: 46% !important;
    gap: 5px !important;
  }

  .brand-logos .logo-3m,
  .site-header .logo-3m {
    width: 50px !important;
    max-width: 50px !important;
  }

  .brand-logos .logo-atlas,
  .site-header .logo-atlas {
    width: 62px !important;
    max-width: 62px !important;
  }

  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .menu-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    flex-basis: 36px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }
}

/* 7) Ø¥ØµÙ„Ø§Ø­ Ù„ÙˆÙ† Ø®Ø·ÙˆØ· Ø²Ø±Ø§Ø± Ø§Ù„Ù…ÙŠÙ†ÙŠÙˆ ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª Ù…ÙˆØ¯ */
:root[data-theme="light"] .menu-btn span,
body.light .menu-btn span,
body.light-mode .menu-btn span {
  background: #20242d !important;
}

/* 8) Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª Ù…ÙˆØ¯ */
@media(max-width:991px) {

  :root[data-theme="light"] .mobile-menu,
  :root[data-theme="light"] .mobile-menu-content,
  body.light .mobile-menu,
  body.light .mobile-menu-content,
  body.light-mode .mobile-menu,
  body.light-mode .mobile-menu-content {
    background: #fff !important;
    color: #20242d !important;
  }

  :root[data-theme="light"] .mobile-menu-content a,
  :root[data-theme="light"] .mobile-menu-content button,
  body.light .mobile-menu-content a,
  body.light .mobile-menu-content button,
  body.light-mode .mobile-menu-content a,
  body.light-mode .mobile-menu-content button {
    color: #20242d !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
  }

  :root[data-theme="light"] .mobile-center-btn,
  body.light .mobile-center-btn,
  body.light-mode .mobile-center-btn {
    background: linear-gradient(135deg, #d71920, #9f1118) !important;
    color: #fff !important;
  }
}


/* ==========================================
   HERO IMAGES DON'T CHANGE IN LIGHT MODE
========================================== */

[data-theme="light"] .hero-slide,
[data-theme="light"] .hero-slide * {
  color: #fff !important;
}

[data-theme="light"] .hero-slide h1,
[data-theme="light"] .hero-slide h2,
[data-theme="light"] .hero-slide h3,
[data-theme="light"] .hero-slide p,
[data-theme="light"] .hero-slide span,
[data-theme="light"] .hero-slide strong {
  color: #fff !important;
  text-shadow:
    0 3px 18px rgba(0, 0, 0, .75),
    0 1px 6px rgba(0, 0, 0, .55);
}

[data-theme="light"] .hero-slide::before,
[data-theme="light"] .hero-slide::after {
  opacity: 1 !important;
}

[data-theme="light"] .hero-slide img {
  filter: none !important;
}

[data-theme="light"] .hero-slide picture img {
  filter: none !important;
}

/* ===== Warranty black card text fix ===== */
body.light-mode .wallet-card,
body.light-mode .wallet-card *,
body.light-mode .warranty-layout .wallet-card,
body.light-mode .warranty-layout .wallet-card *,
body.light-mode .warranty-card-preview,
body.light-mode .warranty-card-preview *,
body.light-mode .warranty-wallet-card,
body.light-mode .warranty-wallet-card *,
body.light-mode [class*="wallet"],
body.light-mode [class*="wallet"] *,
body.light-mode [class*="warranty-card"],
body.light-mode [class*="warranty-card"] * {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75) !important;
}

body.light-mode .wallet-card span,
body.light-mode .wallet-card h3,
body.light-mode .wallet-card p,
body.light-mode [class*="wallet"] span,
body.light-mode [class*="wallet"] h1,
body.light-mode [class*="wallet"] h2,
body.light-mode [class*="wallet"] h3,
body.light-mode [class*="wallet"] p {
  color: #fff !important;
}

/* ===== Light mode: metrics cards text must be dark ===== */
body.light-mode .hero-metrics,
body.light-mode .hero-metrics *,
:root[data-theme="light"] .hero-metrics,
:root[data-theme="light"] .hero-metrics * {
  color: #20242d !important;
  text-shadow: none !important;
}

body.light-mode .hero-metrics strong,
:root[data-theme="light"] .hero-metrics strong {
  color: #d71920 !important;
}

body.light-mode .hero-metrics span,
:root[data-theme="light"] .hero-metrics span {
  color: #5f6673 !important;
}

/* ===== SOURCE: static/css/variables.css ===== */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0b0d10;
  --bg-card: rgba(255, 255, 255, 0.05);

  --text-primary: #ffffff;
  --text-secondary: #c7cbd3;
  --text-muted: #8b93a3;

  --accent-primary: #ff1f1f;
  --accent-secondary: #d71920;

  --border-color: rgba(255, 255, 255, 0.10);

  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(18px);

  --shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.45);

  --radius-md: 16px;
  --radius-xl: 32px;

  --container-xl: 1320px;

  --font-primary: "Sarabun", sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;

  --z-navbar: 1000;
}

html[data-theme="light"] {
  --bg-primary: #f6f7f9;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;

  --border-color: rgba(17, 24, 39, 0.12);

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(17, 24, 39, 0.10);

  --shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.14);
}

/* ===== SOURCE: static/images/commercial-page.css ===== */
/* =========================
   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;
  }
}


/* ===== SOURCE: static/v23-final-user-fix-fixed.css ===== */
/* ===== V23 FINAL USER FIX: light mode hero + footer + services readability ===== */

/* Atlas logo size: Atlas must visually match 3M */
.brand-logos .logo-3m,
.site-header .logo-3m {
  width: 118px !important;
  max-width: 118px !important;
  height: auto !important;
  object-fit: contain !important;
}

.brand-logos .logo-atlas,
.site-header .logo-atlas {
  width: 126px !important;
  max-width: 126px !important;
  height: auto !important;
  object-fit: contain !important;
}

@media(max-width:1200px) {

  .brand-logos .logo-3m,
  .site-header .logo-3m {
    width: 92px !important;
    max-width: 92px !important;
  }

  .brand-logos .logo-atlas,
  .site-header .logo-atlas {
    width: 100px !important;
    max-width: 100px !important;
  }
}

/* Theme variables */
:root[data-theme="light"] body,
body.light,
body.light-mode {
  background: #f5f6f8 !important;
  color: #20242d !important;
}

/* Header / mobile menu light visibility */
:root[data-theme="light"] .site-header,
body.light .site-header,
body.light-mode .site-header {
  background: rgba(255, 255, 255, .98) !important;
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08) !important;
}

:root[data-theme="light"] .desktop-nav a,
:root[data-theme="light"] .header-actions a,
:root[data-theme="light"] .header-actions button,
:root[data-theme="light"] .brand-text strong,
:root[data-theme="light"] .brand-text small,
body.light .desktop-nav a,
body.light .header-actions a,
body.light .header-actions button,
body.light .brand-text strong,
body.light .brand-text small,
body.light-mode .desktop-nav a,
body.light-mode .header-actions a,
body.light-mode .header-actions button,
body.light-mode .brand-text strong,
body.light-mode .brand-text small {
  color: #20242d !important;
}

:root[data-theme="light"] .mobile-menu,
:root[data-theme="light"] .mobile-menu-content,
body.light .mobile-menu,
body.light .mobile-menu-content,
body.light-mode .mobile-menu,
body.light-mode .mobile-menu-content {
  background: #ffffff !important;
  color: #20242d !important;
}

:root[data-theme="light"] .mobile-menu a,
body.light .mobile-menu a,
body.light-mode .mobile-menu a {
  color: #20242d !important;
  background: #f3f4f6 !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

/* Services dropdown must open under Services, centered, in both Arabic and English */
.atlas-services-dd {
  position: relative !important;
}

.atlas-services-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(14px) !important;
  transform-origin: top center !important;
  z-index: 99999 !important;
}

.atlas-services-dd:hover .atlas-services-panel,
.atlas-services-dd:focus-within .atlas-services-panel,
.atlas-services-panel:hover {
  transform: translateX(-50%) translateY(0) !important;
}

:root[data-theme="light"] .atlas-services-panel,
body.light .atlas-services-panel,
body.light-mode .atlas-services-panel {
  background: #ffffff !important;
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .14) !important;
}

:root[data-theme="light"] .atlas-services-panel b,
:root[data-theme="light"] .atlas-services-panel a,
body.light .atlas-services-panel b,
body.light .atlas-services-panel a,
body.light-mode .atlas-services-panel b,
body.light-mode .atlas-services-panel a {
  color: #20242d !important;
}

:root[data-theme="light"] .atlas-services-panel b,
body.light .atlas-services-panel b,
body.light-mode .atlas-services-panel b {
  color: #d71920 !important;
}

/* Hero image sections: text must be readable in light mode */
.hero,
.page-hero,
.services-page-hero {
  position: relative !important;
}

:root[data-theme="light"] .hero::after,
:root[data-theme="light"] .page-hero::after,
:root[data-theme="light"] .services-page-hero::after,
body.light .hero::after,
body.light .page-hero::after,
body.light .services-page-hero::after,
body.light-mode .hero::after,
body.light-mode .page-hero::after,
body.light-mode .services-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .38), rgba(255, 255, 255, .18)) !important;
  pointer-events: none;
  z-index: 1;
}

:root[data-theme="light"] .hero-vignette,
body.light .hero-vignette,
body.light-mode .hero-vignette {
  opacity: .18 !important;
}

.hero-content,
.page-hero .hero-content,
.services-page-hero .hero-content {
  position: relative !important;
  z-index: 3 !important;
}

:root[data-theme="light"] .hero-content h1,
:root[data-theme="light"] .hero-content h2,
:root[data-theme="light"] .hero-content p,
:root[data-theme="light"] .hero-content span,
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero p,
:root[data-theme="light"] .services-page-hero h1,
:root[data-theme="light"] .services-page-hero p,
body.light .hero-content h1,
body.light .hero-content h2,
body.light .hero-content p,
body.light .hero-content span,
body.light .page-hero h1,
body.light .page-hero p,
body.light .services-page-hero h1,
body.light .services-page-hero p,
body.light-mode .hero-content h1,
body.light-mode .hero-content h2,
body.light-mode .hero-content p,
body.light-mode .hero-content span,
body.light-mode .page-hero h1,
body.light-mode .page-hero p,
body.light-mode .services-page-hero h1,
body.light-mode .services-page-hero p {
  color: #20242d !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .hero-content .eyebrow,
:root[data-theme="light"] .page-hero .eyebrow,
:root[data-theme="light"] .services-page-hero .eyebrow,
body.light .hero-content .eyebrow,
body.light .page-hero .eyebrow,
body.light .services-page-hero .eyebrow,
body.light-mode .hero-content .eyebrow,
body.light-mode .page-hero .eyebrow,
body.light-mode .services-page-hero .eyebrow {
  color: #d71920 !important;
}

/* Light mode cards/sections that were still dark/low contrast */
:root[data-theme="light"] .section,
:root[data-theme="light"] .service-category-block,
:root[data-theme="light"] .journey-card,
:root[data-theme="light"] .service-detail-card,
:root[data-theme="light"] .atlas-tech-card,
:root[data-theme="light"] .process-card,
:root[data-theme="light"] .glass-card,
:root[data-theme="light"] .warranty-card,
body.light .section,
body.light .service-category-block,
body.light .journey-card,
body.light .service-detail-card,
body.light .atlas-tech-card,
body.light .process-card,
body.light .glass-card,
body.light .warranty-card,
body.light-mode .section,
body.light-mode .service-category-block,
body.light-mode .journey-card,
body.light-mode .service-detail-card,
body.light-mode .atlas-tech-card,
body.light-mode .process-card,
body.light-mode .glass-card,
body.light-mode .warranty-card {
  color: #20242d !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

:root[data-theme="light"] .service-detail-card,
:root[data-theme="light"] .journey-card,
:root[data-theme="light"] .atlas-tech-card,
:root[data-theme="light"] .process-card,
body.light .service-detail-card,
body.light .journey-card,
body.light .atlas-tech-card,
body.light .process-card,
body.light-mode .service-detail-card,
body.light-mode .journey-card,
body.light-mode .atlas-tech-card,
body.light-mode .process-card {
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .07) !important;
}

:root[data-theme="light"] .section h1,
:root[data-theme="light"] .section h2,
:root[data-theme="light"] .section h3,
:root[data-theme="light"] .section h4,
:root[data-theme="light"] .section p,
:root[data-theme="light"] .section span,
:root[data-theme="light"] .service-detail-card h4,
:root[data-theme="light"] .service-detail-card p,
body.light .section h1,
body.light .section h2,
body.light .section h3,
body.light .section h4,
body.light .section p,
body.light .section span,
body.light .service-detail-card h4,
body.light .service-detail-card p,
body.light-mode .section h1,
body.light-mode .section h2,
body.light-mode .section h3,
body.light-mode .section h4,
body.light-mode .section p,
body.light-mode .section span,
body.light-mode .service-detail-card h4,
body.light-mode .service-detail-card p {
  color: #20242d !important;
}

:root[data-theme="light"] .section .eyebrow,
body.light .section .eyebrow,
body.light-mode .section .eyebrow {
  color: #d71920 !important;
}

:root[data-theme="light"] .service-detail-card i,
:root[data-theme="light"] .atlas-tech-card i,
body.light .service-detail-card i,
body.light .atlas-tech-card i,
body.light-mode .service-detail-card i,
body.light-mode .atlas-tech-card i {
  color: #d71920 !important;
}

/* Final CTA / area above footer readability */
:root[data-theme="light"] .final-cta,
body.light .final-cta,
body.light-mode .final-cta {
  background: #ffffff !important;
  color: #20242d !important;
}

:root[data-theme="light"] .final-cta::before,
:root[data-theme="light"] .final-bg,
body.light .final-cta::before,
body.light .final-bg,
body.light-mode .final-cta::before,
body.light-mode .final-bg {
  opacity: .08 !important;
}

:root[data-theme="light"] .final-cta h1,
:root[data-theme="light"] .final-cta h2,
:root[data-theme="light"] .final-cta p,
:root[data-theme="light"] .final-cta span,
body.light .final-cta h1,
body.light .final-cta h2,
body.light .final-cta p,
body.light .final-cta span,
body.light-mode .final-cta h1,
body.light-mode .final-cta h2,
body.light-mode .final-cta p,
body.light-mode .final-cta span {
  color: #20242d !important;
}

/* Footer hard unified light/dark */
:root[data-theme="light"] .atlas-footer,
body.light .atlas-footer,
body.light-mode .atlas-footer {
  background: #ffffff !important;
  color: #20242d !important;
  border-top: 1px solid rgba(0, 0, 0, .10) !important;
}

:root[data-theme="light"] .atlas-footer *,
body.light .atlas-footer *,
body.light-mode .atlas-footer * {
  color: #20242d !important;
}

:root[data-theme="light"] .atlas-footer p,
:root[data-theme="light"] .atlas-footer-bottom,
body.light .atlas-footer p,
body.light .atlas-footer-bottom,
body.light-mode .atlas-footer p,
body.light-mode .atlas-footer-bottom {
  color: #5f6673 !important;
}

:root[data-theme="light"] .atlas-footer .footer-column h3,
body.light .atlas-footer .footer-column h3,
body.light-mode .atlas-footer .footer-column h3 {
  color: #d71920 !important;
}

:root[data-theme="light"] .footer-social a,
body.light .footer-social a,
body.light-mode .footer-social a {
  background: #f2f3f5 !important;
  border: 1px solid rgba(0, 0, 0, .10) !important;
}

/* Mobile dropdown and menu in light mode */
@media(max-width:991px) {
  .atlas-services-panel {
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .atlas-services-dd:hover .atlas-services-panel,
  .atlas-services-dd:focus-within .atlas-services-panel,
  .atlas-services-panel:hover {
    transform: none !important;
  }
}

/* =========================================================
   V23 HOTFIX - LIGHT MODE + MOBILE HEADER
   Ù„Ø§ÙŠØª Ù…ÙˆØ¯ Ù„Ø§ ÙŠÙ„Ù…Ø³ Ø§Ù„ØµÙˆØ± ÙˆÙ„Ø§ Ø§Ù„Ù†ØµÙˆØµ ÙÙˆÙ‚ Ø§Ù„ØµÙˆØ±
   ÙˆÙ‡ÙŠØ¯Ø± Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ Ø¨Ø¯ÙˆÙ† ØªØ¯Ø§Ø®Ù„ Ù…Ø¹ Ø§Ù„Ù„ÙˆØ¬Ùˆ
========================================================= */

/* 1) Ø§Ù…Ù†Ø¹ Ø£ÙŠ Ø·Ø¨Ù‚Ø© Ø¨ÙŠØ¶Ø§Ø¡/ÙØ§ØªØ­Ø© ÙÙˆÙ‚ ØµÙˆØ± Ø§Ù„Ù‡ÙŠØ±Ùˆ Ø£Ùˆ Ø§Ù„Ø¨Ù†Ø±Ø§Øª ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª Ù…ÙˆØ¯ */
:root[data-theme="light"] .hero::after,
:root[data-theme="light"] .hero-slide::after,
:root[data-theme="light"] .page-hero::after,
:root[data-theme="light"] .services-page-hero::after,
:root[data-theme="light"] .final-cta::after,
:root[data-theme="light"] .service-card::before,

body.light .hero::after,
body.light .hero-slide::after,
body.light .page-hero::after,
body.light .services-page-hero::after,
body.light .final-cta::after,
body.light .service-card::before,

body.light-mode .hero::after,
body.light-mode .hero-slide::after,
body.light-mode .page-hero::after,
body.light-mode .services-page-hero::after,
body.light-mode .final-cta::after,
body.light-mode .service-card::before {
  content: none !important;
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

/* 2) Ø®Ù„ÙŠ Ø·Ø¨Ù‚Ø§Øª Ø§Ù„ØµÙˆØ± Ù†ÙØ³Ù‡Ø§ ÙƒÙ…Ø§ Ù‡ÙŠ ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª ÙˆØ§Ù„Ø¯Ø§Ø±Ùƒ */
:root[data-theme="light"] .hero-bg,
:root[data-theme="light"] .hero-slide,
:root[data-theme="light"] .page-hero,
:root[data-theme="light"] .services-page-hero,
:root[data-theme="light"] .final-bg,
:root[data-theme="light"] .service-card img,

body.light .hero-bg,
body.light .hero-slide,
body.light .page-hero,
body.light .services-page-hero,
body.light .final-bg,
body.light .service-card img,

body.light-mode .hero-bg,
body.light-mode .hero-slide,
body.light-mode .page-hero,
body.light-mode .services-page-hero,
body.light-mode .final-bg,
body.light-mode .service-card img {
  filter: none !important;
  opacity: 1 !important;
}

/* 3) Ø§Ù„Ù†ØµÙˆØµ ÙÙˆÙ‚ Ø§Ù„ØµÙˆØ± ØªÙØ¶Ù„ Ø¨ÙŠØ¶Ø§Ø¡ Ø¯Ø§Ø¦Ù…Ø§Ù‹ */
.hero,
.hero-slide,
.page-hero,
.services-page-hero,
.final-cta,
.service-card,
.hero-content,
.page-hero-content,
.final-content,
.service-content {
  color: #fff !important;
}

.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero span,
.hero .eyebrow,
.hero-slide h1,
.hero-slide h2,
.hero-slide h3,
.hero-slide p,
.hero-slide span,
.hero-slide .eyebrow,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-hero span,
.page-hero .eyebrow,
.services-page-hero h1,
.services-page-hero h2,
.services-page-hero h3,
.services-page-hero p,
.services-page-hero span,
.services-page-hero .eyebrow,
.final-cta h1,
.final-cta h2,
.final-cta h3,
.final-cta p,
.final-cta span,
.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content p,
.service-content span {
  color: #fff !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .55) !important;
}

:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .hero h2,
:root[data-theme="light"] .hero h3,
:root[data-theme="light"] .hero p,
:root[data-theme="light"] .hero span,
:root[data-theme="light"] .hero .eyebrow,
:root[data-theme="light"] .hero-slide h1,
:root[data-theme="light"] .hero-slide h2,
:root[data-theme="light"] .hero-slide h3,
:root[data-theme="light"] .hero-slide p,
:root[data-theme="light"] .hero-slide span,
:root[data-theme="light"] .hero-slide .eyebrow,
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero h2,
:root[data-theme="light"] .page-hero h3,
:root[data-theme="light"] .page-hero p,
:root[data-theme="light"] .page-hero span,
:root[data-theme="light"] .page-hero .eyebrow,
:root[data-theme="light"] .services-page-hero h1,
:root[data-theme="light"] .services-page-hero h2,
:root[data-theme="light"] .services-page-hero h3,
:root[data-theme="light"] .services-page-hero p,
:root[data-theme="light"] .services-page-hero span,
:root[data-theme="light"] .services-page-hero .eyebrow,
:root[data-theme="light"] .final-cta h1,
:root[data-theme="light"] .final-cta h2,
:root[data-theme="light"] .final-cta h3,
:root[data-theme="light"] .final-cta p,
:root[data-theme="light"] .final-cta span,
:root[data-theme="light"] .service-content h1,
:root[data-theme="light"] .service-content h2,
:root[data-theme="light"] .service-content h3,
:root[data-theme="light"] .service-content h4,
:root[data-theme="light"] .service-content p,
:root[data-theme="light"] .service-content span,

body.light .hero h1,
body.light .hero h2,
body.light .hero h3,
body.light .hero p,
body.light .hero span,
body.light .hero .eyebrow,
body.light .hero-slide h1,
body.light .hero-slide h2,
body.light .hero-slide h3,
body.light .hero-slide p,
body.light .hero-slide span,
body.light .hero-slide .eyebrow,
body.light .page-hero h1,
body.light .page-hero h2,
body.light .page-hero h3,
body.light .page-hero p,
body.light .page-hero span,
body.light .page-hero .eyebrow,
body.light .services-page-hero h1,
body.light .services-page-hero h2,
body.light .services-page-hero h3,
body.light .services-page-hero p,
body.light .services-page-hero span,
body.light .services-page-hero .eyebrow,
body.light .final-cta h1,
body.light .final-cta h2,
body.light .final-cta h3,
body.light .final-cta p,
body.light .final-cta span,
body.light .service-content h1,
body.light .service-content h2,
body.light .service-content h3,
body.light .service-content h4,
body.light .service-content p,
body.light .service-content span,

body.light-mode .hero h1,
body.light-mode .hero h2,
body.light-mode .hero h3,
body.light-mode .hero p,
body.light-mode .hero span,
body.light-mode .hero .eyebrow,
body.light-mode .hero-slide h1,
body.light-mode .hero-slide h2,
body.light-mode .hero-slide h3,
body.light-mode .hero-slide p,
body.light-mode .hero-slide span,
body.light-mode .hero-slide .eyebrow,
body.light-mode .page-hero h1,
body.light-mode .page-hero h2,
body.light-mode .page-hero h3,
body.light-mode .page-hero p,
body.light-mode .page-hero span,
body.light-mode .page-hero .eyebrow,
body.light-mode .services-page-hero h1,
body.light-mode .services-page-hero h2,
body.light-mode .services-page-hero h3,
body.light-mode .services-page-hero p,
body.light-mode .services-page-hero span,
body.light-mode .services-page-hero .eyebrow,
body.light-mode .final-cta h1,
body.light-mode .final-cta h2,
body.light-mode .final-cta h3,
body.light-mode .final-cta p,
body.light-mode .final-cta span,
body.light-mode .service-content h1,
body.light-mode .service-content h2,
body.light-mode .service-content h3,
body.light-mode .service-content h4,
body.light-mode .service-content p,
body.light-mode .service-content span {
  color: #fff !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .55) !important;
}

/* 4) Ø®Ù„ÙŠ Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ù‡ÙŠØ±Ùˆ ÙˆØ§Ø¶Ø­Ø© ÙÙˆÙ‚ Ø§Ù„ØµÙˆØ± */
.hero .primary-btn,
.hero .glass-btn,
.hero-slide .primary-btn,
.hero-slide .glass-btn,
.page-hero .primary-btn,
.page-hero .glass-btn,
.final-cta .primary-btn,
.final-cta .glass-btn {
  color: #fff !important;
}

/* 5) Ø¥ØµÙ„Ø§Ø­ Ù‡ÙŠØ¯Ø± Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„: Ø§Ù„Ù„ÙˆØ¬Ùˆ ÙˆØ§Ù„Ø²Ø±Ø§Ø± Ù„Ø§ ÙŠØ±ÙƒØ¨ÙˆØ§ Ø¹Ù„Ù‰ Ø¨Ø¹Ø¶ */
@media(max-width:991px) {
  .site-header {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .site-header .brand {
    min-width: 0 !important;
    max-width: 58% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .site-header .brand-logos {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .site-header .brand-logos span {
    display: none !important;
  }

  .brand-logos .logo-3m,
  .site-header .logo-3m {
    width: 58px !important;
    max-width: 58px !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }

  .brand-logos .logo-atlas,
  .site-header .logo-atlas {
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }

  .brand-text {
    display: none !important;
  }

  .site-header .header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 42% !important;
  }

  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .menu-btn {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 12px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    transform: none !important;
  }

  .site-header .header-actions .change-region-btn,
  .site-header .header-actions>a.ghost-btn,
  .site-header .header-actions>a.primary-btn {
    display: none !important;
  }

  .site-header .menu-btn {
    display: inline-flex !important;
    flex-direction: column !important;
  }

  .mobile-menu {
    top: 72px !important;
    max-height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
  }

  .mobile-menu-content {
    padding: 18px 16px 26px !important;
    gap: 12px !important;
  }

  .mobile-menu-content a,
  .mobile-menu-content button,
  .mobile-login,
  .mobile-center-btn,
  .mobile-services-toggle,
  .mobile-menu .change-region-btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 14px !important;
    text-align: center !important;
  }

  /* Ù„Ùˆ Ø²Ø± ØªØºÙŠÙŠØ± Ø§Ù„Ø¯ÙˆÙ„Ø© Ù…ØªÙƒØ±Ø± ÙÙŠ HTMLØŒ Ø®Ù„ÙŠÙ‡ ÙŠØ¸Ù‡Ø± Ø£ÙˆÙ„ Ù…Ø±Ø© ÙÙ‚Ø· */
  .mobile-menu-content .change-region-btn:nth-of-type(n+2) {
    display: none !important;
  }
}

/* 6) Ù…ÙˆØ¨Ø§ÙŠÙ„ ØµØºÙŠØ± Ø¬Ø¯Ø§Ù‹ */
@media(max-width:420px) {
  .site-header .brand {
    max-width: 54% !important;
  }

  .site-header .header-actions {
    max-width: 46% !important;
    gap: 5px !important;
  }

  .brand-logos .logo-3m,
  .site-header .logo-3m {
    width: 50px !important;
    max-width: 50px !important;
  }

  .brand-logos .logo-atlas,
  .site-header .logo-atlas {
    width: 62px !important;
    max-width: 62px !important;
  }

  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .menu-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    flex-basis: 36px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }
}

/* 7) Ø¥ØµÙ„Ø§Ø­ Ù„ÙˆÙ† Ø®Ø·ÙˆØ· Ø²Ø±Ø§Ø± Ø§Ù„Ù…ÙŠÙ†ÙŠÙˆ ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª Ù…ÙˆØ¯ */
:root[data-theme="light"] .menu-btn span,
body.light .menu-btn span,
body.light-mode .menu-btn span {
  background: #20242d !important;
}

/* 8) Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ ÙÙŠ Ø§Ù„Ù„Ø§ÙŠØª Ù…ÙˆØ¯ */
@media(max-width:991px) {

  :root[data-theme="light"] .mobile-menu,
  :root[data-theme="light"] .mobile-menu-content,
  body.light .mobile-menu,
  body.light .mobile-menu-content,
  body.light-mode .mobile-menu,
  body.light-mode .mobile-menu-content {
    background: #fff !important;
    color: #20242d !important;
  }

  :root[data-theme="light"] .mobile-menu-content a,
  :root[data-theme="light"] .mobile-menu-content button,
  body.light .mobile-menu-content a,
  body.light .mobile-menu-content button,
  body.light-mode .mobile-menu-content a,
  body.light-mode .mobile-menu-content button {
    color: #20242d !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
  }

  :root[data-theme="light"] .mobile-center-btn,
  body.light .mobile-center-btn,
  body.light-mode .mobile-center-btn {
    background: linear-gradient(135deg, #d71920, #9f1118) !important;
    color: #fff !important;
  }
}


/* ===== SOURCE: website/static/css/atlas-egypt-row.css ===== */

/* Atlas Egypt row image polish */
.egypt-hero-row,
.egypt-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 34px;
  margin: 48px 0;
}

.egypt-hero-copy,
.egypt-visual-copy {
  position: relative;
  z-index: 2;
}

.egypt-hero-copy .eyebrow,
.egypt-visual-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #f8fafc;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.egypt-hero-copy h2,
.egypt-visual-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.08;
  color: #fff;
}

.egypt-hero-copy p,
.egypt-visual-copy p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.9;
  max-width: 720px;
}

.egypt-hero-image,
.egypt-visual-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  isolation: isolate;
}

.egypt-hero-image::before,
.egypt-visual-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .52));
  z-index: 1;
}

.egypt-hero-image::after,
.egypt-visual-image::after {
  content: "Atlas Egypt";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.egypt-hero-image img,
.egypt-visual-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s ease, filter .7s ease;
}

.egypt-hero-image:hover img,
.egypt-visual-image:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

[dir="rtl"] .egypt-hero-image::after,
[dir="rtl"] .egypt-visual-image::after {
  right: auto;
  left: 18px;
}

@media(max-width:900px) {

  .egypt-hero-row,
  .egypt-visual-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 34px 0;
  }

  .egypt-hero-image,
  .egypt-visual-image {
    min-height: 260px;
    border-radius: 24px;
  }

  .egypt-hero-image img,
  .egypt-visual-image img {
    min-height: 260px;
  }
}


/* ===== SOURCE: website/static/css/atlas-egypt-v4-final.css ===== */

/* Atlas Egypt V4 final visual fixes */
.region-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px);
  z-index: 999999;
  padding: 20px
}

.region-popup.show {
  display: flex
}

.region-popup-card {
  width: min(460px, 92vw);
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, #070b12, #101827);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  color: #fff;
  text-align: center;
  position: relative
}

.region-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 22px;
  cursor: pointer
}

.region-options {
  display: grid;
  gap: 14px;
  margin-top: 22px
}

.region-options button {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.region-options button:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px)
}

.region-options strong {
  font-size: 18px
}

.region-options small {
  opacity: .75
}

.center-phone,
[dir="ltr"] {
  direction: ltr !important;
  unicode-bidi: isolate !important
}

.atlas-leaflet-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 620px !important;
  display: block !important
}

.leaflet-container {
  background: #05070b !important
}

.egypt-image-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  margin: 54px 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  overflow: hidden
}

.egypt-image-row .egypt-row-img {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: #111
}

.egypt-image-row .egypt-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: .6s ease
}

.egypt-image-row:hover .egypt-row-img img {
  transform: scale(1.07)
}

.egypt-image-row .egypt-row-content h2 {
  font-size: clamp(28px, 4vw, 52px);
  margin: 0 0 14px;
  font-weight: 900
}

.egypt-image-row .egypt-row-content p {
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
  font-size: 17px
}

.egypt-image-row .egypt-row-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px
}

.egypt-image-row .egypt-row-badges span {
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 9px 13px;
  color: #fff
}

@media(max-width:900px) {
  .egypt-image-row {
    grid-template-columns: 1fr;
    padding: 18px
  }

  .egypt-image-row .egypt-row-img {
    min-height: 260px
  }

  .atlas-leaflet-map {
    min-height: 360px !important
  }
}


/* ===== SOURCE: website/static/css/atlas-egypt-v5-final.css ===== */

/* Atlas Egypt V5 final CSS: hero row/image polish + map cleanup */
.egypt-hero-row,
.atlas-egypt-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(10, 12, 18, .88), rgba(35, 6, 8, .78));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
  overflow: hidden;
}

.egypt-hero-row .egypt-hero-copy,
.atlas-egypt-hero-row .egypt-hero-copy {
  position: relative;
  z-index: 2;
}

.egypt-hero-row .egypt-hero-copy h2,
.atlas-egypt-hero-row .egypt-hero-copy h2 {
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: #fff;
  font-weight: 900;
}

.egypt-hero-row .egypt-hero-copy p,
.atlas-egypt-hero-row .egypt-hero-copy p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 22px;
}

.egypt-hero-row .egypt-hero-image,
.atlas-egypt-hero-row .egypt-hero-image {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
}

.egypt-hero-row .egypt-hero-image img,
.atlas-egypt-hero-row .egypt-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.egypt-hero-row .egypt-hero-image:after,
.atlas-egypt-hero-row .egypt-hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55));
  pointer-events: none;
}

.egypt-map .atlas-sa-map-canvas,
.egypt-map .atlas-map-overlay {
  display: none !important;
}

.egypt-map .atlas-leaflet-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 620px !important;
  display: block !important;
  background: #05070b !important;
}

[dir="ltr"],
.center-phone,
.atlas-call-link {
  unicode-bidi: isolate !important;
}

@media(max-width:900px) {

  .egypt-hero-row,
  .atlas-egypt-hero-row {
    grid-template-columns: 1fr;
    padding: 20px
  }

  .egypt-hero-row .egypt-hero-image,
  .atlas-egypt-hero-row .egypt-hero-image {
    min-height: 260px
  }

  .egypt-hero-row .egypt-hero-image img,
  .atlas-egypt-hero-row .egypt-hero-image img {
    min-height: 260px
  }

  .egypt-map .atlas-leaflet-map {
    min-height: 360px !important
  }
}

/* Atlas Egypt red Leaflet pins */
.atlas-red-map-pin span {
  width: 26px;
  height: 26px;
  display: block;
  background: #e30613;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 12px 28px rgba(227, 6, 19, .45);
}

.atlas-red-map-pin span:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  top: 6px;
  left: 6px;
}

/* =========================================================
   ATLAS FINAL MOBILE UI FIX - 20260708
   One static file mobile header/menu polish
========================================================= */
@media (max-width: 900px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    padding-top: 0 !important;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 74px !important;
    min-height: 74px !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    z-index: 10050 !important;
    overflow: visible !important;
    background: rgba(8, 8, 10, .82) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .34) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    backdrop-filter: blur(18px) !important;
  }

  body.light-mode .site-header,
  html[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, .86) !important;
    border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
  }

  .site-header .desktop-nav,
  .site-header>.desktop-nav,
  .site-header .change-region-btn,
  .site-header .primary-btn,
  .site-header .ghost-btn:not(.change-region-btn),
  .site-header .lang-btn,
  .site-header .theme-toggle {
    display: none !important;
  }

  .site-header .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 74px) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .brand-logos {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .site-header .brand img,
  .site-header .brand-logos img,
  .site-header .logo-atlas {
    height: 30px !important;
    max-height: 30px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .site-header .logo-3m {
    height: 38px !important;
    max-height: 38px !important;
  }

  .brand-text {
    min-width: 0 !important;
    max-width: 150px !important;
    overflow: hidden !important;
  }

  .brand-text strong {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-text small {
    display: block !important;
    font-size: 7px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .site-header .header-actions {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    border-radius: 17px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045)) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25) !important;
    position: relative !important;
    z-index: 10070 !important;
  }

  html[data-theme="light"] .menu-btn,
  body.light-mode .menu-btn {
    background: rgba(0, 0, 0, .06) !important;
    border-color: rgba(0, 0, 0, .16) !important;
  }

  .menu-btn span {
    display: none !important;
  }

  .menu-btn:before,
  .menu-btn:after,
  .menu-btn i {
    content: "" !important;
    position: absolute !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 8px !important;
    background: var(--text, #fff) !important;
    transition: transform .25s ease, opacity .25s ease !important;
  }

  .menu-btn:before {
    transform: translateY(-6px) !important;
  }

  .menu-btn:after {
    transform: translateY(6px) !important;
  }

  .menu-btn.active:before {
    transform: rotate(45deg) !important;
  }

  .menu-btn.active:after {
    transform: rotate(-45deg) !important;
  }

  .mobile-menu {
    position: fixed !important;
    top: 74px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: calc(100svh - 92px) !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(.98) !important;
    z-index: 10040 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: rgba(12, 12, 15, .94) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    backdrop-filter: blur(22px) !important;
    transition: .24s ease !important;
  }

  html[data-theme="light"] .mobile-menu,
  body.light-mode .mobile-menu {
    background: rgba(255, 255, 255, .96) !important;
    border-color: rgba(0, 0, 0, .08) !important;
  }

  .mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .mobile-menu-content {
    max-height: calc(100svh - 92px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  .mobile-top-controls {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 4px !important;
  }

  .mobile-menu-content a,
  .mobile-menu-content button,
  .mobile-services-toggle,
  .mobile-lang-btn,
  .mobile-region-btn {
    min-height: 48px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 13px 15px !important;
    border-radius: 17px !important;
    color: var(--text, #fff) !important;
    background: rgba(255, 255, 255, .065) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-align: inherit !important;
  }

  html[data-theme="light"] .mobile-menu-content a,
  html[data-theme="light"] .mobile-menu-content button,
  body.light-mode .mobile-menu-content a,
  body.light-mode .mobile-menu-content button {
    background: rgba(0, 0, 0, .045) !important;
    border-color: rgba(0, 0, 0, .08) !important;
    color: #101010 !important;
  }

  .mobile-menu-content a:after {
    content: "\203A";
    opacity: .45;
    font-size: 20px;
  }

  html[dir="rtl"] .mobile-menu-content a:after {
    content: "\2039";
  }

  .mobile-services-toggle:after {
    content: "\2304";
    opacity: .65;
    font-size: 18px;
  }

  .mobile-menu.services-open .mobile-services-toggle:after {
    transform: rotate(180deg);
  }

  .mobile-services-panel {
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 20px !important;
    background: rgba(0, 0, 0, .20) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
  }

  .mobile-menu.services-open .mobile-services-panel {
    display: grid !important;
  }

  .mobile-services-panel strong {
    display: block !important;
    margin: 8px 4px 2px !important;
    color: var(--red, #e31b23) !important;
    font-size: 13px !important;
    font-weight: 1000 !important;
  }

  .mobile-services-panel a {
    min-height: 42px !important;
    padding: 10px 13px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
  }

  .mobile-login {
    background: rgba(255, 255, 255, .09) !important;
  }

  .mobile-center-btn,
  .mobile-menu-content a.mobile-center-btn {
    justify-content: center !important;
    background: linear-gradient(135deg, var(--red, #e31b23), #8d0000) !important;
    border-color: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    box-shadow: 0 16px 35px rgba(227, 27, 35, .26) !important;
  }

  .mobile-center-btn:after {
    display: none !important;
  }

  .main-wrapper {
    padding-top: 0 !important;
  }

  .hero,
  .hero-slider {
    margin-top: 74px !important;
    min-height: calc(100svh - 74px) !important;
  }

  .page-hero {
    margin-top: 74px !important;
    padding-top: 80px !important;
    min-height: auto !important;
    height: auto !important;
  }

  section:first-of-type:not(.hero):not(.hero-slider) {
    scroll-margin-top: 90px !important;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: 70px !important;
    min-height: 70px !important;
    padding: 7px 10px !important;
  }

  .mobile-menu {
    top: 70px !important;
    left: 8px !important;
    right: 8px !important;
    border-radius: 22px !important;
  }

  .site-header .brand img,
  .site-header .brand-logos img,
  .site-header .logo-atlas {
    height: 27px !important;
    max-height: 27px !important;
  }

  .site-header .logo-3m {
    height: 34px !important;
    max-height: 34px !important;
  }

  .brand-text {
    max-width: 118px !important;
  }

  .brand-text strong {
    font-size: 11px !important;
  }

  .menu-btn {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }

  .hero,
  .hero-slider {
    margin-top: 70px !important;
    min-height: calc(100svh - 70px) !important;
  }

  .page-hero {
    margin-top: 70px !important;
  }
}


/* ===== FINAL PATCH: clean single loader ring + stable Egypt center actions ===== */
.site-loader .loader-ring::before,
.site-loader .loader-ring::after {
  display: none !important;
  content: none !important;
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.site-loader .loader-ring {
  width: 78px !important;
  height: 78px !important;
  border-radius: 50% !important;
  border: 3px solid rgba(227, 6, 19, .16) !important;
  border-top-color: #e30613 !important;
  border-right-color: rgba(227, 6, 19, .42) !important;
  background: transparent !important;
  box-shadow: 0 0 28px rgba(227, 6, 19, .22) !important;
  animation: atlasCleanSpin .9s linear infinite !important;
}

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

.center-actions a[data-i18n="view_profile"],
.center-actions a.atlas-view-center-btn {
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .1) !important;
}

.center-actions .btn-book-now {
  background: #e30613 !important;
  color: #fff !important;
  border-color: #e30613 !important;
  white-space: nowrap;
}


/* ===== FINAL FIX 20260708B: Loader one clean element + light metrics readability ===== */
.site-loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  background: radial-gradient(circle at center, rgba(227, 6, 19, .14), transparent 34%), #050506 !important;
}

html[data-theme="light"] .site-loader,
body.light .site-loader,
body.light-mode .site-loader {
  background: radial-gradient(circle at center, rgba(227, 6, 19, .10), transparent 34%), #f7f8fb !important;
}

.site-loader.hide {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .45s ease, visibility .45s ease !important;
}

.site-loader .loader-ring {
  display: none !important;
  content: none !important;
  animation: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.site-loader .loader-ring::before,
.site-loader .loader-ring::after {
  display: none !important;
  content: none !important;
}

.site-loader .loader-logo {
  width: 138px !important;
  height: 138px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  background: radial-gradient(circle at center, #151515 0 56%, transparent 57%), conic-gradient(from 0deg, #e30613, rgba(255, 71, 71, .12), #e30613, rgba(255, 71, 71, .12), #e30613) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: 0 0 46px rgba(227, 6, 19, .42) !important;
  animation: atlasLoaderPulse 1.25s ease-in-out infinite !important;
  transform: none !important;
}

html[data-theme="light"] .site-loader .loader-logo,
body.light .site-loader .loader-logo,
body.light-mode .site-loader .loader-logo {
  background: radial-gradient(circle at center, #ffffff 0 56%, transparent 57%), conic-gradient(from 0deg, #e30613, rgba(227, 6, 19, .10), #e30613, rgba(227, 6, 19, .10), #e30613) !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: 0 0 36px rgba(227, 6, 19, .24) !important;
}

.site-loader .loader-logo::before,
.site-loader .loader-logo::after {
  display: none !important;
  content: none !important;
}

.site-loader .loader-logo span {
  color: #ff2b2b !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: -1px !important;
  text-shadow: 0 0 22px rgba(227, 6, 19, .65) !important;
}

.site-loader .loader-logo p {
  display: none !important;
}

@keyframes atlasLoaderPulse {

  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 0 34px rgba(227, 6, 19, .32)
  }

  50% {
    filter: brightness(1.14);
    box-shadow: 0 0 60px rgba(227, 6, 19, .55)
  }
}

html[data-theme="light"] .hero-metrics,
body.light .hero-metrics,
body.light-mode .hero-metrics {
  background: rgba(255, 255, 255, .78) !important;
  border-color: rgba(0, 0, 0, .08) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08) !important;
}

html[data-theme="light"] .hero-metrics div,
body.light .hero-metrics div,
body.light-mode .hero-metrics div {
  background: rgba(255, 255, 255, .62) !important;
  border-color: rgba(0, 0, 0, .08) !important;
}

html[data-theme="light"] .hero-metrics strong,
body.light .hero-metrics strong,
body.light-mode .hero-metrics strong {
  color: #e30613 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .hero-metrics span,
body.light .hero-metrics span,
body.light-mode .hero-metrics span {
  color: #202533 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* ===== SPECIAL OFFERS SECTION ===== */
.special-offers .offers-carousel {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 0 4vw 40px;
  overflow: hidden;
}

.special-offers .offers-track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.65, .05, .36, 1);
}

.special-offers .offer-slide {
  position: relative;
  flex: 0 0 calc(100% - 24px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  transition: transform .35s ease, box-shadow .35s ease;
}

.special-offers .offer-slide:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(255, 31, 31, .18), 0 8px 32px rgba(0, 0, 0, .3);
}

.special-offers .offer-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform .35s ease;
}

.special-offers .offer-slide:hover img {
  transform: scale(1.015);
}

.special-offers .offer-cta {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red) 0%, var(--red2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 28px;
  border-radius: 12px;
  text-decoration: none;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255, 31, 31, .35);
}

.special-offers .offer-slide:hover .offer-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
  pointer-events: auto;
}

.special-offers .offer-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.special-offers .offer-arrow:hover {
  background: linear-gradient(135deg, var(--red) 0%, var(--red2) 100%);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.special-offers .offer-arrow-prev { left: 0; }
.special-offers .offer-arrow-next { right: 0; }

.special-offers .offers-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.special-offers .offer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
  padding: 0;
}

.special-offers .offer-dot.is-active {
  background: var(--red);
  transform: scale(1.25);
}

/* Responsive */
@media (max-width: 900px) {
  .special-offers .offers-carousel {
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  .special-offers .offer-slide {
    aspect-ratio: 16 / 9;
  }

  .special-offers .offer-cta {
    opacity: 1;
    pointer-events: auto;
    font-size: .85rem;
    padding: 8px 22px;
  }
}

/* ===== OFFERS POPUP ===== */
.offers-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.offers-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.offers-popup-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  animation: offersPopupIn .35s ease;
}
@keyframes offersPopupIn {
  from { opacity:0; transform: translateY(20px) scale(.98); }
  to { opacity:1; transform: none; }
}
.offers-popup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.offers-popup-close:hover { background: var(--red); color:#fff; border-color: var(--red); }
.offers-popup-head { text-align:center; margin-bottom:20px; }
.offers-popup-head h2 { color: var(--text); margin: 8px 0; }
.offers-popup-head p { color: var(--muted); }
.offers-popup-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
.offer-popup-card {
  border-radius: 16px;
  overflow: hidden;
  border:1px solid var(--border);
  aspect-ratio: 16 / 9;
  display: flex;
  background: var(--glass);
  transition: transform .3s ease;
}
.offer-popup-card:hover { transform: scale(1.02); }
.offer-popup-card img { width:100%; height:100%; object-fit: contain; display:block; }
@media(max-width:600px){
  .offers-popup-grid { grid-template-columns:1fr; }
}
/* ========================================
   WARRANTY FLOW (New Flowchart)
   ======================================== */
.warranty-flow {
  overflow-x: auto;
  padding: 12px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 6, 19, .45) transparent;
}

.warranty-flow::-webkit-scrollbar {
  height: 8px;
}

.warranty-flow::-webkit-scrollbar-thumb {
  background: rgba(227, 6, 19, .45);
  border-radius: 999px;
}

.warranty-journey-section .section-head p {
  max-width: 720px;
  margin-inline: auto;
}

.warranty-flow-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 8px 4px 16px;
}

.warranty-flow-step {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}

.warranty-flow-card {
  width: 280px;
  min-height: 280px;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  transition: .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.warranty-flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.warranty-flow-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 31, 31, .4);
  box-shadow: 0 30px 80px rgba(255, 31, 31, .18), 0 0 0 1px rgba(255, 31, 31, .15);
}

.warranty-flow-card:hover::before {
  transform: scaleX(1);
}

.warranty-flow-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 12px 32px rgba(227, 6, 19, .35);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.warranty-flow-icon.dual-icon {
  font-size: 22px;
}

.warranty-flow-icon.dual-icon i:first-child {
  margin-inline-end: 6px;
}

.warranty-flow-card:hover .warranty-flow-icon {
  transform: scale(1.1);
  box-shadow: 0 16px 48px rgba(227, 6, 19, .5);
}

.warranty-flow-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.warranty-flow-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  background: rgba(227, 6, 19, .12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
}

.warranty-flow-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.warranty-flow-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

.warranty-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(227, 6, 19, .6);
  flex-shrink: 0;
  width: 48px;
  transition: color .3s;
}

.warranty-flow-step:hover .warranty-flow-arrow {
  color: var(--red);
}

.warranty-flow-arrow svg {
  display: block;
}

/* Responsive */
@media (max-width: 1200px) {
  .warranty-flow-card {
    width: 240px;
    min-height: 260px;
    padding: 24px 20px;
  }
  .warranty-flow-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .warranty-flow-wrapper {
    gap: 12px;
  }
  .warranty-flow-card {
    width: 220px;
    min-height: 250px;
    padding: 22px 18px;
  }
  .warranty-flow-icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }
  .warranty-flow-content h3 {
    font-size: 20px;
  }
  .warranty-flow-content p {
    font-size: 14px;
  }
  .warranty-flow-arrow {
    width: 36px;
  }
}

@media (max-width: 768px) {
  .warranty-flow {
    padding: 8px 4px 16px;
    margin-inline: -8px;
  }
  .warranty-flow-wrapper {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 8px 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .warranty-flow-step {
    scroll-snap-align: start;
    flex-direction: column;
    min-width: 260px;
  }
  .warranty-flow-card {
    width: 100%;
    min-height: 300px;
  }
  .warranty-flow-arrow {
    display: none;
  }
}

/* RTL adjustments */
[dir="rtl"] .warranty-flow-wrapper {
  flex-direction: row-reverse;
}

[dir="rtl"] .warranty-flow-arrow svg {
  transform: scaleX(-1);
}

/* ========================================
   MODERN WARRANTY FLOW DESIGN
   ======================================== */

.warranty-flow-wrapper {
  position: relative;
  padding: 40px 40px;
  margin: 0 -40px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 6, 19, 0.3) transparent;
}

.warranty-flow-wrapper::-webkit-scrollbar {
  height: 8px;
}

.warranty-flow-wrapper::-webkit-scrollbar-thumb {
  background: rgba(227, 6, 19, 0.3);
  border-radius: 999px;
}

.warranty-flow-wrapper::-webkit-scrollbar-track {
  background: rgba(227, 6, 19, 0.05);
  border-radius: 999px;
}

.warranty-flow-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
  min-width: max-content;
  padding: 0 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  max-width: 100%;
}

.warranty-flow-step {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  scroll-snap-align: start;
}

.warranty-flow-card {
  width: 100%;
  max-width: 200px;
  min-height: 240px;
  padding: 20px 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.warranty-flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.warranty-flow-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 31, 31, 0.3);
  box-shadow: 0 20px 60px rgba(255, 31, 31, 0.2);
}

.warranty-flow-card:hover::before {
  transform: scaleX(1);
}

.warranty-flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  font-size: 22px;
  margin: 0 auto 14px;
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.warranty-flow-icon.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.warranty-flow-icon.dual-icon {
  font-size: 22px;
  gap: 6px;
}

.warranty-flow-icon.dual-icon i:first-child {
  margin-inline-end: 6px;
}

.warranty-flow-card:hover .warranty-flow-icon {
  transform: scale(1.1);
  box-shadow: 0 16px 48px rgba(227, 6, 19, 0.5);
}

.warranty-flow-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.warranty-flow-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  background: rgba(227, 6, 19, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
}

.warranty-flow-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.warranty-flow-content p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 12px;
  margin: 0;
}

.warranty-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(227, 6, 19, 0.4);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.05);
  border: 1px solid rgba(227, 6, 19, 0.1);
  transition: all 0.3s;
  margin: 0 6px;
}

.warranty-flow-step:hover .warranty-flow-arrow {
  color: var(--red);
  background: rgba(227, 6, 19, 0.1);
  border-color: rgba(227, 6, 19, 0.2);
}

.warranty-flow-arrow i {
  transition: transform 0.3s;
}

.warranty-flow-step:hover .warranty-flow-arrow i {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .warranty-flow-wrapper {
    padding: 40px 30px;
    margin: 0 -30px;
  }

  .warranty-flow-container {
    gap: 18px;
  }

  .warranty-flow-card {
    max-width: 190px;
    min-height: 230px;
  }
}

@media (max-width: 1200px) {
  .warranty-flow-wrapper {
    padding: 40px 20px;
    margin: 0 -20px;
  }

  .warranty-flow-container {
    gap: 16px;
  }

  .warranty-flow-card {
    max-width: 180px;
    min-height: 220px;
    padding: 18px 14px;
  }

  .warranty-flow-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .warranty-flow-content h3 {
    font-size: 15px;
  }

  .warranty-flow-content p {
    font-size: 11px;
  }

  .warranty-flow-arrow {
    width: 24px;
    height: 24px;
    margin: 0 4px;
  }
}

@media (max-width: 992px) {
  .warranty-flow-wrapper {
    padding: 32px 16px;
    margin: 0 -16px;
  }

  .warranty-flow-container {
    gap: 14px;
    padding: 0 12px 8px;
  }

  .warranty-flow-step {
    min-width: 170px;
  }

  .warranty-flow-card {
    max-width: 100%;
    min-height: 210px;
    padding: 16px 12px;
  }

  .warranty-flow-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .warranty-flow-content h3 {
    font-size: 14px;
  }

  .warranty-flow-content p {
    font-size: 11px;
  }

  .warranty-flow-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .warranty-flow-wrapper {
    padding: 24px 12px;
    margin: 0 -12px;
  }

  .warranty-flow-container {
    gap: 12px;
    padding: 0 10px 8px;
  }

  .warranty-flow-step {
    min-width: 160px;
  }

  .warranty-flow-card {
    min-height: 200px;
    padding: 16px 12px;
  }

  .warranty-flow-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .warranty-flow-content h3 {
    font-size: 14px;
  }

  .warranty-flow-content p {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .warranty-flow-wrapper {
    padding: 20px 10px;
    margin: 0 -10px;
  }

  .warranty-flow-container {
    gap: 10px;
    padding: 0 8px 6px;
  }

  .warranty-flow-step {
    min-width: 150px;
  }

  .warranty-flow-card {
    min-height: 190px;
    padding: 14px 10px;
  }

  .warranty-flow-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .warranty-flow-content h3 {
    font-size: 13px;
  }

  .warranty-flow-content p {
    font-size: 10px;
  }
}

/* RTL adjustments for modern design */
[dir="rtl"] .warranty-flow-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .warranty-flow-arrow i {
  transform: scaleX(-1);
}

[dir="rtl"] .warranty-flow-step:hover .warranty-flow-arrow i {
  transform: scaleX(-1) translateX(3px);
}

[dir="rtl"] .warranty-flow-card::before {
  transform-origin: right;
}

/* ATLAS: brand text ( ??????? ???????? / Atlas | 3M ) removed from header */
a.brand .brand-text{ display:none !important; }

/* Shared public-site brand intro and navigation */
.site-loader:not(.home-brand-loader){
  isolation:isolate!important;
  overflow:hidden!important;
  transition:opacity .45s ease,visibility .45s ease!important;
}
.site-loader:not(.home-brand-loader).hide{
  transition:opacity .45s ease .7s,visibility 0s linear 1.15s!important;
}
.site-loader:not(.home-brand-loader)::before,
.site-loader:not(.home-brand-loader)::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  pointer-events:none!important;
}
.site-loader:not(.home-brand-loader)::before{
  inset:0!important;
  background:radial-gradient(ellipse at center,rgba(227,6,19,.2),rgba(227,6,19,.06) 19%,transparent 44%)!important;
  animation:atlasSharedIntroAura 1.8s ease-out both!important;
}
.site-loader:not(.home-brand-loader)::after{
  top:50%!important;
  left:0!important;
  width:100%!important;
  height:2px!important;
  background:linear-gradient(90deg,transparent 8%,rgba(227,6,19,.12) 35%,#ff2433 49%,#fff 50%,#ff2433 51%,rgba(227,6,19,.12) 65%,transparent 92%)!important;
  box-shadow:0 0 22px 4px rgba(227,6,19,.32)!important;
  transform:scaleX(0)!important;
  opacity:0!important;
  animation:atlasSharedIntroSweep 1.25s cubic-bezier(.16,1,.3,1) both!important;
}
.site-loader:not(.home-brand-loader) .loader-logo{
  position:relative!important;
  z-index:1!important;
  background:radial-gradient(circle at center,#09090b 0 56%,transparent 57%),conic-gradient(from 0deg,#e30613,rgba(255,71,71,.12),#e30613,rgba(255,71,71,.12),#e30613)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 0 46px rgba(227,6,19,.42)!important;
  animation:atlasSharedIntroReveal .8s cubic-bezier(.16,1,.3,1) both,atlasLoaderPulse 1.25s ease-in-out .8s infinite!important;
}
.site-loader:not(.home-brand-loader) .loader-logo::before,
.site-loader:not(.home-brand-loader) .loader-logo::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-12px!important;
  border:1px solid rgba(255,35,45,.28)!important;
  border-radius:50%!important;
  background:conic-gradient(from 0deg,transparent 0 15%,#e30613 27%,#ff3540 34%,#fff 36%,transparent 39% 67%,#e30613 79%,transparent 91% 100%)!important;
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px))!important;
  mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px))!important;
  box-shadow:0 0 22px rgba(227,6,19,.24)!important;
  animation:atlasSharedIntroOrbit 1.5s linear infinite!important;
}
.site-loader:not(.home-brand-loader) .loader-logo::after{
  inset:-5px!important;
  opacity:.56!important;
  animation-duration:2.2s!important;
  animation-direction:reverse!important;
}
.site-loader:not(.home-brand-loader) .loader-logo span{
  position:relative!important;
  z-index:1!important;
  animation:atlasSharedIntroMark 1.15s ease-in-out .35s infinite alternate!important;
}
@keyframes atlasSharedIntroAura{
  0%,100%{opacity:0;transform:scale(.65)}
  28%,70%{opacity:1;transform:scale(1.18)}
}
@keyframes atlasSharedIntroSweep{
  0%,12%{opacity:0;transform:scaleX(0)}
  35%{opacity:.9;transform:scaleX(1)}
  60%,100%{opacity:0;transform:scaleX(1.35)}
}
@keyframes atlasSharedIntroReveal{
  from{opacity:0;transform:scale(.58);filter:blur(10px)}
  72%{opacity:1;transform:scale(1.06);filter:blur(0)}
  to{opacity:1;transform:scale(1);filter:blur(0)}
}
@keyframes atlasSharedIntroOrbit{to{transform:rotate(360deg)}}
@keyframes atlasSharedIntroMark{
  from{text-shadow:0 0 10px rgba(255,15,31,.62),0 0 26px rgba(227,6,19,.5)}
  to{text-shadow:0 0 18px rgba(255,15,31,1),0 0 46px rgba(227,6,19,.9)}
}

.site-header{
  box-sizing:border-box!important;
  inset:0 0 auto!important;
  width:auto!important;
  min-height:68px!important;
  height:68px!important;
  padding:0 clamp(14px,2.2vw,30px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(10px,1.1vw,16px)!important;
  background:rgba(9,10,13,.76)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.12)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.18)!important;
  backdrop-filter:blur(22px) saturate(1.18)!important;
}
.site-header .brand{
  flex:0 0 auto!important;
  min-width:0!important;
  gap:10px!important;
}
.site-header .brand-logos{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  white-space:nowrap!important;
}
.site-header .brand-logos img.logo-3m{
  width:auto!important;
  height:28px!important;
  max-width:92px!important;
  object-fit:contain!important;
}
.site-header .brand-logos img.logo-atlas{
  width:auto!important;
  height:34px!important;
  max-width:112px!important;
  object-fit:contain!important;
}
.site-header .desktop-nav{
  flex:0 1 auto!important;
  min-width:0!important;
  justify-content:center!important;
  align-items:center!important;
  gap:2px!important;
  padding:5px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:13px!important;
  background:rgba(8,9,12,.52)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
.site-header .desktop-nav>a,
.site-header .desktop-nav>.atlas-services-dd>a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:8px 10px!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:rgba(255,255,255,.78)!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.4!important;
  white-space:nowrap!important;
  transition:color .22s ease,background .22s ease,border-color .22s ease!important;
}
.site-header .desktop-nav>a:hover,
.site-header .desktop-nav>.atlas-services-dd>a:hover{
  color:#fff!important;
  background:rgba(255,255,255,.07)!important;
}
.site-header .desktop-nav>a.am-active,
.site-header .desktop-nav>a[aria-current="page"],
.site-header .desktop-nav>.atlas-services-dd>a.am-active{
  color:#fff!important;
  border-bottom-color:#e30613!important;
  background:rgba(227,6,19,.09)!important;
  text-shadow:none!important;
}
.site-header .header-actions{
  flex:0 0 auto!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
}
.site-header .header-actions .lang-btn,
.site-header .header-actions .change-region-btn,
.site-header .header-actions>a.ghost-btn{
  min-height:42px!important;
  padding:8px 12px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.055)!important;
  color:rgba(255,255,255,.88)!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:700!important;
  transition:background .2s ease,border-color .2s ease,transform .2s ease!important;
}
.site-header .header-actions .lang-btn{
  width:42px!important;
  padding:7px!important;
  justify-content:center!important;
}
.site-header .header-actions .lang-btn img{
  display:none!important;
}
.site-header .header-actions .lang-btn{
  position:relative!important;
  overflow:hidden!important;
  font-size:0!important;
  color:transparent!important;
}
.site-header .header-actions .lang-btn::before{
  content:""!important;
  display:block!important;
  flex:none!important;
  width:44px!important;
  height:29px!important;
  border-radius:3px!important;
  background-image:url("images/flag-sa.svg?v=20261013B")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  box-shadow:0 1px 4px rgba(0,0,0,.3)!important;
}
html[lang="en"] .site-header .header-actions .lang-btn::before{
  background-image:url("images/flag-us.svg?v=20261013")!important;
}
html[data-country="egypt"]:not([lang="en"]) .site-header .header-actions .lang-btn::before{
  background-image:url("images/flag-eg.svg?v=1")!important;
}
.site-header .header-actions .change-region-btn{
  gap:7px!important;
  white-space:nowrap!important;
}
.site-header .header-actions>a.primary-btn{
  min-height:42px!important;
  padding:9px 18px!important;
  border:1px solid #e30613!important;
  border-radius:11px!important;
  background:#e30613!important;
  box-shadow:0 7px 18px rgba(227,6,19,.2)!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.site-header .header-actions .lang-btn:hover,
.site-header .header-actions .change-region-btn:hover,
.site-header .header-actions>a.ghost-btn:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(255,255,255,.24)!important;
  background:rgba(255,255,255,.1)!important;
}
.site-header .header-actions>a.primary-btn:hover{
  transform:translateY(-1px)!important;
  background:#f21b28!important;
  box-shadow:0 10px 24px rgba(227,6,19,.32)!important;
}
html[data-theme="light"] .site-header{
  background:rgba(250,250,252,.84)!important;
  border-bottom-color:rgba(20,23,30,.1)!important;
}
html[data-theme="light"] .site-header .desktop-nav{
  background:rgba(255,255,255,.66)!important;
  border-color:rgba(20,23,30,.08)!important;
}
html[data-theme="light"] .site-header .desktop-nav>a,
html[data-theme="light"] .site-header .desktop-nav>.atlas-services-dd>a{
  color:rgba(20,23,30,.72)!important;
}
html[data-theme="light"] .site-header .desktop-nav>a:hover,
html[data-theme="light"] .site-header .desktop-nav>.atlas-services-dd>a:hover{
  color:#111!important;
  background:rgba(20,23,30,.06)!important;
}
html[data-theme="light"] .site-header .header-actions .lang-btn,
html[data-theme="light"] .site-header .header-actions .change-region-btn,
html[data-theme="light"] .site-header .header-actions>a.ghost-btn{
  border-color:rgba(20,23,30,.12)!important;
  background:rgba(255,255,255,.62)!important;
  color:#20232a!important;
}
@media(max-width:1100px){
  .site-header{
    min-height:68px!important;
    height:68px!important;
  }
  .site-header .desktop-nav{
    display:none!important;
  }
  .site-header .header-actions .menu-btn{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.055)!important;
  }
  .site-header .header-actions .menu-btn span{
    width:17px!important;
    height:2px!important;
    border-radius:2px!important;
    background:#fff!important;
  }
}
@media(max-width:700px){
  .site-header{
    padding-inline:12px!important;
    gap:8px!important;
  }
  .site-header .brand-logos{
    gap:7px!important;
  }
  .site-header .brand-logos img.logo-3m{
    height:24px!important;
    max-width:76px!important;
  }
  .site-header .brand-logos img.logo-atlas{
    height:29px!important;
    max-width:92px!important;
  }
  .site-header .header-actions{
    gap:5px!important;
  }
  .site-header .header-actions .lang-btn,
  .site-header .header-actions .change-region-btn,
  .site-header .header-actions>a.ghost-btn,
  .site-header .header-actions>a.primary-btn,
  .site-header .header-actions .menu-btn{
    min-height:40px!important;
    height:40px!important;
    border-radius:10px!important;
  }
}

html[data-atlas-center-profile="true"] .site-header{
  min-height:72px!important;
  overflow:visible!important;
}

html[data-atlas-center-profile="true"] .site-header .brand{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
}

html[data-atlas-center-profile="true"] .site-header .brand-logos{
  flex:0 0 auto!important;
  gap:clamp(4px,.8vw,10px)!important;
  overflow:visible!important;
}

html[data-atlas-center-profile="true"] .site-header .brand-logos img.logo-3m{
  display:block!important;
  flex:0 1 auto!important;
  width:clamp(64px,7.5vw,100px)!important;
  height:auto!important;
  max-width:100px!important;
  max-height:30px!important;
  object-fit:contain!important;
}

html[data-atlas-center-profile="true"] .site-header .brand-logos img.logo-atlas{
  display:block!important;
  flex:0 1 auto!important;
  width:clamp(58px,6.5vw,88px)!important;
  height:auto!important;
  max-width:88px!important;
  max-height:48px!important;
  object-fit:contain!important;
}

@media(max-width:980px){
  html[data-atlas-center-profile="true"] .site-header .brand-logos img.logo-3m{
    width:clamp(58px,20vw,82px)!important;
    max-width:82px!important;
    max-height:26px!important;
  }

  html[data-atlas-center-profile="true"] .site-header .brand-logos img.logo-atlas{
    width:clamp(54px,18vw,72px)!important;
    max-width:72px!important;
    max-height:42px!important;
  }
}

@media(max-width:360px){
  html[data-atlas-center-profile="true"] .site-header .brand-logos{
    gap:4px!important;
  }

  html[data-atlas-center-profile="true"] .site-header .brand-logos img.logo-3m{
    width:54px!important;
  }

  html[data-atlas-center-profile="true"] .site-header .brand-logos img.logo-atlas{
    width:50px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .site-loader:not(.home-brand-loader).hide{
    transition:opacity .2s ease,visibility .2s ease!important;
  }
  .site-loader:not(.home-brand-loader)::before,
  .site-loader:not(.home-brand-loader)::after,
  .site-loader:not(.home-brand-loader) .loader-logo,
  .site-loader:not(.home-brand-loader) .loader-logo::before,
  .site-loader:not(.home-brand-loader) .loader-logo::after,
  .site-loader:not(.home-brand-loader) .loader-logo span{
    animation:none!important;
  }
}

/* Shared mobile layout safeguards for both country sites. */
@media(max-width:900px){
  .map-layout{
    grid-template-columns:minmax(0,1fr)!important;
  }

  .map-layout>*{
    min-width:0!important;
    max-width:100%!important;
  }
}

@media(max-width:768px){
  body{
    --atlas-mobile-header-height:68px;
  }

  html,
  body{
    max-width:100%;
    overflow-x:hidden!important;
  }

  .main-wrapper,
  .section,
  .content-shell,
  .map-layout,
  .footer,
  .footer-top{
    min-width:0!important;
  }

  img,
  video,
  iframe,
  svg{
    max-width:100%;
  }

  .site-header{
    --atlas-mobile-header-height:68px;
  }

  .site-header .brand{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:calc(100% - 92px)!important;
  }

  .site-header .brand-logos{
    flex:0 1 auto!important;
    min-width:0!important;
    gap:6px!important;
  }

  .site-header .brand-logos img.logo-3m{
    width:clamp(72px,23vw,94px)!important;
    height:auto!important;
    max-width:94px!important;
    max-height:34px!important;
    object-fit:contain!important;
    transform:none!important;
  }

  .site-header .brand-logos img.logo-atlas{
    width:clamp(62px,22vw,86px)!important;
    height:auto!important;
    max-width:86px!important;
    max-height:54px!important;
    object-fit:contain!important;
    transform:none!important;
  }

  .site-header .header-actions{
    flex:0 0 auto!important;
    min-width:0!important;
  }

  .mobile-menu{
    top:calc(var(--atlas-mobile-header-height,68px) + 6px)!important;
    left:8px!important;
    right:8px!important;
    width:auto!important;
    max-height:calc(100dvh - var(--atlas-mobile-header-height,68px) - 12px)!important;
    overflow:hidden!important;
  }

  .mobile-menu-content{
    box-sizing:border-box!important;
    width:100%!important;
    max-height:calc(100dvh - var(--atlas-mobile-header-height,68px) - 12px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    padding-bottom:max(14px,env(safe-area-inset-bottom))!important;
  }

  .mobile-menu-content a,
  .mobile-menu-content button{
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere;
  }

  .mobile-menu-content a:after,
  html[dir="rtl"] .mobile-menu-content a:after,
  .mobile-services-toggle:after{
    font-family:Arial,sans-serif!important;
    line-height:1!important;
  }
}

@media(max-width:420px){
  body{
    --atlas-mobile-header-height:70px;
  }

  .site-header{
    --atlas-mobile-header-height:70px;
  }

  .site-header .brand-logos{
    gap:4px!important;
  }

  .site-header .brand-logos img.logo-3m{
    width:clamp(72px,23vw,94px)!important;
    max-height:34px!important;
  }

  .site-header .brand-logos img.logo-atlas{
    width:clamp(62px,22vw,86px)!important;
    max-height:54px!important;
  }
}

/* Final comparison slider overrides: keep the interactive canvas single-layered. */
.auto-visual-compare {
  display: block !important;
  grid-template-columns: none !important;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  cursor: ew-resize !important;
  touch-action: none !important;
}

/* Atlas | 3M homepage footer refresh */
.atlas-footer.atlas-unified-footer{
  padding:80px clamp(16px,2vw,32px) 32px!important;
  border-top:0!important;
  background:
    radial-gradient(ellipse at 12% 8%,rgba(227,6,19,.13),transparent 34%),
    radial-gradient(ellipse at 88% 82%,rgba(255,255,255,.035),transparent 36%),
    linear-gradient(180deg,#0d1016 0%,#07090d 100%)!important;
}
.atlas-footer.atlas-unified-footer .atlas-footer-cta{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  max-width:1440px;
  margin:0 auto 24px;
  padding:32px 38px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  background:linear-gradient(115deg,rgba(227,6,19,.14),rgba(255,255,255,.045) 45%,rgba(255,255,255,.025));
  box-shadow:0 24px 60px rgba(0,0,0,.25);
}
.atlas-footer.atlas-unified-footer .atlas-footer-cta-copy{max-width:680px}
.atlas-footer.atlas-unified-footer .atlas-footer-eyebrow{
  color:#ff646c;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
}
.atlas-footer.atlas-unified-footer .atlas-footer-cta h2{
  margin:10px 0 8px;
  color:#fff;
  font-size:clamp(22px,3vw,32px);
  font-weight:900;
  line-height:1.35;
}
.atlas-footer.atlas-unified-footer .atlas-footer-cta p{
  margin:0;
  color:#b8c0cc;
  font-size:15px;
  line-height:1.8;
}
.atlas-footer.atlas-unified-footer .atlas-footer-cta-actions{
  display:flex;
  flex:0 0 auto;
  flex-wrap:wrap;
  gap:12px;
}
.atlas-footer.atlas-unified-footer .atlas-footer-button{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border:1px solid transparent;
  border-radius:13px;
  color:#fff;
  font-size:14px;
  font-weight:850;
  text-decoration:none;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.atlas-footer.atlas-unified-footer .atlas-footer-button:hover{transform:translateY(-2px)}
.atlas-footer.atlas-unified-footer .atlas-footer-button-primary{
  background:#d71920;
  box-shadow:0 9px 24px rgba(215,25,32,.24);
}
.atlas-footer.atlas-unified-footer .atlas-footer-button-primary:hover{background:#f0222b}
.atlas-footer.atlas-unified-footer .atlas-footer-button-secondary{
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.055);
}
.atlas-footer.atlas-unified-footer .atlas-footer-button-secondary:hover{border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.1)}
.atlas-footer.atlas-unified-footer .atlas-footer-top{
  box-sizing:border-box;
  max-width:1440px;
  grid-template-columns:minmax(280px,1fr) minmax(0,2.1fr);
  gap:56px;
  padding:56px!important;
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px 28px 0 0;
  background:linear-gradient(150deg,rgba(22,26,34,.94),rgba(11,13,18,.97));
  box-shadow:0 28px 72px rgba(0,0,0,.3);
}
.atlas-footer.atlas-unified-footer .footer-brand-side{
  padding:8px!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  text-align:start;
}
.atlas-footer.atlas-unified-footer .footer-logos{gap:16px;margin-bottom:26px}
.atlas-footer.atlas-unified-footer .footer-logos img{height:56px;max-width:150px}
.atlas-footer.atlas-unified-footer .footer-logos img[alt="3M"]{height:60px!important}
.atlas-footer.atlas-unified-footer .footer-brand-side h2{margin:0 0 14px!important;font-size:30px!important}
.atlas-footer.atlas-unified-footer .footer-brand-side>p{margin:0 0 26px;font-size:16px!important;line-height:1.9!important}
.atlas-footer.atlas-unified-footer .footer-links-side{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px;
  padding-top:12px;
}
.atlas-footer.atlas-unified-footer .footer-social{gap:10px;margin-top:0!important}
.atlas-footer.atlas-unified-footer .footer-social a{width:46px!important;height:46px!important;border-radius:14px!important;font-size:18px!important}
.atlas-footer.atlas-unified-footer .footer-column{gap:16px}
.atlas-footer.atlas-unified-footer .footer-column h3{margin:0 0 9px;color:#fff;font-size:18px}
.atlas-footer.atlas-unified-footer .footer-column a,
.atlas-footer.atlas-unified-footer .footer-column span{font-size:16px;line-height:1.8}
.atlas-footer.atlas-unified-footer .footer-column a,
.atlas-footer.atlas-unified-footer .footer-column span{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.atlas-footer.atlas-unified-footer .footer-column a:hover{color:#ff646c}
.atlas-footer.atlas-unified-footer .atlas-footer-bottom{
  box-sizing:border-box;
  max-width:1440px;
  padding:26px 56px;
  border:1px solid rgba(255,255,255,.12);
  border-top:1px solid rgba(255,255,255,.08);
  border-radius:0 0 28px 28px;
  background:rgba(11,13,18,.97);
  font-size:14px;
}
.atlas-footer.atlas-unified-footer .atlas-footer-bottom div{flex-wrap:wrap;gap:10px 18px}
.atlas-footer.atlas-unified-footer .atlas-footer-bottom a{font-size:14px}
@media(max-width:900px){
  .atlas-footer.atlas-unified-footer{padding:64px 24px 28px!important}
  .atlas-footer.atlas-unified-footer .atlas-footer-top{grid-template-columns:1fr;gap:34px;padding:42px!important}
  .atlas-footer.atlas-unified-footer .footer-links-side{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .atlas-footer.atlas-unified-footer{padding:48px 16px 20px!important}
  .atlas-footer.atlas-unified-footer .atlas-footer-cta{align-items:stretch;flex-direction:column;gap:20px;margin-bottom:16px;padding:24px 20px;border-radius:22px}
  .atlas-footer.atlas-unified-footer .atlas-footer-cta h2{font-size:23px}
  .atlas-footer.atlas-unified-footer .atlas-footer-cta p{font-size:14px}
  .atlas-footer.atlas-unified-footer .atlas-footer-cta-actions{display:grid;grid-template-columns:1fr 1fr}
  .atlas-footer.atlas-unified-footer .atlas-footer-button{padding:0 10px;font-size:13px}
  .atlas-footer.atlas-unified-footer .atlas-footer-top{gap:24px;padding:30px 22px!important}
  .atlas-footer.atlas-unified-footer .footer-logos img{height:48px}
  .atlas-footer.atlas-unified-footer .footer-logos img[alt="3M"]{height:52px!important}
  .atlas-footer.atlas-unified-footer .footer-brand-side h2{font-size:27px!important}
  .atlas-footer.atlas-unified-footer .footer-brand-side>p{font-size:15px!important}
  .atlas-footer.atlas-unified-footer .footer-social a{width:42px!important;height:42px!important;font-size:17px!important}
  .atlas-footer.atlas-unified-footer .footer-brand-side{text-align:center}
  .atlas-footer.atlas-unified-footer .footer-logos,
  .atlas-footer.atlas-unified-footer .footer-social{justify-content:center}
  .atlas-footer.atlas-unified-footer .footer-links-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .atlas-footer.atlas-unified-footer .footer-column{align-items:flex-start;padding:14px 10px;text-align:start}
  .atlas-footer.atlas-unified-footer .footer-column h3{font-size:15px}
  .atlas-footer.atlas-unified-footer .footer-column a,
  .atlas-footer.atlas-unified-footer .footer-column span{font-size:14px}
  .atlas-footer.atlas-unified-footer .atlas-footer-bottom{align-items:flex-start;padding:22px;border-radius:0 0 22px 22px;text-align:start}
  .atlas-footer.atlas-unified-footer .atlas-footer-bottom,
  .atlas-footer.atlas-unified-footer .atlas-footer-bottom a{font-size:13px}
  .atlas-footer.atlas-unified-footer .atlas-footer-bottom div{justify-content:flex-start}
}

@media(min-width:981px){
  .site-header .brand{min-width:clamp(350px,24vw,370px)!important}
  .site-header .brand-logos{width:auto!important;flex:0 0 auto!important;gap:10px!important}
  .site-header .brand-logos img.logo-3m{
    width:160px!important;
    height:60px!important;
    max-width:160px!important;
    max-height:60px!important;
    flex:0 0 160px!important;
    object-fit:contain!important;
  }
  .site-header .brand-logos img.logo-atlas{
    width:160px!important;
    height:60px!important;
    max-width:160px!important;
    max-height:60px!important;
    flex:0 0 160px!important;
    object-fit:contain!important;
    transform:none!important;
  }
  .site-header .brand-logos > span{
    display:block!important;
    box-sizing:border-box!important;
    width:1px!important;
    height:44px!important;
    padding:0!important;
    border-inline-start:1px solid rgba(255,255,255,.42)!important;
    font-size:0!important;
    line-height:0!important;
    flex:0 0 1px!important;
  }
}

@media(min-width:1181px) and (max-width:1450px){
  html body #siteHeader{
    gap:8px!important;
    padding-inline:14px!important;
  }

  html body #siteHeader .brand{
    flex:0 0 auto!important;
    min-width:340px!important;
    margin-inline:0!important;
  }

  .site-header .brand-logos{
    gap:5px!important;
  }

  .site-header .desktop-nav{
    flex:0 0 auto!important;
    min-width:max-content!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    padding:3px!important;
  }

  .site-header .desktop-nav>a,
  .site-header .desktop-nav>.atlas-services-dd>a{
    flex:0 0 auto!important;
    min-height:36px!important;
    padding:6px 7px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }

  html body #siteHeader .header-actions{
    gap:4px!important;
    min-width:0!important;
  }

  html body #siteHeader .header-actions .change-region-btn,
  html body #siteHeader .header-actions>a.ghost-btn{
    min-height:34px!important;
    padding:4px 6px!important;
    gap:4px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }

  html body #siteHeader .header-actions>a.primary-btn{
    min-height:34px!important;
    padding:6px 8px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }

  html body #siteHeader .header-actions .lang-btn{
    flex:0 0 40px!important;
    width:40px!important;
    height:34px!important;
    min-height:34px!important;
  }
}

@media(min-width:1101px) and (max-width:1180px){
  .site-header .desktop-nav{
    display:none!important;
  }

  .site-header .header-actions .menu-btn{
    display:flex!important;
  }
}

/* Automotive service card spotlight and pointer tilt */
@media (hover: hover) and (pointer: fine) {
  .auto-service-card {
    --spotlight-color: rgba(227, 6, 19, .2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .28s cubic-bezier(.16, 1, .3, 1),
                box-shadow .28s cubic-bezier(.16, 1, .3, 1),
                border-color .28s ease;
    will-change: transform;
  }

  .auto-service-card:nth-child(even) {
    --spotlight-color: rgba(74, 222, 163, .18);
  }

  .auto-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(280px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), var(--spotlight-color), transparent 68%);
    opacity: 0;
    transition: opacity .3s ease;
  }

  .auto-service-card:hover::after {
    opacity: 1;
  }

  .auto-service-card > * {
    position: relative;
    z-index: 1;
  }

  .auto-service-card:hover {
    border-color: color-mix(in srgb, var(--spotlight-color) 85%, white 15%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .3), 0 0 32px var(--spotlight-color);
  }
}

.chat-window-wrapper {
  right: 22px !important;
  bottom: 162px !important;
}

#atlas-ai-label {
  bottom: 170px !important;
}

@media (max-width: 900px) {
  .chat-window-wrapper {
    right: 14px !important;
    bottom: 216px !important;
  }

  #atlas-ai-label {
    bottom: 227px !important;
  }
}

html[data-atlas-region="egypt"] #themeBtn,
html[data-atlas-region="egypt"] #themeToggle,
html[data-atlas-region="egypt"] #mobileThemeBtn,
html[data-atlas-region="egypt"] .theme-toggle,
html[data-atlas-region="egypt"] .mode-toggle,
html[data-atlas-region="egypt"] [data-theme-toggle] {
  display: none !important;
}

html[data-atlas-region="egypt"][data-theme="light"] {
  color-scheme: dark;
}

@media (max-width: 1180px) {
  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .atlas-footer-top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .footer-links-side {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 900px) {
  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .footer-links-side {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .footer-links-side .footer-contact {
    grid-column: 1 / -1 !important;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch !important;
    text-align: right !important;
  }

  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .footer-links-side .footer-contact > h3,
  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .footer-links-side .footer-contact > a,
  html[data-atlas-region="egypt"] .atlas-footer.atlas-unified-footer .footer-links-side .footer-contact > span {
    display: block !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: right !important;
    overflow-wrap: anywhere;
  }
}

/* responsive-floating-actions-20261021 */
@media(max-width:900px){html body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}html body .floating-actions{right:calc(12px + env(safe-area-inset-right,0px))!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;flex-direction:row!important;gap:8px!important}html body .floating-actions .float-btn,html body .chat-window-wrapper,html body .chat-window-toggle{width:46px!important;height:46px!important}html body .floating-actions .float-btn{font-size:20px!important}html body .chat-window-wrapper{right:calc(12px + env(safe-area-inset-right,0px) + 108px)!important;left:auto!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}html body #atlas-ai-label{display:none!important}}
/* Compact mobile navbar actions: keep booking, language, and menu visible. */
@media (max-width: 900px) {
  .site-header .header-actions { gap: 4px !important; min-width: auto !important; }
  .site-header .header-actions > a.primary-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 36px !important; height: 36px !important; padding: 7px 10px !important; border-radius: 9px !important; font-size: 11px !important; line-height: 1 !important; box-shadow: none !important; }
  .site-header .header-actions .lang-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 32px !important; min-width: 32px !important; min-height: 36px !important; height: 36px !important; padding: 4px !important; border-radius: 9px !important; }
  .site-header .header-actions .lang-btn::before { width: 24px !important; height: 16px !important; }
  .site-header .header-actions .menu-btn { width: 36px !important; min-width: 36px !important; min-height: 36px !important; height: 36px !important; border-radius: 10px !important; }
  .site-header .header-actions .menu-btn:before, .site-header .header-actions .menu-btn:after, .site-header .header-actions .menu-btn i { width: 16px !important; }
  .site-header .brand-text { display: none !important; }
}
