.seo-page {
  --seo-bg: #07111f;
  --seo-bg-2: #0b1324;
  --seo-panel: rgba(15, 23, 42, .72);
  --seo-panel-strong: rgba(13, 22, 38, .88);
  --seo-line: rgba(148, 163, 184, .18);
  --seo-line-hot: rgba(56, 189, 248, .35);
  --seo-text: #f8fafc;
  --seo-muted: #cbd5e1;
  --seo-soft: #94a3b8;
  --seo-blue: #38bdf8;
  --seo-blue-2: #60a5fa;
  --seo-blue-3: #0ea5e9;
  --seo-yellow: #ffd34d;
  --seo-radius: 28px;
  --seo-radius-sm: 22px;
  --seo-shadow: 0 28px 120px rgba(0, 0, 0, .42);
  --seo-glow: 0 0 72px rgba(56, 189, 248, .18);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(56, 189, 248, .15), transparent 34rem),
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, .13), transparent 30rem),
    linear-gradient(180deg, #050a13 0%, var(--seo-bg) 34%, #08101d 100%);
  color: var(--seo-text);
}

.seo-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
}

.seo-page > * {
  position: relative;
  z-index: 1;
}

.seo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 720px;
  padding: 52px 0 38px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, .98), rgba(8, 18, 34, .86) 58%, rgba(4, 10, 19, .94)),
    url("/static/img/products-hero.jpg") center / cover no-repeat;
}

.seo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--seo-bg));
  z-index: -1;
}

.seo-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .72;
  background:
    linear-gradient(115deg, rgba(56, 189, 248, .12) 0 1px, transparent 1px 98px),
    radial-gradient(circle at 70% 35%, rgba(14, 165, 233, .24), transparent 26rem),
    radial-gradient(circle at 15% 78%, rgba(96, 165, 250, .16), transparent 28rem);
}

.seo-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(30px);
  opacity: .58;
  z-index: -1;
  background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 66%);
  animation: seoFloat 9s ease-in-out infinite alternate;
}

.seo-hero__glow--one { top: 10%; right: 6%; }
.seo-hero__glow--two {
  left: 7%;
  bottom: 4%;
  width: 280px;
  height: 280px;
  opacity: .35;
  animation-delay: -3s;
}

.seo-hero__inner {
  width: 100%;
  padding-top: 12px;
}

.seo-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 32px;
  color: rgba(203, 213, 225, .72);
  font-size: 13px;
  font-weight: 850;
}

.seo-crumbs a {
  color: rgba(248, 250, 252, .86);
  text-decoration: none;
  transition: color .2s ease;
}

.seo-crumbs a:hover {
  color: var(--seo-blue);
}

.seo-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-inline: clamp(0px, 2vw, 28px);
}

.seo-hero__content {
  max-width: 880px;
  padding: clamp(18px, 2.5vw, 30px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(2, 6, 23, .32), rgba(15, 23, 42, .08));
  animation: seoRise .7s cubic-bezier(.2, .8, .2, 1) both;
}

.seo-badge,
.seo-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(14, 165, 233, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 48px rgba(14, 165, 233, .08);
  font-size: 12px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.seo-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--seo-blue);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, .12), 0 0 20px rgba(56, 189, 248, .75);
}

.seo-h1 {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--seo-text);
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.seo-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(203, 213, 225, .86);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 760;
}

.seo-actions,
.seo-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.seo-actions {
  margin-top: 30px;
}

.seo-cta {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(56, 189, 248, .22);
}

.seo-cta::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -25%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: rotate(14deg);
  transition: transform .42s ease;
}

.seo-cta:hover::after {
  transform: translateX(330%) rotate(14deg);
}

.seo-hero__contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 18px;
  margin-top: 24px;
}

.seo-hero__contacts div,
.seo-contact-line {
  display: grid;
  gap: 4px;
  color: var(--seo-soft);
  font-size: 13px;
  font-weight: 800;
}

.seo-hero__contacts a,
.seo-contact-line a {
  color: var(--seo-text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 1000;
}

.seo-hero__visual {
  position: relative;
  min-height: 470px;
  animation: seoRise .8s .08s cubic-bezier(.2, .8, .2, 1) both;
}

.seo-visual-card,
.seo-glass-card,
.seo-stat-card,
.seo-object-card,
.seo-product-card,
.seo-process__item,
.seo-related-card,
.seo-faq__item,
.seo-lead-form,
.seo-form-panel {
  border: 1px solid var(--seo-line);
  background: linear-gradient(145deg, rgba(15, 23, 42, .78), rgba(8, 16, 31, .62));
  box-shadow: var(--seo-shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.seo-visual-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 470px;
  padding: 26px;
  border-radius: 32px;
  box-shadow: 0 38px 140px rgba(0, 0, 0, .52), 0 0 90px rgba(56, 189, 248, .18);
}

.seo-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .6;
  background:
    radial-gradient(circle at 26% 22%, rgba(56, 189, 248, .22), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 34%);
  pointer-events: none;
}

.seo-visual-card::after {
  content: "";
  position: absolute;
  inset: -45%;
  pointer-events: none;
  opacity: .48;
  background:
    conic-gradient(from 0deg at 50% 50%, transparent, rgba(56, 189, 248, .22), transparent 24%, transparent 100%);
  animation: seoRadar 8s linear infinite;
}

.seo-visual-card__top,
.seo-scheme,
.seo-visual-metrics {
  position: relative;
  z-index: 1;
}

.seo-visual-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.seo-visual-card__kicker {
  color: var(--seo-blue);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.seo-visual-card__title {
  max-width: 300px;
  margin-top: 6px;
  color: var(--seo-text);
  font-size: 24px;
  line-height: 1.08;
  font-weight: 1000;
}

.seo-visual-card__status {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: #d9f99d;
  border: 1px solid rgba(190, 242, 100, .25);
  background: rgba(132, 204, 22, .1);
  font-size: 12px;
  font-weight: 1000;
}

.seo-scheme {
  height: 270px;
  margin-top: 24px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .14);
  background:
    linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px),
    rgba(2, 6, 23, .34);
  background-size: 28px 28px;
  overflow: hidden;
}

