:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── HERO BACKGROUND OVERLAY (gradient pentru contrast text) ── */
.hero-grad-overlay {
  background: linear-gradient(
    108deg,
    rgba(2,21,32,0.92) 0%,
    rgba(2,21,32,0.72) 42%,
    rgba(2,21,32,0.18) 100%
  );
}

/* ── HERO TITLE – redus cu 30% ── */
.hero-title {
  font-size: clamp(1.2rem, 3.1vw, 2.4rem) !important;
}
.hero-title-sub {
  font-size: clamp(0.98rem, 2.1vw, 1.96rem) !important;
}

/* ── HERO SUB – aceleasi efecte si dimensiune ca .hero-title ── */
.hero-sub {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  animation-delay: 0.48s !important;
  font-weight: 700 !important;
}

/* hero-sub: accent = verde contur (ca &TEHNOLOGII), sub = lime ca in hero principal */
.hero-sub .hero-title-accent {
  color: transparent !important;
  -webkit-text-stroke: 1.5px #C7CF00 !important;
  display: block !important;
  margin-top: 0.3cm !important;
}
.hero-sub .hero-title-sub {
  color: #C7CF00 !important;
  display: block !important;
  margin-top: 18px !important;
}
/* Pe tema light, textul din hero-sub trebuie sa fie vizibil */
body[data-theme='light'] .hero-sub .hero-title-sub {
  color: #1a2430 !important;
}

.hero-title-mainline {
  display: inline-block;
  text-align: left;
}

body[data-theme='light'] .hero-title-box-main .hero-title {
  text-align: left;
}

.hero-title-box-main .hero-title-mainline,
.hero-title-box-main .hero-title-accent {
  display: inline-block !important;
  vertical-align: baseline;
}

.hero-title-box-main .hero-title-accent {
  margin-left: 0.16em;
  color: #ffffff !important;
  -webkit-text-stroke: 0 !important;
}

body[data-theme='light'] .hero-title-box-main .hero-title-accent {
  color: #252b30 !important;
  -webkit-text-stroke: 0 !important;
}

/* Hero titles in two stacked boxes */
.hero-title-stack {
  display: grid;
  gap: 14px;
  max-width: 100%;
}
.hero-title-box {
  padding: clamp(12px, 1.8vw, 20px) clamp(12px, 2vw, 22px);
  border: 1px solid rgba(199, 207, 0, 0.28);
  background:
    linear-gradient(115deg, rgba(199, 207, 0, 0.08), rgba(2, 21, 32, 0.28) 48%, rgba(2, 21, 32, 0.6));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.hero-title-box .hero-title {
  margin: 0 !important;
}
.hero-title-box .hero-title-sub {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero-grad-overlay {
    background: linear-gradient(
      180deg,
      rgba(2,21,32,0.70) 0%,
      rgba(2,21,32,0.88) 60%,
      rgba(2,21,32,0.97) 100%
    );
  }
  .hero-sub { max-width: 100%; }
  .hero-title-stack { gap: 12px; }
}

@media (max-width: 640px) {
  .hero-title-box {
    padding: 12px;
  }
}

/* ══════════════════════════════════════════
   SERVICE CARD – STRETCHED LINK (full-card click)
══════════════════════════════════════════ */
.card-title { position: static !important; }
.card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}

/* ══════════════════════════════════════════
   SERVICE CARD – BACKGROUND IMAGE HOVER
══════════════════════════════════════════ */
.card-bg-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
/* overlay intunecat peste poza */
.card-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}
/* reveal la hover */
.service-card:hover .card-bg-img { opacity: 1; }

/* Text alb pe overlay intunecat (lizibil pe orice tema) */
.service-card:hover .card-title,
.service-card:hover .card-title a { color: #ffffff !important; }
.service-card:hover .card-text     { color: rgba(255,255,255,0.82) !important; }
.service-card:hover .card-num      { color: rgba(255,255,255,0.45) !important; }
.service-card:hover .card-cta      { color: rgba(255,255,255,0.72) !important; }
.service-card:hover .card-icon-wrap {
  border-color: rgba(255,255,255,0.35) !important;
  background: rgba(255,255,255,0.08) !important;
}
.service-card:hover .card-icon-wrap svg { color: #ffffff !important; }
.service-card:hover .card-sweep { background: #ffffff !important; }

/* ── LOGO MARE ── */
.logo img { height: 55px !important; }

/* ── INTERUTILAJE BADGE IN CONTACT STRIP ── */
.interutilaje-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.14em;
  color: var(--lime);
  text-decoration: none;
  border: 1px solid rgba(199,207,0,0.35);
  padding: 3px 9px;
  transition: background 0.2s, color 0.2s;
}
.interutilaje-badge:hover { background: var(--lime); color: #021520; }

/* ── HERO CAPABILITIES TAGS ── */
.hero-caps {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
  animation: fadeUp 0.8s 0.5s ease both;
}
.hero-cap {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(199,207,0,0.65);
  border: 1px solid rgba(199,207,0,0.18);
  padding: 5px 12px;
}

/* ── NAV LINKS – culori fixe pe topbar intunecat ── */
.main-nav > li > a {
  color: rgba(255,255,255,0.72) !important;
  font-size: clamp(0.6rem, 0.1vw + 0.58rem, 0.7rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap !important;
  padding: 8px 10px !important;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--lime) !important;
  border-color: var(--lime) !important;
}
/* Pastreaza link-ul parinte aprins cat e dropdown-ul deschis */
.has-dropdown:hover > a {
  color: var(--lime) !important;
  border-color: var(--lime) !important;
}

/* Language buttons: always visible (selected + unselected), responsive */
#btn-ro,
#btn-en {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px;
  padding: 4px 10px !important;
  font-size: clamp(0.68rem, 0.16vw + 0.62rem, 0.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
  border-width: 1px !important;
  border-style: solid !important;
  opacity: 1 !important;
}

body[data-theme='light'] #btn-ro,
body[data-theme='light'] #btn-en {
  color: rgba(37, 43, 48, 0.82) !important;
  border-color: rgba(37, 43, 48, 0.34) !important;
  background: transparent !important;
}

body:not([data-theme='light']) #btn-ro,
body:not([data-theme='light']) #btn-en {
  color: rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  background: transparent !important;
}

@media (max-width: 960px) {
  .main-nav > li > a {
    font-size: clamp(0.68rem, 1.8vw, 0.82rem) !important;
    letter-spacing: 0.09em !important;
    padding: 8px 9px !important;
  }

  #btn-ro,
  #btn-en {
    font-size: clamp(0.76rem, 2.2vw, 0.92rem) !important;
    padding: 5px 10px !important;
  }
}

