/* ============================================
   VISUAL ALSACE — Modern Tech Stylesheet
   New-tech, conversion-focused, BTP/Industrie
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #e0e0e0;
  background: #0a0a0f;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
ul, ol { list-style: none; }

/* --- Variables --- */
:root {
  --primary: #3B7DD8;
  --primary-light: #5a9bf0;
  --primary-dark: #2A5FA8;
  --cyan: #00D4FF;
  --secondary: #ffffff;
  --accent: #3B7DD8;
  --text: #e0e0e0;
  --text-muted: #8a8a9a;
  --text-dark: #1a1a2e;
  --bg-body: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --bg-surface: #16161f;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(59,125,216,.3);
  --shadow: 0 4px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.4);
  --shadow-glow: 0 0 30px rgba(59,125,216,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; color: var(--text-muted); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--surface { background: var(--bg-surface); }
.section--dark { background: var(--bg-body); }
.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--light h2, .section--light h3 { color: var(--text-dark); }
.section--light p { color: #555; }

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

/* --- Section Header --- */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.overline {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .75rem;
}

/* ============================================
   HEADER / NAVIGATION — Glassmorphism
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: all var(--transition);
}
.header--scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .75rem 1.5rem;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  letter-spacing: .02em;
}
.header__logo img { height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.header__logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative;
  padding: .5rem .7rem;
  font-size: .85rem;
  font-weight: 500;
  color: #444;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__link:hover, .nav__link--active { color: #111; }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: .7rem; right: .7rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}
.nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px); left: -1rem;
  min-width: 260px;
  background: rgba(18,18,26,.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: .7rem 1.4rem;
  font-size: .85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav__dropdown a:hover {
  background: rgba(59,125,216,.1);
  color: var(--white);
  padding-left: 1.6rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  outline: none;
  z-index: 1003;
}
.hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger--active span { background: var(--primary); }
.hamburger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger--active span:nth-child(2) { opacity: 0; }
.hamburger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* CTA Header */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50px;
  transition: all var(--transition);
  border: 1px solid rgba(59,125,216,.3);
}
.header__cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   HERO — Dark, immersive, tech
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,.6) 0%, rgba(10,10,15,.2) 50%, rgba(10,10,15,.5) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(59,125,216,.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,212,255,.06) 0%, transparent 50%);
}
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 5rem;
}
.hero__content .overline { margin-bottom: 1.25rem; }
.hero__content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.08;
}
.hero__content p {
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.2rem;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: .01em;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: 1px solid rgba(59,125,216,.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}
.btn--outline:hover {
  border-color: var(--primary);
  background: rgba(59,125,216,.08);
  color: var(--white);
}
.btn--accent {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--cyan);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,212,255,.3);
}
.btn--outline-dark {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
}
.btn--outline-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============================================
   TRUST / STATS — Glowing numbers
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.stat {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.stat:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.stat__number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat__label {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .5rem;
  font-weight: 500;
}

/* ============================================
   CARDS — Dark, bordered, tech feel
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__img { transform: scale(1.05); }
.card__img-wrap { overflow: hidden; }
.card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card__body p { font-size: .88rem; margin-bottom: 1rem; flex: 1; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition);
}
.card__link:hover { gap: .6rem; }

/* ============================================
   SERVICE BLOCK (inner pages)
   ============================================ */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service-intro__img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.service-intro__text h2 { margin-bottom: 1rem; }
.service-intro__text p { font-size: 1.02rem; }

.features-list { margin: 1.5rem 0; }
.features-list li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  font-size: .92rem;
  color: var(--text-muted);
}
.features-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .85rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0,212,255,.4);
}

/* ============================================
   ICON CIRCLES
   ============================================ */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(59,125,216,.08);
  border: 1px solid rgba(59,125,216,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.icon-circle:hover {
  background: rgba(59,125,216,.15);
  box-shadow: var(--shadow-glow);
}
.icon-circle svg {
  width: 26px;
  height: 26px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   WHY US - feature blocks
   ============================================ */
.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.why-card h3 { margin-bottom: .75rem; }
.why-card p { font-size: .9rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: .5rem; left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: .2;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial p { font-style: italic; font-size: .92rem; color: var(--text); margin-bottom: 1.5rem; }
.testimonial__author { font-weight: 700; font-size: .9rem; color: var(--white); }
.testimonial__role { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--primary), var(--primary-dark)),
    radial-gradient(ellipse at 30% 50%, rgba(0,212,255,.2), transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 550px; margin-inline: auto; }

/* ============================================
   REALISATIONS / PORTFOLIO
   ============================================ */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16/10;
  background: var(--bg-card);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,.9) 0%, rgba(10,10,15,.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay .gallery__title { color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.gallery__overlay .gallery__type { color: var(--cyan); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Realisation cards for 3D/360 */
.realisation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.realisation-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.realisation-card__preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-surface);
}
.realisation-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.realisation-card:hover .realisation-card__preview img { transform: scale(1.08); }
.realisation-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.realisation-card__badge--3d {
  background: rgba(59,125,216,.15);
  color: var(--primary-light);
  border: 1px solid rgba(59,125,216,.3);
}
.realisation-card__badge--360 {
  background: rgba(0,212,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,.2);
}
.realisation-card__body {
  padding: 1.25rem 1.5rem;
}
.realisation-card__body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.realisation-card__body p { font-size: .82rem; margin-bottom: .75rem; }
.realisation-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition);
}
.realisation-card:hover .realisation-card__cta { gap: .7rem; }

