/* ─────────────────────────────────────────────────────────────
   IT3.lu – Style Guide
   Colors: Deep Blue #0A192F (bg) · Cyber Blue #007BFF (accent)
   Fonts: Space Grotesk (headings) · Inter (body)
   Style: Industrial Tech / B2B
────────────────────────────────────────────────────────────── */

/* ── SKIP NAV (Accessibility) ─────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--col-accent);
  color: var(--col-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-nav:focus { top: 1rem; }

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 2rem));
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}
.cookie-banner__text svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--col-accent); margin-top: 0.15rem; }
.cookie-banner__text p { font-size: 0.82rem; color: var(--col-text-muted); line-height: 1.5; }
.cookie-banner__text a { color: var(--col-accent); text-decoration: underline; }
.cookie-banner__actions { flex-shrink: 0; }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

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

:root {
  /* Brand Colors */
  --col-bg:         #0A192F;
  --col-bg-alt:     #0D2137;
  --col-surface:    #112240;
  --col-border:     #1E3A5F;
  --col-accent:     #007BFF;
  --col-accent-h:   #0062CC;
  --col-accent-glow:#007BFF33;
  --col-text:       #CDD9E5;
  --col-text-muted: #8098B4;
  --col-text-light: #E6F0FF;
  --col-white:      #FFFFFF;

  /* Typography */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Sizes */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;

  /* Transitions */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}

body {
  height: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--col-text);
  background: var(--col-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── UTILITY ──────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--sp-2xl);
  height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('../img/general.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 21, 37, 0.97) 0%,
    rgba(7, 21, 37, 0.90) 38%,
    rgba(7, 21, 37, 0.68) 62%,
    rgba(7, 21, 37, 0.38) 100%
  );
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section--alt {
  background-image: url('../img/general.jpg');
  background-size: cover;
  background-position: center;
}

.section--dark {
  background-image: url('../img/general.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--col-border);
  border-bottom: 1px solid var(--col-border);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
}

.section__eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: var(--sp-xs);
}

.section__eyebrow--light {
  color: var(--col-accent);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--col-white);
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
}

.section__title--light {
  color: var(--col-white);
  text-align: center;
}

.section__desc {
  color: var(--col-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin-inline: auto;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--col-accent);
  color: var(--col-white);
  box-shadow: 0 0 0 0 var(--col-accent-glow);
}

.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--col-accent-h);
  box-shadow: 0 0 20px 4px var(--col-accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--col-text-light);
  border: 1.5px solid var(--col-border);
}

.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--col-accent);
  color: var(--col-accent);
}

.btn--full { width: 100%; justify-content: center; }
.btn--mt   { margin-top: 2rem; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--col-bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), backdrop-filter var(--transition);
}

.nav-wrapper.scrolled {
  border-color: var(--col-border);
  backdrop-filter: blur(12px);
  background: rgba(10, 25, 47, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-lg);
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
}
.nav__logo:hover { opacity: 0.8; }

.nav__logo-img {
  height: 88px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-mark { color: var(--col-white); }
.logo-dot  { color: var(--col-accent); }
.logo-sub  { color: var(--col-text-muted); font-size: 1rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.nav__link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--col-text);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.nav__link:hover, .nav__link:focus-visible {
  color: var(--col-accent);
}

.nav__link--cta {
  background: var(--col-accent);
  color: var(--col-white) !important;
  padding: 0.5rem 1.2rem;
}

.nav__link--cta:hover {
  background: var(--col-accent-h);
  color: var(--col-white) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--col-text);
  transition: all var(--transition);
  border-radius: 2px;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── SCROLL SNAP ──────────────────────────────────────────── */
.hero,
.service-panel,
.section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 8rem var(--sp-2xl);
  overflow: hidden;
  background-image: url('../img/main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 21, 37, 0.97) 0%,
    rgba(7, 21, 37, 0.90) 38%,
    rgba(7, 21, 37, 0.68) 62%,
    rgba(7, 21, 37, 0.38) 100%
  );
  z-index: 0;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,123,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 60vh;
  z-index: 1;
  background: radial-gradient(ellipse, rgba(0,123,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: 800px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: var(--sp-sm);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--col-accent);
  border-radius: 2px;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--col-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
}

.hero__headline--accent {
  color: var(--col-accent);
}

.hero__subline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--col-text-muted);
  max-width: 580px;
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--col-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: var(--col-text-muted);
  margin-top: 0.2rem;
}

.hero__stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--col-border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--col-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SERVICE PANELS (full-width stacked) ─────────────────── */
.service-panel {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-block: var(--sp-2xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.service-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 21, 37, 0.97) 0%,
    rgba(7, 21, 37, 0.90) 38%,
    rgba(7, 21, 37, 0.68) 62%,
    rgba(7, 21, 37, 0.38) 100%
  );
}

