:root {
  --indigo: #17134f;
  --violet: #6d45d8;
  --violet-2: #9c6cff;
  --cyan: #23c8d6;
  --coral: #ff6b7a;
  --yellow: #ffd166;
  --bg: #fbfaff;
  --surface: rgba(255, 255, 255, .78);
  --surface-strong: #fff;
  --ink: #101225;
  --muted: #667085;
  --line: rgba(109, 69, 216, .16);
  --glass: rgba(255, 255, 255, .68);
  --shadow: 0 24px 70px rgba(23, 19, 79, .14);
  --shadow-soft: 0 12px 36px rgba(23, 19, 79, .08);
  --radius: 18px;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font-mono: Consolas, Monaco, "Courier New", monospace;
}

html[data-theme="dark"] {
  --bg: #070716;
  --surface: rgba(19, 18, 45, .76);
  --surface-strong: #11102a;
  --ink: #f7f5ff;
  --muted: #b8b6d6;
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(17, 16, 42, .72);
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 500;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .35s ease, color .35s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: normal; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--indigo);
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  z-index: 1040;
  background: linear-gradient(90deg, var(--cyan), var(--violet-2), var(--coral));
  box-shadow: 0 0 20px rgba(35, 200, 214, .4);
}

.site-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -4;
  background:
    radial-gradient(circle at 15% 10%, rgba(35, 200, 214, .18), transparent 30%),
    radial-gradient(circle at 82% 4%, rgba(109, 69, 216, .2), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(255, 107, 122, .1), transparent 36%),
    linear-gradient(180deg, rgba(247, 245, 255, .72), rgba(255, 255, 255, .2) 520px);
}

html[data-theme="dark"] .site-bg {
  background:
    radial-gradient(circle at 14% 8%, rgba(35, 200, 214, .18), transparent 28%),
    radial-gradient(circle at 84% 4%, rgba(156, 108, 255, .22), transparent 27%),
    linear-gradient(180deg, rgba(10, 9, 34, .92), rgba(7, 7, 22, 1) 560px);
}

.site-bg span {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(38px);
  opacity: .22;
  animation: drift 16s ease-in-out infinite alternate;
}

.site-bg span:nth-child(1) { left: -12vw; top: 14vh; background: var(--cyan); }
.site-bg span:nth-child(2) { right: -14vw; top: 4vh; background: var(--violet); animation-delay: -4s; }
.site-bg span:nth-child(3) { left: 38vw; bottom: -22vw; background: var(--coral); animation-delay: -7s; }

@keyframes drift {
  from { transform: translate3d(-16px, -12px, 0) scale(.92); }
  to { transform: translate3d(28px, 22px, 0) scale(1.08); }
}

.glass-nav,
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.navbar {
  --bs-navbar-color: var(--muted);
  --bs-navbar-hover-color: var(--violet-2);
  --bs-navbar-active-color: var(--violet-2);
  --bs-navbar-brand-color: var(--ink);
  --bs-navbar-toggler-border-color: var(--line);
  --bs-navbar-toggler-focus-width: 0;
  padding-block: 10px;
}

.navbar-toggler {
  border-radius: 14px;
  background: var(--surface);
}

html[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1) grayscale(1);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: .94rem;
  font-weight: 650;
}

.menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}

.menu a:hover,
.menu .active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--violet-2);
  background: rgba(109, 69, 216, .1);
}

