/* =========================================================
   Bilbotek — global styles
   Brand: cyan #29B6F6 → indigo #5B3FD8 (from logo)
   ========================================================= */

:root {
  --ink: #0F1226;
  --ink-2: #1B1E3B;
  --muted: #5B5F7A;
  --muted-2: #8A8FAA;
  --line: #E7E7F0;
  --line-2: #EFEEF6;
  --bg: #FFFFFF;
  --panel: #F7F6FC;
  --panel-2: #F1EEFA;
  --tint: #EEF0FF;

  --brand: #5B3FD8;
  --brand-2: #29B6F6;
  --brand-deep: #3A1FB8;
  --brand-grad: linear-gradient(135deg, #29B6F6 0%, #5B3FD8 100%);
  --brand-grad-soft: linear-gradient(135deg, #E9F4FE 0%, #EFE7FE 100%);

  --shadow-sm: 0 1px 2px rgba(15,18,38,0.04), 0 1px 1px rgba(15,18,38,0.03);
  --shadow-md: 0 8px 24px rgba(31,18,80,0.06), 0 2px 6px rgba(31,18,80,0.04);
  --shadow-lg: 0 30px 60px -20px rgba(54,38,160,0.18), 0 14px 28px -16px rgba(31,18,80,0.10);
  --shadow-brand: 0 20px 40px -16px rgba(91,63,216,0.45);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --container: 1200px;
  --pad-x: clamp(20px, 4vw, 56px);

  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-wordmark .name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-wordmark .tag {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--muted-2);
  margin-top: 4px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.is-active {
  color: var(--brand);
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--brand-grad);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.is-open { display: block; }
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px var(--pad-x) 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink-2);
}
.mobile-menu a:hover, .mobile-menu a.is-active {
  background: var(--panel);
  color: var(--brand);
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 24px 48px -16px rgba(91,63,216,0.55); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--panel); }

.btn-sm { padding: 9px 14px; font-size: 13.5px; }

