:root {
  --bg: #f7fbfe;
  --surface: #ffffff;
  --surface-soft: #eff7fb;
  --surface-muted: #e0f2fb;
  --line: #cbe5f2;
  --text: #1b2d50;
  --text-soft: #4a6070;
  --text-muted: #7b92a5;
  --accent: #3b9fd4;
  --accent-dark: #247ca9;
  --navy: #1b2d50;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(27, 45, 80, 0.08);
  --radius: 22px;
  --radius-small: 14px;
  --shell: min(1312px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 28%, #f7fbfe 100%);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

main {
  overflow: clip;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.kicker {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  line-height: 1.08;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 3.7vw, 3.55rem);
}

h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button--primary {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
}

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

.button--ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.button--small {
  min-height: 46px;
  padding: 0 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203, 229, 242, 0.7);
}

.header-accent {
  height: 4px;
  background: var(--accent);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 172px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy) 0 52%, #dceef9 52% 100%);
  box-shadow: inset 0 0 0 1px rgba(27, 45, 80, 0.14);
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 17px;
  height: 17px;
  background: linear-gradient(135deg, transparent 0 43%, var(--accent) 43% 100%);
}

.brand-mark::after {
  display: none;
}

.brand-text {
  display: grid;
  gap: 2px;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 700;
  line-height: 0.95;
}

.brand-text__main {
  color: var(--navy);
}

.brand-text__accent {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .service-dropdown,
.nav-dropdown:focus-within .service-dropdown,
.nav-dropdown.is-open .service-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 360px;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.service-dropdown__list {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  max-height: 65vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.service-dropdown__item {
  display: grid;
  gap: 6px;
  padding: 16px 20px 18px;
  border-bottom: 1px solid rgba(203, 229, 242, 0.7);
}

.service-dropdown__item:last-child {
  border-bottom: 0;
}

.service-dropdown__item:hover {
  background: var(--surface-soft);
}

.service-dropdown__name {
  font-weight: 700;
  color: var(--text);
}

.service-dropdown__meta {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}

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

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

.header-phone.is-copied {
  color: var(--accent);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--text);
}

.hero {
  padding: 64px 0 20px;
}

.hero--home {
  padding-top: 62px;
  padding-bottom: 8px;
}

.hero--home h1 {
  max-width: 560px;
  font-size: clamp(1.85rem, 2.85vw, 2.95rem);
  margin-bottom: 16px;
}

.hero--home .kicker {
  margin-bottom: 14px;
}

.hero--home .hero__lead {
  margin-top: 0;
  line-height: 1.66;
}

.hero--home .hero-bullets {
  gap: 14px;
  margin-top: 28px;
}

.hero--home .hero__actions {
  margin-top: 28px;
}

.hero--home .hero-note {
  margin-top: 16px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 56px;
  align-items: start;
}

.hero__grid--home {
  align-items: center;
}

.hero__lead {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.58;
}

.hero__lead--spaced {
  margin-top: 18px;
}

.hero--contacts .hero__grid {
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 48px;
}

.hero--contacts .hero__content {
  padding-top: 8px;
}

.contacts-hero__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contacts-hero__link {
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contacts-hero__link:hover,
.contacts-hero__link:focus-visible {
  border-color: rgba(64, 149, 214, 0.34);
  box-shadow: 0 14px 24px rgba(64, 92, 128, 0.08);
  transform: translateY(-1px);
}

.contacts-hero__link span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contacts-hero__link strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-bullets,
.bullet-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-bullets li,
.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.45;
}

.hero-bullets li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.hero__actions {
  margin-top: 24px;
}

.hero-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.hero-collage {
  position: relative;
  min-height: 500px;
  margin-top: 8px;
}

.hero-collage__backdrop {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 336px;
  height: 392px;
  background: linear-gradient(180deg, rgba(132, 190, 240, 0.38) 0%, rgba(132, 190, 240, 0.17) 64%, rgba(132, 190, 240, 0) 100%);
  z-index: 0;
}

.hero-collage__main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 332px;
  object-fit: cover;
}

.hero-collage__bottom {
  position: absolute;
  top: 350px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 154px 1fr 1fr;
  gap: 18px;
  align-items: end;
  z-index: 1;
}

.hero-collage__stats {
  position: relative;
  left: auto;
  top: auto;
  width: 154px;
  min-height: 118px;
  padding: 18px;
  background: var(--navy);
  color: var(--white);
  z-index: 1;
}

.hero-collage__small {
  position: relative;
  width: 100%;
  height: 100px;
  object-fit: cover;
  z-index: 1;
}

.hero-collage__small--left,
.hero-collage__small--right {
  left: auto;
  right: auto;
}

.hero-collage__stats strong {
  display: block;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 40px;
  line-height: 0.9;
}

.hero-collage__stats span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.3;
}

.hero-collage__stats small {
  display: block;
  margin-top: 10px;
  color: #d7ecfa;
  font-size: 10px;
}

.hero-visual img,
.split-panel__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-visual--stack img {
  min-height: 360px;
  object-fit: cover;
}

