:root {
  --bg: #06111f;
  --bg-2: #08182b;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: #f3f3f5;
  --muted: #b6b7be;
  --gold: #d7b14a;
  --gold-2: #f2d57a;
  --gold-3: #b98015;
  --stroke: rgba(255, 215, 130, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.55);
  --radius: 24px;
  --container: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input { font: inherit; }

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(215, 177, 74, 0.15), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(215, 177, 74, 0.08), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(215, 177, 74, 0.08), transparent 25%),
    linear-gradient(180deg, #06111f 0%, #0a1a30 48%, #06111f 100%);
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
}

.site-bg::before {
  width: 220px;
  height: 220px;
  left: 8%;
  top: 22%;
  background: rgba(215, 177, 74, 0.12);
  animation: floatGlow 12s ease-in-out infinite;
}

.site-bg::after {
  width: 280px;
  height: 280px;
  right: 6%;
  bottom: 18%;
  background: rgba(215, 177, 74, 0.08);
  animation: floatGlow 16s ease-in-out infinite reverse;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section { padding: 104px 0; position: relative; }
.section--accent {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

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

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 22px rgba(0,0,0,0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand__text span {
  font-size: 12px;
  color: var(--muted);
}

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

.nav a {
  color: #dfdfe4;
  font-size: 15px;
  transition: color .25s ease, transform .25s ease;
}

.nav a:hover,
.footer__links a:hover {
  color: var(--gold-2);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, #b67e12 0%, #d7b14a 40%, #f2d57a 100%);
  color: #16120a;
  box-shadow: 0 12px 34px rgba(215, 177, 74, 0.22);
}

.btn--dark {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  padding: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 56px;
}

.hero__video,
.hero__overlay,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(26,32,52,0.30) 0%, rgba(26,32,52,0.68) 42%, rgba(26,32,52,0.94) 100%),
    radial-gradient(circle at 50% 28%, rgba(215,177,74,0.16), transparent 24%);
}

.hero__grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

.hero__inner {
  display: grid;
  gap: 34px;
}

.hero__content {
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--gold-2);
  background: rgba(215, 177, 74, 0.08);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.03;
  margin: 22px 0 22px;
  max-width: 980px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.hero__lead,
.section-head p,
.glass-card p,
.service-card p,
.timeline__item p,
.feature-panel__box p,
.footer__text,
.note,
.split-block p,
.case-card p,
.review-card span,
.work-highlight__content p,
.stat-card span {
  color: var(--muted);
}

.hero__lead {
  font-size: 19px;
  max-width: 780px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.stat-card,
.glass-card,
.service-card,
.timeline__item,
.feature-panel__box,
.benefit-item,
.case-card,
.review-card,
.work-highlight {
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

.stat-card,
.glass-card,
.service-card,
.feature-panel__box,
.case-card,
.review-card,
.work-highlight { padding: 28px; }

.stat-card,
.glass-card,
.service-card,
.benefit-item,
.timeline__item,
.feature-panel__box,
.case-card,
.review-card,
.work-highlight { border-radius: var(--radius); }

.stat-card {
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.stat-card--glow::after,
.glass-card--rich::after,
.service-card::after,
.case-card::after,
.work-highlight::after {
  content: "";
  position: absolute;
  top: -44px;
  right: -26px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,177,74,0.18), transparent 70%);
  pointer-events: none;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
}

.section-layout {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 32px;
}

.section-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: start;
  position: sticky;
  top: 110px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.28em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(242, 213, 122, 0.7);
  padding-left: 8px;
}

.section-main { min-width: 0; }

.section-head {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head--leftwide {
  max-width: 980px;
  margin-left: 0;
  text-align: left;
}

.section-head--compact { margin-bottom: 18px; }

.about-showcase {
  display: block;
}


.about-grid,
.services-grid,
.benefits-grid,
.cases-grid,
.reviews-grid {
  display: grid;
  gap: 22px;
}

.about-grid { grid-template-columns: repeat(3, 1fr); }
.about-grid--single { grid-template-columns: repeat(3, 1fr); }
.services-grid { grid-template-columns: repeat(2, 1fr); }
.benefits-grid { grid-template-columns: repeat(3, 1fr); }
.cases-grid { grid-template-columns: 1.2fr 1fr 1fr; }
.reviews-grid { grid-template-columns: repeat(3, 1fr); }

.glass-card,
.service-card,
.case-card,
.review-card,
.work-highlight,
.magnetic-card {
  position: relative;
  overflow: hidden;
}

.magnetic-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  transform-style: preserve-3d;
}

.magnetic-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: rgba(242,213,122,0.22);
}