/* Viewer overlay/modal */
.viewer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.viewer-modal--active { display: flex; }
.viewer-modal__close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.5rem;
  padding: .3rem .8rem;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}
.viewer-modal__close:hover { border-color: var(--cyan); color: var(--cyan); }
.viewer-modal iframe {
  width: 95vw;
  height: 85vh;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Filter tabs */
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-tab {
  padding: .55rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--text-muted);
}
.filter-tab:hover { border-color: var(--border-hover); color: var(--white); }
.filter-tab--active {
  border-color: var(--primary);
  color: var(--white);
  background: rgba(59,125,216,.1);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.form { max-width: 100%; }
.form__group { margin-bottom: 1.25rem; }
.form__label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .4rem;
}
.form__input, .form__textarea, .form__select {
  width: 100%;
  padding: .85rem 1.1rem;
  font-size: .92rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg-card);
  color: var(--white);
  appearance: none;
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,125,216,.15);
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-muted); }
.form__textarea { resize: vertical; min-height: 140px; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.contact-sidebar-card:hover { border-color: var(--border-hover); }
.contact-sidebar-card h3 { font-size: .95rem; margin-bottom: .75rem; }
.contact-sidebar-card p { font-size: .88rem; margin-bottom: .5rem; }
.contact-sidebar-card a { color: var(--cyan); font-weight: 500; }
.contact-sidebar-card--accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}
.contact-sidebar-card--accent h3 { color: var(--white); }
.contact-sidebar-card--accent p { color: rgba(255,255,255,.85); }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 1rem 0;
  font-size: .8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { margin: 0 .4rem; opacity: .4; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  margin-top: 60px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,.88), rgba(10,10,15,.5)),
    radial-gradient(ellipse at 20% 80%, rgba(59,125,216,.1) 0%, transparent 50%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__content h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero__content p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 550px; }

/* ============================================
   FEATURE CARDS (service pages)
   ============================================ */
.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 { margin-bottom: .75rem; font-size: 1.1rem; }
.feature-card p { font-size: .88rem; }

/* ============================================
   USE CASE CARDS
   ============================================ */
.use-case-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--cyan);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.use-case-card:hover { box-shadow: var(--shadow-glow); }
.use-case-card h3 { margin-bottom: .75rem; font-size: 1.1rem; }
.use-case-card p { font-size: .88rem; }

/* ============================================
   SPEC BLOCKS
   ============================================ */
.spec-block {
  background: rgba(59,125,216,.04);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(59,125,216,.1);
}
.spec-block h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer__brand p { font-size: .88rem; line-height: 1.7; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: .92rem; }
.footer__links a {
  display: block;
  padding: .3rem 0;
  font-size: .85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--cyan); }
.footer__links span {
  display: block;
  padding: .3rem 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--text-muted);
}
.footer__bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--cyan); }

/* ============================================
   SKIP TO CONTENT
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .service-intro { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav--open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0a0a0f;
    padding: 5rem 2rem 2rem;
    gap: .25rem;
    z-index: 1002;
    overflow-y: auto;
  }
  .nav--open .nav__item { width: 100%; }
  .nav--open .nav__link,
  .nav--open .nav__link:hover,
  .nav--open .nav__link--active { padding: .9rem 0; font-size: 1.1rem; color: #fff !important; }
  .nav--open .nav__dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 1rem;
  }
  .nav--open .nav__dropdown a { color: rgba(255,255,255,.7) !important; }
  .nav--open .nav__dropdown a:hover { color: #fff !important; }
  .header__cta--desktop { display: none; }
  /* Mobile CTA in nav */
  .nav--open .nav__mobile-cta {
    display: inline-flex;
    margin-top: 1rem;
  }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { min-height: 90vh; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat { padding: 1.5rem .75rem; }
  .stat__number { font-size: 2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .grid--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero__content h1 { font-size: 2rem; }
  .filter-tabs { gap: .35rem; }
  .filter-tab { padding: .45rem 1rem; font-size: .75rem; }
  .header__logo img { height: 24px; max-width: 120px; }
  .header__inner { padding: .5rem .75rem; }
  .hero__content { padding: 0 1rem; }
  .overline { font-size: .6rem; }

}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* --- Glow animation for tech elements --- */
@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(59,125,216,.1); }
  50% { box-shadow: 0 0 30px rgba(59,125,216,.2); }
}

