:root {
  --bg: #09111d;
  --bg-soft: #122133;
  --surface: rgba(18, 31, 48, 0.82);
  --surface-strong: rgba(225, 241, 255, 0.1);
  --text: #f3f7fc;
  --muted: #adc0d5;
  --line: rgba(201, 228, 255, 0.16);
  --primary: #69ff8c;
  --accent: #7fd8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --heading-font: "Manrope", sans-serif;
  --body-font: "IBM Plex Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(105, 255, 140, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(127, 216, 255, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #071019 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-top-color: transparent;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(12, 21, 33, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand-signature {
  position: relative;
  gap: 0;
  margin-left: 28px;
  display: block;
  width: clamp(220px, 28vw, 360px);
  min-height: 96px;
  overflow: hidden;
  background-image: url("./assets/header-logo.svg");
  background-position: left 52%;
  background-repeat: no-repeat;
  background-size: 130% auto;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.text-link:hover {
  color: var(--primary);
}

.header-phone {
  display: none;
  align-items: center;
  justify-content: center;
  width: 33px;
  min-width: 33px;
  height: 33px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(225, 241, 255, 0.05);
  color: var(--text);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  border-color: rgba(125, 242, 163, 0.38);
  background: rgba(125, 242, 163, 0.12);
  color: var(--primary);
  transform: translateY(-1px);
}

.header-phone i {
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(225, 241, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(125, 242, 163, 0.22);
  background: rgba(225, 241, 255, 0.08);
  color: var(--primary);
}

.site-header.is-open .nav-toggle {
  border-color: rgba(125, 242, 163, 0.3);
  background: rgba(125, 242, 163, 0.12);
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.section {
  margin-bottom: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero,
.page-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(460px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.hero.section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(460px, 0.88fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  padding-top: 16px;
  padding-bottom: 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 16, 26, 0.88) 0%, rgba(8, 16, 26, 0.74) 34%, rgba(8, 16, 26, 0.6) 52%, rgba(8, 16, 26, 0.8) 100%),
    radial-gradient(circle at 18% 28%, rgba(125, 242, 163, 0.08), transparent 28%),
    url("./assets/hero-main-bg.png") center / cover no-repeat;
}

.hero.section > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 0;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-kicker,
.case-tag,
.page-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-accent {
  color: #7df2a3;
}

.hero-text,
.section-heading p,
.service-card p,
.highlight-card p,
.timeline-grid p,
.category-map p,
.case-card p,
.content-block p,
.content-list,
.faq-list p,
.form-note {
  color: var(--muted);
}

.hero-text {
  max-width: 52ch;
  margin: 20px 0 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-text-compact {
  color: #b8c8d8;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.hero-actions-row {
  position: static;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  justify-content: center;
  justify-self: stretch;
  align-self: stretch;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-actions-row .button {
  min-height: 52px;
  padding: 0 30px;
  font-size: 1.14rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #08110d;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  color: #d9e4ee;
  background: rgba(225, 241, 255, 0.07);
}

.content-list,
.faq-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.content-list li,
.faq-list li + li {
  margin-top: 10px;
}

.content-list li {
  position: relative;
  padding-left: 22px;
}

.content-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.hero-panel,
.card-grid,
.timeline-grid,
.category-map,
.page-grid,
.content-grid,
.link-grid,
.lead-layout,
.cases-list {
  display: grid;
  gap: 16px;
}

.hero-panel {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  align-content: stretch;
  gap: 14px;
  min-height: 100%;
  padding-top: 0;
}

.card-grid-3,
.category-map,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lead-layout,
.page-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlight-card,
.service-card,
.case-card,
.timeline-grid article,
.category-map article,
.content-block,
.lead-form,
.contact-card,
.faq-list li,
.case-detail,
.promo-strip,
.link-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(225, 241, 255, 0.06);
}

.case-card-with-media {
  display: grid;
  gap: 14px;
}

.case-card-with-media .case-card-media {
  margin: -22px -22px 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.case-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-card-accent,
.service-card-strong,
.promo-strip {
  color: #08110d;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(105, 255, 140, 0.92), rgba(127, 216, 255, 0.88));
}

.highlight-card-accent p,
.service-card-strong p,
.promo-strip p {
  color: rgba(8, 17, 13, 0.72);
}

.hero-focus-card {
  min-height: 170px;
  padding: 18px 20px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(156, 241, 255, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(82, 181, 136, 0.9), rgba(105, 180, 206, 0.94));
}

.hero-focus-card .card-kicker {
  margin-bottom: 10px;
  color: rgba(240, 250, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
}

.hero-focus-card h2 {
  max-width: none;
  margin-bottom: 10px;
  color: #f3fbff;
  font-size: clamp(1.28rem, 1.75vw, 1.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero-focus-card p {
  max-width: none;
  color: rgba(232, 246, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.42;
}

.hero-benefits-card {
  padding: 12px 20px;
  border-radius: 24px;
  background: rgba(9, 18, 29, 0.72);
  backdrop-filter: blur(10px);
}

.hero-benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-benefits-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  color: #eff6fb;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-benefits-alert {
  color: #ff8a8a;
  font-weight: 800;
}

.hero-benefits-alert::before {
  color: #ff8a8a;
}

.hero-benefits-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-benefits-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #2b210d;
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f2d887, #ffd56a);
}

.stats-card {
  display: grid;
  gap: 12px;
}

.stat-row + .stat-row {
  padding-top: 12px;
  border-top: 1px solid rgba(225, 241, 255, 0.12);
}

.stat-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.8rem;
  line-height: 1;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.section-heading p {
  margin: 10px 0 0;
  line-height: 1.6;
}

.terms-lead {
  max-width: none;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.35;
  color: #d7e5f2;
}

.strengths-block {
  display: grid;
  gap: 18px;
}

.strengths-summary,
.strength-item {
  padding: 22px;
  border: 1px solid rgba(233, 197, 92, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(225, 241, 255, 0.05);
}

.strengths-summary {
  background:
    radial-gradient(circle at top right, rgba(242, 204, 94, 0.16), transparent 26%),
    rgba(225, 241, 255, 0.05);
}

.strengths-summary-muted {
  border-color: rgba(201, 228, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(127, 216, 255, 0.08), transparent 26%),
    rgba(225, 241, 255, 0.04);
}

.strengths-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(242, 204, 94, 0.24);
  border-radius: 999px;
  color: #f2d77a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(242, 204, 94, 0.08);
}

.strengths-badge-muted {
  border-color: rgba(201, 228, 255, 0.14);
  color: #d7e5f2;
  background: rgba(225, 241, 255, 0.05);
}

.strengths-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strengths-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: #eef4fa;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 600;
  line-height: 1.45;
}

.strengths-list li::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  color: #1f1802;
  line-height: 1;
  font-size: 0.96rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f0c44a, #f5dd8a);
}

.strengths-list-muted li {
  color: #dce7f1;
  font-size: 1rem;
  font-weight: 500;
}

.strengths-list-muted li::before {
  content: "−";
  color: #dfe9f3;
  background: rgba(225, 241, 255, 0.12);
}

.service-card h3,
.highlight-card h2,
.case-card h3,
.timeline-grid h3,
.category-map h3,
.content-block h3,
.contact-card h3,
.promo-strip h2,
.case-detail h3 {
  margin: 0 0 8px;
}

@media (min-width: 961px) {
  .card-grid-3 .service-card {
    display: grid;
    grid-template-rows: auto minmax(2.4em, auto) auto;
    row-gap: 18px;
    align-content: start;
    height: 100%;
  }

  .card-grid-3 .service-card .card-kicker {
    margin-bottom: 0;
  }

  .card-grid-3 .service-card h3 {
    margin: 0;
    align-self: start;
  }

  .card-grid-3 .service-card .content-list {
    margin: 0;
    align-self: start;
  }
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent);
}

.direction-link {
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 228, 255, 0.1);
}

.direction-link span {
  line-height: 1.1;
}

.direction-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(127, 216, 255, 0.24);
  border-radius: 999px;
  font-size: 1rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.direction-link:hover i,
.direction-link:focus-visible i {
  transform: translateX(2px);
  border-color: rgba(127, 216, 255, 0.42);
  background: rgba(127, 216, 255, 0.08);
}

.direction-card-featured {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.92) 0%, rgba(8, 20, 31, 0.72) 38%, rgba(8, 20, 31, 0.2) 78%, rgba(8, 20, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.46)),
    url("./assets/construction-direction-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 78% center;
}

.direction-card-featured .card-kicker,
.direction-card-featured h3,
.direction-card-featured .content-list li {
  position: relative;
  z-index: 1;
}

.direction-card-featured .card-kicker {
  border-color: rgba(201, 228, 255, 0.18);
  background: rgba(9, 17, 29, 0.18);
}

.direction-card-linear {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(8, 18, 28, 0.74) 38%, rgba(8, 18, 28, 0.22) 78%, rgba(8, 18, 28, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.48)),
    url("./assets/linejnyj-direction-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 68% center;
}

.direction-card-linear .card-kicker,
.direction-card-linear h3,
.direction-card-linear .content-list li {
  position: relative;
  z-index: 1;
}

.direction-card-linear .card-kicker {
  border-color: rgba(201, 228, 255, 0.18);
  background: rgba(9, 17, 29, 0.18);
}

.direction-card-horeca {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 15, 24, 0.9) 0%, rgba(9, 18, 28, 0.72) 38%, rgba(9, 18, 28, 0.18) 78%, rgba(9, 18, 28, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.42)),
    url("./assets/horeca-direction-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% center;
}

.direction-card-horeca .card-kicker,
.direction-card-horeca h3,
.direction-card-horeca .content-list li {
  position: relative;
  z-index: 1;
}

.direction-card-horeca .card-kicker {
  border-color: rgba(201, 228, 255, 0.18);
  background: rgba(9, 17, 29, 0.18);
}

.direction-card-office {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(8, 18, 28, 0.72) 38%, rgba(8, 18, 28, 0.2) 78%, rgba(8, 18, 28, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.42)),
    url("./assets/office-direction-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% center;
}

.direction-card-office .card-kicker,
.direction-card-office h3,
.direction-card-office .content-list li {
  position: relative;
  z-index: 1;
}

.direction-card-office .card-kicker {
  border-color: rgba(201, 228, 255, 0.18);
  background: rgba(9, 17, 29, 0.18);
}

.direction-card-vahta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 14, 22, 0.94) 0%, rgba(7, 16, 26, 0.74) 38%, rgba(7, 16, 26, 0.24) 78%, rgba(7, 16, 26, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.1), rgba(8, 16, 24, 0.38)),
    url("./assets/vahta-direction-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% center;
}

