:root {
  --background: #ffffff;
  --text: #050505;
  --muted: #575757;
  --line: #e9edf1;
  --blue: #70c8f6;
  --red: #e21520;
  --red-dark: #b90f18;
  --shadow: 0 18px 48px rgba(5, 5, 5, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px 42px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 237, 241, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 172px;
  height: 46px;
}

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

.call-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.call-link:hover {
  transform: translateY(-1px);
}

.call-link:focus-visible {
  outline: 3px solid rgba(112, 200, 246, 0.45);
  outline-offset: 3px;
}

.price-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: 8px;
  padding: 0 22px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.price-button:hover {
  transform: translateY(-1px);
  border-color: var(--red);
  color: var(--red);
}

.price-button:focus-visible {
  outline: 3px solid rgba(112, 200, 246, 0.45);
  outline-offset: 3px;
}

.call-icon {
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.call-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.call-link--quiet {
  padding: 0 20px;
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.call-link--quiet:hover {
  border-color: rgba(226, 21, 32, 0.42);
  color: var(--red);
}

.hero {
  display: grid;
  min-height: 92vh;
  padding: 148px 42px 72px;
  place-items: center;
}

.hero__logo-wrap {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  isolation: isolate;
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 72px;
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.call-link--primary {
  min-width: 220px;
  padding: 0 28px;
}

.call-link--primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(226, 21, 32, 0.2);
}

.call-link--primary:hover {
  background: var(--red-dark);
}

.price-button--hero {
  min-width: 184px;
}

.intro {
  border-top: 1px solid var(--line);
}

.intro__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 40px;
  width: min(1220px, calc(100% - 84px));
  margin: 0 auto;
  padding: 74px 0;
}

.intro h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.04;
}

.intro p {
  margin: 0;
  max-width: 740px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.service-feed {
  border-top: 1px solid var(--line);
}

.service-slide {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  min-height: 92vh;
  align-items: center;
  gap: 56px;
  width: min(1220px, calc(100% - 84px));
  margin: 0 auto;
  padding: 86px 0;
  scroll-snap-align: start;
}

.service-slide + .service-slide {
  border-top: 1px solid var(--line);
}

.service-slide--reverse {
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
}

.service-slide--reverse .service-slide__copy {
  order: 2;
}

.service-slide--reverse img {
  order: 1;
}

.service-slide__copy {
  display: grid;
  gap: 28px;
  justify-items: start;
  min-width: 0;
}

.service-slide h2 {
  margin: 0;
  font-size: 62px;
  font-weight: 900;
  line-height: 0.98;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.service-slide h2.service-slide__title--long {
  font-size: 42px;
  line-height: 1.06;
}

.service-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.call-link--slide {
  min-width: 184px;
  padding: 0 24px;
  color: #fff;
  background: var(--text);
}

.call-link--slide:hover {
  background: var(--red);
}

.price-modal {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 90px rgba(5, 5, 5, 0.26);
}

.price-modal::backdrop {
  background: rgba(5, 5, 5, 0.58);
}

.price-modal__panel {
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.price-modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.price-modal h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.price-modal p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

.price-modal__close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.price-pages {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.price-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.price-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
}

.price-section summary::-webkit-details-marker {
  display: none;
}

.price-section summary::after {
  content: "+";
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.price-section[open] summary {
  border-bottom: 1px solid var(--line);
}

.price-section[open] summary::after {
  content: "−";
  color: var(--red);
}

.price-list {
  display: grid;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.7fr) minmax(150px, 0.75fr) minmax(170px, 0.85fr);
  gap: 22px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.price-row > * {
  min-width: 0;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}

.price-row b {
  justify-self: stretch;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.price-row small {
  justify-self: stretch;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.price-section--plain {
  padding: 24px;
}

.price-section--plain h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.price-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
}

.price-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: break-word;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 42px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-address {
  color: var(--text);
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.footer-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-phones a {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  transition: color 180ms ease;
}

.footer-phones a:hover {
  color: var(--red);
}

@media (max-width: 860px) {
  .site-header {
    padding: 18px 22px;
  }

  .brand {
    width: 142px;
    height: 38px;
  }

  .hero {
    min-height: 88vh;
    padding: 124px 22px 54px;
  }

  .hero__logo-wrap {
    width: min(590px, 100%);
    margin-bottom: 30px;
  }

  h1 {
    font-size: 50px;
  }

  p {
    font-size: 20px;
  }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 44px);
    padding: 54px 0;
  }

  .intro h2 {
    font-size: 38px;
  }

  .intro p {
    font-size: 17px;
  }

  .service-slide,
  .service-slide--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    width: calc(100% - 44px);
    min-height: auto;
    padding: 64px 0;
  }

  .service-slide--reverse .service-slide__copy,
  .service-slide--reverse img {
    order: initial;
  }

  .service-slide__copy {
    display: contents;
  }

  .service-slide h2 {
    order: 1;
    font-size: 48px;
  }

  .service-slide h2.service-slide__title--long {
    font-size: 38px;
  }

  .service-slide img {
    order: 2;
  }

  .call-link--slide {
    order: 3;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .brand {
    width: 118px;
  }

  .call-link--quiet {
    min-height: 42px;
    padding: 0 13px;
    font-size: 14px;
  }

  .price-button--header {
    min-height: 42px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero {
    min-height: 86vh;
    padding: 104px 16px 44px;
  }

  .hero__logo-wrap {
    margin-bottom: 24px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  p {
    margin-top: 16px;
    font-size: 18px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .call-link--primary {
    width: 100%;
    min-width: 0;
  }

  .price-button--hero {
    width: 100%;
  }

  .intro__inner {
    width: calc(100% - 32px);
    padding: 42px 0;
  }

  .intro h2 {
    font-size: 31px;
  }

  .intro p {
    font-size: 16px;
    line-height: 1.55;
  }

  .service-slide,
  .service-slide--reverse {
    width: calc(100% - 32px);
    gap: 22px;
    padding: 48px 0;
  }

  .service-slide h2 {
    font-size: 36px;
    line-height: 1.03;
  }

  .service-slide h2.service-slide__title--long {
    font-size: 32px;
  }

  .service-slide img {
    aspect-ratio: 4 / 3;
  }

  .call-link--slide {
    width: 100%;
  }

  .price-modal {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
  }

  .price-modal__panel {
    max-height: calc(100vh - 16px);
  }

  .price-modal__head {
    padding: 16px;
  }

  .price-modal h2 {
    font-size: 28px;
  }

  .price-modal p {
    font-size: 13px;
  }

  .price-pages {
    gap: 12px;
    padding: 16px;
  }

  .price-section summary {
    min-height: 58px;
    padding: 16px 14px;
    font-size: 17px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 13px 14px;
  }

  .price-row b,
  .price-row small {
    justify-self: start;
    text-align: left;
    white-space: normal;
  }

  .price-section--plain {
    padding: 16px 14px;
  }

  .price-badges {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    gap: 14px;
    padding: 26px 16px;
  }

  .footer-phones {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer-address,
  .footer-phones a {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .brand {
    width: 104px;
  }

  .price-button--header,
  .call-link--quiet {
    padding: 0 10px;
  }

  h1 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .call-link,
  .price-button {
    transition: none;
  }
}
