/* ========================================
   MAGNAMAS INFOTECH - MAIN STYLESHEET
   ======================================== */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --red: #DC2626;
  --red-dark: #991B1B;
  --red-light: #FEE2E2;
  --red-glow: rgba(220, 38, 38, 0.3);

  --navy: #0F172A;
  --navy-light: #1E293B;
  --slate: #334155;
  --slate-light: #64748B;
  --gray: #94A3B8;
  --gray-light: #CBD5E1;
  --gray-lighter: #E2E8F0;
  --off-white: #F1F5F9;
  --white: #FFFFFF;

  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --gap: 2rem;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
}

/* ---- RESET ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
  height: auto;
}

body.loaded .cursor-dot,
body.loaded .cursor-ring {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul { list-style: none; }

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* All sections above the fixed particle canvas */
section, .stats-bar, footer {
  position: relative;
  z-index: 1;
}

/* ---- PRELOADER ---- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preloader-logo {
  width: min(168px, 42vw);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 2px;
  animation: preloaderFill 1.5s ease-out forwards;
}

@keyframes preloaderFill {
  to { width: 100%; }
}

/* ---- CUSTOM CURSOR ---- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(220, 38, 38, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--red);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---- SCROLL PROGRESS ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #F87171);
  z-index: 9997;
  width: 0;
  transition: none;
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand-logo--nav {
  width: min(176px, 34vw);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--slate);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 100px !important;
  padding: 0.5rem 1.5rem !important;
  margin-left: 0.5rem;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  text-align: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.mobile-menu.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) .mobile-link { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) .mobile-link { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) .mobile-link { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) .mobile-link { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) .mobile-link { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(6) .mobile-link { transition-delay: 0.35s; }
.mobile-menu.active .mobile-nav-links li:nth-child(7) .mobile-link { transition-delay: 0.4s; }

.mobile-link:hover {
  color: var(--red);
}

.mobile-menu-footer {
  margin-top: 3rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.mobile-menu-footer p + p { margin-top: 0.25rem; }

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(135deg, #DC2626, #EF4444);
  transform: skewX(-8deg);
  z-index: 0;
  opacity: 0.06;
  pointer-events: none;
}

/* Global particle canvas - fixed behind all content */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 8rem var(--gap) 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: tagDotPulse 2s ease-in-out infinite;
}

@keyframes tagDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--red-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--red);
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tagline-word {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--navy);
}

.tagline-sep {
  width: 24px;
  height: 2px;
  background: var(--red);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--slate-light);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(220, 38, 38, 0.04);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--slate-light);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 1px;
  height: 16px;
  background: var(--red);
  position: absolute;
  top: -16px;
  animation: scrollDotAnim 2s ease-in-out infinite;
}

@keyframes scrollDotAnim {
  0% { top: -16px; }
  100% { top: 48px; }
}

/* Hero badge */
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gap);
  text-align: right;
  z-index: 2;
}

.badge-year {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--slate-light);
}

.badge-location {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  margin-top: 2px;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--red), #EF4444);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.25);
}

.section-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.15;
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

.text-accent {
  color: var(--red);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* ---- ABOUT SECTION ---- */
.about {
  padding: 7rem 0;
  background: rgba(255, 255, 255, 0.80);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--slate-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glass-card {
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #F87171);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.glass-card:hover::before {
  transform: scaleX(1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.glass-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-light);
}

/* ---- WHY CHOOSE US ---- */
.why-us {
  padding: 7rem 0;
  background: rgba(255, 255, 255, 0.80);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.why-card {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), #F87171);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover::before {
  transform: scaleY(1);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.why-card:hover .why-number {
  color: var(--red);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate-light);
}

/* ---- INDUSTRIES ---- */
.industries {
  padding: 5rem 0 7rem;
  background: rgba(255, 255, 255, 0.80);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem;
  background: var(--off-white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}

.industry-item svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  transition: transform var(--transition);
}

.industry-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}

.industry-item:hover {
  background: var(--red-light);
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.industry-item:hover svg {
  transform: scale(1.15);
  color: var(--red-dark);
}

.industry-item:hover span {
  color: var(--red-dark);
}

/* ---- SHOWCASE FRAMES (brochure diagrams) ---- */
.showcase-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-lighter);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  overflow: hidden;
}

.showcase-frame:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  padding: 1.25rem 1.25rem 0.75rem;
}

.showcase-caption {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-top: 1px solid var(--gray-lighter);
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.5;
}

.showcase-caption svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

/* Integration Showcase section */
.integration-showcase {
  padding: 7rem 0;
  background: rgba(15, 23, 42, 0.88);
}

.integration-showcase .section-title {
  color: var(--white);
}

.integration-showcase .section-subtitle {
  color: var(--gray);
}

.integration-showcase .showcase-frame {
  border-color: rgba(255,255,255,0.1);
}