.direction-card-vahta .card-kicker,
.direction-card-vahta h3,
.direction-card-vahta .content-list li {
  position: relative;
  z-index: 1;
}

.direction-card-vahta .card-kicker {
  border-color: rgba(201, 228, 255, 0.18);
  background: rgba(9, 17, 29, 0.18);
}

.direction-card-featured,
.direction-card-linear,
.direction-card-horeca,
.direction-card-office,
.direction-card-vahta {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.direction-card-featured:hover,
.direction-card-featured:focus-within,
.direction-card-linear:hover,
.direction-card-linear:focus-within,
.direction-card-horeca:hover,
.direction-card-horeca:focus-within,
.direction-card-office:hover,
.direction-card-office:focus-within,
.direction-card-vahta:hover,
.direction-card-vahta:focus-within {
  transform: translateY(-2px);
  border-color: rgba(127, 216, 255, 0.26);
  box-shadow:
    0 18px 40px rgba(3, 10, 18, 0.34),
    0 0 0 1px rgba(127, 216, 255, 0.06),
    0 0 28px rgba(127, 216, 255, 0.08);
  filter: saturate(1.06);
}

.direction-card-featured:hover .card-kicker,
.direction-card-featured:focus-within .card-kicker,
.direction-card-linear:hover .card-kicker,
.direction-card-linear:focus-within .card-kicker,
.direction-card-horeca:hover .card-kicker,
.direction-card-horeca:focus-within .card-kicker,
.direction-card-office:hover .card-kicker,
.direction-card-office:focus-within .card-kicker,
.direction-card-vahta:hover .card-kicker,
.direction-card-vahta:focus-within .card-kicker {
  border-color: rgba(127, 216, 255, 0.28);
  background: rgba(127, 216, 255, 0.08);
}

.direction-card-featured:hover .direction-link i,
.direction-card-featured:focus-within .direction-link i,
.direction-card-linear:hover .direction-link i,
.direction-card-linear:focus-within .direction-link i,
.direction-card-horeca:hover .direction-link i,
.direction-card-horeca:focus-within .direction-link i,
.direction-card-office:hover .direction-link i,
.direction-card-office:focus-within .direction-link i,
.direction-card-vahta:hover .direction-link i,
.direction-card-vahta:focus-within .direction-link i {
  transform: translateX(2px);
  border-color: rgba(127, 216, 255, 0.46);
  background: rgba(127, 216, 255, 0.12);
  box-shadow: 0 0 16px rgba(127, 216, 255, 0.12);
}

.construction-page-hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.95) 0%, rgba(8, 20, 31, 0.82) 42%, rgba(8, 20, 31, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.42)),
    url("./assets/construction-direction-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 78% center;
}