/* ============================================
   TECH / GEEK ANIMATIONS
   ============================================ */

/* --- Typing cursor blink --- */
.typing-cursor::after {
  content: '|';
  color: var(--cyan);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* --- Terminal-style overline --- */
.overline--terminal {
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  letter-spacing: 1.5px;
}
.overline--terminal::before {
  content: '> ';
  color: var(--cyan);
  opacity: .7;
}

/* --- Glitch hover on headings --- */
.glitch-hover {
  position: relative;
}
.glitch-hover:hover {
  animation: glitch .3s ease;
}
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

/* --- Scan line effect on images --- */
.scan-effect {
  position: relative;
  overflow: hidden;
}
.scan-effect::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,212,255,.03) 45%,
    rgba(0,212,255,.08) 50%,
    rgba(0,212,255,.03) 55%,
    transparent 100%
  );
  pointer-events: none;
  transition: none;
}
.scan-effect:hover::after {
  animation: scanDown 1.2s ease forwards;
}
@keyframes scanDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Grid pulse background --- */
.hero__grid-pattern {
  animation: gridFade 6s ease-in-out infinite;
}
@keyframes gridFade {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

/* --- Floating particles (pure CSS) --- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}
.particles span:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.particles span:nth-child(2) { left: 25%; animation-duration: 12s; animation-delay: 2s; }
.particles span:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.particles span:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; }
.particles span:nth-child(5) { left: 70%; animation-duration: 9s; animation-delay: 3s; }
.particles span:nth-child(6) { left: 85%; animation-duration: 11s; animation-delay: 5s; }
.particles span:nth-child(7) { left: 15%; animation-duration: 13s; animation-delay: 6s; }
.particles span:nth-child(8) { left: 60%; animation-duration: 7s; animation-delay: 2.5s; }
@keyframes floatUp {
  0% { bottom: -5%; opacity: 0; transform: translateX(0) scale(.5); }
  10% { opacity: .6; }
  90% { opacity: .2; }
  100% { bottom: 105%; opacity: 0; transform: translateX(40px) scale(1); }
}

/* --- Tech badge pulse --- */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  border: 1px solid rgba(0,212,255,.2);
  color: var(--cyan);
  background: rgba(0,212,255,.05);
  animation: badgePulse 3s ease-in-out infinite;
}
.tech-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: dotPulse 2s ease infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,212,255,.1); }
  50% { box-shadow: 0 0 16px rgba(0,212,255,.2); }
}
@keyframes dotPulse {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* --- Code-style data readout --- */
.data-readout {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .72rem;
  color: var(--cyan);
  opacity: .5;
  letter-spacing: 1px;
}

/* --- Animated border glow on cards --- */
.card-glow {
  position: relative;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--cyan), var(--primary));
  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity .4s ease;
  animation: borderRotate 4s linear infinite;
}
.card-glow:hover::before {
  opacity: 1;
}
@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Stats counter terminal style --- */
.stat__number {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.stat__prefix {
  font-size: .65em;
  opacity: .5;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* --- Hero HUD corners --- */
.hud-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 3;
  opacity: .3;
}
.hud-corner--tl { top: 2rem; left: 2rem; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-corner--tr { top: 2rem; right: 2rem; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.hud-corner--bl { bottom: 5rem; left: 2rem; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-corner--br { bottom: 5rem; right: 2rem; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

/* --- Image corner brackets (tech viewfinder) --- */
.viewfinder {
  position: relative;
}
.viewfinder::before,
.viewfinder::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s ease;
}
.viewfinder::before {
  top: 8px; left: 8px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}
.viewfinder::after {
  bottom: 8px; right: 8px;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}
.viewfinder:hover::before,
.viewfinder:hover::after {
  opacity: .6;
}

/* --- Horizontal scrolling text ticker (tech) --- */
.tech-ticker {
  overflow: hidden;
  white-space: nowrap;
  background: rgba(0,212,255,.03);
  border-top: 1px solid rgba(0,212,255,.08);
  border-bottom: 1px solid rgba(0,212,255,.08);
  padding: .6rem 0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tech-ticker__inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Reveal with scale for cards --- */
.reveal-scale {
  opacity: 0;
  transform: scale(.95) translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-scale--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* --- Monospace accent text --- */
.mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* --- Tech separator line --- */
.tech-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  margin: 1.5rem auto;
  position: relative;
}
.tech-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: lineDot 3s ease infinite;
}
@keyframes lineDot {
  0%, 100% { left: 0; }
  50% { left: calc(100% - 6px); }
}

/* --- Hexagon background pattern (subtle) --- */
.hex-bg {
  position: relative;
}
.hex-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30,2 58,15 58,37 30,50 2,37 2,15' fill='none' stroke='%233B7DD8' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  pointer-events: none;
  opacity: .5;
}

/* --- SR Only --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