.navbar-nav .nav-link {
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 650;
  padding-inline: 12px !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-toggle {
  min-width: 54px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: .82rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn-primary,
.text-bg-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 16px 34px rgba(109, 69, 216, .25);
  border: 0;
}

.text-bg-info {
  color: #07131f !important;
  background: linear-gradient(135deg, var(--cyan), #9ef5ff) !important;
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.btn-light {
  color: var(--indigo);
  background: #fff;
  box-shadow: 0 18px 34px rgba(4, 2, 22, .15);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.hamb {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
}

.hamb span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero,
.subhero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 96px 0 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-copy .d-flex.flex-column {
  margin-top: 34px;
  margin-bottom: 28px !important;
}

.subhero {
  padding: 86px 0 72px;
}

.hero-grid,
.subhero-grid,
.intro-grid,
.split,
.contact-box {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
  align-items: center;
}

.subhero-grid { grid-template-columns: 1fr .72fr; }
.intro-grid { grid-template-columns: .9fr 1.1fr; align-items: end; }
.contact-box { grid-template-columns: 1fr .82fr; }

.code-rain {
  position: absolute;
  inset: 18px auto auto 18px;
  width: min(86%, 560px);
  height: 230px;
  overflow: hidden;
  pointer-events: none;
  opacity: .96;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(8, 7, 28, .78), rgba(8, 7, 28, .5)),
    rgba(10, 9, 34, .58);
  box-shadow: 0 22px 46px rgba(4, 2, 22, .18);
  backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, black 70%, transparent);
}

.hero-code .code-rain::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 20%, rgba(35, 200, 214, .18), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 42%);
}

.hero-code .code-rain::after {
  content: "LIVE BUILD";
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(223, 250, 255, .72);
  font-size: .64rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.code-rain span {
  position: absolute;
  left: 18px;
  min-width: 760px;
  color: rgba(223, 250, 255, .78);
  font-family: var(--font-mono);
  font-size: clamp(.74rem, .88vw, .9rem);
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(35, 200, 214, .34);
  animation: codeSlide 12s linear infinite;
}

html[data-theme="dark"] .code-rain span { color: rgba(223, 250, 255, .82); }
.code-rain span:nth-child(1) { top: 46px; animation-duration: 16s; }
.code-rain span:nth-child(2) { top: 74px; animation-duration: 14s; animation-delay: -5s; }
.code-rain span:nth-child(3) { top: 102px; animation-duration: 18s; animation-delay: -11s; }
.code-rain span:nth-child(4) { top: 130px; animation-duration: 15s; animation-delay: -7s; }
.code-rain span:nth-child(5) { top: 158px; animation-duration: 19s; animation-delay: -13s; }
.code-rain span:nth-child(6) { top: 186px; animation-duration: 17s; animation-delay: -3s; }
.code-rain-sub { opacity: .18; }

@keyframes codeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-42%); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(35, 200, 214, .2);
  border-radius: 999px;
  color: var(--violet-2);
  background: rgba(10, 9, 34, .05);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(35, 200, 214, .08);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .eyebrow {
  color: #b797ff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(35, 200, 214, .24);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(35, 200, 214, .13);
}

h1 {
  max-width: 850px;
  margin: 18px 0 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.8vw, 5.15rem);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 30px;
}

.proof-card {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.proof-card strong { color: var(--ink); font-size: 1.05rem; }
.proof-card strong,
.proof-strip strong,
.mini-stat span,
.floating-kpi strong,
.case-panel strong,
.stat-tile strong {
  font-family: var(--font-display);
  font-weight: 700;
}
.proof-card em { color: var(--muted); font-style: normal; font-size: .88rem; font-weight: 650; }

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(35, 200, 214, .24);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(35, 200, 214, .12), rgba(156, 108, 255, .1)),
    rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-family: var(--font-display);
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(23, 19, 79, .1), inset 0 1px 0 rgba(255, 255, 255, .46);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .hero-trust-list span {
  color: rgba(255, 255, 255, .9);
  background:
    linear-gradient(135deg, rgba(35, 200, 214, .16), rgba(156, 108, 255, .16)),
    rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.hero-trust-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(35, 200, 214, .14), 0 0 18px rgba(35, 200, 214, .75);
}

.typed-console {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  max-width: 620px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 9, 34, .88);
  color: #dffaff;
  box-shadow: var(--shadow-soft), inset 0 0 32px rgba(35, 200, 214, .08);
  overflow: hidden;
}