.integration-showcase .showcase-caption {
  background: var(--navy-light);
  border-top-color: rgba(255,255,255,0.08);
  color: var(--gray);
}

/* Real Work section (structured cabling) */
.real-work {
  padding: 7rem 0;
  background: rgba(255, 248, 248, 0.80);
}

.real-work-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.real-work-content .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.real-work-content .section-tag {
  text-align: left;
}

.real-work-content p {
  color: var(--slate-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.real-work-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.real-work-stats li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
}

.real-work-stats li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--red);
  border-radius: 50%;
}

.real-work-stats li strong {
  color: var(--navy);
}

.real-work-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-lighter);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  overflow: hidden;
}

.real-work-image:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.real-work-image img {
  width: 100%;
  height: auto;
  display: block;
  padding: 1rem;
}

@media (max-width: 768px) {
  .real-work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .real-work-content .section-title,
  .real-work-content .section-tag {
    text-align: center;
  }

  .showcase-caption {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}

/* ---- SERVICES SECTION ---- */
.services {
  padding: 7rem 0;
  background: rgba(255, 251, 251, 0.80);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.service-card-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red-light), #FFF1F2);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate-light);
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: var(--off-white);
  color: var(--slate);
  border-radius: 100px;
  transition: all var(--transition);
}

.service-card:hover .service-tags li {
  background: var(--red-light);
  color: var(--red-dark);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  letter-spacing: 1px;
  transition: all var(--transition);
}

.service-card:hover .service-number {
  background: var(--red);
  color: var(--white);
}

.service-card p {
  flex-grow: 1;
}

/* ---- PRODUCTS SECTION ---- */
.products {
  padding: 7rem 0;
  background: rgba(241, 245, 249, 0.80);
  overflow: hidden;
}

.products .section-title {
  color: var(--navy);
}

.products .section-subtitle {
  color: var(--slate-light);
}

.products-orbit {
  max-width: 900px;
  margin: 0 auto;
}

.orbit-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.03));
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.brand-logo--orbit {
  width: min(210px, 52vw);
}

.orbit-ring {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.orbit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius);
  color: var(--slate);
  transition: all var(--transition);
  cursor: default;
}

.orbit-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.orbit-item:hover {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.12);
}

.orbit-item::after {
  content: attr(data-label);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-light);
  text-align: center;
  line-height: 1.3;
  transition: color var(--transition);
}

.orbit-item:hover::after {
  color: var(--red-dark);
}

/* ---- EXPERTISE SECTION ---- */
.expertise {
  padding: 7rem 0;
  background: rgba(255, 255, 255, 0.80);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.expertise-category {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-lighter);
  transition: all var(--transition);
}

.expertise-category:hover {
  border-color: var(--red-light);
  box-shadow: var(--shadow-md);
}

.expertise-category h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.expertise-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-items span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: 100px;
  color: var(--slate);
  transition: all var(--transition);
}

.expertise-items span:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-1px);
}

/* ---- PARTNERS SECTION ---- */
.partners {
  padding: 7rem 0;
  background: rgba(255, 248, 248, 0.80);
}

.partners-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.partner-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  color: var(--slate);
  border: 1px solid var(--gray-lighter);
  background: var(--white);
  transition: all var(--transition);
}

.partner-tab:hover {
  border-color: var(--red);
  color: var(--red);
}

.partner-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 0.62rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 251, 0.94));
  border: 1px solid rgba(220, 38, 38, 0.10);
  border-radius: var(--radius);
  transition: all var(--transition);
  min-height: 120px;
  overflow: hidden;
}

.partner-logo img {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: contain;
  object-position: center;
}

.partner-logo:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-logo.hidden {
  display: none;
}

/* ---- CLIENTS SECTION ---- */
.clients {
  padding: 7rem 0 5rem;
  background: rgba(255, 255, 255, 0.80);
}

.clients-panel {
  margin-top: 1rem;
  padding: 1.3rem 1.4rem;
  border-radius: 24px;
  border: 1px solid var(--gray-lighter);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(255, 255, 255, 0.96) 45%);
  box-shadow: var(--shadow-sm);
}

.clients-note {
  margin: 0;
  max-width: 58ch;
  color: var(--slate-light);
}

.client-sector-pills {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.client-sector-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--gray-lighter);
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 600;
}

.clients-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.client-atlas-stage {
  position: relative;
  margin-top: 1.25rem;
  padding: 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.88), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 244, 0.98));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.client-atlas-stage::before {
  content: '';
  position: absolute;
  inset: -25% auto -25% -20%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}

.client-atlas-stage.revealed::before {
  animation: clientAtlasSweep 6.5s ease-in-out 0.65s infinite;
}

.client-atlas-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.client-atlas-head p {
  margin: 0;
  color: var(--slate-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.client-atlas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  grid-auto-flow: dense;
  gap: 0.9rem;
}

.client-atlas-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  padding: 1rem 1rem 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition),
    opacity 0.75s ease;
  transition-delay: calc(var(--card-index, 0) * 0.015s);
}

