:root {
  --bg: #eceff3;
  --surface: #f7f9fc;
  --surface-soft: #eff3f7;
  --line: #cfd5dc;
  --text: #111418;
  --muted: #56606c;
  --accent: #e81a2e;
  --accent-soft: #fbe4e7;
  --shadow: 0 18px 40px rgba(18, 24, 33, 0.08);
  --radius: 10px;
  --content: 1380px;
}

/* =========================
   V2 Red Global Reskin
   Keeps content unchanged,
   updates visual system only.
========================= */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --line: #e8e8e8;
  --text: #1a1a1a;
  --muted: #6d6d6d;
  --accent: #e81a2e;
  --accent-soft: #fdf0f1;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 0;
}

body {
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.site-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.site-header {
  position: sticky;
  top: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  backdrop-filter: blur(8px);
  padding: 8px 0;
}

.brand-logo {
  width: 170px;
}

.home-page .brand-logo {
  width: 220px;
}

.brand-note {
  color: #5f5f5f;
  font-size: 0.84rem;
  font-weight: 600;
}

.site-nav {
  gap: 8px;
}

.nav-link {
  border: 0;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #666;
  padding: 8px 6px;
}

.nav-link:hover {
  color: var(--accent);
  background: transparent;
  transform: none;
}

.nav-link.is-active {
  color: var(--accent);
  background: transparent;
  border-bottom: 2px solid var(--accent);
}

.contact-link {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #333;
}

.contact-link--phone {
  font-weight: 800;
  color: #111;
}

.button {
  border-radius: 0;
}

.button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button--primary:hover {
  background: #c41628;
  border-color: #c41628;
}

.button--ghost {
  background: #fff;
  border-color: var(--line);
  color: #222;
}

.button--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-main {
  padding-top: 18px;
}

.panel,
.panel--soft,
.service-cluster,
.info-panel,
.portfolio-tier-card,
.portfolio-logic-card,
.quote-panel,
.calculator-panel,
.section-card,
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.panel--soft {
  background: var(--surface-soft);
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, .section-title, .page-banner h1 {
  color: #111;
}

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

.site-footer,
.mega-footer,
.mega-footer--compact {
  background: #2a2d33;
  border-top: 1px solid #3a3f48;
}

.footer-link-list a,
.mega-footer-list a,
.compact-footer-links-vertical a,
.mega-footer-bottom a,
.mega-footer-bottom span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-link-list a:hover,
.mega-footer-list a:hover,
.compact-footer-links-vertical a:hover,
.mega-footer-bottom a:hover {
  color: #fff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.05), transparent 14%),
    var(--bg);
}

body.home-page {
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
}

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

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

.site-shell {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-header {
  position: sticky;
  top: 6px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.1fr) minmax(300px, 0.95fr);
  grid-template-areas:
    "brand nav tools"
    "subnav subnav subnav";
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(244, 247, 251, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.24s ease, opacity 0.24s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 14px));
  opacity: 0.98;
}

.brand {
  grid-area: brand;
  display: grid;
  align-items: start;
  gap: 2px;
  min-width: 0;
}

.cabinet-mini-link {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #5d6670;
  border-bottom: 1px dashed rgba(93, 102, 112, 0.45);
  padding-bottom: 2px;
}

.structure-mini-link {
  margin-left: 10px;
  display: inline-flex;
  width: fit-content;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #76808a;
  border-bottom: 1px dashed rgba(118, 128, 138, 0.45);
  padding-bottom: 1px;
}

.structure-mini-link:hover {
  color: var(--accent);
  border-bottom-color: rgba(232, 26, 46, 0.55);
}

.cabinet-mini-link:hover {
  color: var(--accent);
  border-bottom-color: rgba(232, 26, 46, 0.55);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 156px;
  height: auto;
  object-fit: contain;
}

.brand > span:last-child {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  display: none;
}

.brand-note {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.home-page .brand {
  gap: 5px;
}

.home-page .brand-logo {
  width: 244px;
}

.home-page .brand-note {
  font-size: 0.74rem;
  font-weight: 600;
  color: #2a3036;
  max-width: 52ch;
}

.site-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  width: 100%;
  margin-left: 0;
  margin-top: 0;
  overflow: visible;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-link--search {
  border-color: #d8dee6;
  background: #fff;
  color: #2a323c;
  cursor: pointer;
}

.nav-link:hover {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
  transform: translateY(-1px);
}

.nav-link.is-active {
  border-color: #ed1f34;
  color: #fff;
  background: #ed1f34;
}

.site-search-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 16, 22, 0.54);
}

.site-search-modal[hidden] {
  display: none !important;
}