.seo-scheme::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, .16);
  box-shadow:
    0 0 0 28px rgba(56, 189, 248, .025),
    0 0 0 58px rgba(56, 189, 248, .018);
  animation: seoPulse 3.8s ease-in-out infinite;
}

.seo-scheme__duct {
  position: absolute;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, .35), rgba(96, 165, 250, .9), rgba(203, 213, 225, .42));
  box-shadow: 0 0 26px rgba(56, 189, 248, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.seo-scheme__duct--main {
  left: 42px;
  right: 54px;
  top: 122px;
}

.seo-scheme__duct--branch {
  width: 150px;
  top: 72px;
  left: 142px;
  transform: rotate(-34deg);
}

.seo-scheme__duct--branch2 {
  width: 134px;
  top: 173px;
  right: 76px;
  transform: rotate(38deg);
}

.seo-fan {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, .5);
  background: radial-gradient(circle, rgba(248, 250, 252, .12) 0 15%, rgba(56, 189, 248, .16) 16% 42%, rgba(2, 6, 23, .82) 43%);
  box-shadow: 0 0 42px rgba(56, 189, 248, .3);
  animation:
    seoFanSpin 5.4s linear infinite,
    seoFanGlow 3.2s ease-in-out infinite;
}

.seo-fan::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: inherit;
  border: 1px dashed rgba(96, 165, 250, .36);
  animation: seoSpin 10s linear infinite;
}

.seo-fan span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 16px;
  border-radius: 70% 18% 70% 18%;
  background: linear-gradient(90deg, rgba(248, 250, 252, .82), rgba(56, 189, 248, .5));
  transform-origin: 0 50%;
  animation: seoBlade 2.6s ease-in-out infinite;
}

.seo-fan span:nth-child(1) { transform: rotate(15deg) translateX(9px); }
.seo-fan span:nth-child(2) { transform: rotate(135deg) translateX(9px); }
.seo-fan span:nth-child(3) { transform: rotate(255deg) translateX(9px); }

.seo-flow {
  position: absolute;
  width: 58px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #e0f7ff, transparent);
  box-shadow: 0 0 18px rgba(56, 189, 248, .78);
  animation: seoFlow 2.8s ease-in-out infinite;
}

.seo-flow--one { left: 70px; top: 104px; }
.seo-flow--two { right: 88px; top: 145px; animation-delay: -.9s; }
.seo-flow--three { left: 118px; bottom: 62px; animation-delay: -1.7s; }

.seo-visual-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.seo-visual-metrics div {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px;
  padding: 12px 10px;
  background: rgba(15, 23, 42, .66);
}

.seo-visual-metrics span {
  display: block;
  color: var(--seo-blue);
  font-size: 11px;
  font-weight: 1000;
}

.seo-visual-metrics b {
  display: block;
  margin-top: 3px;
  color: var(--seo-text);
  font-size: 12px;
  line-height: 1.15;
}

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

.seo-stat-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  color: inherit;
  text-decoration: none;
}

.seo-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .68;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(56, 189, 248, .18), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 54%);
}

.seo-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--seo-line-hot);
  box-shadow: var(--seo-shadow), var(--seo-glow);
}

.seo-stat-card__icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(125, 211, 252, .42);
  border-radius: 15px;
  background:
    radial-gradient(circle at 32% 26%, rgba(248, 250, 252, .9), transparent 0 4px),
    radial-gradient(circle at 72% 76%, rgba(96, 165, 250, .45), transparent 36%),
    linear-gradient(145deg, rgba(56, 189, 248, .28), rgba(15, 23, 42, .55));
  box-shadow:
    0 16px 38px rgba(56, 189, 248, .18),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.seo-stat-card__icon::before,
.seo-stat-card__icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 9px;
  border: 2px solid rgba(224, 247, 255, .78);
  box-shadow: 0 0 18px rgba(56, 189, 248, .36);
}

.seo-stat-card__icon::after {
  inset: auto 9px 10px 18px;
  height: 2px;
  border: 0;
  border-radius: 99px;
  background: rgba(224, 247, 255, .88);
  transform: rotate(-34deg);
}

.seo-stat-card:nth-child(2) .seo-stat-card__icon::before {
  border-radius: 999px;
}

