/* ============================================================
   SMOOTH SCALING — design tokens + global styles
   ============================================================ */

:root {
  --color-bg:            #F0F6FB;
  --color-surface:       #FFFFFF;
  --color-primary:       #1A6FA8;
  --color-primary-mid:   #3A9FD8;
  --color-primary-light: #87CEEB;
  --color-silver:        #C8D4DE;
  --color-silver-dark:   #8A9BAA;
  --color-text:          #0D1F2D;
  --color-text-muted:    #4A6175;
  --color-accent:        #0AAFFF;
  --color-white:         #FFFFFF;

  --grad-signature: linear-gradient(135deg, #1A6FA8 0%, #3A9FD8 50%, #87CEEB 100%);
  --grad-cta:       linear-gradient(135deg, #1A6FA8 0%, #0AAFFF 100%);

  --maxw: 1280px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}

main { overflow-x: clip; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

.overline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-silver-dark);
}

/* chrome / metallic text effect */
.chrome {
  background: linear-gradient(180deg, #E8F4FC 0%, #A0BFD0 40%, #C8D4DE 70%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* faint edge so chrome reads on light bg */
  filter: drop-shadow(0 1px 0 rgba(13,31,45,0.18)) drop-shadow(0 2px 14px rgba(26,111,168,0.18));
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *:not(.marquee-track) { animation-duration: 0.001ms !important; }
  .marquee-track { animation-duration: 28s !important; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(240, 246, 251, 0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(200, 212, 222, 0);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s;
}
.nav.scrolled {
  box-shadow: 0 8px 30px rgba(26, 111, 168, 0.1);
  border-bottom-color: rgba(200, 212, 222, 0.6);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; transition: height 0.3s var(--ease-out);
}
.nav.scrolled .nav-inner { height: 66px; }

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* Blurred duplicate — light bleeds from behind logo shapes */
.brand-logo-glow {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  transform: translateY(-50%) scale(1.03);
  filter: blur(11px) brightness(2.4) saturate(1.8);
  transition: opacity 0.45s var(--ease-out), filter 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.brand:not(.brand--footer):hover .brand-logo-glow {
  opacity: 0.92;
  transform: translateY(-50%) scale(1.07);
  filter: blur(16px) brightness(3) saturate(2.2);
}

.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.brand-logo-main {
  position: relative;
  z-index: 1;
  transition: height 0.3s var(--ease-out), filter 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  filter:
    drop-shadow(0 0 5px rgba(58, 159, 216, 0.3))
    drop-shadow(0 0 12px rgba(10, 175, 255, 0.18));
}

.brand:not(.brand--footer):hover .brand-logo-main {
  transform: scale(1.02);
  filter:
    drop-shadow(0 0 8px rgba(58, 159, 216, 0.75))
    drop-shadow(0 0 18px rgba(10, 175, 255, 0.55))
    drop-shadow(0 0 32px rgba(135, 206, 235, 0.35))
    brightness(1.06) saturate(1.1);
}

.nav.scrolled .brand-logo { height: 48px; }

.brand--footer .brand-logo-main {
  height: 56px;
  filter: drop-shadow(0 0 8px rgba(58, 159, 216, 0.25));
}
.brand--footer:hover .brand-logo-main {
  filter:
    drop-shadow(0 0 12px rgba(58, 159, 216, 0.55))
    drop-shadow(0 0 24px rgba(10, 175, 255, 0.35))
    brightness(1.06);
}

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--color-text-muted); position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-cta); transition: width 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--color-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--grad-cta); color: #fff; padding: 10px 22px; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(10, 175, 255, 0.28); letter-spacing: 0.05em;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { color: #fff; transform: translateY(-1px); }

.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger span { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: rgba(240, 246, 251, 0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 96px 24px 32px; transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out); box-shadow: 0 20px 50px rgba(13,31,45,0.12);
}
.drawer.open { transform: translateY(0); }
.drawer a { display: block; padding: 16px 8px; font-size: 22px; font-family: var(--font-display); letter-spacing: 0.05em; color: var(--color-text); border-bottom: 1px solid rgba(200,212,222,0.5); }
.drawer a:last-child { border-bottom: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .brand-logo { height: 50px; }
  .nav.scrolled .brand-logo { height: 44px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 84px; overflow: hidden;
  background: linear-gradient(150deg, #C8E8F5 0%, #DDF0FB 28%, #EAF5FB 55%, #F0F6FB 100%);
}
.mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.mesh::before, .mesh::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.75;
}
.mesh::before {
  width: 55vw; height: 55vw; top: -10vw; right: -4vw;
  background: radial-gradient(circle at 40% 40%, #87CEEB, transparent 62%);
  opacity: 0.55;
  animation: meshA 18s ease-in-out infinite alternate;
}
.mesh::after {
  width: 50vw; height: 50vw; bottom: -12vw; left: -4vw;
  background: radial-gradient(circle at 50% 50%, #1A6FA8, transparent 60%);
  opacity: 0.28;
  animation: meshB 22s ease-in-out infinite alternate;
}
.mesh-blob {
  position: absolute; width: 38vw; height: 38vw; left: 30%; top: 20%;
  border-radius: 50%; filter: blur(80px); opacity: 0.22;
  background: radial-gradient(circle, #3A9FD8, transparent 60%);
  animation: meshC 14s ease-in-out infinite alternate;
}
@keyframes meshA { from { transform: translate(0,0) scale(1); } to { transform: translate(-3vw, 3vw) scale(1.07); } }
@keyframes meshB { from { transform: translate(0,0) scale(1); } to { transform: translate(3vw, -2vw) scale(1.06); } }
@keyframes meshC { from { transform: translate(0,0); } to { transform: translate(-4vw, 3vw); } }

.hero-grid {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(64px, 10vw, 130px); letter-spacing: 0.05em; }
.hero h1 .l2 { color: var(--color-primary); -webkit-text-fill-color: var(--color-primary); }
.hero-sub {
  max-width: 30em; font-size: clamp(16px, 1.4vw, 18px); color: var(--color-text-muted);
  margin: 26px 0 36px;
}
.hero-ovl { margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.btn { font-size: 15px; font-weight: 600; letter-spacing: 0.05em; padding: 15px 30px; border-radius: 4px; transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 28px rgba(10,175,255,0.3); }
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 16px 40px rgba(10,175,255,0.45), 0 0 0 1px rgba(255,255,255,0.2) inset; }
.btn-secondary { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary-mid); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
.card-reveal {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation:
    cardEntry 0.9s var(--ease-out) 0.15s both,
    cardFloat 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.05s infinite;
  will-change: transform;
}
.hero-dashboard-wrap {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  display: block;
  position: relative;
  isolation: isolate;
}
.hero-dashboard-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 14%;
  right: 14%;
  top: 18%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 55%, rgba(58, 159, 216, 0.14) 0%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-dashboard {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  filter: none;
}

/* Floating chips — clients top-right, satisfaction bottom-center of main card */
.chip-float-1 { transform: translate(318px, 4px); }
.chip-float-2 { transform: translate(176px, 362px); }
.hero-deco { opacity: 0; }

@keyframes cardFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  35%      { transform: translate3d(0, -6px, 0) rotate(0.2deg); }
  50%      { transform: translate3d(0, -10px, 0) rotate(0deg); }
  65%      { transform: translate3d(0, -6px, 0) rotate(-0.2deg); }
}

.scroll-ind {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--color-silver-dark); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-ind svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(6px); opacity: 1; } }

@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; gap: 52px; }
  .hero-dashboard-wrap,
  .hero-dashboard { max-width: 940px; }
  .card-reveal {
    animation:
      cardEntry 0.9s var(--ease-out) 0.15s both,
      cardFloatLg 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.05s infinite;
  }
}
@keyframes cardFloatLg {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  35%      { transform: translate3d(0, -8px, 0) rotate(0.25deg); }
  50%      { transform: translate3d(0, -12px, 0) rotate(0deg); }
  65%      { transform: translate3d(0, -8px, 0) rotate(-0.25deg); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .hero {
    min-height: auto;
    padding-block: 120px 70px;
    overflow: hidden;
  }
  .hero-art,
  .card-reveal,
  .hero-dashboard-wrap {
    width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }
  .hero-dashboard-wrap {
    width: 100%;
    max-width: 100%;
    padding-inline: 6px;
    box-sizing: border-box;
  }
  .hero-dashboard {
    width: 100%;
    max-width: 100%;
  }
  .card-reveal {
    animation:
      cardEntry 0.9s var(--ease-out) 0.15s both,
      cardFloat 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.05s infinite;
  }
  .chip-float-1 { transform: translate(306px, 36px); }
}

@media (max-width: 480px) {
  .hero-dashboard-wrap { padding-inline: 4px; }
  .chip-float-1 { transform: translate(300px, 38px); }
  .hero-grid { gap: 28px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--color-primary); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(255,255,255,0.08); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollx 35s linear infinite;
  will-change: transform;
}
@media (hover: hover) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.marquee-track span {
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0 28px; white-space: nowrap; opacity: 0.92; display: inline-flex; align-items: center; gap: 28px;
}
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary-light); display: inline-block; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .marquee { padding: 18px 0; }
  .marquee-track {
    animation: scrollx 22s linear infinite;
    -webkit-animation: scrollx 22s linear infinite;
  }
  .marquee-track span { font-size: 12px; padding: 0 22px; gap: 22px; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .overline { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(40px, 6vw, 72px); color: var(--color-text); }
.section-head p { max-width: 34em; margin: 18px auto 0; color: var(--color-text-muted); font-size: 17px; }

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: linear-gradient(180deg, var(--color-bg) 0%, #e8f3fa 50%, var(--color-bg) 100%);
}

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.svc-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fcff 48%, #eef6fc 100%);
  border: 1px solid rgba(200, 212, 222, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 20px rgba(26, 111, 168, 0.07),
    0 16px 40px rgba(13, 31, 45, 0.04);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}

/* Top chrome highlight — logo-style sheen */
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.5), rgba(10, 175, 255, 0.65), rgba(135, 206, 235, 0.5), transparent);
  opacity: 0.85;
  pointer-events: none;
}

