:root {
  --black: #010302;
  --space: #06100c;
  --panel: rgba(8, 20, 14, 0.78);
  --panel-strong: rgba(10, 26, 18, 0.92);
  --lime: #d7ff12;
  --lime-soft: #a9d814;
  --green: #54d61d;
  --green-deep: #0c6f24;
  --white: #f5fff4;
  --muted: #a7b7aa;
  --line: rgba(198, 255, 41, 0.22);
  --line-strong: rgba(215, 255, 18, 0.56);
  --amber: #ffe36a;
  --steel: #8aa5a0;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --glow: 0 0 18px rgba(215, 255, 18, 0.45), 0 0 52px rgba(84, 214, 29, 0.2);
  --radius: 8px;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(1, 3, 2, 0.96), rgba(4, 13, 8, 0.98)),
    var(--black);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  z-index: -2;
  height: 52vh;
  pointer-events: none;
  opacity: 0.2;
  background: url("assets/ceu-neon-bg.jpg") center bottom / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(90deg, rgba(215, 255, 18, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(215, 255, 18, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 320px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 94px;
  padding: 10px 42px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(1, 5, 3, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: 320px;
  height: 76px;
  min-width: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a,
.header-phone {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after,
.header-phone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--lime);
  box-shadow: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after,
.header-phone:hover::after {
  transform: scaleX(1);
}

.header-phone {
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 0 16px rgba(245, 255, 244, 0.36);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--lime);
  background: rgba(215, 255, 18, 0.05);
  box-shadow: inset 0 0 16px rgba(215, 255, 18, 0.08), 0 0 18px rgba(215, 255, 18, 0.12);
  cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.page-hero {
  min-height: max(640px, min(56.28vw, 1882px));
  align-items: start;
}

.hero__image,
.hero__shade,
.hero__pattern {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background: url("assets/ceu-neon-bg.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero--home .hero__image {
  background-color: #010302;
  background-image: url("assets/hero-lab-topaz.png");
  background-position: center top;
  background-size: 100% auto;
  transform: none;
}

.hero--home .hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 37%, rgba(0, 0, 0, 0.14) 62%, rgba(0, 0, 0, 0.02) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(5, 35, 10, 0.08) 54%, rgba(0, 0, 0, 0.08));
}

.hero--lab .hero__image {
  background-color: #010302;
  background-image: url("assets/hero-laboratory-mass-spec-topaz.png");
  background-position: center top;
  background-size: 100% auto;
  transform: none;
}

.hero--design .hero__image {
  background-color: #010302;
  background-image: url("assets/hero-design-szz-topaz.png");
  background-position: center top;
  background-size: 100% auto;
  transform: none;
}

.hero--engineering .hero__image {
  background-color: #010302;
  background-image: url("assets/hero-engineering-tachymeter.png");
  background-position: center top;
  background-size: 100% auto;
  transform: none;
}

.hero--contacts .hero__image {
  background-position: 60% center;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(4, 33, 10, 0.2));
}

.hero__pattern {
  z-index: -1;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(215, 255, 18, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(215, 255, 18, 0.08) 1px, transparent 1px),
    repeating-linear-gradient(110deg, transparent 0 22px, rgba(84, 214, 29, 0.12) 23px, transparent 24px);
  background-size: 110px 110px, 110px 110px, 220px 220px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  animation: drift 16s linear infinite;
}

@keyframes drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 110px 110px, 110px 110px, 220px 0;
  }
}

.hero__content {
  padding-top: 128px;
}

.hero--home .hero__content {
  padding-top: 160px;
}

.page-hero .hero__content {
  padding-top: 160px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 72px;
  line-height: 1.02;
  font-weight: 950;
  text-shadow: 0 0 26px rgba(245, 255, 244, 0.22), 0 0 70px rgba(84, 214, 29, 0.14);
}

.hero--home h1 {
  max-width: 580px;
  margin-bottom: 14px;
}

