/* =========================================================================
   Eurolink IT Services SIA — Design System
   Aesthetic: dark tech-atelier · aurora mesh · glass · network/link motif
   Fonts: Syne (display) · Manrope (body) · Space Mono (labels)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* base */
  --ink:        #060810;
  --ink-2:      #0a0e1a;
  --ink-3:      #0f1524;
  --surface:    rgba(255, 255, 255, 0.035);
  --surface-2:  rgba(255, 255, 255, 0.06);
  --line:       rgba(255, 255, 255, 0.09);
  --line-2:     rgba(255, 255, 255, 0.16);

  /* text */
  --text:       #eef2fb;
  --muted:      #98a4bd;
  --muted-2:    #6b7791;

  /* brand — cold trio + warm signal */
  --cyan:       #3fe6d4;
  --blue:       #4f7cff;
  --violet:     #9a6bff;
  --gold:       #ffc65c;

  --grad:       linear-gradient(115deg, #3fe6d4 0%, #4f7cff 48%, #9a6bff 100%);
  --grad-soft:  linear-gradient(115deg, rgba(63,230,212,.18), rgba(79,124,255,.18) 50%, rgba(154,107,255,.18));
  --glow-cyan:  0 0 60px rgba(63, 230, 212, .35);
  --glow-blue:  0 0 80px rgba(79, 124, 255, .32);

  /* geometry */
  --radius:     22px;
  --radius-sm:  14px;
  --radius-lg:  30px;
  --maxw:       1200px;
  --gutter:     clamp(20px, 5vw, 48px);

  /* type */
  --f-display:  "Syne", "Trebuchet MS", sans-serif;
  --f-body:     "Manrope", system-ui, sans-serif;
  --f-mono:     "Space Mono", ui-monospace, monospace;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --ease-in-out:cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Animations are treated as part of the brand experience and run for everyone.
   (Motion is kept gentle: slow drifts, fades and loops — no harsh flashing.) */

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
::selection { background: rgba(79, 124, 255, .35); color: #fff; }

/* ---------- Atmosphere: fixed background layers ---------- */
.bg-atmos {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 0%,  rgba(79,124,255,.20), transparent 60%),
    radial-gradient(55% 45% at 90% 10%, rgba(63,230,212,.16), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(154,107,255,.16), transparent 60%),
    var(--ink);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}
.bg-grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, 4%); }
  80% { transform: translate(4%, -3%); }
}

/* floating gradient orbs */
.orb { position: fixed; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -2; pointer-events: none; }
.orb.a { width: 420px; height: 420px; background: radial-gradient(circle, rgba(63,230,212,.6), transparent 70%); top: -80px; left: -80px; animation: drift 22s var(--ease-in-out) infinite; }
.orb.b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(154,107,255,.5), transparent 70%); bottom: -140px; right: -120px; animation: drift 28s var(--ease-in-out) infinite reverse; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 30px) scale(.95); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

/* ---------- Type utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.display {
  font-size: clamp(2.1rem, 5.2vw, 4.2rem);
  line-height: 1; letter-spacing: -.03em;
  overflow-wrap: break-word;
}
.h-sec { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 58ch; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stroke-text {
  color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.32);
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 26px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad); border-radius: 100px; font-weight: 700; font-size: .96rem;
  letter-spacing: -.01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  will-change: transform; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { color: #05121a; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(79,124,255,.7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(16px); opacity: 0; transition: opacity .35s;
}
.btn--primary:hover { transform: translateY(-3px); }
.btn--primary:hover::after { opacity: .8; }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: var(--surface); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--cyan); color: #fff; transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Glass card ---------- */
.glass {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* gradient hairline border helper */
.grad-border { position: relative; }
.grad-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .4; transition: opacity .4s;
}
.grad-border:hover::before { opacity: 1; }

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 8, 16, .72); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; flex-wrap: nowrap; }