/* ---------- Sections & type ---------- */
section { padding-block: clamp(56px, 8vw, 110px); position: relative; }
section.tight { padding-block: clamp(40px, 6vw, 70px); }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.h2 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--brand-grad);
  border-radius: 2px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.avatars {
  display: flex;
}
.avatars > * {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--brand-grad-soft);
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
}
.avatars > *:first-child { margin-left: 0; }
.avatars .plus {
  background: var(--brand-grad);
  color: #fff;
}
.social-proof-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
}
.social-proof-text strong { color: var(--ink); font-weight: 700; }

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background: radial-gradient(80% 80% at 70% 30%, #EFE7FE 0%, #F7F4FE 50%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 40% at 75% 20%, rgba(41,182,246,.18), transparent 60%),
    radial-gradient(50% 50% at 20% 80%, rgba(91,63,216,.20), transparent 60%);
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 20px 40px -10px rgba(54,38,160,0.18);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.float-card.big {
  top: 12%;
  right: 6%;
  width: 56%;
  padding: 18px;
  border-radius: var(--r-lg);
}
.float-card.mid {
  bottom: 22%;
  left: 8%;
  width: 50%;
}
.float-card.chip {
  bottom: 8%;
  right: 8%;
  width: 130px;
  height: 130px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0F1226 0%, #2A2360 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
}
.float-card .label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.float-card .metric {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 4px 0;
}
.float-card .sub {
  font-size: 11px;
  color: var(--muted);
}

/* tiny inline chart */
.chart {
  width: 100%; height: 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  box-shadow: inset -8px -8px 20px rgba(91,63,216,0.30), 0 10px 30px rgba(91,63,216,0.25);
  background: radial-gradient(circle at 30% 30%, #fff, #D8E7FF 40%, #B8A6FF 80%);
}
.orb-1 { width: 38px; height: 38px; top: 8%; left: 20%; }
.orb-2 { width: 22px; height: 22px; top: 60%; right: 18%; }
.orb-3 { width: 30px; height: 30px; bottom: 8%; left: 38%; }

/* floating animation */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-card.big { animation: floaty 6s ease-in-out infinite; }
.float-card.mid { animation: floaty 7s ease-in-out -2s infinite; }
.float-card.chip { animation: floaty 5s ease-in-out -1s infinite; }
.orb-1 { animation: floaty 8s ease-in-out infinite; }
.orb-2 { animation: floaty 6s ease-in-out -3s infinite; }
.orb-3 { animation: floaty 7s ease-in-out -1s infinite; }

/* ---------- Trust bar ---------- */
.trust {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px clamp(20px, 3vw, 40px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.trust-label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 18px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
@media (max-width: 900px) { .trust-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }
@media (max-width: 480px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  opacity: .68;
  filter: grayscale(0.2);
  transition: opacity .2s ease, filter .2s ease;
}
.trust-item:hover { opacity: 1; filter: none; }
.trust-item .sector {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.trust-item .sector-tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-grad-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.25;
}
.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.service-card .go {
  margin-top: 18px;
  align-self: flex-end;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--panel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: background .2s ease, color .2s ease;
}
.service-card:hover .go { background: var(--brand-grad); color: #fff; }
.service-card .go svg { width: 16px; height: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(135deg, #3B23C9 0%, #5B3FD8 50%, #2BA5F6 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: -6px -6px;
  opacity: .35;
  pointer-events: none;
}
.cta-band-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  position: relative;
}
@media (max-width: 800px) { .cta-band-grid { grid-template-columns: 1fr; } }
.cta-band .eyebrow { color: rgba(255,255,255,0.85); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 8px 0 0; max-width: 38ch; }
.cta-band .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.cta-band .stat .num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.cta-band .stat .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  line-height: 1.3;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}
.cta-band .btn-primary:hover { color: var(--brand-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B0E22;
  color: #C8CADD;
  padding-block: 72px 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand-wordmark .name { color: #fff; }
.site-footer .brand-wordmark .tag { color: #7F86A8; }
.site-footer p { color: #9AA0BD; margin: 14px 0 0; max-width: 32ch; font-size: 14.5px; }

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a, .footer-col li {
  color: #C8CADD;
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col .contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-col .contact-line svg {
  width: 16px; height: 16px;
  color: #7F86A8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 56px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7F86A8;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #F7F6FC 0%, #FFFFFF 100%);
  padding-block: clamp(64px, 8vw, 110px) clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .lead { margin-inline: auto; }

/* breadcrumb */
.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.crumb a:hover { color: var(--brand); }
.crumb .sep { margin-inline: 6px; color: var(--muted-2); }

/* ---------- Service detail blocks ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line-2);
}
.service-row:last-child { border-bottom: none; }
.service-row.flip { direction: rtl; }
.service-row.flip > * { direction: ltr; }
@media (max-width: 800px) {
  .service-row, .service-row.flip { grid-template-columns: 1fr; direction: ltr; }
}
.service-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  background: var(--brand-grad-soft);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(41,182,246,.25), transparent 60%),
    radial-gradient(60% 60% at 10% 90%, rgba(91,63,216,.30), transparent 60%);
}
.service-visual .badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-visual .badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-grad);
}
.service-visual .vbox {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  box-shadow: 0 14px 28px -10px rgba(54,38,160,0.18);
  padding: 14px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}
.feature-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-list .check svg { width: 12px; height: 12px; }

/* ---------- About: team, values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  background: #fff;
}
.value .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.value h3 { margin-top: 12px; }
.value p { color: var(--muted); font-size: 14.5px; }

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
@media (max-width: 700px) { .metrics-band { grid-template-columns: repeat(2, 1fr); } }
.metric-box .n {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.metric-box .l {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Case studies ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 800px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s ease, transform .2s ease;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case-thumb {
  aspect-ratio: 16/9;
  background: var(--brand-grad-soft);
  position: relative;
  overflow: hidden;
}
.case-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 20%, rgba(41,182,246,.25), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(91,63,216,.30), transparent 70%);
}
.case-thumb .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.9);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 10px;
  border-radius: 999px;
}
.case-body { padding: 22px; }
.case-body .kpi {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted-2);
}
.case-body h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.case-body p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: linear-gradient(135deg, #0F1226 0%, #3B23C9 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 80% 0%, rgba(41,182,246,.4), transparent 70%);
  pointer-events: none;
}
.contact-info h3 { color: #fff; font-size: 22px; margin: 0; position: relative; }
.contact-info > p { color: rgba(255,255,255,0.78); margin: 10px 0 28px; position: relative; }
.contact-info ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  position: relative;
}
.contact-info li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.contact-info .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info .ic svg { width: 18px; height: 18px; color: #fff; }
.contact-info .k { display: block; font-size: 12px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.contact-info .v { display: block; font-size: 15.5px; color: #fff; font-weight: 600; margin-top: 4px; word-break: break-word; }
.contact-info .v a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
}
.field-row { display: grid; gap: 16px; }
.field-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .field-row.cols-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(91,63,216,0.12);
}
.field .err {
  font-size: 12.5px;
  color: #C13434;
  margin-top: 4px;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #E08B8B;
  background: #FFF8F8;
}
.field.has-error .err { display: block; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 18px;
}
.consent input { width: 18px; height: 18px; margin-top: 2px; }
.form-success {
  display: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ECFDF5 0%, #F3F7FF 100%);
  border: 1.5px solid #B7E8D2;
  color: #0A6E47;
  padding: 16px 18px;
  font-size: 14.5px;
  margin-bottom: 18px;
}
.form-success.visible { display: block; }
.form-success strong { color: #054A2E; }
.form-success.is-error {
  background: #FFF3F3;
  border-color: #F2BEBE;
  color: #8A1F1F;
}
.form-success.is-error strong { color: #5A0F0F; }

/* map */
.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 24px;
}
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 6px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  font-weight: 600;
  line-height: 0;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; transform: translateY(-2px); }
.faq .a {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  max-width: 75ch;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Section centered headers */
.section-head {
  max-width: 760px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Visually hidden */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
