* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #f5f5f2;
  color: #171717;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 245, 242, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #deded8;
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.logo span {
  color: #ff5a1f;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: #555;
}

nav a:hover {
  color: #000;
}

.phone {
  padding: 12px 18px;
  border: 1px solid #171717;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.hero {
  padding: 86px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.tag {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid #dadad3;
  border-radius: 999px;
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
  background: #fff;
}

h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

.hero p {
  max-width: 620px;
  font-size: 19px;
  color: #555;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid #171717;
  cursor: pointer;
  font: inherit;
}

.btn.primary {
  background: #171717;
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: #171717;
}

.hero-card {
  background: #171717;
  color: #fff;
  border-radius: 34px;
  padding: 28px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.placeholder {
  border: 1px dashed rgba(255,255,255,.35);
  border-radius: 26px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  background:
	linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.hero-card h3 {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-card small {
  color: rgba(255,255,255,.6);
}

.section {
  padding: 76px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-head p {
  max-width: 430px;
  color: #666;
  font-size: 17px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service {
  background: #fff;
  border: 1px solid #e2e2dc;
  border-radius: 28px;
  padding: 24px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .2s;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.service-img {
  height: 150px;
  border-radius: 22px;
  background: #eeeeea;
  border: 1px dashed #c8c8c0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 700;
  margin-bottom: 24px;
}

.service h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.service p {
  color: #666;
  margin-bottom: 20px;
}

.service ul {
  list-style: none;
  color: #333;
  font-size: 15px;
}

.service li {
  padding: 6px 0;
  border-top: 1px solid #eee;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  background: #171717;
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  min-height: 160px;
}

.feature strong {
  font-size: 34px;
  display: block;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.feature span {
  color: rgba(255,255,255,.65);
  font-size: 15px;
}

.works {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.work-big,
.work-small {
  background: #fff;
  border: 1px solid #e2e2dc;
  border-radius: 30px;
  padding: 18px;
}

.work-placeholder {
  height: 360px;
  border-radius: 22px;
  background: #eeeeea;
  border: 1px dashed #c8c8c0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 700;
}

.work-small {
  display: grid;
  gap: 18px;
}

.work-small .work-placeholder {
  height: 171px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid #e2e2dc;
  border-radius: 24px;
  padding: 24px;
  min-height: 190px;
  position: relative;
}

.step:before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-weight: 900;
  font-size: 14px;
  color: #ff5a1f;
  margin-bottom: 32px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.step p {
  color: #666;
  font-size: 15px;
}

.cta {
  background: #ff5a1f;
  color: #fff;
  border-radius: 38px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}

.cta p {
  color: rgba(255,255,255,.82);
  font-size: 18px;
}

.cta .btn {
  background: #fff;
  color: #171717;
  border: none;
  white-space: nowrap;
}

footer {
  padding: 42px 0;
  color: #666;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #deded8;
  padding-top: 24px;
  font-size: 15px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #171717;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #171717;
  border-radius: 999px;
  transition: .2s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 9;
  background: rgba(245, 245, 242, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #deded8;
  padding: 18px 16px 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid #e2e2dc;
  border-radius: 16px;
  font-weight: 800;
}

.mobile-menu a:after {
  content: "›";
  color: #ff5a1f;
  font-size: 24px;
  line-height: 1;
}

.mobile-phone {
  margin-top: 6px;
  background: #171717 !important;
  color: #fff;
  border-color: #171717 !important;
}

.mobile-phone:after {
  content: "" !important;
}


.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid #e2e2dc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal h2 {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
  padding-right: 42px;
}

.modal p {
  color: #666;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9d9d2;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
  background: #f8f8f5;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #171717;
  background: #fff;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.form-status.success {
  display: block;
  background: #e8f7ed;
  color: #176b35;
}

.form-status.error {
  display: block;
  background: #fdecec;
  color: #9b1c1c;
}

@media (max-width: 900px) {
  nav {
	display: none;
  }

  .burger {
	display: inline-flex;
  }

  .header-inner {
	gap: 12px;
  }

  .hero-grid,
  .works,
  .cta {
	grid-template-columns: 1fr;
  }

  .services,
  .features,
  .steps {
	grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .phone {
	display: none;
  }

  .hero {
	padding-top: 52px;
  }

  .services,
  .features,
  .steps {
	grid-template-columns: 1fr;
  }

  .section-head {
	display: block;
  }

  .section-head p {
	margin-top: 14px;
  }

  .cta {
	padding: 30px;
  }
}