.hero-visual--about {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.about-stats {
  display: grid;
  gap: 16px;
}

.about-stat {
  padding: 22px 24px;
  border: 1px solid rgba(99, 164, 219, 0.18);
  background: linear-gradient(180deg, rgba(230, 243, 253, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow);
}

.about-stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 28px;
  line-height: 1.05;
  color: var(--navy);
}

.about-stat span,
.about-visual-note {
  font-size: 14px;
  color: var(--text-muted);
}

.about-stat--large strong {
  font-size: 34px;
}

.about-visual-note {
  margin: 0;
  padding-left: 4px;
}

.hero--detail .hero-visual--stack img {
  max-height: 520px;
  object-position: center 40%;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: rgba(224, 242, 251, 0.36);
}

.section--lead-space {
  padding-bottom: 96px;
}

.section--spaced-top {
  padding-top: 104px;
  border-top: 1px solid rgba(203, 229, 242, 0.75);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark p,
.section--dark .feature-card,
.section--dark .info-card h3,
.section--dark .info-card p {
  color: inherit;
}

.section--dark .task-grid .info-card {
  background: #e4f0fb;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.section--dark .task-grid .info-card__body h3,
.section--dark .task-grid .info-card__body p {
  color: var(--navy);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-text {
  max-width: 820px;
  margin-top: 18px;
}

.section-link,
.inline-link {
  font-weight: 700;
  color: var(--accent);
}

.bullet-list + .section-link {
  display: inline-block;
  margin-top: 18px;
}

.card-grid,
.task-grid,
.feature-grid,
.article-grid {
  display: grid;
  gap: 20px;
}

.card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

.works-shot {
  display: grid;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.works-shot img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.works-shot span {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.works-shot:hover img,
.works-shot:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(64, 92, 128, 0.16);
}

.works-shot:focus-visible {
  outline: none;
}

.task-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.copy-card,
.panel-card,
.article-card,
.feature-card,
.faq-item,
.price-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.info-card--link,
.article-card--link {
  color: inherit;
  text-decoration: none;
}

.info-card--link {
  cursor: pointer;
}

.info-card--link,
.article-card--link {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.info-card--link:hover,
.info-card--link:focus-visible,
.article-card--link:hover,
.article-card--link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(64, 92, 128, 0.16);
}

.info-card--link:focus-visible,
.article-card--link:focus-visible {
  outline: 2px solid rgba(64, 149, 214, 0.5);
  outline-offset: 2px;
}

.card-image {
  aspect-ratio: 1.56;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 20px;
}

.info-card__body p {
  flex: 1;
  font-size: 14px;
}

.task-grid .info-card__body,
.mini-grid .info-card__body {
  justify-content: center;
}

.task-grid .info-card__body h3,
.mini-grid .info-card__body h3,
.feature-card {
  font-size: 20px;
}

.feature-card {
  padding: 24px;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.split-panel--contacts {
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: stretch;
}

.contacts-stack {
  display: grid;
  gap: 24px;
}

.contacts-form .cta-panel {
  width: 100%;
  margin: 0;
}

.contacts-form .cta-panel--dark {
  margin-bottom: 0;
}

.split-panel--tight {
  grid-template-columns: minmax(0, 1fr) 480px;
}

.split-panel--tight .price-card {
  align-self: end;
}

.split-panel--process {
  grid-template-columns: 520px minmax(0, 1fr);
  gap: 36px;
}

.split-panel__visual img {
  min-height: 380px;
  object-fit: cover;
}

.split-panel--process .split-panel__visual img {
  min-height: 0;
  height: 100%;
  max-height: 520px;
}

.panel-card,
.copy-card,
.price-card,
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
}

.article-card--link {
  height: 100%;
}

.panel-card h3,
.copy-card h2,
.price-card h3,
.article-card h2,
.article-card h3 {
  margin-bottom: 18px;
}

.panel-card--contact {
  min-height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.split-panel--process .steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
}

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

.faq-item {
  padding: 0;
}

.faq-item summary {
  position: relative;
  padding: 22px 56px 22px 24px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 24px;
}

.grouped-faq {
  display: grid;
  gap: 32px;
}

.faq-group h2 {
  margin-bottom: 18px;
}

.faq-page {
  display: grid;
  gap: 0;
}

.faq-page__intro-shell {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.faq-page__intro-shell h1 {
  max-width: 840px;
}

.faq-page__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.faq-chip {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.faq-chip:hover,
.faq-chip:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(64, 92, 128, 0.14);
}

.faq-page__groups {
  display: grid;
  gap: 22px;
}

.faq-topic {
  padding: 26px 28px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.faq-topic__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.faq-topic__head h2 {
  margin-bottom: 0;
}

.faq-topic__count {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.faq-topic .faq-list {
  gap: 0;
}

.faq-topic .faq-item {
  border: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
}

.faq-topic .faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-topic .faq-item summary {
  padding-left: 0;
  padding-right: 48px;
}

.faq-topic .faq-item summary::after {
  right: 0;
}

.faq-topic .faq-item p {
  padding-left: 0;
  padding-right: 10px;
}

.faq-page__cta {
  padding-top: 62px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  padding: 46px 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-panel--dark {
  margin-bottom: 78px;
  background: var(--navy);
}

.cta-panel--dark h2,
.cta-panel--dark p {
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.field::placeholder {
  color: var(--text-muted);
}

.field--area {
  min-height: 96px;
  padding-top: 14px;
  resize: vertical;
}

.upload-field {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(59, 159, 212, 0.08);
  border: 1px dashed rgba(59, 159, 212, 0.4);
  color: var(--text);
  cursor: pointer;
}

.upload-field input {
  display: none;
}

.upload-field small {
  color: var(--text-soft);
}

.consent-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-soft);
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.consent-check a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.price-card p,
.panel-card p,
.article-card p,
.copy-card p {
  font-size: 15px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 80;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.price-card .button {
  margin-top: 22px;
}

.site-footer {
  padding-top: 52px;
  background: var(--surface);
  border-top: 1px solid rgba(203, 229, 242, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(170px, 0.55fr) minmax(170px, 0.55fr);
  align-items: start;
  gap: 28px 36px;
}

.footer-brand {
  display: grid;
  gap: 20px;
  max-width: 360px;
}

.brand--footer {
  width: fit-content;
}

.footer-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, max-content));
  gap: 12px 28px;
}

.footer-services a {
  width: auto;
  font-size: 15px;
  color: var(--text-soft);
}

.footer-services a:hover {
  color: var(--accent);
}

.footer-heading {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links,
.footer-contacts,
.footer-legal-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.article-page {
  padding: 64px 0 90px;
}

.article-page__intro,
.article-page__body,
.related,
.legal-copy {
  max-width: 900px;
}

.article-page__body,
.legal-copy {
  display: grid;
  gap: 28px;
  margin-top: 42px;
}

.article-section,
.legal-copy__section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-section h2,
.legal-copy__section h2 {
  margin-bottom: 14px;
}

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

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

.contact-list--compact {
  gap: 16px;
}

.contact-list strong {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.contact-list span {
  font-size: 15px;
  color: var(--text-soft);
}

.contact-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.copy-card--wide {
  grid-column: 1 / -1;
}

.state-page {
  min-height: calc(100vh - 420px);
  display: grid;
  place-items: center;
  padding: 72px 0;
}

.state-page__inner {
  max-width: 720px;
  padding: 56px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.state-page__inner p {
  margin-top: 20px;
  font-size: 18px;
}

.state-page__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 45, 80, 0.42);
}

.modal__dialog {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  margin: 10vh auto 0;
  padding: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal__dialog h2 {
  margin-bottom: 14px;
}

.modal__dialog p {
  margin-bottom: 24px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav--desktop,
  .header-actions .button--small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-nav.is-open {
    display: block;
  }

  .mobile-nav__inner {
    display: grid;
    gap: 16px;
    padding: 18px 0 24px;
  }

  .hero__grid,
  .split-panel,
  .split-panel--tight,
  .split-panel--process,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-grid,
  .feature-grid,
  .article-grid,
  .steps-grid,
  .two-column-copy,
  .faq-page__chips {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .header-row {
    min-height: 76px;
    gap: 14px;
  }

  .brand {
    min-width: auto;
    gap: 12px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-text {
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-phone {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .hero--home {
    padding-top: 48px;
  }

  .hero--contacts .hero__grid,
  .split-panel--contacts {
    grid-template-columns: 1fr;
  }

  .contacts-hero__links {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .footer-bottom,
  .state-page__actions {
    flex-direction: column;
    align-items: start;
  }

  .card-grid,
  .home-cases-grid,
  .works-gallery,
  .task-grid,
  .feature-grid,
  .article-grid,
  .steps-grid,
  .requisites-grid,
  .mini-grid,
  .two-column-copy,
  .faq-page__chips {
    grid-template-columns: 1fr;
  }

  .faq-topic {
    padding: 22px 18px 8px;
  }

  .faq-topic__head {
    flex-direction: column;
    align-items: start;
  }

  .hero-collage {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-collage__backdrop {
    display: none;
  }

  .hero-collage__main {
    grid-column: 1 / -1;
    height: 280px;
  }

  .hero-collage__bottom {
    position: static;
    display: contents;
  }

  .hero-collage__stats,
  .hero-collage__small {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero-collage__small {
    aspect-ratio: 1.2;
  }

  .cta-panel,
  .modal__dialog,
  .state-page__inner {
    padding: 28px 22px;
  }

  .footer-grid {
    gap: 24px;
  }

  .works-shot span {
    font-size: 18px;
  }

  .panel-card,
  .copy-card,
  .price-card,
  .article-card {
    padding: 22px 18px;
  }

  .panel-card h3,
  .copy-card h2,
  .price-card h3,
  .article-card h2,
  .article-card h3 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.08;
  }

  .copy-card p,
  .panel-card p,
  .article-card p,
  .price-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-banner__body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .button {
    flex: 1 1 100%;
  }
}
