:root {
  --blue: #0B67AB;
  --blue-dark: #08528A;
  --blue-mid: #6A9DC8;
  --blue-light: #A3C1DD;
  --teal: #4DB6A0;
  --teal-dark: #3A9C87;
  --mint: #95D5C0;
  --mint-light: #C1E6D8;
  --ink: #1F2933;
  --muted: #52606D;
  --line: #E4E9EE;
  --bg: #FFFFFF;
  --bg-tint: #F4FAF8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 103, 171, .08);
  --shadow-lg: 0 24px 60px rgba(11, 103, 171, .16);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(11, 103, 171, .25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .92rem; box-shadow: none; white-space: nowrap; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; flex: none; }
.wordmark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.55rem; letter-spacing: -.01em; color: var(--blue); font-weight: 400;
}
.wordmark b { font-weight: 700; }
.brand-light .wordmark { color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(31, 41, 51, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:not(.btn):hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; gap: 4px; align-items: center;
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted);
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}
.lang-toggle [data-lang-opt].active { color: var(--blue); }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 56px 0 120px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.hero-bg { position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.hero-copy { max-width: 580px; }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow-light { color: var(--mint-light); }
.hero h1 { color: var(--ink); font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.03em; margin-bottom: 20px; }
.btn-arrow {
  width: 18px; height: 18px; margin-left: 8px; fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}
.btn:hover .btn-arrow { transform: translate(2px, -2px); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; margin: 0; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 36px 0 16px; }
.link-arrow { font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.link-arrow span:last-child { display: inline-block; transition: transform .2s; }
.link-arrow:hover span:last-child { transform: translateX(4px); }
.hero-note { margin: 0; font-size: .9rem; color: var(--muted); }

.hero-visual { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 1; }
.hero-icon {
  width: 72%; height: 72%; margin: 14% auto 0;
  filter: drop-shadow(0 30px 50px rgba(11, 103, 171, .22));
  animation: float 7s ease-in-out infinite;
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: #fff; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-blue { background: var(--blue); }
.dot-teal { background: var(--teal); }
.dot-mint { background: var(--mint); }
.chip-1 { top: 6%; left: -6%; animation-delay: -1s; }
.chip-2 { top: 44%; right: -8%; animation-delay: -3s; }
.chip-3 { bottom: 4%; left: 4%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section { padding: 100px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head-left { text-align: left; margin: 0; }

/* Core services */
.services-core { display: grid; gap: 28px; }
.service-row {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  transition: box-shadow .25s, border-color .25s;
}
.service-row:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.service-row:nth-child(even) .service-visual { order: 2; }
.service-visual {
  border-radius: 18px; padding: 12px;
  background: linear-gradient(135deg, #EAF2FA 0%, #E6F5EF 100%);
}
.service-visual svg { width: 100%; height: auto; filter: drop-shadow(0 12px 20px rgba(11, 103, 171, .1)); }
.service-body { padding-right: 16px; }
.service-row:nth-child(even) .service-body { padding: 0 0 0 16px; }
.service-num {
  display: inline-block; margin-bottom: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  color: var(--teal-dark);
}
.service-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.service-body > p { color: var(--muted); font-size: 1.05rem; }
.service-for {
  margin: 20px 0 0; padding: 14px 16px; border-radius: 12px;
  background: var(--bg-tint); border-left: 3px solid var(--teal);
  color: var(--ink); font-size: .95rem;
}
.service-for strong { display: block; margin-bottom: 2px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }

.flow-line { fill: none; stroke: #95D5C0; stroke-width: 2.5; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
.flow-label { font-family: "Inter", Arial, sans-serif; font-size: 13px; font-weight: 600; fill: var(--ink); }
.flow-label-ai { font-size: 15px; font-weight: 800; fill: #fff; }
@keyframes dash { to { stroke-dashoffset: -12; } }

/* Complementary services */
.extras { margin-top: 56px; }
.extras-title {
  text-align: center; margin-bottom: 24px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extra {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius); background: var(--bg-tint);
}
.extra .card-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: none; }
.extra .card-icon svg { width: 22px; height: 22px; }
.extra h4 { margin: 0 0 4px; font-size: 1rem; }
.extra p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg, .why-item svg, .contact-list svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-blue { background: #E3EEF7; color: var(--blue); }
.icon-teal { background: #DDF2EC; color: var(--teal-dark); }
.icon-mint { background: #EAF4FA; color: var(--blue-mid); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num {
  display: inline-block; font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -18px; width: 12px; height: 12px;
  border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); transform: rotate(45deg);
}

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.why .section-head p:not(.eyebrow) { margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.why-item svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 12px; }
.why-item p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Contact */
.contact {
  position: relative; padding: 110px 0;
  background: var(--teal);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .12) 0, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(11, 103, 171, .25) 0, transparent 45%);
  color: #fff;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.contact-alt { margin-top: 36px; font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; color: #fff; flex: none; }
.contact-list a { color: #fff; text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: #fff; color: var(--ink); border-radius: 20px; padding: 36px;
  box-shadow: 0 30px 70px rgba(8, 82, 138, .25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(77, 182, 160, .18);
}
.field .invalid { border-color: #D64545; }
.needs { border: 0; padding: 0; min-width: 0; }
.needs legend { font-size: .88rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.needs-options { display: flex; flex-wrap: wrap; gap: 8px; }
.need { position: relative; cursor: pointer; }
.need input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need span {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .9rem; font-weight: 500; color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
}
.need:hover span { border-color: var(--mint); }
.need input:checked + span { background: #E3EEF7; border-color: var(--blue); color: var(--blue); font-weight: 600; }
.need input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: .95rem; text-align: center; min-height: 1.5em; }
.form-status.ok { color: var(--teal-dark); font-weight: 600; }
.form-status.error { color: #C03030; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 40px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer p { margin: 0; }
.site-footer .wordmark { font-size: 1.35rem; }
.site-footer .brand-icon { width: 30px; height: 30px; }

/* Back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px rgba(11, 103, 171, .3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue-dark); }
.back-to-top svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Motion ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Hero entrance on page load */
.js .hero-copy > * { animation: fadeUp .9s var(--ease-out) backwards; }
.js .hero-copy > :nth-child(1) { animation-delay: .05s; }
.js .hero-copy > :nth-child(2) { animation-delay: .18s; }
.js .hero-copy > :nth-child(3) { animation-delay: .3s; }
.js .hero-copy > :nth-child(4) { animation-delay: .4s; }
.js .hero-icon { animation: float 7s ease-in-out infinite, popIn 1s var(--ease-out) .2s backwards; }
.js .chip { animation: float 6s ease-in-out infinite, popIn .7s var(--ease-out) backwards; }
.js .chip-1 { animation-delay: -1s, .55s; }
.js .chip-2 { animation-delay: -3s, .7s; }
.js .chip-3 { animation-delay: -5s, .85s; }

@keyframes fadeUp {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes popIn {
  from { opacity: 0; scale: .85; }
  to { opacity: 1; scale: 1; }
}

/* Reveal on scroll (only when JS is running). Uses `translate` so it never
   fights with hover effects that use `transform`. --d is a stagger delay set in JS. */
.js .reveal {
  opacity: 0; translate: 0 32px;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out), box-shadow .25s, border-color .25s, transform .25s;
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms, 0ms;
}
.js .reveal-left { translate: -48px 0; }
.js .reveal-right { translate: 48px 0; }
.js .reveal.visible { opacity: 1; translate: 0 0; }

/* Service rows: the card stays put; illustration slides in from its side, text follows */
.js .service-row.reveal { opacity: 1; translate: none; }
.js .service-row .service-visual,
.js .service-row .service-body {
  opacity: 0; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out);
}
.js .service-row .service-visual { translate: -40px 0; transition-delay: .1s; }
.js .service-row:nth-child(even) .service-visual { translate: 40px 0; }
.js .service-row .service-body { translate: 0 20px; transition-delay: .25s; }
.js .service-row.visible .service-visual,
.js .service-row.visible .service-body { opacity: 1; translate: 0 0; }

/* Subtle hover lift on small cards */
.extra, .step, .why-item { transition: transform .25s, box-shadow .25s; }
.extra:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .service-row .service-visual, .js .service-row .service-body { opacity: 1; translate: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .extras-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    box-shadow: 0 20px 30px rgba(31, 41, 51, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; }

  .hero { padding: 32px 0 100px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: min(260px, 70%); order: -1; }
  .chip { font-size: .8rem; padding: 8px 12px; }
  .chip-1 { left: -10%; }
  .chip-2 { right: -12%; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .steps, .why-grid, .field-row, .service-row { grid-template-columns: 1fr; }
  .service-row { gap: 20px; padding: 16px 16px 24px; }
  .service-row:nth-child(even) .service-visual { order: 0; }
  .service-body, .service-row:nth-child(even) .service-body { padding: 0 4px; }
  .field-row { gap: 0; }
  .contact { padding: 80px 0; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .contact-form { padding: 24px 20px; }
  .wordmark { font-size: 1.3rem; }
  .brand-icon { width: 30px; height: 30px; }
  .chip-1 { left: -4%; }
  .chip-2 { right: -4%; }
  .footer-inner { flex-direction: column; text-align: center; }
}
