/* РесурсТехнологии — основные стили */
:root {
  --orange: #f26a1b;
  --orange-2: #e0520c;
  --orange-soft: #fff1e8;
  --graphite: #23272e;
  --graphite-2: #2e333b;
  --steel: #5b636e;
  --steel-light: #9aa3af;
  --text: #1f232a;
  --muted: #5f6772;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20, 24, 30, .08);
  --font-display: "Russo One", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.accent { color: var(--orange); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow--light { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 700 15px/1 var(--font-body); letter-spacing: .02em;
  color: #fff; background: var(--orange);
  border: 2px solid var(--orange); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--bg-alt); border-color: var(--steel-light); }
.btn--dark { background: var(--graphite); border-color: var(--graphite); }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: auto; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 20px; color: var(--graphite); }
.brand__name span { color: var(--orange); }
.brand__tag { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { white-space: nowrap; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text); transition: color .2s; }
.nav a:hover { color: var(--orange); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 800; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--orange); }
.burger { display: none; }

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header__cta .btn { display: none; }
  .brand__tag { display: none; }
}
@media (max-width: 900px) {
  .header__inner { height: 64px; }
  .brand__mark { height: 38px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 18px; }
  .header__cta { margin-left: auto; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: var(--graphite); transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 320px; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .header__phone { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #3a404a 0%, var(--graphite) 55%, #1a1d22 100%);
  color: #fff;
}
.hero__grid {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--orange) 0 40%, transparent 40%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 22px; }
.hero__lead { font-size: 18px; color: #c9ced6; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__facts li { padding: 18px 18px 0 0; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.hero__facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--orange); margin-bottom: 4px; }
.hero__facts span { font-size: 14px; color: #aeb5bf; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero__art { order: -1; max-width: 420px; }
  .hero__lead { font-size: 16px; }
}
@media (max-width: 560px) {
  .hero__art { display: none; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Sections */
.section { padding: 96px 0; }
.section--dark { background: var(--graphite); color: #fff; }
.section--accent { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { margin-bottom: 14px; }
.section__lead { font-size: 17px; color: var(--muted); }
.section--dark .section__lead { color: #aeb5bf; }
@media (max-width: 768px) { .section { padding: 64px 0; } .section__head { margin-bottom: 32px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 30px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 30px; width: 4px; height: 0;
  background: var(--orange); transition: height .25s;
}
.card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-3px); }
.card:hover::before { height: 48px; }
.card__icon {
  width: 56px; height: 56px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: #fff; border-radius: var(--radius);
}
.card:hover .card__icon { background: var(--orange-soft); }
.card__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  counter-reset: s;
}
.step { position: relative; padding: 28px 24px 0 0; border-top: 2px solid rgba(255,255,255,.15); }
.step::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  background: var(--orange); transform: rotate(45deg);
}
.step__n { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; color: rgba(255,255,255,.12); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: #aeb5bf; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 28px 32px; border-top: 0; border-left: 2px solid rgba(255,255,255,.15); }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 4px; left: -7px; }
  .step__n { font-size: 28px; margin-bottom: 6px; }
}

/* Advantages */
.adv { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.adv__intro { position: sticky; top: 110px; }
.adv__intro h2 { margin-bottom: 16px; }
.adv__intro .section__lead { margin-bottom: 28px; }
.adv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.adv__list li {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start;
  padding: 30px 32px; background: var(--bg-alt); border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  transition: background .2s, box-shadow .2s;
}
.adv__list li:hover { background: #fff; box-shadow: var(--shadow); }
.adv__n { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--orange); }
.adv__list h3 { font-size: 21px; margin-bottom: 10px; }
.adv__list p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) {
  .adv { grid-template-columns: 1fr; gap: 32px; }
  .adv__intro { position: static; }
}
@media (max-width: 600px) {
  .adv__list li { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .adv__n { font-size: 36px; }
}

/* Request */
.request { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.request__info h2 { margin-bottom: 18px; }
.request__info > p { font-size: 17px; color: rgba(255,255,255,.88); margin-bottom: 32px; }
.request__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.request__contacts span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.request__contacts a { font-size: 22px; font-weight: 800; text-decoration: none; }
.request__contacts a:hover { text-decoration: underline; }

.form {
  background: #fff; color: var(--text);
  padding: 36px; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(80, 25, 0, .25);
  display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__label i { color: var(--orange); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  font: 500 16px/1.4 var(--font-body); color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,106,27,.18); }
.field.is-invalid input { border-color: #d93025; background: #fff6f5; }

.file { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; cursor: pointer; }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-weight: 700; font-size: 14px;
  border: 1px dashed var(--steel-light); border-radius: var(--radius);
  transition: border-color .2s, color .2s;
}
.file__btn::before { content: "+"; font-size: 18px; line-height: 1; color: var(--orange); }
.file:hover .file__btn, .file input:focus-visible + .file__btn { border-color: var(--orange); color: var(--orange); }
.file__name { font-size: 13px; color: var(--muted); word-break: break-all; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check a { color: var(--orange); }
.check.is-invalid span { color: #d93025; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-size: 15px; font-weight: 600; min-height: 1px; }
.form__status.is-ok { color: #1e8e3e; }
.form__status.is-error { color: #d93025; }

@media (max-width: 960px) { .request { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
}

/* Contacts */
.contacts { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: stretch; }
.contacts__info h2 { margin-bottom: 28px; }
.contacts__list { margin: 0 0 32px; display: grid; gap: 22px; }
.contacts__list dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.contacts__list dd { margin: 0; font-size: 18px; font-weight: 700; }
.contacts__list a { text-decoration: none; }
.contacts__list a:hover { color: var(--orange); }
.contacts__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 960px) { .contacts { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
.footer { background: #1a1d22; color: #aeb5bf; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 32px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 18px; color: #fff; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__contacts a { color: #fff; font-weight: 700; text-decoration: none; }
.footer__contacts a:hover { color: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.footer__bottom a { color: #aeb5bf; }
.footer__bottom a:hover { color: #fff; }

/* Mobile call button */
.call-fab {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 8px 24px rgba(242,106,27,.45);
  place-items: center;
}
.call-fab svg { width: 26px; height: 26px; fill: #fff; }
@media (max-width: 600px) { .call-fab { display: grid; } }

/* Simple text pages */
.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; }
.page h2 { font-family: var(--font-body); font-weight: 800; font-size: 20px; margin: 32px 0 12px; }
.page p, .page li { color: #3b414a; margin-bottom: 10px; max-width: 820px; }

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