* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #151515;
  font-family: "Play", Arial, Helvetica, sans-serif;
  line-height: 1.35;
}

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

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

.container {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0 18px;
}

.section-box {
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.site-header {
  padding: 30px 0 35px;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr 104px 1fr;
  align-items: start;
  gap: 26px;
}

.brand {
  text-align: center;
}

.logo {
  font-size: 45px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tagline {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
}

.tagline strong {
  font-size: 28px;
}

.header-mark {
  width: 104px;
  height: auto;
  margin: 0 auto;
  transform: translateX(28px);
}

.header-contacts,
.footer-contacts {
  text-align: right;
}

.phone-link {
  display: block;
  margin-bottom: 8px;
  font-size: 25px;
  line-height: 1.1;
  white-space: nowrap;
}

.site-header .phone-link {
  font-size: 34px;
}

.callback-link {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: linear-gradient(#fbfbfb, #dfdfdf);
  color: #555;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-header .callback-link {
  padding: 7px 15px;
  font-size: 29px;
}

.hero .section-box {
  padding: 32px 0 30px;
}

h1 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 35px;
  line-height: 1.08;
  font-weight: 500;
  text-transform: uppercase;
}

h1 span {
  display: inline;
  padding: 0 8px;
  background: #fff200;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 38px;
}

.hero-image img {
  width: 330px;
  margin: 0 auto;
}

.offer {
  padding-top: 2px;
}

.price-line {
  margin: 0;
  font-size: 33px;
  line-height: 1.18;
  font-weight: 900;
  text-transform: uppercase;
}

mark {
  padding: 0 4px;
  background: #fff200;
  color: inherit;
}

.benefit-list {
  margin: 24px 0 16px;
  padding: 0;
  list-style: none;
  font-size: 25px;
  line-height: 1.45;
  text-transform: uppercase;
}

.benefit-list li::before {
  content: "- ";
}

.green-button {
  display: inline-block;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(#39d75a, #078927);
  color: #ffffff;
  font: 700 24px/1 "Play", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.offer .green-button {
  padding: 6px 10px 7px;
}

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

.gallery-link {
  display: block;
}

.gallery img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  width: auto;
  height: auto;
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 48px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font: 700 30px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.order-modal.is-open {
  display: flex;
}

.order-modal-card {
  position: relative;
  width: min(100%, 430px);
  padding: 38px 28px 34px;
  border: 1px solid #d6d6d6;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.order-modal-card h2 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}

.order-modal-card p {
  margin: 0 0 14px;
  color: #555;
  font-size: 26px;
}

.order-modal-phone {
  display: inline-block;
  color: #111;
  font-size: 38px;
  font-weight: 700;
  white-space: nowrap;
}

.order-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111;
  font: 700 30px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.advantages .section-box {
  padding: 38px 0 34px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 28px;
}

.advantage {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 18px;
}

.advantage img {
  width: 58px;
  height: 58px;
}

.advantage h3 {
  margin: 0 0 5px;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.advantage p {
  margin: 0;
  font-size: 17px;
}

.bottom-order .section-box {
  padding: 70px 0 68px;
}

.bottom-order h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

.bottom-order h2 a {
  display: inline-block;
  margin-left: 22px;
  white-space: nowrap;
}

.bottom-order img {
  width: 100%;
  height: auto;
}

.site-footer {
  padding: 36px 0 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-top: 25px;
  align-items: start;
}

.site-footer h2 {
  margin: 0 0 22px;
  font-size: 34px;
  font-weight: 400;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: #777;
  font-size: 19px;
  font-weight: 700;
}

.site-footer .phone-link {
  font-size: 34px;
}

.site-footer .callback-link {
  font-size: 23px;
}

.messengers {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  justify-content: flex-end;
}

.vk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 20px;
}

.vk-link img {
  width: 35px;
  height: 35px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 20px 0 24px;
  }

  .header-inner,
  .hero-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 12px;
    text-align: center;
  }

  .header-mark {
    order: -1;
    width: 79px;
    transform: none;
  }

  .header-contacts,
  .footer-contacts {
    text-align: center;
  }

  .logo {
    font-size: clamp(32px, 11vw, 43px);
  }

  .tagline {
    font-size: 18px;
  }

  .tagline strong {
    font-size: 23px;
  }

  .hero .section-box {
    padding: 24px 0;
  }

  h1 {
    margin-bottom: 24px;
    font-size: clamp(25px, 8vw, 34px);
  }

  .hero-grid {
    gap: 22px;
  }

  .price-line {
    font-size: clamp(25px, 8vw, 32px);
  }

  .benefit-list {
    font-size: 21px;
  }

  .offer {
    text-align: center;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .gallery img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox img {
    max-height: calc(100vh - 24px);
  }

  .order-modal-card {
    padding: 34px 18px 30px;
  }

  .order-modal-card h2 {
    font-size: 30px;
  }

  .order-modal-card p {
    font-size: 22px;
  }

  .order-modal-phone {
    font-size: 31px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .advantage {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .advantage img {
    width: 50px;
    height: 50px;
  }

  .advantage h3 {
    font-size: 21px;
  }

  .bottom-order .section-box {
    padding: 40px 0;
  }

  .bottom-order h2 {
    margin-bottom: 24px;
    font-size: clamp(27px, 8vw, 40px);
  }

  .bottom-order h2 a {
    display: block;
    margin: 8px 0 0;
  }

  .footer-inner {
    gap: 28px;
    padding-top: 34px;
    text-align: center;
  }

  .messengers {
    justify-content: center;
  }
}