.seo-stat-card:nth-child(2) .seo-stat-card__icon::after {
  inset: 13px 10px auto;
  height: 12px;
  width: auto;
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(224,247,255,.92) 20% 29%, transparent 29% 45%, rgba(224,247,255,.92) 45% 54%, transparent 54% 70%, rgba(224,247,255,.92) 70% 79%, transparent 79%);
  transform: none;
}

.seo-stat-card:nth-child(3) .seo-stat-card__icon::before {
  inset: 12px 9px 14px;
  border-radius: 7px;
}

.seo-stat-card:nth-child(3) .seo-stat-card__icon::after {
  inset: 20px 12px auto;
  height: 2px;
  transform: none;
}

.seo-stat-card:nth-child(4) .seo-stat-card__icon::before {
  inset: 11px;
  border-radius: 999px;
}

.seo-stat-card:nth-child(4) .seo-stat-card__icon::after {
  inset: 18px 9px auto;
  height: 2px;
  transform: none;
}

.seo-stat-card:hover .seo-stat-card__icon {
  transform: translateY(-2px) rotate(-2deg);
  border-color: rgba(186, 230, 253, .7);
  box-shadow:
    0 20px 48px rgba(56, 189, 248, .26),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

.seo-stat-card__title {
  position: relative;
  z-index: 1;
  color: var(--seo-text);
  font-size: 15px;
  line-height: 1.16;
  font-weight: 1000;
}

.seo-stat-card__text {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: var(--seo-soft);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 760;
}

.seo-section {
  position: relative;
  padding: 78px 0;
}

.seo-section--intro,
.seo-section--directions,
.seo-section--advantages,
.seo-section--faq {
  background: linear-gradient(180deg, rgba(15, 23, 42, .2), rgba(2, 6, 23, .08));
}

.seo-section--objects,
.seo-section--process,
.seo-section--related {
  background: rgba(255, 255, 255, .018);
}

.seo-section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

.seo-section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .55fr);
  gap: 28px;
  align-items: end;
}

.seo-section-head h2,
.seo-form-panel h2 {
  margin: 14px 0 0;
  color: var(--seo-text);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.seo-section-head p,
.seo-form-panel p {
  margin: 14px 0 0;
  color: rgba(203, 213, 225, .76);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 760;
}

.seo-card-grid,
.seo-product-grid,
.seo-adv-grid,
.seo-related-grid {
  display: grid;
  gap: 18px;
}

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

.seo-glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--seo-radius);
  padding: 24px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  color: inherit;
  text-decoration: none;
}

.seo-glass-card::before,
.seo-product-card::before,
.seo-related-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, .14), transparent 46%);
  transition: opacity .24s ease;
}

.seo-glass-card:hover,
.seo-product-card:hover,
.seo-related-card:hover,
.seo-object-card:hover,
.seo-process__item:hover {
  transform: translateY(-4px);
  border-color: var(--seo-line-hot);
  box-shadow: var(--seo-shadow), var(--seo-glow);
}

.seo-glass-card:hover::before,
.seo-product-card:hover::before,
.seo-related-card:hover::before {
  opacity: 1;
}

.seo-card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #e0f7ff;
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .24);
  font-size: 13px;
  font-weight: 1000;
}

.seo-feature-card h3,
.seo-object-card h3,
.seo-product-card h3,
.seo-process__item h3,
.seo-adv-card h3 {
  position: relative;
  margin: 18px 0 0;
  color: var(--seo-text);
  font-size: 20px;
  line-height: 1.16;
  font-weight: 1000;
}

.seo-feature-card p,
.seo-object-card p,
.seo-product-card p,
.seo-process__item p {
  position: relative;
  margin: 12px 0 0;
  color: rgba(203, 213, 225, .76);
  font-size: 14px;
  line-height: 1.56;
  font-weight: 760;
}

.seo-mini-list {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.seo-mini-list li {
  color: var(--seo-muted);
  font-size: 13px;
  line-height: 1.36;
  font-weight: 780;
}

.seo-mini-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--seo-blue);
}

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

.seo-object-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--seo-radius-sm);
  padding: 22px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  color: inherit;
  text-decoration: none;
}

.seo-object-card::before {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 130px;
  height: 130px;
  border-radius: 42px;
  border: 1px solid rgba(56, 189, 248, .16);
  transform: rotate(24deg);
  background: rgba(56, 189, 248, .045);
}

.seo-object-card__mark {
  color: var(--seo-blue);
  font-size: 12px;
  font-weight: 1000;
}

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

.seo-product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--seo-radius);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.seo-product-card__media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: rgba(2, 6, 23, .55);
}

.seo-product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(2, 6, 23, .84));
}

.seo-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .45s ease;
}

.seo-product-card:hover .seo-product-card__media img {
  transform: scale(1.07);
}

.seo-product-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 22px;
}

.seo-product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(56, 189, 248, .11);
  border: 1px solid rgba(56, 189, 248, .22);
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
}

.seo-price {
  margin-top: 16px;
  color: var(--seo-yellow);
  font-size: 17px;
  font-weight: 1000;
}

.seo-product-card--offer {
  min-height: 260px;
}

.seo-product-card--offer .seo-product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seo-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-process::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .6), transparent);
}

.seo-process__item {
  position: relative;
  border-radius: var(--seo-radius-sm);
  padding: 22px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  color: inherit;
  text-decoration: none;
}