.construction-hero-panel {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.construction-benefits-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.construction-benefits-list li {
  position: relative;
  margin-top: 14px;
  padding-left: 24px;
  font-size: 1.36rem;
  line-height: 1.34;
  color: #e8f0f7;
}

.construction-benefits-list li:first-child {
  margin-top: 0;
}

.construction-benefits-list li::before {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #f2d887;
}

.construction-page-hero .page-tag,
.construction-page-hero .page-lead > div,
.construction-page-hero .construction-hero-panel {
  position: relative;
  z-index: 1;
}

.construction-page-hero .page-lead > div {
  padding-top: 18px;
}

.construction-page-hero .hero-text {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.5;
}

.construction-page-hero .button-row {
  margin-top: 22px;
  justify-content: center;
}

.construction-link-buttons {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.construction-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: #eaf2f8;
  background: rgba(225, 241, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.construction-link-button::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(127, 216, 255, 0.2);
  border-radius: 999px;
  color: #7fd8ff;
  font-size: 1rem;
  background: rgba(127, 216, 255, 0.04);
}

.construction-link-button-back {
  max-width: none;
  width: 100%;
  min-height: 56px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.construction-link-button-back::after {
  content: "←";
}

.construction-link-button-back {
  grid-column: 1;
  grid-row: 1;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
  grid-column: 2;
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 3 / 4;
  padding: 14px;
  text-align: left;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) .construction-link-copy {
  gap: 4px;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) .construction-link-copy strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) .construction-link-copy small {
  font-size: 0.76rem;
  line-height: 1.25;
}

.construction-link-buttons {
  grid-template-columns: 220px minmax(0, 1fr);
}

.construction-link-buttons .construction-link-button-back {
  align-self: start;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back)::after {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

.construction-link-buttons {
  --construction-links-grid: repeat(3, minmax(110px, 132px));
}

.construction-link-buttons > .construction-link-button:not(.construction-link-button-back) {
  justify-self: start;
}

.construction-link-buttons {
  grid-auto-flow: row;
}

.construction-link-buttons::after {
  content: "";
  grid-column: 2;
}

.construction-link-buttons {
  grid-template-areas:
    "back links";
}

.construction-link-button-back {
  grid-area: back;
}

.construction-link-buttons {
  align-items: start;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
  display: grid;
  align-content: space-between;
}

.construction-link-buttons {
  grid-template-columns: 220px minmax(0, 1fr);
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
  width: 132px;
}

.construction-link-buttons {
  justify-content: center;
}

.construction-link-buttons {
  row-gap: 14px;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
  margin-right: 0;
}

.construction-link-buttons::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 274px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 228, 255, 0.1), transparent);
}

.construction-link-button:hover,
.construction-link-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(127, 216, 255, 0.3);
  background: rgba(225, 241, 255, 0.08);
  box-shadow: 0 12px 28px rgba(3, 10, 18, 0.24);
}

.construction-link-button:hover::after,
.construction-link-button:focus-visible::after {
  border-color: rgba(127, 216, 255, 0.38);
  background: rgba(127, 216, 255, 0.1);
}

.construction-link-buttons {
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 26px;
  row-gap: 14px;
  max-width: 760px;
}

.construction-link-buttons::before {
  left: 233px;
}

.construction-link-button-back {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px 12px 16px;
}

.construction-link-button-back::after {
  content: "\2190";
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
  grid-column: 2;
  width: 148px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 12px;
  display: grid;
  align-content: space-between;
  justify-self: start;
}

.construction-link-buttons .construction-link-button:nth-child(2) {
  grid-row: 1;
}

.construction-link-buttons .construction-link-button:nth-child(3) {
  grid-row: 1;
  margin-left: 162px;
}

.construction-link-buttons .construction-link-button:nth-child(4) {
  grid-row: 1;
  margin-left: 324px;
}

.construction-link-buttons .construction-link-button:nth-child(5) {
  grid-row: 2;
}

.construction-link-buttons .construction-link-button:nth-child(6) {
  grid-row: 2;
  margin-left: 162px;
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back)::after {
  content: "\2192";
  width: 28px;
  height: 28px;
  font-size: 0.88rem;
}

.construction-link-copy {
  display: grid;
  gap: 4px;
}

.construction-link-copy strong {
  font-size: 0.88rem;
  line-height: 1.12;
}

.construction-link-copy small {
  font-size: 0.74rem;
  line-height: 1.2;
}

.construction-link-copy {
  display: grid;
  gap: 4px;
}

.construction-link-copy strong {
  font-family: var(--heading-font);
  font-size: 1.08rem;
  line-height: 1.15;
}

.construction-link-copy small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.construction-section-title {
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.construction-scenarios-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.construction-scenarios-heading {
  margin-bottom: 0;
}

.direction-page-hero {
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% center;
}

.direction-page-hero-linear {
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.94) 0%, rgba(8, 18, 28, 0.78) 38%, rgba(8, 18, 28, 0.22) 78%, rgba(8, 18, 28, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.42)),
    url("./assets/linejnyj-direction-bg.png");
}

.direction-page-hero-horeca {
  background:
    linear-gradient(90deg, rgba(8, 15, 24, 0.92) 0%, rgba(9, 18, 28, 0.74) 38%, rgba(9, 18, 28, 0.18) 78%, rgba(9, 18, 28, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.42)),
    url("./assets/horeca-direction-bg.png");
}

.direction-page-hero-office {
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(8, 18, 28, 0.72) 38%, rgba(8, 18, 28, 0.2) 78%, rgba(8, 18, 28, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.12), rgba(8, 16, 24, 0.42)),
    url("./assets/office-direction-bg.png");
}

.direction-page-hero-vahta {
  background:
    linear-gradient(90deg, rgba(6, 14, 22, 0.94) 0%, rgba(7, 16, 26, 0.74) 38%, rgba(7, 16, 26, 0.24) 78%, rgba(7, 16, 26, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.1), rgba(8, 16, 24, 0.38));
}

.direction-page-hero-mass {
  background:
    radial-gradient(circle at top right, rgba(127, 216, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(225, 241, 255, 0.08), rgba(225, 241, 255, 0.04));
}

.direction-page-hero .page-lead > div,
.direction-page-hero .direction-hero-panel {
  position: relative;
  z-index: 1;
}

.direction-page-hero .page-lead > div {
  padding-top: 18px;
}

.direction-page-hero .hero-text {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.5;
}

.direction-page-hero .button-row {
  margin-top: 22px;
  justify-content: center;
}

.direction-hero-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.direction-benefits-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.direction-benefits-list li {
  position: relative;
  margin-top: 14px;
  padding-left: 24px;
  font-size: 1.36rem;
  line-height: 1.34;
  color: #e8f0f7;
}

.direction-benefits-list li:first-child {
  margin-top: 0;
}

.direction-benefits-list li::before {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #f2d887;
}

.direction-section-title {
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.direction-scenarios-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.direction-scenarios-heading {
  margin-bottom: 0;
}

.direction-link-buttons {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 26px;
  row-gap: 14px;
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
}

.direction-link-buttons::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 233px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 228, 255, 0.1), transparent);
}

.direction-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #eaf2f8;
  background: rgba(225, 241, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.direction-link-button:hover,
.direction-link-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(127, 216, 255, 0.3);
  background: rgba(225, 241, 255, 0.08);
  box-shadow: 0 12px 28px rgba(3, 10, 18, 0.24);
}

.direction-link-button-back {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px 12px 16px;
  border-color: rgba(242, 216, 135, 0.24);
  background: rgba(242, 216, 135, 0.08);
}

