:root {
  --bg: #070808;
  --panel: #141514;
  --panel-2: #1d1c1a;
  --steel: #9da3a4;
  --muted: #b9b4aa;
  --text: #f5f0e6;
  --orange: #f36c16;
  --rust: #8a351a;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(243, 108, 22, 0.15), transparent 28rem),
    linear-gradient(135deg, #060707 0%, #111210 45%, #070808 100%);
  color: var(--text);
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: 20;
  background-image:
    linear-gradient(115deg, transparent 0 20%, rgba(255, 255, 255, 0.08) 20% 21%, transparent 21% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 6, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  font-family: "Russo One", sans-serif;
}

.brand-mark,
.panel-mark {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 108, 22, 0.42);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(145deg, #202321, #070808);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.45);
  clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.brand-mark img,
.panel-mark img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.65));
}

.brand b {
  color: var(--orange);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.nav a:hover,
.header-action:hover {
  color: var(--orange);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-action {
  min-height: 40px;
  background: #101110;
}

.btn svg,
.header-action svg,
.service-card svg,
.promise-list svg,
.contact-strip svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  border-color: rgba(243, 108, 22, 0.8);
  background:
    linear-gradient(135deg, #ff7b1d, #d94d0b),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,0.15) 8px 9px);
  color: #111;
  box-shadow: 0 12px 30px rgba(243, 108, 22, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn:hover,
.header-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(243, 108, 22, 0.24);
}

.section {
  padding: 96px 0;
}

.section-dark {
  position: relative;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05), transparent 32%),
    linear-gradient(90deg, rgba(91, 39, 19, 0.2), transparent 52%),
    #090a0a;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,5,5,0.98), rgba(4,5,5,0.62) 52%, rgba(4,5,5,0.9)),
    linear-gradient(0deg, rgba(0,0,0,0.58), transparent 55%),
    url("./assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.15);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-grid,
.pavel-grid,
.contact-grid,
.price-grid,
.faq-grid,
.final-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  font-size: clamp(52px, 8.2vw, 104px);
  text-shadow: 0 6px 0 rgba(91, 39, 19, 0.55), 0 0 42px rgba(243,108,22,0.14);
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: 24px;
}

p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.lead,
.big {
  max-width: 730px;
  font-size: 24px;
  color: #e6ded0;
}

.hero-actions,
.hero-stats,
.promise-list,
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats span,
.promise-list span,
.contact-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats b {
  color: var(--orange);
  font-family: "Russo One", sans-serif;
  font-weight: 400;
}

.diagnostic-panel,
.service-card,
.case-card,
.review,
.price-list,
.lead-form,
.portrait {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    linear-gradient(90deg, rgba(243, 108, 22, 0.08), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.diagnostic-panel {
  padding: 32px;
}

.panel-mark {
  width: 150px;
  height: 150px;
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 50% 36%, rgba(243, 108, 22, 0.12), transparent 46%),
    linear-gradient(145deg, #252623, #070808);
}

.panel-mark img {
  width: 108%;
  height: 108%;
}

.diagnostic-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: #ded8cf;
  font-size: 17px;
}

.diagnostic-panel li {
  display: flex;
  gap: 10px;
}

.diagnostic-panel svg,
.promise-list svg,
.contact-strip svg {
  color: var(--orange);
  flex: 0 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.service-grid,
.case-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.case-card,
.review {
  min-height: 245px;
  padding: 26px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.service-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--orange);
  transition: transform 0.35s ease;
}

.service-card:hover svg {
  transform: rotate(-18deg) scale(1.08);
}

.pavel-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.portrait {
  padding: 10px;
  transform: rotate(-1.2deg);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9);
}

.case-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 10px;
  border-left: 4px solid var(--orange);
  background: rgba(243, 108, 22, 0.12);
  color: #ffd1a8;
  font-weight: 700;
  text-transform: uppercase;
}

.case-card b {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: 18px;
}

.reviews {
  background:
    linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.9)),
    url("./assets/texture-bg.jpg");
  background-size: cover;
  background-position: center;
}

.review-grid {
  grid-template-columns: repeat(5, 1fr);
}

.review {
  min-height: 260px;
}

.review b {
  color: var(--orange);
  font-size: 20px;
}

.price-grid {
  align-items: start;
}

.price-list {
  padding: 10px;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list b {
  color: var(--orange);
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.contacts {
  background:
    linear-gradient(110deg, rgba(7,8,8,0.96), rgba(7,8,8,0.78)),
    url("./assets/texture-bg.jpg");
  background-size: cover;
  background-position: center top;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-weight: 700;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  padding: 14px;
  font: 18px "Oswald", Arial, sans-serif;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(243, 108, 22, 0.55);
  border-color: var(--orange);
}

.form-status {
  min-height: 28px;
  margin: 0;
  font-size: 16px;
}

.final-cta {
  padding: 46px 0;
}

.final-grid {
  grid-template-columns: 1fr auto;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #050606;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .pavel-grid,
  .contact-grid,
  .price-grid,
  .faq-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding: 86px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    font-size: 14px;
  }

  .header-action {
    padding: 0 12px;
  }

  .section {
    padding: 66px 0;
  }

  .lead,
  .big {
    font-size: 20px;
  }

  .service-grid,
  .case-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .lead-form .btn {
    width: 100%;
  }

  .price-list div,
  .footer-grid {
    flex-direction: column;
  }
}