/* ── DROPDOWN NAVIGATION ── */
.has-dropdown { position: relative; }
.has-dropdown > a { cursor: pointer; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 2px;
  left: 0;
  min-width: 230px;
  background: rgba(2,21,32,0.97);
  border: 1px solid rgba(199,207,0,0.18);
  list-style: none;
  z-index: 200;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.has-dropdown:hover .nav-dropdown { display: block; }
.has-dropdown.dropdown-open > .nav-dropdown { display: block; }
.has-dropdown.dropdown-open > a {
  color: var(--lime) !important;
  border-color: var(--lime) !important;
}
.nav-dropdown li a {
  display: block;
  padding: 11px 16px;
  font-family: 'Space Mono', monospace;
  font-size: 0.57rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-dropdown li a:hover {
  color: var(--lime);
  border-left-color: var(--lime);
  background: rgba(199,207,0,0.05);
}
.nav-arrow { font-size: 0.45rem; opacity: 0.7; }

/* ══════════════════════════════════════════
   BRANDS TICKER STRIP
══════════════════════════════════════════ */

/* Egalizare spatiu sus/jos fata de sectiunile vecine */
.services { padding-bottom: 56px !important; }
.why      { padding-top:    56px !important; }

.brands-strip {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
  display: flex;
  align-items: center;
}

/* Eticheta stânga */
.brands-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  color: var(--lime);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 0 18px;
  opacity: 0.7;
  z-index: 2;
}

/* Fade edges */
.brands-strip::before,
.brands-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}
.brands-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}

/* Track scrollabil */
.brands-track-wrap {
  overflow: hidden;
  padding-left: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: brandsScroll 28s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }

@keyframes brandsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Fiecare brand */
.brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  position: relative;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
  /* container fix ca sa limitam logo-ul */
  height: 110px;
}
/* separator linie verticala */
.brand-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
/* Logo imagine – dimensiuni strict controlate */
.brand-item img {
  height: 78px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 78px !important;
  object-fit: contain;
  display: block;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.brand-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}
.brand-item:hover { transform: none; }

html,
body {
  max-width: 100%;
}

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
}

img,
video,
iframe {
  height: auto;
}
.hero-slide img {
  height: 100% !important;
}
.brand-item img {
  height: 78px !important;
}

iframe {
  width: 100%;
  border: 0;
  display: block;
}

.map-placeholder iframe {
  width: 100% !important;
  height: 100% !important;
}

.wrapper,
.topbar-inner,
.contact-strip-inner {
  width: min(100%, 1260px);
}

.page-hero,
.hero,
.hero-content,
.hero-card,
.page-hero-content {
  min-width: 0;
}

.page-hero h1,
.hero-title,
.split-title,
.section-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1200px) {
  .wrapper,
  .topbar-inner,
  .contact-strip-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 960px) {
  .birouri-grid,
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .wrapper,
  .topbar-inner,
  .contact-strip-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .orb {
    display: none !important;
  }

  body::before {
    opacity: 0.12 !important;
  }

  .topbar,
  .contact-strip {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .contact-strip-inner {
    gap: 14px !important;
    justify-content: flex-start !important;
  }

  .page-hero h1,
  .hero-title {
    font-size: clamp(2rem, 11vw, 3.1rem) !important;
    line-height: 0.98 !important;
  }

  .hero-img-wrap {
    height: clamp(220px, 52vw, 360px) !important;
  }

  .split-img,
  .subpage-card,
  .cat-card,
  .project-card {
    min-height: 220px !important;
  }

  .feat-grid,
  .split,
  .subpages,
  .cats-grid,
  .team-grid,
  .values-grid,
  .jobs-grid,
  .service-features,
  .contract-grid,
  .contact-layout,
  .form-row,
  .form-row-2,
  .stats-row,
  .footer-grid,
  .fg,
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .project-gallery-grid,
  .pc-gallery-grid,
  .cv-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .cta-inner {
    gap: 20px !important;
  }

  .cta-actions,
  .hero-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn {
    min-height: 46px;
  }

  .main-nav.open .has-dropdown {
    width: 100%;
  }

  .main-nav.open .has-dropdown > a {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav.open .has-dropdown > .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    margin-top: 6px;
    min-width: 0;
    width: 100%;
    background: rgba(2,21,32,0.85);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-nav.open .has-dropdown:not(.dropdown-open) > .nav-dropdown {
    display: none !important;
  }

  .main-nav.open .has-dropdown.dropdown-open > .nav-dropdown {
    display: block !important;
  }
}

@media (max-width: 640px) {
  .project-gallery-grid,
  .pc-gallery-grid,
  .cv-gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .cookie-banner {
    width: calc(100% - 20px) !important;
    right: 10px !important;
    left: 10px !important;
    bottom: calc(10px + var(--safe-bottom)) !important;
    max-width: none !important;
  }
}

/* ══════════════════════════════════════════
   HERO SLIDER – coloana dreapta, stanga rotunda
══════════════════════════════════════════ */

/* Hero grid: reduce slider column 460px → 360px */
.hero {
  grid-template-columns: 1fr 360px !important;
}

/* Aside wrapper */
.hero-slider-wrap {
  position: relative !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  margin-right: calc(-1 * max(0px, (100vw - 1260px) / 2 + 48px) + 24px) !important;
  align-self: stretch !important;
}

/* Inner slider umple aside-ul */
.hero-slider-wrap #heroSlider {
  position: absolute;
  inset: 0;
}

/* Slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Arrows */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 42px;
  height: 56px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hs-arrow:hover { background: rgba(0,51,102,0.7); }
.hs-prev { left: 18px; border-radius: 4px; }
.hs-next { right: 0; border-radius: 4px 0 0 4px; }

/* Dots */
.hs-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.hs-dot.active {
  background: #fff;
  transform: scale(1.35);
}


@media (max-width: 960px) {
  .hero-card.hero-slider-wrap {
    max-width: none !important;
    width: min(100%, 360px);
    min-height: clamp(280px, 66vw, 520px);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0.35cm;
    margin-bottom: 1cm;
    border-radius: 20px !important;
  }

  .hero-actions {
    margin-top: 0 !important;
  }
}

@media (max-width: 640px) {
  .hero-card.hero-slider-wrap {
    min-height: clamp(250px, 82vw, 420px);
    border-radius: 16px !important;
  }

  .hs-arrow {
    width: 38px;
    height: 50px;
    font-size: 1.8rem;
  }

  .hs-prev { left: 10px; }
}

/* Uniform footer across all pages */
.uniform-footer {
  position: relative;
  border-top: 1px solid rgba(199,207,0,.16);
  border-bottom: 1px solid rgba(199,207,0,.08);
  margin-top: 84px;
  padding-top: 58px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(2, 21, 32, 0.42)),
    radial-gradient(circle at 84% 0%, rgba(199,207,0,.08), transparent 50%);
}

.uniform-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.uniform-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.uniform-footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: .96;
}

.uniform-footer-desc {
  max-width: 330px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.uniform-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.uniform-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .94rem;
  line-height: 1.5;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s ease;
}

.uniform-footer-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 3px;
}

