:root {
  --ink: #101114;
  --ink-soft: #181a1e;
  --paper: #f3f3ef;
  --muted: #a7a8a3;
  --line: rgba(255,255,255,.13);
  --orange: #ff5a1f;
  --orange-bright: #ff743e;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #fff; font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: absolute; z-index: 20; top: 0; left: 50%; transform: translateX(-50%); width: min(calc(100% - 48px), var(--max)); min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Russo One", sans-serif; letter-spacing: .025em; font-size: 1.18rem; }
.brand > span:last-child > span { color: var(--orange); }
.brand-mark { width: 34px; height: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transform: skew(-10deg); }
.brand-mark i { display: block; background: var(--orange); border-radius: 2px 10px 2px 2px; }
.brand-mark i:last-child { background: #fff; transform: translateY(6px); border-radius: 2px; }
.desktop-nav { display: flex; gap: 36px; font-size: .88rem; font-weight: 600; }
.desktop-nav a { color: rgba(255,255,255,.74); transition: color .2s; }
.desktop-nav a:hover { color: #fff; }
.header-cta { padding: 11px 20px; border: 1px solid rgba(255,255,255,.55); font-weight: 700; font-size: .88rem; transition: background .2s, color .2s; }
.header-cta:hover { background: #fff; color: var(--ink); }

.hero { min-height: 790px; height: min(92vh, 920px); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #17191d url("autodron-workshop.webp") center/cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.98) 0%, rgba(8,9,11,.86) 34%, rgba(8,9,11,.2) 70%, rgba(8,9,11,.5) 100%), linear-gradient(0deg, rgba(8,9,11,.75), transparent 45%); }
.hero-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 68%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); margin: 70px auto 0; }
.eyebrow, .section-index { margin: 0 0 20px; color: var(--orange-bright); text-transform: uppercase; letter-spacing: .19em; font-size: .75rem; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #fff; }
.eyebrow span { width: 36px; height: 3px; background: var(--orange); }
h1, h2, blockquote { font-family: "Russo One", sans-serif; text-transform: uppercase; font-weight: 400; line-height: .95; }
h1 { max-width: 780px; margin: 0; font-size: clamp(4.6rem, 9vw, 8.2rem); letter-spacing: -.045em; }
h1 em { color: transparent; -webkit-text-stroke: 2px var(--orange); font-style: normal; }
.hero-copy { max-width: 620px; color: rgba(255,255,255,.72); font-size: 1.08rem; margin: 30px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 14px 22px; font-weight: 800; font-size: .9rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; }
.button-primary:hover { background: var(--orange-bright); }
.button-ghost { border: 1px solid rgba(255,255,255,.36); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-notes { display: flex; gap: 28px; margin-top: 46px; color: rgba(255,255,255,.62); font-size: .78rem; font-weight: 700; }
.hero-notes span { position: relative; padding-left: 15px; }
.hero-notes span::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--orange); }
.scroll-hint { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--max))/2)); bottom: 44px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 13px; }
.scroll-hint span { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); position: relative; }
.scroll-hint span::after { content: "↓"; position: absolute; inset: 8px 0 0; text-align: center; }