.service-card__num,
.benefit-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(215,177,74,0.12);
  border: 1px solid var(--stroke);
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 700;
}

.benefit-item { padding: 24px; }
.benefit-item p { margin: 0; color: #ebebee; }

.image-stack {
  position: relative;
  min-height: 100%;
  border-radius: 28px;
}

.image-stack__main,
.image-stack__small {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.image-stack__main {
  height: 100%;
  min-height: 420px;
}

.image-stack__main img,
.image-stack__small img,
.case-card--image > img,
.work-highlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-stack__small {
  position: absolute;
  right: -20px;
  bottom: -22px;
  width: 48%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
}

.case-card__meta {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.case-card__content,
.work-highlight__content {
  position: relative;
  z-index: 2;
}

.case-card--wide {
  grid-row: span 2;
  min-height: 100%;
}

.case-card--image {
  padding: 0;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.case-card--image > img {
  position: absolute;
  inset: 0;
}

.case-card--image::before,
.work-highlight__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,9,0.02) 8%, rgba(7,7,9,0.82) 100%);
  z-index: 1;
}

.case-card--image .case-card__content {
  padding: 28px;
  width: 100%;
}

.review-card p {
  font-size: 18px;
  color: #efeff2;
  margin-bottom: 22px;
}

.review-card strong {
  display: block;
  color: var(--gold-2);
  margin-bottom: 6px;
}

.reviews-combo {
  display: grid;
  gap: 22px;
}

.work-highlight {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  padding: 0;
}

.work-highlight__media {
  position: relative;
  min-height: 320px;
}

.work-highlight__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.process-section {
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(215,177,74,0.14), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  pointer-events: none;
}

.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.process-intro__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-2);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.process-intro__head h2 {
  margin-bottom: 0;
}

.process-intro__text {
  max-width: 320px;
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(223, 223, 228, 0.62);
}

.process-road {
  position: relative;
  z-index: 1;
  margin: -18px 0 26px;
  pointer-events: none;
}

.process-road__path {
  width: min(100%, 1030px);
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 0 28px rgba(215,177,74,0.15));
  opacity: .96;
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.process-grid__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
}

.process-grid__arrow img {
  width: 60px;
  height: auto;
  display: block;
  opacity: .9;
}

.process-card {
  min-height: 430px;
  padding: 24px 0px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(16, 20, 35, 0.95), rgba(10, 12, 22, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(215,177,74,0.09), transparent 48%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.36),
    inset 0 1px 0 rgba(255,255,255,0.05);
  text-align: center;
}

.process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(215,177,74,0.24);
  background: rgba(215,177,74,0.06);
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.process-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 24px;
}

.process-card__icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

.process-card h3 {
  font-size: clamp(16px, 2vw, 16px);
  margin-bottom: 12px;
}

.process-card__line {
  width: 66px;
  height: 3px;
  border-radius: 999px;
  display: block;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, rgba(215,177,74,0.4), rgba(242,213,122,1), rgba(215,177,74,0.4));
  box-shadow: 0 0 18px rgba(215,177,74,0.22);
}

.process-card p {
  margin: 0;
  color: rgba(223,223,228,0.72);
  font-size: 14px;
  line-height: 1.55;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.timeline__item { padding: 24px; }
.timeline__item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: 18px;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 30px;
  align-items: center;
}

.split-block--reverse { grid-template-columns: .9fr 1fr; }

.feature-panel {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.feature-panel__box {
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)),
    radial-gradient(circle at 20% 20%, rgba(215,177,74,0.18), transparent 28%);
}

.feature-panel__box strong {
  display: block;
  color: var(--gold-2);
  font-size: 32px;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #ececf0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8951f, #f2d57a);
  box-shadow: 0 0 16px rgba(215,177,74,.45);
}

