/* ═══════════════════════════════════════════
   PRIBOX — main.css
   Theme: dark (default) / light
   ═══════════════════════════════════════════ */

/* ── THEME TOKENS ── */
:root {
  --blue:    #00619c;
  --blue-lt: #2280c4;
  --blue-dk: #004d7a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-ui:      'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --transition-theme: background .35s ease, color .35s ease, border-color .35s ease;
}

/* Dark theme (default) */
:root, [data-theme="dark"] {
  --bg:        #080810;
  --bg2:       #0E0E18;
  --bg3:       #111120;
  --text:      #F0EDE8;
  --text-dim:  rgba(240,237,232,0.55);
  --text-muted:rgba(240,237,232,0.35);
  --border:    rgba(255,255,255,0.07);
  --grey:      #8A8A9A;
  --card-bg:   #0E0E18;
  --card-hover:#111120;
  --nav-bg:    rgba(8,8,16,0.88);
  --shadow:    0 4px 30px rgba(0,0,0,0.4);
  --glow:      rgba(0,97,156,0.2);
  --grid-color:rgba(0,97,156,0.06);
  --noise-op:  0.028;
}

/* Light theme */
[data-theme="light"] {
  --bg:        #F5F4F0;
  --bg2:       #ECEAE4;
  --bg3:       #FFFFFF;
  --text:      #0A0A14;
  --text-dim:  rgba(10,10,20,0.58);
  --text-muted:rgba(10,10,20,0.35);
  --border:    rgba(0,0,0,0.09);
  --grey:      #6A6A7A;
  --card-bg:   #FFFFFF;
  --card-hover:#F8F7F3;
  --nav-bg:    rgba(245,244,240,0.88);
  --shadow:    0 4px 30px rgba(0,0,0,0.08);
  --glow:      rgba(0,97,156,0.12);
  --grid-color:rgba(0,97,156,0.05);
  --noise-op:  0.018;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  transition: var(--transition-theme);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }

/* ── CURSOR ── */
#cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  transition: width .15s, height .15s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px;
  border: 1.5px solid rgba(0,97,156,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998; transform: translate(-50%,-50%);
  transition: width .35s cubic-bezier(.175,.885,.32,1.275),
              height .35s cubic-bezier(.175,.885,.32,1.275),
              border-color .35s;
}
body.cursor-hover #cursor-dot { width: 14px; height: 14px; }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: var(--blue); }

/* ── NOISE OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--noise-op); pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-bottom .4s;
}
nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 60px;
  border-bottom: 1px solid var(--border);
}
.nav-logo { flex-shrink: 0; }
.nav-logo svg { height: 50px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 36px; list-style: none;
  font-family: var(--font-ui); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.nav-links a {
  position: relative; color: var(--text-dim);
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--blue);
  transition: width .3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Nav controls (theme + lang + cta) */
.nav-controls {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.nav-cta {
  font-family: var(--font-ui); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: 1.5px solid var(--blue); color: var(--blue);
  padding: 9px 22px; border-radius: 2px;
  transition: background .25s, color .25s, box-shadow .25s;
}
.nav-cta:hover {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 28px rgba(0,97,156,0.35);
}
/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent; cursor: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); transition: color .25s, border-color .25s, background .25s;
}
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
/* ── Logo light version : BOX + tagline passent en noir foncé ── */
[data-theme="light"] .nav-logo .st1     { fill: #231f20 !important; }
[data-theme="light"] .footer-brand .stf1 { fill: #231f20 !important; }
/* Lang toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 0;
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
}
.lang-btn {
  padding: 8px 12px; cursor: none; background: transparent;
  color: var(--text-muted); border: none;
  transition: background .2s, color .2s;
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.lang-btn.active { background: var(--blue); color: #fff; }
.lang-btn:not(.active):hover { color: var(--text); }

/* ── HAMBURGER ── */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; cursor: none; padding: 4px 0; background: none; border: none;
}
.nav-burger span {
  display: block; height: 1.5px; background: var(--text);
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s, width .35s;
  transform-origin: left center;
}
.nav-burger span:nth-child(2) { width: 70%; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translateY(-1px); width: 100%; }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translateY(1px); width: 100%; }

