/* ============================================
   LM DRONE — "Précision Aérienne" Design System
   Dark-glass header · cinematic hero · vivid
   gradient CTAs · conversion-first components
   ============================================ */


:root {
  /* Colors — crisp light base, deep navy dark, vivid green brand */
  --bg: #FCFDFE;
  --bg-2: #F0F5FB;          /* Blue-tinted off-white */
  --bg-3: #E3ECF7;
  --surface: #FFFFFF;
  --surface-2: #F0F5FB;
  --border: #E0E8F2;
  --border-2: #C3D2E4;
  --text: #081226;          /* Near-black navy for max contrast */
  --text-muted: #46566E;
  --text-dim: #7B8AA0;
  --accent: #0DA853;        /* Vivid professional green (brand) */
  --accent-2: #0A8A43;
  --accent-3: #086B35;
  --accent-soft: #E3F7EC;
  --accent-dim: #B5E5C9;
  --mint: #3FE08F;          /* Accent on dark surfaces */
  --blue: #2563EB;          /* Electric secondary blue */
  --blue-2: #1D4FBF;
  --blue-soft: #E8F0FE;
  --blue-dim: #BBD3F8;
  --dark: #050D1B;          /* Deep navy inverted section */
  --dark-2: #0B1B30;
  --dark-3: #122A47;
  --dark-border: #1B3354;
  --warn: #B45309;
  --success: #0DA853;

  /* Type */
  --font-display: "Space Grotesk", "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 80px; --sp-10: 96px;

  /* Radii — more generous, premium feel */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px; --r-full: 999px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle texture / detail */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(8,18,38,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8,18,38,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Typography */
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(42px, 5.6vw, 72px);
  text-wrap: balance;
  color: var(--text);
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(30px, 3.6vw, 46px);
  text-wrap: balance;
  color: var(--text);
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
  font-size: clamp(22px, 2.4vw, 30px);
  text-wrap: balance;
  color: var(--text);
}
.h-3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  border-radius: var(--r-full);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.eyebrow.on-dark {
  color: var(--mint);
  background: rgba(63,224,143,0.08);
  border-color: rgba(63,224,143,0.25);
}
.eyebrow.on-dark::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.lead {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
  max-width: 62ch;
}

.muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

section { padding: clamp(56px, 7vw, 96px) 0; }
section.tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Buttons — pill shaped, gradient, glow */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #11C063 0%, var(--accent) 45%, var(--accent-2) 100%);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 26px -10px rgba(13, 168, 83, 0.65);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::after { animation: shimmer 0.9s ease; }
}
.btn-primary:hover {
  background: linear-gradient(135deg, #13D06C 0%, #0FB75D 45%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 16px 34px -12px rgba(13, 168, 83, 0.75);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--text);
  color: #FFFFFF;
}
.btn-dark:hover { background: var(--dark-3); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn .arrow { transition: transform 0.2s ease; font-weight: 500; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header — dark glass, strong brand presence on every page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 27, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  background: rgba(5, 13, 27, 0.94);
  border-bottom-color: rgba(255,255,255,0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: #FFFFFF;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  border: 1px solid rgba(255,255,255,0.2);
}
.nav-brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  margin-top: 1px;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: #FFFFFF; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #FFFFFF; background: rgba(63,224,143,0.14); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-phone {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-phone:hover { color: var(--mint); }
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.2);
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

@media (max-width: 880px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
}

/* Mobile menu — dark to match header */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--dark);
  z-index: 90;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--dark-border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 15px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--dark-border);
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--dark-2);
}

/* ============================================
   HERO — cinematic dark, glow blobs, scan line
   ============================================ */
