:root {
  --blue: oklch(0.57 0.16 245);
  --blue-deep: oklch(0.29 0.10 245);
  --blue-pale: oklch(0.94 0.03 240);
  --ink: oklch(0.19 0.025 245);
  --muted: oklch(0.43 0.025 245);
  --white: oklch(1 0 0);
  --surface: oklch(0.97 0.008 245);
  --line: oklch(0.86 0.018 245);
  --accent: oklch(0.70 0.15 56);
  --success: oklch(0.45 0.14 150);
  --error: oklch(0.48 0.19 27);
  --font: "Funnel Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --z-sticky: 30;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
p { text-wrap: pretty; }

.shell { width: min(100% - 40px, 1180px); margin-inline: auto; }
.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.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; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: calc(var(--z-sticky) + 1);
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.utility-bar { color: var(--white); background: var(--blue-deep); font-size: 0.82rem; font-weight: 600; }
.utility-bar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-bar a { display: inline-flex; align-items: center; gap: 0.45rem; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar a:first-child span:first-child { color: var(--accent); font-size: 0.55rem; }

.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--white); border-bottom: 1px solid var(--line); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 40px; color: var(--blue); }
.brand__type { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.brand__type span { color: var(--blue); }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; font-size: 0.94rem; font-weight: 650; }
.nav__menu > a:not(.button) { position: relative; }
.nav__menu > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right 220ms cubic-bezier(.16,1,.3,1); }
.nav__menu > a:not(.button):hover::after { right: 0; }
.language-toggle { min-width: 86px; padding: 0.5rem 0.7rem; color: var(--blue-deep); background: var(--blue-pale); border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.15;
  transition: transform 180ms cubic-bezier(.16,1,.3,1), background-color 180ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-deep); }
.button--small { min-height: 44px; padding: 0.7rem 1rem; }
.button--portal { color: var(--blue-deep); background: var(--blue-pale); }
.button--portal:hover { color: var(--white); background: var(--blue-deep); }
.button--light { color: var(--blue-deep); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--ink); }
.button--dark { background: var(--ink); }
.button--dark:hover { background: var(--blue-deep); }
.button:disabled { opacity: 0.65; cursor: wait; transform: none; }

.hero { min-height: min(760px, calc(100svh - 118px)); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); color: var(--white); background: var(--blue); }
.hero__copy { display: flex; justify-content: flex-end; }
.hero__copy-inner { width: min(100%, 610px); align-self: center; padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - 1180px) / 2)); }
.hero__kicker { margin-bottom: 1.25rem; color: var(--white); font-size: 0.9rem; font-weight: 750; }
.hero h1 { max-width: 10ch; font-size: clamp(3.3rem, 6.6vw, 6rem); font-weight: 800; }
.hero__lead { max-width: 58ch; margin-top: 1.6rem; color: oklch(0.97 0.01 240); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; margin-top: 2rem; }
.text-link { font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero__media { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--blue-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media figcaption { position: absolute; right: 0; bottom: 0; max-width: 340px; padding: 1rem 1.25rem; color: var(--white); background: var(--ink); font-size: 0.88rem; font-weight: 650; }

.proof-strip { color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-strip p { display: flex; flex-direction: column; gap: 0.15rem; padding: 1.4rem 2rem; border-inline-end: 1px solid var(--line); }
.proof-strip p:first-child { padding-inline-start: 0; }
.proof-strip p:last-child { border-inline-end: 0; }
.proof-strip strong { color: var(--blue-deep); font-size: 0.8rem; }
.proof-strip span { color: var(--muted); font-size: 0.94rem; }

.section-intro { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: 3.5rem; }
.section-intro h2, .process h2, .about h2, .contact h2 { font-size: clamp(2.45rem, 5vw, 4.75rem); font-weight: 800; }
.section-intro p, .process__intro > p, .about__copy > p, .contact__details > p { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }

.service-row { min-height: 196px; display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: 2.3rem; color: var(--ink); background: var(--blue-pale); border-top: 1px solid var(--blue); }
.service-row + .service-row { margin-top: 1rem; }
.service-row--blue { color: var(--white); background: var(--blue); border-color: var(--blue); }
.service-row--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.service-row__number { align-self: start; color: var(--blue); font-size: 0.9rem; font-weight: 800; }
.service-row--blue .service-row__number, .service-row--dark .service-row__number { color: var(--accent); }
.service-row h3 { font-size: clamp(1.7rem, 3vw, 2.75rem); }
.service-row p { max-width: 64ch; margin-top: 0.7rem; color: var(--muted); }
.service-row--blue p, .service-row--dark p { color: oklch(0.91 0.014 240); }
.service-row > a { align-self: end; padding-bottom: 0.2rem; border-bottom: 2px solid currentColor; font-weight: 750; white-space: nowrap; }
.service-row > a:hover { color: var(--accent); }

.process { background: var(--surface); }
.process__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr); gap: clamp(3rem, 8vw, 8rem); }
.process__intro > p { margin-top: 1.4rem; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; padding: 0 0 2.2rem; }
.steps li + li { padding-top: 2.2rem; border-top: 1px solid var(--line); }
.steps li > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 1rem; font-weight: 800; }
.steps h3 { padding-top: 0.25rem; font-size: 1.45rem; }
.steps p { max-width: 55ch; margin-top: 0.55rem; color: var(--muted); }