.site-search-modal__dialog {
  width: min(760px, 100%);
  max-height: min(82vh, 780px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #d6dde6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 48px rgba(10, 14, 20, 0.24);
}

.site-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.site-search-modal__head strong {
  font-size: 1rem;
  font-weight: 800;
}

.site-search-modal__close {
  width: 32px;
  height: 32px;
  border: 1px solid #d4dbe3;
  border-radius: 9px;
  background: #fff;
  color: #2b333d;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.site-search-modal__input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cfd7e0;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: #111418;
}

.site-search-modal__input:focus {
  outline: 2px solid rgba(232, 26, 46, 0.22);
  border-color: #e81a2e;
}

.site-search-modal__hint {
  margin-top: 8px;
  color: #5d6672;
  font-size: 0.8rem;
}

.site-search-modal__results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.site-search-result {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #d8dee6;
  border-radius: 10px;
  background: #fff;
}

.site-search-result strong {
  color: #1b222b;
  font-size: 0.92rem;
}

.site-search-result span {
  color: #6a7480;
  font-size: 0.76rem;
}

.site-search-result:hover {
  border-color: #ed1f34;
  background: rgba(237, 31, 52, 0.04);
}

.site-search-modal__empty {
  padding: 12px;
  border: 1px dashed #d1d8e1;
  border-radius: 10px;
  color: #5d6773;
  font-size: 0.88rem;
}

.site-subnav {
  display: flex;
  grid-area: subnav;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding-top: 2px;
}

.nav-link--sub {
  min-width: 0;
  min-height: 26px;
  padding: 4px 9px;
  font-size: 0.72rem;
  color: #4f5964;
  background: #f2f5f9;
  border-color: #d7dde5;
}

.nav-link--sub.is-active {
  border-color: #ed1f34;
  background: rgba(237, 31, 52, 0.09);
  color: #b81224;
}

.nav-link.is-inactive {
  opacity: 0.7;
}

.nav-badge {
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-tools {
  grid-area: tools;
  justify-self: end;
  display: grid;
  align-items: start;
  justify-items: end;
  gap: 2px;
}

.header-quick-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.header-download-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.header-download-row .button {
  min-width: 166px;
}

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

.header-phone--big {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #e81a2e;
  align-self: flex-end;
  margin-right: 0;
  line-height: 1;
}

.header-phone--top {
  width: 100%;
  text-align: right;
  margin-bottom: 1px;
}

.site-header .button {
  padding: 5px 8px;
  font-size: 0.72rem;
}

.button--icon {
  width: 38px;
  min-width: 38px;
  padding: 0;
  justify-content: center;
  border-radius: 9px;
}

.button--telegram {
  border-color: #2aabee;
  color: #0c6ea0;
  background: #eef8ff;
}

.button--telegram:hover {
  border-color: #1b9adb;
  color: #0a5f8b;
  background: #e2f3ff;
}

.button--mail {
  border-color: #cfd5dc;
  color: #2c353f;
  background: #fff;
}

.button--telegram::before,
.button--mail::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.button--telegram::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230c6ea0' d='M22 3 2.9 10.3c-1.3.5-1.3 1.3-.2 1.6l4.9 1.5 1.9 6.1c.2.6.1.8.8.8.5 0 .8-.2 1-.5l2.4-2.3 4.9 3.6c.9.5 1.5.3 1.8-.8L23.7 4c.4-1.3-.5-1.9-1.7-1.4ZM8.4 12.9l10-6.3c.5-.3.9-.1.5.3l-8.3 7.6-.3 3.2-1.9-4.8Z'/%3E%3C/svg%3E");
}

.button--mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232c353f' d='M20 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm0 2v.5l-8 5-8-5V7h16ZM4 17V9.9l7.4 4.6a1 1 0 0 0 1.2 0L20 9.9V17H4Z'/%3E%3C/svg%3E");
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
}

.button--primary {
  border-color: #ed1f34;
  color: #ffffff;
  background: #ed1f34;
}

.button--primary:hover {
  border-color: #c41628;
  background: #c41628;
  color: #ffffff;
}

.button--dark {
  border-color: #d7dde5;
  background: #fff;
  color: #1e252c;
}

.button--dark:hover {
  border-color: #b9c2cd;
  background: #f7f9fc;
  color: #13181e;
}

.button--ghost {
  background: transparent;
}

.button--compact {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 0.78rem;
  border-color: #d4d9df;
  background: #fff;
  color: #2a333d;
}

.button--compact:hover {
  border-color: #ed1f34;
  color: #b81224;
}

.button--compact.button--primary:hover,
.button--download.button--compact:hover {
  border-color: #bf1627;
  background: #bf1627;
  color: #fff;
}

.button--download {
  border-color: #ed1f34;
  color: #fff;
  background: #ed1f34;
}

.button--download:hover {
  border-color: #c41628;
  background: #c41628;
  color: #fff;
}

.page-main {
  display: grid;
  gap: 22px;
  padding-top: 22px;
}

.page-breadcrumbs {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.78rem;
  color: #4b5561;
}

.crumb {
  color: #4b5561;
  border-bottom: 1px dashed rgba(75, 85, 97, 0.32);
}

.crumb:hover {
  color: var(--accent);
  border-bottom-color: rgba(232, 26, 46, 0.4);
}

.crumb.is-current {
  border-bottom: 0;
  color: #1d2430;
  font-weight: 700;
}

.crumb-sep {
  color: #8692a0;
}

.home-page .page-main {
  gap: 30px;
}

.top-logo-bar {
  display: none;
}

.top-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.top-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  min-height: 42px;
}

.top-logo-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.top-logo-copy strong {
  display: none;
}