.service-panel--apm         { background-image: url('../img/apm.jpg'); }
.service-panel--outsourcing { background-image: url('../img/outsourcing.jpg'); }
.service-panel--retail      { background-image: url('../img/pos.jpg'); }

.service-panel > .container {
  position: relative;
  z-index: 1;
}

.service-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.service-panel__num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: var(--sp-xs);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-panel__num::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--col-accent);
  border-radius: 2px;
}

.service-panel__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--col-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}

.service-panel__desc {
  font-size: 1.02rem;
  color: var(--col-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--sp-lg);
}

.service-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--sp-lg);
}

.service-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--col-text);
}

.service-panel__list svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--col-accent);
  margin-top: 0.15rem;
  stroke-width: 2.5;
}

/* ── Panel 02 Retail IT – offset 100px right ──────────── */
.service-panel--retail .service-panel__inner > div {
  margin-left: 200px;
}

/* ── Right-aligned panels (01 APM, 03 Outsourcing) ────── */
.service-panel--right .service-panel__inner {
  display: flex;
  justify-content: flex-end;
}
.service-panel--right .service-panel__inner > div {
  width: 48%;
  margin-right: -100px;
}

.service-panel__aside {
  background: rgba(10, 25, 47, 0.55);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-lg);
  backdrop-filter: blur(8px);
}

.service-panel__aside-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: var(--sp-md);
}

.service-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-lg);
}

.service-panel__tag {
  background: var(--col-accent-glow);
  border: 1px solid rgba(0,123,255,0.3);
  color: var(--col-text-light);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .service-panel { min-height: auto; padding-block: var(--sp-2xl); }
  .service-panel__aside { display: none; }
}

/* ── SERVICES ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,123,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--col-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px var(--col-accent);
}

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

.service-card--featured {
  border-color: var(--col-accent);
  background: linear-gradient(160deg, var(--col-surface) 60%, rgba(0,123,255,0.08) 100%);
}

.service-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--col-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card__badge {
  display: inline-block;
  background: var(--col-accent);
  color: var(--col-white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-sm);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--col-accent-glow);
  border: 1px solid rgba(0,123,255,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
  color: var(--col-accent);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.service-card__number {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

.service-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--col-white);
  margin-bottom: var(--sp-xs);
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--col-text-muted);
  margin-bottom: var(--sp-md);
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--sp-md);
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--col-text);
}

.service-card__list svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--col-accent);
  margin-top: 0.1rem;
  stroke-width: 2.5;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--col-accent);
  transition: gap var(--transition);
}

.service-card__link:hover { gap: 0.7rem; }
.service-card__link svg { width: 15px; height: 15px; stroke-width: 2.5; }

/* ── WHY IT3 ─────────────────────────────────────────────── */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-xl);
  align-items: start;
}

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

.why-card {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  transition: border-color var(--transition);
}

.why-card:hover { border-color: var(--col-accent); }

.why-card__icon {
  width: 44px;
  height: 44px;
  background: var(--col-accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--col-accent);
  margin-bottom: var(--sp-sm);
}

.why-card__icon svg { width: 20px; height: 20px; stroke-width: 1.5; }

.why-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--col-white);
  margin-bottom: 0.4rem;
}

.why-card__text {
  font-size: 0.85rem;
  color: var(--col-text-muted);
  line-height: 1.6;
}

/* ── PROCESS ──────────────────────────────────────────────── */
.process {
  text-align: center;
}

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--sp-xl);
}

.process__step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  position: relative;
}

.process__step-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--col-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.process__step svg {
  width: 36px;
  height: 36px;
  color: var(--col-accent);
  margin-inline: auto;
  margin-bottom: 1rem;
  stroke-width: 1.5;
}

.process__step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--col-white);
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.85rem;
  color: var(--col-text-muted);
  line-height: 1.6;
}

.process__arrow {
  align-self: center;
  color: var(--col-border);
  padding-top: 2rem;
}

.process__arrow svg { width: 22px; height: 22px; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-xl);
  align-items: center;
}

.about-layout__visual {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-card {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.about-visual-icon {
  width: 64px;
  height: 64px;
  background: var(--col-accent-glow);
  border-radius: 50%;
  border: 1px solid rgba(0,123,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--col-accent);
  animation: pulse-ring 2.5s ease infinite;
}

.about-visual-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }

.about-visual-label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--col-text-light);
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 var(--col-accent-glow); }
  50%       { box-shadow: 0 0 0 12px transparent; }
}

.about-visual-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anode {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--col-accent);
  animation: float 4s ease-in-out infinite;
}

.anode svg { width: 20px; height: 20px; stroke-width: 1.5; }

