/* ============================================================
   WifiSolution.ca — Styles
   ============================================================ */

:root {
  --brand:       #f97316;
  --brand-dark:  #c2410c;
  --brand-glow:  rgba(249,115,22,.35);
  --hs:          #f59e0b;
  --hs-glow:     rgba(245,158,11,.35);
  --bg:          #080704;
  --bg2:         #0e0b07;
  --bg3:         #141009;
  --surface:     rgba(255,255,255,.04);
  --border:      rgba(255,255,255,.07);
  --text:        #f5f0eb;
  --muted:       #a89880;
  --radius:      16px;
  --radius-sm:   10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 66px;
}

/* ── Utilities ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, #fb923c, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(249,115,22,.4);
  background: rgba(249,115,22,.1);
  color: #fdba74;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
[data-delay="100"]  { transition-delay: .1s; }
[data-delay="120"]  { transition-delay: .12s; }
[data-delay="150"]  { transition-delay: .15s; }
[data-delay="200"]  { transition-delay: .2s; }
[data-delay="240"]  { transition-delay: .24s; }
[data-delay="300"]  { transition-delay: .3s; }

/* ═══════════════ NAVBAR ═══════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(8,12,20,1);
  border-bottom: 1px solid var(--border);
  transition: padding .3s;
}
#navbar.scrolled {
  padding: 10px 0;
  backdrop-filter: blur(16px);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo img { height: 38px; display: block; }
.nav-links {
  display: flex; list-style: none; gap: 4px; margin-left: auto;
}
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  padding: 6px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: color .2s, border-color .2s;
  font-family: inherit;
}
.lang-toggle:hover { color: var(--text); border-color: rgba(255,255,255,.2); }

.btn-nav {
  padding: 8px 18px; border-radius: 8px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-size: .88rem; font-weight: 600;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-nav-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-nav-ghost:hover { background: var(--surface); color: var(--text); border-color: rgba(255,255,255,.2); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--muted); border-radius: 2px; transition: all .25s; }
.nav-mobile-only { display: none; }
.nav-mobile-divider { display: none; }
.nav-overlay { display: none; }
.nav-close-li { display: none; }
.nav-close-btn { display: none; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.orb-1 { width: 600px; height: 600px; background: #9a3412; top: -15%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: #7c2d12; bottom: 5%; right: 5%; }
.orb-3 { width: 300px; height: 300px; background: #78350f; top: 40%; right: 20%; }

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; padding: 20px 24px 80px; max-width: 900px; }

.hero-logo {
  height: 90px;
  width: auto;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 30px rgba(249,115,22,.5));
}

.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  border: 1px solid rgba(249,115,22,.5); background: rgba(249,115,22,.1);
  color: #fdba74; font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-title { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-title strong { color: #fb923c; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--muted); max-width: 580px; margin: 0 auto 36px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary-hero {
  padding: 14px 28px; border-radius: 12px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 0 30px var(--brand-glow);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary-hero:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 0 45px var(--brand-glow); }
.btn-ghost-hero {
  padding: 14px 28px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: border-color .2s, transform .15s, background .2s;
}
.btn-ghost-hero:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-value { font-size: 2rem; font-weight: 800; color: #fb923c; }
.stat-label { font-size: .82rem; color: var(--muted); font-weight: 500; }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; justify-content: center;
}
.scroll-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); opacity: .6;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); opacity:.6; } 50% { transform: translateY(8px); opacity:1; } }

/* ═══════════════ MARCHÉS ═══════════════ */
.markets-section { background: var(--bg2); }

.markets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color .3s, transform .3s;
}
.market-card:hover { border-color: rgba(59,130,246,.4); transform: translateY(-4px); }

.market-icon { font-size: 2.4rem; margin-bottom: 18px; }
.market-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.market-card p { font-size: .9rem; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }

.market-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.market-features li { font-size: .85rem; color: #fdba74; font-weight: 500; }

/* ═══════════════ SERVICES ═══════════════ */
.services-section { background: var(--bg); padding-bottom: 100px; }

/* ── Services Carousel ────────────────────────────────── */
.svc-carousel-wrap {
  display: flex; align-items: center; gap: 0;
  margin-top: 3rem; position: relative;
}

.svc-stage {
  flex: 1; position: relative;
  height: 640px;
  overflow: visible;
  /* Clip side cards left/right only — lets box-shadow breathe top & bottom */
  mask-image: linear-gradient(to right, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
}

.svc-card {
  position: absolute;
  left: 50%; top: 50%;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 32px;
  cursor: pointer;
  transition: transform .55s cubic-bezier(.4,0,.2,1),
              opacity   .55s ease,
              box-shadow .55s ease,
              border-color .55s ease;
  will-change: transform, opacity;
}

/* Position states via JS-set data-pos attribute */
.svc-card[data-pos="0"] {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1; z-index: 5;
  box-shadow: 0 24px 64px rgba(249,115,22,.22);
  border-color: rgba(249,115,22,.35);
  pointer-events: auto;
}
.svc-card[data-pos="-1"] {
  transform: translate(calc(-50% - 290px),-50%) scale(0.8);
  opacity: 0.55; z-index: 3; pointer-events: auto;
}
.svc-card[data-pos="1"] {
  transform: translate(calc(-50% + 290px),-50%) scale(0.8);
  opacity: 0.55; z-index: 3; pointer-events: auto;
}
.svc-card[data-pos="-2"] {
  transform: translate(calc(-50% - 510px),-50%) scale(0.62);
  opacity: 0.22; z-index: 1; pointer-events: auto;
}
.svc-card[data-pos="2"] {
  transform: translate(calc(-50% + 510px),-50%) scale(0.62);
  opacity: 0.22; z-index: 1; pointer-events: auto;
}
/* hide cards out of range */
.svc-card:not([data-pos]) {
  opacity: 0; pointer-events: none; z-index: 0;
  transform: translate(-50%,-50%) scale(0.4);
}

/* Card content */
.svc-icon-wrap {
  width: 62px; height: 62px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  border: 1px solid transparent;
}
.svc-icon-blue   { background: rgba(59,130,246,.15);  border-color: rgba(59,130,246,.3);  color: #60a5fa; }
.svc-icon-purple { background: rgba(139,92,246,.15);  border-color: rgba(139,92,246,.3);  color: #a78bfa; }
.svc-icon-orange { background: rgba(249,115,22,.15);  border-color: rgba(249,115,22,.3);  color: #fb923c; }
.svc-icon-green  { background: rgba(34,197,94,.15);   border-color: rgba(34,197,94,.3);   color: #4ade80; }
.svc-icon-teal   { background: rgba(6,182,212,.15);   border-color: rgba(6,182,212,.3);   color: #22d3ee; }

.svc-card h3 {
  font-size: 1.18rem; font-weight: 700; margin-bottom: 14px;
  color: var(--text);
}
.svc-card p {
  font-size: .88rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 20px;
}
.svc-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-features li {
  font-size: .82rem; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.svc-features li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}

/* Arrows */
.svc-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 10;
}
.svc-arrow:hover {
  background: rgba(249,115,22,.15);
  border-color: rgba(249,115,22,.5);
  transform: scale(1.08);
}

/* Dots */
.svc-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.svc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: background .3s, transform .3s;
  cursor: pointer;
}
.svc-dot.active {
  background: var(--brand); transform: scale(1.35);
}

/* ── Icon animations (active card only) ──────────────── */

/* WiFi — signal bars bounce */
.signal-bars {
  display: flex; align-items: flex-end; gap: 4px; height: 30px;
}
.bar {
  width: 6px; border-radius: 3px;
  background: linear-gradient(to top, #2563eb, #60a5fa);
  transform-origin: bottom;
}
.bar:nth-child(1) { height: 35%; }
.bar:nth-child(2) { height: 55%; }
.bar:nth-child(3) { height: 75%; }
.bar:nth-child(4) { height: 100%; }

@keyframes barLive {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.25); }
}
.svc-card[data-pos="0"] .bar {
  animation: barLive 1.3s ease-in-out infinite;
}
.svc-card[data-pos="0"] .bar:nth-child(1) { animation-delay: 0s; }
.svc-card[data-pos="0"] .bar:nth-child(2) { animation-delay: .18s; }
.svc-card[data-pos="0"] .bar:nth-child(3) { animation-delay: .36s; }
.svc-card[data-pos="0"] .bar:nth-child(4) { animation-delay: .54s; }

/* Architecture — slow rotation */
@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.svc-card[data-pos="0"] .svc-icon-purple svg {
  animation: iconSpin 8s linear infinite;
}

/* Fiber — pulse scale */
@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.18); opacity: 0.75; }
}
.svc-card[data-pos="0"] .svc-icon-teal svg {
  animation: iconPulse 1.8s ease-in-out infinite;
}

/* VoIP — sequential sound waves: top first, then bottom */
.wave-t1, .wave-t2, .wave-b1, .wave-b2 { opacity: 0; }

@keyframes waveTSmall {
  0%,10%   { opacity: 0; }
  20%,35%  { opacity: 1; }
  44%,100% { opacity: 0; }
}
@keyframes waveTLarge {
  0%,22%   { opacity: 0; }
  32%,35%  { opacity: 1; }
  44%,100% { opacity: 0; }
}
@keyframes waveBSmall {
  0%,52%   { opacity: 0; }
  62%,77%  { opacity: 1; }
  86%,100% { opacity: 0; }
}
@keyframes waveBLarge {
  0%,64%   { opacity: 0; }
  74%,77%  { opacity: 1; }
  86%,100% { opacity: 0; }
}

.svc-card[data-pos="0"] .wave-t1 { animation: waveTSmall 3.2s ease-in-out infinite; }
.svc-card[data-pos="0"] .wave-t2 { animation: waveTLarge 3.2s ease-in-out infinite; }
.svc-card[data-pos="0"] .wave-b1 { animation: waveBSmall 3.2s ease-in-out infinite; }
.svc-card[data-pos="0"] .wave-b2 { animation: waveBLarge 3.2s ease-in-out infinite; }

/* Hosting — blink/heartbeat */
@keyframes iconBeat {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.15); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.1); }
  70%      { transform: scale(1); }
}
.svc-card[data-pos="0"] .svc-icon-green svg {
  animation: iconBeat 2s ease-in-out infinite;
}