.hero {
  position: relative;
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(56px, 7vw, 100px);
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(37,99,235,0.22) 0%, transparent 60%),
    radial-gradient(900px 520px at -5% 110%, rgba(13,168,83,0.2) 0%, transparent 55%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  border-bottom: 1px solid var(--dark-border);
  overflow: hidden;
  color: #E6ECF4;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero .h-display, .hero h1 { color: #FFFFFF; }
.hero .lead { color: #A8B6C9; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  font-size: 12px;
  color: #D5DEEA;
  margin-bottom: 24px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-tag span {
  background: rgba(63,224,143,0.15);
  color: var(--mint);
  border: 1px solid rgba(63,224,143,0.3);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.hero-tag span::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--mint);
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, var(--mint) 0%, #36C9F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--mint);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}
.hero .btn-ghost:hover {
  background: #FFFFFF;
  color: var(--dark);
  border-color: #FFFFFF;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats > div { padding-right: 24px; position: relative; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1;
}
.hero-stats .stat-num span { color: #8FA0B5; font-weight: 500; font-size: 0.55em; margin-left: 2px; }
.hero-stats .stat-label {
  font-size: 12px;
  color: #8FA0B5;
  margin-top: 8px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(63,224,143,0.08),
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 0 60px -20px rgba(63,224,143,0.15);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* scanning line overlay — 'drone inspection' feel */
.hero-visual::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 22%;
  background: linear-gradient(to bottom, rgba(63,224,143,0.35), transparent);
  border-top: 1px solid rgba(63,224,143,0.7);
  z-index: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-visual::after { animation: scanLine 6s ease-in-out infinite; }
}
.hero-visual .floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(8, 20, 38, 0.88);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px -8px rgba(0,0,0,0.4);
}
.floating-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--mint);
}
.floating-badge .meta {
  font-size: 10.5px;
  color: #8FA0B5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.floating-badge .title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 1px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== Animation keyframes ===== */
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -30px) scale(1.08); }
  66%  { transform: translate(-30px, 24px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes blobFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-44px, 30px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes droneBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(320%) skewX(-20deg); }
}
@keyframes heroIn {
  0%   { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes scanLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(540%); opacity: 0; }
}

/* Animated background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-green { background: radial-gradient(circle, rgba(13,168,83,0.5), transparent 70%); }
.blob-blue  { background: radial-gradient(circle, rgba(37,99,235,0.45), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .blob-green { animation: blobFloat 18s ease-in-out infinite; }
  .blob-blue  { animation: blobFloat2 22s ease-in-out infinite; }
}

/* Remove old ambient */
.ambient-grid, .ambient-glow { display: none; }

/* Trust strip (dark band, glow separators) */
.trust-strip {
  background: var(--dark);
  color: #D7DDE5;
  padding: 22px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  position: relative;
}
.trust-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,224,143,0.5), transparent);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #B6BDC8;
  font-weight: 500;
}
.trust-item strong { color: #FFFFFF; font-weight: 600; }
.trust-item svg { color: var(--mint); flex-shrink: 0; }

/* Section header */
.section-head {
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 680px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 14px; }

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 3;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: 0 28px 50px -24px rgba(8, 18, 38, 0.35);
}
.service-card .img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
}
.service-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .img-wrap img { transform: scale(1.04); }

.service-card .content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.service-card h3 { font-size: 17px; line-height: 1.3; }
.service-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  flex: 1;
  margin-top: 4px;
}
.service-card .link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.service-card .link:hover { gap: 9px; }

.service-card.span-6 { grid-column: span 6; }
.service-card.span-4 { grid-column: span 4; }
.service-card.span-3 { grid-column: span 3; }
.service-card.span-12 { grid-column: span 12; }

@media (max-width: 880px) {
  .service-card.span-6,
  .service-card.span-4,
  .service-card.span-3 { grid-column: span 12; }
}

/* Before / After */
.ba-section {
  position: relative;
  background:
    radial-gradient(800px 400px at 100% 0%, var(--blue-soft) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ba-section > .container { position: relative; z-index: 1; }
.ba-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  user-select: none;
  cursor: ew-resize;
  box-shadow: 0 30px 60px -30px rgba(8,18,38,0.35);
}
.ba-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  border: 1px solid var(--border);
}
.ba-handle::after {
  content: "⇆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
  pointer-events: none;
}
.ba-label {
  position: absolute;
  top: 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: rgba(8,18,38,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 2;
  font-weight: 600;
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ba-label.left { left: 16px; }
.ba-label.right { right: 16px; color: var(--mint); border-color: rgba(63,224,143,0.4); }

/* Advantages */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
.adv-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.adv-item:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(8,18,38,0.3);
}
.adv-item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.adv-item h3 { font-size: 17px; }
.adv-item p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.adv-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 8px 18px -8px rgba(5,13,27,0.5);
}

