:root {
  --bg: #f5f7fb;
  --ink: #0b1220;
  --muted: #475569;
  --accent: #2563eb;
  --accent-bright: #3b82f6;
  --accent-soft: #eff6ff;
  --cyan: #06b6d4;
  --cyan-soft: #ecfeff;
  --line: #e8eef7;
  --white: #ffffff;
  --navy: #0f172a;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 70px rgba(37, 99, 235, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}
body::before {
  width: 42vw;
  height: 42vw;
  top: -12vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
}
body::after {
  width: 38vw;
  height: 38vw;
  top: 18vh;
  right: -14vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 70%);
}
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
}
.ambient span:nth-child(1) {
  width: 280px; height: 280px; top: 8%; left: 8%;
  background: rgba(37, 99, 235, 0.18);
  animation: floaty 12s ease-in-out infinite;
}
.ambient span:nth-child(2) {
  width: 220px; height: 220px; top: 35%; right: 12%;
  background: rgba(6, 182, 212, 0.16);
  animation: floaty 15s ease-in-out infinite reverse;
}
.ambient span:nth-child(3) {
  width: 180px; height: 180px; bottom: 10%; left: 35%;
  background: rgba(59, 130, 246, 0.12);
  animation: floaty 18s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.06); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }
.site-main { padding-top: 0.5rem; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.section { padding: 5rem 0; position: relative; }
.section.alt {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(8px);
}
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45rem 0.9rem; border-radius: 999px;
}
.eyebrow::before {
  content: ""; width: 0.4rem; height: 0.4rem; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); font-weight: 800; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.lead, .muted, p { color: var(--muted); }
.text-accent { color: var(--accent); }
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.85rem 1.4rem; font-weight: 600; border: 1px solid transparent;
  transition: 0.25s ease; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37, 99, 235, 0.4); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:hover { background: #dbeafe; transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.btn-secondary:hover { border-color: #93c5fd; color: var(--accent); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 1.1rem 1rem 0;
}
.nav-shell {
  width: min(1160px, 100%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  flex: 0 0 auto;
}
.brand img {
  height: 46px; width: auto;
  border-radius: 0.55rem;
  filter: contrast(1.05) saturate(1.05);
}
.brand-text {
  font-weight: 800; font-size: 0.95rem; color: var(--navy); letter-spacing: -0.02em;
  display: none;
}
@media (min-width: 520px) { .brand-text { display: block; } }
.nav-links { display: none; align-items: center; gap: 0.15rem; }
.nav-links a, .nav-links button {
  background: none; border: 0; font: inherit; font-weight: 600; font-size: 0.92rem;
  color: #334155; padding: 0.55rem 0.85rem; border-radius: 999px; cursor: pointer;
  transition: 0.2s ease;
}
.nav-links a:hover, .nav-links button:hover, .nav-links a.active {
  color: var(--accent); background: var(--accent-soft);
}
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 0.45rem); left: 50%; transform: translateX(-50%);
  width: 17rem; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
  padding: 0.45rem; box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; border-radius: 0.75rem; font-size: 0.88rem; }
.dropdown-menu a:hover { background: var(--accent-soft); }
.menu-toggle {
  display: inline-flex; width: 2.55rem; height: 2.55rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center;
}
.mobile-panel {
  display: none; width: min(1160px, 100%); margin: 0.55rem auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 1.35rem; padding: 0.75rem;
  box-shadow: var(--shadow);
}
.mobile-panel.open { display: block; }
.mobile-panel a, .mobile-panel button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  font: inherit; font-weight: 600; padding: 0.85rem 0.75rem; border-radius: 0.8rem;
}
.mobile-panel .sub { margin-left: 0.5rem; border-left: 1px solid var(--line); padding-left: 0.5rem; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .nav-cta { display: inline-flex !important; }
}
.nav-cta { display: none; }

/* Hero */
.hero-wrap { position: relative; padding: 1.5rem 0 1rem; }
.hero {
  display: grid; gap: 2.5rem; padding: 2rem 0 3.5rem; align-items: center;
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.hero .lead { font-size: 1.05rem; max-width: 38rem; }
.hero-cards {
  position: relative;
  min-height: 390px;
  perspective: 1000px;
}
.hero-card {
  position: absolute; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(232, 238, 247, 0.95);
  border-radius: 1.4rem;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
  backdrop-filter: blur(8px);
}
.hero-card.is-front { top: 0; z-index: 3; transform: translateY(0) scale(1); opacity: 1; }
.hero-card.is-mid { top: 1.6rem; z-index: 2; transform: translateY(4.2rem) scale(0.96); opacity: 0.9; filter: brightness(0.98); }
.hero-card.is-back { top: 3.2rem; z-index: 1; transform: translateY(8.2rem) scale(0.92); opacity: 0.72; filter: brightness(0.96); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem; }
.card-title { display: flex; gap: 0.55rem; align-items: center; font-weight: 700; color: var(--navy); }
.dot {
  width: 0.65rem; height: 0.65rem; border-radius: 999px; background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.08); }
}
.icon-tile {
  width: 2.5rem; height: 2.5rem; border-radius: 0.85rem;
  background: var(--cyan-soft); color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
}
.icon-tile.blue { background: var(--accent-soft); color: var(--accent); }
.progress {
  height: 0.55rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-top: 0.35rem;
}
.progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), #22d3ee);
  border-radius: inherit;
  transition: width 1.1s ease;
}
.hero-card.is-front .progress > span { width: var(--bar, 92%); }
.metric {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.72rem; font-weight: 700; color: #64748b; margin-top: 0.85rem;
  letter-spacing: 0.06em;
}
.metric strong {
  font-size: 1.35rem; color: var(--navy); letter-spacing: 0; font-variant-numeric: tabular-nums;
}