.client-atlas-stage.revealed .client-atlas-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.client-atlas-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -55% 18%;
  height: 70px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12), transparent 68%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.client-atlas-card--featured {
  border-color: rgba(220, 38, 38, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 247, 0.98));
}

.client-atlas-card img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  filter: saturate(1.02);
  transition: transform var(--transition), filter var(--transition);
}

.client-atlas-card--shared {
  flex-direction: column;
  gap: 0.7rem;
  padding-block: 0.95rem;
}

.client-atlas-card--shared img {
  height: 44px;
}

.client-atlas-caption {
  display: grid;
  gap: 0.22rem;
  width: 100%;
}

.client-atlas-caption span {
  display: block;
  text-align: center;
  color: var(--slate);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.28;
}


.client-atlas-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.35);
  box-shadow: var(--shadow-md);
}

.client-atlas-card:hover::before {
  opacity: 1;
}

.client-atlas-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

@keyframes clientAtlasSweep {
  0%, 12% {
    transform: translateX(-160%) skewX(-20deg);
  }
  40%, 100% {
    transform: translateX(320%) skewX(-20deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-atlas-stage::before {
    animation: none !important;
  }

  .client-atlas-card {
    transition: opacity 0.01s linear;
    transition-delay: 0s;
  }
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ---- CONTACT SECTION ---- */
.contact {
  padding: 7rem 0;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.82) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 2rem;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.contact-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, rgba(220, 38, 38, 0.18) 100%);
}

.contact-panel-head {
  position: relative;
  z-index: 1;
}

.contact-panel-label {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--red-light);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-panel-head h3 {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--navy);
}

.contact-panel-head p {
  margin-top: 0.85rem;
  color: var(--slate-light);
  line-height: 1.75;
}

.contact-summary {
  display: grid;
  gap: 1rem;
}

.contact-summary-card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.contact-summary-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.contact-summary-card p {
  font-size: 0.94rem;
  color: var(--slate-light);
  line-height: 1.7;
}

.contact-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.25rem;
}

.contact-panel-note {
  font-size: 0.95rem;
  color: var(--slate-light);
}

.contact-inline-link {
  color: var(--red-dark);
  font-weight: 600;
}

.contact-panel--summary,
.contact-panel--details {
  align-self: start;
}

.contact-panel--details {
  gap: 1.1rem;
}

.contact-map-frame {
  position: relative;
  min-height: 340px;
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--off-white);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.contact-map-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(203, 213, 225, 0.9);
}

.contact-map-caption span {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-map-caption p {
  font-size: 0.9rem;
  color: var(--slate-light);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-card p {
  font-size: 0.94rem;
  color: var(--slate-light);
  line-height: 1.7;
}


/* ---- FOOTER ---- */
.footer {
  background: #1C1017;
  padding: 4rem 0 0;
  color: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.75fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;
}

.brand-logo--footer {
  width: min(190px, 48vw);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--red);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--gray);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--red);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--red-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
  }
}

@media (max-width: 768px) {
  :root {
    --gap: 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 7rem var(--gap) 5rem;
  }

  .hero-tagline {
    gap: 0.6rem;
  }

  .tagline-word {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-badge {
    display: none;
  }

  .stats-grid {
    gap: 2rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .contact-cta-group,
  .contact-map-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .client-atlas-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-atlas-grid {
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  }

  .client-atlas-card--featured {
    border-color: rgba(220, 38, 38, 0.18);
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .about, .services, .products, .expertise, .partners, .clients, .contact, .why-us, .industries, .integration-showcase, .real-work {
    padding: 5rem 0;
  }

  .industries-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 480px) {
  .brand-logo--nav {
    width: 148px;
  }

  .brand-logo--footer {
    width: 170px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .partners-tabs {
    gap: 0.35rem;
  }

  .partner-tab {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }

  .partner-logo {
    min-height: 104px;
    padding: 0.64rem 0.56rem;
  }

  .partner-logo img {
    height: 72px;
  }

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

  .client-atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-atlas-stage {
    padding: 1.1rem;
  }

  .client-atlas-card {
    min-height: 94px;
    padding: 0.9rem;
  }

  .client-atlas-card img {
    height: 44px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 280px;
  }

  .contact-card {
    align-items: flex-start;
  }

  .client-atlas-card--shared img {
    height: 38px;
  }

  .client-atlas-caption span {
    font-size: 0.62rem;
  }


}

/* ---- SELECTION ---- */
::selection {
  background: var(--red);
  color: var(--white);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* ---- FOCUS STYLES ---- */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---- PRINT ---- */
@media print {
  .navbar, .back-to-top, .scroll-progress,
  .cursor-dot, .cursor-ring, #preloader,
  #particleCanvas, .hero-scroll-indicator { display: none !important; }
  .hero { min-height: auto; background: var(--white); }
  .hero-content { color: #000; }
}