.top-logo-copy span,
.top-logo-meta {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.top-logo-copy span {
  max-width: 44ch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel--soft {
  background: linear-gradient(180deg, #ffffff, #f7f9fb);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr) minmax(250px, 0.72fr);
  gap: 16px;
  padding: 20px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  max-width: 16ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.section-head h2,
.reviews-title h2 {
  padding-bottom: 8px;
  border-bottom: 2px solid #111418;
}

h3 {
  font-size: 1.15rem;
}

.lead,
.section-intro,
.card p,
.list-block p,
.faq-answer,
.footer-copy {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.chips,
.mini-links,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 22px;
}

.hero--grog3 .hero-actions .button {
  min-height: 54px;
  border-radius: 18px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 700;
}

.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hero-kpi-card {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.hero-kpi-card strong {
  color: #10161d;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-kpi-card span {
  color: #646f7d;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-trustline {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
}

.hero-trustline strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-trustline span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.chips {
  margin-top: 14px;
}

.chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.8rem;
}

.hero--home {
  min-height: calc(100vh - 140px);
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
}

.hero--grog3 {
  border-color: var(--line);
  background:
    radial-gradient(120% 140% at 0% -30%, rgba(232, 26, 46, 0.09), transparent 46%),
    linear-gradient(180deg, #ffffff, #f5f8fc 74%);
  box-shadow: 0 20px 44px rgba(18, 24, 33, 0.12);
}

.hero--home h1 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  letter-spacing: -0.03em;
  padding-left: 0;
  border-left: 0;
  line-height: 1.12;
}

.hero--grog3 .eyebrow {
  color: rgba(232, 26, 46, 0.92);
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  margin-bottom: 14px;
}

.hero--grog3 h1 {
  color: #12171d;
  font-size: clamp(2.6rem, 4.9vw, 5.1rem);
  line-height: 1.03;
  max-width: 12ch;
  text-wrap: pretty;
}

.hero--grog3 .lead {
  color: #5a6370;
  font-size: clamp(1.03rem, 1.48vw, 1.25rem);
  line-height: 1.58;
  max-width: 48ch;
}

.hero-copy-compact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.hero-copy-compact .lead {
  max-width: 56ch;
  margin: 0;
  font-size: 1.02rem;
}

.hero-core-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-core-services span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f7f8fa);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.home-page .section-head .section-intro {
  max-width: 48ch;
}

.hero-media {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid #20252c;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, #181d22, #101419);
  box-shadow: 0 26px 42px rgba(0, 0, 0, 0.18);
}

.hero--grog3 .hero-media {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: 0 18px 36px rgba(18, 24, 33, 0.12);
}

.hero--grog3 .hero-media-head {
  color: #6b7482;
}

.hero--grog3 .hero-video-teaser {
  border-color: #d6dde7;
  background: #fff;
}

.hero--grog3 .hero-video-teaser strong {
  color: #141a20;
}

.hero--grog3 .hero-video-teaser span:last-child {
  color: #5c6673;
}

.hero--grog3 .hero-media-frame {
  border-color: #d6dde7;
}

.hero--grog3 .hero-media-note {
  border-color: #cfd6e0;
  background: rgba(255, 255, 255, 0.9);
  color: #12171d;
}

.hero--grog3 .hero-media-note span {
  color: #5f6874;
}

.hero-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-video-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-clients {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.hero-clients-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-clients-head strong {
  color: #222a33;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-clients-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-clients-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #ced5de;
  border-radius: 8px;
  background: #fff;
  color: #212932;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.hero-clients-arrow[hidden] {
  display: none;
}

.hero-clients-arrow:hover {
  border-color: #ed1f34;
  color: #b81224;
}

.hero-clients-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-clients-track::-webkit-scrollbar {
  display: none;
}

.hero-client-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d4dae2;
  border-radius: 10px;
  background: #fff;
  color: #202832;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-clients--cycle {
  margin-top: 12px;
}

.hero-video-teaser {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-video-teaser:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 26, 46, 0.38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.hero-video-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  min-height: 34px;
  border: 1px solid rgba(232, 26, 46, 0.25);
  border-radius: 10px;
  background: rgba(232, 26, 46, 0.06);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-video-teaser strong {
  font-size: 0.96rem;
  line-height: 1.25;
  color: #fff;
}

.hero-video-teaser span:last-child {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-media-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #e4e9ef;
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(20, 24, 29, 0.62);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-media-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.hero-media-note span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-proof {
  display: grid;
  gap: 10px;
  align-content: start;
}

.proof-card {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.proof-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.proof-card p,
.proof-card ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.proof-card ul {
  padding-left: 18px;
}

.proof-card--cta {
  background: linear-gradient(180deg, #fff, #f7f9fb);
}

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

.review-inline {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.video-reviews {
  display: grid;
  gap: 18px;
}

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

.video-review-single {
  display: flex;
  justify-content: center;
}

.video-review-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.05);
}

.video-review-card iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.video-review-copy {
  padding: 12px 14px 14px;
}

.video-review-copy h3 {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.05rem;
}

.video-review-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-video-wall {
  display: grid;
  gap: 16px;
}

.video-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.video-wall-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 21, 28, 0.06);
  cursor: pointer;
}

.video-wall-item video {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  object-fit: cover;
  background: #111;
}

.video-wall-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 0%, rgba(8, 10, 14, 0.86) 60%);
  color: #fff;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.video-wall-item:hover .video-wall-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.video-wall-overlay h3 {
  font-size: 0.96rem;
  line-height: 1.2;
}

.video-wall-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  line-height: 1.4;
}

.video-wall-open {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 11, 16, 0.78);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__dialog {
  position: relative;
  width: min(90vw, 800px);
  border: 1px solid #2d3641;
  border-radius: 12px;
  background: #0c1016;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.video-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(17, 21, 28, 0.85);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__meta {
  padding: 10px 12px 12px;
  display: grid;
  gap: 4px;
}

.video-modal__meta strong {
  color: #fff;
  font-size: 0.98rem;
}

.video-modal__meta span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

@media (max-width: 1200px) {
  .video-wall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .video-wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .video-wall-grid {
    grid-template-columns: 1fr;
  }
}

.reviews-title {
  align-items: start;
}

.review-inline p {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.6;
}

.review-inline footer {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-service-links {
  display: grid;
  gap: 8px;
}

.hero-service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
}

.hero-service-links a span:last-child {
  color: var(--accent);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hash-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8f9fb);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1;
  transition: 0.2s ease;
}