.hero-logo-title {
  display: block;
  width: min(620px, 100%);
  margin-bottom: 16px;
}

.hero-logo-title img {
  width: 100%;
  height: auto;
}

.hero__tagline {
  max-width: 580px;
  margin-bottom: 32px;
  color: var(--lime);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.08;
  font-weight: 950;
  text-shadow: 0 0 18px rgba(215, 255, 18, 0.54), 0 0 52px rgba(84, 214, 29, 0.24);
}

.hero--home .hero__lead {
  max-width: 560px;
}

h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 950;
}

h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.22;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 36px;
  color: rgba(245, 255, 244, 0.84);
  font-size: 22px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

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

.button--primary {
  color: #081003;
  background: linear-gradient(180deg, #efff3b, var(--lime) 48%, #98d400);
  box-shadow: 0 0 18px rgba(215, 255, 18, 0.48), 0 18px 48px rgba(87, 214, 29, 0.24);
}

.button--primary:hover {
  box-shadow: 0 0 26px rgba(215, 255, 18, 0.62), 0 22px 56px rgba(87, 214, 29, 0.32);
}

.button--ghost,
.button--outline {
  color: var(--white);
  border-color: var(--line-strong);
  background: rgba(215, 255, 18, 0.05);
  box-shadow: inset 0 0 18px rgba(215, 255, 18, 0.08);
}

.button--ghost:hover,
.button--outline:hover {
  background: rgba(215, 255, 18, 0.12);
  box-shadow: 0 0 22px rgba(215, 255, 18, 0.2);
}

.button--play {
  gap: 10px;
  color: var(--lime);
  border-color: rgba(215, 255, 18, 0.74);
  background: rgba(215, 255, 18, 0.08);
  box-shadow: inset 0 0 20px rgba(215, 255, 18, 0.12), 0 0 20px rgba(215, 255, 18, 0.22);
}

.button--play:hover {
  color: #081003;
  background: var(--lime);
  box-shadow: 0 0 28px rgba(215, 255, 18, 0.68), 0 18px 48px rgba(87, 214, 29, 0.28);
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding-left: 2px;
  border-radius: 50%;
  color: #081003;
  background: var(--lime);
  box-shadow: var(--glow);
}

.button--play:hover .play-icon {
  color: var(--lime);
  background: #081003;
}

.hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  margin-top: 28px;
}

.hero__quicklinks a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  background: rgba(215, 255, 18, 0.06);
  box-shadow: inset 0 0 16px rgba(215, 255, 18, 0.06);
}

.hero__quicklinks a:hover {
  color: #081003;
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: var(--glow);
}

.hero__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(1, 5, 3, 0.54), rgba(1, 5, 3, 0.9));
  border-top: 1px solid rgba(215, 255, 18, 0.28);
  backdrop-filter: blur(10px);
}

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

