:root {
  --bg: #071018;
  --bg-deep: #040a0f;
  --surface: #101b24;
  --surface-2: #14212b;
  --surface-3: #182630;
  --text: #f5f6f7;
  --muted: #aeb8c0;
  --orange: #f47700;
  --orange-light: #ff8b1a;
  --line: rgba(255,255,255,.13);
  --max: 1460px;
  --shadow: 0 24px 80px rgba(0,0,0,.30);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 18%, rgba(31,65,82,.18), transparent 34%),
    linear-gradient(180deg, #071018 0%, #08131b 53%, #060d13 100%);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,12,17,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: 325px 1fr 280px;
  align-items: center;
  gap: 40px;
}
.brand { width: 300px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; justify-content: center; gap: 50px; }
.main-nav a { position: relative; padding: 34px 0; font-size: 14px; font-weight: 500; color: #e1e6e9; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 25px; height: 2px; background: var(--orange); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-contacts { justify-self: end; display: grid; gap: 8px; text-align: right; }
.header-phone { font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.header-phone:hover, .messenger-number:hover { color: var(--orange-light); }
.messenger-line { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.messenger-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; color: var(--orange); }
.messenger-icon svg { width: 21px; fill: currentColor; }
.messenger-number { font-size: 14px; font-weight: 500; color: #e1e5e8; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0 0 150px 37%; }
.hero-media::before { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(90deg, #071018 0%, rgba(7,16,24,.88) 9%, rgba(7,16,24,.35) 37%, rgba(7,16,24,.08) 100%), linear-gradient(0deg, #071018 0%, rgba(7,16,24,0) 36%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 51%; filter: saturate(.85) contrast(1.03) brightness(.78); }
.hero-layout { position: relative; z-index: 2; min-height: 610px; display: flex; align-items: center; padding-block: 70px; }
.hero-copy { width: min(710px, 54%); }
.hero h1 { margin: 0; font-size: clamp(44px, 4vw, 68px); line-height: 1.17; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.hero-lead { max-width: 680px; margin: 30px 0 0; font-size: 17px; line-height: 1.8; color: #d0d6da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 30px; border-radius: 4px; text-transform: uppercase; letter-spacing: .01em; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(90deg, #e96700, #fa7d00); border: 1px solid #ff8610; box-shadow: 0 12px 30px rgba(244,119,0,.13); }
.button-primary:hover { background: linear-gradient(90deg, #f27600, #ff8a13); }
.button-outline { color: #fff; background: rgba(4,10,15,.25); border: 1px solid rgba(255,255,255,.68); }
.button-outline:hover { border-color: var(--orange); }
.button-icon { width: 22px; height: 22px; fill: currentColor; }
.feature-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); min-height: 150px; border-top: 1px solid var(--line); }
.feature-item { display: flex; align-items: center; gap: 25px; padding: 28px 36px; border-right: 1px solid var(--line); }
.feature-item:first-child { border-left: 1px solid var(--line); }
.feature-item p { margin: 0; font-size: 14px; line-height: 1.45; }
.feature-item strong, .feature-item span { display: block; }
.feature-item strong { margin-bottom: 4px; font-size: 15px; }
.feature-item span { color: #d1d6d9; }
.line-icon { fill: none; stroke: #f0f3f5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .accent { stroke: var(--orange); }
.feature-icon { flex: 0 0 60px; width: 60px; height: 60px; }
.section { padding: 70px 0 0; }
.section h2 { margin: 0 0 30px; font-size: clamp(29px, 2.4vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card { position: relative; min-height: 225px; display: grid; grid-template-columns: 72px 1fr; gap: 26px; align-items: start; padding: 35px 34px; background: linear-gradient(135deg, rgba(27,42,53,.92), rgba(14,25,34,.94)); border: 1px solid rgba(255,255,255,.10); border-radius: 8px; box-shadow: 0 16px 45px rgba(0,0,0,.12); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.service-card::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 0 0, rgba(255,255,255,.05), transparent 45%); pointer-events:none; }
.service-card:hover { transform: translateY(-3px); border-color: rgba(244,119,0,.45); }
.service-icon { width: 68px; height: 68px; position: relative; z-index:1; }
.service-card div { position:relative; z-index:1; }
.service-card h3 { margin: 4px 0 14px; font-size: 17px; line-height: 1.35; }
.service-card p { margin:0; color: #bbc4ca; font-size: 13px; line-height: 1.75; }
.card-arrow { position:absolute; right: 23px; bottom: 19px; font-size: 31px; font-weight: 300; color: #e7ebed; }
.technologies { scroll-margin-top: 96px; }
.technology-grid { display:grid; grid-template-columns: repeat(8,1fr); gap: 9px; }
.technology-card { min-height: 190px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding: 18px 8px; text-align:center; background: linear-gradient(180deg, rgba(27,42,53,.92), rgba(15,25,34,.94)); border: 1px solid rgba(255,255,255,.11); border-radius: 7px; }
.technology-icon { width: 72px; height: 72px; margin-bottom: 17px; }
.technology-card h3 { margin:0; min-height: 43px; display:flex; align-items:center; justify-content:center; font-size: 13px; line-height: 1.45; font-weight: 500; }
.order { padding-bottom: 30px; }
.steps { display:grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(9,19,27,.65); overflow:hidden; }
.step { position:relative; min-height: 160px; display:grid; grid-template-columns: 45px 68px 1fr; gap: 18px; align-items:center; padding: 27px 24px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-number { align-self:start; width: 36px; height:36px; display:grid; place-items:center; border:2px solid var(--orange); border-radius:50%; font-size: 14px; font-weight:700; }
.step-icon { width:66px; height:66px; }
.step h3 { margin:0 0 9px; font-size:15px; }
.step p { margin:0; color:#adb7be; font-size:12px; line-height:1.65; }
.estimate { padding-top: 0; }
.estimate-panel { display:grid; grid-template-columns: .76fr 1.65fr; gap: 38px; padding: 30px 34px; background: linear-gradient(135deg, rgba(26,40,51,.98), rgba(13,24,32,.98)); border: 1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); overflow:hidden; }
.estimate-copy { position:relative; min-height: 245px; }
.estimate-copy h2 { margin-bottom: 20px; }
.estimate-copy p { max-width: 430px; margin:0; color:#c1c9ce; font-size:14px; line-height:1.75; }
.mountain-watermark { position:absolute; left:-25px; right:0; bottom:-60px; height:170px; background:url('assets/logo-mark.png') left bottom/contain no-repeat; opacity:.13; filter:grayscale(1); }
.estimate-form { display:grid; grid-template-columns:1fr 1fr; gap:12px 14px; align-content:start; }
.estimate-form label { display:grid; gap:6px; }
.estimate-form label > span:first-child:not(.file-button) { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.estimate-form .wide { grid-column:1/-1; }
.estimate-form input[type="text"] { width:100%; height:48px; padding:0 15px; color:#fff; background:#0c151c; border:1px solid rgba(255,255,255,.22); border-radius:5px; outline:none; }
.estimate-form input[type="text"]::placeholder { color:#828d95; }
.estimate-form input[type="text"]:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(244,119,0,.12); }
.file-field { position:relative; }
.file-field input { position:absolute; width:1px; height:1px; opacity:0; }
.file-button { height:55px; display:flex; align-items:center; justify-content:center; gap:12px; padding:0 14px; border:1px dashed rgba(255,255,255,.40); border-radius:5px; background:#0c151c; cursor:pointer; font-size:13px; font-weight:500; }
.file-button:hover { border-color:var(--orange); }
.file-button svg { width:22px; height:22px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.submit-button { width:100%; min-height:55px; border:0; }
.form-note { margin:-1px 0 0; color:#7f8a92; font-size:10px; }
.consent { display:flex !important; align-items:flex-start; gap:10px !important; color:#9ea8af; font-size:10px; line-height:1.5; }
.consent input { margin-top:2px; accent-color:var(--orange); }
.consent a { text-decoration:underline; }
.site-footer { margin-top: 28px; border-top:1px solid var(--line); background:#040b10; }
.footer-main { display:grid; grid-template-columns:1.32fr 1fr 1.22fr; gap:48px; align-items:center; padding:38px 0 34px; }
.footer-company { align-self:start; }
.footer-company h2 { margin:0 0 14px; font-size:19px; }
.footer-company p { margin:0; color:#c7ced2; font-size:14px; line-height:1.68; }
.footer-company strong { color:#fff; font-weight:600; }
.footer-contact-list { margin:0; padding:0 0 0 34px; display:grid; gap:10px; border-left:1px solid var(--line); font-style:normal; }
.footer-contact-list p { margin:0; display:flex; align-items:center; gap:11px; font-size:13px; }
.footer-contact-list a:hover { color:var(--orange-light); }
.contact-icon { width:20px; height:20px; flex:0 0 20px; fill:none; stroke:var(--orange); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.footer-messenger-icons { flex:0 0 auto; display:flex; gap:7px; }
.footer-messenger-icons a { display:grid; place-items:center; width:20px; height:20px; color:var(--orange); }
.footer-messenger-icons svg { width:19px; fill:currentColor; }
.footer-brand { min-width:0; padding-left:42px; border-left:1px solid var(--line); }
.footer-brand img { display:block; width:min(100%, 330px); height:auto; aspect-ratio:760 / 150; object-fit:contain; object-position:left center; }
.footer-brand p { margin:16px 0 0; max-width:390px; color:#b7c0c6; font-size:12px; line-height:1.7; }

.footer-company p, .footer-contact-list p, .footer-brand p { overflow-wrap:anywhere; }
.footer-contact-list { min-width:0; }
.footer-contact-list a, .footer-contact-list span { min-width:0; }

.footer-bottom { min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:25px; border-top:1px solid var(--line); color:#77838b; font-size:10px; }
.footer-bottom nav { display:flex; gap:20px; align-items:center; }
.footer-bottom a:hover { color:#fff; }
.floating-wa { position:fixed; right:22px; bottom:22px; z-index:40; width:54px; height:54px; display:grid; place-items:center; color:#fff; background:#18a957; border-radius:50%; box-shadow:0 16px 40px rgba(0,0,0,.42); transition:transform .2s ease; }
.floating-wa:hover { transform:translateY(-3px); }
.floating-wa svg { width:29px; fill:currentColor; }
.legal-page { min-height:100vh; padding:55px 0 90px; background:var(--bg); }
.legal-shell { max-width:940px; }
.legal-logo { width:330px; margin-bottom:50px; }
.legal-page h1 { margin:0 0 30px; font-size:clamp(32px,5vw,55px); line-height:1.1; }
.legal-page h2 { margin-top:40px; }
.legal-page p, .legal-page li { color:#bdc5ca; line-height:1.75; }
.back-link { display:inline-flex; margin-top:30px; color:var(--orange-light); }
@media (max-width:1280px) {
  .header-inner { grid-template-columns:285px 1fr 260px; gap:25px; }
  .brand { width:275px; }
  .main-nav { gap:30px; }
  .hero-copy { width:58%; }
  .feature-item { padding-inline:23px; }
  .technology-grid { grid-template-columns:repeat(4,1fr); }
  .technology-card { min-height:170px; }
  .step { grid-template-columns:40px 58px 1fr; gap:12px; padding:24px 18px; }
}
@media (max-width:980px) {
  .container { width:min(calc(100% - 32px), var(--max)); }
  .header-inner { grid-template-columns:1fr auto; min-height:78px; }
  .brand { width:260px; }
  .header-contacts { display:none; }
  .menu-toggle { display:block; }
  .main-nav { position:absolute; top:78px; left:0; right:0; display:none; flex-direction:column; gap:0; padding:10px 16px 20px; background:#071018; border-bottom:1px solid var(--line); }
  .main-nav.is-open { display:flex; }
  .main-nav a { padding:15px 12px; border-bottom:1px solid rgba(255,255,255,.08); }
  .main-nav a::after { display:none; }
  .hero-media { inset:0 0 auto 0; height:430px; }
  .hero-media::before { background:linear-gradient(180deg, rgba(7,16,24,.15), rgba(7,16,24,.55) 55%, #071018 100%); }
  .hero-media img { object-position:center 48%; }
  .hero-layout { min-height:760px; align-items:flex-end; padding-bottom:60px; }
  .hero-copy { width:100%; }
  .feature-strip { grid-template-columns:repeat(2,1fr); }
  .feature-item:nth-child(2) { border-right:0; }
  .feature-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .steps { grid-template-columns:1fr; }
  .step { border-right:0; border-bottom:1px solid var(--line); }
  .step:last-child { border-bottom:0; }
  .estimate-panel { grid-template-columns:1fr; }
  .estimate-copy { min-height:auto; }
  .mountain-watermark { display:none; }
  .footer-main { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:32px; align-items:start; }
  .footer-brand { grid-column:1/-1; padding:28px 0 0; border-left:0; border-top:1px solid var(--line); }
}
@media (max-width:640px) {
  .container { width:min(calc(100% - 24px), var(--max)); }
  .brand { width:220px; }
  .section { padding-top:56px; }
  .hero-media { height:300px; }
  .hero-layout { min-height:690px; align-items:flex-start; padding:335px 0 45px; }
  .hero h1 { font-size:37px; line-height:1.14; }
  .hero h1 br { display:none; }
  .hero-lead { margin-top:22px; font-size:15px; line-height:1.65; }
  .hero-actions { display:grid; gap:12px; margin-top:27px; }
  .button { width:100%; min-height:55px; }
  .feature-strip { grid-template-columns:1fr; }
  .feature-item, .feature-item:first-child { min-height:105px; border-left:0; border-right:0; border-bottom:1px solid var(--line); padding:22px 15px; }
  .feature-item:last-child { border-bottom:0; }
  .feature-icon { flex-basis:54px; width:54px; height:54px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:190px; grid-template-columns:62px 1fr; gap:18px; padding:27px 22px; }
  .service-icon { width:58px; height:58px; }
  .technology-grid { grid-template-columns:repeat(2,1fr); }
  .technology-card { min-height:160px; }
  .technology-icon { width:63px; height:63px; }
  .step { grid-template-columns:36px 55px 1fr; padding:22px 15px; }
  .step-icon { width:54px; height:54px; }
  .estimate-panel { padding:25px 18px; gap:25px; }
  .estimate-form { grid-template-columns:1fr; }
  .estimate-form .wide { grid-column:auto; }
  .footer-main { grid-template-columns:minmax(0,1fr); gap:26px; padding-top:32px; }
  .footer-contact-list, .footer-brand { padding:25px 0 0; border-left:0; border-top:1px solid var(--line); }
  .footer-company h2 { font-size:20px; }
  .footer-company p { font-size:14px; line-height:1.72; }
  .footer-contact-list p { font-size:13px; line-height:1.45; }
  .footer-brand img { width:min(100%, 285px); }
  .footer-brand p { font-size:12px; }
  .footer-bottom { padding:18px 0; min-height:auto; flex-direction:column; align-items:flex-start; }
  .footer-bottom nav { flex-wrap:wrap; gap:10px; }
  .floating-wa { width:50px; height:50px; right:14px; bottom:14px; }
}

@media (max-width:420px) {
  .container { width:min(calc(100% - 22px), var(--max)); }
  .header-inner { min-height:72px; }
  .brand { width:200px; }
  .main-nav { top:72px; }
  .hero-media { height:285px; }
  .hero-layout { min-height:650px; padding:318px 0 40px; }
  .hero h1 { font-size:33px; line-height:1.14; }
  .hero-lead { font-size:14px; }
  .service-card { min-height:180px; padding:24px 18px; }
  .technology-card { min-height:154px; padding-inline:5px; }
  .technology-card h3 { font-size:12px; }
  .step { grid-template-columns:32px 48px minmax(0,1fr); gap:10px; padding:20px 12px; }
  .step-number { width:32px; height:32px; }
  .step-icon { width:48px; height:48px; }
  .estimate-panel { padding:23px 15px; }
  .footer-bottom { font-size:10px; }
}
@media (max-width:340px) {
  .brand { width:182px; }
  .hero h1 { font-size:29px; }
  .hero-actions .button { padding-inline:14px; font-size:11px; }
  .service-card { grid-template-columns:52px minmax(0,1fr); gap:14px; }
  .service-icon { width:52px; height:52px; }
  .technology-card h3 { font-size:11px; }
  .footer-company p, .footer-contact-list p { font-size:13px; }
}

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