.uniform-footer-contact-item:hover {
  color: var(--lime);
}

.uniform-footer-col-title {
  font-family: 'Space Mono', monospace;
  font-size: .58rem;
  letter-spacing: .3em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.uniform-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uniform-footer-links li {
  margin: 0;
}

.uniform-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.06rem;
  line-height: 1.25;
  transition: color .25s ease;
}

.uniform-footer-links a::before {
  content: '->';
  margin-right: 8px;
  color: var(--lime);
}

.uniform-footer-links a:hover {
  color: var(--lime);
}

.uniform-footer-partner-wrap {
  margin-top: 24px;
}

.uniform-footer-partner-link {
  display: inline-block;
  opacity: .82;
  transition: opacity .25s ease;
}

.uniform-footer-partner-link:hover {
  opacity: 1;
}

.uniform-footer-bottom {
  border-top: 1px solid rgba(199,207,0,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.uniform-footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: .58rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.2);
}

.uniform-footer-copy a {
  color: var(--lime);
  text-decoration: none;
}

@media (max-width: 960px) {
  .uniform-footer {
    margin-top: 64px;
    padding-top: 44px;
  }

  .uniform-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 34px;
  }

  .uniform-footer-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .uniform-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .uniform-footer-links a {
    font-size: .98rem;
  }
}

/* Theme switcher and alternative color templates */
.theme-switcher {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 240;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 21, 32, 0.9);
  border: 1px solid rgba(199, 207, 0, 0.3);
  border-radius: 12px;
  padding: 8px 10px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.theme-switcher-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.theme-switcher-select {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7f9fc;
  background: rgba(2, 21, 32, 0.74);
  border: 1px solid rgba(199, 207, 0, 0.38);
  border-radius: 8px;
  padding: 6px 8px;
  min-width: 240px;
  outline: none;
}

.theme-switcher-select option {
  color: #f7f9fc;
  background: #10202e;
}

body[data-theme='gray'] {
  --bg: #3b424a;
  --bg2: #4d5560;
  --lime: #c7cf00;
  --white: #f5f8fb;
  --muted: rgba(245, 248, 251, 0.75);
  --border: rgba(210, 218, 226, 0.24);
}

body[data-theme='light'] {
  --bg: #f1f4f7;
  --bg2: #ffffff;
  --lime: #7f8a00;
  --white: #111a22;
  --muted: rgba(17, 26, 34, 0.72);
  --border: rgba(17, 26, 34, 0.18);
}

body[data-theme='industrial-cyan'] {
  --bg: #0f1720;
  --bg2: #1a2430;
  --lime: #00c2ff;
  --white: #eaf1f7;
  --muted: rgba(234, 241, 247, 0.74);
  --border: rgba(93, 126, 154, 0.28);
}

body[data-theme='arctic-light'] {
  --bg: #edf3f7;
  --bg2: #ffffff;
  --lime: #1282a2;
  --white: #102332;
  --muted: rgba(16, 35, 50, 0.68);
  --border: rgba(16, 35, 50, 0.18);
}

body[data-theme='graphite-orange'] {
  --bg: #16181d;
  --bg2: #22262d;
  --lime: #ff7a00;
  --white: #f4f6f8;
  --muted: rgba(244, 246, 248, 0.72);
  --border: rgba(180, 188, 198, 0.24);
}

body[data-theme='navy-mint'] {
  --bg: #0a1a2f;
  --bg2: #102743;
  --lime: #2dd4bf;
  --white: #eaf4ff;
  --muted: rgba(234, 244, 255, 0.7);
  --border: rgba(106, 136, 168, 0.28);
}

body[data-theme='steel-red'] {
  --bg: #1d1f24;
  --bg2: #2b2f36;
  --lime: #ff4d6d;
  --white: #f5f4f6;
  --muted: rgba(245, 244, 246, 0.72);
  --border: rgba(170, 177, 187, 0.24);
}

body[data-theme='sand-blue'] {
  --bg: #f6f1e9;
  --bg2: #ffffff;
  --lime: #2a9d8f;
  --white: #1d2a33;
  --muted: rgba(29, 42, 51, 0.7);
  --border: rgba(29, 42, 51, 0.18);
}

body[data-theme='forest-copper'] {
  --bg: #10221d;
  --bg2: #173229;
  --lime: #c77d3d;
  --white: #edf5f1;
  --muted: rgba(237, 245, 241, 0.74);
  --border: rgba(138, 164, 150, 0.24);
}

body[data-theme='slate-gold'] {
  --bg: #222831;
  --bg2: #2d3641;
  --lime: #d4a017;
  --white: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.72);
  --border: rgba(171, 184, 198, 0.22);
}

body[data-theme='ice-indigo'] {
  --bg: #eef2ff;
  --bg2: #ffffff;
  --lime: #4f46e5;
  --white: #1d2340;
  --muted: rgba(29, 35, 64, 0.7);
  --border: rgba(29, 35, 64, 0.2);
}

body[data-theme='mono-highcontrast'] {
  --bg: #0c0c0c;
  --bg2: #171717;
  --lime: #ffffff;
  --white: #fafafa;
  --muted: rgba(250, 250, 250, 0.76);
  --border: rgba(250, 250, 250, 0.22);
}

body[data-theme='light'] .topbar,
body[data-theme='light'] .contact-strip,
body[data-theme='arctic-light'] .topbar,
body[data-theme='arctic-light'] .contact-strip,
body[data-theme='sand-blue'] .topbar,
body[data-theme='sand-blue'] .contact-strip,
body[data-theme='ice-indigo'] .topbar,
body[data-theme='ice-indigo'] .contact-strip {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(17, 26, 34, 0.12) !important;
}

body[data-theme='light'] .main-nav > li > a,
body[data-theme='arctic-light'] .main-nav > li > a,
body[data-theme='sand-blue'] .main-nav > li > a,
body[data-theme='ice-indigo'] .main-nav > li > a {
  color: rgba(17, 26, 34, 0.72) !important;
}

body[data-theme='light'] .main-nav a:hover,
body[data-theme='light'] .main-nav a.active,
body[data-theme='light'] .has-dropdown:hover > a,
body[data-theme='light'] .has-dropdown.dropdown-open > a,
body[data-theme='arctic-light'] .main-nav a:hover,
body[data-theme='arctic-light'] .main-nav a.active,
body[data-theme='arctic-light'] .has-dropdown:hover > a,
body[data-theme='arctic-light'] .has-dropdown.dropdown-open > a,
body[data-theme='sand-blue'] .main-nav a:hover,
body[data-theme='sand-blue'] .main-nav a.active,
body[data-theme='sand-blue'] .has-dropdown:hover > a,
body[data-theme='sand-blue'] .has-dropdown.dropdown-open > a,
body[data-theme='ice-indigo'] .main-nav a:hover,
body[data-theme='ice-indigo'] .main-nav a.active,
body[data-theme='ice-indigo'] .has-dropdown:hover > a,
body[data-theme='ice-indigo'] .has-dropdown.dropdown-open > a {
  color: var(--lime) !important;
  border-color: var(--lime) !important;
}

