:root {
  color-scheme: light;
  --orange: #ff5a00;
  --orange-2: #ff7a1a;
  --dark: #111111;
  --card-dark: #1a1a1a;
  --bg: #f7f8fa;
  --text: #171717;
  --muted: #6b6b6b;
  --line: #eaeaea;
  --active: #ffe6d8;
  --success: #19b36b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; }
.page { width: min(1180px, 100%); margin: 0 auto; padding: 16px; }
.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(234,234,234,.88);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 42px rgba(0,0,0,.06);
  backdrop-filter: blur(16px);
}
.brand, .nav, .hero-actions, .form-grid, .inline, .contacts, .contact-list {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand { text-decoration: none; font-size: 22px; font-weight: 900; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.nav a, .call-pill {
  text-decoration: none;
  font-weight: 800;
  color: var(--muted);
}
.call-pill {
  color: #fff;
  background: var(--dark);
  padding: 13px 17px;
  border-radius: 999px;
}

.hero {
  margin-top: 18px;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: 22px;
  align-items: stretch;
}
.hero-copy, .hero-card, .section, .form-card, .request-intro, .contacts {
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 24px 54px rgba(0,0,0,.06);
}
.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background:
    radial-gradient(circle at 76% 30%, rgba(255,90,0,.34), transparent 30%),
    linear-gradient(135deg, rgba(17,17,17,.86), rgba(17,17,17,.98)),
    var(--dark);
}
.hero-copy::after {
  content: "🛠";
  position: absolute;
  right: 8%;
  bottom: 5%;
  font-size: clamp(110px, 18vw, 230px);
  opacity: .16;
  transform: rotate(-12deg);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.orange { color: var(--orange); }
h1, h2, h3 { margin: 0; color: inherit; }
h1 { max-width: 660px; font-size: clamp(48px, 7vw, 92px); line-height: .92; font-weight: 950; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.02; font-weight: 950; }
h3 { font-size: 18px; line-height: 1.16; font-weight: 900; }
.lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.58;
}
.hero-actions { margin-top: 28px; flex-wrap: wrap; }
.primary, .outline, .submit, .inline button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 16px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
}
.primary, .submit {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 18px 34px rgba(255,90,0,.28);
}
.outline {
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
}
.outline.dark {
  border-color: rgba(255,255,255,.26);
  color: #fff;
}
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background: linear-gradient(145deg, var(--orange), #ff7a1a);
}
.hero-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.22));
}
.hero-card strong { display: block; margin-top: 22px; font-size: 32px; line-height: 1.05; }
.hero-card span { display: block; margin-top: 12px; max-width: 260px; color: rgba(255,255,255,.88); line-height: 1.5; }
.tool-mark {
  position: absolute;
  right: -18px;
  bottom: -26px;
  font-size: 190px;
  opacity: .22;
  transform: rotate(-16deg);
}

.section, .contacts {
  margin-top: 22px;
  padding: 28px;
  background: #fff;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}
.section-head a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 900;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service {
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.service span { display: block; margin-bottom: 16px; font-size: 34px; }
.service p { color: var(--muted); line-height: 1.45; }

.request-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 22px;
  align-items: start;
}
.request-intro {
  position: sticky;
  top: 110px;
  padding: 28px;
  background: #fff;
}
.request-intro p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.55; }
.mini-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  border-radius: 20px;
  background: #fff2ea;
}
.mini-card span { font-size: 28px; }
.mini-card strong, .mini-card small { display: block; }
.mini-card small { margin-top: 3px; color: var(--muted); }
.form-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #fff;
}
.form-grid { align-items: stretch; }
.form-grid > * { flex: 1; }
label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,90,0,.10);
}
textarea { resize: vertical; min-height: 140px; }
.inline input { flex: 1; }
.inline button {
  min-width: 86px;
  color: #fff;
  background: var(--dark);
}
.file {
  padding: 16px;
  border: 1px dashed rgba(255,90,0,.38);
  border-radius: 18px;
  background: #fffaf7;
}
.captcha-box {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 2px solid rgba(255,90,0,.32);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7f1, #fff);
  box-shadow: 0 14px 30px rgba(255,90,0,.10);
}
.captcha-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--active);
  font-size: 24px;
}
.captcha-box label {
  flex: 1;
  gap: 7px;
}
.captcha-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.captcha-box strong {
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}
.captcha-box input {
  margin-top: 4px;
  background: #fff;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.submit { min-height: 58px; font-size: 16px; }
.status {
  margin: 0;
  padding: 15px 16px;
  border-radius: 16px;
  font-weight: 900;
  line-height: 1.4;
}
.status.ok { color: #117543; background: rgba(25,179,107,.12); border: 1px solid rgba(25,179,107,.18); }
.status.err { color: #b3261e; background: rgba(240,68,56,.10); border: 1px solid rgba(240,68,56,.18); }

.contacts {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.contacts p { color: var(--muted); font-size: 17px; line-height: 1.5; }
.contact-list {
  justify-content: end;
  flex-wrap: wrap;
}
.contact-list a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
}
.contact-list a:first-child {
  color: #fff;
  border-color: transparent;
  background: var(--orange);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .request-layout, .contacts { grid-template-columns: 1fr; }
  .hero, .hero-copy { min-height: auto; }
  .hero-card { min-height: 280px; }
  .request-intro { position: static; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .page { padding: 10px; }
  .topbar { top: 8px; border-radius: 22px; }
  .brand span { display: none; }
  .call-pill { padding: 11px 13px; font-size: 13px; }
  .hero-copy, .hero-card, .section, .form-card, .request-intro, .contacts { border-radius: 24px; padding: 20px; }
  h1 { font-size: 46px; }
  h2 { font-size: 30px; }
  .hero-actions, .form-grid, .inline, .contacts, .contact-list { flex-direction: column; align-items: stretch; }
  .captcha-box { align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .inline button { width: 100%; }
}
