:root {
  --navy: #001b39;
  --navy-deep: #001329;
  --blue: #0968ff;
  --ink: #071b38;
  --muted: #647188;
  --line: #e3e9f1;
  --white: #fff;
  --radius: 20px;
  --container: 1320px;
  --header-h: 108px;
  --header-compact-h: 76px;
  --shadow: 0 16px 38px rgba(11, 35, 70, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#services, #contacts { scroll-margin-top: calc(var(--header-compact-h) + 24px); }
body { margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f7f9fc; }
button, input, textarea, select { margin: 0; font: inherit; border-radius: 0; }
button, select { -webkit-appearance: none; appearance: none; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(9, 104, 255, .9);
  outline-offset: 4px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 max(clamp(24px, 6vw, 100px), calc((100vw - var(--container)) / 2)); color: #fff; transition: height .3s ease, background .3s ease, border-color .3s ease, backdrop-filter .3s ease; animation: header-down .75s ease .1s both; }
.site-header.scrolled { height: var(--header-compact-h); background: rgba(0, 20, 43, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 35px rgba(0, 13, 30, .2); }
.logo { display: flex; align-items: center; }
.logo img { display: block; width: 110px; height: auto; object-fit: contain; }
.header-actions, .language { display: flex; align-items: center; gap: 18px; }
.language { position: relative; min-height: 44px; gap: 0; padding: 0; border: 1px solid rgba(214,232,255,.32); border-radius: 999px; background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.language > .ui-icon { width: 44px; height: 44px; padding: 12px; border-right: 1px solid rgba(214,232,255,.1); color: #fff; opacity: .95; }
.language select { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.language-trigger { min-width: 136px; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 0 11px; border: 0; border-radius: 999px; color: #fff; background: transparent; cursor: pointer; font-weight: 700; font-size: 13px; text-align: left; }
.language-trigger:focus, .language-trigger:focus-visible, .language-trigger:active { outline: none !important; box-shadow: none !important; background: transparent; }
.language-trigger .chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .24s ease; }
.language.open .language-trigger .chevron { transform: rotate(180deg); }
.language.open .language-trigger,
.language.open .language-trigger:focus,
.language.open .language-trigger:focus-visible { outline: none; box-shadow: none; background: transparent; }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: min(205px, calc(100vw - 28px)); max-height: min(410px, calc(100vh - 100px)); overflow-y: auto; padding: 5px; border: 1px solid rgba(214,232,255,.3); border-radius: 14px; background: rgba(3, 28, 57, .97); background: linear-gradient(145deg, rgba(7,36,68,.94), rgba(0,19,41,.87)); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(-5px) scale(.99); transform-origin: top right; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; scrollbar-width: none; -ms-overflow-style: none; }
.language-menu::-webkit-scrollbar { display: none; }
.language.open .language-menu { opacity: 1; visibility: visible; transform: none; }
.language-option { width: 100%; min-height: 34px; display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 6px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; color: rgba(255,255,255,.86); background: transparent; cursor: pointer; font-size: 12px; text-align: left; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.language-option:hover, .language-option:focus-visible { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); outline: none; }
.language-option.is-active { color: #fff4cf; border-color: rgba(64,151,255,.48); background: linear-gradient(135deg, rgba(9,104,255,.52), rgba(255,255,255,.08)); }
.language-option .check { color: #fff8d9; opacity: 0; }
.language-option.is-active .check { opacity: 1; }
.header-contact { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; transition: .25s ease; }
.header-contact:hover { background: rgba(255,255,255,.12); }
.ui-icon,
.contact-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-contact .ui-icon { width: 18px; height: 18px; }

.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: center; color: #fff; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,15,34,.98) 0%, rgba(0,21,47,.86) 34%, rgba(0,22,48,.42) 62%, rgba(0,18,40,.22) 100%), url("assets/hero.webp") 62% center/cover no-repeat; animation: hero-in 1.2s ease both; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(0,16,34,.82)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(var(--container), calc(100vw - 48px)); margin: clamp(40px, 7vh, 84px) auto 0; }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
.hero h1 { max-width: 920px; margin: 0; font-size: clamp(42px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue); text-shadow: 0 0 24px rgba(9,104,255,.35); }
.hero-copy { max-width: 560px; margin: 28px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; margin-top: 34px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; padding: 0 28px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #0876ff, #0759ec); box-shadow: 0 12px 30px rgba(0,100,255,.28); }
.button-primary:hover { box-shadow: 0 16px 40px rgba(0,100,255,.42); }
.button-primary:hover b { transform: translateX(4px); }
.button b { transition: transform .25s ease; }
.button-outline { border: 1px solid rgba(255,255,255,.6); background: rgba(0,24,52,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-item { opacity: 0; animation: rise .75s ease forwards; }
.hero-item:nth-child(1) { animation-delay: .25s; }
.hero-item:nth-child(2) { animation: headline-in .8s ease .4s forwards; }
.hero-item:nth-child(3) { animation-delay: .62s; }
.hero-item:nth-child(4) { animation-delay: .78s; }
.scroll-cue { position: absolute; z-index: 3; left: max(clamp(24px, 6vw, 100px), calc((100vw - var(--container)) / 2)); bottom: 42px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.mouse { width: 22px; height: 38px; border: 2px solid #fff; border-radius: 13px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 8px; top: 7px; width: 3px; height: 8px; border-radius: 3px; background: #fff; animation: scroll 1.7s ease infinite; }

.section { padding: 118px clamp(20px, 6vw, 100px); }
.services { background: radial-gradient(circle at 80% 0%, #fff, #f6f8fb 55%); }
.section-heading { text-align: center; max-width: 800px; margin: 0 auto 54px; }
.section-heading h2, .contacts h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.section-heading > p:empty { display: none; }
.service-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: .35s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(11,35,70,.18); }
.card-image { height: 220px; position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-image picture { display: block; width: 100%; height: 100%; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.service-card:first-child .card-image img { object-position: 48% center; }
.service-card:hover img { transform: scale(1.045); }
.service-icon { position: absolute; top: 16px; left: 16px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 24px; box-shadow: 0 8px 25px rgba(9,104,255,.35); }
.service-icon img { width: 38px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); }
.service-icon.exact-circle { overflow: hidden; background: transparent; }
.service-icon.exact-circle img { width: 100%; height: 100%; filter: none; }
.snow-icon img { filter: brightness(0) invert(1); }
.card-body { position: relative; flex: 1; min-height: 190px; padding: 24px 66px 24px 24px; }
.card-body h3, .support-card h3 { margin: 0 0 10px; font-size: 21px; }
.card-body p, .support-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.round-link { position: absolute; right: 20px; bottom: 22px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.08); transition: .25s ease; }
.round-link:hover { transform: translateX(3px); background: var(--blue); color: #fff; }
.support-grid { max-width: var(--container); margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.support-card > span { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; color: var(--blue); border-radius: 14px; background: #eaf2ff; font-size: 28px; }
.support-card > span img { width: 34px; height: 34px; object-fit: contain; }
.stats { max-width: var(--container); margin: 58px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.88); box-shadow: var(--shadow); overflow: hidden; }
.stat { position: relative; display: grid; grid-template-columns: 42px auto 1fr; align-items: center; column-gap: 8px; padding: 28px 22px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat > span { grid-row: 1 / span 2; color: var(--blue); font-size: 30px; }
.stat > span img { width: 34px; height: 34px; object-fit: contain; }
.stat strong, .stat b { color: var(--blue); font-size: 29px; }
.stat small { grid-column: 2 / -1; display: block; margin-top: 4px; color: var(--muted); }

.contacts { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.05fr); align-items: start; gap: clamp(36px, 6vw, 72px); color: #fff; background: radial-gradient(circle at 70% 30%, #07325d, transparent 40%), var(--navy-deep); padding-inline: max(clamp(20px, 6vw, 100px), calc((100vw - var(--container)) / 2)); }
.contacts::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(#4a9cff 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000, transparent); mask-image: linear-gradient(90deg, transparent, #000, transparent); }
.contacts > * { position: relative; z-index: 1; }
.contact-info > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.76); line-height: 1.7; }
.contact-list { margin-top: 28px; }
.contact-list a, .contact-list > div { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-style: normal; }
.contact-list b { font-size: 14px; font-weight: 500; transition: color .22s ease, transform .22s ease; }
.contact-list i { font-style: normal; transition: .25s; }
.contact-list a:hover b { color: #8bbdff; transform: translateX(2px); }
.contact-list a:hover i { color: #69a8ff; transform: translateX(4px); }
.contact-list .contact-icon { color: rgba(255,255,255,.92); }
.contact-form { width: 100%; max-width: 620px; justify-self: end; display: grid; gap: 16px; padding: 22px; border: 1px solid rgba(72,157,255,.74); border-radius: 20px; background: rgba(6, 32, 66, .72); background: linear-gradient(145deg, rgba(13,49,91,.44), rgba(1,19,42,.24)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 0 32px rgba(0,126,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; border: 1px solid rgba(117,170,235,.46); border-radius: 12px; outline: none; color: #fff; background: rgba(255,255,255,.07); background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.045)); padding: 12px 15px; font-weight: 500; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(193,216,246,.58); }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(117,180,255,.72); background: rgba(255,255,255,.1); }
.contact-form input:focus, .contact-form textarea:focus { border-color: #42a5ff; box-shadow: 0 0 0 3px rgba(9,104,255,.15), 0 0 20px rgba(15,132,255,.12); }
.contact-form textarea { min-height: 108px; resize: none; }
.contact-form .button { width: 100%; min-height: 56px; justify-content: space-between; border-radius: 12px; padding-inline: 24px; font-size: 15px; background: linear-gradient(105deg, #1749ff, #087aff 58%, #32c4ef); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 30px rgba(0,102,255,.28); }
.contact-form .button:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 16px 40px rgba(0,132,255,.38); }
.contact-form .button.is-loading { opacity: .78; pointer-events: none; }
.honeypot { position: absolute; opacity: 0; pointer-events: none; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 420px; padding: 16px 20px; border-radius: 10px; color: #fff; background: #0875e8; box-shadow: 0 15px 40px rgba(0,0,0,.25); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s ease; }
.toast.show { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes rise { to { opacity: 1; transform: none; } from { opacity: 0; transform: translateY(22px); } }
@keyframes headline-in { to { opacity: 1; transform: none; } from { opacity: 0; transform: translateY(30px); } }
@keyframes header-down { to { opacity: 1; transform: none; } from { opacity: 0; transform: translateY(-18px); } }
@keyframes hero-in { from { opacity: .2; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 900px) {
  :root { --header-h: 82px; --header-compact-h: 72px; }
  .site-header { height: 82px; padding: 0 20px; }
  .logo img { width: 96px; }
  .header-contact { display: none; }
  .language { min-height: 40px; }
  .language > .ui-icon { width: 40px; height: 40px; padding: 11px; }
  .language-trigger { min-width: 116px; height: 40px; padding-inline: 9px; font-size: 12px; }
  .language-menu { right: -4px; width: min(190px, calc(100vw - 24px)); max-height: min(380px, calc(100vh - 92px)); }
  .hero { height: 100svh; min-height: 690px; align-items: flex-start; padding-top: clamp(124px, 18vh, 160px); }
  .hero-bg { background-image: linear-gradient(180deg, rgba(0,18,40,.98), rgba(0,22,47,.62) 42%, rgba(0,15,32,.76)), url("assets/hero-mobile.webp"); background-position: 55% center; }
  .hero-content { width: auto; margin: 0 20px; }
  .hero h1 { font-size: clamp(35px, 10vw, 48px); }
  .hero h1 br { display: none; }
  .hero-copy { margin-top: 22px; font-size: 16px; line-height: 1.55; }
  .hero-buttons { display: grid; margin-top: 26px; }
  .button { width: 100%; }
  .scroll-cue { left: 20px; bottom: 28px; }
  .section { padding: 86px 20px; }
  .section-heading { text-align: left; margin-bottom: 28px; }
  .section-heading > p:last-child { display: none; }
  .service-grid, .support-grid, .contacts { grid-template-columns: 1fr; }
  .service-grid { gap: 14px; }
  .service-card { display: grid; grid-template-columns: 128px 1fr; border-radius: 16px; }
  .card-image { height: 100%; min-height: 178px; border-radius: 16px 0 0 16px; }
  .card-image img { object-position: 43% 58%; }
  .service-card:nth-child(1) .card-image img { object-position: 38% 62%; }
  .service-card:nth-child(2) .card-image img { object-position: 38% 61%; }
  .service-card:nth-child(3) .card-image img { object-position: 40% 61%; }
  .service-icon { width: 42px; height: 42px; top: 10px; left: 10px; font-size: 20px; }
  .card-body { min-height: 170px; padding: 20px 48px 18px 18px; }
  .card-body h3 { font-size: 17px; }
  .card-body p { font-size: 12px; }
  .round-link { right: 10px; bottom: calc(50% - 19px); width: 38px; height: 38px; }
  .support-grid { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; box-shadow: none; }
  .stat { display: block; text-align: center; padding: 20px 10px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat > span { display: block; margin-bottom: 4px; font-size: 22px; }
  .stat > span img { width: 24px; height: 24px; }
  .stat strong, .stat b { font-size: 19px; }
  .stat small { font-size: 9px; line-height: 1.25; }
  .contacts { gap: 32px; padding-top: 70px; }
  .contact-form { max-width: none; justify-self: stretch; gap: 15px; padding: 16px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form .button { min-height: 54px; padding-inline: 18px; font-size: 14px; }
}

@media (max-width: 340px) {
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(2n) { border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}

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