.note {
  margin-top: 18px;
  font-size: 14px;
}


.footer {
  padding: 42px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(3, 12, 24, 0.74);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr;
  gap: 30px;
  padding-bottom: 26px;
}

.brand--footer img {
  width: 64px;
  height: 64px;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal-delay-1 { transition-delay: .12s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-16px,0) scale(1.08); }
}



/* Руководство и специалисты */
.section--team,
.section--seo {
  background:
    radial-gradient(circle at 80% 14%, rgba(215,177,74,0.10), transparent 28%),
    linear-gradient(180deg, rgba(7,24,43,0.88), rgba(4,14,27,0.78));
}

.team-block {
  margin-top: 28px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    radial-gradient(circle at 0% 0%, rgba(215,177,74,0.13), transparent 34%);
  box-shadow: var(--shadow);
}

.team-block--ai {
  margin-top: 34px;
}

.team-block__head {
  max-width: 920px;
  margin-bottom: 24px;
}

.team-block__head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.team-block__head h3 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 10px;
}

.team-block__head p {
  color: var(--muted);
  margin: 0;
}

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

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

.person-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 0;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(8,24,43,0.92), rgba(3,12,24,0.96));
  box-shadow: var(--shadow);
}

.person-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.person-card__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(3,12,24,.82));
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}

.person-card:hover .person-card__photo img {
  transform: scale(1.045);
}

.person-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(215,177,74,.20), transparent 42%),
    linear-gradient(135deg, #091b31, #030c18);
}

.person-card__photo--placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(242,213,122,.34);
  color: var(--gold-2);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .08em;
}

.person-card__content {
  display: block;
  padding: 18px;
}

.person-card__content strong {
  display: block;
  font-size: 16px;
  line-height: 1.18;
  margin-bottom: 8px;
}

.person-card__content em {
  display: block;
  font-style: normal;
  color: var(--gold-2);
  font-size: 14px;
  line-height: 1.35;
}

.person-modal__dialog {
  width: min(1060px, calc(100% - 24px));
}

.person-modal__content {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 0;
}

.person-modal__media {
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 20%, rgba(215,177,74,.20), transparent 36%),
    linear-gradient(135deg, #091b31, #030c18);
}

.person-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.person-modal__placeholder {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
  font-size: 64px;
  font-weight: 800;
}

.person-modal__info {
  padding: 40px;
}

.person-modal__info h2 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 52px);
}

.person-modal__role {
  color: var(--gold-2);
  font-size: 20px;
  margin-bottom: 18px;
}

.person-modal__lead {
  color: #e7e8ee;
  font-size: 18px;
  margin-bottom: 26px;
}

.person-modal__directions h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.person-modal__directions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.person-modal__directions li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.person-modal__directions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2));
  box-shadow: 0 0 16px rgba(215,177,74,.42);
}

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

.seo-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.seo-card h3 {
  color: var(--gold-2);
}

.seo-card p {
  color: var(--muted);
  margin: 0;
}


@media (max-width: 1180px) {
  .nav,
  .header__cta { display: none; }
  .burger { display: block; }
  .nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(6, 17, 31, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }

  .section-layout,
  .split-block,
  .split-block--reverse,
  .footer__grid,
  .about-showcase,
  .about-grid,
  .benefits-grid,
  .services-grid,
  .timeline,
  .hero__bottom,
  .cases-grid,
  .reviews-grid,
  .work-highlight,
  .process-intro,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-road {
    margin: 8px 0 22px;
  }

  .process-road__path {
    width: 100%;
  }

  .process-grid {
    gap: 16px;
  }

  .process-grid__arrow {
    display: none;
  }

  .process-card {
    min-height: auto;
  }

  .section-label {
    writing-mode: initial;
    transform: none;
    position: static;
    letter-spacing: 0.26em;
    padding-left: 0;
    margin-bottom: 10px;
  }

  .image-stack__small {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 18px;
    aspect-ratio: 16 / 10;
  }

  .case-card--wide { grid-row: auto; }
}