/* Process — dark inverted section */
.process-section {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #E1E5EA;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  pointer-events: none;
}
.process-section > .container { position: relative; }
.process-section .section-head h2 { color: #FFFFFF; }
.process-section .section-head .lead { color: #A8B6C9; }
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .process-list { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.process-step:hover {
  border-color: rgba(63,224,143,0.35);
  background: rgba(63,224,143,0.04);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: rgba(63, 224, 143, 0.08);
  border: 1px solid rgba(63, 224, 143, 0.25);
  border-radius: 50%;
  font-size: 15px;
  box-shadow: 0 0 20px -6px rgba(63,224,143,0.3);
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; color: #FFFFFF; }
.process-step p { color: #A8B6C9; font-size: 14px; line-height: 1.6; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(8,18,38,0.82);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gallery-item.big { grid-column: span 6; grid-row: span 2; }
.gallery-item.med { grid-column: span 3; grid-row: span 2; }
.gallery-item.sm { grid-column: span 3; grid-row: span 1; }
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.big { grid-column: span 2; }
  .gallery-item.med, .gallery-item.sm { grid-column: span 1; }
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.testimonial:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(8,18,38,0.28);
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent-soft);
  font-weight: 700;
  pointer-events: none;
}
.testimonial .stars {
  display: flex;
  gap: 1px;
  color: #F59E0B;
}
.testimonial blockquote {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.testimonial .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--blue-soft));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--accent-dim);
}
.testimonial .author-info { font-size: 13px; }
.testimonial .author-info strong { display: block; font-weight: 600; color: var(--text); }
.testimonial .author-info span { color: var(--text-muted); font-size: 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.25s ease, border-color 0.15s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-q .icon {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 14px -3px rgba(13,168,83,0.5);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14.5px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 20px;
}

/* Pricing — dark glow card */
.pricing-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 70%, var(--dark-3) 100%);
  color: #FFFFFF;
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(5,13,27,0.6);
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(63, 224, 143, 0.22), transparent 60%);
  filter: blur(20px);
}
.pricing-card > * { position: relative; }
.pricing-card .eyebrow {
  color: var(--mint);
  background: rgba(63,224,143,0.08);
  border-color: rgba(63,224,143,0.25);
}
.pricing-card .eyebrow::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
}
.pricing-card .price-unit {
  font-size: 13px;
  color: #A8B6C9;
  display: block;
  margin-top: 6px;
  font-weight: 500;
}
.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 20px;
}
.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #D7DDE5;
}
.pricing-card li svg { color: var(--mint); flex-shrink: 0; }
@media (max-width: 720px) { .pricing-card { grid-template-columns: 1fr; padding: 28px; } }