.hash-tag:hover {
  border-color: rgba(232, 26, 46, 0.28);
  color: var(--accent);
  background: rgba(232, 26, 46, 0.05);
}

.visual-accent {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visual-tile {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(232, 26, 46, 0.08), transparent 52%),
    linear-gradient(180deg, #ffffff, #f6f8fb);
}

.visual-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.visual-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-side {
  display: grid;
  gap: 12px;
}

.stat-box,
.case-box,
.list-block,
.card,
.faq,
.portfolio-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card,
.list-block,
.case-box,
.portfolio-card,
.stat-box,
.proof-card,
.hero-kpi {
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 800;
}

.section {
  padding: 26px;
}

.home-page .section {
  padding: 32px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-head--top {
  align-items: flex-start;
}

.home-page .section-head {
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.home-page .section--cycle {
  padding-top: 20px;
  padding-bottom: 26px;
}

.home-page .section--cycle .section-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  display: block;
}

.home-page .section--cycle .section-head .section-intro {
  margin-top: 8px;
  max-width: 78ch;
}

.team-metrics-line--top {
  margin-top: 10px;
  margin-bottom: 0;
}

.home-page .section--next-step {
  padding-top: 24px;
  background: linear-gradient(180deg, rgba(232, 26, 46, 0.04), transparent 64%);
}

.section-head p {
  margin: 0;
  max-width: 52ch;
}

.home-page .grid-3 .card,
.home-page .grid-4 .case-box {
  min-height: 100%;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 14px;
}

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

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

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

.card-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-index,
.card-tag {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card ul,
.list-block ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.accent-line {
  height: 3px;
  width: 58px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: var(--accent);
}

.case-box--featured {
  background:
    linear-gradient(180deg, rgba(197, 53, 42, 0.06), transparent 48%),
    #fff;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: #fff;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.faq-question span:last-child {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question {
  background: rgba(197, 53, 42, 0.04);
}

.portfolio-card {
  display: grid;
  gap: 10px;
}

.portfolio-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  margin-top: 22px;
  padding: 22px 26px;
}

.accent-line,
.eyebrow {
  filter: saturate(1.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

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

.footer-links a {
  color: var(--muted);
}

.site-footer--main {
  display: grid;
  gap: 22px;
}

.footer-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.footer-proof-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
}

.footer-proof-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 800;
}

.footer-proof-card span {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-proof-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
}

.footer-column {
  display: grid;
  gap: 16px;
}

.footer-contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 10px solid var(--accent);
  border-radius: 16px;
  background: #fff;
}

.footer-contact-box h3,
.footer-nav-box h3,
.footer-map-box h3 {
  margin: 0 0 16px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.footer-phone-big {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer-contact-line {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.footer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-contact-actions .button {
  min-width: 190px;
}

.footer-mini-note {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: #fdf2f3;
  color: var(--text);
}

.footer-mini-note p {
  margin: 0;
  line-height: 1.55;
}

.footer-nav-box,
.footer-map-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

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

.footer-link-columns strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-link-list {
  display: grid;
  gap: 8px;
}

.footer-link-list a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.mega-footer {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #4b5057 0%, #3f4349 100%);
  border: 1px solid #5b6067;
  box-shadow: 0 24px 60px rgba(16, 22, 29, 0.18);
}

.mega-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(232, 26, 46, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(82, 88, 96, 0.98), rgba(61, 65, 71, 0.98));
  border-bottom: 1px solid #5d6269;
}

.mega-footer-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mega-footer-copy .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.mega-footer-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  color: #fff;
}

.mega-footer-copy p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.mega-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.mega-footer-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mega-footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 14px 16px;
  border: 1px solid #676c73;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 800;
}

.mega-footer-telegram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1f9bd1;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.mega-footer-phone {
  display: inline-block;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mega-footer-meta {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #676c73;
  border-radius: 12px;
  background: rgba(26, 30, 35, 0.18);
}

.mega-footer-meta span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mega-footer-meta--single strong {
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.mega-footer-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mega-footer-quicklinks a {
  padding: 8px 11px;
  border: 1px solid #676c73;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
}

.mega-footer-quicklinks a:hover {
  border-color: rgba(232, 26, 46, 0.7);
  color: #fff;
}

.mega-footer-grid {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.85fr)
    minmax(0, 0.95fr)
    minmax(0, 0.95fr)
    minmax(0, 0.95fr)
    minmax(420px, 1.35fr);
  gap: 0;
  background: #43484e;
}

.mega-footer-brand,
.mega-footer-col,
.mega-footer-map {
  padding: 24px 26px 28px;
}

.mega-footer-col,
.mega-footer-map {
  border-left: 1px solid #5d6269;
}

.mega-footer-brand {
  display: grid;
  gap: 14px;
}

.mega-footer-brand .brand-title,
.mega-footer-brand .brand-note {
  color: #fff;
}

.mega-footer-brand .brand-note {
  max-width: 28ch;
}

.mega-footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.mega-footer-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mega-footer-chip {
  padding: 8px 10px;
  border: 1px solid #666b73;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}

.mega-footer-col h3,
.mega-footer-map h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.mega-footer-list {
  display: grid;
  gap: 9px;
}

.mega-footer-list a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.mega-footer-list a:hover {
  color: #fff;
}

.mega-footer-contact-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.mega-footer-contact-list a,
.mega-footer-contact-list span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.6;
}

.mega-footer-contact-phone {
  color: #fff !important;
  font-size: 1.22rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mega-footer-map-frame {
  overflow: hidden;
  border: 1px solid #666b73;
  border-radius: 10px;
}

.mega-footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.mega-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 26px 22px;
  border-top: 1px solid #5d6269;
  background: #353a40;
}

.mega-footer-bottom span,
.mega-footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.mega-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-banner {
  padding: 24px 26px;
}

.page-banner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.page-banner-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.page-banner h1 {
  max-width: 19ch;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  padding-left: 0;
  border-left: 0;
  line-height: 1.12;
}

.page-banner .lead {
  max-width: 64ch;
  margin-top: 14px;
}

.page-banner-copy .lead {
  margin-top: 0;
}

.page-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-meta-pill {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
}

.simple-list {
  display: grid;
  gap: 12px;
}

.simple-list .list-block {
  padding: 16px 18px;
}

.muted-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.contact-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.contact-link--phone {
  color: #111418;
  min-width: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 0;
  background: transparent;
  min-height: auto;
  padding: 0;
}

/* Global shape tuning: less rounded, cleaner B2B geometry */
.hero-media,
.hero-media-frame,
.hero-media-note,
.proof-card,
.video-review-card,
.card,
.portfolio-card,
.case-box,
.list-block,
.faq-item,
.quote-panel,
.page-meta-pill,
.benchmark-card,
.calculator-panel,
.calc-result,
.portfolio-showcase-card,
.agency-hero-card,
.about-trust-card,
.contact-card,
.contact-info-card {
  border-radius: 8px !important;
}

.contact-link[href*="t.me"] {
  width: 38px;
  min-width: 38px;
  padding: 0;
  font-size: 0;
}

.contact-link[href*="t.me"]::before {
  content: "";
  width: 17px;
  height: 17px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.contact-link[href*="t.me"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b343f' d='M22 3 2.9 10.3c-1.3.5-1.3 1.3-.2 1.6l4.9 1.5 1.9 6.1c.2.6.1.8.8.8.5 0 .8-.2 1-.5l2.4-2.3 4.9 3.6c.9.5 1.5.3 1.8-.8L23.7 4c.4-1.3-.5-1.9-1.7-1.4ZM8.4 12.9l10-6.3c.5-.3.9-.1.5.3l-8.3 7.6-.3 3.2-1.9-4.8Z'/%3E%3C/svg%3E");
}

.contact-link[href^="mailto:"] {
  min-width: 175px;
  justify-content: center;
}

.mega-footer--compact {
  /* PRESET A: graphite lighter */
  background: #4a4f56;
  border: 1px solid #666c74;
  padding: 0;
}

.compact-footer {
  display: grid;
  gap: 0;
}

.compact-footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(520px, 1.5fr) minmax(300px, 0.9fr);
  gap: 20px;
  padding: 34px 30px;
  border-bottom: 1px solid #707780;
}

.compact-footer-contacts {
  display: grid;
  gap: 10px;
  align-content: start;
}

.compact-footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compact-footer-contact-row a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.compact-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compact-contact-link .cc-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0.88;
}

.compact-footer-address {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.87rem;
  line-height: 1.45;
}

.compact-footer-address a {
  margin-left: 8px;
  color: #fff;
  text-decoration: underline;
}

.mega-footer--compact .footer-phone-big {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
}

.compact-footer-links-wrap {
  display: block;
}

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

.compact-footer-links-vertical {
  display: grid;
  gap: 8px;
  align-content: start;
}

.compact-footer-col-title {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 4px;
}

.compact-footer-links-vertical a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.compact-footer-links-vertical a:hover {
  color: #fff;
  text-decoration: underline;
}

.compact-footer-bottom {
  padding: 16px 30px 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  line-height: 1.45;
}

.compact-footer-map-small {
  border: 1px solid #727982;
  border-radius: 10px;
  overflow: hidden;
  min-height: 210px;
  background: #3c424a;
}

.compact-footer-map-small iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 0;
}

