:root {
  --bg: #08080d;
  --bg-soft: #0f1018;
  --card: rgba(18, 20, 31, .82);
  --card-strong: #141622;
  --text: #f7f7fb;
  --muted: #a8afc0;
  --line: rgba(255,255,255,.1);
  --accent: #8b5cff;
  --accent-2: #26d7ff;
  --accent-3: #ffd84a;
  --danger: #ff5f75;
  --green: #18d89a;
  --shadow: 0 24px 80px rgba(0,0,0,.36);
  --radius: 28px;
  --container: 1640px;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
}

.light-theme {
  --bg: #f7f8fc;
  --bg-soft: #ffffff;
  --card: rgba(255,255,255,.90);
  --card-strong: #ffffff;
  --text: #111322;
  --muted: #5e6575;
  --line: rgba(17,19,34,.12);
  --accent: #6d4cff;
  --accent-2: #0582c8;
  --accent-3: #9a6500;
  --green: #078b64;
  --shadow: 0 24px 80px rgba(57, 47, 99, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

.site-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
.grid-layer {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .25;
  mask-image: radial-gradient(circle at 50% 10%, #000 0, transparent 70%);
}
.orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: .38; }
.orb-one { background: #6c3cff; top: -160px; left: -160px; }
.orb-two { background: #00c8ff; right: -180px; top: 25%; opacity: .22; }
.orb-three { background: #ffbd2f; left: 40%; bottom: -260px; opacity: .16; }

.container { width: min(100% - 64px, var(--container)); margin: 0 auto; }
.section { padding: 120px 0; }
.section--tight { padding: 48px 0; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: .25s ease;
}
.header.is-scrolled { background: rgba(8,8,13,.72); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.light-theme .header.is-scrolled { background: rgba(255,255,255,.72); }
.header__inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 900; box-shadow: 0 16px 44px rgba(139,92,255,.32); }
.logo__text strong { display: block; font-family: var(--font-head); font-size: 22px; line-height: .9; }
.logo__text small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.header__nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-weight: 700; }
.header__nav a { transition: .2s ease; }
.header__nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone small { display: block; color: var(--muted); font-size: 11px; }
.header__phone strong { font-size: 18px; }
.messenger, .theme-toggle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.messenger svg { width: 20px; height: 20px; fill: currentColor; }
.theme-toggle span { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: inset -6px -4px 0 rgba(0,0,0,.32); }
.light-theme .theme-toggle span { box-shadow: none; background: linear-gradient(135deg, #ffcc47, #ff8f3d); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 12px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }
.mobile-menu { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #6f39ff);
  color: #fff; font-weight: 800; box-shadow: 0 18px 48px rgba(139,92,255,.32); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 64px rgba(139,92,255,.42); }
.btn--small { min-height: 48px; padding: 0 22px; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); box-shadow: none; }
.btn--ghost:hover { background: var(--card); box-shadow: none; }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 140px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); gap: 70px; align-items: center; }
.eyebrow, .tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--card); color: var(--muted); padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 22px var(--green); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(54px, 5vw, 96px); line-height: 1; margin-top: 24px; max-width: 990px; }
h2 { font-size: clamp(38px, 4vw, 72px); line-height: .95; margin-bottom: 20px; }
h3 { font-size: 25px; line-height: 1.08; }
.hero__lead { max-width: 760px; color: var(--muted); font-size: 21px; line-height: 1.55; margin: 28px 0; }
.hero__chips, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips span, .chips span, .vacancy-row span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-weight: 700; font-size: 14px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__visual { position: relative; min-height: 590px; transition: transform .08s linear; }
.dashboard-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border-radius: 36px; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.dashboard-card--main { position: absolute; inset: 65px 40px 75px 20px; padding: 34px; }
.dashboard-card__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.dashboard-card__top strong { color: var(--green); font-size: 36px; }
.chart-lines { height: 245px; display: flex; align-items: end; gap: 16px; padding: 36px 0; }
.chart-lines i { flex: 1; min-height: 42px; border-radius: 999px 999px 12px 12px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 16px 42px rgba(38,215,255,.18); }
.chart-lines i:nth-child(1) { height: 42%; } .chart-lines i:nth-child(2) { height: 68%; } .chart-lines i:nth-child(3) { height: 52%; } .chart-lines i:nth-child(4) { height: 88%; } .chart-lines i:nth-child(5) { height: 74%; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-row div { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.metric-row small { display: block; color: var(--muted); margin-bottom: 7px; }
.metric-row b { font-size: 22px; }
.float-card { position: absolute; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.float-card b { display: block; margin-bottom: 5px; }
.float-card span { color: var(--muted); font-size: 14px; }
.float-card--one { top: 12px; left: 0; }
.float-card--two { right: 0; top: 260px; }
.float-card--three { left: 72px; bottom: 18px; }

.trust__line { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 26px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.trust__line > span { color: var(--muted); font-weight: 800; }
.trust__logos { display: flex; gap: 14px; flex-wrap: wrap; }
.trust__logos b { padding: 12px 18px; border-radius: 16px; background: rgba(255,255,255,.06); color: var(--text); }

.section-head { max-width: 960px; margin-bottom: 56px; }
.section-head .tag, .approach__content .tag, .team__content .tag, .faq__left .tag, .contact__content .tag { margin-bottom: 18px; }
.section-head p, .approach__content p, .team__content p, .faq__left p, .contact__content p { color: var(--muted); font-size: 20px; line-height: 1.55; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 520px; gap: 44px; align-items: end; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card, .service-card, .process-card, .person-card, .career-card, .niche-card, .review-card, .contact-form, .image-card, .faq details {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-card { padding: 32px; min-height: 260px; }
.stat-card span { color: var(--muted); font-weight: 900; }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 74px; margin: 32px 0 12px; color: var(--accent-3); }
.stat-card p { color: var(--muted); line-height: 1.55; margin: 0; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { padding: 28px; min-height: 330px; position: relative; overflow: hidden; transition: .25s ease; }
.service-card:before { content: ''; position: absolute; inset: -1px; background: radial-gradient(circle at 20% 0%, var(--glow), transparent 42%); opacity: .55; z-index: -1; }
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--glow), white 30%); }
.service-card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--glow), transparent 78%); color: var(--glow); font-weight: 900; font-size: 26px; margin-bottom: 58px; }
.service-card p { color: var(--muted); line-height: 1.55; min-height: 82px; }
.service-card--blue { --glow: #3b8cff; } .service-card--red { --glow: #ff5b5b; } .service-card--pink { --glow: #ff4fb3; } .service-card--cyan { --glow: #13dfff; }
.service-card--yellow { --glow: #ffd84a; } .service-card--violet { --glow: #a66bff; } .service-card--green { --glow: #17d59a; } .service-card--dark { --glow: #9da7bb; }

.approach__grid, .team__grid, .contact__grid, .faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.image-card { padding: 24px; min-height: 520px; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(139,92,255,.16), rgba(38,215,255,.08)); }
.image-card__screen { height: 330px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04)), radial-gradient(circle at 60% 30%, var(--accent), transparent 28%); border: 1px solid var(--line); }
.image-card__panel { position: absolute; left: 44px; right: 44px; bottom: 44px; border-radius: 22px; padding: 24px; background: rgba(0,0,0,.38); backdrop-filter: blur(16px); border: 1px solid var(--line); }
.image-card__panel b, .image-card__panel span { display: block; }
.image-card__panel span { color: #cfd3dc; margin-top: 8px; }
.check-list { padding: 0; margin: 26px 0 0; list-style: none; display: grid; gap: 14px; }
.check-list li { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.check-list li:before { content: '✓'; color: var(--green); margin-right: 10px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card { padding: 34px; min-height: 280px; position: relative; overflow: hidden; }
.process-card span { position: absolute; top: 22px; right: 22px; font-family: var(--font-head); font-size: 34px; color: var(--accent-3); opacity: .9; }
.process-card h3 { margin-top: 72px; color: var(--accent-2); }
.process-card p { color: var(--muted); line-height: 1.6; }

.team__grid { grid-template-columns: .72fr 1.28fr; }
.team-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person-card { padding: 24px; min-height: 250px; }
.person-card div { height: 125px; border-radius: 22px; margin-bottom: 24px; background: linear-gradient(135deg, rgba(139,92,255,.35), rgba(38,215,255,.12)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80') center/cover; }
.person-card:nth-child(2) div { background-image: linear-gradient(135deg, rgba(139,92,255,.35), rgba(38,215,255,.12)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80'); }
.person-card:nth-child(3) div { background-image: linear-gradient(135deg, rgba(139,92,255,.35), rgba(38,215,255,.12)), url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80'); }
.person-card:nth-child(4) div { background-image: linear-gradient(135deg, rgba(139,92,255,.35), rgba(38,215,255,.12)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=900&q=80'); }
.person-card p, .career-card p, .niche-card p, .review-card p { color: var(--muted); line-height: 1.58; }

.career-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.career-card { padding: 30px; min-height: 230px; }
.vacancy-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.niches-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.niche-card { padding: 24px; min-height: 260px; }
.niche-card span { display: grid; place-items: center; width: 58px; height: 58px; background: rgba(139,92,255,.12); border-radius: 18px; font-size: 28px; margin-bottom: 36px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { padding: 32px; }
.stars { color: var(--accent-3); letter-spacing: 3px; font-size: 22px; margin-bottom: 22px; }
.review-card b { display: block; margin-top: 22px; }
.review-card span { color: var(--muted); font-size: 14px; }

.faq__grid { grid-template-columns: .72fr 1.28fr; align-items: start; }
.faq__items { display: grid; gap: 16px; }
.faq details { padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 900; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: '+'; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; flex-shrink: 0; }
.faq details[open] summary:after { content: '−'; }
.faq details p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }

.contact__grid { align-items: start; }
.contact-box { display: grid; gap: 12px; margin-top: 30px; }
.contact-box a { display: inline-flex; width: fit-content; color: var(--accent-2); font-weight: 900; }
.contact-form { padding: 32px; display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); border-radius: 18px; min-height: 58px; padding: 0 18px; outline: none;
}
.contact-form textarea { min-height: 140px; padding: 18px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); }
.contact-form option { color: #111; }

.footer { border-top: 1px solid var(--line); padding: 54px 0 28px; background: rgba(0,0,0,.18); }
.footer__grid { display: grid; grid-template-columns: 1fr .6fr .6fr; gap: 50px; align-items: start; }
.footer p { color: var(--muted); max-width: 520px; line-height: 1.6; }
.footer nav, .footer__contacts { display: grid; gap: 12px; color: var(--muted); font-weight: 700; }
.footer a:hover { color: var(--text); }
.footer__bottom { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1320px) {
  .header__nav, .header__phone { display: none; }
  .burger { display: block; }
  .mobile-menu { position: fixed; inset: 86px 18px auto; border: 1px solid var(--line); border-radius: 24px; background: var(--card-strong); box-shadow: var(--shadow); padding: 24px; transform: translateY(-20px); opacity: 0; pointer-events: none; display: block; transition: .2s ease; }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-menu nav { display: grid; gap: 16px; margin-bottom: 22px; font-weight: 800; }
  .hero__grid, .approach__grid, .team__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .career-grid { grid-template-columns: repeat(2, 1fr); }
  .niches-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 78px 0; }
  .header__inner { height: 74px; }
  .header__actions .btn, .messenger { display: none; }
  .hero { padding-top: 110px; }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .hero__lead, .section-head p, .approach__content p, .team__content p, .faq__left p, .contact__content p { font-size: 17px; }
  .hero__grid { gap: 34px; }
  .hero__visual { min-height: 460px; }
  .dashboard-card--main { inset: 38px 0 60px 0; padding: 22px; }
  .float-card--two { right: 8px; top: 220px; }
  .metric-row { grid-template-columns: 1fr; }
  .trust__line, .section-head--split { grid-template-columns: 1fr; display: grid; }
  .services-grid, .process-grid, .team-cards, .reviews-grid, .stats-grid, .career-grid, .niches-grid, .footer__grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card__icon { margin-bottom: 34px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  h1 { font-size: 39px; }
  h2 { font-size: 34px; }
  .hero__buttons { flex-direction: column; }
  .btn { width: 100%; }
  .logo__text strong { font-size: 18px; }
  .theme-toggle { width: 42px; height: 42px; }
  .hero__visual { min-height: 390px; }
  .chart-lines { height: 170px; }
  .float-card { padding: 14px; }
  .float-card--one { left: 4px; }
  .float-card--three { left: 18px; }
}

/* Content update: approach visual illustration */
.image-card__screen {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.image-card__screen::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(139,92,255,.36), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(38,215,255,.26), transparent 32%);
  filter: blur(4px);
}
.strategy-visual {
  position: relative;
  z-index: 2;
  width: min(86%, 520px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10, 12, 22, .64);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.strategy-visual__top {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.strategy-visual__top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.46);
}
.strategy-visual__body {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  padding: 26px;
}
.strategy-visual__chart {
  min-height: 180px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
}
.strategy-visual__chart i {
  flex: 1;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 30px rgba(139,92,255,.34);
}
.strategy-visual__chart i:nth-child(1) { height: 38%; }
.strategy-visual__chart i:nth-child(2) { height: 56%; }
.strategy-visual__chart i:nth-child(3) { height: 76%; }
.strategy-visual__chart i:nth-child(4) { height: 92%; }
.strategy-visual__list {
  display: grid;
  gap: 10px;
  align-content: start;
}
.strategy-visual__list b {
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
}
.strategy-visual__list span {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
  font-size: 13px;
}

.about-text {
  display: grid;
  gap: 18px;
  max-width: 1080px;
}
.about-text p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}
@media (max-width: 860px) {
  .about-text p { font-size: 17px; }
  .strategy-visual__body { grid-template-columns: 1fr; }
  .strategy-visual__chart { min-height: 130px; }
}

/* Cases section */
/* Cases section */
.cases { position: relative; }
.cases-showcase { display: grid; gap: 28px; }
.case-hero,
.case-story {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.case-hero {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  min-height: 560px;
}
.case-hero__image,
.case-story__image {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.case-hero__image:before,
.case-story__image:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,13,.08), rgba(8,8,13,.62)),
    radial-gradient(circle at 20% 10%, rgba(139,92,255,.45), transparent 35%);
  z-index: -1;
}
.case-hero__image--home { background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=1200&q=82'); }
.case-story__image--estate { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=82'); }
.case-story__image--school { background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=82'); }
.case-story__image--beauty { background-image: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=900&q=82'); }
.case-company {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8, 10, 18, .58);
  color: #fff;
  backdrop-filter: blur(18px);
}
.case-company b { display: block; font-family: var(--font-head); font-size: 30px; margin-bottom: 6px; }
.case-company span { color: rgba(255,255,255,.76); font-weight: 800; }
.case-hero__content { padding: 46px; display: flex; flex-direction: column; justify-content: center; }
.case-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: var(--accent-3);
  font-weight: 900;
  font-size: 14px;
}
.case-hero h3 { font-size: clamp(32px, 3.2vw, 58px); line-height: .98; max-width: 900px; }
.case-hero p { max-width: 850px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.case-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.case-result-grid div {
  padding: 22px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
}
.case-result-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.case-result-grid strong { display: block; margin: 10px 0 8px; font-family: var(--font-head); font-size: 48px; color: var(--accent-3); line-height: 1; }
.case-result-grid small { color: var(--muted); font-weight: 800; line-height: 1.35; }
.cases-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-story { display: grid; grid-template-rows: 250px 1fr; min-height: 560px; transition: .25s ease; }
.case-story:hover { transform: translateY(-5px); border-color: rgba(139,92,255,.42); }
.case-story__body { padding: 28px; display: flex; flex-direction: column; }
.case-story__top { display: grid; gap: 4px; margin-bottom: 24px; }
.case-story__top b { font-family: var(--font-head); font-size: 24px; }
.case-story__top span { color: var(--muted); font-weight: 800; }
.case-story h3 { font-size: 28px; }
.case-story p { color: var(--muted); line-height: 1.62; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.case-metrics span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.06);
  font-weight: 900;
  font-size: 13px;
}
@media (max-width: 1320px) {
  .case-hero { grid-template-columns: 1fr; }
  .case-hero__image { min-height: 420px; }
  .cases-list { grid-template-columns: 1fr; }
  .case-story { grid-template-columns: 360px 1fr; grid-template-rows: auto; min-height: auto; }
}
@media (max-width: 860px) {
  .case-hero__content { padding: 26px; }
  .case-result-grid { grid-template-columns: 1fr; }
  .case-hero__image { min-height: 330px; }
  .case-story { grid-template-columns: 1fr; grid-template-rows: 240px 1fr; }
  .case-story__body { padding: 24px; }
}

/* Approach visual redesign */
.approach-visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(139,92,255,.34), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(38,215,255,.22), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    var(--card);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.approach-visual:before {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 56%, transparent 78%);
  opacity: .8;
  z-index: -1;
}
.approach-visual__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(54px);
  opacity: .65;
  pointer-events: none;
}
.approach-visual__glow--one { left: -80px; top: -70px; background: rgba(139,92,255,.55); }
.approach-visual__glow--two { right: -70px; bottom: -80px; background: rgba(38,215,255,.38); }
.growth-map {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(440px, 72vw);
  height: min(440px, 72vw);
  transform: translate(-50%, -50%);
}
.growth-map__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}
.growth-map__ring--one {
  inset: 42px;
  border-color: rgba(139,92,255,.28);
  box-shadow: 0 0 60px rgba(139,92,255,.12) inset;
}
.growth-map__ring--two {
  border-style: dashed;
  border-color: rgba(38,215,255,.24);
  animation: approachSpin 28s linear infinite;
}
.growth-map__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(145deg, rgba(139,92,255,.34), rgba(38,215,255,.16));
  box-shadow: 0 28px 90px rgba(0,0,0,.35), 0 0 70px rgba(139,92,255,.24);
  backdrop-filter: blur(16px);
}
.growth-map__center span,
.growth-map__center small { color: rgba(255,255,255,.72); font-weight: 800; }
.growth-map__center b {
  font-family: var(--font-head);
  font-size: 54px;
  line-height: .95;
  color: #fff;
}
.growth-node {
  position: absolute;
  min-width: 138px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(14, 17, 29, .76);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
  backdrop-filter: blur(14px);
}
.growth-node b {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-3);
  font-family: var(--font-head);
  font-size: 18px;
}
.growth-node span { color: rgba(255,255,255,.8); font-weight: 900; }
.growth-node--one { left: 8px; top: 76px; }
.growth-node--two { right: 8px; top: 72px; }
.growth-node--three { right: 16px; bottom: 78px; }
.growth-node--four { left: 18px; bottom: 82px; }
.approach-note {
  position: absolute;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(9, 11, 20, .66);
  backdrop-filter: blur(18px);
}
.approach-note--top { top: 34px; }
.approach-note--bottom { bottom: 34px; }
.approach-note b { color: #fff; font-size: 17px; }
.approach-note span { color: rgba(255,255,255,.66); font-weight: 700; text-align: right; }
@keyframes approachSpin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .approach-visual { min-height: 480px; }
  .growth-map { width: 360px; height: 360px; }
  .growth-map__center { width: 170px; height: 170px; }
  .growth-map__center b { font-size: 42px; }
  .growth-node { min-width: 112px; padding: 12px; }
  .approach-note { left: 20px; right: 20px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .approach-note span { text-align: left; }
}


/* Light theme polish */
.light-theme .site-bg {
  background:
    radial-gradient(circle at 8% 0%, rgba(139,92,255,.18), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(38,215,255,.12), transparent 30%),
    linear-gradient(180deg, #fbfbff 0%, #f3f5fb 100%);
}
.light-theme .grid-layer { opacity: .34; }
.light-theme .orb { opacity: .18; }
.light-theme .orb-three { opacity: .12; }
.light-theme .header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,0));
}
.light-theme .eyebrow,
.light-theme .tag,
.light-theme .hero__chips span,
.light-theme .chips span,
.light-theme .vacancy-row span,
.light-theme .check-list li,
.light-theme .messenger,
.light-theme .theme-toggle,
.light-theme .burger {
  background: rgba(255,255,255,.82);
  color: #4d5363;
}
.light-theme .dashboard-card,
.light-theme .stat-card,
.light-theme .service-card,
.light-theme .process-card,
.light-theme .person-card,
.light-theme .career-card,
.light-theme .niche-card,
.light-theme .review-card,
.light-theme .contact-form,
.light-theme .faq details,
.light-theme .trust__line,
.light-theme .cases-feature,
.light-theme .case-card,
.light-theme .approach-visual {
  background: rgba(255,255,255,.86);
  box-shadow: 0 24px 70px rgba(56, 60, 84, .10);
}
.light-theme .service-card:before,
.light-theme .case-card:before { opacity: .26; }
.light-theme .service-card__icon {
  background: color-mix(in srgb, var(--glow), white 82%);
}
.light-theme .service-card--yellow { --glow: #c88a00; }
.light-theme .case-label {
  color: #7a5200;
  background: rgba(255, 216, 74, .20);
  border-color: rgba(154,101,0,.22);
}
.light-theme .case-tags span {
  background: rgba(255,255,255,.74);
  color: #555c6d;
}
.light-theme .cases-feature__metrics {
  background: linear-gradient(180deg, rgba(109,76,255,.08), rgba(5,130,200,.07));
}
.light-theme .cases-feature__metrics div {
  background: rgba(255,255,255,.66);
}
.light-theme .cases-feature__metrics strong,
.light-theme .stat-card strong,
.light-theme .process-card span,
.light-theme .case-card li:before,
.light-theme .stars {
  color: #9a6500;
}
.light-theme .contact-form input,
.light-theme .contact-form textarea,
.light-theme .contact-form select {
  background: #fff;
}
.light-theme .approach-visual {
  background:
    radial-gradient(circle at 12% 10%, rgba(109,76,255,.18), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(5,130,200,.13), transparent 36%),
    rgba(255,255,255,.88);
}
.light-theme .approach-note,
.light-theme .growth-node {
  background: rgba(255,255,255,.78);
  border-color: rgba(17,19,34,.12);
}
.light-theme .approach-note b,
.light-theme .growth-node span { color: #171a28; }
.light-theme .approach-note span { color: #687083; }
.light-theme .growth-node b { color: #6d4cff; }
.light-theme .growth-map__center {
  background: linear-gradient(145deg, rgba(109,76,255,.18), rgba(5,130,200,.12));
  border-color: rgba(17,19,34,.12);
}
.light-theme .growth-map__center b { color: #111322; }
.light-theme .growth-map__center span,
.light-theme .growth-map__center small { color: #5e6575; }
.light-theme .trust__logos b { background: rgba(109,76,255,.06); }
.light-theme .footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(109,76,255,.08), transparent 32%),
    #ffffff;
}
.light-theme .footer__bottom { color: #6b7280; }


/* Final mobile hero fix */
.footer__legal { display: grid; gap: 10px; }
.footer__legal a { color: var(--accent); font-weight: 900; }
.light-theme .footer { background: rgba(255,255,255,.72); }
.light-theme .footer__legal a { color: #5a39e8; }

@media (max-width: 520px) {
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 42px; }
  .hero__visual { min-height: 650px; margin-bottom: 8px; transform: none !important; }
  .dashboard-card--main { inset: 86px 0 150px 0; padding: 18px; border-radius: 28px; }
  .dashboard-card__top { align-items: flex-start; gap: 12px; }
  .dashboard-card__top strong { font-size: 32px; }
  .chart-lines { height: 150px; padding: 26px 0; gap: 10px; }
  .metric-row { grid-template-columns: 1fr; gap: 10px; }
  .metric-row div { padding: 14px 16px; border-radius: 18px; }
  .float-card { max-width: 235px; padding: 12px 14px; border-radius: 18px; }
  .float-card--one { top: 28px; left: 16px; }
  .float-card--two { top: 275px; right: 0; }
  .float-card--three { top: 360px; left: 16px; bottom: auto; }
  .trust.section--tight { padding-top: 38px; }
}

/* Privacy page */
.policy-main { padding-top: 150px; }
.policy-article {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}
.policy-article h1 {     font-size: clamp(38px, 5vw, 61px);
    max-width: 900px;
    margin-top: 50px;
    margin-bottom: 60px; }
.policy-article h2 { margin-top: 44px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
.policy-article p, .policy-article li { color: var(--muted); font-size: 17px; line-height: 1.72; }
.policy-article ul { padding-left: 22px; }
.policy-article strong { color: var(--text); }

/* =========================================================
   SPECTR redesign v6 — calm premium light direction
   Goal: keep existing content, change visual language:
   soft non-white background, no SaaS two-column hero, smaller headings,
   no eyebrow chips above section titles, more editorial agency feel.
   ========================================================= */
:root,
.light-theme {
  --bg: #f1eee7;
  --bg-soft: #f7f3eb;
  --card: rgba(255, 251, 244, .88);
  --card-strong: #fffaf1;
  --text: #1d2528;
  --muted: #66706d;
  --line: rgba(45, 55, 54, .13);
  --accent: #1f6f68;
  --accent-2: #a2573f;
  --accent-3: #d59f45;
  --green: #248265;
  --shadow: 0 22px 65px rgba(62, 55, 43, .10);
  --radius: 30px;
  --font-main: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html.light-theme body,
body {
  background:
    radial-gradient(circle at 8% 0%, rgba(31,111,104,.12), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(162,87,63,.10), transparent 30%),
    linear-gradient(180deg, #f2eee6 0%, #f7f2e9 45%, #eee8df 100%);
  color: var(--text);
}

.site-bg {
  background: transparent;
}
.grid-layer {
  background-image: linear-gradient(rgba(45,55,54,.065) 1px, transparent 1px);
  background-size: 100% 72px;
  opacity: .75;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.orb {
  filter: blur(95px);
  opacity: .18;
}
.orb-one { background: #2d8d7d; }
.orb-two { background: #c06a4b; }
.orb-three { background: #d9aa52; }

.container { width: min(100% - 72px, 1640px); }
.section { padding: clamp(82px, 8vw, 135px) 0; }
.section--tight { padding: 34px 0 58px; }

.header {
  padding-top: 14px;
}
.header__inner {
  height: 74px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(45,55,54,.12);
  background: rgba(255, 251, 244, .76);
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(49,44,35,.08);
  backdrop-filter: blur(20px);
}
.header.is-scrolled,
.light-theme .header.is-scrolled {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1d2528;
  color: #f4efe6;
  box-shadow: none;
  font-family: var(--font-head);
}
.logo__text strong {
  font-family: var(--font-head);
  letter-spacing: -.03em;
}
.logo__text small {
  color: #8a7667;
  letter-spacing: .18em;
}
.header__nav {
  gap: clamp(16px, 1.6vw, 28px);
  color: #586260;
  font-size: 14px;
}
.header__nav a:hover { color: var(--accent); }
.theme-toggle,
.messenger,
.burger {
  background: rgba(255,250,241,.78);
  border-color: rgba(45,55,54,.13);
  box-shadow: none;
}
.theme-toggle span,
.light-theme .theme-toggle span {
  background: linear-gradient(135deg, #1f6f68, #d59f45);
  box-shadow: none;
}
.header__phone small { color: #7a7168; }
.header__phone strong { color: #202927; }

.btn {
  min-height: 54px;
  border-radius: 18px;
  padding: 0 25px;
  background: #1d2528;
  color: #fff7ea;
  box-shadow: 0 18px 42px rgba(29,37,40,.18);
  letter-spacing: -.01em;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(29,37,40,.22);
}
.btn--ghost {
  color: #1d2528;
  background: rgba(255,251,244,.54);
  border-color: rgba(45,55,54,.15);
  box-shadow: none;
}
.btn--ghost:hover { background: #fffaf1; }
.btn--small { border-radius: 16px; min-height: 46px; }

/* Remove chip-labels above titles */
.eyebrow,
.tag,
.hero__chips {
  display: none !important;
}

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: -.045em;
  color: #1d2528;
}
h1 {
  font-size: clamp(40px, 5.2vw, 82px);
  line-height: 1.02;
  max-width: 1180px;
  margin: 0 auto;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 3.4vw, 58px);
  line-height: 1.04;
  margin-bottom: 18px;
  text-wrap: balance;
}
h3 { font-size: clamp(21px, 1.5vw, 27px); line-height: 1.15; }

/* New hero composition: one-column, content first, visual below */
.hero {
  min-height: auto;
  padding-top: 150px;
  padding-bottom: 80px;
  display: block;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}
.hero__content {
  text-align: center;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 28px;
}
.hero__lead {
  max-width: 830px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.45vw, 21px);
  color: #5e6764;
}
.hero__buttons {
  justify-content: center;
  margin-top: 30px;
}
.hero__visual {
  min-height: 430px;
  width: min(100%, 1220px);
  margin: 10px auto 0;
  transform: none !important;
  border-radius: 38px;
  border: 1px solid rgba(45,55,54,.13);
  background:
    linear-gradient(135deg, rgba(255,250,241,.78), rgba(238,229,214,.50)),
    radial-gradient(circle at 24% 18%, rgba(31,111,104,.24), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(162,87,63,.16), transparent 36%);
  box-shadow: 0 34px 95px rgba(62,55,43,.12);
  overflow: hidden;
}
.dashboard-card--main {
  position: absolute;
  inset: 46px 360px 46px 46px;
  border-radius: 30px;
  padding: 30px;
  background: rgba(255,251,244,.72) !important;
  box-shadow: 0 18px 45px rgba(50,43,34,.08) !important;
  backdrop-filter: blur(16px);
}
.dashboard-card__top strong { color: var(--accent); font-size: 34px; }
.chart-lines { height: 175px; gap: 12px; padding: 28px 0; }
.chart-lines i {
  background: linear-gradient(180deg, #1f6f68, #d7a249);
  box-shadow: none;
  border-radius: 18px 18px 8px 8px;
}
.metric-row { gap: 10px; }
.metric-row div {
  background: rgba(255,255,255,.54);
  border-color: rgba(45,55,54,.10);
  border-radius: 18px;
}
.metric-row small { color: #6b746f; }
.metric-row b { color: #1d2528; }
.float-card {
  border-radius: 26px;
  border: 1px solid rgba(45,55,54,.12);
  background: rgba(255,250,241,.78) !important;
  box-shadow: 0 16px 42px rgba(50,43,34,.09) !important;
  min-width: 250px;
}
.float-card b { color: #1d2528; }
.float-card span { color: #66706d; }
.float-card--one { top: 54px; left: auto; right: 58px; }
.float-card--two { top: 174px; right: 92px; }
.float-card--three { left: auto; right: 46px; bottom: 58px; }

.trust__line {
  border: none;
  border-top: 1px solid rgba(45,55,54,.13);
  border-bottom: 1px solid rgba(45,55,54,.13);
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 28px 0;
}
.trust__line > span {
  color: #59625f;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.trust__logos b {
  background: transparent !important;
  padding: 0;
  color: #1d2528;
  opacity: .72;
}

.section-head {
  max-width: none;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(260px, 410px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
  border-top: 1px solid rgba(45,55,54,.14);
  padding-top: 30px;
}
.section-head:before {
  content: 'SPECTR agency';
  font-weight: 800;
  color: #9a806c;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 13px;
}
.section-head h2,
.section-head .about-text,
.section-head > p,
.section-head > div {
  grid-column: 2;
}
.section-head h2 { margin-top: -2px; }
.section-head--split {
  grid-template-columns: minmax(260px, 410px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
}
.section-head--split > div { display: contents; }
.section-head p,
.approach__content p,
.team__content p,
.faq__left p,
.contact__content p,
.about-text p {
  font-size: clamp(16px, 1.15vw, 19px);
  color: #5f6864;
}
.about-text { max-width: 1000px; }

.stat-card,
.service-card,
.process-card,
.person-card,
.career-card,
.niche-card,
.review-card,
.contact-form,
.image-card,
.faq details,
.cases-feature,
.case-card,
.approach-visual,
.trust__line,
.dashboard-card {
  background: rgba(255,250,241,.72) !important;
  border: 1px solid rgba(45,55,54,.12) !important;
  box-shadow: 0 18px 55px rgba(62,55,43,.08) !important;
}

.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { min-height: 230px; border-radius: 24px; }
.stat-card strong {
  font-size: clamp(48px, 4vw, 66px);
  color: #1f6f68 !important;
  margin: 24px 0 12px;
}
.stat-card span { color: #a2573f; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 245px;
  border-radius: 26px;
  padding: 30px;
}
.service-card:before,
.case-card:before { display: none; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(31,111,104,.22) !important; }
.service-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  margin-bottom: 28px;
  background: rgba(31,111,104,.10) !important;
  color: #1f6f68 !important;
  font-size: 22px;
}
.service-card p { min-height: auto; color: #626b67; }
.chips span,
.vacancy-row span {
  background: rgba(31,111,104,.07);
  color: #50605c;
  border-color: rgba(31,111,104,.13);
  padding: 8px 12px;
  font-size: 13px;
}

/* Cases: calmer, more real portfolio feel */
.cases-showcase,
.cases-feature,
.cases-list,
.case-card { border-radius: 28px; }
.cases-feature__media,
.case-card__media {
  border-radius: 22px;
  overflow: hidden;
  background-color: #e5d8c8;
}
.case-label {
  background: rgba(162,87,63,.10) !important;
  color: #8d4d38 !important;
  border-color: rgba(162,87,63,.18) !important;
  border-radius: 12px;
}
.case-tags span { background: rgba(31,111,104,.07) !important; color: #50605c !important; }
.cases-feature__metrics strong,
.case-card li:before { color: #1f6f68 !important; }
.cases-feature__metrics {
  background: rgba(31,111,104,.065) !important;
  border-radius: 24px;
}
.cases-feature__metrics div { background: rgba(255,250,241,.74) !important; }

.approach__grid,
.team__grid,
.contact__grid,
.faq__grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 76px);
}
.approach-visual,
.image-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(31,111,104,.20), transparent 34%),
    radial-gradient(circle at 85% 75%, rgba(162,87,63,.13), transparent 36%),
    rgba(255,250,241,.68) !important;
}
.growth-node,
.approach-note,
.growth-map__center {
  background: rgba(255,251,244,.78) !important;
  border-color: rgba(45,55,54,.12) !important;
}
.growth-node b,
.growth-map__center b { color: #1f6f68 !important; }
.growth-node span,
.growth-map__center span,
.growth-map__center small,
.approach-note span { color: #5f6864 !important; }
.check-list li {
  background: rgba(255,250,241,.72);
  border-color: rgba(45,55,54,.12);
  color: #59625f;
}
.check-list li:before { color: #1f6f68; }

.process-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.process-card {
  min-height: 230px;
  border-radius: 26px;
}
.process-card span {
  color: rgba(31,111,104,.34) !important;
  font-size: 42px;
}
.process-card h3 { color: #1d2528; margin-top: 58px; }
.process-card p { color: #626b67; }

.team-cards { gap: 18px; }
.person-card,
.career-card,
.niche-card,
.review-card { border-radius: 26px; }
.person-card div { filter: saturate(.82) contrast(.96); }
.career-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.niches-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.niche-card { min-height: 220px; }
.niche-card span { background: rgba(162,87,63,.10); }
.reviews-grid { gap: 18px; }
.stars { color: #d59f45 !important; }

.faq details { border-radius: 22px; }
.faq summary:after { background: #1f6f68; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(255,251,244,.82) !important;
  color: #1d2528;
  border-color: rgba(45,55,54,.14);
  border-radius: 16px;
}
.contact-box a { color: #1f6f68; }

.footer,
.light-theme .footer {
  background:
    radial-gradient(circle at 14% 0%, rgba(31,111,104,.10), transparent 34%),
    #e7dfd3 !important;
  border-top: 1px solid rgba(45,55,54,.13);
}
.footer p,
.footer__bottom,
.footer__contacts a,
.footer nav a { color: #626b67; }
.footer__legal a,
.light-theme .footer__legal a { color: #1f6f68; }

@media (max-width: 1320px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .niches-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .container { width: min(100% - 34px, 1640px); }
  .header { padding-top: 8px; }
  .header__inner { height: 68px; border-radius: 22px; }
  .header__phone, .theme-toggle, .messenger, .header__actions .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: 112px; padding-bottom: 60px; }
  .hero__content { text-align: left; padding-top: 8px; }
  h1 { margin: 0; font-size: clamp(36px, 10vw, 52px); }
  .hero__lead { margin-left: 0; margin-right: 0; }
  .hero__buttons { justify-content: flex-start; }
  .hero__visual { min-height: auto; padding: 18px; display: grid; gap: 12px; border-radius: 28px; }
  .dashboard-card--main {
    position: static;
    inset: auto;
    padding: 20px;
    border-radius: 24px;
  }
  .float-card {
    position: static;
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .chart-lines { height: 120px; padding: 18px 0; }
  .metric-row { grid-template-columns: 1fr; }
  .trust__line { display: grid; gap: 18px; }
  .section-head,
  .section-head--split {
    display: block;
    padding-top: 22px;
  }
  .section-head:before { display: block; margin-bottom: 14px; }
  .section-head h2,
  .section-head .about-text,
  .section-head > p,
  .section-head > div { grid-column: auto; }
  .stats-grid,
  .services-grid,
  .process-grid,
  .career-grid,
  .reviews-grid,
  .approach__grid,
  .team__grid,
  .contact__grid,
  .faq__grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1640px); }
  .section { padding: 72px 0; }
  .hero { padding-top: 98px; padding-bottom: 42px; }
  h1 { font-size: 38px; line-height: 1.06; }
  h2 { font-size: 31px; }
  .hero__lead { font-size: 16px; line-height: 1.6; }
  .hero__buttons { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .dashboard-card__top strong { font-size: 26px; }
  .chart-lines { height: 92px; gap: 8px; }
  .stat-card,
  .service-card,
  .process-card,
  .career-card,
  .review-card,
  .contact-form { padding: 22px; }
  .stats-grid,
  .niches-grid { grid-template-columns: 1fr; }
  .niche-card { min-height: auto; }
}

/* Update after client feedback: cleaner hero visual, company reviews, different contact block */
.hero-board {
  position: relative;
  min-height: auto;
  padding: clamp(20px, 3vw, 44px);
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  overflow: hidden;
}
.hero-board:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.45), transparent 38%, rgba(31,111,104,.08)),
    radial-gradient(circle at 16% 84%, rgba(213,159,69,.14), transparent 34%);
  pointer-events: none;
}
.hero-board > * { position: relative; z-index: 1; }
.hero-board__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(45,55,54,.11);
}
.hero-board__top span {
  display: block;
  color: #7b837f;
  font-weight: 800;
  margin-bottom: 8px;
}
.hero-board__top b {
  display: block;
  max-width: 620px;
  color: #1d2528;
  font-size: clamp(22px, 2.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.hero-board__top strong {
  color: #1f6f68;
  font-size: clamp(38px, 5vw, 78px);
  line-height: .9;
  letter-spacing: -.06em;
}
.hero-board__flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-board__flow article {
  min-height: 150px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,251,244,.66);
  border: 1px solid rgba(45,55,54,.10);
  box-shadow: 0 12px 34px rgba(62,55,43,.06);
}
.hero-board__flow small {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(31,111,104,.09);
  color: #1f6f68;
  font-weight: 900;
  margin-bottom: 26px;
}
.hero-board__flow b {
  display: block;
  color: #1d2528;
  font-size: 22px;
  margin-bottom: 8px;
}
.hero-board__flow span {
  color: #66706d;
  font-weight: 700;
  line-height: 1.45;
}
.hero-board__analytics {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 14px;
  align-items: stretch;
}
.hero-board__chart {
  min-height: 230px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(45,55,54,.10);
  background:
    linear-gradient(180deg, rgba(255,251,244,.78), rgba(255,251,244,.42)),
    repeating-linear-gradient(0deg, rgba(45,55,54,.05) 0 1px, transparent 1px 46px);
}
.hero-board__chart span {
  flex: 1;
  min-width: 24px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #1f6f68 0%, #59a69c 48%, #d7a249 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.hero-board__metrics {
  display: grid;
  gap: 14px;
}
.hero-board__metrics div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,251,244,.72);
  border: 1px solid rgba(45,55,54,.10);
}
.hero-board__metrics small {
  display: block;
  color: #77807b;
  font-weight: 800;
  margin-bottom: 9px;
}
.hero-board__metrics b {
  color: #1d2528;
  font-size: 30px;
  line-height: 1;
}

.reviews-grid--companies {
  grid-template-columns: repeat(4, 1fr);
}
.review-card--company {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.review-company {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(45,55,54,.10);
}
.review-company b {
  color: #1d2528;
  font-size: 20px;
}
.review-company span {
  color: #7a7168;
  font-weight: 800;
}
.review-card--company p {
  color: #4f5956;
  line-height: 1.65;
  margin: 18px 0 auto;
}
.review-card--company small {
  display: block;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(45,55,54,.10);
  color: #1f6f68;
  font-weight: 900;
}

.contact .container { max-width: 1640px; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(24px, 4vw, 58px);
  border-radius: 38px;
  border: 1px solid rgba(45,55,54,.12);
  background:
    linear-gradient(135deg, rgba(255,250,241,.82), rgba(242,232,218,.68)),
    radial-gradient(circle at 8% 12%, rgba(31,111,104,.12), transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(213,159,69,.16), transparent 30%);
  box-shadow: 0 28px 90px rgba(62,55,43,.10);
}
.contact-panel .contact__content h2 {
  max-width: 760px;
}
.contact-points {
  display: grid;
  gap: 12px;
  margin: 34px 0;
}
.contact-points div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(45,55,54,.10);
}
.contact-points b {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31,111,104,.09);
  color: #1f6f68;
  font-weight: 900;
}
.contact-points span {
  color: #48534f;
  font-weight: 800;
}
.contact-form--line {
  background: rgba(255,251,244,.58) !important;
  box-shadow: none !important;
  border-radius: 30px !important;
  padding: clamp(22px, 3vw, 38px) !important;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-form--line input,
.contact-form--line textarea,
.contact-form--line select {
  border-width: 0 0 1px 0 !important;
  border-radius: 0 !important;
  padding: 15px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.contact-form--line textarea {
  min-height: 118px;
}
.form-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.form-bottom p {
  max-width: 360px;
  color: #6d7672;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}
.form-bottom a { color: #1f6f68; font-weight: 900; }
.form-bottom .btn { flex: 0 0 auto; }

@media (max-width: 1180px) {
  .reviews-grid--companies { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero-board__flow { grid-template-columns: 1fr; }
  .hero-board__analytics { grid-template-columns: 1fr; }
  .hero-board__chart { min-height: 180px; }
  .hero-board__top { display: grid; }
}
@media (max-width: 680px) {
  .reviews-grid--companies { grid-template-columns: 1fr; }
  .review-card--company { min-height: auto; }
  .form-row { grid-template-columns: 1fr; }
  .form-bottom { display: grid; }
  .form-bottom .btn { width: 100%; }
  .contact-panel { padding: 20px; border-radius: 28px; }
  .hero-board { padding: 16px; border-radius: 26px; }
  .hero-board__flow article { min-height: auto; }
  .hero-board__top strong { font-size: 44px; }
  .hero-board__chart { min-height: 145px; padding: 16px; gap: 8px; }
  .hero-board__metrics b { font-size: 24px; }
}

/* === SPECTR refinement: header, trust panel, career section === */
.header {
  padding-top: 14px;
}
.header__inner {
  height: 74px;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(45,55,54,.11);
  border-radius: 26px;
  background: rgba(255,250,241,.74);
  box-shadow: 0 18px 55px rgba(51,45,37,.08);
  backdrop-filter: blur(22px);
}
.header.is-scrolled {
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
}
/* .logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 24%, #f4d08f 0 16%, #2f7f73 17% 56%, #213236 57% 100%);
  box-shadow: 0 12px 28px rgba(31,111,104,.18);
} */
.logo__text strong {
  color: #1d2528;
  font-family: 'Montserrat', var(--font-head);
  letter-spacing: -.03em;
}
.logo__text small { color: #7b7066; }
.header__nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(45,55,54,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #525c58;
  font-size: 14px;
  letter-spacing: -.01em;
}
.header__nav a:hover {
  color: #1d2528;
  background: rgba(31,111,104,.08);
}
.header__actions { gap: 10px; }
.header__phone {
  padding: 7px 13px;
  border-left: 1px solid rgba(45,55,54,.12);
}
.header__phone small { color: #7b7066; }
.header__phone strong { color: #1d2528; font-size: 16px; }
.messenger,
.theme-toggle {
  background: #fff7ea !important;
  border-color: rgba(45,55,54,.10) !important;
  box-shadow: 0 10px 28px rgba(51,45,37,.06);
}
.header .btn--small {
  min-height: 44px;
  border-radius: 16px;
  background: #213236;
  box-shadow: 0 16px 34px rgba(33,50,54,.16);
}
.header .btn--small:hover { box-shadow: 0 20px 42px rgba(33,50,54,.22); }

.trust.section--tight { padding: 34px 0 70px; }
.trust-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: clamp(22px, 4vw, 58px);
  align-items: stretch;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 34px;
  border: 1px solid rgba(45,55,54,.12);
  background:
    radial-gradient(circle at 7% 0%, rgba(31,111,104,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,250,241,.86), rgba(245,237,222,.72));
  box-shadow: 0 22px 70px rgba(62,55,43,.08);
}
.trust-panel:after {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(215,162,73,.24);
  filter: blur(18px);
  pointer-events: none;
}
.decor-line {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6f68, #d7a249, #a2573f);
  margin-bottom: 18px;
}
.trust-panel__intro p {
  margin: 0 0 12px;
  color: #8a5f45;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.trust-panel__intro strong {
  display: block;
  color: #1d2528;
  max-width: 370px;
  font-family: 'Montserrat', var(--font-head);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.trust-panel__items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-panel__items article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(45,55,54,.10);
  background: rgba(255,255,255,.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.trust-panel__items span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(31,111,104,.10);
  color: #1f6f68;
  font-weight: 900;
  font-size: 12px;
}
.trust-panel__items b {
  color: #1d2528;
  font-size: 18px;
  line-height: 1.12;
}
.trust-panel__items small {
  color: #65706c;
  line-height: 1.4;
}

.section-head:before {
  content: '' !important;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6f68, #d7a249, #a2573f);
  margin-top: 11px;
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(320px, 455px) 1fr;
  gap: 22px;
  align-items: stretch;
}
.career-visual,
.career-card {
  border: 1px solid rgba(45,55,54,.12) !important;
  background: rgba(255,250,241,.74) !important;
  box-shadow: 0 18px 55px rgba(62,55,43,.08) !important;
}
.career-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 30px;
  border-radius: 32px;
}
.career-visual:before {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(31,111,104,.16);
  filter: blur(18px);
}
.career-visual__head { position: relative; z-index: 1; }
.career-visual__head strong {
  display: block;
  max-width: 320px;
  color: #1d2528;
  font-family: 'Montserrat', var(--font-head);
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.career-visual__head p {
  max-width: 330px;
  color: #5f6864;
  line-height: 1.58;
  margin: 18px 0 0;
}
.career-bars {
  position: relative;
  z-index: 1;
  height: 190px;
  display: flex;
  align-items: end;
  gap: 13px;
  margin: 46px 0 28px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(45,55,54,.09);
}
.career-bars span {
  flex: 1;
  min-height: 34px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #1f6f68, #d7a249);
}
.career-visual__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.career-visual__stats div {
  min-height: 104px;
  padding: 15px;
  border-radius: 20px;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(45,55,54,.09);
}
.career-visual__stats b {
  display: block;
  color: #1f6f68;
  font-family: 'Montserrat', var(--font-head);
  font-size: 30px;
}
.career-visual__stats small {
  color: #65706c;
  line-height: 1.35;
}
.career-grid--new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.career-grid--new .career-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border-radius: 30px;
}
.career-grid--new .career-card h3 {
  color: #1d2528;
  margin: 24px 0 12px;
}
.career-grid--new .career-card p {
  color: #5f6864;
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
}
.career-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #1f6f68, #d7a249);
  box-shadow: 0 14px 34px rgba(31,111,104,.16);
  font-weight: 900;
}
.vacancy-row {
  margin-top: 22px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,250,241,.62);
  border: 1px solid rgba(45,55,54,.10);
}
.vacancy-row span {
  background: rgba(255,255,255,.54) !important;
  color: #44504c !important;
  border-color: rgba(45,55,54,.10) !important;
}

@media (max-width: 1280px) {
  .header__nav a { padding: 0 10px; font-size: 13px; }
  .header__phone { display: none; }
  .trust-panel__items { grid-template-columns: repeat(2, 1fr); }
  .career-layout { grid-template-columns: 1fr; }
  .career-visual { min-height: auto; }
}
@media (max-width: 980px) {
  .header { padding-top: 10px; }
  .header__inner { height: 68px; border-radius: 22px; }
  .header__nav { display: none; }
  .trust-panel { grid-template-columns: 1fr; }
  .career-grid--new { grid-template-columns: 1fr; }
  .career-visual__stats { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .header__inner { padding: 8px 10px; }
  .logo__text strong { font-size: 18px; }
  .logo__mark { width: 38px; height: 38px; }
  .trust-panel { padding: 20px; border-radius: 28px; }
  .trust-panel__items { grid-template-columns: 1fr; }
  .trust-panel__items article { min-height: 145px; }
  .career-visual { padding: 22px; border-radius: 28px; }
  .career-bars { padding: 18px; gap: 8px; }
  .career-grid--new .career-card { padding: 22px; min-height: auto; }
}