.typed-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(35, 200, 214, .12), transparent);
  transform: translateX(-100%);
  animation: terminal-sheen 4.8s ease-in-out infinite;
}

.typed-console code {
  position: relative;
  z-index: 1;
  color: #dffaff;
  font-family: var(--font-mono);
  font-size: .9rem;
  white-space: normal;
}

.console-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

.console-dot:nth-child(2) { background: var(--yellow); }
.console-dot:nth-child(3) { background: var(--cyan); }

@keyframes terminal-sheen {
  0%, 45% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

.proof-strip span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.proof-strip strong { color: var(--ink); font-size: 1.08rem; }
.proof-strip em { color: var(--muted); font-style: normal; font-size: .88rem; font-weight: 700; }

.hero-visual,
.image-panel {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  isolation: isolate;
  transform-style: preserve-3d;
}

.image-panel.small { min-height: 360px; }

.hero-visual img,
.image-panel img,
.work > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero-visual img,
.image-panel img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual::after,
.image-panel::after {
  content: "";
  position: absolute;
  inset: auto 8% -24px 8%;
  height: 64px;
  border-radius: 50%;
  background: rgba(23, 19, 79, .2);
  filter: blur(24px);
  z-index: -1;
}

.metric-card {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 138px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.metric-card-a { left: -16px; bottom: 54px; }
.metric-card-b { right: 24px; top: 32px; }
.metric-label { color: var(--muted); font-family: var(--font-display); font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0; }
.metric-card strong { color: var(--ink); font-size: 1.35rem; line-height: 1; }

.section { position: relative; padding: 86px 0; }

.intro-band {
  padding: 56px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(109, 69, 216, .08), rgba(35, 200, 214, .06));
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.grid-4,
.grid-3,
.portfolio {
  display: grid;
  gap: 22px;
}

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3, .portfolio { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.work,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.card {
  color: var(--ink);
}

.card {
  position: relative;
  min-height: 268px;
  padding: 26px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card {
  padding: 26px;
}

.card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(35, 200, 214, .1);
}

.card:hover,
.work:hover {
  transform: translateY(-7px);
  border-color: rgba(156, 108, 255, .34);
  box-shadow: var(--shadow);
}

.service-card,
.work,
.proof-card,
.hero-visual,
.image-panel {
  will-change: transform;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--violet-2);
  background: rgba(109, 69, 216, .12);
  font-size: .9rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.card p,
.work p,
.panel-copy p,
.cta p,
.step p {
  margin: 0;
  color: var(--muted);
}

.visual-story {
  background: linear-gradient(135deg, rgba(35, 200, 214, .07), rgba(109, 69, 216, .08));
}

.premium-local {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(35, 200, 214, .12), transparent 26%),
    radial-gradient(circle at 88% 30%, rgba(156, 108, 255, .12), transparent 28%);
}

.soft-badge {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
}

.agency-dashboard {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .42)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

html[data-theme="dark"] .agency-dashboard {
  background:
    linear-gradient(145deg, rgba(26, 24, 64, .86), rgba(15, 14, 38, .64)),
    var(--surface);
}

.agency-dashboard::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(35, 200, 214, .18);
  filter: blur(18px);
}

.dashboard-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .86rem;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.dashboard-top span:nth-child(2) { background: var(--yellow); }
.dashboard-top span:nth-child(3) { background: var(--cyan); }
.dashboard-top strong {
  margin-left: auto;
  color: var(--ink);
}

.stat-tile {
  position: relative;
  min-height: 136px;
  display: grid;
  align-content: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .56);
}

html[data-theme="dark"] .stat-tile {
  background: rgba(255, 255, 255, .06);
}

.stat-tile strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.stat-tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.dashboard-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-flow div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}

.dashboard-flow b {
  color: rgba(255, 255, 255, .68);
  font-size: .75rem;
}

.dashboard-flow span {
  font-family: var(--font-display);
  font-weight: 700;
}