@media (max-width: 1200px) {
  .compact-footer-top {
    grid-template-columns: 1fr;
  }

  .compact-footer-links-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 740px) {
  .compact-footer-links-columns {
    grid-template-columns: 1fr;
  }
}

.header-tools .button {
  justify-self: end;
  min-height: 32px;
  padding: 7px 12px;
  font-size: 0.8rem;
}

.portfolio-hero {
  padding: 28px 30px;
}

.portfolio-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.portfolio-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.portfolio-hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.15rem, 3.7vw, 3.5rem);
  line-height: 1.12;
}

.portfolio-hero-copy .lead {
  max-width: 64ch;
  margin: 0;
}

.portfolio-hero-side {
  display: grid;
  gap: 12px;
}

.portfolio-featured {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 21, 28, 0.05);
}

.portfolio-featured--dark {
  border-color: #252a31;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, #171b20, #0f1317);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.portfolio-featured-media {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(232, 26, 46, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff, #edf1f5);
  color: #7b8590;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-featured--dark .portfolio-featured-media {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(180deg, #0f1317, #161b20);
  color: rgba(255, 255, 255, 0.54);
}

.portfolio-featured-copy {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.portfolio-featured-copy strong {
  display: block;
  font-size: 1rem;
}

.portfolio-featured-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.portfolio-featured--dark .portfolio-featured-copy strong {
  color: #fff;
}

.portfolio-featured--dark .portfolio-featured-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-featured-tags span,
.portfolio-filter-chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.portfolio-featured--dark .portfolio-featured-tags span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.76);
}