/* ── MOBILE DRAWER ── */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s cubic-bezier(.4,0,.2,1);
}
.nav-drawer.open { opacity: 1; pointer-events: all; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 64px);
  letter-spacing: 0.06em; color: var(--text-dim);
  transition: color .2s, transform .3s;
  transform: translateY(20px);
}
.nav-drawer.open a { color: var(--text); transform: translateY(0); }
.nav-drawer.open a:nth-child(1) { transition-delay: .05s; }
.nav-drawer.open a:nth-child(2) { transition-delay: .1s; }
.nav-drawer.open a:nth-child(3) { transition-delay: .15s; }
.nav-drawer.open a:nth-child(4) { transition-delay: .2s; }
.nav-drawer a:hover { color: var(--blue); }
.nav-drawer-cta {
  margin-top: 20px;
  background: var(--blue); color: #fff !important;
  padding: 14px 36px; border-radius: 2px;
  font-family: var(--font-ui); font-size: 13px !important;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  transform: translateY(20px);
}
.nav-drawer.open .nav-drawer-cta { transform: translateY(0); transition-delay: .25s; }
.nav-drawer-tel {
  margin-top: 6px;
  font-family: var(--font-ui); font-size: 12px !important;
  letter-spacing: 0.15em; color: var(--grey) !important;
  transform: translateY(20px);
}
.nav-drawer.open .nav-drawer-tel { transform: translateY(0); transition-delay: .3s; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 140px 60px 80px; overflow: hidden;
}

/* ── Hero text content (above everything) ── */
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 62%;
  max-width: 1000px;
}

/* ── Full-bleed background image (absolute, covers entire hero) ── */
.hero-visual {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
}
.hero-visual-glow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(0,97,156,0.14) 0%, transparent 65%);
}
.hero-visual-frame {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 75% center;
  display: block;
  filter: brightness(0.78) saturate(0.95);
}

/* ── Overlay: dark zone covering ~65% of hero for wide content area ── */
.hero-visual-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(8,8,16,0.97) 0%,
    rgba(8,8,16,0.95) 38%,
    rgba(8,8,16,0.80) 56%,
    rgba(8,8,16,0.35) 72%,
    rgba(8,8,16,0.08) 86%,
    transparent 100%
  );
}
/* Top & bottom fade for seamless section transition */
.hero-visual-frame::before {
  display: block;
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(8,8,16,0.6) 0%,
    transparent 14%,
    transparent 80%,
    rgba(8,8,16,0.7) 100%
  );
}
/* Subtle blue tint overlay on right side */
.hero-visual-frame::after {
  display: block;
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to left, rgba(0,97,156,0.12) 0%, transparent 55%);
}

/* Badge — bottom right corner of hero */
.hero-visual-badge {
  position: absolute; bottom: 40px; right: 50px; z-index: 5;
  background: rgba(8,8,16,0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,97,156,0.4);
  border-radius: 30px; padding: 9px 18px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(240,237,232,0.9); font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.hero-visual-badge svg { color: var(--blue); flex-shrink: 0; }

/* Floating tags — right side, over the visible image area */
.hero-visual-tag {
  position: absolute; z-index: 5;
  background: rgba(0,97,156,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,97,156,0.6);
  border-radius: 8px; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,97,156,0.45);
}
.hvt-icon { display: flex; align-items: center; opacity: 0.9; }
.hero-visual-tag-1 {
  top: 32%; right: 52px;
  animation: float-tag 4s ease-in-out infinite;
}
.hero-visual-tag-2 {
  top: 50%; right: 52px;
  animation: float-tag 5s ease-in-out 1s infinite reverse;
}
@keyframes float-tag {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-7px); }
}

