@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --blue: #275ad6;
  --ink: #1b2b44;
  --muted: #4e6076;
  --rule: #d9e1ea;
  font: 100%/1.45 Manrope, Arial, sans-serif;
  background: #fafbfe;
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #fa922d; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -6rem; left: 1rem; z-index: 5; padding: 1rem; background: white; }
.skip:focus { top: 1rem; }
.shell { width: min(1330px, 90%); margin: auto; }
.enhanced .shell { min-height: 100svh; display: flex; flex-direction: column; }
.masthead { min-height: clamp(72px, 11vh, 106px); display: flex; align-items: center; gap: clamp(22px, 4vw, 66px); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: clamp(155px, 16vw, 217px); height: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 36px); }
.main-nav a { min-height: 44px; display: grid; align-items: center; position: relative; font-weight: 700; font-size: .94rem; color: var(--muted); }
.main-nav a[aria-current] { color: var(--blue); }
.main-nav a[aria-current]::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 3px; background: currentColor; }
.header-contact { color: white; background: var(--ink); border-radius: 100px; padding: .72rem 1.35rem; font-weight: 700; font-size: .9rem; }
.header-contact:hover { background: var(--blue); }
.language-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  font-size: .81rem;
  font-weight: 700;
  line-height: 1;
}
.language-toggle span {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  font-size: 0;
  box-shadow: 0 0 0 1px #1b2b4420;
}
.language-toggle[hreflang="en"] span {
  background: #234382 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath d='m0 0 60 36m0-36L0 36' stroke='white' stroke-width='7'/%3E%3Cpath d='m0 0 60 36m0-36L0 36' stroke='%23bc2336' stroke-width='2.5'/%3E%3Cpath d='M30 0v36M0 18h60' stroke='white' stroke-width='11'/%3E%3Cpath d='M30 0v36M0 18h60' stroke='%23bc2336' stroke-width='6'/%3E%3C/svg%3E") center / cover;
}
.language-toggle[hreflang="ru"] span {
  background: linear-gradient(to bottom, white 33.33%, #254ba1 33.33% 66.66%, #c72b37 66.66%);
}
@media (forced-colors: active) {
  .language-toggle span { forced-color-adjust: none; }
}
.language-toggle:hover { color: var(--blue); border-color: #89a8e2; }
.spread { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(28px, 4.8vw, 78px); padding: clamp(22px, 4vh, 62px) 0; flex: 1; }
.intro { padding-bottom: .2rem; }
.intro h1 { font-size: clamp(2.6rem, 4.85vw, 5.1rem); font-weight: 700; letter-spacing: -.078em; line-height: 1.045; }
.intro h1 span { color: var(--blue); }
.intro-text { margin-top: clamp(17px, 2.25vh, 28px); max-width: 36ch; color: var(--muted); font-size: clamp(1rem, 1.22vw, 1.16rem); line-height: 1.65; }
.contacts { margin-top: clamp(22px, 5vh, 56px); font-style: normal; }
.contacts a:hover, .main-nav a:hover { color: var(--blue); }
.mail { font-size: clamp(1rem, 1.4vw, 1.32rem); font-weight: 700; text-decoration: underline; text-underline-offset: .28em; text-decoration-color: #a2b7df; }
.phones { display: flex; gap: 4px 15px; flex-wrap: wrap; margin-top: .72rem; }
.phones a { white-space: nowrap; font-size: .89rem; color: var(--muted); }
.phones { align-items: flex-start; }
.phone-by { display: grid; justify-items: start; gap: 3px; }
.messengers { display: inline-flex; align-items: center; gap: 3px; }
.messengers a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; }
.messengers a:hover, .messengers a:focus-visible { background: #e8effa; }
.messengers img { display: block; width: 25px; height: 25px; }
.work { min-width: 0; }
.workspace-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.workspace-head h2 { font-size: clamp(1.32rem, 2vw, 1.85rem); line-height: 1.15; letter-spacing: -.045em; }
.project-count { font: 500 .85rem/1.3 ui-monospace, monospace; color: var(--muted); }
.gallery { display: grid; gap: 12px; }
.project-card {
  --tile: #254fae; --grid: #ffffff0e; --text: #fff; --copy: #eef4ff;
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: 57% 43%; color: var(--text); border-radius: 22px;
  min-height: clamp(270px, 39vh, 408px);
  background-color: var(--tile);
  background-image: linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px), radial-gradient(ellipse at 94% 8%,#ffffff28,transparent 65%);
  background-size: 28px 28px,28px 28px,auto;
}
.case-ferroli-ru { --tile: #165b63; }
.case-optimilk { --tile: #d7e9e4; --grid: #3659510c; --text: #193f34; --copy: #244a43; }
.case-cashew { --tile: #f3e8da; --grid: #8a6d4d09; --text: #40291c; --copy: #533f30; }
.case-comfolink { --tile: #fff1df; --grid: #b3763710; --text: #472918; --copy: #5c3f2c; }
.project-copy { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(19px, 2.6vw, 43px) 0 clamp(21px, 2.7vw, 43px) clamp(19px, 2.6vw, 43px); z-index: 1; }
.project-category { font-size: .8rem; font-weight: 700; letter-spacing: .015em; color: var(--copy); padding-left: 11px; border-left: 2px solid currentColor; line-height: 1.2; }
.project-copy h3 { margin: auto 0 0; padding-top: 1.3rem; font-size: clamp(2rem, 3.38vw, 3.45rem); line-height: 1.02; letter-spacing: -.065em; }
.project-copy h3 span { display: block; }
.project-description { color: var(--copy); font-size: clamp(.9rem, 1.08vw, 1.06rem); line-height: 1.5; margin-top: .8rem; max-width: 28ch; }
.project-link { display: inline-block; margin-top: 1.1rem; font-size: .9rem; padding: .27rem 0; border-bottom: 1px solid currentColor; font-weight: 700; }
.project-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.project-art { position: relative; align-self: stretch; min-width: 0; pointer-events: none; }
.app-art img { position: absolute; width: 82%; max-width: 235px; height: auto; top: 50%; left: 54%; transform: translate(-50%,-41%) rotate(9deg); border: 5px solid #1e2634; box-shadow: 1px 0 0 2px #b4c6db, 8px 18px 26px #0a1a384d; border-radius: 22px; }
.case-ferroli-ru .app-art img { transform: translate(-50%,-42%) rotate(-7deg); }
.web-art img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 55% 50%; border-radius: 45% 0 0 45%; }
.case-comfolink .web-art img { object-fit: contain; background: #fafbfd; border-radius: 26% 0 0 0; }
.project-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.project-nav a { flex: 1; text-align: center; padding: 10px 5px; font-size: .88rem; font-weight: 700; border: 1px solid var(--rule); border-radius: 7px; }
.project-nav a:hover { border-color: #89a8e2; }
.project-nav a[aria-current] { color: #164bba; background: #e7efff; border-color: #a5bfee; }
.portfolio .project-nav { display: grid; grid-template-columns: repeat(5, minmax(max-content, 1fr)); }
.portfolio .project-nav a { letter-spacing: -.025em; }
.partner { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); border: 1px solid #cfdaef; border-radius: 14px; padding: clamp(13px, 2.5vh, 25px) clamp(19px, 2.8vw, 42px); background: linear-gradient(110deg,white 20%, #ebf1ff); }
.partner:hover { border-color: #829dce; }
.partner img { width: clamp(114px, 12vw, 166px); height: auto; }
.partner-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45em; border-left: 1px solid #ccdaee; padding-left: clamp(14px, 2vw, 30px); }
.partner-copy strong { font-size: 1rem; }
.partner-copy span, .partner-end { color: var(--muted); font-size: .88rem; }
.partner-end { margin-left: auto; text-align: right; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 8px 22px; padding: clamp(13px, 2.8vh, 30px) 2px; color: #5a6980; font-size: .76rem; }
.identity { display: flex; flex-wrap: wrap; gap: 3px 16px; }
footer p { text-align: right; }
html:not(.enhanced) .work .services { margin-top: 28px; }
html:not(.enhanced) .project-count, html:not(.enhanced) .project-nav { display: none; }
.services {
  --service-blue: #275ad6;
  --service-ink: #18233b;
  --service-muted: #49566b;
  --service-line: #dce2eb;
  color: var(--service-ink);
  min-width: 0;
  container-type: inline-size;
}
.service-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}
.service-nav a {
  display: grid;
  place-content: center;
  min-width: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.services a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.services .services-list {
  padding: clamp(15px, 2.4vw, 38px);
  background: #edf2fd;
  border-radius: 16px;
}
.services .services-list h3 {
  max-width: 27ch;
  margin: 0 0 12px;
  color: var(--service-ink);
  font-size: clamp(24px, 6.5cqi, 37px);
  font-weight: 700;
  letter-spacing: -.046em;
  line-height: 1.12;
  text-wrap: balance;
}
.services .services-list p {
  max-width: 46ch;
  margin: 0;
  color: var(--service-muted);
  font-size: clamp(16px, 3.4cqi, 17px);
  font-weight: 400;
  line-height: 1.53;
}
.services .services-list .service-modules {
  margin-top: 6px;
}
.services .service-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: clamp(14px, 4.8cqi, 26px);
}
.services .service-links a {
  display: inline-block;
  color: var(--service-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding-block: 4px;
  text-decoration: none;
}
.services .service-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.services .service-links .service-certificate {
  font-weight: 400;
}
html:not(.enhanced) .services article + article {
  border-top: 1px solid var(--service-line);
  margin-top: 16px;
}
@container (max-width: 380px) {
  .services .services-list h3 {
    margin-bottom: 7px;
    font-size: 23px;
  }
  .services .services-list p {
    line-height: 1.4;
  }
  .services .service-links {
    margin-top: 7px;
  }
}
@media (min-width: 761px) {
  .enhanced .services-list { display: flex; align-items: center; min-height: clamp(245px, 37vh, 375px); }
}
@media (max-width: 970px) {
  .shell { width: 92%; }
  .spread { gap: 24px; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); }
  .partner-end { display: none; }
  .phones { flex-direction: column; }
  .project-description { font-size: .90rem; }
  .project-copy { padding-left: 21px; }
}
@media (max-width: 760px) {
  .shell { width: min(91%, 550px); }
  .masthead { min-height: 65px; gap: 0; }
  .brand img { width: clamp(117px, 27vw, 155px); }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .875rem; }
  .header-contact { display: none; }
  .language-toggle { min-height: 36px; padding-inline: 7px; margin-inline-start: 12px; }
  .spread { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: clamp(15px,2.7vh,28px); padding: clamp(14px,2.4vh,26px) 0; }
  .intro { padding: 0; }
  .intro h1 { font-size: clamp(2rem, 7.5vw, 2.75rem); line-height: 1.05; }
  .intro h1 br { display: none; }
  .intro h1 br::after { content: " "; }
  .intro h1 span { white-space: nowrap; }
  .intro-text { margin-top: 8px; font-size: .94rem; line-height: 1.4; max-width: 52ch; }
  .contacts { margin-top: 12px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 15px; }
  .contacts .mail { font-size: .875rem; }
  .phones { flex-direction: row; margin-top: 0; gap: 11px; }
  .phones a { font-size: .82rem; }
  .workspace-head { margin-bottom: 8px; }
  .workspace-head h2 { font-size: 1.36rem; }
  .project-card { min-height: clamp(204px,28vh,255px); grid-template-columns: 58% 42%; border-radius: 15px; }
  .project-copy { padding: 17px 0 17px 18px; }
  .project-copy h3 { font-size: clamp(1.68rem, 6.5vw, 2.2rem); padding-top: 10px; }
  .project-copy h3 span { display: inline; }
  .project-category { font-size: .71rem; }
  .project-description { font-size: .85rem; line-height: 1.4; margin-top: .5rem; }
  .project-link { font-size: .8rem; margin-top: .55rem; }
  .app-art img { width: 85%; border-radius: 14px; border-width: 3px; }
  .project-nav { gap: 4px; margin-top: 7px; }
  .project-nav a { font-size: .78rem; padding: 9px 2px; }
  .partner { padding: 12px 15px; border-radius: 10px; }
  .partner img { width: 100px; }
  .partner-copy { display: grid; font-size: .8rem; }
  .partner-copy strong { font-size: .83rem; }
  .partner-copy span { font-size: .75rem; }
  footer { display: block; padding: 12px 0; font-size: .68rem; line-height: 1.4; }
  footer p { text-align: left; margin-top: 3px; }
  .identity { gap: 2px 10px; }
  .service-nav a { min-height: 43px; padding: 5px 2px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .masthead { min-height: 49px; }
  .intro-text { display: none; }
  .contacts { margin-top: 8px; }
  .project-card { min-height: 180px; }
  .spread { gap: 13px; padding: 12px 0; }
  .partner { padding: 8px 12px; }
  footer { padding: 8px 0; }
}
@media (max-width: 370px) {
  .portfolio .project-nav { gap: 3px; }
  .portfolio .project-nav a { font-size: .72rem; padding-inline: 1px; }
  .brand img { width: 95px; }
  .language-toggle { gap: 3px; padding-inline: 5px; margin-inline-start: 8px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: .8rem; }
  .project-category { font-size: .67rem; padding-left: 6px; }
  .project-copy { padding: 13px 0 13px 13px; }
  .project-description { font-size: .79rem; }
}
@media (max-width: 400px) and (max-height: 660px) {
  .shell { width: 94%; }
  .spread { gap: 10px; padding: 8px 0; }
  .intro h1 { font-size: 1.6rem; }
  .contacts { margin-top: 5px; gap: 2px 10px; }
  .contacts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
  }
  .contacts .mail { grid-area: 1 / 1; }
  .phones { display: contents; }
  .phones > a { grid-area: 2 / 1; }
  .phone-by { grid-area: 1 / 2 / 3 / 3; padding-left: 8px; border-left: 1px solid var(--rule); gap: 1px; }
  .messengers { gap: 2px; }
  .messengers a { width: 28px; height: 28px; }
  .messengers img { width: 21px; height: 21px; }
  .workspace-head { margin-bottom: 5px; }
  .project-card { min-height: 155px; grid-template-columns: 63% 37%; }
  .project-copy { padding: 12px 0 12px 12px; }
  .project-copy h3 { font-size: 1.26rem; padding-top: 8px; }
  .project-description { margin-top: 6px; line-height: 1.33; }
  .project-link { margin-top: 5px; }
  .project-nav a { padding-block: 8px; }
  .partner { gap: 7px; padding: 8px; }
  .partner img { width: 80px; }
  .partner-copy { padding-left: 8px; line-height: 1.3; }
  footer { padding: 6px 0; }
  .service-nav a { min-height: 35px; font-size: .74rem; letter-spacing: -.025em; padding: 3px 1px; }
  .services .services-list { padding: 10px; }
  .services .services-list h3 { font-size: 1.2rem; }
  .services .service-links { margin-top: 4px; }
  .services .services-list p { font-size: .88rem; }
}
@media (min-width: 540px) and (max-height: 480px) {
  .messengers a { width: 29px; height: 26px; }
  .messengers img { width: 21px; height: 21px; }
  .shell { width: 94%; max-width: 1250px; }
  .masthead { min-height: 39px; }
  .brand { min-height: 37px; }
  .brand img { width: 120px; }
  .main-nav a { min-height: 36px; }
  .intro h1 br { display: inline; }
  .spread { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 20px; padding: 7px 0; }
  .intro h1 { font-size: clamp(1.55rem, 3.9vw, 2.5rem); }
  .intro-text, .header-contact, .project-count { display: none; }
  .contacts { display: block; margin-top: 10px; }
  .phones { display: grid; gap: 0; margin-top: 3px; }
  .contacts .mail, .phones a { font-size: .76rem; }
  .workspace-head { margin-bottom: 4px; }
  .workspace-head h2 { font-size: 1.03rem; }
  .project-card { min-height: 127px; border-radius: 9px; grid-template-columns: 66% 34%; }
  .project-copy { padding: 8px 0 8px 12px; }
  .project-category { font-size: .67rem; }
  .project-copy h3 { font-size: 1.15rem; padding-top: 4px; }
  .project-copy h3 span { display: inline; }
  .project-description { margin-top: 3px; font-size: .74rem; line-height: 1.24; }
  .project-link { font-size: .72rem; padding: 2px 0; margin-top: 4px; }
  .project-nav { margin-top: 4px; }
  .project-nav a { padding: 4px 2px; font-size: .71rem; }
  .partner { padding: 5px 14px; gap: 12px; }
  .partner img { width: 90px; }
  .partner-copy { display: flex; gap: 5px; }
  .partner-copy strong, .partner-copy span { font-size: .74rem; }
  footer { padding: 5px 0; font-size: .59rem; line-height: 1.25; }
  footer p { margin-top: 1px; }
  .service-nav a { min-height: 25px; padding: 2px 1px; }
  .services .services-list { min-height: 0; padding: 8px; margin-top: 4px; }
  .services .services-list h3 { font-size: 1.02rem; margin-bottom: 3px; }
  .services .services-list p { font-size: .76rem; line-height: 1.28; }
  .services .service-links { margin-top: 3px; }
  .services .service-links a { font-size: .72rem; }
}
@media (max-width: 400px) and (max-height: 600px) {
  .spread:has(#services:not([hidden])) { gap: 7px; padding-block: 3px; }
  .spread:has(#services:not([hidden])) .intro h1 { font-size: 1.2rem; }
}
@media (max-width: 440px) and (min-height: 741px) {
  .spread:has(#services:not([hidden])) { gap: 14px; padding-block: 12px; }
}
@media (min-width: 540px) and (max-width: 760px) and (max-height: 380px) {
  .enhanced .shell:has(#services:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "head head" "intro work" "partner work" "foot work";
    column-gap: 16px;
  }
  .shell:has(#services:not([hidden])) .masthead { grid-area: head; }
  .spread:has(#services:not([hidden])) { display: contents; }
  .spread:has(#services:not([hidden])) .intro { grid-area: intro; align-self: center; }
  .work:has(#services:not([hidden])) { grid-area: work; align-self: center; padding-block: 5px; }
  .shell:has(#services:not([hidden])) .partner { grid-area: partner; flex-wrap: wrap; gap: 3px; padding: 4px 6px; }
  .shell:has(#services:not([hidden])) .partner-copy { display: block; padding: 0; border: 0; line-height: 1.2; }
  .shell:has(#services:not([hidden])) .partner-copy span { display: block; }
  .shell:has(#services:not([hidden])) footer { grid-area: foot; padding-block: 3px; }
  html[lang="en"] .spread:has(#services:not([hidden])) .intro h1 { font-size: 1.28rem; }
  html[lang="en"] .spread:has(#services:not([hidden])) .intro h1 br { display: none; }
  html[lang="en"] .spread:has(#services:not([hidden])) .contacts { margin-top: 5px; }
}