.seo-process__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--seo-text);
  background: linear-gradient(135deg, rgba(56, 189, 248, .92), rgba(14, 165, 233, .2));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 42px rgba(56, 189, 248, .18);
  font-size: 13px;
  font-weight: 1000;
}

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

.seo-adv-card {
  min-height: 150px;
}

.seo-adv-card h3 {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.35;
}

.seo-adv-card__line {
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--seo-blue), transparent);
  box-shadow: 0 0 18px rgba(56, 189, 248, .5);
}

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

.seo-related-card {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 22px;
  border-radius: var(--seo-radius-sm);
  color: var(--seo-text);
  text-decoration: none;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.seo-related-card::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--seo-blue);
  font-size: 22px;
  font-weight: 1000;
  transition: transform .24s ease;
}

.seo-related-card:hover::after {
  transform: translateX(4px);
}

.seo-related-card span,
.seo-related-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.seo-related-card span {
  max-width: 82%;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 1000;
}

.seo-related-card small {
  margin-top: 12px;
  color: var(--seo-soft);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 780;
}

.seo-faq {
  display: grid;
  gap: 14px;
}

.seo-faq__item {
  overflow: hidden;
  border-radius: 24px;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.seo-faq__item:hover {
  transform: translateY(-2px);
  border-color: var(--seo-line-hot);
  box-shadow: 0 20px 80px rgba(56, 189, 248, .09);
}

.seo-faq__item summary {
  position: relative;
  cursor: pointer;
  padding: 22px 62px 22px 24px;
  color: var(--seo-text);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 1000;
  list-style: none;
}

.seo-faq__item summary::-webkit-details-marker {
  display: none;
}

.seo-faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--seo-blue);
  border-bottom: 2px solid var(--seo-blue);
  transform: translateY(-64%) rotate(45deg);
  transition: transform .22s ease;
}

.seo-faq__item[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.seo-faq__item p {
  margin: 0;
  padding: 0 24px 24px;
  color: rgba(203, 213, 225, .76);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 760;
}

.seo-section--form {
  padding-bottom: 94px;
}

.seo-section--calc {
  background:
    radial-gradient(circle at 12% 10%, rgba(56, 189, 248, .12), transparent 26rem),
    rgba(255, 255, 255, .018);
}

.seo-calc-panel {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--seo-line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .78), rgba(8, 16, 31, .62));
  box-shadow: var(--seo-shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.seo-calc-panel .pcalc__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.seo-calc-panel .pcalc__cta::after {
  content: " →";
}

.seo-form-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 560px);
  gap: 34px;
  align-items: start;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 16% 12%, rgba(56, 189, 248, .18), transparent 25rem),
    linear-gradient(145deg, rgba(15, 23, 42, .86), rgba(7, 17, 31, .78));
}

.seo-lead-main {
  margin-inline: auto;
}

.seo-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 14% 20%, #000 0 28%, transparent 66%);
}

.seo-form-panel__content,
.seo-lead-form {
  position: relative;
  z-index: 1;
}

.seo-trust-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.seo-trust-list div {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--seo-muted);
  font-size: 14px;
  line-height: 1.34;
  font-weight: 820;
}

.seo-trust-list span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--seo-blue);
  box-shadow: 0 0 18px rgba(56, 189, 248, .55);
}

.seo-contact-line {
  margin-top: 28px;
}

.seo-lead-form {
  display: grid;
  gap: 14px;
  border-radius: 28px;
  padding: 24px;
  background: rgba(2, 6, 23, .42);
}

.seo-lead-form label {
  display: grid;
  gap: 7px;
}

.seo-lead-form label > span {
  color: rgba(203, 213, 225, .86);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.seo-lead-form input,
.seo-lead-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 18px;
  background: rgba(15, 23, 42, .7);
  color: var(--seo-text);
  padding: 14px 16px;
  font: inherit;
  font-weight: 760;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.seo-lead-form textarea {
  min-height: 112px;
  resize: vertical;
}

.seo-lead-form input:focus,
.seo-lead-form textarea:focus {
  border-color: rgba(56, 189, 248, .58);
  background: rgba(15, 23, 42, .92);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .09);
}

.seo-lead-form input::placeholder,
.seo-lead-form textarea::placeholder {
  color: rgba(148, 163, 184, .68);
}

.seo-consents {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.seo-consents label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: rgba(203, 213, 225, .72);
  font-size: 12px;
  line-height: 1.36;
  font-weight: 720;
  text-transform: none;
}

.seo-consents input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--seo-blue);
}

.seo-consents a {
  color: #93e6ff;
}

.seo-form__actions {
  margin-top: 8px;
}

.seo-form__note {
  min-height: 20px;
  color: rgba(203, 213, 225, .78);
  font-size: 13px;
  font-weight: 860;
}

.seo-lead-form.is-success .seo-form__note {
  color: #86efac;
}

.seo-lead-form.is-error .seo-form__note {
  color: #fca5a5;
}

@keyframes seoRise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes seoFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(20px, -18px, 0) scale(1.06); }
}

@keyframes seoFlow {
  0%, 100% { opacity: .25; transform: translateX(-12px); }
  50% { opacity: 1; transform: translateX(18px); }
}

@keyframes seoRadar {
  to { transform: rotate(360deg); }
}

@keyframes seoPulse {
  0%, 100% { opacity: .38; transform: scale(.96); }
  50% { opacity: .86; transform: scale(1.03); }
}