/* CTA section — dark navy with green glow (premium close) */
.cta-section {
  background:
    radial-gradient(700px 380px at 50% 110%, rgba(13,168,83,0.3) 0%, transparent 60%),
    radial-gradient(600px 320px at 90% -20%, rgba(37,99,235,0.18) 0%, transparent 60%),
    var(--dark);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--dark-border);
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > .container { position: relative; }
.cta-section h2 { color: #FFFFFF; }
.cta-section h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--mint) 0%, #36C9F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--mint);
}
.cta-section .eyebrow {
  color: var(--mint);
  background: rgba(63,224,143,0.08);
  border-color: rgba(63,224,143,0.25);
}
.cta-section .eyebrow::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.cta-section .lead { margin: 18px auto 28px; color: #A8B6C9; }
.cta-section .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-ghost { background: rgba(255,255,255,0.04); color: #FFFFFF; border-color: rgba(255,255,255,0.3); }
.cta-section .btn-ghost:hover { background: #FFFFFF; color: var(--dark); border-color: #FFFFFF; }

/* Footer — deep navy */
.site-footer {
  background: var(--dark);
  color: #B6BDC8;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--dark-border);
}
.site-footer .nav-brand { color: #FFFFFF; }
.site-footer .nav-brand small { color: var(--mint); }
.site-footer .footer-brand-block p { color: #8A95A3; }
.site-footer .footer-col h4 { color: #FFFFFF; }
.site-footer .footer-col a { color: #B6BDC8; }
.site-footer .footer-col a:hover { color: var(--mint); }
.site-footer .footer-bottom { border-color: var(--dark-border); color: #7A8593; }
.site-footer .footer-bottom .legal a:hover { color: var(--mint); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-border);
  color: #B6BDC8;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.footer-brand-block p { font-size: 13.5px; line-height: 1.6; max-width: 36ch; }
.footer-col h4 {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13.5px; transition: color 0.15s ease; }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
}
.footer-bottom .legal { display: flex; gap: 16px; }

/* Floating CTA (desktop) */
.floating-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-cta a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #11C063, var(--accent-2));
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(13, 168, 83, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.floating-cta a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -8px rgba(13,168,83,0.7); }
@media (max-width: 880px) { .floating-cta { display: none; } }

/* Sticky mobile CTA bar (injected by shared.js) */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 85;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 13, 27, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
}
@media (max-width: 880px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}
.mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 14px;
}
.mobile-cta-bar .bar-call {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.2);
}
.mobile-cta-bar .bar-devis {
  background: linear-gradient(135deg, #11C063 0%, var(--accent) 45%, var(--accent-2) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(13,168,83,0.6);
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 24px 50px -32px rgba(8,18,38,0.25);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.radio-group { display: flex; gap: 6px; }
.radio-group label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s ease;
  background: var(--bg);
}
.radio-group input { display: none; }
.radio-group input:checked + label,
.radio-group label.checked {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 16px -8px rgba(13,168,83,0.6);
}

/* Page header (sub-pages) — blue-washed light, textured */
.page-header {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(36px, 4.5vw, 56px);
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 90% -20%, var(--blue-soft) 0%, transparent 60%),
    radial-gradient(700px 380px at -10% 120%, var(--accent-soft) 0%, transparent 55%),
    var(--bg);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8,18,38,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8,18,38,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--accent); }

/* Reveal — content is visible by default; only hidden/animated when JS arms it
   and the user allows motion, so print, reduced-motion and any stalled-transition
   context always shows content. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }

  /* Hero staggered entrance — transition-based (reliable), JS toggles .pre.
     Base state is VISIBLE so content never gets stuck hidden. */
  html.js .hero-anim > * { transition: opacity 0.6s ease, transform 0.6s ease; }
  html.js .hero-anim-visual { transition: opacity 0.8s ease, transform 0.8s ease; }
  html.js .hero-anim.pre > * { opacity: 0; transform: translateY(20px); }
  html.js .hero-anim-visual.pre { opacity: 0; transform: translateY(20px) scale(0.985); }
  html.js .hero-anim > *:nth-child(1) { transition-delay: 0.05s; }
  html.js .hero-anim > *:nth-child(2) { transition-delay: 0.13s; }
  html.js .hero-anim > *:nth-child(3) { transition-delay: 0.21s; }
  html.js .hero-anim > *:nth-child(4) { transition-delay: 0.29s; }
  html.js .hero-anim > *:nth-child(5) { transition-delay: 0.37s; }
  html.js .hero-anim-visual { transition-delay: 0.2s; }
}

/* Legal / prose pages */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 36px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 8px;
}
.prose p, .prose li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.prose ul { padding-left: 20px; margin-bottom: 12px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .legal-meta {
  font-size: 13px;
  color: var(--text-dim);
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 28px;
}

/* Utility */
.flex { display: flex; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }

::selection { background: var(--accent); color: #FFFFFF; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ============================================
   SIGNATURE ANIMATIONS — distinctive motion layer
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Typewriter word rotator (hero) */
.type-wrap { white-space: nowrap; }
.type-words {
  color: var(--mint);
  border-right: 3px solid var(--mint);
  padding-right: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .type-words { animation: caretBlink 1.1s steps(1) infinite; }
}
@keyframes caretBlink {
  0%, 60% { border-color: var(--mint); }
  61%, 100% { border-color: transparent; }
}

/* Animated gradient sweep on highlighted words */
.hero h1 em, .cta-section h2 em {
  background-size: 220% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 em, .cta-section h2 em { animation: gradientShift 5s ease-in-out infinite; }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Ken Burns — slow living zoom on the hero photo */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual img { animation: kenBurns 20s ease-in-out infinite alternate; }
}
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1.5%, 1.5%); }
}