.section { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.services { padding-block: 120px 140px; }
.section-heading { display: grid; grid-template-columns: 1.45fr .75fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.04em; margin: 0; }
.section-heading > p { color: var(--muted); margin: 0 0 8px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 330px; position: relative; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, transform .25s; }
.service-card:hover { background: #1d1f24; transform: translateY(-4px); z-index: 2; }
.service-card-featured { background: var(--orange); }
.service-card-featured:hover { background: var(--orange-bright); }
.service-number { color: rgba(255,255,255,.38); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.service-icon { margin: 28px 0 24px; font-size: 2rem; line-height: 1; }
.service-card h3 { margin: 0 0 13px; font-size: 1.28rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.service-card-featured p { color: rgba(255,255,255,.8); }
.service-card a { position: absolute; bottom: 28px; left: 34px; right: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); display: flex; justify-content: space-between; font-size: .78rem; font-weight: 800; }

.promise { background: var(--paper); color: var(--ink); overflow: hidden; }
.promise-line { height: 68px; display: flex; align-items: center; gap: 24px; width: max-content; padding-inline: 24px; background: var(--orange); color: #fff; font-family: "Russo One", sans-serif; font-size: 1.05rem; letter-spacing: .08em; transform: rotate(-1deg) translateY(-4px) translateX(-10px); }
.promise-line b { color: var(--ink); }
.promise-inner { padding-block: 120px 130px; display: grid; grid-template-columns: .3fr 1.25fr .5fr; gap: 45px; align-items: start; }
.promise-inner .section-index { color: #6d6f6c; }
blockquote { font-size: clamp(2.7rem, 5.2vw, 5.3rem); letter-spacing: -.04em; margin: 0; }
.promise-copy { margin: 0; color: #656762; }

.process { padding-block: 130px; }
.section-heading.compact { display: block; margin-bottom: 55px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 30px 28px 10px 0; border-right: 1px solid var(--line); margin-right: 28px; min-height: 200px; }
.steps li:last-child { border-right: 0; }
.steps span { color: var(--orange); font-size: .76rem; font-weight: 800; }
.steps h3 { margin: 42px 0 8px; font-size: 1.18rem; }
.steps p { color: var(--muted); margin: 0; font-size: .88rem; }

.contact { position: relative; background: #090a0c; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 40%, rgba(255,90,31,.18), transparent 28%), linear-gradient(130deg, transparent 60%, rgba(255,255,255,.04)); }
.contact-inner { position: relative; padding-block: 130px; }
.contact h2 { margin: 0; font-size: clamp(3rem, 7vw, 7rem); max-width: 950px; }
.contact-inner > p:not(.section-index) { max-width: 670px; color: var(--muted); font-size: 1rem; margin: 30px 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); }
.contact-meta div { background: #0e0f12; padding: 24px; }
.contact-meta small { display: block; color: #777a7e; text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; margin-bottom: 5px; }
.contact-meta strong { font-size: .92rem; }

footer { width: min(calc(100% - 48px), var(--max)); margin: auto; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #77797d; font-size: .78rem; }
footer .brand { color: #fff; }
.mobile-cta { display: none; }

/* Страницы услуг */
.inner-page { background: var(--ink); }
.inner-header { position: relative; left: auto; transform: none; margin-inline: auto; }
.inner-header .desktop-nav a[aria-current="page"] { color: #fff; }
.service-hero { position: relative; overflow: hidden; padding: 104px 0 84px; background: linear-gradient(120deg, #0b0c0f 0%, #16191e 67%, #22140f 100%); border-bottom: 1px solid var(--line); }
.service-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 75%); opacity: .2; }
.service-hero-inner { position: relative; z-index: 1; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 42px; color: rgba(255,255,255,.56); font-size: .78rem; }
.breadcrumbs a:hover { color: #fff; }
.service-hero h1 { max-width: 1000px; font-size: clamp(3.35rem, 7vw, 7.2rem); }
.service-hero h1 em { display: block; }
.service-lead { max-width: 720px; margin: 28px 0 34px; color: rgba(255,255,255,.73); font-size: 1.08rem; }
.service-details { padding-block: 100px 120px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .65fr; gap: 80px; align-items: start; }
.detail-main h2, .related h2 { margin: 0 0 34px; font-family: "Russo One", sans-serif; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.035em; }
.check-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 18px 12px 18px 34px; border-bottom: 1px solid var(--line); color: #dadbd7; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); }
.detail-note { margin: 28px 0 0; color: var(--muted); }
.info-card { position: sticky; top: 24px; padding: 32px; background: var(--paper); color: var(--ink); }
.info-card .section-index { color: #6d6f6c; }
.info-card h2 { margin: 0 0 18px; font-family: "Russo One", sans-serif; text-transform: uppercase; line-height: 1.05; font-size: 2rem; font-weight: 400; }
.info-card p { color: #5f615d; }
.info-card .button { width: 100%; margin-top: 9px; }
.info-card .button-ghost { color: var(--ink); border-color: rgba(16,17,20,.3); }
.info-card .button-ghost:hover { background: rgba(16,17,20,.06); }
.info-card small { display: block; margin-top: 20px; color: #777974; }
.related { padding-block: 100px; background: #0c0d10; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related-links a { min-height: 120px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px; background: #111216; font-weight: 800; transition: background .2s; }
.related-links a:hover { background: #1b1d22; }
.related-links span { color: var(--orange); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { min-height: 740px; height: 100svh; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,9,11,.96), rgba(8,9,11,.58)), linear-gradient(0deg, rgba(8,9,11,.85), transparent 55%); }
  .hero-media { background-image: url("autodron-workshop-mobile.webp"); background-position: center; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-inner { grid-template-columns: 1fr; }
  .promise-copy { max-width: 620px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-meta { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 50px; }
  .info-card { position: relative; top: auto; }
  .related-links { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 32px); min-height: 74px; }
  .header-cta { display: none; }
  .brand { font-size: 1.03rem; }
  .brand-mark { width: 29px; height: 24px; }
  .hero { min-height: 690px; }
  .hero-content { width: calc(100% - 32px); margin-top: 50px; }
  h1 { font-size: clamp(3.65rem, 18vw, 5.2rem); }
  h1 em { -webkit-text-stroke-width: 1px; }
  .hero-copy { font-size: .94rem; margin: 24px 0 28px; }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; gap: 5px; margin-top: 28px; }
  .scroll-hint { display: none; }
  .section { width: calc(100% - 32px); }
  .services { padding-block: 86px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 2.65rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; padding: 28px; }
  .service-card a { left: 28px; right: 28px; }
  .promise-inner { padding-block: 90px; gap: 26px; }
  blockquote { font-size: 2.75rem; }
  .process { padding-block: 90px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin: 0; border-bottom: 1px solid var(--line); min-height: auto; padding: 24px 0; }
  .steps h3 { margin: 20px 0 5px; }
  .contact-inner { padding-block: 90px 130px; }
  .contact h2 { font-size: 3.1rem; }
  .contact-actions .button { width: 100%; }
  footer { width: calc(100% - 32px); padding-block: 30px 100px; align-items: flex-start; flex-direction: column; }
  .mobile-cta { display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; height: 56px; padding-inline: 20px; align-items: center; justify-content: space-between; background: var(--orange); font-weight: 800; box-shadow: 0 12px 34px rgba(0,0,0,.45); }
  .service-hero { padding: 54px 0 70px; }
  .service-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .breadcrumbs { margin-bottom: 28px; }
  .service-details, .related { padding-block: 76px; }
  .info-card { padding: 26px; }
}

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