/* ============================================================
   کارا پلاست — طراحی سیستم
   Modern minimal corporate + neon accents + RTL
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --bg: #05070f;
  --bg-2: #090d1a;
  --surface: #0c1222;
  --surface-2: #111a30;
  --line: rgba(148, 163, 210, 0.14);
  --line-strong: rgba(0, 229, 160, 0.35);

  --text: #eaf0ff;
  --muted: #9aa5c0;
  --dim: #6b7695;

  --neon: #00e5a0;
  --neon-2: #00d4ff;
  --blue: #3d7cff;
  --warn: #ffb74d;
  --danger: #ff5c7a;

  --grad: linear-gradient(120deg, var(--neon), var(--neon-2) 55%, var(--blue));
  --grad-soft: linear-gradient(120deg, rgba(0, 229, 160, 0.16), rgba(0, 212, 255, 0.12));

  --glow: 0 0 18px rgba(0, 229, 160, 0.45);
  --glow-blue: 0 0 22px rgba(0, 212, 255, 0.35);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 60px rgba(2, 6, 18, 0.55);

  --font: "Vazirmatn", "Segoe UI", Tahoma, "Iranian Sans", system-ui, sans-serif;
  --header-h: 76px;
  --maxw: 1200px;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: rgba(0, 229, 160, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--neon), var(--blue));
  border-radius: 10px;
}

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

/* ---------- Utilities ---------- */
.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(38px, 5vw, 60px);
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--neon);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: var(--glow);
}

.h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.35;
  font-weight: 800;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  margin-top: 14px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--grad);
  color: #04100b;
  box-shadow: var(--glow);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(0, 229, 160, 0.6);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.btn--neon {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(0, 229, 160, 0.07);
  box-shadow: inset 0 0 20px rgba(0, 229, 160, 0.1);
}
.btn--neon:hover {
  background: rgba(0, 229, 160, 0.16);
  box-shadow: var(--glow), inset 0 0 26px rgba(0, 229, 160, 0.2);
  transform: translateY(-3px);
}

.btn--danger {
  background: rgba(255, 92, 122, 0.12);
  border-color: rgba(255, 92, 122, 0.4);
  color: var(--danger);
}
.btn--danger:hover {
  background: rgba(255, 92, 122, 0.22);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 10px;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1.02rem;
}

.btn .shine {
  position: absolute;
  top: 0;
  right: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s ease;
}
.btn:hover .shine {
  right: 160%;
}

