: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: #c7cf00 !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: 1px !important; /* keep image inside border */
  z-index: 0 !important;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
}
/* 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; }

/* Hard guard: card image must stay clipped inside card bounds */
.service-card {
  overflow: hidden !important;
}
.service-card > .card-bg-img {
  z-index: 0 !important;
}

/* 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; }

/* ── MOBILE: imagini de fundal vizibile permanent (fara hover) ── */
@media (max-width: 960px) {
  .card-bg-img { opacity: 1; }
  .service-card .card-title,
  .service-card .card-title a { color: #ffffff !important; }
  .service-card .card-text     { color: rgba(255,255,255,0.82) !important; }
  .service-card .card-num      { color: rgba(255,255,255,0.45) !important; }
  .service-card .card-cta      { color: rgba(255,255,255,0.72) !important; }
  .service-card .card-icon-wrap {
    border-color: rgba(255,255,255,0.35) !important;
    background: rgba(255,255,255,0.08) !important;
  }
  .service-card .card-icon-wrap svg { color: #ffffff !important; }
}

/* ── GLOBAL HEADER BASE – aplicat pe TOATE paginile ── */
.topbar {
  background: rgba(2,21,32,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(199,207,0,0.1);
  position: sticky; top: 0; z-index: 100;
  animation: fadeDown 0.6s ease both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; max-width: 1260px; margin: 0 auto;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.main-nav {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.main-nav a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.main-nav a svg { width: 13px; height: 13px; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--lime); transition: 0.3s;
}
.contact-strip {
  background: rgba(199,207,0,0.05);
  border-bottom: 1px solid var(--border);
}
.contact-strip-inner {
  display: flex; align-items: center; justify-content: flex-end; gap: 36px;
  max-width: 1260px; margin: 0 auto; padding: 8px 48px; flex-wrap: wrap;
}
.contact-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.12em;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s;
}
.contact-item:hover { color: var(--lime); }
.contact-item svg {
  width: 12px; height: 12px;
  color: var(--lime); flex-shrink: 0;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-social-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-social-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.contact-social-btn:hover {
  color: var(--lime);
  border-color: rgba(199, 207, 0, 0.48);
  background: rgba(199, 207, 0, 0.1);
  transform: translateY(-1px);
}

/* ── 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 {
  position: absolute;
  top: 100%;
  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);
  /* Smooth show/hide — no flicker on gap traversal */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  /* Extra space above (visual padding) — covered by ::before bridge */
  padding-top: 6px;
}
/* Invisible bridge that covers the gap between nav link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown.dropdown-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.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;
  }

  /* Reset hero to single column – overrides base .hero{grid-template-columns:1fr 360px} */
  .hero {
    grid-template-columns: 1fr !important;
    padding: 64px 0 48px !important;
    gap: 28px !important;
    min-height: auto !important;
  }

  /* Move slider to top on mobile (desktop: slider left via grid-areas) */
  .hero .hero-slider-wrap,
  .hero .hero-card.hero-slider-wrap {
    order: -1 !important;
  }

  .hero .hero-content {
    order: 0 !important;
  }

  /* Reduce hero-actions top margin on mobile */
  .hero-actions {
    margin-top: 28px !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;
  }

  .hero-content > .hero-slider-wrap {
    margin-top: 12px !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;
  }

  .topbar-inner { height: auto; flex-wrap: wrap; padding: 14px 16px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg, #021520); padding: 16px 24px;
    border-bottom: 1px solid var(--border, rgba(199,207,0,0.14));
    z-index: 99;
  }

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

  .main-nav.open .has-dropdown > a {
    width: 100%;
    justify-content: center;
    position: relative;
  }
  .main-nav.open .has-dropdown > a .nav-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .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;
    padding-top: 0;
    transform: none !important;
    transition: none !important;
  }

  .main-nav.open .has-dropdown > .nav-dropdown::before {
    display: none;
  }

  .main-nav.open .has-dropdown:not(.dropdown-open) > .nav-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
  }

  .main-nav.open .has-dropdown.dropdown-open > .nav-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    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: 2-col layout only on desktop */
@media (min-width: 961px) {
  .hero {
    grid-template-columns: 1fr 360px !important;
  }
}

/* Aside wrapper – desktop: bleeds to viewport edge, rounded left */
.hero-slider-wrap {
  position: relative !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  align-self: stretch !important;
}

@media (min-width: 961px) {
  .hero-slider-wrap {
    margin-right: calc(-1 * max(0px, (100vw - 1260px) / 2 + 48px) + 24px) !important;
  }
}

@media (max-width: 960px) {
  .hero-slider-wrap {
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-radius: 16px !important;
    align-self: auto !important;
    width: 100% !important;
    min-height: clamp(240px, 60vw, 400px) !important;
  }
}

@media (max-width: 640px) {
  .hero-slider-wrap {
    border-radius: 12px !important;
    min-height: clamp(200px, 58vw, 300px) !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: 640px) {
  .hs-arrow {
    width: 36px;
    height: 46px;
    font-size: 1.6rem;
  }

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

/* 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-bottom-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  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;
}

.uniform-footer-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(199,207,0,.35);
  color: var(--lime);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: .52rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.uniform-footer-admin-btn:hover {
  background: rgba(199,207,0,.12);
  border-color: rgba(199,207,0,.55);
  color: var(--lime);
}

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

body[data-theme='light'] .uniform-footer-admin-btn:hover,
body[data-theme='arctic-light'] .uniform-footer-admin-btn:hover,
body[data-theme='sand-blue'] .uniform-footer-admin-btn:hover,
body[data-theme='ice-indigo'] .uniform-footer-admin-btn:hover {
  background: rgba(17,26,34,.08);
  color: #111a22;
}

@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 — Orbital 2026
   ═══════════════════════════════════════════════════════ */
.theme-switcher {
  --tw: 58px;
  --th: 28px;
  --tp: 3px;
  --ts: calc(var(--th) - var(--tp) * 2);
  --tx: calc(var(--tw) - var(--ts) - var(--tp) * 2);
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 240;
  background: transparent;
  animation: ifgThemeSwitcherIn 0.42s ease-out;
}

/* ── Button shell ── */
.theme-toggle {
  width: var(--tw);
  height: var(--th);
  padding: 0;
  border: 0;
  background: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* ── Track ── */
.theme-toggle-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  transition: background 0.48s ease, border-color 0.48s ease, box-shadow 0.48s ease;
}

/* ── Stars (dark mode starfield inside track) ── */
.tt-stars {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity 0.48s ease;
}
.tt-stars::before {
  content: '';
  position: absolute;
  top: 4px; left: 5px;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow:
    9px  3px 0 0.5px rgba(255,255,255,0.65),
    16px 2px 0 0.5px rgba(255,255,255,0.85),
    20px 8px 0 1px   rgba(199,207,0,0.75),
    4px  14px 0 0.5px rgba(255,255,255,0.55),
    13px 17px 0 0.5px rgba(255,255,255,0.4);
  animation: ttStarTwinkle 3.6s ease-in-out infinite;
}
.tt-stars::after {
  content: '';
  position: absolute;
  top: 11px; left: 9px;
  width: 1.5px; height: 1.5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  box-shadow:
    8px  -3px 0 0.5px rgba(255,255,255,0.5),
    17px  4px 0 0.5px rgba(199,207,0,0.55);
  animation: ttStarTwinkle 2.9s 0.8s ease-in-out infinite;
}
@keyframes ttStarTwinkle {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Thumb ── */
.theme-toggle-thumb {
  position: absolute;
  top: var(--tp);
  left: var(--tp);
  width: var(--ts);
  height: var(--ts);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateX(var(--tx));
  transition:
    transform 0.44s cubic-bezier(0.68, -0.12, 0.32, 1.22),
    background 0.44s ease,
    box-shadow 0.44s ease;
  z-index: 2;
  overflow: visible;
}

/* ── SVG icons ── */
.tt-icon {
  position: absolute;
  width: 12px; height: 12px;
  transition: opacity 0.32s ease, scale 0.44s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tt-moon {
  opacity: 1;
  scale: 1;
  fill: currentColor;
  filter: drop-shadow(0 0 2px rgba(199,207,0,0.5));
}
.tt-sun {
  opacity: 0;
  scale: 0.35;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}

/* ── Burst ring on click ── */
.tt-burst {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
  scale: 1;
  pointer-events: none;
}

/* ═══ DARK MODE (default) ═══ */
.theme-switcher:not([data-theme-state='light']) .theme-toggle-track {
  background: linear-gradient(140deg, #031824 0%, #091c2a 55%, #030f1a 100%);
  border: 1px solid rgba(199, 207, 0, 0.55);
  box-shadow:
    0 0 16px rgba(199, 207, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.theme-switcher:not([data-theme-state='light']) .theme-toggle-thumb {
  background: radial-gradient(circle at 36% 33%, #dde200, #c7cf00 52%, #a5ae00);
  color: #0b151d;
  animation: ttMoonGlow 3.4s ease-in-out infinite;
}
.theme-switcher:not([data-theme-state='light']) .tt-stars { opacity: 1; }
.theme-switcher:not([data-theme-state='light']) .tt-moon  { opacity: 1; scale: 1; }
.theme-switcher:not([data-theme-state='light']) .tt-sun   { opacity: 0; scale: 0.3; }

/* ═══ LIGHT MODE ═══ */
.theme-switcher[data-theme-state='light'] { --tx: 0px; }

.theme-switcher[data-theme-state='light'] .theme-toggle-track {
  background: linear-gradient(140deg, #fffdf0 0%, #fff8d6 55%, #ffedb8 100%);
  border: 1px solid rgba(160, 132, 0, 0.48);
  box-shadow:
    0 0 16px rgba(255, 195, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.theme-switcher[data-theme-state='light'] .theme-toggle-thumb {
  background: radial-gradient(circle at 38% 33%, #1e2d3d, #111a22 58%, #0c1520);
  color: #f0be30;
  animation: ttSunGlow 3.4s ease-in-out infinite;
}
.theme-switcher[data-theme-state='light'] .tt-stars { opacity: 0; }
.theme-switcher[data-theme-state='light'] .tt-moon  { opacity: 0; scale: 0.3; }
.theme-switcher[data-theme-state='light'] .tt-sun   {
  opacity: 1;
  scale: 1;
  animation: ttSunSpin 10s linear infinite;
}

/* ═══ KEYFRAMES ═══ */
@keyframes ttMoonGlow {
  0%, 100% { box-shadow: 0 2px 6px rgba(199,207,0,0.5),  0 0 0 0   rgba(199,207,0,0); }
  50%       { box-shadow: 0 2px 10px rgba(199,207,0,0.75), 0 0 0 3px rgba(199,207,0,0.13); }
}
@keyframes ttSunGlow {
  0%, 100% { box-shadow: 0 2px 6px rgba(0,0,0,0.42),  0 0 0 0   rgba(240,190,48,0); }
  50%       { box-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 0 0 3px rgba(240,190,48,0.2); }
}
@keyframes ttSunSpin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

/* ── Burst ring animation (JS triggers .tt-switching) ── */
.theme-toggle.tt-switching .tt-burst {
  animation: ttBurstRing 0.6s cubic-bezier(0.2, 0, 0.7, 1) forwards;
}
@keyframes ttBurstRing {
  0%   { opacity: 0.9; scale: 1;   }
  100% { opacity: 0;   scale: 2.6; }
}

/* ── Hover ── */
.theme-toggle:hover .theme-toggle-track {
  filter: brightness(1.09);
  transition-duration: 0.15s;
}
/* ── Active press ── */
.theme-toggle:active .theme-toggle-thumb {
  transform: translateX(var(--tx)) scale(0.88);
}
/* ── Focus ring ── */
.theme-toggle:focus-visible { outline: none; }
.theme-toggle:focus-visible .theme-toggle-track {
  outline: 2px solid rgba(199, 207, 0, 0.65);
  outline-offset: 2px;
}

/* ── Screen-reader label ── */
.theme-switcher-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
  font-family: 'Space Mono', monospace;
}

@media (max-width: 960px) {
  .theme-switcher { display: none !important; }
}

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

/* Light/Dark styling for toggle is controlled by [data-theme-state] on .theme-switcher. */

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'] .projects-cats .cat-title,
body[data-theme='light'] .cat-card .cat-title,
body[data-theme='light'] .project-card .cat-title {
  color: var(--lime) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body[data-theme='light'] .subpage-card .subpage-title,
body[data-theme='light'] .subpage-card:hover .subpage-title {
  color: var(--lime) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body[data-theme='light'] .subpage-card .subpage-cta,
body[data-theme='light'] .subpage-card:hover .subpage-cta,
body[data-theme='light'] .subpage-card .subpage-tag,
body[data-theme='light'] .subpage-card:hover .subpage-tag {
  color: var(--lime) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Keep "Descopera" subtle and consistent with dark-card style on light theme */
body[data-theme='light'] .subpage-card .subpage-cta,
body[data-theme='light'] .subpage-card:hover .subpage-cta {
  color: rgba(255, 255, 255, 0.72) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

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

@keyframes ifgThemeSwitcherIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 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 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
    gap: 32px !important;
    align-items: center !important;
    grid-template-areas: "slider content" !important;
  }

  .hero-content {
    grid-area: content !important;
  }

  .hero-slider-wrap {
    grid-area: slider !important;
    justify-self: start !important;
    min-height: clamp(420px, 58vh, 640px);
    max-width: none !important;
    width: 100% !important;
  }
}

.hero-slider-wrap {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-self: start !important;
  width: 100% !important;
  max-width: none !important;
}

body[data-theme='light'] .hero-actions .btn {
  border-radius: 0 !important;
}

body[data-theme='light'] .hero-sub .hero-title-sub,
body[data-theme='light'] .hero-title-sub.hero-title-sub-paren {
  color: #c7cf00 !important;
}

/* Pastreaza liniile de grid si pe tema light */
body[data-theme='light'] .grid-bg {
  display: block !important;
  background: none !important;
  background-image:
    linear-gradient(rgba(160, 165, 150, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 165, 150, 0.12) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
}

/* ══════════════════════════════════════════
   GLOBAL 640px – small screen overrides
══════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Fix nav dropdown overlapping header on mobile */
  .main-nav.open {
    top: 100% !important;
  }

  /* Hero – tight spacing on small phones */
  .hero {
    padding: 40px 0 32px !important;
    gap: 20px !important;
  }

  /* Page hero – compact padding */
  .page-hero {
    padding: 52px 0 36px !important;
  }

  /* Hero image sections – reduce height */
  .hero-img-wrap {
    height: 220px !important;
  }

  /* Split sections – compact content padding */
  .split-content {
    padding: 32px 22px !important;
  }

  /* Split image – reduce min-height */
  .split-img {
    min-height: 220px !important;
  }

  /* Feature cards – reduce padding */
  .feat-card {
    padding: 26px 20px !important;
  }

  /* CTA band – reduce vertical padding */
  .cta-band {
    padding: 40px 0 !important;
  }

  /* Specs/data tables – horizontal scroll on small screens */
  .specs-table-wrap,
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .specs-table {
    min-width: 500px;
  }

  /* Contact strip – better wrapping on small screens */
  .contact-strip-inner {
    gap: 10px !important;
    justify-content: center !important;
  }

  /* Subpage cards – reduce info padding */
  .subpage-info {
    padding: 28px 22px !important;
  }
}

/* Security Guards */
.ifg-security-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12000;
  background: rgba(2, 14, 24, 0.94);
  color: #f1f5f7;
  border: 1px solid rgba(199, 207, 0, 0.4);
  padding: 10px 14px;
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 320px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ifg-security-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ifg-guard-overlay,
.ifg-adblock-overlay {
  position: fixed;
  inset: 0;
  z-index: 11990;
  background: rgba(1, 12, 20, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ifg-guard-overlay.is-visible,
.ifg-adblock-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ifg-guard-card,
.ifg-adblock-card {
  width: min(100%, 520px);
  background: rgba(2, 21, 32, 0.98);
  border: 1px solid rgba(199, 207, 0, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  padding: 24px;
}

.ifg-guard-kicker {
  margin: 0 0 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(199, 207, 0, 0.85);
}

.ifg-guard-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
}

.ifg-guard-text {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.92rem;
}

.ifg-guard-btn {
  margin-top: 16px;
  border: 1px solid rgba(199, 207, 0, 0.35);
  background: rgba(199, 207, 0, 0.16);
  color: #f2f5f6;
  padding: 10px 14px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ifg-guard-btn:hover {
  background: rgba(199, 207, 0, 0.26);
}

/* Cookie consent - centered compact card with eat animation */
#cookieBanner {
  position: fixed;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: calc(34px + var(--safe-bottom)) !important;
  transform: translate3d(-50%, 16px, 0) scale(0.98) !important;
  width: min(620px, calc(100% - 24px));
  z-index: 11020;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none !important;
  margin: 0 !important;
  transition: opacity 0.28s ease, transform 0.34s ease;
}

#cookieBanner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0) scale(1) !important;
  pointer-events: auto;
}

#cookieBanner.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, 14px, 0) scale(0.98) !important;
}

#cookieBanner[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#cookieBanner .cookie-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 16% 20%, rgba(199, 207, 0, 0.16) 0%, rgba(199, 207, 0, 0) 42%),
    linear-gradient(130deg, rgba(5, 24, 38, 0.96), rgba(2, 16, 29, 0.96));
  border: 1px solid rgba(199, 207, 0, 0.26);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(7px);
}

#cookieBanner .cookie-visual {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

#cookieBanner .cookie-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, #f3daab 0%, #e1be80 62%, #c79a56 100%);
  box-shadow: inset -6px -7px 0 rgba(104, 69, 32, 0.18);
  transition: transform 0.46s ease, filter 0.46s ease;
}

#cookieBanner .cookie-chip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #80522b;
  transition: opacity 0.32s ease;
}

#cookieBanner .chip-1 { top: 12px; left: 15px; }
#cookieBanner .chip-2 { top: 28px; left: 31px; }
#cookieBanner .chip-3 { top: 32px; left: 13px; }

#cookieBanner .cookie-bite {
  position: absolute;
  top: 11px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(1, 15, 25, 0.98);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.24s ease, transform 0.44s cubic-bezier(0.25, 0.8, 0.3, 1);
}

#cookieBanner .cookie-crumbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#cookieBanner .cookie-crumb {
  position: absolute;
  right: 8px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfbd81;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(var(--s, 1));
  animation: cookieCrumbFly var(--d, 0.46s) ease-out forwards;
}

@keyframes cookieCrumbFly {
  0% {
    opacity: 0.95;
    transform: translate3d(0, 0, 0) scale(var(--s, 1));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--x, 22px), var(--y, -18px), 0) scale(0.2);
  }
}

#cookieBanner .cookie-content {
  min-width: 0;
}

#cookieBanner .cookie-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(241, 246, 248, 0.82);
}

#cookieBanner .cookie-text a {
  color: #c7cf00;
}

#cookieBanner .cookie-actions {
  display: flex;
  gap: 9px;
  margin-top: 11px;
}

#cookieBanner .cookie-decline,
#cookieBanner .cookie-accept {
  border: 1px solid transparent;
  height: 34px;
  padding: 0 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#cookieBanner .cookie-decline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.23);
  color: rgba(242, 247, 250, 0.78);
}

#cookieBanner .cookie-decline:hover {
  border-color: rgba(255, 255, 255, 0.44);
}

#cookieBanner .cookie-accept {
  background: #c7cf00;
  border-color: #c7cf00;
  color: #1e2b34;
  font-weight: 700;
}