.portfolio-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-filter-chip.is-active {
  border-color: rgba(232, 26, 46, 0.35);
  background: #fff5f6;
  color: var(--accent);
}

.portfolio-catalog-group + .portfolio-catalog-group {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.portfolio-catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.portfolio-catalog-head h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.portfolio-catalog-note {
  color: var(--muted);
  font-size: 0.86rem;
  text-align: right;
}

.portfolio-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-showcase-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.portfolio-showcase-card.is-featured {
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.04), transparent 34%),
    #fff;
}

.portfolio-showcase-media {
  min-height: 176px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(232, 26, 46, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff, #eef2f6);
  color: #7e8892;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-showcase-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}

.portfolio-showcase-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.portfolio-showcase-body h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.portfolio-showcase-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.agency-hero {
  padding: 30px 30px 26px;
}

.agency-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.agency-hero-copy {
  display: grid;
  gap: 14px;
}

.agency-hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 4.3vw, 4.2rem);
  letter-spacing: -0.04em;
  padding-left: 0;
  border-left: 0;
  line-height: 1.12;
}

.agency-hero-copy .lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1rem;
}

.agency-hero-side {
  display: grid;
  gap: 12px;
}

.agency-hero-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.05);
}

.agency-hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.agency-hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.agency-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.agency-signal {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.agency-signal strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agency-signal span {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.about-hero {
  padding: 30px;
}

.about-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 18px;
  align-items: stretch;
}

.about-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.about-hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.3vw, 4rem);
  letter-spacing: -0.04em;
  padding-left: 0;
  border-left: 0;
  line-height: 1.12;
}

.about-hero-copy .lead {
  max-width: 62ch;
  margin: 0;
  font-size: 1rem;
}

.about-wide-photo {
  min-height: 300px;
}

.wide-photo-panel {
  min-height: 320px;
  display: grid;
  align-content: end;
  padding: 26px;
  border: 1px dashed rgba(232, 26, 46, 0.35);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232, 26, 46, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff, #f5f7fa);
}

.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-trust-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.about-trust-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 800;
}

.about-trust-card span {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.about-trust-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

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

.contact-shell--split {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 12px solid var(--accent);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 21, 28, 0.06);
}

.contact-card--minimal {
  border-left-width: 6px;
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.04), transparent 30%),
    #fff;
}

.contact-heading {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.contact-label {
  display: block;
  margin-bottom: 10px;
  color: #7a838d;
  font-size: 0.83rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-phone-big {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-mail {
  display: inline-block;
  color: var(--accent);
  font-size: 1.28rem;
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.contact-actions .button {
  min-width: 210px;
}

.worktime-box {
  margin: 0 0 22px;
  padding: 15px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: #fdf2f3;
  color: var(--text);
}

.worktime-box p {
  margin: 0;
  line-height: 1.55;
}

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

.contact-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.contact-icon-link:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 26, 46, 0.24);
  color: var(--accent);
  background: rgba(232, 26, 46, 0.04);
}

.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 21, 28, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-side {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.map-frame--compact iframe {
  height: 220px;
}

.contact-info-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.05);
}

.contact-info-card strong {
  color: var(--text);
  font-size: 1.08rem;
}

.contact-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.banner-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.banner-visual {
  min-height: 100%;
}

.banner-visual--dark,
.private-hero-card--dark {
  border-color: #252a31;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(180deg, #171b20, #0f1317);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

.banner-visual--dark .placeholder-label,
.private-hero-card--dark .placeholder-label {
  color: rgba(255, 255, 255, 0.42);
}

.banner-visual--dark strong,
.private-hero-card--dark strong {
  color: #fff;
}

.banner-visual--dark p,
.private-hero-card--dark p {
  color: rgba(255, 255, 255, 0.74);
}

.banner-cta-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.05);
}

.banner-cta-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.banner-cta-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.banner-cta-card .cta-cluster {
  margin-top: 6px;
}

.banner-cta-card--dark {
  border-color: #252a31;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, #171b20, #0f1317);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.banner-cta-card--dark strong {
  color: #fff;
}

.banner-cta-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.private-page .page-main {
  gap: 24px;
}

.private-hero {
  padding: 34px 34px 28px;
}

.private-hero-copy {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.private-hero-copy h1 {
  max-width: 18ch;
  padding-left: 0;
  border-left: 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.private-hero-copy .lead {
  max-width: 70ch;
  margin: 0;
  font-size: 1.02rem;
}

.private-hero-copy .muted-note {
  max-width: 62ch;
}

.private-hero .page-meta-strip,
.private-hero .cta-cluster {
  justify-content: center;
}

.private-hero-stage {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 0.92fr) minmax(220px, 0.8fr);
  gap: 14px;
  margin-top: 24px;
  align-items: stretch;
}

.private-hero-card {
  min-height: 260px;
}

.private-center-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.05), transparent 36%),
    #fff;
  box-shadow: 0 12px 28px rgba(16, 21, 28, 0.05);
}

