/* Premium 3D + glass layer (2026 industrial tech aesthetic) */

:root {
  --iris: #8b7cf8;
  --cyan: #38bdf8;
  --glass-bg: rgba(17, 24, 32, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(0, 212, 170, 0.35);
  --shadow-3d: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 212, 170, 0.08);
}

body {
  position: relative;
  background: #06090f;
  overflow-x: hidden;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

/* Animated background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-bg__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

.page-bg__aurora--1 {
  width: 55vw;
  height: 55vw;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.35), transparent 70%);
}

.page-bg__aurora--2 {
  width: 45vw;
  height: 45vw;
  bottom: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(139, 124, 248, 0.28), transparent 70%);
  animation-delay: -6s;
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black, transparent);
}

.page-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, 4%) scale(1.08); }
}

/* Glass utility */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.badge--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-color: var(--glass-border);
}

.text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, var(--accent) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header — fixed поверх контента (не переопределять position: relative) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  background: rgba(6, 9, 15, 0.72);
  border-bottom-color: var(--glass-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: rgba(6, 9, 15, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--iris));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Buttons */
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00b894 100%);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-color: var(--glass-border);
}

.btn--ghost:hover {
  border-color: var(--glass-highlight);
  box-shadow: 0 0 24px rgba(0, 212, 170, 0.12);
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.hero__actions {
  margin-bottom: 0;
}

.hero__stats-wrap {
  width: 100%;
}

.hero__stats--strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: none;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero__stats--strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.25s ease;
}

.hero__stats--strip li:not(:last-child) {
  border-right: 1px solid var(--glass-border);
}

.hero__stats--strip li:hover {
  background: rgba(0, 212, 170, 0.04);
  transform: none;
  box-shadow: none;
}

.hero__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.35rem;
  color: var(--accent);
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.22);
  border-radius: 12px;
}

.hero__stat-icon svg {
  width: 20px;
  height: 20px;
}

.hero__stats--strip strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero__stats--strip strong::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 0.45rem auto 0.5rem;
  background: linear-gradient(90deg, var(--accent), var(--iris));
  border-radius: 2px;
  opacity: 0.75;
}

.hero__stats--strip span {
  max-width: 16rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.hero__stats--bento {
  border-top: none;
  padding-top: 0;
  gap: 0.75rem;
}

.hero__stats--bento li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero__stats--bento li:hover {
  transform: translateY(-3px);
  border-color: var(--glass-highlight);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* 3D hero scene */
.hero-scene {
  position: relative;
  width: 100%;
  min-height: 420px;
  perspective: 1400px;
  transform-style: preserve-3d;
  --rx: 10deg;
  --ry: -14deg;
}

.hero-scene__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.2);
  transform-style: preserve-3d;
  animation: ring-spin 24s linear infinite;
}

.hero-scene__ring--1 {
  width: 320px;
  height: 320px;
  top: 10%;
  left: 10%;
  transform: rotateX(68deg) rotateZ(0deg);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.08);
}

.hero-scene__ring--2 {
  width: 220px;
  height: 220px;
  bottom: 8%;
  right: 5%;
  border-color: rgba(139, 124, 248, 0.25);
  transform: rotateX(72deg) rotateZ(45deg);
  animation-direction: reverse;
  animation-duration: 18s;
}

@keyframes ring-spin {
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

.plc-cube {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 72px;
  height: 72px;
  transform-style: preserve-3d;
  animation: cube-float 6s ease-in-out infinite;
  transform: rotateX(-18deg) rotateY(32deg);
}

.plc-cube__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(10, 14, 20, 0.85);
  border: 1px solid rgba(0, 212, 170, 0.35);
  box-shadow: inset 0 0 20px rgba(0, 212, 170, 0.08);
}

.plc-cube__face--front  { transform: translateZ(36px); }
.plc-cube__face--back   { transform: rotateY(180deg) translateZ(36px); }
.plc-cube__face--right  { transform: rotateY(90deg) translateZ(36px); }
.plc-cube__face--left   { transform: rotateY(-90deg) translateZ(36px); }
.plc-cube__face--top    { transform: rotateX(90deg) translateZ(36px); color: #3dd68c; }
.plc-cube__face--bottom { transform: rotateX(-90deg) translateZ(36px); }

@keyframes cube-float {
  0%, 100% { transform: rotateX(-18deg) rotateY(32deg) translateY(0); }
  50% { transform: rotateX(-12deg) rotateY(40deg) translateY(-12px); }
}

.panel-card--3d {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-3d);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(50px);
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, box-shadow 0.3s ease;
  overflow: hidden;
}