.hero__bar-inner > * {
  min-height: 126px;
  padding: 22px 24px;
  border: 1px solid rgba(215, 255, 18, 0.42);
  border-radius: var(--radius);
  color: inherit;
  background:
    radial-gradient(circle at 90% 15%, rgba(215, 255, 18, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(7, 21, 12, 0.82), rgba(1, 5, 3, 0.88));
  box-shadow: inset 0 1px 0 rgba(245, 255, 244, 0.08), 0 0 20px rgba(215, 255, 18, 0.12);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.hero__bar-inner > *:hover {
  background:
    radial-gradient(circle at 90% 15%, rgba(215, 255, 18, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(12, 35, 19, 0.9), rgba(2, 9, 5, 0.9));
  box-shadow: inset 0 1px 0 rgba(245, 255, 244, 0.12), 0 0 28px rgba(215, 255, 18, 0.22);
}

.hero__bar strong,
.hero__bar span {
  display: block;
}

.hero__bar strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(245, 255, 244, 0.24), var(--glow);
}

.hero__bar span {
  color: rgba(245, 255, 244, 0.78);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.35;
}

@media (min-width: 1061px) {
  .hero--home {
    --home-image-height: min(56.28vw, 1882px);
    --home-bar-height: 160px;
    align-items: start;
    min-height: calc(var(--home-image-height) + var(--home-bar-height));
  }

  .hero--home .hero__image,
  .hero--home .hero__shade,
  .hero--home .hero__pattern {
    bottom: auto;
    height: var(--home-image-height);
  }

  .hero--home .hero__bar {
    top: var(--home-image-height);
    bottom: auto;
  }

  .hero--home .hero__content {
    width: min(1120px, calc(100% - 84px));
    margin-right: auto;
    margin-left: 42px;
    padding-top: calc(clamp(170px, 17vw, 245px) + 30px);
  }

  .page-hero .hero__content {
    width: min(1120px, calc(100% - 84px));
    margin-right: auto;
    margin-left: 42px;
    padding-top: calc(clamp(170px, 17vw, 245px) + 30px);
  }

  .cta-band__inner {
    width: calc(100% - 350px);
    margin-right: 308px;
    margin-left: 42px;
  }
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--paper,
.section--white {
  background:
    linear-gradient(180deg, rgba(6, 16, 12, 0.92), rgba(1, 3, 2, 0.96)),
    var(--space);
}

.section--white {
  border-top: 1px solid rgba(215, 255, 18, 0.08);
  border-bottom: 1px solid rgba(215, 255, 18, 0.08);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading p:last-child,
.direction-card p,
.map-column li,
.detail-block p,
.check-list,
.contact-panel address,
.footer p,
.footer a,
.footer span {
  color: var(--muted);
}

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

.directions-section .direction-grid {
  align-items: stretch;
}

.direction-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.direction-card::before,
.direction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 300ms ease, opacity 300ms ease;
}

.direction-card::before {
  z-index: 0;
  background: url("assets/ceu-neon-bg.jpg") center / cover no-repeat;
  opacity: 0.72;
}

.direction-card--lab::before {
  background-image: url("assets/hero-laboratory-mass-spec-topaz.png");
  background-position: center bottom;
}

.direction-card--design::before {
  background-image: url("assets/hero-design-szz-topaz.png");
  background-position: center bottom;
}

.direction-card--surveys::before {
  background-image: url("assets/hero-engineering-tachymeter.png");
  background-position: center bottom;
}

.direction-card::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.16));
}

.direction-card:hover::before {
  transform: scale(1.05);
  opacity: 0.92;
}

.direction-card > * {
  position: relative;
  z-index: 2;
  margin-right: auto;
  margin-left: auto;
}

.direction-card__label {
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.direction-card h3 {
  max-width: 560px;
  font-size: 32px;
}

.direction-card p {
  max-width: 560px;
  color: rgba(245, 255, 244, 0.76);
}

.direction-card strong {
  margin-top: 20px;
  color: var(--lime);
}

.site-map {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 38px;
}

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

.map-column {
  min-height: 470px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 35, 22, 0.9), rgba(3, 10, 6, 0.94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(245, 255, 244, 0.06);
}

.map-column h3 {
  margin-bottom: 22px;
}

.map-column ol {
  display: grid;
  gap: 18px;
  padding-left: 22px;
  margin: 0;
}

.map-column li::marker {
  color: var(--lime);
  font-weight: 950;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(4, 42, 12, 0.22) 100%),
    url("assets/hero-laboratory-mass-spec-topaz.png") center / cover no-repeat;
}

.cta-band h2 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(24px, 2.45vw, 36px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(245, 255, 244, 0.24), 0 0 54px rgba(215, 255, 18, 0.18);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band .button {
  margin-left: auto;
  white-space: nowrap;
}

.subnav {
  position: sticky;
  z-index: 30;
  top: 88px;
  border-top: 1px solid rgba(215, 255, 18, 0.08);
  border-bottom: 1px solid var(--line);
  background: rgba(1, 5, 3, 0.92);
  backdrop-filter: blur(16px);
}

.subnav__inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

.subnav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  background: rgba(215, 255, 18, 0.05);
}

