/* ============================================================
   NVS Solutions — Core Stylesheet
   Design system: Deep Blue → Electric Cyan, light/dark contrast,
   glassmorphism, "growth-line" signature motif.
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand */
  --blue:        #2563EB;
  --blue-deep:   #1D4ED8;
  --cyan:        #06B6D4;
  --cyan-bright: #22D3EE;

  /* Neutrals */
  --ink:         #0F172A;   /* dark background / primary text */
  --ink-2:       #111c33;
  --slate-900:   #0B1120;
  --slate-700:   #334155;
  --slate-600:   #475569;
  --slate-400:   #94A3B8;
  --slate-200:   #E2E8F0;
  --light:       #F8FAFC;   /* light background */
  --white:       #FFFFFF;

  /* Gradients */
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-soft: linear-gradient(120deg, #3B82F6 0%, #22D3EE 100%);
  --grad-text: linear-gradient(120deg, #60A5FA 0%, #22D3EE 100%);

  /* Glass */
  --glass-light: rgba(255, 255, 255, 0.65);
  --glass-dark:  rgba(255, 255, 255, 0.06);
  --glass-border-light: rgba(15, 23, 42, 0.08);
  --glass-border-dark:  rgba(255, 255, 255, 0.12);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 12px 40px rgba(37, 99, 235, 0.35);

  /* Type */
  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection { background: var(--cyan); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section--tight { padding-block: clamp(3.5rem, 6vw, 5.5rem); }

/* Dark section base */
.section--dark {
  background: var(--ink);
  color: var(--slate-400);
  --heading-color: var(--white);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section--light { background: var(--light); }

/* Eyebrow — carries the growth-line motif */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.section--dark .eyebrow { color: var(--cyan-bright); }
.eyebrow::before {
  content: "";
  width: 26px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 11 L9 5 L14 8 L21 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 2 L16 2 M21 2 L21 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 11 L9 5 L14 8 L21 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 2 L16 2 M21 2 L21 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.section-head { max-width: 640px; }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head .title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 1rem;
}
.section-head .lede {
  font-size: 1.125rem;
  color: var(--slate-600);
}
.section--dark .section-head .lede { color: var(--slate-400); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 1.6rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 18px 48px rgba(6, 182, 212, 0.45); }
/* animated glow sweep */
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--slate-200);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.section--dark .btn--ghost,
.hero .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--glass-border-dark); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cyan-bright); color: var(--cyan-bright); }

.btn--lg { --btn-pad-y: 1.15rem; --btn-pad-x: 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  animation: pulse 1.4s var(--ease) infinite;
}
.preloader__mark svg { width: 40px; height: 40px; }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 40px rgba(37,99,235,0.35); }
  50% { transform: scale(1.08); box-shadow: 0 18px 54px rgba(6,182,212,0.5); }
}