/* Hover glow from behind */
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(58, 159, 216, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(58, 159, 216, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 28px rgba(26, 111, 168, 0.14),
    0 28px 56px rgba(10, 175, 255, 0.1),
    0 0 0 1px rgba(58, 159, 216, 0.14);
}

.svc-card:hover::after { opacity: 1; }

.svc-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--color-primary);
  background: linear-gradient(145deg, #f0f8fd 0%, #dceef8 50%, #c5e3f4 100%);
  border: 1px solid rgba(135, 206, 235, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 6px 18px rgba(26, 111, 168, 0.12);
  transition: background 0.4s var(--ease-out), color 0.4s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.svc-card:hover .svc-icon {
  background: var(--grad-cta);
  color: #fff;
  transform: scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(10, 175, 255, 0.38),
    0 0 20px rgba(58, 159, 216, 0.25);
}

.svc-icon svg { width: 30px; height: 30px; }

.svc-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--color-text);
  transition: color 0.35s var(--ease-out);
}

.svc-card:hover h3 { color: var(--color-primary); }

.svc-card p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.svc-more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: color 0.3s, gap 0.3s var(--ease-out);
}

.svc-card:hover .svc-more { color: var(--color-accent); gap: 10px; }
.svc-more svg { transition: transform 0.3s var(--ease-out); }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