.subnav a:hover {
  color: #081003;
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: var(--glow);
}

.service-detail-list {
  display: grid;
  gap: 22px;
}

.detail-block {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  min-height: 330px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(10, 28, 18, 0.96), rgba(5, 13, 8, 0.86)),
    url("assets/ceu-neon-bg.jpg") right center / 620px auto no-repeat;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(245, 255, 244, 0.06);
  scroll-margin-top: 170px;
}

.detail-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 64%, rgba(215, 255, 18, 0.08) 64.3%, transparent 65%);
}

.detail-block--design {
  background:
    linear-gradient(90deg, rgba(10, 28, 18, 0.96), rgba(5, 13, 8, 0.88)),
    url("assets/ceu-neon-bg.jpg") right center / 680px auto no-repeat;
}

.detail-block--surveys {
  background:
    linear-gradient(90deg, rgba(10, 28, 18, 0.96), rgba(5, 13, 8, 0.88)),
    url("assets/hero-lab-topaz.png") right center / 760px auto no-repeat;
}

.detail-block__number {
  color: var(--lime);
  font-size: 54px;
  line-height: 1;
  font-weight: 950;
  text-shadow: var(--glow);
}

.detail-block h2 {
  max-width: 820px;
}

.detail-block p {
  max-width: 840px;
  color: rgba(245, 255, 244, 0.76);
  font-size: 18px;
}

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

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

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: var(--glow);
}

.expert-case {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(215, 255, 18, 0.62);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 10%, rgba(215, 255, 18, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(3, 10, 6, 0.98), rgba(7, 24, 14, 0.94)),
    url("assets/ceu-neon-bg.jpg") right bottom / 720px auto no-repeat;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(245, 255, 244, 0.08), 0 0 38px rgba(215, 255, 18, 0.1);
  scroll-margin-top: 170px;
}

.expert-case::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(215, 255, 18, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(215, 255, 18, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%, transparent 100%);
  opacity: 0.45;
}

.expert-case > * {
  position: relative;
  z-index: 1;
}

.expert-case__hero {
  max-width: 980px;
  margin-bottom: 26px;
}

.expert-case__hero h2 {
  max-width: 900px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 56px);
  text-shadow: 0 0 24px rgba(245, 255, 244, 0.18), var(--glow);
}

.expert-case__hero p,
.expert-card p,
.expert-case__note {
  color: rgba(245, 255, 244, 0.78);
}

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

.expert-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(215, 255, 18, 0.44);
  border-radius: var(--radius);
  background: rgba(1, 6, 3, 0.78);
  box-shadow: inset 0 1px 0 rgba(245, 255, 244, 0.06), 0 0 18px rgba(215, 255, 18, 0.08);
}

.expert-card--wide {
  grid-column: span 2;
  min-height: 0;
}

.expert-card h3 {
  margin-bottom: 16px;
  color: var(--lime);
  font-size: 24px;
  text-shadow: var(--glow);
}

.case-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: rgba(245, 255, 244, 0.78);
  list-style: none;
}

.case-list li {
  position: relative;
  padding-left: 26px;
}

.case-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-weight: 950;
  text-shadow: var(--glow);
}

.penalty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
}

.penalty-grid span {
  color: rgba(245, 255, 244, 0.76);
}

.penalty-grid strong {
  color: var(--lime);
  white-space: nowrap;
  text-shadow: var(--glow);
}

.expert-case__note {
  margin: 24px 0 0;
  padding: 20px 24px;
  border: 1px solid rgba(215, 255, 18, 0.44);
  border-radius: var(--radius);
  font-size: 21px;
  line-height: 1.35;
  background: rgba(1, 6, 3, 0.72);
  box-shadow: inset 0 1px 0 rgba(245, 255, 244, 0.06);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 34px;
}

.contacts-section {
  padding-top: 150px;
}