.private-center-card strong {
  display: block;
  font-size: 1.06rem;
}

.private-center-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.private-center-card--dark {
  border-color: #252a31;
  background:
    radial-gradient(circle at top, rgba(232, 26, 46, 0.24), transparent 34%),
    linear-gradient(180deg, #171b20, #0f1317);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.24);
}

.private-center-card--dark strong {
  color: #fff;
}

.private-center-card--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.private-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.private-mini-metric {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.private-mini-metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 1.2rem;
}

.private-mini-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.private-center-card--dark .private-mini-metric {
  border-color: #2f343b;
  background: rgba(255, 255, 255, 0.04);
}

.private-center-card--dark .private-mini-metric span {
  color: rgba(255, 255, 255, 0.72);
}

.private-hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.private-thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.thesis-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.thesis-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.thesis-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.private-page .section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  letter-spacing: -0.03em;
}

.private-page .section-intro,
.private-page .story-copy p,
.private-page .list-block p,
.private-page .card p,
.private-page .faq-answer {
  font-size: 0.98rem;
}

.strategy-panel {
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.04), transparent 22%),
    #fff;
}

.strategy-panel .section-head {
  align-items: start;
}

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

.strategy-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8f9fb);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.strategy-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strategy-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.benchmark-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.benchmark-card strong {
  color: var(--text);
  font-size: 0.98rem;
}

.benchmark-card span {
  color: var(--accent);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.benchmark-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.calculator-panel,
.calculator-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 12px 28px rgba(16, 21, 28, 0.05);
}

.calculator-summary {
  position: sticky;
  top: 16px;
  background:
    radial-gradient(circle at top, rgba(232, 26, 46, 0.08), transparent 34%),
    linear-gradient(180deg, #fff, #f8fafc);
}

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

.calc-field {
  display: grid;
  gap: 10px;
}

.calc-field--wide {
  grid-column: 1 / -1;
}

.calc-field label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.calc-field select,
.calc-field input[type="range"] {
  width: 100%;
}

.calc-field select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
}

.calc-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.calc-value-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calc-value-line strong {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.calc-value-line span {
  color: var(--muted);
  font-size: 0.84rem;
}

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

.calc-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.calc-option-row input {
  accent-color: var(--accent);
}

.calc-caption {
  display: inline-block;
  margin-bottom: 8px;
  color: #7a838d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-price-large {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.calc-summary-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.calc-market-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(232, 26, 46, 0.16);
  border-radius: 12px;
  background: rgba(232, 26, 46, 0.04);
}

.calc-market-range span {
  color: var(--muted);
  font-size: 0.86rem;
}

.calc-market-range strong {
  color: var(--accent);
  font-size: 1rem;
}

.calc-includes {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.calc-includes strong {
  color: var(--text);
  font-size: 0.98rem;
}

.calc-includes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.calc-summary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.calc-summary-links a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.strategy-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.story-copy {
  display: grid;
  gap: 16px;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quote-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(232, 26, 46, 0.04), #fff 42%);
}

.quote-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.96rem;
}

.quote-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.placeholder-frame {
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: 22px;
  border: 1px dashed rgba(232, 26, 46, 0.4);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(232, 26, 46, 0.06), transparent 42%),
    linear-gradient(180deg, #ffffff, #f5f7fa);
}

.placeholder-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(232, 26, 46, 0.18);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-frame strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.placeholder-frame p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 800;
}

.metric-card span {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.format-card {
  display: grid;
  gap: 12px;
}

.format-card p {
  margin: 0;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.detail-list span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  background: linear-gradient(180deg, #fff, #f8f9fb);
}

.service-note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: #fff;
}

.service-note p {
  margin: 0;
}

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

.process-step {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.process-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(232, 26, 46, 0.1);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.process-step p {
  margin: 10px 0 0;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cta-inline .button {
  min-width: 220px;
}

.cta-inline--cycle {
  margin-top: 8px;
  justify-content: flex-start;
}

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

.placeholder-gallery .placeholder-frame {
  min-height: 240px;
}

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

.blog-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.blog-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 8px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #d8dee6;
  background: #fff;
  color: #3f4a57;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.article-hero {
  padding: 32px;
}

.article-hero .article-crumbs-inline {
  font-size: 0.82em;
  color: #999;
  margin: 0 0 20px 0;
}

.article-hero .article-crumbs-inline a {
  color: #999;
  text-decoration: none;
}

.article-hero .article-crumbs-inline a:hover {
  color: var(--accent);
}

.article-hero .article-meta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #dee2e6;
}

.article-hero .article-meta-pill {
  background: #fdf0f1;
  color: #e81a2e;
  font-size: 0.8em;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.article-hero .article-meta-inline span {
  color: #8f8f8f;
  font-size: 0.88em;
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.58fr);
  gap: 18px;
  align-items: start;
}

.article-main {
  display: grid;
  gap: 16px;
}

.article-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.article-h2-accent {
  margin-top: 0;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.article-section p,
.article-section li {
  color: var(--muted);
  line-height: 1.72;
}

.article-section p:last-child,
.article-section ul:last-child {
  margin-bottom: 0;
}

.article-main .article-section:first-child > h2:first-of-type {
  color: #e81a2e;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  margin-top: 0;
  margin-bottom: 0.75em;
  line-height: 1.08;
  border-bottom: 2px solid #000;
  padding-bottom: 0.3em;
}

.article-cta-panel {
  background: linear-gradient(180deg, #fff, var(--accent-soft));
  border-color: #f2c8cf;
}

.article-links-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.article-links-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #e5e9ef;
  border-radius: 9px;
  background: #fff;
  color: #2f3842;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.article-links-grid a:hover {
  border-color: #ed1f34;
  color: #b81224;
}

.article-aside {
  display: grid;
  gap: 14px;
}

.article-aside-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.04);
}

