:root {
  --ink: #101418;
  --muted: #5f6873;
  --line: #dde4ea;
  --paper: #f6f8f8;
  --white: #ffffff;
  --accent: #f4b000;
  --accent-dark: #c27600;
  --green: #176a4f;
  --dark: #111820;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(10, 14, 18, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.header-phone,
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
}

.brand-mark,
.nav,
.hero-actions,
.messengers,
.trust-strip,
.form-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.nav {
  gap: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}

.nav a:hover,
.header-phone:hover {
  color: var(--accent);
}

.header-phone {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 32px;
  padding: 130px clamp(18px, 5vw, 72px) 52px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.92) 0%, rgba(10, 14, 18, 0.72) 42%, rgba(10, 14, 18, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 14, 18, 0.82), rgba(10, 14, 18, 0.12));
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions,
.messengers,
.form-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(244, 176, 0, 0.28);
}

.btn-primary:hover {
  background: #ffc229;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.messengers {
  margin-top: 18px;
}

.messengers a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.hero-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.72);
  backdrop-filter: blur(18px);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-card span,
.hero-card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.hero-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 128px;
  padding: 26px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 28px;
}

.trust-strip span,
.section-head p,
.service-grid p,
.steps span,
.quote-box p,
.process-grid p,
.faq p,
.request-copy p,
.form-note,
.footer span {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px);
  scroll-margin-top: 82px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head p {
  max-width: 680px;
  font-size: 18px;
}

.service-grid,
.process-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery {
  background: var(--white);
}

.gallery-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: stretch;
}

.gallery figure {
  position: relative;
  min-height: 290px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dark);
  box-shadow: 0 18px 52px rgba(16, 20, 24, 0.12);
}

.gallery-large {
  grid-row: span 2;
  min-height: 596px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 54px 20px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(10, 14, 18, 0.82), rgba(10, 14, 18, 0));
  font-weight: 900;
  line-height: 1.25;
}

.service-grid article,
.process-grid div,
.quote-box,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  min-height: 250px;
  padding: 26px;
}

.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #fff3c8;
  color: var(--accent-dark);
  font-weight: 900;
}

.split,
.request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.steps div {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
}

.steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--accent);
}

.quote-box,
.lead-form {
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 22px 60px rgba(16, 20, 24, 0.08);
}

.dark-band {
  background: var(--dark);
  color: var(--white);
}

.dark-band .section-head p,
.process-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.process-grid div {
  background: #17212b;
  border-color: rgba(255, 255, 255, 0.08);
  padding: 28px;
}

.process-grid strong {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 14px;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 22px;
  font-weight: 900;
}

details p {
  margin-bottom: 24px;
  max-width: 760px;
}

.request {
  background: #eef2f1;
}

.request-copy a {
  color: var(--green);
  font-weight: 900;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fbfcfc;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(244, 176, 0, 0.28);
  border-color: var(--accent);
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #0b1015;
  color: var(--white);
}

.footer strong,
.footer span {
  display: block;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .request {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .trust-strip,
  .service-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-large {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-phone {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    padding: 104px 16px 42px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 18px;
  }

  .btn {
    width: 100%;
  }

  .messengers a {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .trust-strip,
  .service-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery-large {
    min-height: 260px;
  }

  .section {
    padding: 64px 16px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