/* Light mode */
[data-theme="light"] .hero-visual-overlay {
  background: linear-gradient(
    to right,
    rgba(245,244,240,0.97) 0%,
    rgba(245,244,240,0.90) 22%,
    rgba(245,244,240,0.62) 42%,
    rgba(245,244,240,0.22) 62%,
    rgba(245,244,240,0.05) 80%,
    transparent 100%
  );
}
[data-theme="light"] .hero-visual-frame::before {
  background: linear-gradient(
    to bottom,
    rgba(245,244,240,0.55) 0%,
    transparent 14%,
    transparent 80%,
    rgba(245,244,240,0.65) 100%
  );
}
[data-theme="light"] .hero-visual-frame img {
  filter: brightness(0.85) saturate(0.88);
}
[data-theme="light"] .hero-visual-badge {
  background: rgba(245,244,240,0.88);
  border-color: rgba(0,97,156,0.25);
  color: rgba(10,10,20,0.88);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  top: -100px; right: -150px;
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; z-index: 0;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  bottom: 50px; left: 200px;
  animation: glow-pulse 8s ease-in-out infinite reverse;
}
@keyframes glow-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.1); }
}
.hero-eyebrow {
  font-family: var(--font-ui); font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blue); font-weight: 600;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--blue); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(72px, 13vw, 175px);
  line-height: 0.92; letter-spacing: 0.02em;
  margin-top: 20px; margin-bottom: 30px;
  width: 100%;
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .line span {
  display: inline-block;
  opacity: 0; transform: translateY(100%);
  animation: slideUp .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-headline .line:nth-child(1) span { animation-delay: .45s; }
.hero-headline .line:nth-child(2) span { animation-delay: .6s; }
.hero-headline .line:nth-child(3) span { animation-delay: .75s; }
.hl-blue { color: var(--blue); }
@keyframes slideUp { to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.hero-sub {
  width: 100%; max-width: 720px; font-size: 17px;
  color: var(--text-dim); line-height: 1.75; font-weight: 300;
  opacity: 0; animation: fadeUp .8s .9s forwards;
}
.hero-actions {
  display: flex; gap: 20px; margin-top: 44px; align-items: center;
  opacity: 0; animation: fadeUp .8s 1.1s forwards;
}
.btn-primary {
  font-family: var(--font-ui); font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  background: var(--blue); color: #fff;
  padding: 16px 38px; border-radius: 2px; border: none; cursor: none;
  transition: background .25s, box-shadow .25s, transform .2s;
}
.btn-primary:hover {
  background: var(--blue-lt);
  box-shadow: 0 8px 40px rgba(0,97,156,0.45);
  transform: translateY(-2px);
}
.btn-ghost {
  font-family: var(--font-ui); font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--text-dim); cursor: none;
  display: flex; align-items: center; gap: 10px;
  transition: color .25s;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost svg { transition: transform .3s; }
.btn-ghost:hover svg { transform: translateX(5px); }
.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 60px; z-index: 6;
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp .8s 1.5s forwards;
}
.hero-scroll-indicator::before {
  content: ''; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--blue));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { height: 0; opacity: 0; }
  50%  { height: 60px; opacity: 1; }
  100% { height: 0; opacity: 0; }
}
.hero-stats {
  display: flex; gap: 60px; margin-top: 70px;
  padding-top: 40px; border-top: 1px solid var(--border);
  flex-wrap: wrap; width: 100%;
  opacity: 0; animation: fadeUp .8s 1.2s forwards;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display); font-size: 48px;
  color: var(--text); line-height: 1; letter-spacing: 0.02em;
}
.stat-label {
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey);
}
.stat-number em { font-style: normal; color: var(--blue); font-size: 0.65em; vertical-align: super; }

/* ── MARQUEE ── */
.marquee-section {
  position: relative; padding: 28px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; background: var(--bg2); z-index: 2;
  transition: var(--transition-theme);
}
.marquee-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.marquee-item {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--grey); display: flex; align-items: center; gap: 60px; flex-shrink: 0;
}
.marquee-item .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ── SECTION COMMONS ── */
section { position: relative; z-index: 2; transition: var(--transition-theme); }
.section-tag {
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blue); font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ''; width: 28px; height: 1px; background: var(--blue); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 1; letter-spacing: 0.02em; margin-top: 14px;
  color: var(--text);
}

