/* Inter — cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono — cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* JetBrains Mono — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat — cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat — latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat — latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Оформление сайта Dallarossa Technology Group: тёмная тема, цвета и шрифты презентации услуг. */
:root{
  --bg:#0a0f1e; --bg2:#0d1428; --card:#121b33; --card2:#17223f; --line:#223052; --line2:#2f4170;
  --text:#eef2f8; --soft:#cfd7e6; --muted:#9fabc6;
  --green:#3ad29f; --blue:#38b6f0; --violet:#a08ff7;
  --grad:linear-gradient(90deg,#3ad29f 0%,#38b6f0 55%,#a08ff7 100%);
  --f-head:'Montserrat',Verdana,sans-serif;
  --f-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --f-mono:'JetBrains Mono',ui-monospace,Consolas,'Courier New',monospace;
  --acc:var(--blue);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font-family:var(--f-body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
ul{list-style:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.green{--acc:var(--green)} .blue{--acc:var(--blue)} .violet{--acc:var(--violet)}

/* шапка */
.top{position:sticky;top:0;z-index:20;background:rgba(10,15,30,.86);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:28px;height:68px}
.brand{display:flex;align-items:center;gap:14px;flex:none}
.brand svg{width:84px;height:24px;flex:none}
.brand b{font-family:var(--f-head);font-weight:800;font-size:15px;letter-spacing:.2em;line-height:1}
.brand i{font-family:var(--f-head);font-style:normal;font-weight:600;font-size:11px;letter-spacing:.2em;line-height:1;color:var(--blue)}
.brand span{display:flex;flex-direction:column;gap:5px}
.menu{display:flex;gap:24px;margin-left:auto}
.menu a{color:var(--muted);font-size:14px;transition:color .15s}
.menu a:hover{color:var(--text)}
.lang{display:flex;flex:none;border:1px solid var(--line);border-radius:999px;overflow:hidden;font-family:var(--f-mono);font-size:13px}
.lang a,.lang span{padding:6px 13px;line-height:1.3}
.lang a{color:var(--muted)}
.lang a:hover{color:var(--text);background:var(--card)}
.lang span{background:var(--card2);color:var(--text)}

/* первый экран */
.hero{position:relative;padding:76px 0 64px;background:radial-gradient(900px 520px at 82% 18%,rgba(56,182,240,.20),transparent 62%),radial-gradient(760px 480px at 4% 100%,rgba(160,143,247,.16),transparent 60%)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:48px;align-items:center}
.cmd{font-family:var(--f-mono);font-size:15px;color:var(--muted);margin-bottom:22px}
.cmd b{font-weight:500;color:var(--green)} .cmd i{font-style:normal;color:var(--violet)}
h1{font-family:var(--f-head);font-weight:800;font-size:clamp(40px,4.5vw,54px);line-height:1.1;letter-spacing:-.005em}
h1 span{display:block}
h1 .g{color:var(--blue);background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero .bar{margin:26px 0 22px}
.lead{max-width:560px;color:var(--soft);font-size:19px;line-height:1.55}
.cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.btn{display:inline-block;padding:14px 26px;border-radius:10px;font-weight:700;font-size:15px;line-height:1.2;transition:transform .15s,box-shadow .15s,border-color .15s}
.btn-main{background:linear-gradient(90deg,var(--green),var(--blue));color:#051019}
.btn-main:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(56,182,240,.32)}
.btn-line{border:1px solid var(--line2);color:var(--text)}
.btn-line:hover{border-color:var(--blue)}
.shots{position:relative;aspect-ratio:100/84}
.shots img{position:absolute;border-radius:12px;border:1px solid var(--line2);height:auto}
.shots .back{right:0;top:0;width:80%;opacity:.5}
.shots .front{left:0;bottom:0;width:90%;border-color:#3a4c78;box-shadow:0 24px 70px rgba(0,0,0,.6)}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:56px}
.hero .stats{grid-column:1/-1;margin-top:8px}
.stat{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.stat b{display:block;font-family:var(--f-head);font-weight:800;font-size:28px;line-height:1.2;color:var(--acc)}
.stat span{display:block;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.45}

/* разделы */
section{padding:80px 0}
section[id],div[id]{scroll-margin-top:84px}
.alt{background:var(--bg2)}
.path{font-family:var(--f-mono);font-size:14px;color:var(--muted);margin-bottom:12px}
.path b{font-weight:500;color:var(--acc)}
h2{font-family:var(--f-head);font-weight:800;font-size:clamp(25px,3.7vw,40px);line-height:1.15}
h2 em{font-style:normal;color:var(--acc)}
.bar{width:64px;height:5px;background:var(--acc);margin:18px 0 36px}
.grid{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{display:block;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:24px;transition:border-color .15s,transform .15s}
.card:hover{border-color:var(--line2)}
a.card:hover{transform:translateY(-3px);border-color:var(--acc)}
.card h3{font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1.3;letter-spacing:.03em;margin-bottom:10px}
.card p{color:var(--muted);font-size:15px;line-height:1.55}
.num{display:block;font-family:var(--f-mono);font-size:13px;color:var(--acc);margin-bottom:10px}
.note{margin-top:24px;color:var(--muted);font-size:15px;max-width:860px}
.hint{display:none;margin-top:10px;font-family:var(--f-mono);font-size:12px;color:var(--muted);text-align:right}

/* карта направлений */
.dir h3{color:var(--acc);font-size:16px;margin-bottom:6px}
.dir li{padding:9px 0;border-top:1px solid var(--line);color:var(--soft);font-size:15px;line-height:1.4}
.dir li:first-child{border-top:0}
.dir .more{display:block;margin-top:10px;font-family:var(--f-mono);font-size:13px;color:var(--muted)}
.dir:hover .more{color:var(--acc)}

/* экраны систем */
.build{padding:0;overflow:hidden}
.build img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:left top;border-bottom:1px solid var(--line)}
.build div{padding:20px 24px 24px}
.build .num{margin-bottom:8px}

/* принципы */
.prin{padding:28px;border-top:3px solid var(--acc)}
.prin h3{font-size:19px;margin-bottom:12px}
.prin p{color:var(--soft);font-size:16px;line-height:1.6}

/* шаги и форматы */
.step .num{font-size:26px;font-weight:600;margin-bottom:12px}
.formats{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:28px}
.formats b{font-family:var(--f-mono);font-weight:500;font-size:13px;color:var(--muted);margin-right:6px}
.pill{border:1px solid var(--line);background:var(--card);padding:9px 18px;border-radius:999px;font-size:14px;color:var(--soft)}

/* примеры */
.case h3{font-size:18px;letter-spacing:0;line-height:1.3}

/* технологии */
.tech h3{font-size:13px;letter-spacing:.06em;color:var(--acc);margin-bottom:8px}
.tech p{font-family:var(--f-mono);font-size:13.5px;line-height:1.6}

/* итоговая плашка */
.why{background:linear-gradient(120deg,#0d7a66 0%,#0c62a6 55%,#4a3fb0 100%);text-align:center}
.why svg{width:126px;height:36px;margin:0 auto 26px}
.why h2{margin-bottom:22px}
.why p{max-width:780px;margin:0 auto;font-size:19px;line-height:1.6;color:#eef6ff}
.why .sub{margin-top:18px;font-size:16px;color:#cfe2f7}

/* контакты */
.people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.person{display:flex;gap:20px;align-items:center}
.person img{width:112px;height:112px;border-radius:50%;object-fit:cover;border:2px solid var(--acc);flex:none}
.person small{display:block;font-family:var(--f-mono);font-size:12px;letter-spacing:.1em;color:var(--acc)}
.person h3{font-family:var(--f-head);font-weight:700;font-size:21px;letter-spacing:0;margin:4px 0 2px}
.person .role{color:var(--acc);font-size:14px;margin-bottom:10px}
.person p{color:var(--muted);font-size:15px}
.person p a{color:var(--text);border-bottom:1px solid var(--line2);white-space:nowrap}
.person p a:hover{border-color:var(--acc)}
.mail{display:flex;flex-direction:column;gap:18px;align-items:flex-start;justify-content:center}
.mail span{display:block;color:var(--muted);font-size:14px}
.mail b{font-family:var(--f-head);font-weight:700;font-size:22px}

/* подвал */
footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:14px}
footer .wrap{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between}
footer a:hover{color:var(--text)}

/* планшет */
@media(max-width:1060px){
  /* меню уходит второй строкой под логотип и листается пальцем вбок */
  .top .wrap{flex-wrap:wrap;height:auto;gap:0 14px;padding-top:12px}
  .menu{order:3;flex:0 0 100%;margin:10px -24px 0;padding:0 24px;gap:22px;overflow-x:auto;white-space:nowrap;border-top:1px solid var(--line);scrollbar-width:none}
  .menu::-webkit-scrollbar{display:none}
  .menu a{padding:10px 0;flex:none}
  .lang{margin-left:auto}
  section[id],div[id]{scroll-margin-top:112px}
  .g4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g3.prins{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:900px){
  .hero{padding:52px 0 48px}
  .hero .wrap{grid-template-columns:minmax(0,1fr);gap:40px}
  h1{font-size:clamp(27px,8.2vw,56px)}
  .shots{max-width:620px}
  section{padding:60px 0}
}
/* телефон */
@media(max-width:640px){
  .wrap{padding:0 18px}
  .menu{margin:10px -18px 0;padding:0 18px}
  .brand svg{width:70px;height:20px}
  .brand b{font-size:13px;letter-spacing:.16em}
  .brand i{font-size:9.5px;letter-spacing:.16em}
  .lead{font-size:17px}
  .cmd{font-size:clamp(11px,3.5vw,15px);white-space:nowrap}
  .cta .btn{flex:1 1 auto;text-align:center}
  .stats,.g2,.g3,.g4,.people{grid-template-columns:minmax(0,1fr)}
  /* подробные карточки направлений на телефоне — одной строкой, листаются пальцем вбок */
  .swipe{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:18px;margin:0 -18px;padding:0 18px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .swipe::-webkit-scrollbar{display:none}
  .swipe::after{content:"";flex:0 0 6px}
  .swipe>.card{flex:0 0 80%;scroll-snap-align:start}
  .hint{display:block}
  .person img{width:92px;height:92px}
  .stat{display:flex;align-items:baseline;gap:14px;padding:16px 18px}
  .stat b{font-size:22px;flex:none}
  .stat span{margin-top:0}
  .bar{margin:16px 0 28px}
  .card{padding:20px}
  .build{padding:0}
  .why p{font-size:17px}
  .mail b{font-size:19px}
}
@media(max-width:380px){
  .brand i{display:none}
  .person{gap:14px}
  .person img{width:84px;height:84px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