/* Film grain on the dark hero for a cinematic finish */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* Drone flying across the hero (injected by shared.js) */
.drone-flyer {
  position: absolute;
  top: 10%;
  left: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.4));
  animation: droneFly 36s linear infinite;
}
.drone-flyer svg { display: block; animation: droneBob 3.2s ease-in-out infinite; }
.drone-flyer .props { animation: propFlicker 0.16s steps(2) infinite; }
.drone-flyer .led { animation: pulse 1.3s infinite; }
@keyframes droneFly {
  0%   { transform: translateX(-140px); }
  100% { transform: translateX(calc(100vw + 140px)); }
}
@keyframes propFlicker { 50% { opacity: 0.3; } }

/* Trust strip — infinite marquee (armed by shared.js) */
.trust-strip .container { overflow: hidden; }
.trust-grid.marquee-on {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 56px;
  animation: marquee 30s linear infinite;
}
.trust-grid.marquee-on:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-shrink: 0;
}
.marquee-group .trust-item { white-space: nowrap; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 28px)); }
}

/* Cinematic image reveals — photos wipe in when scrolled into view */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal .img-wrap img,
  html.js .reveal .gallery-item img,
  html.js .service-detail-img.reveal img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.95s cubic-bezier(0.77, 0, 0.18, 1), transform 0.5s ease;
  }
  html.js .reveal.in .img-wrap img,
  html.js .reveal.in .gallery-item img,
  html.js .service-detail-img.reveal.in img {
    clip-path: inset(0 0 0 0);
  }
  /* gallery cascade */
  html.js .reveal .gallery-item:nth-child(2) img { transition-delay: 0.08s; }
  html.js .reveal .gallery-item:nth-child(3) img { transition-delay: 0.16s; }
  html.js .reveal .gallery-item:nth-child(4) img { transition-delay: 0.24s; }
  html.js .reveal .gallery-item:nth-child(5) img { transition-delay: 0.32s; }
  html.js .reveal .gallery-item:nth-child(6) img { transition-delay: 0.40s; }
  html.js .reveal .gallery-item:nth-child(7) img { transition-delay: 0.48s; }
}

/* Scroll progress bar (injected by shared.js) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--mint), #36C9F0);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(63,224,143,0.5);
}

/* Before/after handle — pulsing invitation until first touch */
@media (prefers-reduced-motion: no-preference) {
  .ba-wrap:not(.touched) .ba-handle::before { animation: handlePulse 2.2s ease-in-out infinite; }
}
@keyframes handlePulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 0 0 0 rgba(13,168,83,0.5); }
  50%      { box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 0 0 16px rgba(13,168,83,0); }
}

/* Floating phone CTA — radiating ring */
.floating-cta a { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .floating-cta a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(13,168,83,0.55);
    animation: ctaRing 2.4s ease-out infinite;
  }
}
@keyframes ctaRing {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Mobile CTA bar slides up on load */
@media (prefers-reduced-motion: no-preference) {
  .mobile-cta-bar { animation: barUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }
}
@keyframes barUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

/* Cards get a smooth transform for the 3D tilt (JS-driven) */
.service-card, .adv-item, .hero-visual { will-change: transform; }

/* Inline 2-col content grids stack on mobile (inline styles need !important) */
@media (max-width: 880px) {
  .local-grid { grid-template-columns: 1fr !important; }
  .callout-cta { text-align: left !important; }
}