.link-neon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neon);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.25s ease, filter 0.25s ease;
}
.link-neon svg {
  width: 18px;
  height: 18px;
}
.link-neon:hover {
  gap: 11px;
  filter: drop-shadow(0 0 6px rgba(0, 229, 160, 0.8));
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header.is-scrolled {
  background: rgba(5, 8, 18, 0.75);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo__mark {
  position: relative;
  width: 42px;
  height: 42px;
  transform-style: preserve-3d;
  animation: logoSpin 14s linear infinite;
}
.logo__mark .cube {
  position: absolute;
  inset: 0;
  border: 2px solid var(--neon);
  border-radius: 10px;
  box-shadow: inset 0 0 14px rgba(0, 229, 160, 0.35), 0 0 14px rgba(0, 229, 160, 0.4);
}
.logo__mark .cube--2 {
  transform: rotate(24deg) scale(0.82);
  border-color: var(--neon-2);
  box-shadow: inset 0 0 14px rgba(0, 212, 255, 0.35), 0 0 14px rgba(0, 212, 255, 0.4);
}
@keyframes logoSpin {
  0% {
    transform: rotateX(0) rotateY(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}
.logo__text {
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.2;
}
.logo__text small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--neon);
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  position: relative;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  box-shadow: var(--glow);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.4;
}
.header__tel small {
  color: var(--dim);
  font-size: 0.68rem;
}
.header__tel strong {
  font-size: 0.95rem;
  color: var(--neon);
  letter-spacing: 0.4px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.burger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 200;
  background: var(--grad);
  transform-origin: right;
  transform: scaleX(0);
  box-shadow: var(--glow);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 60px;
}
.aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: var(--glow);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.hero__sub {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  margin: 20px 0 34px;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust__item {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.trust__item strong {
  font-size: 1.15rem;
  color: var(--text);
}
.trust__item span {
  font-size: 0.8rem;
  color: var(--dim);
}

/* hero 3D scene */
.hero__scene {
  perspective: 1200px;
}
.scene-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  transform-style: preserve-3d;
}
.float-card {
  position: absolute;
  border-radius: 24px;
  transform-style: preserve-3d;
  transition: translate 0.2s ease, rotate 0.2s ease;
  will-change: transform;
}
.float-card--main {
  inset: 6% 12% 8% 12%;
  background: linear-gradient(160deg, rgba(20, 30, 58, 0.85), rgba(10, 16, 32, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 229, 160, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: translateZ(30px);
}
.float-card--main .pi {
  width: 62%;
  height: 62%;
  color: var(--neon);
  filter: drop-shadow(0 0 22px rgba(0, 229, 160, 0.7));
}
.float-card--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 229, 160, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.14), transparent 55%);
}
.float-card--chip {
  top: 4%;
  right: 0;
  width: 120px;
  padding: 12px;
  transform: translateZ(60px);
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.78rem;
  text-align: center;
}
.float-card--chip strong {
  color: var(--neon-2);
}
.float-card--ring {
  bottom: 2%;
  left: 0;
  width: 96px;
  height: 96px;
  transform: translateZ(45px);
  border-radius: 50%;
  border: 2px dashed rgba(0, 212, 255, 0.5);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--neon-2);
  animation: ringSpin 16s linear infinite;
}
@keyframes ringSpin {
  to {
    transform: translateZ(45px) rotate(360deg);
  }
}
.float-card--orb {
  top: 38%;
  left: -4%;
  width: 54px;
  height: 54px;
  transform: translateZ(80px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--neon), rgba(0, 229, 160, 0.2));
  box-shadow: var(--glow);
  filter: blur(0.5px);
}
.float-card--orb2 {
  top: -6%;
  right: 18%;
  width: 34px;
  height: 34px;
  transform: translateZ(70px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--neon-2), rgba(0, 212, 255, 0.2));
  box-shadow: var(--glow-blue);
}
.float-card--tag {
  bottom: 12%;
  right: -2%;
  transform: translateZ(50px);
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid var(--line-strong);
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 0.72rem;
}
.scroll-hint .wheel {
  width: 24px;
  height: 38px;
  border: 2px solid var(--dim);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .wheel::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--neon);
  animation: wheel 1.8s ease infinite;
}
@keyframes wheel {
  0% {
    opacity: 1;
    transform: translate(50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(50%, 14px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
  direction: ltr;
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 1rem;
}
.marquee__item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: var(--glow);
}

/* ---------- Cards (services) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  transform-style: preserve-3d;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow), 0 24px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.card:hover::before {
  transform: scaleX(1);
}
.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--neon);
  margin-bottom: 20px;
  box-shadow: inset 0 0 18px rgba(0, 229, 160, 0.1);
}
.card__icon .pi {
  width: 30px;
  height: 30px;
}
.card__title {
  font-size: 1.14rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.card__text {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Product card ---------- */
.p-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  transform-style: preserve-3d;
}
.p-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 229, 160, 0.25);
  transform: translateY(-6px) scale(1.015);
}
.p-card__icon {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(0, 229, 160, 0.08), rgba(0, 212, 255, 0.05));
  border: 1px solid var(--line);
  color: var(--neon);
  overflow: hidden;
  margin-bottom: 20px;
}
.p-card__icon .pi {
  width: 44%;
  height: 60%;
  filter: drop-shadow(0 0 12px rgba(0, 229, 160, 0.5));
}
.p-card__glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.2), transparent 70%);
  transition: transform 0.5s ease;
}
.p-card:hover .p-card__glow {
  transform: translate(30%, 40%) scale(1.6);
}
.p-card__cat {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--neon-2);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.p-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.p-card__short {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 14px;
}
.p-card__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.p-card__feats li {
  font-size: 0.74rem;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 2px 10px;
  border-radius: 100px;
}

/* ---------- Eco section ---------- */
.eco {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 90% 20%, rgba(0, 229, 160, 0.12), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(0, 212, 255, 0.1), transparent 60%),
    var(--bg-2);
}
.eco__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.eco__visual {
  position: relative;
  perspective: 1000px;
}
.eco__ring {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(0, 229, 160, 0.35);
  display: grid;
  place-items: center;
  position: relative;
  animation: ringFloat 8s ease-in-out infinite;
}
.eco__ring::before,
.eco__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.25);
}
.eco__ring::before {
  inset: 10%;
}
.eco__ring::after {
  inset: 22%;
  border-style: dashed;
  border-color: rgba(0, 229, 160, 0.3);
}
@keyframes ringFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}
.eco__leaf {
  width: 120px;
  height: 120px;
  color: var(--neon);
  filter: drop-shadow(0 0 26px rgba(0, 229, 160, 0.7));
}
.eco__visual .pi-eco-2 {
  position: absolute;
  top: 6%;
  left: 12%;
  width: 46px;
  height: 46px;
  color: var(--neon-2);
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.7));
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}
.stat__num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 6px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(70px, 9vw, 110px) 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(0, 229, 160, 0.16), transparent 60%),
    radial-gradient(500px 300px at 85% 100%, rgba(0, 212, 255, 0.14), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.cta p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 30px;
}
.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 70px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
}
.footer__about p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
}
.footer__links li,
.footer__cats li {
  margin-bottom: 10px;
}
.footer__links a,
.footer__cats a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-right 0.25s ease;
}
.footer__links a:hover,
.footer__cats a:hover {
  color: var(--neon);
  padding-right: 6px;
}
.footer__contact li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
  align-items: flex-start;
}
.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--neon);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.3s ease;
}
.footer__socials a:hover {
  color: var(--neon);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.footer__socials svg {
  width: 18px;
  height: 18px;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 0.82rem;
}
.footer__bottom a {
  color: var(--neon);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
}
.page-hero .lead {
  max-width: 640px;
  margin-inline: auto;
}
.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--dim);
  font-size: 0.82rem;
  margin-bottom: 16px;
}
.crumbs a {
  color: var(--neon);
}
.crumbs span {
  color: var(--dim);
}