.article-aside-card strong {
  display: block;
  margin-bottom: 8px;
}

.article-aside-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.45;
}

.table th {
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.article-related .mini-links {
  margin-top: 10px;
}

.mini-links--stack {
  display: grid;
  gap: 8px;
}

.team-preview-section {
  background:
    linear-gradient(180deg, rgba(232, 26, 46, 0.045), transparent 26%),
    #fff;
}

.team-metrics-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.team-metric-pill {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f8f9fb);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

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

.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101419;
  aspect-ratio: 16 / 10;
  box-shadow: 0 14px 28px rgba(16, 21, 28, 0.12);
  transform: translateY(0);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.team-card:hover,
.team-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232, 26, 46, 0.42);
  box-shadow: 0 18px 34px rgba(16, 21, 28, 0.2);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.team-card:hover img,
.team-card:focus-visible img {
  transform: scale(1.03);
}

.team-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 7px;
  padding: 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 11, 15, 0), rgba(8, 11, 15, 0.86) 30%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.18), rgba(8, 11, 15, 0.18));
}

.team-card-overlay strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.team-card-overlay span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 32ch;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.24s ease,
    max-height 0.24s ease;
}

.team-card:hover .team-card-overlay span,
.team-card:focus-visible .team-card-overlay span {
  opacity: 1;
  max-height: 120px;
}

.team-card-overlay em {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.team-profile-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 10px 24px rgba(16, 21, 28, 0.05);
}

.team-profile-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.team-profile-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.62;
}

.team-profile-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1040px) {
  .site-header,
  .footer-grid,
  .footer-proof-grid,
  .footer-main-grid,
  .footer-link-columns,
  .mega-footer-top,
  .review-strip,
  .video-review-grid,
  .visual-accent,
  .hero-video-strip,
  .blog-grid,
  .placeholder-gallery,
  .metrics-row,
  .process-steps,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

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

  .team-profile-grid {
    grid-template-columns: 1fr;
  }

  .page-banner--split {
    grid-template-columns: 1fr;
  }

  .private-hero-stage,
  .private-mini-metrics,
  .private-thesis-grid,
  .agency-signal-grid,
  .about-trust-grid,
  .strategy-grid,
  .pricing-benchmark-grid,
  .calc-options-grid,
  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .agency-hero-top {
    grid-template-columns: 1fr;
  }

  .about-hero-top {
    grid-template-columns: 1fr;
  }

  .contact-shell--split,
  .contact-side,
  .portfolio-hero-layout,
  .portfolio-catalog-grid,
  .article-layout,
  .calculator-fields {
    grid-template-columns: 1fr;
  }

  .article-links-grid {
    grid-template-columns: 1fr;
  }

  .video-review-single {
    display: block;
  }

  .portfolio-catalog-head {
    align-items: start;
    flex-direction: column;
  }

  .mega-footer-grid {
    grid-template-columns: 1fr;
  }

  .mega-footer-col,
  .mega-footer-map {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-clients-head strong {
    font-size: 0.76rem;
    letter-spacing: 0.09em;
  }

  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "subnav"
      "tools";
    gap: 4px;
    padding: 8px 10px;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .header-tools {
    justify-self: center;
    gap: 6px;
  }

  .site-subnav {
    display: none;
  }

  .header-quick-links {
    justify-content: center;
  }

  .compact-footer-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .compact-footer-map-small {
    min-height: 190px;
  }

  .contact-links {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .header-tools .button {
    justify-self: center;
  }

  .hero-media-frame {
    min-height: 300px;
  }

  .video-review-card iframe {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(var(--content), calc(100% - 20px));
    padding-top: 10px;
  }

  .site-header {
    padding: 8px 10px;
  }

  .hero,
  .section,
  .site-footer,
  .page-banner {
    padding: 16px;
  }

  .hero--grog3 h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .hero--grog3 .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero-kpi-grid {
    grid-template-columns: 1fr;
  }

  .hero-clients {
    padding: 9px 10px;
  }

  .hero-client-pill {
    min-height: 32px;
    font-size: 0.75rem;
    padding: 0 10px;
  }

  .header-quick-links {
    display: none;
  }

  .header-tools {
    justify-self: center;
    gap: 6px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .team-card {
    aspect-ratio: 16 / 11;
  }

  .team-card-overlay {
    padding: 10px;
    gap: 5px;
  }

  .team-card-overlay span {
    opacity: 1;
    max-height: 80px;
    font-size: 0.74rem;
  }

  .team-card-overlay strong {
    font-size: 0.84rem;
  }

  .top-logo-bar {
    padding: 6px 2px 0;
    flex-direction: column;
    align-items: start;
  }
}