#cookieBanner .cookie-accept:hover {
  transform: translateY(-1px);
  background: #d6de18;
  border-color: #d6de18;
}

#cookieBanner.is-eating .cookie-core {
  transform: scale(0.9) rotate(-10deg);
  filter: saturate(0.78);
}

#cookieBanner.is-eating .cookie-bite {
  opacity: 1;
  transform: scale(1);
}

#cookieBanner.is-eating .cookie-chip {
  opacity: 0.25;
}

body[data-theme='light'] #cookieBanner .cookie-shell {
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 207, 0, 0.16) 0%, rgba(199, 207, 0, 0) 42%),
    linear-gradient(132deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
  border: 1px solid rgba(37, 43, 48, 0.16);
  box-shadow: 0 16px 38px rgba(23, 28, 33, 0.16);
}

body[data-theme='light'] #cookieBanner .cookie-text {
  color: rgba(37, 43, 48, 0.85);
}

body[data-theme='light'] #cookieBanner .cookie-decline {
  background: rgba(37, 43, 48, 0.04);
  border-color: rgba(37, 43, 48, 0.24);
  color: rgba(37, 43, 48, 0.82);
}

@media (max-width: 640px) {
  #cookieBanner {
    width: calc(100% - 14px);
    left: 50% !important;
    right: auto !important;
    bottom: calc(10px + var(--safe-bottom)) !important;
    transform: translate3d(-50%, 12px, 0) scale(0.98) !important;
  }

  #cookieBanner .cookie-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 12px;
  }

  #cookieBanner .cookie-visual {
    width: 46px;
    height: 46px;
  }

  #cookieBanner .cookie-text {
    font-size: 0.76rem;
    line-height: 1.36;
  }

  #cookieBanner .cookie-actions {
    justify-content: center;
    margin-top: 10px;
  }

  #cookieBanner .cookie-decline,
  #cookieBanner .cookie-accept {
    height: 32px;
    padding: 0 11px;
    font-size: 0.54rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cookieBanner,
  #cookieBanner .cookie-core,
  #cookieBanner .cookie-bite,
  #cookieBanner .cookie-chip,
  #cookieBanner .cookie-accept,
  #cookieBanner .cookie-decline {
    transition-duration: 0.01ms !important;
  }

  #cookieBanner .cookie-crumb {
    animation-duration: 0.01ms !important;
  }
}

/* Global fix: keep primary button text readable on hover across all themes/pages. */
.btn-primary:hover,
.btn-primary:hover span,
.btn-primary:hover svg {
  color: #111a22 !important;
}

/* Global fix: prevent hover overlay from covering plain text nodes in buttons. */
.btn {
  isolation: isolate;
}

.btn::before {
  z-index: -1 !important;
}

/* Projects cards: keep image strictly inside border */
.cat-card {
  overflow: hidden !important;
  background-clip: padding-box !important;
}

.cat-card::before,
.cat-card::after {
  inset: 1px !important;
  border-radius: inherit;
}