.panel-card--3d:hover {
  box-shadow: var(--shadow-3d), 0 0 50px rgba(0, 212, 170, 0.15);
}

.panel-card__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 212, 170, 0.06) 48%,
    rgba(0, 212, 170, 0.14) 50%,
    rgba(0, 212, 170, 0.06) 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: scan-line 4s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes scan-line {
  from { background-position: 0 -120%; }
  to { background-position: 0 220%; }
}

.hero-scene__chip {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 100px;
  animation: chip-float 5s ease-in-out infinite;
}

.hero-scene__chip {
  bottom: 18%;
  left: 4%;
}

.hero-scene__chip--2 {
  top: 22%;
  left: 18%;
  animation-delay: -2s;
  color: var(--iris);
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Cards & sections */
.card,
.case-card,
.case-featured,
.exp-item,
.timeline__item,
.faq__item,
.form,
.deliverables__grid li {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--glass-border);
}

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

.card:hover,
.case-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: var(--glass-highlight);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 212, 170, 0.08);
}

.card--featured {
  background: linear-gradient(160deg, rgba(0, 212, 170, 0.1) 0%, var(--glass-bg) 55%);
  border-color: rgba(0, 212, 170, 0.3);
}

.card__icon {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.1);
}

.deliverables__grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: none;
}

.deliverables__grid li {
  min-height: 130px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.deliverables__grid li:hover {
  transform: translateY(-4px);
  border-color: var(--glass-highlight);
}

.section-head h2 {
  letter-spacing: -0.03em;
}

.section-label {
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.services,
.cases,
.stack,
.about,
.cta {
  background: transparent;
}

.experience,
.faq,
.deliverables {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.02), transparent);
}

.tags span {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--glass-highlight);
}

.stack__note,
.about__projects {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-color: var(--glass-border);
}

.timeline__step {
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

/* Reveal animation upgrade */
.reveal-ready {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cards > .reveal-ready:nth-child(2) { transition-delay: 0.06s; }
.cards > .reveal-ready:nth-child(3) { transition-delay: 0.12s; }
.audience__grid > .reveal-ready:nth-child(2) { transition-delay: 0.07s; }
.audience__grid > .reveal-ready:nth-child(3) { transition-delay: 0.14s; }
.why__grid > .reveal-ready:nth-child(2) { transition-delay: 0.06s; }
.why__grid > .reveal-ready:nth-child(3) { transition-delay: 0.12s; }
.why__grid > .reveal-ready:nth-child(4) { transition-delay: 0.18s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-scene {
    min-height: 360px;
  }

  .panel-card--3d {
    margin-top: 2rem;
    transform: rotateX(6deg) rotateY(-8deg) translateZ(20px);
  }

  .plc-cube,
  .hero-scene__chip {
    display: none;
  }

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

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-scene__ring {
    opacity: 0.5;
  }

  .panel-card--3d {
    transform: none;
  }

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

.case-card__body > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  flex: 0;
}

.case-card__body > p strong {
  color: var(--text);
  font-weight: 600;
}

.cta__hint {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* Audience & why grids */
.audience__grid,
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

/* Mid-page CTA band */
.cta-band {
  padding: 0 0 2rem;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
}

.cta-band__inner h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  margin: 0.5rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.cta-band__inner p:last-of-type {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 36rem;
}

.cta-band__inner .btn {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .audience__grid,
  .why__grid {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-bg__aurora,
  .hero-scene__ring,
  .plc-cube,
  .panel-card__scan,
  .hero-scene__chip {
    animation: none !important;
  }

  .panel-card--3d {
    transform: none !important;
  }

  .card:hover,
  .case-card:hover {
    transform: translateY(-3px);
  }
}

/* ─── Final polish v2 ─── */

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

::selection {
  background: rgba(0, 212, 170, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Nav active + scroll spy */
.nav a.is-active {
  color: var(--accent);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.mobile-nav a.is-active {
  color: var(--accent);
  border-bottom-color: rgba(0, 212, 170, 0.25);
}

/* Burger → X */
.burger {
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.mobile-nav {
  background: rgba(6, 9, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--glass-border);
}

.mobile-nav a {
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--text);
  padding-left: 0.35rem;
}

/* Section rhythm */
section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section-head--center {
  max-width: 48rem;
}

.audience,
.why,
.process {
  background: linear-gradient(180deg, transparent, rgba(139, 124, 248, 0.03), transparent);
}

.services {
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.02), transparent);
}

/* Card hover — no rotate conflict with reveal */
.card:hover,
.case-card:hover {
  transform: translateY(-6px);
}

.card.is-visible:hover,
.case-card.is-visible:hover {
  transform: translateY(-6px);
}

.case-featured {
  border-color: rgba(0, 212, 170, 0.28);
  box-shadow: var(--shadow-3d);
}

.case-featured:hover {
  border-color: var(--glass-highlight);
}

.case-featured__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 62%, rgba(6, 9, 15, 0.22) 100%);
  pointer-events: none;
}

.case-featured__media {
  position: relative;
  align-self: stretch;
}

@media (min-width: 1025px) {
  .case-featured__media {
    min-height: 100%;
  }

  .case-featured__media img {
    min-height: 320px;
  }
}

@media (max-width: 1024px) {
  .case-featured__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(6, 9, 15, 0.35) 100%);
  }
}

.case-card__media {
  overflow: hidden;
}

.case-card__media img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover .case-card__media img {
  transform: scale(1.06);
}

/* Deliverables accent */
.deliverables__grid li {
  position: relative;
  overflow: hidden;
}

.deliverables__grid li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--iris));
  opacity: 0.55;
}