@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .header__inner { min-height: 74px; }
  .brand img { width: 50px; height: 50px; }
  .hero { min-height: auto; padding: 128px 0 34px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .stat-card,
  .glass-card,
  .service-card,
  .feature-panel__box,
  .benefit-item,
  .timeline__item,
  .case-card,
  .review-card,
  .work-highlight__content,
  .process-card { padding: 22px; }

  .process-intro {
    gap: 18px;
    margin-bottom: 16px;
  }

  .process-intro__text {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 0;
  }

  .process-road {
    display: none;
  }

  .process-grid {
    gap: 14px;
  }

  .process-card__num {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 18px;
  }

  .process-card__icon {
    margin-bottom: 18px;
  }

  .process-card__icon img {
    width: 116px;
    height: 116px;
  }

  .process-card h3 {
    font-size: 24px;
  }

  .process-card p {
    font-size: 16px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .work-highlight__media { min-height: 240px; }
  .image-stack__main { min-height: 300px; }
}


.modal{position:fixed;inset:0;z-index:120;display:none;}
.modal.is-open{display:block;}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(6px);}
.modal__dialog{position:relative;z-index:1;width:min(760px,calc(100% - 24px));margin:4vh auto;background:linear-gradient(180deg, rgba(8,24,43,.98), rgba(4,14,27,.98));border:1px solid rgba(255,255,255,.08);border-radius:28px;box-shadow:var(--shadow-strong);max-height:92vh;overflow:auto;}
.modal__content{padding:28px 28px 26px;}
.modal__close{position:absolute;right:14px;top:14px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;font-size:26px;cursor:pointer;}
.modal__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;}
.legal-compact p{color:var(--muted);margin-bottom:14px;}
.legal-page{padding:140px 0 80px;}
.legal-card{max-width:980px;margin:0 auto;padding:34px;border-radius:30px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));box-shadow:var(--shadow);}
.legal-card h1{font-size:clamp(30px,4vw,54px);margin-bottom:18px;}
.legal-card h2{font-size:24px;margin-top:30px;margin-bottom:12px;}
.legal-card p,.legal-card li{color:var(--muted);}
.legal-card ul{padding-left:20px;}
@media (max-width: 900px){.modal__content{padding:22px 18px 20px;}.legal-card{padding:24px;}.modal__actions{flex-direction:column;}.modal__actions .btn{width:100%;}}


@media (max-width: 1180px) {
  .people-grid,
  .people-grid--ai,
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .team-block { padding: 18px; border-radius: 24px; }
  .people-grid,
  .people-grid--ai,
  .seo-grid { grid-template-columns: 1fr; }
  .person-card { border-radius: 20px; }
  .person-card__photo { aspect-ratio: 16 / 12; }
  .person-card__content { padding: 16px; }
  .person-modal__content { grid-template-columns: 1fr; }
  .person-modal__media,
  .person-modal__media img,
  .person-modal__placeholder { min-height: 340px; }
  .person-modal__info { padding: 24px 18px 22px; }
  .seo-card { padding: 22px; }
}


/* SOTA: final refinement — solid dark-blue background, original header feel, compact team rows */
:root {
  --bg: #06111f;
  --bg-2: #06111f;
}

html,
body {
  background: #06111f;
}

.site-bg {
  background: #06111f !important;
}

.site-bg::before,
.site-bg::after {
  display: none !important;
}

.header {
  background: rgba(8, 8, 10, 0.72);
}

.brand img {
  object-fit: contain;
  padding: 4px;
  background: rgba(6, 17, 31, .92);
}

.hero,
.section,
.section--team,
.section--seo,
.footer,
.footer::before,
.hero__overlay,
.hero__grid,
.about-card,
.benefit-card,
.service-card,
.case-card,
.review-card,
.work-card,
.audit-card,
.ai-card,
.seo-card {
  background-color: transparent;
}

.section--team,
.section--seo {
  background: #06111f !important;
}

.team-block,
.seo-card {
  background: rgba(255,255,255,0.035) !important;
}

.team-block__head span {
  display: none !important;
}

.people-grid--ai {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.people-grid--ai .person-card {
  border-radius: 20px;
}

.people-grid--ai .person-card__content {
  padding: 14px 12px 16px;
}

.people-grid--ai .person-card__content strong {
  font-size: 15px;
  line-height: 1.18;
}

.people-grid--ai .person-card__content em {
  font-size: 12px;
  line-height: 1.3;
}

.person-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 18px;
}