body[data-theme='light'] .nav-dropdown,
body[data-theme='arctic-light'] .nav-dropdown,
body[data-theme='sand-blue'] .nav-dropdown,
body[data-theme='ice-indigo'] .nav-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 26, 34, 0.14);
}

body[data-theme='light'] .nav-dropdown li a,
body[data-theme='arctic-light'] .nav-dropdown li a,
body[data-theme='sand-blue'] .nav-dropdown li a,
body[data-theme='ice-indigo'] .nav-dropdown li a {
  color: rgba(17, 26, 34, 0.76);
}

body[data-theme='light'] .nav-dropdown li a:hover,
body[data-theme='arctic-light'] .nav-dropdown li a:hover,
body[data-theme='sand-blue'] .nav-dropdown li a:hover,
body[data-theme='ice-indigo'] .nav-dropdown li a:hover {
  background: rgba(199, 207, 0, 0.12);
  color: var(--lime);
  border-left-color: var(--lime);
}

body[data-theme='light'] .main-nav.open .has-dropdown > .nav-dropdown,
body[data-theme='arctic-light'] .main-nav.open .has-dropdown > .nav-dropdown,
body[data-theme='sand-blue'] .main-nav.open .has-dropdown > .nav-dropdown,
body[data-theme='ice-indigo'] .main-nav.open .has-dropdown > .nav-dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(17, 26, 34, 0.14) !important;
}

body[data-theme='light'] .uniform-footer,
body[data-theme='arctic-light'] .uniform-footer,
body[data-theme='sand-blue'] .uniform-footer,
body[data-theme='ice-indigo'] .uniform-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(233, 238, 243, 0.85)),
    radial-gradient(circle at 84% 0%, rgba(199, 207, 0, 0.12), transparent 52%);
  border-top-color: rgba(17, 26, 34, 0.14);
  border-bottom-color: rgba(17, 26, 34, 0.08);
}

body[data-theme='light'] .uniform-footer-copy,
body[data-theme='arctic-light'] .uniform-footer-copy,
body[data-theme='sand-blue'] .uniform-footer-copy,
body[data-theme='ice-indigo'] .uniform-footer-copy {
  color: rgba(17, 26, 34, 0.4);
}

body[data-theme='light'] .btn-primary,
body[data-theme='arctic-light'] .btn-primary,
body[data-theme='sand-blue'] .btn-primary,
body[data-theme='ice-indigo'] .btn-primary,
body[data-theme='stripe'] .theme-stripe-item[data-stripe-tone='light'] .btn-primary {
  color: #0f1a22 !important;
}

body[data-theme='light'] .btn-dark {
  background: #111a22 !important;
  color: var(--lime) !important;
}

body[data-theme='arctic-light'] .btn-dark,
body[data-theme='sand-blue'] .btn-dark,
body[data-theme='ice-indigo'] .btn-dark {
  background: #111a22 !important;
  color: var(--lime) !important;
}

body[data-theme='light'] .cta-band-title,
body[data-theme='arctic-light'] .cta-band-title,
body[data-theme='sand-blue'] .cta-band-title,
body[data-theme='ice-indigo'] .cta-band-title {
  color: #0f1a22 !important;
}

body[data-theme='light'] .cta-band [style*='color:var(--bg)'],
body[data-theme='arctic-light'] .cta-band [style*='color:var(--bg)'],
body[data-theme='sand-blue'] .cta-band [style*='color:var(--bg)'],
body[data-theme='ice-indigo'] .cta-band [style*='color:var(--bg)'] {
  color: #0f1a22 !important;
  border-color: #0f1a22 !important;
}

body[data-theme='light'] .theme-switcher,
body[data-theme='arctic-light'] .theme-switcher,
body[data-theme='sand-blue'] .theme-switcher,
body[data-theme='ice-indigo'] .theme-switcher {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(17, 26, 34, 0.2);
}

body[data-theme='light'] .theme-switcher-label,
body[data-theme='arctic-light'] .theme-switcher-label,
body[data-theme='sand-blue'] .theme-switcher-label,
body[data-theme='ice-indigo'] .theme-switcher-label {
  color: rgba(17, 26, 34, 0.84);
}

body[data-theme='light'] .theme-switcher-select,
body[data-theme='arctic-light'] .theme-switcher-select,
body[data-theme='sand-blue'] .theme-switcher-select,
body[data-theme='ice-indigo'] .theme-switcher-select {
  color: #111a22;
  background: #f8fafc;
  border-color: rgba(17, 26, 34, 0.26);
}

body[data-theme='light'] .theme-switcher-select option,
body[data-theme='arctic-light'] .theme-switcher-select option,
body[data-theme='sand-blue'] .theme-switcher-select option,
body[data-theme='ice-indigo'] .theme-switcher-select option {
  color: #111a22;
  background: #ffffff;
}

body[data-theme='stripe'] {
  --bg: #091119;
  --bg2: #101a24;
  --lime: #00c2ff;
  --white: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --border: rgba(245, 247, 251, 0.16);
}

body[data-theme='stripe'] .theme-stripe-item {
  transition: background-color 0.25s ease, color 0.25s ease;
}

body[data-theme='stripe'] .theme-stripe-item[data-stripe-tone='dark'] {
  --bg: #0a1119;
  --bg2: #111b26;
  --lime: #00c2ff;
  --white: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --border: rgba(245, 247, 251, 0.16);
  background: var(--bg) !important;
  color: var(--white) !important;
}

body[data-theme='stripe'] .theme-stripe-item[data-stripe-tone='light'] {
  --bg: #ffffff;
  --bg2: #f2f5f8;
  --lime: #00a6d8;
  --white: #111a22;
  --muted: rgba(17, 26, 34, 0.72);
  --border: rgba(17, 26, 34, 0.18);
  background: var(--bg) !important;
  color: var(--white) !important;
}