/* ---------- Filters / search ---------- */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.chip.is-active {
  background: var(--grad);
  color: #04100b;
  border-color: transparent;
  box-shadow: var(--glow);
}
.search {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}
.search input {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search input::placeholder {
  color: var(--dim);
}
.search input:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}
.search svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--dim);
}
.count {
  color: var(--dim);
  font-size: 0.86rem;
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
  perspective: 1000px;
}
.about-visual .stack {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(0, 229, 160, 0.1), rgba(0, 212, 255, 0.04));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-6deg);
  box-shadow: var(--shadow);
}
.about-visual .stack .pi {
  width: 58%;
  height: 58%;
  color: var(--neon);
  filter: drop-shadow(0 0 30px rgba(0, 229, 160, 0.6));
}
.about-visual .float-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(10, 16, 32, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  box-shadow: var(--glow);
}
.about-visual .float-badge b {
  color: var(--neon);
}
.about-visual .fb-1 {
  top: 8%;
  right: -6%;
  animation: floaty 5s ease-in-out infinite;
}
.about-visual .fb-2 {
  bottom: 10%;
  left: -6%;
  animation: floaty 6s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.value-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.value-list .tick {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid var(--line-strong);
  color: var(--neon);
}
.value-list .tick svg {
  width: 14px;
  height: 14px;
}
.value-list strong {
  display: block;
}
.value-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.contact-cards {
  display: grid;
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.contact-card__ico {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--neon);
}
.contact-card__ico svg {
  width: 20px;
  height: 20px;
}
.contact-card h3 {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 0.88rem;
  word-break: break-word;
}
.contact-card a:hover {
  color: var(--neon);
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.3s ease;
}
.social-row a:hover {
  color: var(--neon);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.social-row svg {
  width: 20px;
  height: 20px;
}

.form-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  display: none;
}
.form-status.is-ok {
  display: block;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.4);
  color: var(--neon);
}
.form-status.is-err {
  display: block;
  background: rgba(255, 92, 122, 0.1);
  border: 1px solid rgba(255, 92, 122, 0.4);
  color: var(--danger);
}

.btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Admin ---------- */
.admin-body {
  padding-top: var(--header-h);
  background: var(--bg);
}
.login-card {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.login-card .logo__mark {
  margin-inline: auto;
  margin-bottom: 18px;
}
.admin-panel {
  width: min(1160px, calc(100% - 40px));
  margin: 30px auto 70px;
}
.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.admin-tab {
  padding: 10px 20px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.admin-tab:hover {
  color: var(--text);
}
.admin-tab.is-active {
  background: var(--grad-soft);
  color: var(--neon);
  border: 1px solid var(--line-strong);
}
.admin-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.admin-card h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.admin-table th,
.admin-table td {
  text-align: right;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  vertical-align: middle;
}
.admin-table th {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 700;
}
.admin-table td small {
  display: block;
  color: var(--dim);
}
.admin-ico .pi {
  width: 34px;
  height: 34px;
  color: var(--neon);
}
.admin-actions {
  display: flex;
  gap: 8px;
}
.badge {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-ok {
  background: rgba(0, 229, 160, 0.12);
  color: var(--neon);
  border: 1px solid rgba(0, 229, 160, 0.35);
}
.badge-num {
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-2);
  border: 1px solid rgba(0, 212, 255, 0.3);
  margin-inline-start: 8px;
}
.toast {
  position: fixed;
  bottom: 26px;
  right: 50%;
  transform: translate(50%, 80px);
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--neon);
  font-size: 0.9rem;
  box-shadow: var(--glow);
  z-index: 300;
  opacity: 0;
  transition: all 0.35s ease;
}
.toast.is-show {
  transform: translate(50%, 0);
  opacity: 1;
}
.toast.is-err {
  color: var(--danger);
  border-color: rgba(255, 92, 122, 0.4);
}
.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--dim);
  padding: 40px 0;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}
.notfound__num {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(0, 229, 160, 0.35));
}
.notfound h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 10px 0 8px;
}
.notfound p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .hero__sub {
    margin-inline: auto;
  }
  .hero__actions,
  .hero__trust {
    justify-content: center;
  }
  .hero__scene {
    max-width: 440px;
    margin-inline: auto;
  }
  .eco__grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .eco__visual {
    max-width: 420px;
    margin-inline: auto;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__tel,
  .header__cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 30px 24px;
    background: rgba(5, 8, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
  }
  html[dir="rtl"] .nav {
    transform: translateX(-100%);
  }
  .nav.is-open {
    transform: none;
  }
  .nav__link {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px 18px;
  }
  .nav__link::after {
    display: none;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .filter-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--maxw), calc(100% - 28px));
  }
  .hero__trust {
    gap: 14px;
  }
  .float-card--chip,
  .float-card--tag {
    font-size: 0.7rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}