/* Audience / why cards */
.exp-item {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.exp-item:hover {
  transform: translateY(-4px);
  border-color: var(--glass-highlight);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.exp-item--featured {
  background: linear-gradient(160deg, rgba(0, 212, 170, 0.1) 0%, var(--glass-bg) 55%);
  border-color: rgba(0, 212, 170, 0.28);
}

.exp-item__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iris);
  background: rgba(139, 124, 248, 0.1);
  border: 1px solid rgba(139, 124, 248, 0.22);
  border-radius: 100px;
}

.header__cta {
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.header__cta:hover {
  box-shadow: 0 0 28px rgba(0, 212, 170, 0.35);
}

/* Timeline connector (desktop) */
@media (min-width: 1025px) {
  .timeline {
    position: relative;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 2.25rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    pointer-events: none;
  }

  .timeline__item {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .timeline__item:hover {
    transform: translateY(-4px);
    border-color: var(--glass-highlight);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  }
}

/* FAQ */
.faq__item summary {
  transition: color 0.2s ease;
}

.faq__item:hover summary {
  color: var(--text);
}

.faq__item[open] {
  border-color: var(--glass-highlight);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

/* CTA band glow */
.cta-band__inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, var(--glass-bg) 45%, rgba(139, 124, 248, 0.06) 100%);
  border: 1px solid rgba(0, 212, 170, 0.22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-band__inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12), transparent 65%);
  pointer-events: none;
}

/* Contact + form */
.cta {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.03));
}

.cta__response {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
}

.cta__response::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.form {
  box-shadow: var(--shadow-3d);
}

.form input,
.form textarea {
  background: rgba(6, 9, 15, 0.65);
  border-color: var(--glass-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--glass-highlight);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12);
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(139, 156, 179, 0.55);
}

/* Geo map glass frame */
.geo__map {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* About certs */
.about__certs li {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.about__certs li:hover {
  border-color: var(--glass-highlight);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: rgba(6, 9, 15, 0.85);
  border-top-color: var(--glass-border);
}

.footer__logo img {
  transition: filter 0.25s ease, transform 0.25s ease;
}

.footer__logo:hover img {
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transform: translateY(-1px);
}

/* Hero mobile */
@media (max-width: 768px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__content {
    order: -1;
  }

  .hero__visual {
    order: 0;
    margin-inline: auto;
    width: 100%;
  }

  .hero-scene {
    min-height: 280px;
  }

  .panel-card--3d {
    margin-top: 1rem;
  }

  .cta-band__inner .btn {
    width: 100%;
  }
}

/* Tablet: content before visual for conversion */
@media (max-width: 1024px) {
  .hero__content {
    order: -1;
  }

  .hero__visual {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta__response::before {
    animation: none;
  }
}