/* Modern full-page light theme polish */
body[data-theme='light'] {
  --bg: #f8f8f1;
  --bg2: #ffffff;
  --lime: #c7cf00;
  --white: #252b30;
  --muted: rgba(37, 43, 48, 0.78);
  --border: rgba(37, 43, 48, 0.16);
  --light-radius: 14px;
  --light-shadow: 0 10px 24px rgba(23, 28, 33, 0.07);
  --light-surface-grad:
    radial-gradient(42% 120% at 82% 48%, rgba(199, 207, 0, 0.2), rgba(199, 207, 0, 0) 68%),
    radial-gradient(36% 86% at 8% 0%, rgba(160, 165, 150, 0.14), rgba(160, 165, 150, 0) 72%),
    linear-gradient(180deg, #ffffff 0%, #f8f9f4 58%, #f2f3ec 100%);
  background:
    var(--light-surface-grad);
  color: var(--white);
}

body[data-theme='light']::before {
  opacity: 0.045 !important;
}

body[data-theme='light'] .grid-bg {
  background-image:
    linear-gradient(rgba(160, 165, 150, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 165, 150, 0.08) 1px, transparent 1px);
}

body[data-theme='light'] main > section,
body[data-theme='light'] .brands-strip,
body[data-theme='light'] .page-hero,
body[data-theme='light'] .projects-cats,
body[data-theme='light'] .uniform-footer,
body[data-theme='light'] footer {
  background: var(--light-surface-grad) !important;
}

body[data-theme='light'] .orb-1 {
  background: rgba(199, 207, 0, 0.1);
}

body[data-theme='light'] .orb-2 {
  background: rgba(199, 207, 0, 0.07);
}

body[data-theme='light'] .orb-3 {
  background: rgba(199, 207, 0, 0.05);
}

body[data-theme='light'] .topbar,
body[data-theme='light'] .contact-strip {
  background: var(--light-surface-grad) !important;
  border-color: rgba(37, 43, 48, 0.12) !important;
  box-shadow: 0 6px 18px rgba(23, 28, 33, 0.06);
}

body[data-theme='light'] .main-nav > li > a {
  color: rgba(37, 43, 48, 0.74) !important;
}

body[data-theme='light'] .main-nav a:hover,
body[data-theme='light'] .main-nav a.active,
body[data-theme='light'] .has-dropdown:hover > a,
body[data-theme='light'] .has-dropdown.dropdown-open > a {
  color: var(--lime) !important;
  border-color: var(--lime) !important;
}

body[data-theme='light'] .nav-dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(37, 43, 48, 0.14) !important;
  box-shadow: 0 12px 30px rgba(23, 28, 33, 0.12);
}

body[data-theme='light'] .nav-dropdown li a {
  color: rgba(37, 43, 48, 0.76) !important;
}

body[data-theme='light'] .nav-dropdown li a:hover {
  background: rgba(199, 207, 0, 0.1) !important;
  color: var(--lime) !important;
  border-left-color: var(--lime) !important;
}

body[data-theme='light'] .hero-title,
body[data-theme='light'] .page-hero-title,
body[data-theme='light'] .section-title,
body[data-theme='light'] .stitle,
body[data-theme='light'] .split-title,
body[data-theme='light'] .feat-title,
body[data-theme='light'] .sf-title,
body[data-theme='light'] .job-title,
body[data-theme='light'] .cat-title {
  color: var(--white) !important;
}

body[data-theme='light'] .hero-title-box {
  border-color: rgba(37, 43, 48, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 240, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 30px rgba(23, 28, 33, 0.08);
}

body[data-theme='light'] .hero-title-sub {
  color: var(--lime);
}

body[data-theme='light'] .hero-cap {
  color: rgba(37, 43, 48, 0.8);
  border-color: rgba(37, 43, 48, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme='light'] .interutilaje-badge {
  border-color: rgba(199, 207, 0, 0.34);
  color: var(--lime);
}

body[data-theme='light'] .hero-img-wrap img,
body[data-theme='light'] .split-img img {
  filter: brightness(0.9) saturate(1.02) !important;
}

body[data-theme='light'] .hero-img-overlay,
body[data-theme='light'] .split-img-overlay {
  background: linear-gradient(135deg, rgba(31, 36, 40, 0.26), rgba(255, 255, 255, 0.06)) !important;
}

body[data-theme='light'] .service-card,
body[data-theme='light'] .why-card,
body[data-theme='light'] .feat-card,
body[data-theme='light'] .sf-card,
body[data-theme='light'] .step-card,
body[data-theme='light'] .contract-card,
body[data-theme='light'] .team-card,
body[data-theme='light'] .value-card,
body[data-theme='light'] .job-card,
body[data-theme='light'] .perk-card,
body[data-theme='light'] .stat-box,
body[data-theme='light'] .split-content,
body[data-theme='light'] .contact-form,
body[data-theme='light'] .map-placeholder {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 245, 0.98)) !important;
  border: 1px solid rgba(37, 43, 48, 0.14) !important;
  box-shadow: var(--light-shadow);
  border-radius: var(--light-radius) !important;
}

body[data-theme='light'] .service-card:hover,
body[data-theme='light'] .why-card:hover,
body[data-theme='light'] .feat-card:hover,
body[data-theme='light'] .sf-card:hover,
body[data-theme='light'] .contract-card:hover,
body[data-theme='light'] .job-card:hover,
body[data-theme='light'] .perk-card:hover,
body[data-theme='light'] .team-card:hover,
body[data-theme='light'] .value-card:hover,
body[data-theme='light'] .stat-box:hover {
  background: linear-gradient(180deg, rgba(250, 252, 246, 0.98), rgba(244, 247, 238, 0.98)) !important;
  border-color: rgba(199, 207, 0, 0.36) !important;
}

body[data-theme='light'] .service-card .card-title,
body[data-theme='light'] .service-card .card-title a,
body[data-theme='light'] .why-title,
body[data-theme='light'] .split-title,
body[data-theme='light'] .feat-title,
body[data-theme='light'] .sf-title,
body[data-theme='light'] .job-title,
body[data-theme='light'] .subpage-title {
  color: var(--white);
}

body[data-theme='light'] .hero-desc,
body[data-theme='light'] .page-hero-desc,
body[data-theme='light'] .section-desc,
body[data-theme='light'] .card-text,
body[data-theme='light'] .why-text,
body[data-theme='light'] .split-text,
body[data-theme='light'] .split-list li,
body[data-theme='light'] .feat-text,
body[data-theme='light'] .sf-text,
body[data-theme='light'] .step-text,
body[data-theme='light'] .job-desc,
body[data-theme='light'] .job-meta-item,
body[data-theme='light'] .perk-text,
body[data-theme='light'] .footer-desc,
body[data-theme='light'] .footer-contact-item,
body[data-theme='light'] .footer-links a,
body[data-theme='light'] .fdesc,
body[data-theme='light'] .fct,
body[data-theme='light'] .fc,
body[data-theme='light'] .footer-copy,
body[data-theme='light'] .uniform-footer-desc,
body[data-theme='light'] .uniform-footer-contact-item,
body[data-theme='light'] .uniform-footer-links a,
body[data-theme='light'] .uniform-footer-copy,
body[data-theme='light'] .cookie-text,
body[data-theme='light'] .stat-box-label,
body[data-theme='light'] .subpage-cta {
  color: var(--muted) !important;
}

body[data-theme='light'] .subpage-tag,
body[data-theme='light'] .cat-index {
  color: rgba(199, 207, 0, 0.95) !important;
}

body[data-theme='light'] .fl a::before,
body[data-theme='light'] .footer-links a::before,
body[data-theme='light'] .uniform-footer-links a::before {
  color: rgba(199, 207, 0, 0.72) !important;
}