.person-modal__media img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  border-radius: 22px;
}

@media (max-width: 1320px) {
  .people-grid--ai {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .people-grid--ai .person-card__content strong {
    font-size: 18px;
  }

  .people-grid--ai .person-card__content em {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .people-grid--ai {
    grid-template-columns: 1fr;
  }

  .person-modal__media {
    min-height: auto;
    padding: 14px;
  }

  .person-modal__media img {
    max-height: 58vh;
  }
}


/* SOTA: v3 refinements — lighter blue background, cleaner team intro, larger modal photo, logo without circle */
:root {
  --bg: #1a2034;
  --bg-2: #1a2034;
}

html,
body,
.site-bg,
.section--team,
.section--seo {
  background: #1a2034 !important;
}

body {
  color-scheme: dark;
}

.header {
  background: rgba(26, 32, 52, 0.82) !important;
  border-bottom-color: rgba(255,255,255,0.07);
}

.brand img,
.brand--footer img {
  width: 72px;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  object-fit: contain;
}

.section--team .section-head {
  display: none !important;
}

.person-modal__dialog {
  width: min(1140px, calc(100% - 24px));
}

.person-modal__content {
  grid-template-columns: minmax(340px, 0.98fr) minmax(0, 1.02fr);
}

.person-modal__media {
  min-height: 640px;
  padding: 22px;
}

.person-modal__media img {
  max-height: 84vh;
  width: 100%;
}

@media (max-width: 767px) {
  .brand img,
  .brand--footer img {
    width: 62px;
  }

  .person-modal__content {
    grid-template-columns: 1fr;
  }

  .person-modal__media {
    min-height: auto;
    padding: 18px;
  }

  .person-modal__media img {
    max-height: 72vh;
  }
}


/* SOTA: useful articles section and standalone article pages */
.seo-card--link {
  padding: 0 !important;
}

.seo-card--link > a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}

.seo-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(215,177,74,.22);
  background: rgba(215,177,74,.08);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seo-card__more {
  margin-top: auto;
  color: var(--gold-2);
  font-weight: 700;
}

.seo-card--link:hover .seo-card__more {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-page {
  padding: 134px 0 92px;
}

.article-hero {
  max-width: 980px;
  margin-bottom: 34px;
}

.article-hero__back {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--gold-2);
  font-weight: 700;
}

.article-hero h1 {
  max-width: 1040px;
  margin-top: 18px;
}

.article-hero__lead {
  max-width: 860px;
  font-size: 20px;
  color: var(--muted);
}

.article-card {
  max-width: 980px;
  padding: 38px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow);
}

.article-content h2 {
  margin-top: 34px;
  font-size: clamp(26px, 3vw, 38px);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li {
  color: rgba(243,243,245,.82);
  font-size: 18px;
  line-height: 1.72;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 0 0 22px;
}

.article-note {
  margin: 28px 0;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(215,177,74,.22);
  background: rgba(215,177,74,.075);
  color: #f3f3f5;
}

.article-note strong {
  color: var(--gold-2);
}

.related-articles {
  max-width: 980px;
  margin-top: 40px;
}

.related-articles h2 {
  margin-bottom: 20px;
}

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

.related-card {
  display: block;
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow);
}

.related-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-card h3 {
  margin-bottom: 10px;
}

.related-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 767px) {
  .seo-card--link > a,
  .article-card,
  .related-card {
    padding: 22px;
  }

  .article-page {
    padding: 108px 0 72px;
  }

  .article-content p,
  .article-content li,
  .article-hero__lead {
    font-size: 16px;
  }

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

/* SOTA: article pages header/container fixes */
.nav a,
.header__cta {
  white-space: nowrap;
}

.article-page > .container {
  width: min(calc(100% - 32px), var(--container));
}

.article-hero,
.article-card,
.related-articles {
  width: 100%;
  max-width: none;
}

.article-card {
  padding: clamp(30px, 4vw, 54px);
}

.article-content h2,
.article-content p,
.article-content ul,
.article-content ol,
.article-note {
  max-width: 1080px;
}

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

@media (max-width: 1180px) {
  .nav.is-open a {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .article-page > .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .article-card {
    padding: 22px;
  }
}