/* ---------- 6. Scroll progress + cursor ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- 7. Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav.is-scrolled {
  background: rgba(248, 250, 252, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
          backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06), var(--shadow-sm);
}

/* Brand lockup (inline for perfect font control) */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.brand__icon svg { width: 26px; height: 26px; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.28rem;
  letter-spacing: -0.01em; color: #fff;
  line-height: 1;
  transition: color 0.4s var(--ease);
}
.brand__text b { color: var(--cyan); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--cyan-bright); }
.nav__link.is-active::after { transform: scaleX(1); }
/* Scrolled (light) navbar → dark text */
.nav.is-scrolled .brand__text { color: var(--ink); }
.nav.is-scrolled .nav__link { color: var(--slate-700); }
.nav.is-scrolled .nav__link:hover,
.nav.is-scrolled .nav__link.is-active { color: var(--blue); }
.nav.is-scrolled .nav__toggle span,
.nav.is-scrolled .nav__toggle span::before,
.nav.is-scrolled .nav__toggle span::after { background: var(--ink); }
.nav__cta { margin-left: 0.6rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  position: relative; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: background 0.2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  background: var(--ink);
  color: var(--slate-400);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* animated gradient mesh */
.hero__mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 25%, rgba(37,99,235,0.55), transparent 60%),
    radial-gradient(35% 45% at 80% 20%, rgba(6,182,212,0.45), transparent 60%),
    radial-gradient(45% 45% at 65% 80%, rgba(59,130,246,0.40), transparent 60%);
  filter: blur(20px);
  animation: meshMove 18s var(--ease) infinite alternate;
}
@keyframes meshMove {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(3%, -2%) scale(1.08); }
  100% { transform: translate(-3%, 2%) scale(1.04); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 75%);
          mask: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 75%);
}
/* floating glow shapes */
.shape {
  position: absolute; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--grad-soft);
  opacity: 0.5; filter: blur(4px);
  animation: float 12s ease-in-out infinite;
  will-change: transform;
}
.shape--1 { width: 120px; height: 120px; top: 18%; left: 8%; animation-delay: 0s; opacity: 0.35; }
.shape--2 { width: 70px;  height: 70px;  top: 62%; left: 14%; animation-delay: -3s; }
.shape--3 { width: 90px;  height: 90px;  top: 24%; right: 12%; animation-delay: -6s; }
.shape--4 { width: 54px;  height: 54px;  top: 70%; right: 20%; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(12deg); }
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem 0.5rem 0.55rem;
  border-radius: 999px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600; color: var(--white);
  margin-bottom: 1.6rem;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34D399;
  box-shadow: 0 0 0 4px rgba(52,211,153,0.2);
}
.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: heroRise 0.9s var(--ease-out) forwards;
}
@keyframes heroRise { to { transform: translateY(0); } }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--slate-400);
  max-width: 30rem; margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero__trust {
  display: flex; align-items: center; gap: 1.4rem;
  font-size: 0.9rem; color: var(--slate-400);
  flex-wrap: wrap;
}
.hero__trust .stars { color: #FBBF24; letter-spacing: 2px; }

/* Hero visual card (glass) */
.hero__visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--glass-dark);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}
.hero-card__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.hero-card__tag { font-size: 0.8rem; font-weight: 600; color: var(--slate-400); }
.hero-card__pill { font-size: 0.72rem; font-weight: 700; color: #34D399; background: rgba(52,211,153,0.12); padding: 0.25rem 0.6rem; border-radius: 999px; }
.hero-card__value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-card__value span { font-size: 1.1rem; color: var(--cyan-bright); }
.hero-card__sub { font-size: 0.85rem; margin-bottom: 1.4rem; }
.hero-chart { width: 100%; height: 90px; }
.hero-card__legend { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: 0.78rem; }
.hero-card__legend b { color: #fff; display: block; font-family: var(--font-display); font-size: 1.05rem; }
.hero-float {
  position: absolute; right: -18px; bottom: -22px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.7rem;
  animation: float 8s ease-in-out infinite;
}
.hero-float__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.hero-float__icon svg { width: 20px; height: 20px; }
.hero-float b { font-family: var(--font-display); color: var(--ink); font-size: 0.95rem; display: block; line-height: 1.1; }
.hero-float small { color: var(--slate-600); font-size: 0.75rem; }

.hero__scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-400);
}
.hero__scroll .mouse {
  width: 22px; height: 34px; border: 2px solid var(--slate-400); border-radius: 12px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px; border-radius: 2px; background: var(--cyan-bright);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } 100% { opacity: 0; } }

/* ---------- 9. Logo strip / trust ---------- */
.trustbar { border-bottom: 1px solid var(--slate-200); background: var(--white); }
.trustbar__inner { display: flex; align-items: center; gap: clamp(1.5rem,5vw,4rem); flex-wrap: wrap; justify-content: center; padding-block: 2rem; }
.trustbar__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-400); }
.trustbar__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--slate-400); opacity: 0.8; transition: color 0.3s, opacity 0.3s; }
.trustbar__logo:hover { color: var(--blue); opacity: 1; }

/* ---------- 10. About ---------- */
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__visual { position: relative; }
.about__frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--grad);
  aspect-ratio: 4 / 4.4;
}
.about__frame svg { width: 100%; height: 100%; }
.about__stat {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--white); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.9rem;
}
.about__stat .num { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--ink); line-height: 1; }
.about__stat .lbl { font-size: 0.82rem; color: var(--slate-600); }
.about__stat .bar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--grad); }

.about__lead { font-size: 1.2rem; color: var(--slate-700); margin-bottom: 1.2rem; font-weight: 500; }
.about__body p { margin-bottom: 1.1rem; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 1.8rem 0 2rem; }
.about__point { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 500; color: var(--slate-700); }
.about__point .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(37,99,235,0.1); display: grid; place-items: center; margin-top: 2px;
}
.about__point .check svg { width: 15px; height: 15px; color: var(--blue); }

