:root {
  --blue: #008fd3;
  --blue-dark: #006fa8;
  --green: #07975a;
  --green-dark: #057847;
  --ink: #17242a;
  --muted: #5f7179;
  --line: #c7dce7;
  --bg: #f7fbfd;
  --footer: #22292c;
  --white: #fff;
  --shadow: 0 18px 45px rgba(23, 36, 42, 0.12);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.header__contact-stack,
.footer__contact-stack {
  display: grid;
  gap: 2px;
}

.header__contact-stack a:last-child {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.82;
}

.footer__contact-stack {
  justify-items: end;
  gap: 6px;
}

.footer__contact-stack a:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.exact-home {
  margin: 0;
  background: #f2f2f2;
}

.design-stage {
  position: relative;
  width: min(100%, 768px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.design-stage__image {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot {
  position: absolute;
  display: block;
  z-index: 3;
  border-radius: 999px;
}

.hotspot:focus-visible {
  outline: 3px solid #008fd3;
  outline-offset: 4px;
}

.hotspot--phone {
  left: 67%;
  top: 0.25%;
  width: 16%;
  height: 0.8%;
}

.hotspot--services {
  left: 36%;
  top: 0.25%;
  width: 7%;
  height: 0.8%;
}

.hotspot--works {
  left: 47%;
  top: 0.25%;
  width: 10%;
  height: 0.8%;
}

.hotspot--contacts {
  left: 58%;
  top: 0.25%;
  width: 8%;
  height: 0.8%;
}

.hotspot--privacy {
  left: 66%;
  top: 97.5%;
  width: 25%;
  height: 0.7%;
}

.seo-content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

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

.header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
  background: rgba(24, 30, 32, 0.7);
  backdrop-filter: blur(10px);
}

.header__inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo__mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.nav a:hover {
  color: var(--white);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.city {
  padding: 8px 18px;
  background: var(--blue);
  border-radius: 2px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 28px;
}

.hero {
  min-height: 560px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.66)),
    url("../images/hero-clean.png") center / cover;
}

.hero__inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  align-items: center;
  padding-top: 72px;
}

.hero h1 {
  max-width: 430px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5.8vw, 48px);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 430px;
  margin: 0 0 24px;
  font-size: 15px;
}

.hero__accent {
  margin: 0 0 28px;
  color: #56c8ff;
  font-weight: 900;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.lead-form {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(24, 28, 30, 0.72);
  box-shadow: var(--shadow);
}

.lead-form h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

.lead-form p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.field {
  width: 100%;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea.field {
  min-height: 86px;
  padding-top: 14px;
  border-radius: 18px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  background: var(--green-dark);
}

.button--outline {
  color: var(--ink);
  background: var(--white);
  border-color: var(--blue);
}

.button--outline:hover {
  color: var(--white);
  background: var(--blue);
}

.section {
  padding: 58px 0;
}

.section--soft {
  background: var(--bg);
}

.section__head {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 38px;
}

.section h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 38px);
  line-height: 0.95;
}

.section__intro {
  margin: 0;
  max-width: 760px;
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 30px 0 34px;
}

.stat {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #fff8f5;
  text-align: center;
}

.stat b {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-weight: 800;
  line-height: 1.1;
}

.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 24px 0 34px;
}

.partner {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: #7b8a91;
  border: 1px solid #edf3f6;
  background: var(--white);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature,
.contact-card,
.review,
.service-card {
  border: 2px solid #88c7e8;
  border-radius: 18px;
  background: var(--white);
}

.feature {
  position: relative;
  min-height: 126px;
  padding: 20px 20px 20px 48px;
}

.feature::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 24px;
  width: 10px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), #00b9f2);
}

.feature h3,
.service-card h3,
.service-card h2,
.review h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.1;
}

.feature p,
.service-card p,
.review p {
  margin: 0;
  color: var(--muted);
}

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

.services {
  display: grid;
  gap: 42px;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: center;
}

.service:nth-child(even) {
  grid-template-columns: 330px minmax(0, 1fr);
}

.service:nth-child(even) .service__content {
  order: 2;
}

.service__image {
  overflow: hidden;
  border-radius: 4px;
}

.service__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card {
  padding: 20px;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 8px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  text-align: center;
}

.work-card img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
}

.work-card h3 {
  margin: 14px 0 0;
  font-size: 16px;
}

.work-card h2 {
  margin: 14px 0 0;
  font-size: 16px;
}

.reviews {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 1.2fr;
  gap: 16px;
}

.review {
  min-height: 310px;
  padding: 22px;
}

.review--title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review__date {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.review__arrows {
  display: flex;
  gap: 12px;
}

.round {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 22px 24px;
}

.contact-card b {
  display: block;
  color: var(--blue-dark);
  font-size: 20px;
}

.contact-card span {
  color: var(--muted);
}

.contact-form {
  color: var(--ink);
  border-color: #88c7e8;
  background: var(--white);
}

.contact-form h2,
.contact-form p {
  color: inherit;
  text-align: left;
}

.contact-form .field {
  border-color: #82bddd;
}

.contact-form .check {
  color: var(--muted);
}

.footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--footer);
}

.footer__top,
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__nav {
  display: flex;
  gap: 26px;
}

.footer hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-hero {
  padding: 150px 0 78px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.28)),
    url("../images/hero-clean.png") center / cover;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 20px;
}

.text-page {
  max-width: 900px;
}

.text-page h2 {
  margin-top: 34px;
  color: var(--blue);
}

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

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

  .menu-button {
    display: block;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), 768px);
  }

  .header__contacts {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero__inner {
    min-height: 610px;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: center;
  }

  .hero__inner {
    padding-top: 76px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: 13px;
  }

  .lead-form {
    padding: 18px;
  }

  .lead-form h2 {
    font-size: 22px;
  }

  .lead-form {
    max-width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .section__head {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
  }

  .stats {
    gap: 10px;
  }

  .stat {
    min-height: 92px;
    padding: 12px 8px;
  }

  .stat b {
    font-size: 24px;
  }

  .partner {
    font-size: 11px;
  }

  .service {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .service:nth-child(even) {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .reviews {
    grid-template-columns: 0.8fr 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 110px;
    padding-bottom: 42px;
  }

  .section__head,
  .service,
  .service:nth-child(even),
  .contact-layout,
  .stats,
  .partners,
  .features,
  .works-grid,
  .reviews,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .service:nth-child(even) .service__content {
    order: 0;
  }

  .footer__top,
  .footer__bottom,
  .footer__nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