.direction-link-button:not(.direction-link-button-back) {
  grid-column: 2;
  width: 136px;
  aspect-ratio: 4 / 3;
  padding: 10px;
  justify-self: start;
  background: rgba(105, 255, 140, 0.045);
}

.direction-link-copy {
  display: grid;
  gap: 4px;
  text-align: center;
  justify-items: center;
}

.direction-link-copy strong {
  font-family: var(--heading-font);
  font-size: 0.84rem;
  line-height: 1.08;
}

.direction-link-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.15;
}

.construction-link-button {
  align-items: center;
  justify-content: center;
  gap: 0;
}

.construction-link-button::after {
  display: none;
}

.construction-link-button-back {
  border-color: rgba(242, 216, 135, 0.24);
  background: rgba(242, 216, 135, 0.08);
}

.construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
  width: 136px;
  padding: 10px;
  align-content: center;
  background: rgba(105, 255, 140, 0.045);
}

.construction-link-copy {
  text-align: center;
  justify-items: center;
}

.construction-link-copy strong {
  font-size: 0.84rem;
  line-height: 1.08;
}

.construction-link-copy small {
  font-size: 0.7rem;
  line-height: 1.15;
}

@media (min-width: 1081px) {
  .construction-link-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: none;
  }

  .construction-link-buttons::before {
    display: none;
  }

  .construction-link-button-back {
    flex: 0 0 190px;
    align-self: center;
    margin-top: 18px;
  }

  .construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
    flex: 0 0 116px;
    width: 116px;
    aspect-ratio: 4 / 3;
    margin-left: 0 !important;
    grid-column: auto;
    grid-row: auto;
  }
}

.construction-page-hero .page-tag,
.construction-page-hero .construction-hero-panel {
  border-color: rgba(201, 228, 255, 0.18);
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 250px;
  padding: 24px;
  background: rgba(225, 241, 255, 0.05);
}

.pricing-card .card-kicker {
  justify-self: start;
  min-height: 30px;
  margin-bottom: 6px;
  font-size: 0.72rem;
  color: rgba(226, 241, 255, 0.86);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-card h3 {
  margin-bottom: 4px;
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.2;
}

.pricing-title-nowrap {
  max-width: none;
  white-space: nowrap;
}

.price {
  margin: 8px 0 10px;
  color: #c7d8ea;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.cases-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
  align-items: start;
}

.cases-catalog {
  display: grid;
  gap: 12px;
  align-items: start;
}

.case-card-compact {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.case-card-compact:hover {
  border-color: rgba(233, 197, 92, 0.34);
  background:
    radial-gradient(circle at right top, rgba(233, 197, 92, 0.12), transparent 30%),
    rgba(225, 241, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.case-card-toggle {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.case-card-toggle:hover .case-tag,
.case-card-toggle:focus-visible .case-tag,
.case-card-compact.is-open .case-tag {
  border-color: rgba(233, 197, 92, 0.32);
  color: #f2d887;
  background: rgba(233, 197, 92, 0.08);
}

.case-card-toggle:hover h3,
.case-card-toggle:focus-visible h3,
.case-card-compact.is-open h3 {
  color: #f2d887;
}

.case-card-toggle h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.22;
  transition: color 0.2s ease;
}

.case-card-toggle p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.42;
}

.case-card-toggle:focus-visible {
  outline: none;
}

.case-card-body {
  display: none;
}

.case-card-body-inner {
  overflow: hidden;
}

.case-card-body-inner p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  line-height: 1.5;
}

.case-card-body-inner p:last-child {
  margin-bottom: 0;
}

.case-card-compact.is-open {
  border-color: rgba(233, 197, 92, 0.3);
  background:
    radial-gradient(circle at right top, rgba(233, 197, 92, 0.14), transparent 34%),
    rgba(225, 241, 255, 0.075);
}

.case-preview {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(233, 197, 92, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(233, 197, 92, 0.1), transparent 28%),
    rgba(225, 241, 255, 0.06);
}

.case-preview-head {
  display: grid;
  gap: 10px;
}

.case-preview-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.case-preview-head p {
  margin: 0;
  max-width: 60ch;
}

.case-preview-media {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1px dashed rgba(233, 197, 92, 0.24);
  border-radius: 20px;
  color: rgba(242, 216, 135, 0.78);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(233, 197, 92, 0.08), rgba(127, 216, 255, 0.05)),
    rgba(9, 17, 29, 0.36);
}

.case-preview-media span {
  max-width: 28ch;
  line-height: 1.45;
}

.case-preview-body {
  padding: 20px;
  background: rgba(225, 241, 255, 0.04);
}

.case-preview-body p {
  margin: 0 0 12px;
}

.case-preview-body p:last-child {
  margin-bottom: 0;
}

.cases-page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(105, 255, 140, 0.12), transparent 24%),
    radial-gradient(circle at right 18%, rgba(127, 216, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(225, 241, 255, 0.08), rgba(225, 241, 255, 0.04));
}

.cases-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.cases-hero-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.cases-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.cases-hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(233, 197, 92, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 17, 27, 0.18), rgba(8, 17, 27, 0.34)),
    rgba(225, 241, 255, 0.05);
}

.cases-hero-panel-head {
  display: grid;
  gap: 10px;
}

.cases-hero-panel-head strong {
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.cases-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cases-snapshot article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(201, 228, 255, 0.14);
  border-radius: 22px;
  background: rgba(225, 241, 255, 0.05);
}

.cases-snapshot span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #f2d887;
}

.cases-snapshot p,
.cases-hero-note {
  margin: 0;
  color: #bfd0e0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cases-story-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.case-story {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(201, 228, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(127, 216, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(225, 241, 255, 0.08), rgba(225, 241, 255, 0.04));
  box-shadow: var(--shadow);
}

.case-story::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 216, 135, 0.24), transparent);
}