.about { color: var(--white); background: var(--blue-deep); }
.about__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.about__statement { align-self: stretch; display: flex; align-items: flex-end; padding: clamp(2rem, 5vw, 4rem); background: var(--accent); }
.about__statement p { color: var(--ink); font-size: clamp(2rem, 4vw, 3.65rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.about__copy h2 { max-width: 11ch; }
.about__copy > p { margin-top: 1.4rem; color: oklch(0.9 0.015 240); }
.arrow-link { display: inline-flex; gap: 0.7rem; margin-top: 2rem; padding-bottom: 0.3rem; border-bottom: 2px solid var(--accent); font-weight: 750; }
.arrow-link:hover { color: var(--accent); }

.contact { background: var(--blue-pale); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(430px, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact__details > p { margin-top: 1.3rem; }
.contact dl { margin: 2.6rem 0; }
.contact dl div { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--muted); font-size: 0.78rem; font-weight: 750; }
.contact dd { margin: 0.35rem 0 0; font-size: 1.08rem; font-weight: 650; }
.contact dd a:hover { color: var(--blue); }
.lead-form { padding: clamp(1.5rem, 4vw, 2.7rem); background: var(--white); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lead-form label { display: block; margin-bottom: 1rem; color: var(--ink); font-size: 0.88rem; font-weight: 700; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 50px; margin-top: 0.45rem; padding: 0.78rem 0.9rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--blue); outline: 3px solid var(--blue-pale); }
.honeypot { position: absolute; left: -10000px; }
.form-status { min-height: 1.5em; margin-top: 1rem; font-size: 0.92rem; font-weight: 650; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

.site-footer { padding-block: 3.5rem; color: var(--white); background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: start; }
.brand--footer { color: var(--white); }
.brand--footer .brand__mark { color: var(--blue); }
.footer__grid > div:first-child > p { max-width: 45ch; margin-top: 1rem; color: oklch(0.78 0.015 240); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.92rem; font-weight: 650; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { grid-column: 1 / -1; padding-top: 2rem; color: oklch(0.67 0.015 240); border-top: 1px solid oklch(0.33 0.025 245); font-size: 0.78rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav__menu { position: fixed; inset: 118px 0 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 2rem 20px; background: var(--white); }
  .nav__menu.is-open { display: flex; }
  .nav__menu > a:not(.button), .language-toggle { width: 100%; padding: 1rem 0; text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__menu .button { margin-top: 1.5rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero__copy-inner { width: 100%; max-width: none; padding-inline: 20px; }
  .hero__media { min-height: 480px; }
  .section-intro, .process__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__grid, .about__grid, .contact__grid { gap: 3.5rem; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .utility-bar__inner { min-height: 42px; }
  .utility-bar a:first-child { display: none; }
  .utility-bar__inner { justify-content: flex-end; }
  .nav { min-height: 72px; }
  .nav__menu { inset-block-start: 114px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero__copy-inner { padding: 4rem 14px; }
  .hero__media { min-height: 340px; }
  .hero__media figcaption { max-width: 270px; }
  .proof-strip__inner { grid-template-columns: 1fr; }
  .proof-strip p, .proof-strip p:first-child { padding: 1rem 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .proof-strip p:last-child { border-bottom: 0; }
  .section-intro { gap: 1.5rem; }
  .service-row { grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.6rem 1.2rem; }
  .service-row > a { grid-column: 2; justify-self: start; margin-top: 0.5rem; }
  .steps li { grid-template-columns: 46px 1fr; }
  .about__statement { min-height: 310px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form .button { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { grid-column: auto; }
}

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