/* ── SERVICES ── */
#services { padding: 120px 60px; background: var(--bg); }
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 80px;
}
.services-intro { max-width: 560px; }
.services-intro p { margin-top: 24px; color: var(--text-dim); font-size: 16px; line-height: 1.8; font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.service-card {
  background: var(--card-bg); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: background .35s, box-shadow .35s;
}
[data-theme="light"] .service-card { box-shadow: inset 0 0 0 1px var(--border); }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.service-card:hover { background: var(--card-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-number {
  font-family: var(--font-display); font-size: 64px;
  color: rgba(0,97,156,0.12); line-height: 1; margin-bottom: 28px;
  transition: color .35s;
}
.service-card:hover .service-number { color: rgba(0,97,156,0.22); }
.service-icon { width: 48px; height: 48px; margin-bottom: 24px; color: var(--blue); }
.service-title {
  font-family: var(--font-ui); font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 14px; color: var(--text);
}
.service-desc { font-size: 14px; color: var(--text-dim); line-height: 1.75; font-weight: 300; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.service-tag {
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(0,97,156,0.35); color: var(--blue);
  padding: 5px 12px; border-radius: 1px;
}
.service-card-large { grid-column: span 2; }

/* ── APPROACH ── */
#approach {
  padding: 120px 60px; background: var(--bg2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.approach-visual {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.approach-ring { position: absolute; border-radius: 50%; border: 1px solid var(--border); }
.approach-ring:nth-child(1) { width:100%; height:100%; }
.approach-ring:nth-child(2) { width:75%; height:75%; border-color:rgba(0,97,156,0.2); animation:spin 20s linear infinite; }
.approach-ring:nth-child(3) { width:50%; height:50%; border-color:rgba(0,97,156,0.35); animation:spin 14s linear infinite reverse; }
@keyframes spin { to { transform:rotate(360deg); } }
.approach-center {
  position: relative; z-index: 2;
  width: 120px; height: 120px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(0,97,156,0.4);
}
.approach-center svg { width: 52px; height: 52px; color: #fff; }
.approach-dots { position: absolute; inset: 0; }
.approach-dot {
  position: absolute; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%; box-shadow: 0 0 12px var(--blue);
}
.approach-content .section-title { margin-bottom: 30px; }
.approach-content p { color: var(--text-dim); font-size: 16px; line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.approach-items { margin-top: 48px; display: flex; flex-direction: column; }
.approach-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.approach-item:first-child { border-top: 1px solid var(--border); }
.approach-item-num { font-family: var(--font-display); font-size: 28px; color: var(--blue); line-height: 1; flex-shrink: 0; width: 36px; }
.approach-item-text h4 { font-family: var(--font-ui); font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.approach-item-text p { font-size: 13px; color: var(--grey); margin: 0; font-weight: 300; line-height: 1.6; }

/* ── WORK ── */
#work { padding: 120px 60px; background: var(--bg); }
.work-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 2px; }
.work-item { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg2); cursor: none; }
.work-item:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 560px; }
.work-bg { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.work-item:hover .work-bg { transform: scale(1.06); }
.work-bg-1 { background: linear-gradient(135deg,#0D1B2A 0%,#1a3a5c 50%,#0D1B2A 100%); }
.work-bg-2 { background: linear-gradient(135deg,#0D1B2A 0%,#112244 100%); }
.work-bg-3 { background: linear-gradient(135deg,#0D2A1B 0%,#1a4a3c 100%); }
[data-theme="light"] .work-bg-1 { background: linear-gradient(135deg,#1a3a5c 0%,#2a5a8c 100%); }
[data-theme="light"] .work-bg-2 { background: linear-gradient(135deg,#1a2a5c 0%,#2a3a8c 100%); }
[data-theme="light"] .work-bg-3 { background: linear-gradient(135deg,#1a4c2a 0%,#2a6c3a 100%); }
.work-pattern {
  position: absolute; inset: 0; opacity: 0.12;
  background-image: repeating-linear-gradient(45deg,rgba(0,97,156,0.4) 0,rgba(0,97,156,0.4) 1px,transparent 0,transparent 50%);
  background-size: 30px 30px;
}
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,16,0.88) 0%,transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
}
.work-category { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.work-title { font-family: var(--font-ui); font-size: 22px; font-weight: 700; color: #fff; }
.work-arrow {
  position: absolute; top: 28px; right: 28px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .3s;
}
.work-item:hover .work-arrow { opacity: 1; transform: translateY(0); background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── METRICS ── */
#metrics {
  padding: 100px 60px; background: var(--blue);
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
  position: relative; overflow: hidden; z-index: 2;
}
#metrics::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.06; pointer-events: none;
}
.metric-item { text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.metric-num { font-family: var(--font-display); font-size: 80px; color: #fff; line-height: 1; letter-spacing: 0.02em; }
.metric-num sup { font-size: 0.45em; vertical-align: super; }
.metric-label { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ── TESTIMONIAL ── */
#testimonial {
  padding: 120px 60px; background: var(--bg2);
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center;
}
.testimonial-side .section-tag { margin-bottom: 20px; }
.testimonial-side h3 { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--text); letter-spacing: 0.02em; }
.testimonial-content blockquote {
  font-family: var(--font-ui); font-size: clamp(20px,2.5vw,30px);
  font-weight: 600; line-height: 1.4; color: var(--text);
  position: relative; padding-left: 36px;
}
.testimonial-content blockquote::before {
  content: '"'; position: absolute; left: 0; top: -10px;
  font-family: var(--font-display); font-size: 80px; color: var(--blue); line-height: 1;
}
.testimonial-author { margin-top: 36px; display: flex; align-items: center; gap: 18px; }
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-info .name { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--text); }
.author-info .role { font-size: 13px; color: var(--grey); margin-top: 2px; }

/* ── CONTACT ── */
#contact { padding: 120px 60px; background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info .section-title { margin-bottom: 24px; }
.contact-info > p { color: var(--text-dim); font-size: 16px; line-height: 1.8; font-weight: 300; margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; gap: 18px; align-items: flex-start; }
.cd-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(0,97,156,0.3); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.cd-text .label { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 3px; }
.cd-text .value { font-size: 15px; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { position: relative; }
.form-group input, .form-group textarea {
  width: 100%; background: var(--bg2);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  padding: 18px 18px 10px; border-radius: 2px;
  outline: none; transition: border-color .25s, background .35s;
  -webkit-appearance: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group label {
  position: absolute; top: 14px; left: 18px;
  font-size: 13px; color: var(--grey); font-family: var(--font-ui);
  letter-spacing: 0.05em; transition: top .2s, font-size .2s, color .2s; pointer-events: none;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 6px; font-size: 10px; color: var(--blue); letter-spacing: 0.15em; text-transform: uppercase;
}
.form-group input::placeholder, .form-group textarea::placeholder { opacity: 0; }
.form-submit {
  background: transparent; border: 1.5px solid var(--blue); color: var(--blue);
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px 40px; border-radius: 2px; cursor: none;
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
  align-self: flex-start; display: flex; align-items: center; gap: 12px;
}
.form-submit:hover {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 40px rgba(0,97,156,0.4); transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 60px 60px 40px; position: relative; z-index: 2;
  transition: var(--transition-theme);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border);
}
.footer-nav-group h5 {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 18px;
}
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group ul li a { font-size: 14px; color: var(--grey); transition: color .2s; }
.footer-nav-group ul li a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: var(--grey); font-family: var(--font-ui); }
.footer-social { display: flex; gap: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--grey);
  transition: color .2s, border-color .2s, background .2s;
}
.social-link:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.admin-link {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color .2s; padding: 4px 0;
}
.admin-link:hover { color: var(--blue); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,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; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE 1024px ── */
@media (max-width: 1024px) {
  nav { padding: 16px 30px; }
  nav.scrolled { padding: 12px 30px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  #hero { padding: 120px 30px 80px; }
  .hero-content { max-width: 100%; }
  .hero-visual-tag-1 { top: 32%; right: 24px; }
  .hero-visual-tag-2 { top: 50%; right: 24px; }
  .hero-visual-badge { bottom: 30px; right: 24px; }
  .hero-scroll-indicator { left: 30px; }
  #services, #work, #contact { padding: 80px 30px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-large { grid-column: span 1; }
  #approach { padding: 80px 30px; grid-template-columns: 1fr; }
  .approach-visual { max-width: 280px; margin: 0 auto; order: 2; }
  .approach-content { order: 1; }
  #metrics { grid-template-columns: repeat(2,1fr); padding: 60px 30px; }
  #testimonial { padding: 80px 30px; grid-template-columns: 1fr; }
  #contact { grid-template-columns: 1fr; }
  footer { padding: 50px 30px 30px; }
  .footer-top { flex-wrap: wrap; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item:first-child { grid-row: span 1; min-height: 320px; }
}
/* ── RESPONSIVE 640px ── */
@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  .nav-logo svg { height: 42px; }
  #hero { padding: 110px 20px 70px; }
  .hero-visual-tag-1, .hero-visual-tag-2 { display: none; }
  .hero-visual-badge { bottom: 20px; right: 20px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-headline { font-size: clamp(52px, 15vw, 72px); }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-primary { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { gap: 24px; padding-top: 30px; margin-top: 50px; }
  .stat-number { font-size: 34px; }
  .hero-scroll-indicator { display: none; }
  .section-title { font-size: clamp(36px, 10vw, 56px); }
  #services { padding: 60px 20px; }
  .service-card { padding: 36px 24px; }
  .service-number { font-size: 48px; }
  #approach { padding: 60px 20px; }
  .approach-visual { max-width: 220px; }
  #metrics { grid-template-columns: 1fr 1fr; padding: 50px 20px; gap: 0; }
  .metric-item { padding: 20px 10px; }
  .metric-num { font-size: 52px; }
  #work { padding: 60px 20px; }
  #testimonial { padding: 60px 20px; }
  .testimonial-content blockquote { font-size: 18px; padding-left: 22px; }
  .testimonial-content blockquote::before { font-size: 56px; }
  #contact { padding: 60px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; justify-content: center; }
  footer { padding: 40px 20px 24px; }
  .footer-nav-group { min-width: calc(50% - 16px); }
}
/* ── RESPONSIVE 380px ── */
@media (max-width: 380px) {
  .hero-headline { font-size: clamp(44px, 13vw, 56px); }
  .hero-stats { flex-direction: column; gap: 16px; }
  #metrics { grid-template-columns: 1fr; }
  .metric-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
}