/* ---------- 11. Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3.2rem;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem 2.1rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad); opacity: 0;
  transition: opacity 0.4s var(--ease); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-card__title,
.service-card:hover .service-card__desc,
.service-card:hover .service-card__link { color: #fff; }
.service-card:hover .service-card__desc { color: rgba(255,255,255,0.9); }
.service-card:hover .service-icon { background: rgba(255,255,255,0.16); }
.service-card:hover .service-icon svg { color: #fff; }
.service-card:hover .service-card__num { color: rgba(255,255,255,0.35); }

.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(6,182,212,0.12));
  display: grid; place-items: center; margin-bottom: 1.4rem;
  transition: background 0.4s var(--ease);
}
.service-icon svg { width: 28px; height: 28px; color: var(--blue); transition: color 0.4s var(--ease); }
.service-card__num {
  position: absolute; top: 1.6rem; right: 1.8rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--slate-200); transition: color 0.4s var(--ease); z-index: 1;
}
.service-card__title { font-size: 1.3rem; margin-bottom: 0.6rem; transition: color 0.4s var(--ease); }
.service-card__desc { font-size: 0.98rem; color: var(--slate-600); margin-bottom: 1.2rem; transition: color 0.4s var(--ease); }
.service-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--blue);
  transition: color 0.4s var(--ease), gap 0.3s var(--ease);
}
.service-card:hover .service-card__link { gap: 0.7rem; }
.service-card__link svg { width: 16px; height: 16px; }

/* ---------- 12. Why choose us ---------- */
.why { position: relative; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3.2rem; }
.feature {
  padding: 1.9rem;
  border-radius: var(--radius);
  background: var(--glass-dark);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.4); background: rgba(255,255,255,0.08); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 1.2rem; box-shadow: var(--shadow-glow); }