.case-story-featured {
  background:
    radial-gradient(circle at top left, rgba(105, 255, 140, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(233, 197, 92, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(225, 241, 255, 0.1), rgba(225, 241, 255, 0.05));
}

.case-story-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.case-story-metric {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(233, 197, 92, 0.22);
  border-radius: 999px;
  color: #f2d887;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(233, 197, 92, 0.08);
}

.case-story-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.case-story-head h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.case-story-head p {
  max-width: 64ch;
  margin: 0;
  color: #d5e2ef;
  font-size: 1rem;
  line-height: 1.5;
}

.case-story-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-story-columns div {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(201, 228, 255, 0.1);
  border-radius: 22px;
  background: rgba(8, 17, 29, 0.26);
}

.case-story-columns h3 {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-story-columns p {
  margin: 0;
  color: #d7e3ef;
  font-size: 0.95rem;
  line-height: 1.58;
}

.cases-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.cases-simple-hero,
.cases-faq-section,
.cases-simple-cta {
  background: rgba(225, 241, 255, 0.04);
}

.cases-simple-heading {
  max-width: 760px;
}

.case-faq-list {
  margin-top: 0;
}

.case-faq-item {
  border-color: rgba(201, 228, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.case-faq-item + .case-faq-item {
  margin-top: 8px;
}

.case-faq-question {
  min-height: 0;
  padding: 15px 16px;
  font-size: 0.96rem;
}

.case-faq-question span:first-child {
  max-width: 92%;
  line-height: 1.35;
}

.case-faq-answer > div {
  overflow: hidden;
  padding: 0 16px 0 50px;
}

.case-faq-answer p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.case-faq-answer p:last-child {
  margin-bottom: 0;
}

.case-faq-item.is-open .case-faq-answer > div {
  padding-bottom: 14px;
}

.case-faq-answer strong {
  color: var(--text);
}

.cases-arcade-hero,
.cases-arcade-cta {
  background:
    radial-gradient(circle at top left, rgba(105, 255, 140, 0.08), transparent 24%),
    rgba(225, 241, 255, 0.04);
}

.cases-arcade-heading {
  max-width: 760px;
}

.cases-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cases-status i {
  color: #f2d887;
  font-size: 0.98rem;
}

.cases-arcade-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.2rem, 3.7vw, 3.8rem);
}

.cases-arcade-grid {
  display: grid;
  width: min(100%, 1080px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
  margin-right: auto;
  margin-left: auto;
}

.featured-case-showcase {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  padding: 34px 36px 38px;
  border: 1px solid rgba(201, 228, 255, 0.1);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(242, 216, 135, 0.08), transparent 28%),
    rgba(225, 241, 255, 0.04);
}

.featured-case-showcase-heading {
  max-width: none;
}

.featured-case-showcase-heading h2 {
  max-width: none;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.08;
}

.featured-case-showcase-heading p:last-child {
  max-width: 760px;
}

.featured-case-tiles-grid {
  width: 100%;
  margin-bottom: 0;
}

.featured-case-showcase-actions {
  display: flex;
  justify-content: center;
}

.case-tile {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 3 / 4;
  min-height: 320px;
  border: 1px solid rgba(201, 228, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(8, 15, 25, 0.92);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 197, 92, 0.24);
  cursor: pointer;
}

.case-tile.is-open {
  border-color: rgba(233, 197, 92, 0.22);
}

.case-tile-trigger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
  align-items: start;
  gap: 10px;
  width: 100%;
  min-height: 100%;
  height: 100%;
  padding: 16px;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.case-tile-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 13, 22, 0.44), rgba(7, 13, 22, 0.86)),
    url("./montaj.webp");
  background-position: center, var(--case-focus, center);
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) saturate(0.55) brightness(0.88);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.case-tile-yakutia .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/yakutia-case.jpg");
}

.case-tile-uzbekistan .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/uzbekistan-case.jpg");
}

.case-tile-ekaterinburg .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/ekaterinburg-case.jpg");
}

.case-tile-baza-otdyha .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/baza-otdyha-case.jpg");
}

.case-tile-zavod-reduktorov .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/zavod-reduktorov-case.jpg");
}

.case-tile-ekaterinburg-buhgalter .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/ekaterinburg-buhgalter-case.jpg");
}

.case-tile-moscow-construction .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/moscow-construction-case.jpg");
}

.case-tile-yuruslugi .case-tile-trigger::before {
  background-image:
    linear-gradient(180deg, rgba(9, 16, 26, 0.18), rgba(9, 16, 26, 0.72)),
    url("./assets/yuruslugi-case.jpg");
}

.case-tile-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 25, 0.08), rgba(8, 15, 25, 0.22) 24%),
    linear-gradient(180deg, rgba(8, 15, 25, 0.04), rgba(8, 15, 25, 0.84) 100%);
  opacity: 0.94;
  transition: opacity 0.25s ease;
}

.case-tile-trigger:focus-visible {
  outline: none;
}

.case-tile:hover .case-tile-trigger::before,
.case-tile:focus-within .case-tile-trigger::before {
  filter: grayscale(0) saturate(1.02) brightness(1.02);
  transform: scale(1.02);
}

.case-tile:hover .case-tile-trigger::after,
.case-tile:focus-within .case-tile-trigger::after {
  opacity: 0.88;
}

.case-tile-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(201, 228, 255, 0.14);
  border-radius: 999px;
  color: #cdd8e4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(9, 17, 27, 0.28);
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.case-tile-scoreboard {
  display: grid;
  gap: 12px;
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  align-self: center;
  transform: translateY(-28px);
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
  position: relative;
  z-index: 1;
}

.case-tile-scoreboard span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff4cf;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.005em;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.case-tile-title-centered {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  text-align: center;
  max-width: 14ch;
}

.case-tile-scoreboard span::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #f2d887;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.32));
}

.case-tile-scoreboard span.case-tile-scoreboard-alert {
  color: #ff7f7f !important;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.46);
}

.case-tile-scoreboard span.case-tile-scoreboard-alert::before {
  border-left-color: #ff7f7f !important;
}

.case-tile-panel-inner p.case-tile-panel-alert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 127, 127, 0.28);
  border-radius: 999px;
  color: #ff7f7f !important;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(88, 18, 18, 0.3);
}

.case-tile-panel-inner p.case-tile-panel-alert::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ff7f7f;
}

.case-tile h2 {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: none;
  margin: 0;
  font-size: clamp(1.22rem, 1.5vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
}

.case-tile-ring {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(233, 197, 92, 0.3);
  border-radius: 50%;
  color: #f2d887;
  background:
    radial-gradient(circle at center, rgba(233, 197, 92, 0.16), transparent 62%),
    rgba(7, 15, 25, 0.72);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 22px rgba(255, 214, 117, 0.08);
}

.case-tile-ring strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.72rem;
  line-height: 0.9;
}

.case-tile-ring span {
  display: block;
  margin-top: 0;
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-tile-cta {
  display: none;
}

.case-tile-panel {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 8;
  background:
    linear-gradient(180deg, rgba(9, 17, 27, 0.44), rgba(9, 18, 28, 0.92));
  backdrop-filter: blur(6px);
}

.case-tile-panel-inner {
  overflow: auto;
  height: 100%;
  padding: 18px;
}

.case-tile-panel-inner p {
  max-width: none;
  margin: 0 0 10px;
  color: #d7e3ef;
  font-size: 1.04rem;
  line-height: 1.52;
}

.case-tile-panel-inner p:last-child {
  margin-bottom: 0;
}

.case-tile-panel-inner strong {
  color: #f2d887;
}

.case-tile.is-open .case-tile-trigger {
  min-height: 100%;
  height: 100%;
}

.case-tile.is-open .case-tile-panel {
  display: block;
}

.case-tile-compact {
  min-height: 300px;
  aspect-ratio: 5 / 6;
}

.case-tile-compact .case-tile-trigger {
  padding: 18px 18px 16px;
}

.case-tile-compact .case-tile-badge {
  min-height: 28px;
  padding: 0 11px;
  font-size: 0.72rem;
}

.case-tile-compact h2 {
  font-size: clamp(1.26rem, 1.8vw, 1.74rem);
  line-height: 1.02;
}

.case-tile-compact .case-tile-scoreboard {
  gap: 10px;
  transform: translateY(-14px);
}

.case-tile-compact .case-tile-scoreboard span {
  font-size: 1.08rem;
  line-height: 1.2;
}

.case-tile-compact .case-tile-ring {
  width: 78px;
  height: 78px;
}

.case-tile-compact .case-tile-ring strong {
  font-size: 1.56rem;
}

.cases-arcade-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  justify-items: center;
  padding: 34px 36px;
  border: 1px solid rgba(201, 228, 255, 0.1);
  border-radius: 36px;
  background: rgba(14, 24, 34, 0.72);
}

