:root {
  --bg: #0b0c0e;
  --bg-soft: #111317;
  --panel: rgba(24, 27, 31, 0.86);
  --panel-strong: rgba(18, 20, 24, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f1eee7;
  --muted: #b8b1a5;
  --accent: #d8a564;
  --accent-soft: rgba(216, 165, 100, 0.18);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 30%),
    radial-gradient(circle at top right, rgba(216, 165, 100, 0.12), transparent 24%),
    linear-gradient(180deg, #0a0b0d 0%, #101216 45%, #090a0c 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.22;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(8, 10, 12, 0.34), rgba(8, 10, 12, 0.52)),
    url("./assets/img/low-view-modern-skyscrapers-office-buildings.jpg") center center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar,
.section,
.footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 18px 24px;
  background: rgba(11, 12, 14, 0.78);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand,
h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand {
  font-size: 1.4rem;
}

.topnav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.topnav a:hover,
.topbar-phone:hover,
.footer-link-list a:hover {
  color: var(--text);
}

.topbar-phone {
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  width: min(calc(100% - 40px), var(--container));
  margin: 36px auto 0;
  display: block;
  position: relative;
}

.hero-copy,
.contact-form,
.service-card,
.process-panel,
.info-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  width: 100%;
  margin: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 4.2rem);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-lead,
.section-heading p,
.service-card p,
.timeline p,
.info-card p,
.contact-form p,
.form-note,
.footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #f1bf78 0%, #b9803b 100%);
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
}

.section {
  padding: 110px 0 0;
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.service-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.info-card,
.contact-form {
  padding: 30px;
}

.service-image {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.service-image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3,
.info-card h3,
.contact-form h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.service-card ul,
.timeline {
  margin: 18px 0 0;
  padding: 0;
}

.service-card li,
.timeline li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  margin-top: 12px;
  color: var(--muted);
}

.service-card li::before,
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.process-columns,
.contacts-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contacts-layout-single {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}

.process-panel,
.contact-form {
  padding: 34px;
}

.panel-title {
  margin-bottom: 20px;
}

.panel-title span {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.panel-title h3 {
  margin: 10px 0 0;
  font-size: 1.8rem;
}

.timeline li strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.section-process::before,
.section-company::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: -12px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: linear-gradient(rgba(10, 12, 15, 0.72), rgba(10, 12, 15, 0.72));
  z-index: -1;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.icon-card {
  min-height: 100%;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
}

.icon-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}

.icon-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.form-span-full {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
}

.contact-form span {
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(6, 8, 10, 0.9);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(216, 165, 100, 0.35);
  border-color: rgba(216, 165, 100, 0.5);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 0 54px;
  font-size: 0.95rem;
  align-items: flex-start;
}

.footer-meta,
.footer-contacts {
  display: grid;
  gap: 8px;
}

.section-contacts .section-heading {
  max-width: none;
}

.section-contacts .contact-form {
  width: 100%;
}

.footer-meta p,
.footer-contacts p,
.footer-link-list {
  margin: 0;
}

.footer-contacts-title {
  color: var(--text);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: left;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  font-size: 1.08rem;
}

.footer-contacts {
  min-width: 320px;
  justify-items: start;
}

@media (max-width: 1040px) {
  .topbar {
    border-radius: 28px;
    padding: 18px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .process-columns,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .service-grid,
  .benefits-grid,
  .icon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar,
  .section,
  .footer,
  .hero {
    width: min(calc(100% - 24px), var(--container));
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero-copy,
  .service-card,
  .process-panel,
  .info-card,
  .contact-form {
    padding: 24px;
  }

  .hero-metrics,
  .service-grid,
  .benefits-grid,
  .icon-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 78px;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 36px;
  }
}