.section-dark {
  color: white;
  background:
    linear-gradient(135deg, rgba(10, 8, 39, .96), rgba(23, 19, 79, .95)),
    var(--indigo);
}

.section-dark h2,
.section-dark h3 { color: white; }
.section-dark .eyebrow,
.section-dark .panel-copy p,
.section-dark .step p { color: rgba(255, 255, 255, .78); }

.panel-copy { max-width: 560px; }
.panel-copy p { margin: 18px 0 28px; font-size: 1.05rem; }

.process { display: grid; gap: 16px; }

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.section-dark .step {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .07);
}

.num {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--indigo);
  background: linear-gradient(135deg, white, #d9cdfd);
  font-family: var(--font-display);
  font-weight: 700;
}

.work {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.work > img {
  height: 225px;
  border-radius: 0;
}

.seo-list {
  display: grid;
  gap: 8px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  color: var(--muted);
}

.seo-list li {
  position: relative;
  padding-left: 24px;
}

.seo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(35, 200, 214, .12);
}

.accordion {
  --bs-accordion-bg: var(--surface);
  --bs-accordion-color: var(--ink);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-active-bg: rgba(109, 69, 216, .1);
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(109, 69, 216, .12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
}

.portfolio-large .work > img { height: 280px; }
.work-body { padding: 24px; }
.work-kicker { margin-bottom: 8px !important; color: var(--violet-2) !important; font-family: var(--font-display); font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0; }

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px;
  overflow: hidden;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, rgba(21, 18, 75, .96), rgba(109, 69, 216, .95));
  box-shadow: var(--shadow);
}

.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}

.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 700px; color: white; }
.cta .eyebrow, .cta p { color: rgba(255, 255, 255, .8); }

.panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.panel h2 { margin-top: 0; }
.panel p + p { margin-top: 14px; }

.form-card { min-height: auto; }
.form { display: grid; gap: 14px; margin-top: 18px; }
.form input, .form textarea,
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface-strong);
  font: inherit;
}
.form textarea,
textarea.form-control { min-height: 160px; resize: vertical; }

.form-control:focus {
  color: var(--ink);
  background: var(--surface-strong);
  border-color: var(--violet-2);
  box-shadow: 0 0 0 .2rem rgba(109, 69, 216, .15);
}