.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand__word { font-family: var(--f-display); font-weight: 800; font-size: 1.14rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand__word .lk { color: var(--muted-2); }
.brand__tag { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .3em; color: var(--muted-2); text-transform: uppercase; margin-top: 4px; white-space: nowrap; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 9px 15px; font-size: .93rem; font-weight: 600; color: var(--muted);
  border-radius: 100px; transition: color .3s;
}
.nav__link:hover { color: var(--text); }
.nav__link.active { color: var(--text); }
.nav__link.active::before {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav__has-sub { position: relative; }
/* invisible hover bridge across the gap so the submenu stays reachable */
.nav__has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 270px; padding: 8px; border-radius: 18px; background: rgba(10,14,26,.96);
  border: 1px solid var(--line); backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease); z-index: 40;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub,
.nav__has-sub.open .nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; transition: background .25s; }
.nav__sub a:hover { background: var(--surface-2); }
.nav__sub .n { font-family: var(--f-mono); font-size: .7rem; color: var(--cyan); }
.nav__sub .t { font-weight: 700; font-size: .9rem; }
.nav__sub .d { font-size: .75rem; color: var(--muted-2); }

.nav__cta { display: inline-flex; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 110; background: rgba(6,8,16,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  transform: translateY(-100%); transition: transform .5s var(--ease); gap: 6px;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 8vw, 2.6rem); padding: 10px 0; color: var(--muted); transition: color .3s, transform .3s; letter-spacing: -.02em; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--text); transform: translateX(10px); }
.mobile-nav .m-sub { font-size: 1.15rem; padding-left: 22px; }
.mobile-nav .m-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }

/* =========================================================================
   Hero (shared)
   ========================================================================= */