.anode--server { top: 15%;  left: 8%;  animation-delay: 0s; }
.anode--pos    { bottom: 18%; left: 5%; animation-delay: 1.4s; }
.anode--pkg    { top: 20%; right: 5%; animation-delay: 0.7s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.about-text {
  color: var(--col-text);
  margin-bottom: var(--sp-md);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-text strong { color: var(--col-accent); font-weight: 600; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-md);
}

.about-tag {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  color: var(--col-text);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transition: border-color var(--transition), color var(--transition);
}

.about-tag:hover {
  border-color: var(--col-accent);
  color: var(--col-accent);
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-layout {
  display: flex;
  justify-content: center;
  align-items: start;
}

.contact-form {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--col-text);
  letter-spacing: 0.02em;
}

.form-group label span { color: var(--col-accent); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--col-bg);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-md);
  color: var(--col-text-light);
  font-size: 0.93rem;
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--col-text-muted);
  opacity: 0.7;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238098B4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--col-surface);
  color: var(--col-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--col-accent);
  box-shadow: 0 0 0 3px var(--col-accent-glow);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #FF4D4F;
}

.form-error {
  font-size: 0.75rem;
  color: #FF4D4F;
  min-height: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--col-text-muted);
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--col-accent);
  cursor: pointer;
}

.form-success {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,123,255,0.1);
  border: 1px solid var(--col-accent);
  border-radius: var(--radius-md);
  padding: var(--sp-sm) var(--sp-md);
  color: var(--col-accent);
  font-family: var(--font-head);
  font-weight: 600;
}

.form-success svg { width: 18px; height: 18px; stroke-width: 2; }
.form-success[hidden] { display: none; }

/* Contact info – horizontal centered layout */
.contact-info {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-lg) var(--sp-xl);
  width: 100%;
  max-width: 720px;
}

.contact-info__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--col-white);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--col-border);
  text-align: center;
}

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

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  border-right: 1px solid var(--col-border);
  border-bottom: 1px solid var(--col-border);
}

.contact-info__item:nth-child(3n) { border-right: none; }
.contact-info__item:nth-last-child(-n+3) { border-bottom: none; }

.contact-info__item svg {
  width: 20px;
  height: 20px;
  color: var(--col-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
  stroke-width: 1.5;
}

.contact-info__item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-info__item strong {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--col-text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-info__item span,
.contact-info__item a {
  font-size: 0.93rem;
  color: var(--col-text-light);
}

.contact-info__item a:hover { color: var(--col-accent); }

.contact-info__area {
  margin-top: var(--sp-md);
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-md);
}

.contact-info__area-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.contact-info__area-header svg {
  width: 16px;
  height: 16px;
  color: var(--col-accent);
  flex-shrink: 0;
  stroke-width: 1.5;
}

.contact-info__area-header strong {
  font-size: 0.85rem;
  color: var(--col-text);
}

.contact-info__area-text {
  font-size: 0.82rem;
  color: var(--col-text-muted);
  line-height: 1.6;
}

.contact-info__area-text strong {
  color: var(--col-text);
}

.contact-info__badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: var(--sp-md);
  background: var(--col-accent-glow);
  border: 1px solid rgba(0,123,255,0.2);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.contact-info__badge svg {
  width: 18px;
  height: 18px;
  color: var(--col-accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
  stroke-width: 1.5;
}

.contact-info__badge span {
  font-size: 0.82rem;
  color: var(--col-text);
  line-height: 1.5;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--col-surface);
  border-top: 1px solid var(--col-border);
  padding-block: var(--sp-lg);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.footer__logo-img {
  height: 44px;
  width: auto;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem var(--sp-md);
}

.footer__links a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--col-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--col-accent); }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.76rem;
  color: var(--col-text-muted);
  text-align: right;
}

.footer__legal a {
  color: var(--col-text-muted);
  transition: color var(--transition);
}

.footer__legal a:hover { color: var(--col-accent); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--col-accent);
  color: var(--col-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(0,123,255,0.4);
  transition: opacity var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(10px);
}