@keyframes seoSpin {
  to { transform: rotate(360deg); }
}

@keyframes seoFanSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes seoFanGlow {
  0%, 100% { box-shadow: 0 0 42px rgba(56, 189, 248, .28), 0 0 0 0 rgba(56, 189, 248, .12); }
  50% { box-shadow: 0 0 70px rgba(56, 189, 248, .48), 0 0 0 16px rgba(56, 189, 248, .04); }
}

@keyframes seoBlade {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
}

@media (max-width: 1180px) {
  .seo-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
    gap: 30px;
  }

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

  .seo-process::before {
    display: none;
  }
}

@media (max-width: 980px) {
  .seo-hero {
    min-height: 0;
    padding: 38px 0 30px;
  }

  .seo-hero__layout,
  .seo-section-head--split,
  .seo-form-panel {
    grid-template-columns: 1fr;
  }

  .seo-hero__visual {
    min-height: 410px;
  }

  .seo-visual-card {
    min-height: 410px;
  }

  .seo-card-grid--features,
  .seo-product-grid,
  .seo-adv-grid,
  .seo-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .seo-page::before {
    background-size: 38px 38px;
  }

  .seo-hero {
    padding-top: 30px;
  }

  .seo-crumbs {
    margin-bottom: 22px;
  }

  .seo-h1 {
    font-size: 40px;
    line-height: 1;
  }

  .seo-lead {
    font-size: 16px;
  }

  .seo-actions,
  .seo-form__actions,
  .seo-hero__contacts {
    grid-template-columns: 1fr;
    display: grid;
  }

  .seo-actions .btn,
  .seo-form__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .seo-stats,
  .seo-card-grid--features,
  .seo-object-grid,
  .seo-product-grid,
  .seo-process,
  .seo-adv-grid,
  .seo-related-grid,
  .seo-visual-metrics {
    grid-template-columns: 1fr;
  }

  .seo-hero__visual,
  .seo-visual-card {
    min-height: 0;
  }

  .seo-visual-card {
    padding: 18px;
    border-radius: 26px;
  }

  .seo-visual-card__top {
    display: grid;
  }

  .seo-visual-card__title {
    font-size: 20px;
  }

  .seo-scheme {
    height: 210px;
    border-radius: 22px;
  }

  .seo-scheme__duct--main {
    left: 24px;
    right: 26px;
  }

  .seo-scheme__duct--branch,
  .seo-scheme__duct--branch2 {
    width: 108px;
  }

  .seo-fan {
    width: 82px;
    height: 82px;
  }

  .seo-section {
    padding: 52px 0;
  }

  .seo-section-head {
    margin-bottom: 22px;
  }

  .seo-section-head h2,
  .seo-form-panel h2 {
    font-size: 32px;
  }

  .seo-product-card__media {
    height: 190px;
  }

  .seo-form-panel {
    padding: 18px;
    border-radius: 26px;
  }

  .seo-lead-form {
    padding: 18px;
    border-radius: 22px;
  }
}