body[data-theme='light'] .divider {
  border-top-color: rgba(37, 43, 48, 0.14) !important;
}

body[data-theme='light'] .specs-table th {
  background: rgba(199, 207, 0, 0.12);
  border-bottom-color: rgba(37, 43, 48, 0.2);
}

body[data-theme='light'] .specs-table td {
  color: var(--white);
  border-bottom-color: rgba(37, 43, 48, 0.1);
}

body[data-theme='light'] .specs-table tr:hover td {
  background: rgba(199, 207, 0, 0.1);
  color: var(--white);
}

body[data-theme='light'] .btn-primary {
  background: var(--lime);
  color: #1f2b34 !important;
  border: 1px solid rgba(133, 141, 0, 0.28);
}

body[data-theme='light'] .btn-primary::before {
  background: rgba(255, 255, 255, 0.2);
}

body[data-theme='light'] .btn-primary:hover {
  color: #1f2b34 !important;
}

body[data-theme='light'] .btn-outline {
  color: rgba(37, 43, 48, 0.8);
  border-color: rgba(37, 43, 48, 0.24);
}

body[data-theme='light'] .btn-outline::before {
  background: rgba(199, 207, 0, 0.12);
}

body[data-theme='light'] .btn-outline:hover {
  color: var(--lime);
  border-color: var(--lime);
}

body[data-theme='light'] .btn-dark,
body[data-theme='light'] .cta-band .btn {
  background: #222a31 !important;
  color: #ffffff !important;
  border: 1px solid rgba(34, 42, 49, 0.2);
}

body[data-theme='light'] .btn-dark::before,
body[data-theme='light'] .cta-band .btn::before {
  background: rgba(255, 255, 255, 0.12);
}

body[data-theme='light'] .btn-dark:hover,
body[data-theme='light'] .cta-band .btn:hover {
  color: #ffffff !important;
}

body[data-theme='light'] .cta-band {
  background: var(--light-surface-grad) !important;
}

body[data-theme='light'] .cta-band::before {
  background-image:
    linear-gradient(rgba(37, 43, 48, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 43, 48, 0.07) 1px, transparent 1px);
}

body[data-theme='light'] .cta-band-title {
  color: #222a31 !important;
}

body[data-theme='light'] .cta-band-sub {
  color: rgba(34, 42, 49, 0.76) !important;
}

body[data-theme='light'] label {
  color: rgba(37, 43, 48, 0.75) !important;
}

body[data-theme='light'] input,
body[data-theme='light'] textarea,
body[data-theme='light'] select {
  background: #ffffff !important;
  border-color: rgba(37, 43, 48, 0.22) !important;
  color: #252b30 !important;
}

body[data-theme='light'] input::placeholder,
body[data-theme='light'] textarea::placeholder {
  color: rgba(37, 43, 48, 0.5) !important;
}

body[data-theme='light'] input:focus,
body[data-theme='light'] textarea:focus,
body[data-theme='light'] select:focus {
  border-color: var(--lime) !important;
  background: #f8fcff !important;
}

body[data-theme='light'] select option {
  background: #ffffff !important;
  color: #252b30 !important;
}

body[data-theme='light'] .cookie-banner {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(37, 43, 48, 0.16) !important;
  box-shadow: 0 14px 36px rgba(23, 28, 33, 0.12);
}

body[data-theme='light'] .cookie-decline {
  border-color: rgba(37, 43, 48, 0.24) !important;
  color: rgba(37, 43, 48, 0.8) !important;
}

body[data-theme='light'] .cookie-accept {
  color: #1f2b34 !important;
}

body[data-theme='light'] footer,
body[data-theme='light'] .uniform-footer {
  background: var(--light-surface-grad) !important;
  border-top-color: rgba(37, 43, 48, 0.16) !important;
  border-bottom-color: rgba(37, 43, 48, 0.08) !important;
}

body[data-theme='light'] .btn,
body[data-theme='light'] .main-nav a,
body[data-theme='light'] .nav-dropdown li a,
body[data-theme='light'] .service-card,
body[data-theme='light'] .why-card,
body[data-theme='light'] .feat-card,
body[data-theme='light'] .sf-card,
body[data-theme='light'] .step-card,
body[data-theme='light'] .contract-card,
body[data-theme='light'] .job-card,
body[data-theme='light'] .perk-card,
body[data-theme='light'] .team-card,
body[data-theme='light'] .value-card,
body[data-theme='light'] .stat-box {
  transition-duration: 0.16s !important;
  transition-timing-function: ease-out !important;
}

body[data-theme='light'] .btn {
  border-radius: 12px;
  padding: 14px 30px;
  letter-spacing: 0.13em;
}

body[data-theme='light'] .btn-outline {
  background: rgba(255, 255, 255, 0.82);
}

body[data-theme='light'] .services,
body[data-theme='light'] .why,
body[data-theme='light'] .projects-cats,
body[data-theme='light'] .page-hero,
body[data-theme='light'] .service-features,
body[data-theme='light'] .process-steps,
body[data-theme='light'] .contract-grid {
  padding-top: clamp(56px, 6.2vw, 86px) !important;
  padding-bottom: clamp(56px, 6.2vw, 86px) !important;
}

body[data-theme='light'] .section-label,
body[data-theme='light'] .slabel,
body[data-theme='light'] .page-hero-badge,
body[data-theme='light'] .hero-badge {
  color: rgba(199, 207, 0, 0.8) !important;
}

body[data-theme='light'] .section-label::before,
body[data-theme='light'] .slabel::before,
body[data-theme='light'] .page-hero-badge::before,
body[data-theme='light'] .hero-badge::before {
  background: rgba(199, 207, 0, 0.78) !important;
}

body[data-theme='light'] .cat-card,
body[data-theme='light'] .subpage-card,
body[data-theme='light'] .gallery-item,
body[data-theme='light'] .hero-card {
  border-radius: var(--light-radius);
  overflow: hidden;
}

body[data-theme='light'] .cat-card::after,
body[data-theme='light'] .subpage-overlay {
  background: linear-gradient(180deg, rgba(31, 36, 40, 0.2) 0%, rgba(31, 36, 40, 0.72) 72%) !important;
}

body[data-theme='light'] .hero-img-wrap img,
body[data-theme='light'] .split-img img,
body[data-theme='light'] .subpage-card img,
body[data-theme='light'] .gallery-item img,
body[data-theme='light'] .hero-slide img {
  filter: saturate(0.88) brightness(0.9) !important;
}

body[data-theme='light'] .uniform-footer-col-title,
body[data-theme='light'] .footer-col-title,
body[data-theme='light'] .fhl {
  color: rgba(37, 43, 48, 0.52) !important;
}

body[data-theme='light'] .uniform-footer-links a::before,
body[data-theme='light'] .footer-links a::before,
body[data-theme='light'] .fl a::before {
  opacity: 0.75;
}

