:root {
  --bg: #fbf8f3;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.12);
  --blue: #1769ff;
  --violet: #7c3aed;
  --emerald: #00a676;
  --coral: #ff6b5f;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  --soft-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(23, 105, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 88% 8%, rgba(0, 166, 118, 0.15), transparent 23rem),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 48%, #f7fbff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(251, 248, 243, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #2b3447);
  color: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(23, 105, 255, 0.09);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 54px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #465062;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title {
  max-width: 840px;
  font-size: 6.6rem;
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.page-title {
  font-size: 5.4rem;
}

h2 {
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.22;
}

.lead {
  color: #475467;
  font-size: 1.2rem;
  max-width: 690px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  padding: 14px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet) 55%, var(--emerald));
  color: #fff;
  box-shadow: 0 18px 34px rgba(23, 105, 255, 0.23);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
  color: var(--ink);
}

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

.visual-panel {
  position: relative;
  isolation: isolate;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
}

.floating-stat {
  position: absolute;
  right: -10px;
  bottom: 34px;
  max-width: 228px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.floating-stat strong {
  display: block;
  font-size: 1.7rem;
}

.mesh {
  position: absolute;
  inset: auto 18px -46px auto;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: conic-gradient(from 100deg, var(--blue), var(--violet), var(--emerald), var(--coral), var(--blue));
  filter: blur(22px);
  opacity: 0.42;
  z-index: -1;
  animation: drift 8s ease-in-out infinite alternate;
}

.trust-strip {
  padding: 18px 0 52px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: #344054;
  font-weight: 850;
  padding: 16px;
  text-align: center;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 34px;
}

.muted {
  color: var(--muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.16), rgba(0, 166, 118, 0.16));
}

.card:hover {
  border-color: rgba(23, 105, 255, 0.26);
  box-shadow: var(--soft-shadow);
  transform: translateY(-5px);
}

.span-3 {
  grid-column: span 3;
}

.span-2 {
  grid-column: span 2;
}

.span-6 {
  grid-column: span 6;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.metric {
  border-left: 2px solid var(--blue);
  padding-left: 16px;
}

.metric strong {
  display: block;
  font-size: 1.7rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: step;
}

.process-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 22px;
  counter-increment: step;
}

.process-step::before {
  content: "0" counter(step);
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 166, 118, 0.34), transparent 28rem),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.35), transparent 24rem),
    #101828;
  color: #fff;
  padding: clamp(34px, 7vw, 70px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 650px;
}

.page-hero {
  padding: 74px 0 44px;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  padding: 26px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: #344054;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 40, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12);
}

.form-note {
  min-height: 24px;
  color: var(--emerald);
  font-weight: 800;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 2.1rem;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #475467;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

.back-to-top,
.cookie-accept {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 16px;
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  color: #475467;
  font-size: 0.92rem;
}

.cookie-accept {
  min-width: 92px;
  padding: 10px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-24px, -18px, 0) rotate(16deg); }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 5rem;
  }

  .page-title {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 3.1rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .trust-list,
  .process,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .span-3,
  .span-2 {
    grid-column: span 6;
  }

  .floating-stat {
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  .container {
    width: min(100% - 24px, var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 76px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    padding-top: 54px;
  }

  h1,
  .page-title {
    font-size: 3rem;
  }

  .page-title {
    font-size: 2.65rem;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .legal-content h2 {
    font-size: 1.55rem;
  }

  .trust-list,
  .process,
  .metric-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .span-3,
  .span-2,
  .span-6 {
    grid-column: span 1;
  }

  .section {
    padding: 52px 0;
  }

  .footer-bottom,
  .cookie-banner.show {
    flex-direction: column;
    align-items: flex-start;
  }
}