.cases-arcade-cta .section-heading {
  width: min(100%, 1120px);
  text-align: left;
}

.cases-cta-highlight {
  color: #f2d887;
  font-weight: 800;
  white-space: nowrap;
}

.cases-cta-nowrap {
  white-space: nowrap;
}

.cases-cta-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.cases-cta-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  color: #dce7f2;
  font-size: 1.16rem;
  line-height: 1.42;
  font-weight: 600;
  text-align: left;
}

.cases-cta-list li::before {
  content: "✓";
  color: #f2d887;
  font-weight: 800;
}

.cases-arcade-cta .button {
  display: flex;
  margin: 24px auto 0;
}

.contact-channel-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-channel-group legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  padding: 0;
  color: #f2d887;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-channel-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(201, 228, 255, 0.12);
  border-radius: 18px;
  color: #dce7f2;
  background: rgba(225, 241, 255, 0.04);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-channel-option:hover,
.contact-channel-option:focus-within {
  border-color: rgba(242, 216, 135, 0.4);
  background: rgba(242, 216, 135, 0.08);
}

.contact-channel-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-channel-option input:checked + span {
  color: #f2d887;
}

.contact-channel-option:has(input:checked) {
  border-color: rgba(242, 216, 135, 0.46);
  background: rgba(242, 216, 135, 0.12);
  box-shadow: 0 0 0 1px rgba(242, 216, 135, 0.18) inset;
}

.contact-channel-option:has(input:checked) i {
  color: #f2d887;
}

.contact-channel-option i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  font-size: 1rem;
  accent-color: #f2d887;
}

.contact-channel-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  font-size: 0.96rem;
  font-weight: 600;
}

.payment-callout {
  display: inline-block;
  margin: 8px 0 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #dce8f3;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(105, 255, 140, 0.18), rgba(127, 216, 255, 0.2));
  border: 1px solid rgba(127, 216, 255, 0.16);
}

.pricing-card p:last-child {
  max-width: none;
  margin: 8px 0 0;
  color: #aebfd1;
  font-size: 0.92rem;
  line-height: 1.45;
}

.timeline-grid article span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: #08110d;
  font-family: var(--heading-font);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.timeline-grid article {
  min-height: 230px;
}

.timeline-grid article.timeline-optional-card {
  grid-column: 1 / -1;
  min-height: auto;
  border: 2px dashed rgba(255, 92, 92, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 92, 92, 0.12), rgba(255, 92, 92, 0.05)),
    rgba(225, 241, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 92, 0.12);
}

.timeline-grid article.timeline-optional-card span {
  background: linear-gradient(135deg, #ff9a9a, #ff6464);
  color: #2a0606;
}

.timeline-grid article.timeline-optional-card h3 {
  color: rgba(255, 238, 238, 0.96);
}

.timeline-grid article.timeline-optional-card p {
  color: rgba(255, 214, 214, 0.82);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.faq-list li + li {
  margin-top: 0;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(233, 197, 92, 0.14);
  background:
    radial-gradient(circle at right top, rgba(233, 197, 92, 0.12), transparent 28%),
    rgba(225, 241, 255, 0.05);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(233, 197, 92, 0.28);
  background:
    radial-gradient(circle at right top, rgba(233, 197, 92, 0.16), transparent 30%),
    rgba(225, 241, 255, 0.065);
}

.faq-question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  color: #dbe6f1;
  font: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  background: transparent;
  transition: color 0.22s ease;
}

.faq-question:hover,
.faq-question:focus-visible {
  color: #f2d887;
}

.faq-question:focus-visible {
  outline: none;
}

.faq-item.is-open .faq-question {
  color: #f2d887;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  order: -1;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(233, 197, 92, 0.26);
  background: rgba(233, 197, 92, 0.06);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #e9c55c;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  border-color: rgba(233, 197, 92, 0.42);
  background: rgba(233, 197, 92, 0.12);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #f2d887;
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.4);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding: 0 16px 0 50px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 14px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--text);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(7, 15, 25, 0.5);
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(127, 216, 255, 0.38);
  outline-offset: 2px;
}

.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.94rem;
}

.consent-line input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.form-note {
  margin: 0;
  font-size: 0.94rem;
}

.form-note.is-success {
  color: var(--primary);
}

.form-note.is-error {
  color: #ffb4ad;
}

.lead-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-width: min(340px, calc(100vw - 32px));
  max-width: 420px;
  padding: 14px 16px;
  border: 1px solid rgba(91, 227, 193, 0.28);
  border-radius: 18px;
  background: rgba(12, 21, 33, 0.96);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lead-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lead-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(91, 227, 193, 0.16);
  color: var(--primary);
  font-size: 1.2rem;
}

.lead-toast-copy {
  display: grid;
  gap: 2px;
}

.lead-toast-copy strong {
  font-size: 1rem;
}

.lead-toast-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}


.site-footer {
  display: block;
  margin-top: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at center top, rgba(127, 216, 255, 0.1), transparent 30%),
    rgba(12, 21, 33, 0.88);
  box-shadow: var(--shadow);
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #dce8f3;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  border-color: rgba(127, 216, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-contacts a[href*="wa.me"]:hover,
.footer-contacts a[href*="wa.me"]:focus-visible {
  border-color: rgba(108, 255, 162, 0.42);
  color: #f5fff8;
  background: rgba(67, 201, 120, 0.14);
  box-shadow:
    0 0 0 1px rgba(108, 255, 162, 0.12),
    0 0 22px rgba(67, 201, 120, 0.24);
}