body[data-theme='light'] a:focus-visible,
body[data-theme='light'] button:focus-visible,
body[data-theme='light'] input:focus-visible,
body[data-theme='light'] textarea:focus-visible,
body[data-theme='light'] select:focus-visible {
  outline: 2px solid #8e9700;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  body[data-theme='light'] {
    --muted: rgba(37, 43, 48, 0.84);
    --light-surface-grad: #ffffff;
  }

  body[data-theme='light'] .orb,
  body[data-theme='light'] .orb-1,
  body[data-theme='light'] .orb-2,
  body[data-theme='light'] .orb-3 {
    display: none !important;
  }

  body[data-theme='light'] .grid-bg {
    background-image:
      linear-gradient(rgba(160, 165, 150, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(160, 165, 150, 0.05) 1px, transparent 1px);
  }

  body[data-theme='light'] .services,
  body[data-theme='light'] .why,
  body[data-theme='light'] .projects-cats,
  body[data-theme='light'] .page-hero,
  body[data-theme='light'] .service-features,
  body[data-theme='light'] .process-steps,
  body[data-theme='light'] .contract-grid {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  body[data-theme='light'] .service-card,
  body[data-theme='light'] .why-card,
  body[data-theme='light'] .feat-card,
  body[data-theme='light'] .sf-card,
  body[data-theme='light'] .step-card,
  body[data-theme='light'] .contract-card,
  body[data-theme='light'] .job-card,
  body[data-theme='light'] .perk-card,
  body[data-theme='light'] .team-card,
  body[data-theme='light'] .value-card,
  body[data-theme='light'] .stat-box,
  body[data-theme='light'] .split-content,
  body[data-theme='light'] .contact-form {
    box-shadow: 0 7px 16px rgba(23, 28, 33, 0.05);
  }
}

/* Light Premium v2 refinements */
body[data-theme='light'] {
  --lt-text-1: #252b30;
  --lt-text-2: rgba(37, 43, 48, 0.8);
  --lt-text-3: rgba(37, 43, 48, 0.64);
  --lt-accent: #c7cf00;
  --lt-accent-strong: #8e9700;
  --lt-surface-0: #ffffff;
  --lt-surface-1: #f8f9f3;
  --lt-surface-2: #f2f3ea;
  --lt-shadow-sm: 0 6px 16px rgba(23, 28, 33, 0.05);
  --lt-shadow-md: 0 10px 26px rgba(23, 28, 33, 0.08);
  --lt-radius-sm: 10px;
  --lt-radius-md: 14px;
  --lt-radius-lg: 20px;
}

body[data-theme='light'] h1,
body[data-theme='light'] h2,
body[data-theme='light'] h3,
body[data-theme='light'] h4,
body[data-theme='light'] .hero-title,
body[data-theme='light'] .page-hero-title,
body[data-theme='light'] .section-title,
body[data-theme='light'] .stitle {
  letter-spacing: 0.015em;
  line-height: 0.98;
}

body[data-theme='light'] p,
body[data-theme='light'] li,
body[data-theme='light'] .hero-desc,
body[data-theme='light'] .page-hero-desc,
body[data-theme='light'] .section-desc {
  line-height: 1.74;
  color: var(--lt-text-2);
}

body[data-theme='light'] .hero-desc,
body[data-theme='light'] .page-hero-desc,
body[data-theme='light'] .section-desc {
  max-width: 64ch !important;
}

body[data-theme='light'] .contact-item svg,
body[data-theme='light'] .card-icon-wrap svg,
body[data-theme='light'] .feat-icon svg,
body[data-theme='light'] .sf-icon svg,
body[data-theme='light'] .uniform-footer-contact-item svg,
body[data-theme='light'] .footer-contact-item svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-theme='light'] main > section:nth-of-type(odd) {
  background: #ffffff !important;
}

body[data-theme='light'] main > section:nth-of-type(even),
body[data-theme='light'] .brands-strip {
  background: #ffffff !important;
}

body[data-theme='light'] .service-card,
body[data-theme='light'] .why-card,
body[data-theme='light'] .feat-card,
body[data-theme='light'] .sf-card,
body[data-theme='light'] .step-card,
body[data-theme='light'] .contract-card,
body[data-theme='light'] .team-card,
body[data-theme='light'] .value-card,
body[data-theme='light'] .job-card,
body[data-theme='light'] .perk-card,
body[data-theme='light'] .stat-box {
  transform: translateY(0);
}

body[data-theme='light'] .service-card:hover,
body[data-theme='light'] .why-card:hover,
body[data-theme='light'] .feat-card:hover,
body[data-theme='light'] .sf-card:hover,
body[data-theme='light'] .step-card:hover,
body[data-theme='light'] .contract-card:hover,
body[data-theme='light'] .team-card:hover,
body[data-theme='light'] .value-card:hover,
body[data-theme='light'] .job-card:hover,
body[data-theme='light'] .perk-card:hover,
body[data-theme='light'] .stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--lt-shadow-md);
}

body[data-theme='light'] .cat-card,
body[data-theme='light'] .subpage-card,
body[data-theme='light'] .gallery-item,
body[data-theme='light'] .hero-card,
body[data-theme='light'] .hero-slider-wrap {
  border-radius: var(--lt-radius-lg) !important;
}

body[data-theme='light'] .main-nav > li > a,
body[data-theme='light'] .uniform-footer-links a,
body[data-theme='light'] .footer-links a,
body[data-theme='light'] .fl a {
  position: relative;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: color 0.16s ease-out, background-size 0.16s ease-out;
}

body[data-theme='light'] .main-nav > li > a:hover,
body[data-theme='light'] .uniform-footer-links a:hover,
body[data-theme='light'] .footer-links a:hover,
body[data-theme='light'] .fl a:hover {
  background-size: 100% 1px;
}

body[data-theme='light'] .hero-actions .btn-primary {
  box-shadow: 0 10px 22px rgba(158, 168, 0, 0.26);
}

body[data-theme='light'] .hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.86);
}

body[data-theme='light'] .cta-band .btn-dark,
body[data-theme='light'] .cta-band .btn {
  box-shadow: var(--lt-shadow-sm);
}

body[data-theme='light'] .brands-strip {
  border-top-color: rgba(37, 43, 48, 0.14);
  border-bottom-color: rgba(37, 43, 48, 0.14);
}

body[data-theme='light'] .brand-item img {
  filter: grayscale(0.6) saturate(0.75) opacity(0.62);
}

body[data-theme='light'] .brand-item:hover img {
  filter: grayscale(0) saturate(1) opacity(0.98);
}

body[data-theme='light'] .stat-box-val {
  color: var(--lt-accent-strong) !important;
}

body[data-theme='light'] .stat-box {
  border-top: 2px solid rgba(199, 207, 0, 0.28) !important;
}