/* ═══════════════ LOGICIELS ═══════════════ */
.software-section { background: var(--bg2); }

.software-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 960px; margin: 0 auto;
}
.software-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color .3s, transform .3s;
  display: flex; flex-direction: column; gap: 20px;
}
.software-card:hover { border-color: rgba(59,130,246,.4); transform: translateY(-4px); }
.software-card:nth-child(2):hover { border-color: rgba(16,185,129,.4); }

.software-card-header { display: flex; align-items: center; gap: 16px; }

.software-logo-badge {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  flex-shrink: 0;
}
.isp-badge { background: linear-gradient(135deg, #9a3412, #f97316); color: #fff; box-shadow: 0 0 20px var(--brand-glow); }
.hs-badge  { background: linear-gradient(135deg, #78350f, #f59e0b); color: #fff; box-shadow: 0 0 20px var(--hs-glow); }

.software-card-title h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.software-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.3);
  color: #fdba74; font-size: .73rem; font-weight: 600;
}
.hs-tag { background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.3); color: #fcd34d; }

.software-card > p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

.software-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.software-features li {
  font-size: .88rem; color: var(--text); padding-left: 20px; position: relative;
}
.software-features li::before { content: '✓'; position: absolute; left: 0; color: #fb923c; font-weight: 700; }
.software-card:nth-child(2) .software-features li::before { color: #fcd34d; }

.btn-software {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.3);
  color: #fdba74; text-decoration: none; font-weight: 600; font-size: .9rem;
  text-align: center; transition: background .2s, transform .15s;
  align-self: flex-start;
}
.btn-software:hover { background: rgba(249,115,22,.28); transform: translateY(-2px); }
.btn-software-hs { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.3); color: #fcd34d; }
.btn-software-hs:hover { background: rgba(245,158,11,.22); }

/* ═══════════════ TECH CAROUSEL ═══════════════ */
.tech-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  overflow: hidden;
}
.tech-strip-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  opacity: .6;
}
.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.tech-logo {
  display: flex;
  align-items: center;
  opacity: .65;
  transition: opacity .2s;
  cursor: default;
  flex-shrink: 0;
}
.tech-logo:hover { opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════ POURQUOI NOUS ═══════════════ */
.why-section { background: var(--bg); }

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.why-content .section-badge { text-align: left; }
.why-content .section-title { text-align: left; }
.why-intro { color: var(--muted); margin-bottom: 32px; line-height: 1.7; }

.why-points { display: flex; flex-direction: column; gap: 24px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.why-point strong { display: block; font-weight: 700; margin-bottom: 4px; }
.why-point p { font-size: .88rem; color: var(--muted); }

.why-visual { display: flex; align-items: center; justify-content: center; }
.why-card-stack { position: relative; width: 300px; height: 320px; }

.why-floating-card {
  position: absolute; padding: 14px 20px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 500;
  white-space: nowrap;
}
.wfc-1 { top: 10px;  left: -20px; animation: floatA 4s ease-in-out infinite; }
.wfc-2 { top: 40%;  right: -20px; animation: floatB 4.5s ease-in-out infinite .5s; }
.wfc-3 { bottom: 20px; left: 10px; animation: floatA 5s ease-in-out infinite 1s; }

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

.wfc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green  { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.dot-blue   { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.dot-purple { background: #a78bfa; box-shadow: 0 0 8px #a78bfa; }

.why-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 4rem; filter: drop-shadow(0 0 30px #f97316);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { filter: drop-shadow(0 0 20px #f97316); } 50% { filter: drop-shadow(0 0 45px #fb923c); } }

/* ═══════════════ CONTACT ═══════════════ */
.contact-section { background: var(--bg2); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info .section-badge { text-align: left; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 36px; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-icon { font-size: 1.1rem; }
.contact-item a, .contact-item span { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.contact-item a:hover { color: #60a5fa; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .83rem; font-weight: 600; color: #94a3b8; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px;
  color: var(--text); font-size: .92rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; outline: none; resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(249,115,22,.5);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.contact-form select option { background: #1e293b; }

.g-recaptcha { transform-origin: left; }

.btn-submit {
  padding: 13px 28px; border-radius: 10px; border: none;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: background .2s, transform .15s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Honeypot — absolutely invisible */
.hp-field { display: none !important; }

/* Math captcha */
.captcha-group label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.captcha-group label strong { color: var(--brand); font-size: 1rem; }
.captcha-group input[type="number"] {
  width: 100px !important;
  -moz-appearance: textfield;
}
.captcha-group input[type="number"]::-webkit-outer-spin-button,
.captcha-group input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-success {
  display: none; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 40px 0;
}
.form-success.show { display: flex; }
.success-icon { font-size: 2.5rem; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; }
.form-success p { color: var(--muted); }

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: #04070e; border-top: 1px solid var(--border); padding: 60px 0 32px; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-logo { height: 34px; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

.footer-links h4 { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .88rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .82rem; color: var(--muted); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .svc-stage { height: 580px; }
  .svc-card  { width: 280px; }
  .svc-card[data-pos="-1"] { transform: translate(calc(-50% - 250px),-50%) scale(0.78); }
  .svc-card[data-pos="1"]  { transform: translate(calc(-50% + 250px),-50%) scale(0.78); }
  .svc-card[data-pos="-2"] { transform: translate(calc(-50% - 450px),-50%) scale(0.6); }
  .svc-card[data-pos="2"]  { transform: translate(calc(-50% + 450px),-50%) scale(0.6); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(92vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; margin-left: 0; padding: 20px 16px 32px;
    background: rgba(8,12,20,.98); backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform .3s ease;
    z-index: 202; overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,.5);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; padding: 12px 16px; }
  .nav-mobile-only { display: block; }
  .nav-mobile-divider { display: block; height: 1px; background: var(--border); margin: 8px 0; list-style: none; padding: 0; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 201; }
  .nav-overlay.open { display: block; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .nav-close-li { display: flex; justify-content: flex-end; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
  .nav-close-btn { display: block; background: none; border: 1px solid var(--border); color: var(--muted); padding: 6px 14px; border-radius: 8px; cursor: pointer; font-size: 1rem; font-family: inherit; transition: color .2s, border-color .2s; }
  .nav-close-btn:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
  .hero-logo { display: none; }

  .markets-grid  { grid-template-columns: 1fr; gap: 16px; }
  .svc-stage { height: 530px; }
  .svc-card  { width: 260px; padding: 28px 22px; }
  .svc-card[data-pos="-1"] { transform: translate(calc(-50% - 210px),-50%) scale(0.75); }
  .svc-card[data-pos="1"]  { transform: translate(calc(-50% + 210px),-50%) scale(0.75); }
  .svc-card[data-pos="-2"] { transform: translate(calc(-50% - 390px),-50%) scale(0.55); opacity: 0; }
  .svc-card[data-pos="2"]  { transform: translate(calc(-50% + 390px),-50%) scale(0.55); opacity: 0; }
  .svc-arrow { width: 38px; height: 38px; }
  .software-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; gap: 48px; }
  .why-visual    { display: none; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .svc-stage { height: 500px; }
  .svc-card  { width: 240px; padding: 24px 18px; }
  .svc-card[data-pos="-1"] { transform: translate(calc(-50% - 185px),-50%) scale(0.7); opacity: 0.4; }
  .svc-card[data-pos="1"]  { transform: translate(calc(-50% + 185px),-50%) scale(0.7); opacity: 0.4; }
  .hero-stats { gap: 24px; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