.footer-contacts a[href*="t.me"]:hover,
.footer-contacts a[href*="t.me"]:focus-visible {
  border-color: rgba(108, 190, 255, 0.42);
  color: #f5fbff;
  background: rgba(60, 149, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(108, 190, 255, 0.12),
    0 0 22px rgba(60, 149, 255, 0.24);
}

.footer-contacts a[href^="mailto:"]:hover,
.footer-contacts a[href^="mailto:"]:focus-visible,
.footer-contacts a[href^="tel:"]:not(:has(.bi-chat-dots-fill)):hover,
.footer-contacts a[href^="tel:"]:not(:has(.bi-chat-dots-fill)):focus-visible {
  border-color: rgba(255, 214, 117, 0.42);
  color: #fffdf5;
  background: rgba(255, 196, 74, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 214, 117, 0.12),
    0 0 22px rgba(255, 196, 74, 0.22);
}

.footer-contacts a:has(.bi-chat-dots-fill):hover,
.footer-contacts a:has(.bi-chat-dots-fill):focus-visible {
  border-color: rgba(186, 136, 255, 0.46);
  color: #fbf7ff;
  background: rgba(149, 84, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(186, 136, 255, 0.12),
    0 0 24px rgba(149, 84, 255, 0.26);
}

.footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 228, 255, 0.1);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal a,
.footer-credit,
.footer-note,
.footer-dev,
.consent-line a {
  color: var(--muted);
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-credit a:hover,
.footer-credit a:focus-visible,
.consent-line a:hover,
.consent-line a:focus-visible {
  color: #ffffff;
}

.footer-credit {
  margin: 0;
  text-align: right;
}

.footer-note {
  margin: 8px 0 0;
  max-width: 720px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-dev {
  margin: 0;
  text-align: right;
}

.footer-dev a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid rgba(164, 107, 255, 0.54);
  border-radius: 999px;
  color: #f8f1ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background:
    radial-gradient(circle at center, rgba(216, 125, 255, 0.36), transparent 62%),
    linear-gradient(135deg, rgba(126, 57, 255, 0.86), rgba(213, 74, 255, 0.82));
  box-shadow:
    0 0 0 1px rgba(214, 122, 255, 0.14),
    0 0 22px rgba(137, 56, 255, 0.52),
    0 0 44px rgba(204, 69, 255, 0.4),
    0 0 68px rgba(127, 0, 255, 0.26);
  text-shadow:
    0 0 10px rgba(255, 241, 255, 0.46),
    0 0 18px rgba(255, 241, 255, 0.22);
  overflow: visible;
  isolation: isolate;
  animation: footer-dev-pulse 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-dev a::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(176, 70, 255, 0.42), transparent 68%);
  filter: blur(10px);
  opacity: 0.92;
  z-index: -1;
  animation: footer-dev-halo 2.8s ease-in-out infinite;
}

.footer-dev a::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1px solid rgba(239, 187, 255, 0.28);
  opacity: 0.9;
  z-index: -1;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid rgba(168, 131, 255, 0.28);
  border-radius: 999px;
  color: #f5efff;
  background:
    linear-gradient(135deg, rgba(147, 94, 255, 0.28), rgba(107, 208, 255, 0.22));
  box-shadow:
    0 0 0 1px rgba(168, 131, 255, 0.08),
    0 0 18px rgba(143, 92, 255, 0.28),
    0 0 36px rgba(84, 190, 255, 0.16);
  text-shadow: 0 0 12px rgba(214, 196, 255, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  border-color: rgba(186, 151, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(186, 151, 255, 0.12),
    0 0 22px rgba(143, 92, 255, 0.34),
    0 0 42px rgba(84, 190, 255, 0.22);
  transform: translateY(-1px);
}

.footer-dev a:hover,
.footer-dev a:focus-visible {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(214, 146, 255, 0.74);
  box-shadow:
    0 0 0 1px rgba(230, 173, 255, 0.2),
    0 0 28px rgba(137, 56, 255, 0.62),
    0 0 56px rgba(204, 69, 255, 0.48),
    0 0 86px rgba(127, 0, 255, 0.34);
}

@keyframes footer-dev-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(214, 122, 255, 0.14),
      0 0 20px rgba(137, 56, 255, 0.46),
      0 0 38px rgba(204, 69, 255, 0.34),
      0 0 58px rgba(127, 0, 255, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(236, 174, 255, 0.24),
      0 0 30px rgba(137, 56, 255, 0.68),
      0 0 64px rgba(204, 69, 255, 0.52),
      0 0 96px rgba(127, 0, 255, 0.38);
  }
}

@media (min-width: 1081px) {
  .site-footer {
    padding: 18px 22px;
  }

  .footer-contacts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-contacts a {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .footer-meta {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 18px;
    row-gap: 8px;
    align-items: start;
  }

  .footer-legal {
    gap: 8px 14px;
    font-size: 0.92rem;
  }

  .footer-credit,
  .footer-dev {
    text-align: right;
    white-space: nowrap;
  }

  .footer-note {
    max-width: 860px;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .footer-dev a {
    padding: 6px 14px;
    font-size: 0.9rem;
  }
}

@keyframes footer-dev-halo {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 40;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(127, 216, 255, 0.2);
  border-radius: 999px;
  color: #ecf4fb;
  cursor: pointer;
  background: rgba(12, 21, 33, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, border-color 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  border-color: rgba(127, 216, 255, 0.36);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 10, 18, 0.76);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 620px);
  padding: 22px;
  border: 1px solid rgba(201, 228, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(127, 216, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(18, 31, 48, 0.98), rgba(10, 19, 30, 0.98));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42);
}

.lead-success-popup {
  position: absolute;
  inset: 22px;
  z-index: 5;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(91, 227, 193, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(91, 227, 193, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 19, 30, 0.97), rgba(7, 14, 24, 0.98));
  text-align: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lead-success-popup[hidden] {
  display: none;
}

.lead-success-popup.is-visible {
  opacity: 1;
  transform: scale(1);
}

.lead-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(91, 227, 193, 0.16);
  color: var(--primary);
  font-size: 1.8rem;
}

.lead-success-popup h3 {
  margin: 0;
  font-size: 1.45rem;
}

.lead-success-popup p {
  margin: 0;
  max-width: 26ch;
  color: var(--muted);
}

.lead-success-popup .button {
  min-width: 132px;
  margin-top: 4px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(201, 228, 255, 0.18);
  border-radius: 999px;
  color: #dce8f3;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}

.modal-copy {
  margin-bottom: 14px;
  padding-right: 32px;
}

.modal-copy h2 {
  margin-bottom: 8px;
}

.modal-copy p:last-child {
  margin: 0;
}

.modal-form {
  padding: 20px 22px 18px;
  border: 1px solid rgba(201, 228, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(225, 241, 255, 0.05), rgba(225, 241, 255, 0.035)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.modal-form .form-field span,
.modal-form .contact-channel-group legend {
  color: #eaf2f8;
  font-size: 0.95rem;
  font-weight: 800;
}

.modal-form .form-field {
  gap: 8px;
}

.modal-form .form-field input {
  min-height: 56px;
  padding: 14px 16px;
  border-color: rgba(127, 216, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 15, 25, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.modal-form .form-field input:focus {
  outline: 2px solid rgba(127, 216, 255, 0.48);
  outline-offset: 2px;
}

.modal-form .contact-channel-group {
  margin-top: 2px;
}

.modal-form .contact-channel-option {
  min-height: 54px;
  border-radius: 18px;
}

.modal-form .button {
  width: 100%;
  justify-content: center;
}

.modal-form .form-note {
  color: #c5d3e0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.breadcrumbs a {
  color: #dce7f2;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--primary);
}

.page-hero {
  display: grid;
  gap: 18px;
}

.page-lead h1 {
  max-width: 14ch;
}

.case-detail {
  display: grid;
  gap: 14px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-result {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-result div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1080px) {
  .hero.section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-copy,
  .hero-panel,
  .hero-actions-row {
    grid-column: auto;
    grid-row: auto;
  }

  .hero,
  .page-lead,
  .card-grid-3,
  .pricing-grid,
  .category-map,
  .timeline-grid,
  .lead-layout,
  .page-grid,
  .content-grid,
  .link-grid,
  .construction-scenarios-layout,
  .direction-scenarios-layout,
  .case-result {
    grid-template-columns: 1fr;
  }

  h1,
  .page-lead h1 {
    max-width: none;
  }

  .hero-text {
    max-width: 42ch;
  }

  .construction-link-buttons .construction-link-button:not(.construction-link-button-back) {
    grid-column: auto;
    width: 100%;
    margin-left: 0;
  }

  .direction-link-button:not(.direction-link-button-back) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .construction-link-buttons .construction-link-button:nth-child(2),
  .construction-link-buttons .construction-link-button:nth-child(3),
  .construction-link-buttons .construction-link-button:nth-child(4),
  .construction-link-buttons .construction-link-button:nth-child(5),
  .construction-link-buttons .construction-link-button:nth-child(6) {
    grid-row: auto;
    margin-left: 0;
  }

  .construction-link-buttons {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .direction-link-buttons {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .construction-link-button-back {
    max-width: 300px;
  }

  .direction-link-button-back {
    max-width: 300px;
  }

  .construction-link-buttons::before {
    display: none;
  }

  .direction-link-buttons::before {
    display: none;
  }

  .footer-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-layout {
    grid-template-columns: 1fr;
  }

  .case-preview {
    position: static;
  }

  .cases-hero-grid,
  .case-story-columns,
  .cases-bottom-cta,
  .cases-arcade-cta {
    grid-template-columns: 1fr;
  }

  .cases-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cases-arcade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
  }

  .featured-case-showcase {
    padding: 30px 24px 34px;
  }

  .case-tile.is-open {
    grid-column: span 1;
  }

  .cases-arcade-title {
    white-space: normal;
  }

  .footer-meta {
    grid-template-columns: 1fr;
  }

  .footer-credit {
    text-align: left;
  }

  .contact-channel-group {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 481px) and (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px;
  }

  .brand-signature {
    margin-left: 0;
    width: min(100%, 220px);
    min-height: 58px;
    background-position: left center;
    background-size: contain;
  }

  .header-phone,
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav,
  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(201, 228, 255, 0.12);
    border-radius: 20px;
    background: rgba(9, 16, 26, 0.96);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    font-size: 1rem;
    text-align: center;
  }

  .site-nav {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(201, 228, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: min(100% - 18px, 1220px);
    padding-top: 12px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }

  .brand-signature {
    margin-left: 0;
    width: min(100%, 176px);
    min-height: 48px;
    background-position: left center;
    background-size: contain;
  }

  .brand {
    gap: 12px;
    min-width: 0;
  }

  .header-phone {
    grid-column: auto;
    width: 33px;
    min-width: 33px;
    justify-self: end;
  }

  .contact-channel-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-channel-option {
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 8px 4px;
    border-radius: 16px;
  }

  .contact-channel-option span {
    flex-direction: column;
    gap: 6px;
    font-size: 0.72rem;
    line-height: 1.15;
    text-align: center;
  }

  .contact-channel-option i {
    width: 18px;
    min-width: 18px;
    height: 18px;
    font-size: 1rem;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .cases-arcade-cta {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .cases-arcade-cta .section-heading h2 {
    max-width: 100%;
    font-size: 1.12rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .cases-cta-list li {
    grid-template-columns: 18px 1fr;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }

  .cases-cta-nowrap {
    white-space: normal;
  }

  .cases-arcade-cta .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy,
  .hero-panel,
  .hero-actions {
    width: 100%;
  }

  .hero-actions-row {
    position: static;
  }

  .hero-benefits-card {
    padding: 10px 14px;
  }

  .hero-benefits-card h2,
  .highlight-card h2 {
    max-width: 100%;
    font-size: 1.08rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-benefits-list li {
    grid-template-columns: 18px 1fr;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .hero-benefits-list li::before {
    width: 18px;
    height: 18px;
    font-size: 0.78rem;
  }

  .strengths-list li {
    gap: 10px;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .section,
  .highlight-card,
  .service-card,
  .strengths-summary,
  .strength-item,
  .case-card,
  .timeline-grid article,
  .category-map article,
  .content-block,
  .lead-form,
  .contact-card,
  .faq-list li,
  .case-detail,
  .promo-strip,
  .link-card {
    padding: 18px;
  }

  .case-card-with-media .case-card-media {
    margin: -18px -18px 0;
  }

  .modal-dialog,
  .site-footer {
    padding: 18px;
  }

  .modal-backdrop {
    padding: 14px;
  }

  .modal-dialog {
    width: min(100%, 420px);
    border-radius: 24px;
  }

  .modal-copy {
    margin-bottom: 12px;
    padding-right: 28px;
  }

  .modal-copy h2 {
    margin-bottom: 6px;
    font-size: 1.18rem;
    line-height: 1.14;
  }

  .modal-copy p:last-child {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .modal-form {
    padding: 16px 16px 14px;
    border-radius: 22px;
  }

  .modal-form .form-field {
    gap: 6px;
  }

  .modal-form .form-field span,
  .modal-form .contact-channel-group legend {
    font-size: 0.88rem;
  }

  .modal-form .form-field input {
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .modal-form .button {
    min-height: 42px;
  }

  .consent-line {
    margin-top: 10px;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
  }

  .footer-contacts a,
  .footer-dev a {
    width: 100%;
    justify-content: center;
  }

  .footer-note {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .cases-snapshot {
    grid-template-columns: 1fr;
  }

  .cases-arcade-grid {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }

  .featured-case-showcase {
    padding: 28px 20px 30px;
    border-radius: 28px;
  }

  .featured-case-showcase-actions .button {
    width: 100%;
    justify-content: center;
  }

  .case-story,
  .cases-hero-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .case-story-head h2 {
    max-width: none;
  }

  .case-faq-answer > div {
    padding-left: 16px;
  }

  .case-tile,
  .case-tile.is-open {
    aspect-ratio: 3 / 4;
    min-height: 300px;
    height: auto;
  }

  .case-tile-trigger,
  .case-tile.is-open .case-tile-trigger {
    min-height: 100%;
    padding: 14px;
  }

  .case-tile-panel {
    inset: 0;
  }

  .case-tile h2,
  .case-tile p {
    max-width: none;
  }

  .cases-arcade-title {
    white-space: normal;
  }

  .case-tile-panel-inner {
    padding: 12px;
  }

  .case-tile-trigger::before {
    background-position: center, center;
  }

  .case-tile-ring {
    width: 76px;
    height: 76px;
  }

  .case-tile-ring strong {
    font-size: 1.48rem;
  }

  .case-tile-ring span {
    font-size: 0.54rem;
  }
}