body[data-theme='light'] .section-label,
body[data-theme='light'] .slabel,
body[data-theme='light'] .page-hero-badge,
body[data-theme='light'] .hero-badge {
  color: rgba(142, 151, 0, 0.88) !important;
}

@media (min-width: 1180px) {
  body[data-theme='light'] .services-header,
  body[data-theme='light'] .domains-header {
    grid-template-columns: 1.15fr 0.85fr !important;
  }

  body[data-theme='light'] .contact-layout {
    grid-template-columns: 1.05fr 1.25fr !important;
  }

  body[data-theme='light'] .cta-band-inner > div:first-child {
    max-width: 58%;
  }
}

/* Improve rendering/performance for long light pages */
body[data-theme='light'] .services,
body[data-theme='light'] .why,
body[data-theme='light'] .projects-cats,
body[data-theme='light'] .domains,
body[data-theme='light'] .service-features,
body[data-theme='light'] .process-steps,
body[data-theme='light'] .contract-grid {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

body[data-theme='light'] .page-hero,
body[data-theme='light'] .cta-band,
body[data-theme='light'] .topbar,
body[data-theme='light'] .contact-strip {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

@media (max-width: 640px) {
  body[data-theme='light'] {
    --lt-shadow-md: 0 7px 14px rgba(23, 28, 33, 0.06);
  }

  body[data-theme='light'] .main-nav > li > a,
  body[data-theme='light'] .uniform-footer-links a,
  body[data-theme='light'] .footer-links a,
  body[data-theme='light'] .fl a {
    background-size: 0 0;
  }
}

/* Light: pure white background end-to-end (header/body/footer) */
body[data-theme='light'] {
  --bg: #ffffff;
  --bg2: #ffffff;
  --light-surface-grad: #ffffff;
  background: #ffffff !important;
}

body[data-theme='light']::before {
  opacity: 0 !important;
}

body[data-theme='light'] .grid-bg {
  background: none !important;
  background-image: none !important;
}

body[data-theme='light'] .orb,
body[data-theme='light'] .orb-1,
body[data-theme='light'] .orb-2,
body[data-theme='light'] .orb-3 {
  display: none !important;
}

/* Unified card framing for dark hero slider + CTA container */
body:not([data-theme='light']) .hero-slider-wrap {
  border-radius: 20px !important;
  border: 1px solid rgba(148, 156, 165, 0.34) !important;
  background: rgba(6, 16, 24, 0.62) !important;
  margin-right: calc(-1 * max(0px, (100vw - 1260px) / 2 + 48px) + 24px) !important;
  overflow: hidden !important;
}

body:not([data-theme='light']) .hero-slider-wrap::before,
body:not([data-theme='light']) .hero-slider-wrap::after {
  display: none !important;
}

body:not([data-theme='light']) .hero-slider-wrap #heroSlider {
  position: absolute !important;
  inset: 0 !important;
  min-height: unset !important;
}

body:not([data-theme='light']) .hero-slide img {
  filter: saturate(0.9) brightness(0.88) !important;
}

.cta-band .cta-band-inner {
  border: 1px solid rgba(152, 159, 167, 0.34);
  border-radius: 18px;
  padding: clamp(22px, 3.4vw, 42px);
}

body[data-theme='light'] .cta-band .cta-band-inner {
  border-color: rgba(127, 135, 143, 0.44) !important;
  background: rgba(255, 255, 255, 0.82);
}

body:not([data-theme='light']) .cta-band .cta-band-inner {
  border-color: rgba(152, 159, 167, 0.34);
  background: transparent !important;
}

@media (max-width: 960px) {
  body:not([data-theme='light']) .hero-card.hero-slider-wrap {
    border-radius: 18px !important;
    min-height: clamp(260px, 64vw, 500px);
  }
}

@media (max-width: 640px) {
  body:not([data-theme='light']) .hero-card.hero-slider-wrap {
    border-radius: 14px !important;
    min-height: clamp(230px, 78vw, 420px);
  }
}

body[data-theme='light'] .topbar,
body[data-theme='light'] .contact-strip,
body[data-theme='light'] main,
body[data-theme='light'] main > section,
body[data-theme='light'] .brands-strip,
body[data-theme='light'] .page-hero,
body[data-theme='light'] .projects-cats,
body[data-theme='light'] .services,
body[data-theme='light'] .why,
body[data-theme='light'] .domains,
body[data-theme='light'] .cta-band,
body[data-theme='light'] footer,
body[data-theme='light'] .uniform-footer {
  background: #ffffff !important;
}

body[data-theme='light'] .cta-band::before {
  background-image: none !important;
}

@media (max-width: 640px) {
  .theme-switcher {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px;
    justify-content: space-between;
  }

  .theme-switcher-select {
    min-width: 0;
    flex: 1 1 auto;
  }
}

/* Hard override: light background must remain pure white everywhere */
body[data-theme='light'],
body[data-theme='light'] main,
body[data-theme='light'] footer,
body[data-theme='light'] .uniform-footer,
body[data-theme='light'] .topbar,
body[data-theme='light'] .contact-strip,
body[data-theme='light'] .brands-strip,
body[data-theme='light'] .cta-band,
body[data-theme='light'] .page-hero,
body[data-theme='light'] .services,
body[data-theme='light'] .why,
body[data-theme='light'] .domains,
body[data-theme='light'] .projects-cats,
body[data-theme='light'] main > section {
  background: #ffffff !important;
}

body[data-theme='light']::before,
body[data-theme='light'] .grid-bg,
body[data-theme='light'] .grid-bg::before,
body[data-theme='light'] .grid-bg::after {
  background: none !important;
  background-image: none !important;
}

body[data-theme='light'] .orb,
body[data-theme='light'] .orb-1,
body[data-theme='light'] .orb-2,
body[data-theme='light'] .orb-3 {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── FEAT-CARD AS ANCHOR LINK ── */
a.feat-card {
  color: inherit;
  text-decoration: none;
}
.feat-cta {
  font-family: 'Space Mono', monospace;
  font-size: .56rem;
  letter-spacing: .2em;
  color: rgba(199, 207, 0, .5);
  margin-top: auto;
  padding-top: 14px;
  transition: color .28s, letter-spacing .28s;
}
a.feat-card:hover .feat-cta {
  color: #C7CF00;
  letter-spacing: .3em;
}

/* ══════════════════════════════════════════
   FIXES SUPLIMENTARE
══════════════════════════════════════════ */

/* Grid bg – ascunde pe tema light (liniile apar mai pronuntat pe fond deschis) */
body[data-theme='light'] .grid-bg,
body[data-theme='arctic-light'] .grid-bg,
body[data-theme='sand-blue'] .grid-bg,
body[data-theme='ice-indigo'] .grid-bg {
  display: none;
}

/* Nav toggle – mai la dreapta */
.nav-toggle {
  margin-left: auto;
}

/* Hero gap redus pentru centrare mai buna */
@media (min-width: 961px) {
  .hero {
    gap: 48px !important;
  }
}
