@font-face { font-family: Evolventa; src: local('Evolventa Regular'), local('Evolventa-Regular'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Evolventa; src: local('Evolventa Bold'), local('Evolventa-Bold'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --soft: #eef1f6;
  --ink: #1a1a1a;
  --muted: #5f6167;
  --line: rgba(26, 26, 26, 0.1);
  --blue: #1666f5;
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Evolventa, Arial, sans-serif; letter-spacing: 0; }
section[id] { scroll-margin-top: 88px; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1360px, calc(100% - 80px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,245,245,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header__inner { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 160px; height: auto; }
.nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; font-size: 14px; }
.nav a { transition: opacity .15s ease; white-space: nowrap; }
.nav a:hover { opacity: .5; }
.nav__active { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.locale { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }
.button { min-height: 62px; padding: 0 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 30px; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
.button:hover { opacity: .82; transform: translateY(-1px); }
.button--dark { background: #2b2b2b; }
.button--blue { background: var(--blue); }
.button--small { min-height: 44px; padding-inline: 20px; font-size: 14px; }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: white; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-button span { width: 20px; height: 2px; background: var(--ink); transition: .2s ease; }
.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }
.hero { position: relative; padding: clamp(64px, 7vw, 108px) 0 52px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; max-width: 1180px; text-align: center; }
.eyebrow { margin: 0 0 24px; color: var(--blue); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { position: relative; margin: 0; font-size: clamp(52px, 5.4vw, 82px); line-height: 1.02; letter-spacing: 0; }
.hero h1 span, h2 span { color: var(--blue); }
.hero__lead { max-width: 980px; margin: 28px auto 0; color: #484848; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.hero__actions { display: flex; justify-content: center; gap: 10px; margin-top: 38px; }
.hero-scene { position: relative; height: clamp(340px, 42vw, 560px); margin-top: 52px; overflow: hidden; border-radius: 30px; background: white; }
.hero-scene__ship { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .85; }
.hero-scene__labels { position: absolute; top: 32px; left: 34px; display: flex; gap: 8px; }
.hero-scene__labels span { padding: 10px 15px; border-radius: 999px; background: white; color: var(--blue); font-size: 13px; font-weight: 700; box-shadow: 0 8px 30px rgba(16,24,40,.08); }
.hero-scene__caption { position: absolute; left: 34px; bottom: 34px; max-width: 390px; display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border-radius: 24px; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); }
.hero-scene__caption strong { font-size: 26px; }
.hero-scene__caption span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; border-top: 1px solid var(--line); }
.facts div { min-height: 138px; padding: 30px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.facts strong { font-size: clamp(38px, 4vw, 58px); line-height: 1; }
.facts span { max-width: 230px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.section { padding: clamp(90px, 10vw, 150px) 0; }
.section--soft { background: #eceef2; }
.section-heading { max-width: 960px; margin-bottom: 60px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2, .expertise h2, .cta h2 { margin: 0; font-size: clamp(44px, 5.3vw, 76px); line-height: 1.04; }
.section-heading > p:last-child, .expertise__intro > p:last-child, .cta > p { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.section-heading--center > p:last-child, .cta > p { margin-inline: auto; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.service-card { position: relative; min-height: 500px; padding: 36px 40px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 30px; background: white; }
.service-card__top { position: absolute; z-index: 2; top: 28px; left: 30px; right: 30px; display: flex; justify-content: space-between; align-items: center; }
.service-card > img { position: absolute; z-index: 0; top: -6px; right: 0; width: 54%; height: 58%; object-fit: contain; object-position: right top; pointer-events: none; }
.tag { padding: 8px 13px; border: 1px solid rgba(22,102,245,.3); border-radius: 99px; color: var(--blue); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tag--dark { background: var(--ink); border-color: var(--ink); color: white; }
.num { color: #8b8d92; font-size: 18px; }
.service-card h3 { position: relative; z-index: 1; max-width: 68%; margin: 0; font-size: clamp(28px,2.4vw,38px); font-weight: 400; line-height: 1.12; }
.service-card p { position: relative; z-index: 1; max-width: 66%; margin: 18px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.service-card ul { position: relative; z-index: 1; max-width: 74%; margin: 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.service-card li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; margin: 70px 0 0; padding: 48px 36px; overflow: hidden; border-radius: 40px; background: white; list-style: none; }
.steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 8px; text-align: center; }
.steps li:nth-child(even) { padding-top: 64px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; z-index: -1; top: 28px; left: 66%; width: 85%; height: 84px; border-top: 2px dashed rgba(19,121,255,.48); border-radius: 50%; transform: rotate(13deg); }
.steps li:nth-child(even):not(:last-child)::after { top: 22px; transform: rotate(-13deg); }
.steps li > span { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: #cfe2ff; color: var(--blue); font-size: 30px; font-weight: 400; }
.steps h3 { margin: 22px 0 12px; font-size: 20px; font-weight: 400; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.expertise { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.expertise__intro { position: sticky; top: 120px; }
.expertise__list { border-top: 1px solid var(--line); }
.expertise__list article { display: grid; grid-template-columns: 54px 1fr; column-gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.expertise__list article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: 12px; font-weight: 700; }
.expertise__list h3 { margin: 4px 0 10px; font-size: 23px; }
.expertise__list p { grid-column: 2; margin: 0; color: var(--muted); line-height: 1.6; }
.section--cta { padding-top: 40px; }
.cta { padding: clamp(64px, 8vw, 110px); text-align: center; border-radius: var(--radius); background: white; }
.cta h2 { max-width: 1020px; margin-inline: auto; }
.cta .button { margin-top: 34px; }
.footer { padding: 0 0 40px; }
.footer__panel { display: grid; grid-template-columns: 1fr .7fr 1.15fr; gap: 52px; padding: 38px 32px 22px; border-radius: var(--radius); background: #f0f1f3; }
.footer__brand p { max-width: 290px; margin: 16px 0 0; font-size: 14px; line-height: 1.5; }
.footer__links, .footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; }
.footer strong { margin-bottom: 8px; font-size: 13px; text-transform: uppercase; }
.footer__contacts span { margin-top: 4px; color: var(--muted); }
.footer__bottom { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer__bottom a:last-child { margin-left: auto; color: var(--ink); }

body.modal-open { overflow: hidden; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(4px); }
.modal__panel { position: relative; z-index: 1; width: min(720px, 100%); max-height: min(880px, calc(100svh - 40px)); overflow-y: auto; padding: 34px; border-radius: 28px; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.22); transform: translateY(14px) scale(.98); transition: transform .22s ease; }
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f8f9fb; color: #666; font: 28px/1 Arial,sans-serif; cursor: pointer; }
.modal__content > h2, .modal__success h2 { max-width: 580px; margin: 0; padding-right: 46px; font-size: clamp(28px,4vw,42px); line-height: 1.08; }
.modal__content .eyebrow { margin-bottom: 14px; }
.modal__lead { max-width: 610px; margin: 16px 0 26px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .methods legend { color: #6b6b6b; font-size: 14px; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border: 1px solid transparent; border-radius: 16px; outline: none; background: #f8f9fb; color: var(--ink); font: inherit; font-size: 15px; resize: vertical; transition: border-color .15s ease, background .15s ease; }
.field input:focus, .field textarea:focus { border-color: var(--blue); background: white; }
.field.is-error input, .field.is-error textarea { border-color: #e53935; background: #fff8f8; }
.field small { min-height: 0; color: #e53935; font-size: 12px; }
.field small:empty { display: none; }
.methods { margin: 0; padding: 0; border: 0; }
.methods legend { margin-bottom: 9px; }
.methods > div { display: flex; flex-wrap: wrap; gap: 8px; }
.methods button { padding: 10px 15px; border: 0; border-radius: 12px; background: #f8f9fb; color: #5a5a5a; font: inherit; font-size: 13px; cursor: pointer; }
.methods button.is-active { background: var(--blue); color: white; box-shadow: 0 2px 10px rgba(19,121,255,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phone-input { display: grid; grid-template-columns: 110px 1fr; overflow: hidden; border: 1px solid transparent; border-radius: 16px; background: #f8f9fb; }
.phone-input select, .phone-input input { min-width: 0; border: 0; border-radius: 0; background: transparent; }
.phone-input select { padding: 0 12px; border-right: 1px solid #e6e8ee; font: inherit; }
.agreement { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: #6b6b6b; font-size: 13px; line-height: 1.45; cursor: pointer; }
.agreement input { position: absolute; opacity: 0; }
.agreement__box { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #d0d5dd; border-radius: 8px; color: transparent; transition: .15s ease; }
.agreement input:checked + .agreement__box { border-color: var(--blue); background: var(--blue); color: white; }
.agreement a { color: var(--blue); }
.agreement.is-error .agreement__box { border-color: #e53935; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: -4px 0 0; color: #e53935; font-size: 13px; }
.form-error:not(:empty) { display: block; }
.submit-button { width: 100%; min-height: 56px; border-radius: 16px; }
.submit-button[disabled] { opacity: .65; cursor: wait; transform: none; }
.modal__success { min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.modal__success[hidden] { display: none; }
.modal__success > span { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #e7f0ff; color: var(--blue); font-size: 34px; }
.modal__success h2 { padding: 0; }
.modal__success p { max-width: 460px; margin: 0 0 10px; color: var(--muted); line-height: 1.55; }
.modal__success .button { min-width: 200px; }

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .header__actions .button { display: none; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 48px 20px; }
  .steps li, .steps li:nth-child(even) { padding-top: 0; }
  .steps li::after { display: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 40px, 1360px); }
  .header__inner { min-height: 70px; }
  .brand img { width: 158px; }
  .nav, .header__actions { display: none; }
  .menu-button { display: flex; }
  .mobile-nav { position: fixed; z-index: 49; left: 0; right: 0; top: 70px; display: flex; max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; transform: translateY(-8px); flex-direction: column; gap: 8px; padding: 0 20px; background: var(--bg); border-bottom: 1px solid transparent; transition: .25s ease; }
  .mobile-nav.is-open { max-height: 420px; opacity: 1; pointer-events: auto; transform: translateY(0); padding-block: 18px 22px; border-color: var(--line); }
  .mobile-nav > a:not(.button) { padding: 9px 0; font-size: 15px; }
  .mobile-nav .button { min-height: 50px; margin-top: 6px; }
  .hero { padding: 48px 0 34px; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 42px); }
  .hero h1 br { display: none; }
  .hero__lead { margin-top: 24px; font-size: 17px; }
  .hero__actions { flex-direction: column; margin-top: 28px; }
  .hero-scene { width: calc(100% - 24px); height: 360px; margin-top: 42px; }
  .hero-scene__ship { object-position: 62% center; opacity: .72; }
  .hero-scene__labels { top: 18px; left: 18px; }
  .hero-scene__labels span { padding: 8px 11px; font-size: 11px; }
  .hero-scene__caption { left: 18px; right: 18px; bottom: 18px; max-width: none; padding: 18px; }
  .hero-scene__caption strong { font-size: 21px; }
  .button { width: 100%; min-height: 56px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 68px; }
  .facts div { min-height: 132px; padding-right: 16px; }
  .facts strong { font-size: 42px; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .expertise h2, .cta h2 { font-size: 42px; }
  .section-heading > p:last-child, .expertise__intro > p:last-child, .cta > p { margin-top: 22px; font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 520px; padding: 28px; }
  .service-card__top { top: 22px; left: 22px; right: 22px; }
  .service-card > img { width: 66%; height: 55%; }
  .service-card h3 { max-width: 86%; font-size: 29px; }
  .service-card p { max-width: 94%; }
  .service-card ul { max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 52px; }
  .steps { padding: 30px 24px; border-radius: 30px; }
  .steps li { padding-right: 0; }
  .steps h3 { margin-top: 22px; }
  .expertise { grid-template-columns: 1fr; gap: 54px; }
  .expertise__intro { position: static; }
  .expertise__list article { grid-template-columns: 48px 1fr; column-gap: 16px; }
  .cta { width: calc(100% - 24px); padding: 56px 22px; }
  .footer { padding-bottom: 20px; }
  .footer__panel { grid-template-columns: 1fr; gap: 32px; padding: 30px 22px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__bottom a:last-child { margin-left: 0; }
  .modal { padding: 10px; }
  .modal__panel { max-height: calc(100svh - 20px); padding: 26px 18px 22px; border-radius: 24px; }
  .modal__close { top: 12px; right: 12px; }
  .modal__content > h2 { padding-right: 34px; font-size: 29px; }
  .modal__lead { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .methods > div { display: grid; grid-template-columns: repeat(3,1fr); }
  .methods button { padding-inline: 8px; }
  .modal__success .button { width: auto; }
}

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