.hero { position: relative; padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(40px, 7vw, 90px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
/* service pages have shorter titles → give the animated art more room so it isn't tiny */
body[data-page="services"] .hero .display { font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
body[data-page="services"] .hero__art { min-width: 0; }
.hero__art { position: relative; }
.hero--center { text-align: center; }
.hero--center .hero__grid { grid-template-columns: 1fr; }
.hero--center .lead { margin-inline: auto; }

.hero__title { margin: 22px 0 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero--center .hero__actions { justify-content: center; }

/* reveal masks for hero lines */
.line-mask { overflow: hidden; display: block; }
.line-inner { display: block; transform: translateY(110%); }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { padding: 26px 22px; background: var(--surface); }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; white-space: nowrap; line-height: 1; }
.stat__from { display: block; font-family: var(--f-mono); font-size: .32em; font-weight: 400; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.stat__lbl { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 46px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--muted-2); }
.marquee__item::after { content: "◆"; color: var(--cyan); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   Services cards
   ========================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 30px; min-height: 420px;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.svc-card__glow { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(79,124,255,.22), transparent 70%); }
.svc-card:hover .svc-card__glow { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }
.svc-card__n { font-family: var(--f-mono); font-size: .8rem; color: var(--cyan); letter-spacing: .1em; }
.svc-card__icon { width: 64px; height: 64px; margin: 8px 0 22px; }
.svc-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-card__price { margin-top: 20px; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.svc-card__price span { font-size: .8rem; font-family: var(--f-mono); color: var(--muted-2); font-weight: 400; }
.svc-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: .9rem; color: var(--cyan); transition: gap .3s; }
.svc-card:hover .svc-card__go { gap: 14px; }
.svc-card__tag { position: absolute; top: 22px; right: 22px; z-index: 2; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }

/* =========================================================================
   Feature / value blocks
   ========================================================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); }
.feature__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 18px; }
.feature__ic svg { width: 24px; height: 24px; }
.feature h4 { font-size: 1.15rem; font-family: var(--f-body); font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .9rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 30px 8px; border-top: 1px solid var(--line); transition: background .4s, padding-left .4s; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { background: var(--surface); padding-left: 20px; }
.step__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); color: transparent; -webkit-text-stroke: 1.2px var(--line-2); transition: -webkit-text-stroke-color .4s; }
.step:hover .step__n { -webkit-text-stroke-color: var(--cyan); }
.step__body h4 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: 6px; }
.step__body p { color: var(--muted); font-size: .95rem; max-width: 60ch; }
.step__meta { font-family: var(--f-mono); font-size: .78rem; color: var(--muted-2); white-space: nowrap; }

/* =========================================================================
   Service detail page
   ========================================================================= */
.svc-hero__price { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.svc-hero__price b { font-family: var(--f-display); font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; white-space: nowrap; }
.svc-hero__price span { color: var(--muted); font-family: var(--f-mono); font-size: .9rem; white-space: nowrap; }

.check-list { display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s; }
.check-list li:hover { transform: translateX(6px); border-color: var(--line-2); }
.check-list .tick { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--grad-soft); margin-top: 1px; }
.check-list .tick svg { width: 15px; height: 15px; }
.check-list b { font-weight: 700; }
.check-list p { color: var(--muted); font-size: .88rem; margin-top: 2px; }

.svc-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-nav a { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.svc-nav a:hover { transform: translateY(-4px); border-color: var(--line-2); }
.svc-nav .k { font-family: var(--f-mono); font-size: .72rem; color: var(--muted-2); letter-spacing: .12em; text-transform: uppercase; }
.svc-nav .v { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; margin-top: 8px; }
.svc-nav .next { text-align: right; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 80px); text-align: center; border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 0%, rgba(79,124,255,.25), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 16px; }

/* =========================================================================
   Contacts
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--line); color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(63,230,212,.12); background: var(--surface-2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-note { font-size: .78rem; color: var(--muted-2); margin-top: 6px; }
.form-status { margin-top: 14px; font-size: .9rem; padding: 14px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: rgba(63,230,212,.1); border: 1px solid rgba(63,230,212,.4); color: var(--cyan); }

.contact-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.contact-card .lbl { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card .val { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; margin-top: 6px; word-break: break-word; }
.contact-card .val a { transition: color .3s; }
.contact-card .val a:hover { color: var(--cyan); }
.pill-hours { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(63,230,212,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,230,212,.6); } 70% { box-shadow: 0 0 0 12px rgba(63,230,212,0); } 100% { box-shadow: 0 0 0 0 rgba(63,230,212,0); } }

/* =========================================================================
   Legal pages
   ========================================================================= */
.legal { max-width: 820px; }
.legal .updated { font-family: var(--f-mono); font-size: .8rem; color: var(--muted-2); margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 44px 0 14px; scroll-margin-top: 100px; }
.legal h3 { font-size: 1.15rem; font-family: var(--f-body); font-weight: 700; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; font-size: .98rem; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }
.legal ul li { list-style: disc; } .legal ol li { list-style: decimal; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal__toc { position: sticky; top: 100px; align-self: start; }
.legal__toc a { display: block; padding: 7px 0; font-size: .86rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; transition: color .3s, border-color .3s; }
.legal__toc a:hover { color: var(--text); border-color: var(--cyan); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 70px); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { position: relative; border-top: 1px solid var(--line); margin-top: clamp(60px, 10vw, 120px); padding-block: 60px 30px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 16px; }
.footer__col h5 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: var(--muted); font-size: .93rem; transition: color .3s, transform .3s; }
.footer__col a:hover { color: var(--text); transform: translateX(4px); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); }
.footer__bottom a { color: var(--muted-2); transition: color .3s; }
.footer__bottom a:hover { color: var(--muted); }
.footer__wordmark { display: block; width: 100%; height: auto; margin: 26px 0 8px; -webkit-user-select: none; user-select: none; pointer-events: none; }

/* =========================================================================
   Cookie banner
   ========================================================================= */
.cookie-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(160%);
  z-index: 200; width: min(680px, calc(100% - 32px)); padding: 22px; border-radius: var(--radius);
  background: rgba(10,14,26,.94); border: 1px solid var(--line-2); backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transition: transform .6s var(--ease);
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: .86rem; color: var(--muted); }
.cookie-banner p a { color: var(--cyan); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner .btn { --pad: 11px 18px; font-size: .84rem; }

/* =========================================================================
   Scroll progress + reveal + cursor
   ========================================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(79,124,255,.8); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; pointer-events: none; z-index: 300; mix-blend-mode: screen; background: radial-gradient(circle, rgba(63,230,212,.6), transparent 70%); transform: translate(-50%, -50%); transition: width .3s, height .3s, opacity .3s; opacity: 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* rotating badge */
.spin-badge { position: relative; width: 116px; height: 116px; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge__core { position: absolute; inset: 0; display: grid; place-items: center; }
.spin-badge__core svg { width: 26px; height: 26px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* section heading block */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { max-width: 44ch; }

/* animated underline link */
.ul-link { position: relative; }
.ul-link::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0; background: var(--grad); transition: width .35s var(--ease); }
.ul-link:hover::after { width: 100%; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal__toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 20px; }
  .legal__toc a { border-left: none; padding-left: 0; }
}

/* nav collapses to burger earlier so the full menu never crowds/wraps */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc-nav { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .step { grid-template-columns: auto 1fr; }
  .step__meta { display: none; }
}
