@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14203a;
  --muted: #566175;
  --blue: #2259ec;
  --blue-hover: #1749d0;
  --page: #f8f9fb;
  --line: #dce1e9;
  --dark: #101d36;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

::selection { background: #b9ccff; color: #0b1a40; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #83a5ff; outline-offset: 4px; }

.container { width: min(100% - 80px, 1240px); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 12px 16px;
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.brand-symbol { width: 43px; height: 43px; display: flex; align-items: end; justify-content: center; gap: 3px; padding: 12px 8px; background: var(--blue); border-radius: 10px; }
.brand-symbol span { width: 6px; height: 17px; background: white; border-radius: 2px 2px 0 0; transform: skew(-13deg); }
.brand-symbol span:nth-child(2) { height: 12px; }
.brand-symbol span:nth-child(3) { height: 17px; }
.brand-name { font-family: var(--display); font-size: 19px; font-weight: 800; line-height: .88; letter-spacing: -.035em; }
.brand-dot, .footer-brand span, .art-brand span { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 48px; font-size: 13px; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-contact):hover { color: var(--blue); }
.nav-contact { display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid currentColor; padding-block: 8px; transition: color .2s ease; }
.nav-contact:hover { color: var(--blue); }
.nav-contact-short { display: none; }
.arrow-icon { display: block; width: 18px; height: 18px; flex: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .8fr); align-items: center; gap: clamp(40px, 6vw, 105px); padding-block: clamp(75px, 8vw, 120px) 72px; }
.hero-copy h1 { margin: 0; max-width: 760px; font-family: var(--display); font-size: clamp(55px, 5.6vw, 82px); font-weight: 700; letter-spacing: -.035em; line-height: .99; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy p { max-width: 570px; margin: 30px 0 34px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.72; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; padding: 0 23px; border: 0; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1.3; transition: background .2s ease, transform .2s ease; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-hover); transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }

.hero-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 420px; padding: 28px; overflow: hidden; border-radius: 14px; background: #1d4ed8; color: white; }
.hero-art-top, .hero-art-main, .hero-art-bottom { position: relative; z-index: 1; }
.hero-art-top { display: flex; align-items: center; justify-content: space-between; }
.art-brand { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.art-brand span { color: #9fb9ff; }
.art-cross { position: relative; display: block; width: 25px; height: 25px; color: #a7beff; }
.art-cross::before, .art-cross::after { content: ""; position: absolute; inset: 11px 0 auto; height: 2px; background: currentColor; }
.art-cross::after { transform: rotate(90deg); }
.hero-art-main { display: flex; flex-direction: column; justify-content: center; flex: 1; padding-block: 31px 28px; }
.hero-art-main p { margin: 0 0 19px; font-family: var(--display); font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.hero-art-main strong { font-weight: 800; }
.art-status-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.26); }
.art-status-list li { display: flex; align-items: center; gap: 12px; min-height: 43px; border-bottom: 1px solid rgba(255,255,255,.26); color: #f2f5ff; font-size: 12px; font-weight: 700; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.hero-art:hover .art-status-list li { transform: translateX(4px); }
.art-check { position: relative; display: inline-block; width: 16px; height: 16px; flex: none; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.art-check::after { content: ""; position: absolute; top: 3px; left: 5px; width: 4px; height: 7px; border: solid white; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.hero-art-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.28); color: #e8eeff; font-size: 12px; font-weight: 700; }
.hero-art-bottom span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #afffc5; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.hero-art:hover .status-dot { transform: scale(1.5); }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.hero-foot span:first-child { color: var(--ink); }

.services-section { background: #fff; padding-block: clamp(90px, 10vw, 150px); }
.services-grid { display: grid; grid-template-columns: minmax(285px, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(50px, 8vw, 145px); }
.section-intro { position: sticky; top: 40px; }
.section-intro h2, .contact-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 4.8vw, 65px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
.section-intro h2 span { color: var(--blue); }
.section-intro p { max-width: 340px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.services-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 25px; padding-block: 25px 27px; border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.service-item:hover { background: #f8faff; }
.service-item > div { transition: transform .25s cubic-bezier(.16,1,.3,1); }
.service-item:hover > div { transform: translateX(6px); }
.service-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 10px; background: #eaf0ff; color: var(--blue); }
.service-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-item h3 { margin: 2px 0 7px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.018em; }
.service-item p { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact-section { background: var(--dark); color: white; padding-block: clamp(90px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; gap: clamp(55px, 8vw, 135px); }
.contact-copy h2 span { color: #94b2ff; }
.contact-copy p { max-width: 400px; margin: 25px 0 38px; color: #c7d2e8; font-size: 16px; line-height: 1.75; }
.contact-email { display: inline-flex; gap: 12px; align-items: center; color: #fff; font-size: 13px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 7px; overflow-wrap: anywhere; }
.contact-email:hover { color: #a9c0ff; }
.contact-form { padding: clamp(25px, 3.3vw, 45px); border-radius: 14px; background: #fff; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 21px; }
.field label { font-size: 12px; font-weight: 800; }
.field label span { color: var(--blue); }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #cfd6e2; border-radius: 6px; outline: none; padding: 14px 15px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.5; transition: border-color .2s ease, box-shadow .2s ease; }
.field input { min-height: 50px; }
.field textarea { min-height: 143px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #68758b; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: #929fb4; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(34, 89, 236, .13); }
.form-bottom { display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.form-bottom p { max-width: 240px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-bottom .button { flex: none; }
.form-status { margin: 20px 0 0; padding: 14px 16px; border-radius: 6px; background: #ecf8ef; color: #175d2d; font-size: 13px; line-height: 1.5; }
.form-status.is-error { background: #fff0ef; color: #9b2821; }
.form-status a { font-weight: 700; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.site-footer { background: var(--dark); color: #bdc8de; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-block: 30px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; }
.footer-brand { color: white; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.footer-brand span { color: #93b0ff; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(310px, .75fr); gap: 35px; }
  .hero-copy h1 { font-size: clamp(49px, 6vw, 65px); }
  .hero-art { min-height: 390px; }
  .services-grid { gap: 55px; }
  .contact-grid { gap: 55px; }
  .form-bottom { align-items: stretch; flex-direction: column-reverse; gap: 14px; }
  .form-bottom p { max-width: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 600px); }
  .header-inner { min-height: 77px; }
  .main-nav { gap: 18px; }
  .main-nav a:first-child { display: none; }
  .nav-contact { font-size: 12px; }
  .hero-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 72px; padding-bottom: 55px; gap: 55px; }
  .hero-copy h1 { font-size: clamp(47px, 9vw, 70px); }
  .hero-copy p { margin-block: 24px 30px; }
  .hero-art { max-width: 530px; min-height: 380px; }
  .services-grid { gap: 46px; }
  .section-intro { position: static; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .brand-symbol { width: 38px; height: 38px; padding: 11px 7px; }
  .brand-name { font-size: 16px; }
  .nav-contact { gap: 6px; border-bottom: 0; }
  .nav-contact-full { display: none; }
  .nav-contact-short { display: inline; }
  .nav-contact .arrow-icon { display: none; }
  .hero-grid { padding-top: 65px; padding-bottom: 45px; }
  .hero-copy h1 { font-size: clamp(43px, 11vw, 57px); }
  .hero-copy p { font-size: 15px; }
  .hero-art { min-height: 360px; padding: 22px; }
  .hero-art-main p { font-size: 24px; }
  .hero-art-bottom { font-size: 11px; }
  .hero-foot { font-size: 12px; }
  .hero-foot span:last-child { max-width: 160px; text-align: right; }
  .section-intro h2, .contact-copy h2 { font-size: clamp(40px, 10vw, 53px); }
  .service-item { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .service-icon { width: 40px; height: 40px; }
  .service-item h3 { font-size: 19px; }
  .service-item p { font-size: 13px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .form-bottom .button { width: 100%; }
  .footer-inner { align-items: start; flex-direction: column; }
}

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