:root {
  color-scheme: light;
  --ink: #080b10;
  --ice: #b9defe;
  --text: #10151c;
  --muted: #4c5967;
  --canvas: #f1f3f6;
  --line: #cfd6de;
  --blue: #346b9d;
  --gutter: clamp(22px, 4.6vw, 74px);
  --header: 76px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: white; color: var(--text); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #579cdd; outline-offset: 5px; }
.symbols { width: 0; height: 0; position: absolute; }
.skip { position: fixed; left: 16px; top: 12px; transform: translateY(-200%); z-index: 10; background: white; padding: 12px 16px; }
.skip:focus { transform: none; }
.wrap { width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; }
.site-header { height: var(--header); background: var(--ink); color: #f7f9fc; position: relative; z-index: 2; border-bottom: 1px solid #ffffff34; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 15px; font-size: clamp(17px, 1.75vw, 26px); font-weight: 600; letter-spacing: .09em; }
.brand svg { width: 30px; height: 30px; color: var(--ice); flex: 0 0 auto; }
nav { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 54px); font-size: 15px; font-weight: 550; }
nav a { padding-block: 12px; transition: color .2s, background .2s; white-space: nowrap; }
nav a:hover { color: var(--ice); }
.nav-contact { border: 1px solid #f7f9fcb0; border-radius: 3px; padding-inline: 20px; }
.nav-contact:hover { background: #ffffff12; }
.menu { display: none; }
.hero { color: #f8fafc; background: var(--ink); position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(76%, 1210px); display: block; mask-image: linear-gradient(90deg, transparent, black 31%); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 24%; }
.hero-inner { min-height: clamp(530px, 43vw, 695px); display: flex; align-items: center; }
.hero-copy { padding: 53px 0 107px; }
.hero h1 { font-size: clamp(41px, 4.4vw, 70px); line-height: 1.24; letter-spacing: -.035em; font-weight: 750; }
.hero h1 span { color: var(--ice); }
.hero p { margin-top: 25px; font-size: clamp(15px, 1.28vw, 21px); line-height: 1.8; color: #dfe5ed; }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 145px; padding: 12px 26px; border: 1px solid transparent; border-radius: 3px; font-size: 16px; font-weight: 650; transition: color .2s, background .2s, border-color .2s; }
.primary { background: var(--ice); color: var(--ink); }
.primary:hover { background: #d7ecff; }
.secondary { border-color: #f7f9fcd0; color: #f7f9fc; background: #080b1055; }
.secondary:hover { background: #f7f9fc; color: var(--ink); }
.section { padding: clamp(54px, 6.5vw, 100px) 0; }
.services { background: var(--canvas); }
.section-label { display: flex; align-items: center; gap: 18px; font-size: 16px; line-height: 1.5; font-weight: 680; margin-bottom: 10px; }
.section-label::after, .process h2::after { content: ""; width: 45px; height: 1px; background: #629dd2; }
h2 { font-size: clamp(29px, 3.6vw, 54px); line-height: 1.24; font-weight: 720; letter-spacing: -.036em; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 36px; margin-bottom: 33px; }
.section-head > p, .service p, .steps p { color: var(--muted); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.section-head > p { padding-bottom: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { border-top: 1px solid var(--line); padding: 27px clamp(16px, 2.7vw, 42px) 30px; }
.service:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.service:nth-child(3n + 1) { padding-left: 0; }
.service:nth-child(3n) { padding-right: 0; }
.number, .steps h3 span { display: inline-block; color: var(--blue); font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; }
h3 { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.4; font-weight: 690; }
.service h3 { margin: 8px 0 10px; }
.process h2 { display: flex; align-items: center; gap: 22px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 36px 0 0; padding: 0; }
.steps h3 { display: flex; align-items: baseline; gap: 11px; margin-bottom: 9px; }
.steps h3::after { content: ""; height: 1px; flex: 1; align-self: center; margin-left: 3px; background: var(--line); }
.steps li:last-child h3::after { display: none; }
.about, footer { background: var(--ink); color: #f7f9fc; }
.contact-layout { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(25px, 6vw, 100px); align-items: center; }
.about .section-label { color: var(--ice); }
.about-copy { max-width: 36em; margin-top: 16px; color: #c4cfdb; font-size: 15px; line-height: 1.85; }
.brief-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 17px; padding: 8px 0; border: 0; border-bottom: 1px solid #ffffff50; background: transparent; color: var(--ice); font-size: 14px; }
.contacts { font-style: normal; min-width: 0; }
.contacts a { display: grid; grid-template-columns: 90px minmax(0, 1fr) 18px; gap: 12px; align-items: center; min-height: 55px; padding: 10px 0; border-bottom: 1px solid #ffffff34; }
.contacts a:first-child { border-top: 1px solid #ffffff34; }
.contacts a:hover, .brief-link:hover, .back-top:hover { color: var(--ice); border-color: var(--ice); }
.contacts span { color: #c4cfdb; font-size: 13px; }
.contacts strong { font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #ffffff34; padding: 24px 0; }
.footer-inner .brand { font-size: 16px; gap: 9px; }
.footer-inner .brand svg { width: 19px; height: 19px; }
.footer-inner p, .back-top { color: #aebac8; font-size: 12px; }
.back-top { display: inline-flex; align-items: center; gap: 7px; }
dialog { width: min(530px, 100% - 30px); max-height: 90dvh; padding: 26px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); }
dialog::backdrop { background: #080b10bf; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 650; letter-spacing: .08em; margin-bottom: 15px; }
.close { display: grid; place-items: center; width: 38px; height: 38px; background: var(--canvas); border: 0; border-radius: 3px; font-size: 25px; }
dialog h2 { font-size: 26px; }
.dialog-intro, #form-status { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 10px; }
form label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 650; }
form :is(input, select, textarea) { width: 100%; border: 1px solid #aebac8; border-radius: 3px; background: white; color: var(--text); padding: 10px; font-size: 16px; }
textarea { resize: vertical; }
form .button { width: 100%; margin-top: 19px; }
@media (max-width: 950px) {
  .hero p { max-width: 28em; }
  .section-head { align-items: start; flex-direction: column; }
  .steps { gap: 21px; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 700px) {
  :root { --header: 62px; }
  .brand { gap: 9px; }
  .brand svg { width: 23px; height: 23px; }
  .menu { display: flex; width: 43px; height: 43px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #ffffff58; border-radius: 3px; background: transparent; }
  .menu span { width: 17px; height: 1px; background: #f7f9fc; transition: transform .2s; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  nav { display: none; position: absolute; top: var(--header); inset-inline: 0; padding: 10px var(--gutter) 18px; background: var(--ink); border-bottom: 1px solid #ffffff40; }
  nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-contact { border: 0; padding-inline: 0; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; min-height: 0; position: relative; z-index: 1; }
  .hero-copy { padding: 43px 0 0; }
  .hero h1 { font-size: clamp(29px, 8.3vw, 54px); }
  .hero p { margin-top: 17px; max-width: 29em; }
  .actions { margin-top: 25px; gap: 12px; }
  .button { min-height: 45px; min-width: 110px; padding: 10px 17px; font-size: 14px; }
  .hero-art { position: relative; width: 100%; aspect-ratio: 1.85; inset: auto; margin-top: 6px; mask-image: linear-gradient(180deg, transparent, black 24%); }
  .hero-art img { object-position: 65% 56%; }
  .section-head { margin-bottom: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(n) { border-left: 0; padding: 19px 0; display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 6px 12px; align-items: baseline; }
  .service .number { grid-row: span 2; }
  .service h3 { margin: 0; }
  .service p { grid-column: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 25px; gap: 23px 14px; }
  .steps h3::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .contacts a { grid-template-columns: 65px minmax(0, 1fr) 15px; gap: 8px; }
  .contacts strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