@media (max-width: 760px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .svc-card {
    width: 100%;
    max-width: none;
    padding: 28px;
  }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.process { background: var(--color-bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 52px; left: 16%; right: 16%; height: 2px;
  background-image: linear-gradient(90deg, var(--color-silver) 50%, transparent 50%);
  background-size: 14px 2px; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step-num { font-family: var(--font-display); font-size: 90px; line-height: 1; margin-bottom: 10px; }
.step-badge { width: 14px; height: 14px; border-radius: 50%; background: var(--color-primary); margin: 0 auto 26px; box-shadow: 0 0 0 6px rgba(26,111,168,0.12); }
.step h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.03em; margin-bottom: 10px; color: var(--color-text); }
.step p { font-size: 14px; color: var(--color-text-muted); max-width: 22em; margin-inline: auto; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { background: linear-gradient(135deg, #0D1F2D 0%, #1A3A52 100%); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 50vw; height: 50vw; top: -20vw; right: -10vw; background: radial-gradient(circle, rgba(58,159,216,0.22), transparent 65%); filter: blur(40px); }
.stats-inner { position: relative; z-index: 1; text-align: center; }
.stats-inner .overline { color: var(--color-primary-light); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 18px 0 60px; }
.stat .num { font-family: var(--font-display); font-size: clamp(60px, 8vw, 100px); line-height: 1; color: var(--color-primary-light); letter-spacing: 0.02em; }
.stat .lbl { font-size: 14px; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; margin-top: 6px; }
.stats-quote { font-style: italic; font-size: clamp(18px, 2.4vw, 24px); color: #fff; max-width: 22em; margin-inline: auto; font-weight: 300; }
.stats-quote span { color: var(--color-primary-light); }

@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--grad-signature); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,0.25), transparent 40%); }
.contact-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; text-align: center; }
.contact-inner .overline { color: rgba(255,255,255,0.92); }
.contact-inner h2 { font-size: clamp(40px, 6vw, 72px); color: #fff; margin: 12px 0 8px; }
.contact-inner > p { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 40px; }

.form { background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: clamp(26px, 4vw, 44px); text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.95); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--color-text);
  background: #fff; border: 1.5px solid transparent; border-radius: 8px; padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(26,111,168,0.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-silver-dark); }
.form-submit { width: 100%; margin-top: 6px; background: var(--color-text); color: #fff; padding: 16px; border-radius: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; display: flex; align-items: center; justify-content: center; gap: 9px; transition: background 0.25s, transform 0.25s; }
.form-submit:hover { background: var(--color-accent); transform: scale(1.02); }
.form-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.form-error {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 120, 120, 0.45);
  color: #fff;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.form-success { text-align: center; padding: 30px 10px; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; margin: 0 auto 18px; color: var(--color-primary); }
.form-success h3 { font-family: var(--font-display); font-size: 34px; color: #fff; letter-spacing: 0.04em; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,0.9); }

.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; margin-top: 34px; }
.contact-info a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 500; opacity: 0.95; transition: opacity 0.2s; }
.contact-info a:hover { opacity: 1; }
.contact-info svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-text); color: #fff; padding: 60px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; padding-bottom: 40px; }
.footer-tag { color: rgba(255,255,255,0.55); font-size: 14px; margin-top: 16px; max-width: 22em; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--color-primary-light); }
.footer-col-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.07); color: #fff; transition: background 0.25s, transform 0.25s; }
.socials a:hover { background: var(--grad-cta); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(200,212,222,0.15); padding-top: 24px; text-align: center; color: rgba(255,255,255,0.45); font-size: 13px; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   DASHBOARD CARD — SVG ENTRANCE ANIMATIONS
   ============================================================ */

@keyframes cardEntry {
  from { opacity: 0; transform: translateY(32px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}

/* Chart line — dash driven by JS on mount */
.chart-line {
  fill: none;
  stroke-dasharray: 398;
  stroke-dashoffset: 398;
}

/* Traveling tip dot */
.chart-tip {
  animation: tipPulse 1.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes tipPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* Chips — slide via JS, then bob when visible */
.chip-in {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
}
[data-node] {
  transition: opacity 0.25s ease;
}
.chip-visible.chip-in-1 { animation: chipBob1 3.2s ease-in-out infinite; }
.chip-visible.chip-in-2 { animation: chipBob2 3.8s ease-in-out infinite; }
@keyframes chipBob1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1); }
}
@keyframes chipBob2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(5px) scale(1); }
}

/* Counting metric */
.hero-metric-num {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .card-reveal {
    animation: cardEntry 0.9s var(--ease-out) 0.15s both !important;
  }
  .chart-tip, .chip-in, .hero-metric-num {
    animation: none !important;
    transform: none !important;
  }
}