.feature__icon svg { width: 26px; height: 26px; color: #fff; }
.feature__title { font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.feature__desc { font-size: 0.95rem; color: var(--slate-400); }

/* ---------- 13. Process timeline ---------- */
.process__timeline {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem; position: relative;
}
.process__timeline::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--glass-border-dark) 12%, var(--glass-border-dark) 88%, transparent);
}
.step { position: relative; text-align: center; padding-top: 0; }
.step__dot {
  width: 58px; height: 58px; margin: 0 auto 1.3rem;
  border-radius: 50%; background: var(--ink-2);
  border: 2px solid var(--glass-border-dark);
  display: grid; place-items: center; position: relative; z-index: 1;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step__dot svg { width: 26px; height: 26px; color: var(--cyan-bright); }
.step__num {
  position: absolute; top: -10px; right: -6px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 0.8rem; display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
}
.step:hover .step__dot { transform: translateY(-6px) scale(1.05); border-color: var(--cyan-bright); box-shadow: 0 0 0 6px rgba(34,211,238,0.08); }
.step__title { font-size: 1.15rem; color: #fff; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.9rem; color: var(--slate-400); padding-inline: 0.4rem; }

/* ---------- 14. Stats ---------- */
.stats { background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat {
  text-align: center; padding: 2.4rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--light));
  border: 1px solid var(--slate-200);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat__num .suffix { -webkit-text-fill-color: initial; color: var(--cyan); }
.stat__label { margin-top: 0.7rem; font-weight: 600; color: var(--slate-700); font-family: var(--font-display); }
.stat__sub { font-size: 0.85rem; color: var(--slate-600); margin-top: 0.2rem; }

/* ---------- 15. Testimonials ---------- */
.testimonials { background: var(--light); }
.slider { margin-top: 3rem; position: relative; }
.slider__track { overflow: hidden; }
.slider__list { display: flex; transition: transform 0.6s var(--ease); }
.slide { min-width: 100%; padding: 0.5rem; }
.quote-card {
  max-width: 820px; margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  text-align: center;
}
.quote-card__mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--cyan); height: 2rem; }
.quote-card__stars { color: #FBBF24; letter-spacing: 3px; margin-bottom: 1rem; }
.quote-card__text { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink); font-weight: 500; line-height: 1.5; font-family: var(--font-display); letter-spacing: -0.01em; margin-bottom: 1.8rem; }
.quote-card__author { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.quote-card__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.quote-card__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.quote-card__role { font-size: 0.88rem; color: var(--slate-600); }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.slider__btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--slate-200);
  display: grid; place-items: center; color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s;
}
.slider__btn:hover { background: var(--grad); color: #fff; transform: scale(1.08); box-shadow: var(--shadow-glow); border-color: transparent; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 0.5rem; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-200); transition: width 0.3s var(--ease), background 0.3s; }
.slider__dot.is-active { width: 28px; border-radius: 999px; background: var(--grad); }

/* ---------- 16. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; margin-top: 1rem; }
.faq__list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }
.faq-item__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-item__icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(37,99,235,0.1); display: grid; place-items: center;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq-item__icon svg { width: 16px; height: 16px; color: var(--blue); }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--grad); }
.faq-item.is-open .faq-item__icon svg { color: #fff; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item__a-inner { padding: 0 1.5rem 1.4rem; color: var(--slate-600); }

/* ---------- 17. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__card {
  position: relative;
  background: var(--grad);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band__card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 15% 20%, rgba(255,255,255,0.25), transparent 60%),
    radial-gradient(40% 60% at 85% 80%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-band__card > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 34rem; margin: 0 auto 2rem; }
.cta-band .btn--primary { background: #fff; color: var(--blue); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.cta-band .btn--primary:hover { box-shadow: 0 18px 48px rgba(0,0,0,0.28); }
.cta-band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.cta-band .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 18. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,4vw,3.5rem); margin-top: 3rem; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }
.contact-card__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-glow); }
.contact-card__icon svg { width: 22px; height: 22px; color: #fff; }
.contact-card__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 0.25rem; }
.contact-card__value { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.4; }
.contact-card a.contact-card__value:hover { color: var(--blue); }

.contact-map { margin-top: 1rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); }
.contact-map iframe { width: 100%; height: 220px; border: 0; display: block; }

/* Form */
.form {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.45rem; }
.field label .req { color: var(--blue); }
.field input, .field textarea {
  width: 100%; padding: 0.9rem 1rem;
  border: 1.5px solid var(--slate-200); border-radius: 12px;
  background: var(--light); color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field.has-error input, .field.has-error textarea { border-color: #EF4444; background: #FEF2F2; }
.field__error { display: none; color: #DC2626; font-size: 0.82rem; margin-top: 0.4rem; font-weight: 500; }
.field.has-error .field__error { display: block; }
.form__note { font-size: 0.82rem; color: var(--slate-600); margin-top: 0.8rem; text-align: center; }
.form__success {
  display: none; align-items: center; gap: 0.7rem;
  background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.4);
  color: #047857; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.2rem;
  font-weight: 600;
}
.form__success.is-visible { display: flex; }
.form__success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--slate-900); color: var(--slate-400); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .brand__text { color: #fff; }
.footer__about { margin: 1.3rem 0 1.5rem; max-width: 22rem; font-size: 0.95rem; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center; color: var(--slate-400);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.footer__social a:hover { transform: translateY(-4px); background: var(--grad); color: #fff; border-color: transparent; }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a, .footer__col li { font-size: 0.95rem; transition: color 0.25s, padding-left 0.25s; }
.footer__col a:hover { color: var(--cyan-bright); padding-left: 4px; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.6rem; flex-wrap: wrap; font-size: 0.88rem;
}
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--cyan-bright); }

/* ---------- 20. Back to top ---------- */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 800;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px) scale(1.05); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 21. Legal pages ---------- */
.page-hero {
  background: var(--ink); color: var(--slate-400);
  padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 4rem;
  position: relative; overflow: hidden;
}
.page-hero .hero__mesh { opacity: 0.7; }
.page-hero__inner { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.8rem; }
.page-hero p { color: var(--slate-400); }
.page-hero .crumbs { font-size: 0.88rem; margin-bottom: 1.2rem; color: var(--slate-400); }
.page-hero .crumbs a:hover { color: var(--cyan-bright); }

.legal { background: var(--light); }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal__meta { color: var(--slate-600); font-size: 0.9rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--slate-200); }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.legal p { margin-bottom: 1.1rem; }
.legal ul { display: flex; flex-direction: column; gap: 0.6rem; margin: 0 0 1.2rem; padding-left: 0; }
.legal ul li { position: relative; padding-left: 1.6rem; }
.legal ul li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--grad);
}
.legal a { color: var(--blue); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* ---------- 22. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__title .word { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