@media (max-width: 420px) {
  .seo-h1 {
    font-size: 34px;
  }

  .seo-stat-card {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 0;
    padding: 16px;
  }

  .seo-glass-card,
  .seo-object-card,
  .seo-process__item,
  .seo-related-card {
    padding: 18px;
  }

  .seo-faq__item summary {
    padding: 18px 50px 18px 18px;
    font-size: 16px;
  }

  .seo-faq__item p {
    padding: 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-page *,
  .seo-page *::before,
  .seo-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

:root[data-theme="light"] .seo-page {
  --seo-bg: #eef4fb;
  --seo-bg-2: #f8fafc;
  --seo-panel: rgba(255, 255, 255, .78);
  --seo-panel-strong: rgba(255, 255, 255, .94);
  --seo-line: rgba(15, 23, 42, .12);
  --seo-line-hot: rgba(14, 165, 233, .34);
  --seo-text: #0f172a;
  --seo-muted: #334155;
  --seo-soft: #64748b;
  --seo-shadow: 0 28px 100px rgba(15, 23, 42, .12);
  --seo-glow: 0 0 70px rgba(14, 165, 233, .14);
  background:
    radial-gradient(circle at 12% 4%, rgba(14, 165, 233, .16), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(96, 165, 250, .12), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 42%, #f8fafc 100%);
  color: #0f172a;
}

:root[data-theme="light"] .seo-page::before {
  opacity: .52;
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
}

:root[data-theme="light"] .seo-hero {
  background:
    linear-gradient(120deg, rgba(248, 250, 252, .96), rgba(232, 241, 250, .86) 58%, rgba(241, 247, 253, .94)),
    url("/static/img/products-hero.jpg") center / cover no-repeat;
}

:root[data-theme="light"] .seo-hero::after {
  background: linear-gradient(180deg, transparent, #eef4fb);
}

:root[data-theme="light"] .seo-hero__mesh {
  opacity: .48;
  background:
    linear-gradient(115deg, rgba(14, 165, 233, .12) 0 1px, transparent 1px 98px),
    radial-gradient(circle at 70% 35%, rgba(14, 165, 233, .18), transparent 26rem),
    radial-gradient(circle at 15% 78%, rgba(96, 165, 250, .14), transparent 28rem);
}

:root[data-theme="light"] .seo-hero__content,
:root[data-theme="light"] .seo-visual-card,
:root[data-theme="light"] .seo-glass-card,
:root[data-theme="light"] .seo-stat-card,
:root[data-theme="light"] .seo-object-card,
:root[data-theme="light"] .seo-product-card,
:root[data-theme="light"] .seo-process__item,
:root[data-theme="light"] .seo-related-card,
:root[data-theme="light"] .seo-faq__item,
:root[data-theme="light"] .seo-calc-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(241, 247, 253, .72));
  border-color: rgba(15, 23, 42, .11);
  box-shadow: 0 28px 100px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255, 255, 255, .85);
}

:root[data-theme="light"] .seo-visual-card {
  box-shadow: 0 36px 110px rgba(15, 23, 42, .14), 0 0 80px rgba(14, 165, 233, .12);
}

/* Плашка «Online» в светлой теме: мягкий бело-зелёный glass вместо кислотного.
   Меняем только цвет/фон/границу/тень — размер и позиция бейджа не трогаются. */
:root[data-theme="light"] .seo-visual-card__status {
  color: #2f8f55;
  background: linear-gradient(135deg, rgba(237, 255, 241, .92), rgba(255, 255, 255, .72));
  border-color: rgba(76, 175, 105, .30);
  box-shadow:
    0 10px 26px rgba(76, 175, 105, .12),
    inset 0 1px 0 rgba(255, 255, 255, .80);
  text-shadow: none;
}

:root[data-theme="light"] .seo-scheme {
  background:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
    rgba(255, 255, 255, .52);
  border-color: rgba(15, 23, 42, .1);
}

:root[data-theme="light"] .seo-product-card__media::after {
  background: linear-gradient(180deg, transparent 32%, rgba(248, 250, 252, .82));
}

:root[data-theme="light"] .seo-stat-card::before {
  opacity: .95;
  background:
    radial-gradient(circle at 18% 22%, rgba(14, 165, 233, .14), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(226, 238, 250, .38));
}

:root[data-theme="light"] .seo-stat-card__icon {
  border-color: rgba(14, 165, 233, .24);
  background:
    radial-gradient(circle at 32% 26%, #ffffff, transparent 0 4px),
    radial-gradient(circle at 74% 78%, rgba(14, 165, 233, .22), transparent 38%),
    linear-gradient(145deg, rgba(240, 249, 255, .98), rgba(186, 230, 253, .54));
  box-shadow:
    0 16px 34px rgba(14, 165, 233, .16),
    inset 0 1px 0 rgba(255, 255, 255, .95);
}

:root[data-theme="light"] .seo-stat-card__icon::before {
  border-color: rgba(2, 132, 199, .72);
  box-shadow: 0 0 18px rgba(14, 165, 233, .20);
}

:root[data-theme="light"] .seo-stat-card__icon::after {
  background: rgba(2, 132, 199, .78);
}

:root[data-theme="light"] .seo-stat-card:nth-child(2) .seo-stat-card__icon::after {
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(2,132,199,.78) 20% 29%, transparent 29% 45%, rgba(2,132,199,.78) 45% 54%, transparent 54% 70%, rgba(2,132,199,.78) 70% 79%, transparent 79%);
}

:root[data-theme="light"] .seo-visual-metrics div {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(15, 23, 42, .10);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

:root[data-theme="light"] .seo-visual-metrics b,
:root[data-theme="light"] .seo-hero__contacts a,
:root[data-theme="light"] .seo-contact-line a,
:root[data-theme="light"] .seo-feature-card h3,
:root[data-theme="light"] .seo-object-card h3,
:root[data-theme="light"] .seo-product-card h3,
:root[data-theme="light"] .seo-process__item h3,
:root[data-theme="light"] .seo-adv-card h3,
:root[data-theme="light"] .seo-related-card span,
:root[data-theme="light"] .seo-faq__item summary {
  color: #0f172a;
}

:root[data-theme="light"] .seo-hero__contacts div,
:root[data-theme="light"] .seo-contact-line,
:root[data-theme="light"] .seo-stat-card__text {
  color: #64748b;
}

:root[data-theme="light"] .seo-price {
  color: #b45309;
}

:root[data-theme="light"] .seo-section--intro,
:root[data-theme="light"] .seo-section--directions,
:root[data-theme="light"] .seo-section--advantages,
:root[data-theme="light"] .seo-section--faq,
:root[data-theme="light"] .seo-section--objects,
:root[data-theme="light"] .seo-section--process,
:root[data-theme="light"] .seo-section--related,
:root[data-theme="light"] .seo-section--calc {
  background: rgba(255, 255, 255, .34);
}

:root[data-theme="light"] .seo-crumbs,
:root[data-theme="light"] .seo-crumbs a,
:root[data-theme="light"] .seo-lead,
:root[data-theme="light"] .seo-section-head p,
:root[data-theme="light"] .seo-form-panel p,
:root[data-theme="light"] .seo-feature-card p,
:root[data-theme="light"] .seo-object-card p,
:root[data-theme="light"] .seo-product-card p,
:root[data-theme="light"] .seo-process__item p,
:root[data-theme="light"] .seo-related-card small,
:root[data-theme="light"] .seo-faq__item p,
:root[data-theme="light"] .seo-mini-list li {
  color: #475569;
}

:root[data-theme="light"] .seo-badge,
:root[data-theme="light"] .seo-section-kicker,
:root[data-theme="light"] .seo-product-card__badge {
  color: #075985;
  background: rgba(14, 165, 233, .11);
  border-color: rgba(14, 165, 233, .25);
}

:root[data-theme="light"] .seo-calc-panel .pcalc__select,
:root[data-theme="light"] .seo-calc-panel .pcalc__input {
  background-color: rgba(255, 255, 255, .9);
  border-color: rgba(15, 23, 42, .12);
  color: #0f172a;
}

:root[data-theme="light"] .seo-calc-panel .pcalc__result {
  background: rgba(14, 165, 233, .08);
  border-color: rgba(14, 165, 233, .18);
}

:root[data-theme="light"] .seo-calc-panel .pcalc__price,
:root[data-theme="light"] .seo-calc-panel .pcalc__total {
  color: #0f172a;
}

:root[data-theme="light"] .seo-calc-panel .pcalc__label,
:root[data-theme="light"] .seo-calc-panel .pcalc__hint,
:root[data-theme="light"] .seo-calc-panel .pcalc__approx,
:root[data-theme="light"] .seo-calc-panel .pcalc__per {
  color: #64748b;
}

:root[data-theme="light"] .seo-lead-main.lead {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(14,165,233,.16), rgba(14,165,233,0) 55%),
    linear-gradient(180deg, #ffffff, #edf5fb);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 34px 110px rgba(15,23,42,.12), 0 1px 0 rgba(255,255,255,.86) inset;
}

:root[data-theme="light"] .seo-lead-main .lead-h {
  color: #0f172a;
}

:root[data-theme="light"] .seo-lead-main .lead-p,
:root[data-theme="light"] .seo-lead-main .lead-consent {
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .seo-lead-main .lead-form {
  background: rgba(15,23,42,.06);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 24px 80px rgba(15,23,42,.12), 0 1px 0 rgba(255,255,255,.80) inset;
}

:root[data-theme="light"] .seo-lead-main .lead-consents {
  background: rgba(15,23,42,.04);
  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .seo-lead-main .form-note {
  color: rgba(15,23,42,.62);
}

/* SEO-офферы: кнопки единой заявки */
.seo-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.seo-offer-actions .btn {
  flex: 1 1 auto;
  padding: 10px 14px;
  font-size: 13px;
  text-align: center;
}

/* ============================================================
   ВНУТРЕННЯЯ ПЕРЕЛИНКОВКА ПО ГОРОДУ (citynav)
   Использует --seo-* переменные → автоматически адаптируется под тему.
============================================================ */
.seo-section--citynav { background: transparent; }

.citynav-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}
.citynav-group {
  border: 1px solid var(--seo-line);
  background: var(--seo-panel);
  border-radius: 20px;
  padding: 20px 20px 18px;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: var(--seo-shadow);
}
.citynav-group--cities { grid-column: 1 / -1; }
.citynav-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.citynav-group__title { margin: 0; font-size: 16px; font-weight: 900; color: var(--seo-text); }

.citynav-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .3px;
  white-space: nowrap;
  color: #bae6fd;
  background: rgba(56, 189, 248, .14);
  border: 1px solid rgba(56, 189, 248, .30);
}
.citynav-badge--ducts,
.citynav-badge--fittings { color: #bbf7d0; background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .30); }
.citynav-badge--equipment { color: #fde68a; background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .30); }
.citynav-badge--services { color: #c7d2fe; background: rgba(129, 140, 248, .16); border-color: rgba(129, 140, 248, .32); }
.citynav-badge--popular { color: #fbcfe8; background: rgba(244, 114, 182, .14); border-color: rgba(244, 114, 182, .30); }
.citynav-badge--cities { color: #a5f3fc; background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .30); }

.citynav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.citynav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid var(--seo-line);
  background: rgba(255, 255, 255, .03);
  color: var(--seo-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.citynav-link:hover { transform: translateY(-2px); border-color: var(--seo-line-hot); background: rgba(56, 189, 248, .08); }
.citynav-link__arrow { color: var(--seo-blue); font-weight: 900; transition: transform .18s ease; }
.citynav-link:hover .citynav-link__arrow { transform: translateX(3px); }
.citynav-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* sticky-капсула не должна перекрывать якорный контент при переходе */
.seo-section[id] { scroll-margin-top: 92px; }

@media (max-width: 720px) {
  .citynav-groups { grid-template-columns: 1fr; }
}

/* ---------- citynav + номерные бейджи в СВЕТЛОЙ теме ---------- */
:root[data-theme="light"] .seo-card-number {
  color: #075985;
  background: rgba(14, 165, 233, .12);
  border-color: rgba(14, 165, 233, .30);
}
:root[data-theme="light"] .seo-object-card__mark,
:root[data-theme="light"] .geo-service-card__num,
:root[data-theme="light"] .geo-timeline__num,
:root[data-theme="light"] .geo-dir-chip b { color: #0284c7; }

:root[data-theme="light"] .citynav-link {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(15, 23, 42, .12);
  color: #0f172a;
}
:root[data-theme="light"] .citynav-link:hover { background: rgba(14, 165, 233, .08); border-color: rgba(14, 165, 233, .34); }
:root[data-theme="light"] .citynav-link__arrow { color: #0284c7; }
:root[data-theme="light"] .citynav-badge { color: #075985; background: rgba(14, 165, 233, .12); border-color: rgba(14, 165, 233, .26); }
:root[data-theme="light"] .citynav-badge--ducts,
:root[data-theme="light"] .citynav-badge--fittings { color: #047857; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .26); }
:root[data-theme="light"] .citynav-badge--equipment { color: #b45309; background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .30); }
:root[data-theme="light"] .citynav-badge--services { color: #4338ca; background: rgba(99, 102, 241, .12); border-color: rgba(99, 102, 241, .26); }
:root[data-theme="light"] .citynav-badge--popular { color: #9d174d; background: rgba(236, 72, 153, .10); border-color: rgba(236, 72, 153, .24); }

/* ===========================================================================
   Изображения SEO/GEO-страниц (система seo_geo_images).
   Все блоки появляются только при наличии файла; верстка не зависит от того,
   загружены картинки или нет. Светлая и тёмная темы + адаптив.
   =========================================================================== */

/* --- Hero: тематическое фото за контентом --- */
.seo-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -1;                 /* выше .seo-hero__mesh (-2), ниже контента */
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .9;
}
/* Затемнение слева направо — текст hero остаётся читаемым поверх фото. */
.seo-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      var(--seo-bg) 0%,
      rgba(7, 17, 31, .92) 30%,
      rgba(7, 17, 31, .55) 62%,
      rgba(7, 17, 31, .28) 100%),
    linear-gradient(0deg, var(--seo-bg) 0%, transparent 30%);
}
.seo-hero--has-photo .seo-hero__inner { position: relative; z-index: 1; }

/* --- Inline-картинка секции (рядом с текстом) --- */
.seo-figure {
  margin: 0;
  border-radius: var(--seo-radius-sm);
  overflow: hidden;
  border: 1px solid var(--seo-line);
  background: var(--seo-panel);
  box-shadow: var(--seo-shadow);
}
.seo-figure__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.seo-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--seo-soft);
}
/* Картинка в шапке секции (правая колонка split-сетки). */
.seo-section-head--media { align-items: stretch; }
.seo-section-head--media .seo-figure--head { align-self: center; max-height: 280px; }
.seo-section-head--media .seo-figure--head .seo-figure__img { aspect-ratio: 16 / 9; }

/* --- Мини-галерея «производство/изделия/монтаж/объект» --- */
.seo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.seo-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-gallery__item {
  margin: 0;
  position: relative;
  border-radius: var(--seo-radius-sm);
  overflow: hidden;
  border: 1px solid var(--seo-line);
  background: var(--seo-panel);
  box-shadow: var(--seo-shadow);
  transition: transform .35s ease, border-color .35s ease;
}
.seo-gallery__item:hover { transform: translateY(-4px); border-color: var(--seo-line-hot); }
.seo-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.seo-gallery__item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(7, 17, 31, .62);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* --- Редакционный блок приоритетной геостраницы --- */
.seo-section--priority {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(39, 134, 255, .10), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}
.seo-note-card {
  display: grid;
  grid-template-columns: minmax(140px, .35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--seo-line-hot);
  border-radius: var(--seo-radius-sm);
  background: var(--seo-panel);
  box-shadow: var(--seo-shadow);
}
.seo-note-card b { color: var(--seo-text); font-size: 15px; }
.seo-note-card p { margin: 0; color: var(--seo-soft); line-height: 1.65; }
.seo-note-card .btn { white-space: nowrap; }

/* --- Адаптив --- */
@media (max-width: 900px) {
  .seo-gallery,
  .seo-gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-section-head--media .seo-figure--head { display: none; } /* на узких экранах не дублируем визуал */
  .seo-note-card { grid-template-columns: 1fr; align-items: start; }
  .seo-note-card .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .seo-gallery,
  .seo-gallery--2,
  .seo-gallery--3 { grid-template-columns: 1fr; }
  .seo-hero__photo { background-position: center; opacity: .65; }
  .seo-hero__photo::after {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, .72) 0%, rgba(7, 17, 31, .9) 60%, var(--seo-bg) 100%);
  }
}

/* --- Светлая тема --- */
:root[data-theme="light"] .seo-hero__photo { opacity: .96; }
:root[data-theme="light"] .seo-hero__photo::after {
  background:
    linear-gradient(100deg,
      var(--seo-bg) 0%,
      rgba(248, 250, 252, .92) 30%,
      rgba(248, 250, 252, .58) 62%,
      rgba(248, 250, 252, .25) 100%),
    linear-gradient(0deg, var(--seo-bg) 0%, transparent 30%);
}
:root[data-theme="light"] .seo-figure,
:root[data-theme="light"] .seo-gallery__item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, .10);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
}
:root[data-theme="light"] .seo-figure figcaption { color: #475569; }
:root[data-theme="light"] .seo-gallery__item figcaption {
  color: #0f172a;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(15, 23, 42, .12);
}
@media (max-width: 560px) {
  :root[data-theme="light"] .seo-hero__photo::after {
    background: linear-gradient(180deg, rgba(248,250,252,.74) 0%, rgba(248,250,252,.92) 60%, var(--seo-bg) 100%);
  }
}