.grid-3, .grid-2, .grid-4 { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stat, .card, .industry, .why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stat:hover, .card:hover, .industry:hover, .why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #dbeafe;
}
.stat { text-align: center; padding: 1.6rem 1rem; }
.stat strong {
  display: block; font-size: 2rem; color: var(--accent); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.92rem; }
.chip {
  display: inline-block; margin: 0.2rem 0.25rem 0.2rem 0; padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 0.78rem; font-weight: 700;
}
.service-list { display: grid; gap: 0.7rem; margin-top: 1rem; }
@media (min-width: 700px) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .service-list { grid-template-columns: repeat(4, 1fr); } }
.service-list a {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; border-radius: 1rem;
  border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 0.9rem;
  transition: 0.2s ease;
}
.service-list a:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}
.panel {
  border: 1px solid var(--line); border-radius: 1.6rem; padding: 1.6rem;
  background: linear-gradient(145deg, #fff, #f8fbff);
  box-shadow: var(--shadow);
}
.dark-panel {
  background: linear-gradient(145deg, #0f172a, #1e3a8a, var(--accent));
  color: #fff; border-radius: 1.6rem; padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}
.dark-panel li, .dark-panel p { color: rgba(255, 255, 255, 0.85); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; }
@media (min-width: 700px) { .checklist.two { grid-template-columns: 1fr 1fr; } }
.checklist li {
  display: flex; gap: 0.55rem; align-items: flex-start; padding: 0.7rem 0.8rem;
  border-radius: 0.85rem; background: rgba(255, 255, 255, 0.08); font-size: 0.9rem;
}
.checklist li::before {
  content: ""; width: 0.45rem; height: 0.45rem; margin-top: 0.45rem;
  border-radius: 999px; background: #67e8f9; flex: 0 0 auto;
}

.media {
  position: relative; overflow: hidden; border-radius: 1.6rem; border: 1px solid var(--line);
  min-height: 240px; background: #0f172a; box-shadow: var(--shadow);
}
.media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.media-overlay {
  position: absolute; inset: 0; display: flex; align-items: end; padding: 1.4rem;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.88), rgba(37, 99, 235, 0.42));
  color: #fff;
}
.service-hero { padding-top: 1rem; padding-bottom: 0.5rem; }
.service-hero-media {
  min-height: 320px !important;
  max-height: 350px;
}
.service-hero-media img { min-height: 320px !important; max-height: 350px; }
.service-hero-media .media-overlay {
  align-items: flex-end;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.82), rgba(37, 99, 235, 0.35));
}
.service-hero-media h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0;
}
.service-hero-media .eyebrow { margin-bottom: 0.35rem; }
.service-hero-copy {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.service-hero-copy .lead { max-width: 36rem; font-size: 1rem; }
.service-hero-copy .btn-row { margin-top: 0 !important; }
.media-overlay .eyebrow { background: rgba(255, 255, 255, 0.14); color: #fff; }
.media-overlay p { color: rgba(255, 255, 255, 0.85); }

.about-visual {
  position: relative; border-radius: 1.6rem; overflow: hidden; min-height: 320px;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.about-visual .float-card {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  border-radius: 1.1rem; padding: 1rem 1.1rem; border: 1px solid rgba(255, 255, 255, 0.7);
}

.why-item {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 1rem 1.05rem;
}
.why-item::before {
  content: "";
  width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 28%, transparent 30%),
    linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.industry { text-align: center; padding: 1.5rem 1rem; }
.industry .ico {
  width: 3rem; height: 3rem; margin: 0 auto 0.85rem;
  border-radius: 1rem; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; font-weight: 800;
}

.process-card { position: relative; overflow: hidden; }
.process-card::after {
  content: "";
  position: absolute; top: 1.35rem; right: -0.4rem;
  width: 1.4rem; height: 2px; background: linear-gradient(90deg, #bfdbfe, transparent);
  display: none;
}
@media (min-width: 900px) {
  .process-card:not(:last-child)::after { display: block; }
}

.cta-band {
  background: linear-gradient(135deg, #0f172a, #1d4ed8, var(--accent));
  color: #fff; border-radius: 1.7rem; padding: 2.6rem 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.25), transparent 70%);
  border-radius: 50%;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, 0.8); }

.contact-wrap { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.contact-form, .info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.contact-form label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 0.4rem; border: 1px solid var(--line); border-radius: 0.9rem;
  padding: 0.8rem 0.95rem; font: inherit; background: #f8fafc; transition: 0.2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.2); border-color: var(--accent); background: #fff;
}
.form-msg { margin-top: 0.9rem; font-weight: 600; }
.form-msg.success { color: #047857; }
.form-msg.error { color: #b91c1c; }

.site-footer { margin-top: 3rem; background: linear-gradient(180deg, #0b1220, #0f172a); color: #fff; }
.footer-grid { display: grid; gap: 1.75rem; padding: 3.2rem 0 2.2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.2fr; } }
.site-footer a { color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer .brand-badge {
  display: inline-block; background: #fff; border-radius: 0.9rem; padding: 0.45rem 0.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.site-footer .brand-badge img { height: 42px; border-radius: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.1rem 0 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  color: rgba(255, 255, 255, 0.55); font-size: 0.85rem;
}
.stack { display: grid; gap: 0.45rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.number-pill {
  width: 2.3rem; height: 2.3rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