.contact-panel,
.request-form {
  min-height: 560px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 35, 22, 0.92), rgba(3, 10, 6, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(245, 255, 244, 0.06);
}

.contact-panel address {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  font-style: normal;
}

.contact-panel a:hover {
  color: var(--lime);
}

.request-form {
  display: grid;
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.38);
  outline: 0;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 255, 18, 0.18), var(--glow);
}

.request-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 56px 0;
  color: var(--white);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(2, 20, 7, 0.9)),
    url("assets/ceu-neon-bg.jpg") center bottom / cover no-repeat;
}

.footer__layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 46px;
}

.footer__brand {
  width: 320px;
}

.footer__logo {
  width: 320px;
  height: 96px;
  margin: 0 auto 14px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 14px rgba(215, 255, 18, 0.42));
}

.footer__tagline {
  width: 100%;
  margin: 0;
  color: var(--lime) !important;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.22;
  text-shadow: 0 0 18px rgba(215, 255, 18, 0.54), 0 0 52px rgba(84, 214, 29, 0.24);
}

.footer__tagline span {
  display: block;
  color: var(--lime) !important;
  text-align: center;
}

.footer p,
.footer a,
.footer span {
  color: rgba(245, 255, 244, 0.7);
}

.footer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 18px;
}

.footer address,
.socials {
  display: grid;
  gap: 8px;
  font-style: normal;
}

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

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].hero__content {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__pattern {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: 280px auto;
    padding: 12px 24px;
  }

  .brand {
    width: 280px;
    height: 66px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  .site-header.is-open {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-phone {
    display: flex;
  }

  .site-header.is-open .main-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding-top: 18px;
  }

  .site-header.is-open .header-phone {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 280px auto;
    padding: 12px 24px;
  }

  .brand {
    width: 280px;
    height: 66px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  .site-header.is-open {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-phone {
    display: flex;
  }

  .site-header.is-open .main-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding-top: 18px;
  }

  .site-header.is-open .header-phone {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .hero__bar-inner,
  .direction-grid,
  .site-map,
  .map-columns,
  .expert-case__grid,
  .contact-layout,
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .expert-card--wide {
    grid-column: auto;
  }

  .hero__bar {
    position: relative;
  }

  .hero__bar-inner > * {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__bar-inner > *:last-child {
    border-bottom: 0;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 78px;
    gap: 14px;
    padding: 12px 14px;
  }

  .brand {
    width: 220px;
    height: 58px;
  }

  .hero,
  .page-hero {
    min-height: 740px;
  }

  .hero__image {
    background-position: 48% center;
  }

  .hero--home .hero__image {
    background-position: 72% top;
    background-size: auto 100%;
    opacity: 1;
  }

  .page-hero .hero__image {
    background-position: 72% top;
    background-size: auto 100%;
  }

  .hero--design .hero__image {
    background-position: 78% top;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.76) 58%, rgba(5, 29, 8, 0.72) 100%);
  }

  .hero--home .hero__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 58%, rgba(5, 29, 8, 0.58) 100%);
  }

  .hero__pattern {
    mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  }

  .hero__content {
    padding-top: 118px;
  }

  .hero--home .hero__content {
    padding-top: 148px;
  }

  .page-hero .hero__content {
    padding-top: 148px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 22px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__actions,
  .contact-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .direction-card {
    min-height: 360px;
    padding: 26px;
  }

  .direction-card h3 {
    font-size: 30px;
  }

  .map-column,
  .contact-panel,
  .request-form {
    min-height: 0;
    padding: 24px;
  }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 24px;
    background:
      linear-gradient(90deg, rgba(10, 28, 18, 0.98), rgba(5, 13, 8, 0.92)),
      url("assets/ceu-neon-bg.jpg") right bottom / 520px auto no-repeat;
  }

  .expert-case {
    padding: 24px;
  }

  .expert-card {
    min-height: 0;
    padding: 22px;
  }

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

  .detail-block__number {
    font-size: 38px;
  }

  .subnav {
    top: 78px;
  }
}