.back-to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top[hidden] {
  display: flex !important; /* override hidden for animation */
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.back-to-top svg { width: 20px; height: 20px; stroke-width: 2; }

/* ── FOCUS STYLES ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--col-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

/* ── Tablet landscape (≤1280px) ───────────────────────────── */
@media (max-width: 1280px) {
  .hero__content {
    margin-left: 400px;
  }

  .service-panel--right .service-panel__inner > div {
    margin-right: 0;
  }

  .service-panel--retail .service-panel__inner > div {
    margin-left: 100px;
  }
}

/* ── Tablet portrait (≤1024px) ────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content {
    margin-left: 150px;
    max-width: 680px;
  }

  .service-panel--right .service-panel__inner > div {
    width: 55%;
    margin-right: 0;
  }

  .service-panel--retail .service-panel__inner > div {
    margin-left: 50px;
  }

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

  .service-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .about-layout__visual {
    height: 260px;
    order: -1;
  }

  .contact-info__items {
    gap: 0;
  }
}

/* ── Mobile landscape (≤768px) ────────────────────────────── */
@media (max-width: 768px) {
  .hero__content {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: var(--sp-sm);
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--col-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-md);
    padding: var(--sp-xl);
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.6rem 1.5rem;
  }

  .nav__hamburger { display: flex; }

  /* Sections – flexible height on mobile */
  .hero,
  .service-panel {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .section {
    height: 100svh;
    overflow: hidden;
  }

  /* Hide decorative visual in About section on mobile */
  .about-layout__visual { display: none; }

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

  /* Contact info – 2 columns on tablet */
  .contact-info__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    max-width: 100%;
  }

  /* Service panels – full width, left aligned */
  .service-panel--right .service-panel__inner {
    justify-content: flex-start;
  }

  .service-panel--right .service-panel__inner > div {
    width: 100%;
    margin-right: 0;
  }

  .service-panel--retail .service-panel__inner > div {
    margin-left: 0;
  }

  .service-panel__inner {
    display: block;
  }

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

  .service-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

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

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

  .process__step { max-width: 100%; min-width: auto; width: 100%; text-align: left; }

  .process__arrow { transform: rotate(90deg); }

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group--full { grid-column: auto; }

  /* Contact info – single column on small mobile */
  .contact-info__items {
    grid-template-columns: 1fr;
  }

  .contact-info__item {
    border-right: none;
    border-bottom: 1px solid var(--col-border);
    padding: 0.9rem 1rem;
  }

  .contact-info__item:nth-child(3n) { border-right: none; }
  .contact-info__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--col-border); }
  .contact-info__item:last-child { border-bottom: none; }

  .contact-info__item:last-of-type {
    border-bottom: none;
  }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }

  .hero__stats { gap: var(--sp-sm); }

  .hero__stat-divider { height: 1.5rem; }
}

/* ── Mobile portrait (≤480px) ─────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --sp-2xl: 4rem;
    --sp-xl:  2.5rem;
  }

  .hero {
    padding-block: 5rem 1.5rem;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .hero__headline {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    margin-bottom: 0.6rem;
  }

  .hero__subline {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .hero__actions .btn {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  .hero__stats {
    gap: 0.5rem;
  }

  .hero__stat-value {
    font-size: 1.3rem;
  }

  .hero__stat-label {
    font-size: 0.7rem;
  }

  .hero__stat-divider {
    height: 1.2rem;
  }

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

  .service-panel__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero__headline {
  }

  .contact-info {
    padding: var(--sp-md);
  }

  /* ── Compact sections ──────────────────────────────────── */
  .section {
    padding-block: 2.5rem 2rem;
  }

  .section__header {
    margin-bottom: 1rem;
  }

  .section__eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .section__title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    margin-bottom: 0.4rem;
  }

  .section__desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Why IT3 – 2 columns on mobile */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .why-layout__left .btn {
    display: none;
  }

  .why-card {
    padding: 0.8rem;
  }

  .why-card__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.4rem;
  }

  .why-card__icon svg { width: 14px; height: 14px; }

  .why-card__title {
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
  }

  .why-card__text {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  /* Process – 2×2 grid, no arrows, no icons */
  .process__arrow { display: none; }

  .process__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    flex-direction: unset;
    align-items: unset;
  }

  .process__step {
    padding: 0.65rem 0.7rem;
    background: rgba(17, 34, 64, 0.6);
    border-radius: var(--radius-md);
    border: 1px solid var(--col-border);
    text-align: left;
    width: auto;
    max-width: none;
    min-width: auto;
  }

  .process__step > svg { display: none; }

  .process__step h3 {
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
  }

  .process__step p {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .process__step-num {
    font-size: 0.62rem;
    margin-bottom: 0.25rem;
  }

  /* About */
  .about-text {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }

  .about-tags {
    gap: 0.4rem;
  }

  .about-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
  }

  /* Contact */
  .contact-info {
    padding: 0.8rem;
  }

  .contact-info__items {
    grid-template-columns: 1fr;
  }

  .contact-info__title {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
  }

  .contact-info__item {
    padding: 0.5rem 0.6rem;
    gap: 0.5rem;
  }

  .contact-info__item svg {
    width: 15px;
    height: 15px;
  }

  .contact-info__item strong {
    font-size: 0.7rem;
  }

  .contact-info__item span,
  .contact-info__item a {
    font-size: 0.8rem;
  }

  .contact-info__badge {
    padding: 0.6rem 0.7rem;
    margin-top: 0.6rem;
  }

  .contact-info__badge span {
    font-size: 0.76rem;
  }
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal--delay-1 { transition-delay: 0.1s; }
  .reveal--delay-2 { transition-delay: 0.2s; }
  .reveal--delay-3 { transition-delay: 0.3s; }
}