.footer {
  padding: 64px 0 24px;
  color: #d8d4ef;
  background: #0d0b2d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer .brand,
.footer h4 { color: white; }
.footer h4 { margin: 0 0 14px; }
.footer p { max-width: 310px; color: #d8d4ef; }
.footer a { display: block; margin: 8px 0; color: #d8d4ef; }
.footer a:hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .64); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.on { opacity: 1; transform: none; }

.text-gradient {
  color: transparent;
  background: linear-gradient(135deg, var(--violet-2), var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-stats {
  margin-top: 54px;
}

.mini-stat {
  min-height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.mini-stat span {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.mini-stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.floating-kpi {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 136px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: white;
  background: rgba(10, 9, 34, .82);
  box-shadow: 0 18px 42px rgba(4, 2, 22, .28);
  backdrop-filter: blur(16px);
  animation: kpiFloat 5.8s ease-in-out infinite;
}

.floating-kpi strong {
  font-size: 1.28rem;
  line-height: 1;
}

.floating-kpi span {
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 750;
}

.kpi-a { left: -28px; top: 46%; }
.kpi-b { left: 18px; bottom: -24px; }
.kpi-c { right: -20px; bottom: 86px; }
.kpi-d { right: 24px; top: 22px; animation-delay: -1.6s; }
.kpi-e { left: 28px; bottom: 26px; animation-delay: -3.2s; }

@keyframes kpiFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

.methodology-section {
  overflow: hidden;
}

.method-timeline {
  position: relative;
  display: grid;
  gap: 74px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 0;
  --timeline-progress: 0%;
}

.method-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, .12);
  transform: translateX(-50%);
}

.method-timeline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: auto;
  left: 50%;
  width: 2px;
  height: var(--timeline-progress);
  background: linear-gradient(180deg, var(--cyan), var(--violet-2), var(--coral), #00d084);
  transform: translateX(-50%);
  box-shadow: 0 0 28px rgba(156, 108, 255, .45);
  transition: height .18s linear;
}

.method-card {
  position: relative;
  z-index: 1;
  width: min(46%, 520px);
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(8, 7, 28, .5);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.method-card:nth-child(even) {
  justify-self: end;
}

.method-card::before {
  content: "";
  position: absolute;
  top: 48px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 5px solid #a886ff;
  border-radius: 50%;
  background: #0b0928;
  box-shadow: 0 0 0 8px rgba(156, 108, 255, .12);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.method-card:nth-child(odd)::before { right: calc(-8.7% - 11px); }
.method-card:nth-child(even)::before { left: calc(-8.7% - 11px); }

.method-timeline.method-animated .method-card {
  opacity: 0;
}

.method-timeline.method-animated .method-card:nth-child(odd) {
  transform: translate3d(-46px, 28px, 0);
}

.method-timeline.method-animated .method-card:nth-child(even) {
  transform: translate3d(46px, 28px, 0);
}

.method-timeline.method-animated .method-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.method-card.is-visible {
  border-color: rgba(156, 108, 255, .34);
  box-shadow: 0 24px 62px rgba(0, 0, 0, .3), 0 0 42px rgba(109, 69, 216, .12);
  background: rgba(12, 10, 38, .68);
}

.method-card.is-visible::before {
  border-color: #c5afff;
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(156, 108, 255, .16), 0 0 30px rgba(156, 108, 255, .66);
}

.method-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.method-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.method-num {
  color: rgba(255, 255, 255, .64);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0;
}

.method-card p {
  color: rgba(255, 255, 255, .72);
}

.method-cyan .method-icon { background: linear-gradient(135deg, #00a6ff, var(--cyan)); }
.method-pink .method-icon { background: linear-gradient(135deg, #ff4fd8, var(--violet-2)); }
.method-orange .method-icon { background: linear-gradient(135deg, #ff7a18, var(--coral)); }
.method-green .method-icon { background: linear-gradient(135deg, #00d084, #00a86b); }
.method-violet .method-icon { background: linear-gradient(135deg, var(--violet-2), var(--violet)); }

.portfolio-section {
  background: linear-gradient(180deg, rgba(109, 69, 216, .05), transparent 38%);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 54px;
}

.filter-pill {
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 650;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  transform: translateY(-2px);
}

.portfolio-showcase {
  display: grid;
  gap: 86px;
}

.case-study {
  display: grid;
  grid-template-columns: .95fr 1fr;
  align-items: center;
  gap: 48px;
  transition: opacity .28s ease, transform .28s ease;
}

.case-study.is-hidden {
  display: none;
}

.case-study-reverse .case-content { order: 2; }

.case-content h2 {
  margin-top: 14px;
}

.case-tag,
.case-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--violet-2);
  background: rgba(109, 69, 216, .14);
  font-size: .78rem;
  font-family: var(--font-display);
  font-weight: 650;
}

.case-impact {
  margin: 10px 0 18px;
  color: var(--violet-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.case-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.case-panel div {
  display: grid;
  gap: 2px;
  text-align: center;
}

.case-panel strong {
  color: var(--violet-2);
  font-size: 1.35rem;
  line-height: 1;
}

.case-panel span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-content blockquote {
  margin: 20px 0 24px;
  padding-left: 18px;
  border-left: 4px solid var(--violet-2);
  color: var(--muted);
  font-size: 1rem;
}

.case-image {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.case-gallery {
  display: grid;
  gap: 12px;
}

.case-gallery figure { margin: 0; }

.case-image-main,
.case-image-wide { min-height: 390px; }

.case-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-thumbnails .case-image,
.case-thumbnails .case-image img { min-height: 120px; }

.contact-premium {
  padding-top: 34px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-info-card,
.contact-form-panel,
.map-panel,
.mission-card,
.history-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.contact-info-card {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 26px;
}

.contact-info-muted {
  background: linear-gradient(135deg, rgba(35, 200, 214, .08), rgba(109, 69, 216, .08)), var(--surface);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  font-family: var(--font-display);
  font-weight: 700;
}

.contact-info-card h2 {
  margin: 6px 0 0;
  font-size: 1.35rem;
}

.contact-info-card p,
.contact-info-card a {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.contact-form-panel {
  padding: clamp(24px, 4vw, 38px);
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(35, 200, 214, .14), transparent 28%),
    linear-gradient(145deg, rgba(30, 42, 61, .98), rgba(12, 12, 30, .98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
}

.contact-form-panel h2 {
  color: white;
  margin-top: 0;
}

.contact-form-panel p,
.contact-form-panel small {
  color: rgba(255, 255, 255, .7);
}

.contact-form-panel .form-label {
  color: rgba(255, 255, 255, .88);
  font-weight: 850;
  font-size: .88rem;
}

.contact-form-panel .form-control {
  border-color: rgba(255, 255, 255, .08);
  color: white;
  background: rgba(5, 7, 20, .82);
}

.contact-form-panel .form-control::placeholder {
  color: rgba(255, 255, 255, .45);
}

.contact-form-panel select.form-control option {
  color: #101225;
}

.map-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 24px;
  min-height: 240px;
  margin-top: 38px;
  padding: 24px;
  text-align: left;
  background:
    radial-gradient(circle at center, rgba(156, 108, 255, .14), transparent 26%),
    linear-gradient(135deg, rgba(35, 200, 214, .07), rgba(109, 69, 216, .08)),
    var(--surface);
}

.map-pin {
  color: var(--violet-2);
  font-size: 2.8rem;
  line-height: 1;
}

.map-panel h2 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.map-panel p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.map-frame {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 9, 34, .12);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
  filter: saturate(.92) contrast(1.02);
}

.about-premium {
  background: linear-gradient(180deg, rgba(109, 69, 216, .08), rgba(35, 200, 214, .04));
}

.mission-card {
  min-height: 260px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(109, 69, 216, .12), rgba(35, 200, 214, .04)),
    var(--surface);
}

.mission-card-alt {
  background:
    linear-gradient(135deg, rgba(35, 200, 214, .12), rgba(255, 107, 122, .04)),
    var(--surface);
}

.mission-card h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.7rem);
}

.mission-card p,
.history-card p {
  color: var(--muted);
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet-2), var(--cyan));
}

.history-card {
  position: relative;
  margin-left: 72px;
  padding: 26px;
}

.history-card::before {
  content: "";
  position: absolute;
  left: -53px;
  top: 34px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--violet-2);
  border-radius: 50%;
  background: var(--bg);
}

.history-card strong {
  color: var(--violet-2);
  font-size: 1.85rem;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .nav-cta { display: none; }
  .menu { gap: 2px; }
}

@media (max-width: 980px) {
  .hero-grid,
  .subhero-grid,
  .intro-grid,
  .split,
  .contact-box { grid-template-columns: 1fr; }
  .grid-4,
  .grid-3,
  .portfolio,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual,
  .image-panel,
  .hero-visual img,
  .image-panel img { min-height: 420px; height: 420px; }
  .floating-kpi { position: relative; inset: auto; min-width: 0; }
  .hero-visual .floating-kpi {
    display: none;
  }
  .method-timeline { gap: 22px; }
  .method-timeline::before { left: 18px; }
  .method-timeline::after { left: 18px; }
  .method-card,
  .method-card:nth-child(even) {
    width: auto;
    justify-self: stretch;
    margin-left: 48px;
  }
  .method-card::before,
  .method-card:nth-child(odd)::before,
  .method-card:nth-child(even)::before {
    left: -41px;
    right: auto;
  }
  .method-timeline.method-animated .method-card:nth-child(odd),
  .method-timeline.method-animated .method-card:nth-child(even) {
    transform: translate3d(0, 24px, 0);
  }
  .method-timeline.method-animated .method-card.is-visible {
    transform: translate3d(0, 0, 0);
  }
  .case-study,
  .case-study-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .case-study-reverse .case-content { order: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-inner { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .nav-actions { margin-left: auto; }
  .chip-toggle { min-width: 46px; height: 38px; padding: 0 10px; font-size: .75rem; }
  .hamb { display: grid; }
  .menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero { padding: 58px 0 54px; }
  .subhero { padding: 58px 0 50px; }
  h1 { font-size: 2.35rem; line-height: 1.04; }
  .code-rain {
    inset: 12px 12px auto 12px;
    width: auto;
    height: 170px;
    border-radius: 16px;
  }
  .code-rain span {
    left: 14px;
    min-width: 620px;
    font-size: .7rem;
  }
  .code-rain span:nth-child(1) { top: 38px; }
  .code-rain span:nth-child(2) { top: 62px; }
  .code-rain span:nth-child(3) { top: 86px; }
  .code-rain span:nth-child(4) { top: 110px; }
  .code-rain span:nth-child(5) { top: 134px; }
  .code-rain span:nth-child(6) { top: 158px; }
  .proof-strip,
  .grid-4,
  .grid-3,
  .portfolio,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual,
  .image-panel,
  .hero-visual img,
  .image-panel img { min-height: 330px; height: 330px; border-radius: 22px; }
  .metric-card { min-width: 120px; padding: 12px 13px; }
  .metric-card-a { left: 10px; bottom: 22px; }
  .metric-card-b { right: 10px; top: 18px; }
  .section { padding: 64px 0; }
  .cta { display: grid; padding: 30px; }
  .btn { white-space: normal; text-align: center; }
  .hero .btn,
  .cta .btn { width: 100%; }
  .agency-dashboard { padding: 16px; border-radius: 22px; }
  .dashboard-flow { grid-template-columns: 1fr 1fr; }
  .hero-stats { margin-top: 30px; }
  .mini-stat { min-height: 96px; padding: 16px; }
  .method-card {
    min-height: 0;
    padding: 22px;
  }
  .method-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }
  .portfolio-filters {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  .filter-pill { flex: 0 0 auto; }
  .portfolio-showcase { gap: 56px; }
  .case-panel { grid-template-columns: 1fr; }
  .case-image { min-height: 240px; }
  .case-image-main,
  .case-image-wide { min-height: 280px; }
  .case-thumbnails { grid-template-columns: 1fr; }
  .case-thumbnails .case-image,
  .case-thumbnails .case-image img { min-height: 210px; }
  .contact-info-card { min-height: 140px; }
  .contact-form-panel { border-radius: 18px; }
  .map-panel { min-height: 210px; padding: 24px; }
  .map-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .map-panel p { margin-inline: auto; }
  .map-pin,
  .map-copy .contact-icon { margin-inline: auto; }
  .map-frame,
  .map-frame iframe {
    min-height: 260px;
  }
  .mission-card { min-height: 0; padding: 26px; }
  .history-card { margin-left: 52px; padding: 22px; }
  .history-card::before { left: -43px; }
  .history-timeline::before { left: 18px; }
}

@media (max-width: 460px) {
  .brand span { display: none; }
  h1 { font-size: 2.08rem; }
  h2 { font-size: 2rem; }
  .hero-visual,
  .image-panel,
  .hero-visual img,
  .image-panel img { min-height: 280px; height: 280px; }
  .dashboard-flow { grid-template-columns: 1fr; }
}

/* Production hardening: legal footer, contact feedback and utility pages */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { margin: 0; color: rgba(255, 255, 255, .7); }
.footer-legal-links a:hover { color: #fff; }

.form-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-status {
  min-height: 24px;
  margin-top: 4px;
  font-weight: 750;
}
.form-status.is-success { color: #9df0c3; }
.form-status.is-error { color: #ffb4b4; }
.form-privacy-note { margin: 0; font-size: .84rem; }
.form-privacy-note a { color: #bdeff4; text-decoration: underline; text-underline-offset: 3px; }
.contact-form-panel .was-validated .form-control:invalid { border-color: #ff8d8d; }
.contact-form-panel .was-validated .form-control:valid { border-color: rgba(157, 240, 195, .65); }
#contact-submit[aria-busy="true"] { cursor: progress; opacity: .75; }

.legal-wrap { max-width: 900px; margin-inline: auto; }
.legal-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.legal-card + .legal-card { margin-top: 20px; }
.legal-card h2 { margin-top: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.legal-card h3 { margin-top: 24px; font-size: 1.1rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { overflow-wrap: anywhere; }
.legal-card ul { padding-left: 1.25rem; }
.production-required {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 7px;
  color: #7a2d00;
  background: #fff0df;
  font-weight: 850;
}
.legal-alert {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 152, 65, .35);
  border-radius: 16px;
  background: rgba(255, 152, 65, .10);
}
@media (max-width: 576px) {
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}


/* Blog & articles */
.blog-card h2 a, .service-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover, .service-card h2 a:hover { color: var(--violet); }
.blog-card-footer { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:auto; padding-top:1.1rem; border-top:1px solid var(--line); color:var(--muted); font-size:.9rem; }
.blog-card-link { color:var(--violet); font-weight:800; }
.blog-card-link:hover { color:var(--cyan); }
.article-hero { padding: clamp(5rem, 9vw, 8rem) 0 2.5rem; }
.article-container { max-width: 860px; }
.article-breadcrumb { display:flex; gap:.6rem; align-items:center; margin-bottom:1.5rem; color:var(--muted); font-size:.92rem; }
.article-breadcrumb a:hover { color:var(--violet); }
.article-hero h1 { max-width: 820px; font-size:clamp(2.35rem, 6vw, 4.7rem); line-height:1.02; letter-spacing:-.045em; margin:.9rem 0 1.35rem; }
.article-meta { display:flex; flex-wrap:wrap; gap:.7rem 1.4rem; margin-top:1.5rem; color:var(--muted); font-size:.92rem; }
.article-content { font-size:1.08rem; line-height:1.8; }
.article-content > p, .article-content > ul, .article-content > pre { margin-bottom:1.35rem; }
.article-content h2 { font-size:clamp(1.55rem,3vw,2.15rem); margin:3rem 0 1rem; line-height:1.2; }
.article-content a:not(.btn) { color:var(--violet); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.article-content code { font-family:var(--font-mono); }
.article-content pre { padding:1.25rem; overflow:auto; border:1px solid var(--line); border-radius:16px; background:var(--surface-strong); box-shadow:var(--shadow-soft); }
.article-toc { display:grid; gap:.45rem; margin:2.2rem 0 2.8rem; padding:1.35rem 1.5rem; border:1px solid var(--line); border-radius:18px; background:var(--surface); box-shadow:var(--shadow-soft); }
.article-toc strong { margin-bottom:.35rem; }
.article-toc a { text-decoration:none !important; }
.article-callout { margin:2rem 0; padding:1.25rem 1.4rem; border-left:4px solid var(--cyan); border-radius:0 16px 16px 0; background:var(--surface); box-shadow:var(--shadow-soft); }
.article-cta { margin-top:4rem; padding:clamp(1.5rem,4vw,2.5rem); border:1px solid var(--line); border-radius:24px; background:var(--surface); box-shadow:var(--shadow); }
.article-cta h2 { margin-top:0; }
.article-cta .btn { margin:.4rem .5rem .2rem 0; }
@media (max-width: 576px) { .article-hero { padding-top:4rem; } .article-content { font-size:1rem; } .article-cta .btn { width:100%; margin-right:0; } }
