/* ============================================================
   MULTILEVEL PRINT — Редизайн 2026
   Вдохновение: Acropolis Integro
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ============================================================ */
:root {
  /* Colors */
  --clr-primary: #2a2fb8;
  --clr-primary-dark: #1a1f8a;
  --clr-primary-light: #4d52ff;
  --clr-accent: #3b40e8;
  --clr-glow: rgba(77, 82, 255, 0.35);

  --clr-dark-bg: #080820;
  --clr-dark-card: #0f1035;
  --clr-dark-border: rgba(77, 82, 255, 0.2);

  --clr-light-bg: #ffffff;
  --clr-light-alt: #f4f5ff;
  --clr-light-border: #e2e4f3;

  --clr-text-primary: #0d0d2b;
  --clr-text-secondary: #5a5c7a;
  --clr-text-muted: #9a9bb8;
  --clr-text-white: #ffffff;
  --clr-text-white-dim: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;
  --fs-hero: clamp(2.5rem, 6vw, 5.5rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-extra: 800;
  --fw-black: 900;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 5rem;
  --sp-4xl: 7rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 47, 184, 0.08);
  --shadow-md: 0 4px 20px rgba(42, 47, 184, 0.15);
  --shadow-lg: 0 8px 40px rgba(42, 47, 184, 0.25);
  --shadow-glow: 0 0 60px rgba(77, 82, 255, 0.4);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 600ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  /* Navbar */
  --navbar-h: 80px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--clr-text-primary);
  background: var(--clr-light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
}

/* Accessible focus — only for keyboard users */
:focus-visible {
  outline: 2px solid var(--clr-primary-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Removed global outline: none — that was a WCAG 2.4.7 violation */

/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-4xl);
}

.section--dark {
  background: var(--clr-dark-bg);
}

.section--alt {
  background: var(--clr-light-alt);
}

.section-label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  color: var(--clr-primary-light);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.section-label--dark {
  color: rgba(77, 82, 255, 0.8);
}

.section-label-paren::before {
  content: '( ';
}

.section-label-paren::after {
  content: ' )';
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--clr-text-primary);
}

.section-title--white {
  color: var(--clr-text-white);
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-md);
}

.section-subtitle--white {
  color: var(--clr-text-white-dim);
}

.section-subtitle--center {
  text-align: center;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.03em;
  transition: all var(--transition-normal);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-text-white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--clr-primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}

.btn--outline:hover {
  background: var(--clr-primary);
  color: white;
}

.btn--outline-white {
  background: transparent;
  color: var(--clr-text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-text-white);
  backdrop-filter: blur(10px);
  border: 1px solid var(--clr-dark-border);
}

.btn--dark:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

.btn--full {
  width: 100%;
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
  padding: 1.25rem var(--container-pad);
}

.navbar__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

/* Scrolled state */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding-block: 0.75rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
  text-decoration: none;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
}

.navbar__logo-text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--clr-text-white);
  line-height: 1.2;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.navbar.scrolled .navbar__logo-text {
  color: var(--clr-text-primary);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-left: auto;
}

.navbar__link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
}

.navbar__link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar__link {
  color: var(--clr-text-secondary);
}

.navbar.scrolled .navbar__link:hover {
  color: var(--clr-primary);
  background: var(--clr-light-alt);
}

.navbar__cta {
  margin-left: var(--sp-md);
}

/* Hamburger — mobile */
.navbar__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  transition: background var(--transition-fast);
}

.navbar__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.navbar.scrolled .navbar__burger {
  background: var(--clr-light-alt);
  border-color: var(--clr-light-border);
}

.navbar.scrolled .navbar__burger span {
  background: var(--clr-text-primary);
}

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

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

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

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 32, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.navbar__mobile-menu.is-open {
  display: flex;
  opacity: 1;
}

.navbar__mobile-link {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  color: white;
  padding: var(--sp-sm) var(--sp-xl);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.navbar__mobile-link:hover {
  background: rgba(77, 82, 255, 0.2);
  color: var(--clr-primary-light);
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-dark-bg);
  padding-top: var(--navbar-h);
}

/* Subtle background photo */
.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('../img/car-slider1.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Dark screen and animated grain/noise texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(160deg, rgba(10, 10, 34, 0.82) 0%, rgba(14, 14, 64, 0.82) 40%, rgba(8, 8, 32, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Glowing rotating blobs */
.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 60% 60% at 30% 30%, rgba(77, 82, 255, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 60%, rgba(42, 47, 184, 0.65) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(26, 31, 138, 0.9) 0%, transparent 60%);
  animation: heroBlobRotate 20s linear infinite;
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes heroBlobRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.15);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  padding: var(--sp-4xl) var(--container-pad) var(--sp-2xl);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.375rem 1rem;
  background: rgba(77, 82, 255, 0.15);
  border: 1px solid rgba(77, 82, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(77, 82, 255, 0.9);
  margin-bottom: var(--sp-lg);
  backdrop-filter: blur(8px);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  color: var(--clr-text-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
}

.hero__title-highlight {
  background: linear-gradient(135deg, #6b70ff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  color: var(--clr-text-white-dim);
  line-height: 1.6;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* Stats bar */
.hero__stats {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: var(--sp-2xl) var(--container-pad) var(--sp-2xl);
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__stat {
  flex: 1;
  text-align: center;
  padding: var(--sp-md) var(--sp-xl);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-number {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--clr-text-white);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.hero__stat-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-white-dim);
  font-weight: var(--fw-regular);
}

/* ============================================================
   7. BENEFITS / ABOUT SECTION
   ============================================================ */
.benefits {
  padding-block: var(--sp-4xl);
  background: var(--clr-light-bg);
}

.benefits__header {
  text-align: center;
  margin-bottom: var(--sp-3xl);
}

.benefits__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  max-width: 700px;
  margin-inline: auto;
  margin-top: var(--sp-sm);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.benefit-card {
  padding: var(--sp-2xl);
  border-right: 1px solid var(--clr-light-border);
  position: relative;
}

.benefit-card:last-child {
  border-right: none;
}


.benefit-card__icon {
  display: inline-flex;
  margin-bottom: var(--sp-lg);
  color: var(--clr-primary);
}

.benefit-card__icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.benefit-card__text {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   8. CATALOG SECTION (dark)
   ============================================================ */
.catalog {
  padding-block: var(--sp-4xl);
  background: var(--clr-light-bg);
  position: relative;
  overflow: hidden;
}

.catalog::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 47, 184, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.catalog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-3xl);
  gap: var(--sp-xl);
}

.catalog__header--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-md);
}

.catalog__header--centered .catalog__title {
  margin-inline: auto;
}

.catalog__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  max-width: 500px;
  line-height: 1.2;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  cursor: pointer;
  perspective: 1000px;
  background: transparent;
  border: none;
}

.product-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-card:hover .product-card__inner {
  transform: rotateY(180deg);
  box-shadow: var(--shadow-lg);
}

.product-card__front,
.product-card__back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-card__front {
  background: var(--clr-dark-card);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.08);
}

.product-card__front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 32, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-lg);
}

.product-card__back {
  background: linear-gradient(135deg, #0e0a35 0%, #20177e 40%, #3d2ac2 100%);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: var(--sp-xl);
  color: white;
}

.product-card__num {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.product-card__front-overlay .product-card__num {
  position: absolute;
  top: var(--sp-md);
  left: var(--sp-md);
}

.product-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-text-white);
  line-height: 1.2;
}

.product-card__title-back {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--clr-text-white);
  margin-bottom: var(--sp-md);
  line-height: 1.3;
}

.product-card__desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.product-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.product-card:hover .product-card__arrow {
  background: rgba(255, 255, 255, 0.3);
}

.product-card__arrow svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   9. WHY US SECTION
   ============================================================ */
.why-us {
  padding-block: var(--sp-4xl);
  background: var(--clr-light-alt);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}

.why-us__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.why-us__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us__image-badge {
  position: absolute;
  bottom: var(--sp-lg);
  left: var(--sp-lg);
  background: rgba(8, 8, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(77, 82, 255, 0.3);
  border-radius: var(--radius-md);
  padding: var(--sp-md) var(--sp-lg);
  color: white;
}

.why-us__image-badge-title {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.why-us__image-badge-value {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: white;
}

.why-us__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.why-us__item {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--clr-light-border);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.why-us__item:hover {
  border-color: rgba(42, 47, 184, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.why-us__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-light-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
}

.why-us__item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-us__item-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-text-primary);
  margin-bottom: 2px;
}

.why-us__item-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   10. FAQ SECTION
   ============================================================ */
.faq {
  padding-block: var(--sp-4xl);
  background: var(--clr-light-bg);
}

.faq__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-4xl);
  align-items: start;
}

.faq__sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + 2rem);
}

.faq__sidebar-cta {
  margin-top: var(--sp-2xl);
  padding: var(--sp-xl);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  border-radius: var(--radius-xl);
  color: white;
}

.faq__sidebar-cta-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-sm);
}

.faq__sidebar-cta-text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--sp-lg);
  line-height: 1.6;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.faq__item {
  border: 1px solid var(--clr-light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq__item.is-open {
  border-color: rgba(42, 47, 184, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  width: 100%;
  padding: var(--sp-lg) var(--sp-xl);
  text-align: left;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--clr-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  background: white;
}

.faq__question:hover {
  background: var(--clr-light-alt);
}

.faq__item.is-open .faq__question {
  background: var(--clr-light-alt);
}

.faq__question-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-light-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.faq__item.is-open .faq__question-icon {
  background: var(--clr-primary);
  transform: rotate(45deg);
}

.faq__question-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--clr-text-secondary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.faq__item.is-open .faq__question-icon svg {
  stroke: white;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-normal);
  padding: 0 var(--sp-xl);
  background: white;
}

.faq__item.is-open .faq__answer {
  max-height: 300px;
  padding: 0 var(--sp-xl) var(--sp-lg);
}

.faq__answer p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   11. ORDER / CONTACT SECTION (dark)
   ============================================================ */
.order-section {
  padding-block: var(--sp-4xl);
  background: var(--clr-dark-bg);
  position: relative;
  overflow: hidden;
}

.order-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 47, 184, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.order-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
}

.order-section__info-label {
  color: rgba(77, 82, 255, 0.8);
}

.order-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--clr-text-white);
  line-height: 1.15;
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.order-section__desc {
  font-size: var(--fs-base);
  color: var(--clr-text-white-dim);
  line-height: 1.7;
  margin-bottom: var(--sp-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(77, 82, 255, 0.15);
  border: 1px solid rgba(77, 82, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-primary-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  font-size: var(--fs-xs);
  color: var(--clr-text-white-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: var(--fs-base);
  color: white;
  font-weight: var(--fw-medium);
}

.contact-info__value a {
  color: white;
}

.contact-info__value a:hover {
  color: var(--clr-primary-light);
}

.social-links {
  display: flex;
  gap: var(--sp-sm);
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-link:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.form-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-text-white-dim);
  margin-bottom: var(--sp-xs);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--fs-sm);
  font-family: var(--font-main);
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  outline: none;
  border-color: rgba(77, 82, 255, 0.6);
  background: rgba(77, 82, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(77, 82, 255, 0.15);
}

.form-input:focus-visible {
  outline: none;
  border-color: rgba(77, 82, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(77, 82, 255, 0.15);
}

.form-input._error {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  cursor: pointer;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-top: var(--sp-md);
}

.form-checkbox-input {
  display: none;
}

.form-checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.form-checkbox-input:checked+.form-checkbox-label .form-checkbox-custom,
.form-checkbox-label:has(.form-checkbox-input:checked) .form-checkbox-custom {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.form-checkbox-input:checked~.form-checkbox-custom {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* Alternative checkbox approach */
.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  cursor: pointer;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-top: var(--sp-md);
}

.checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.checkbox-wrapper input[type="checkbox"]:checked {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-wrapper._error input[type="checkbox"] {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.25);
}

.form-sending-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 32, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.contact-form {
  position: relative;
}

.contact-form._sending .form-sending-overlay {
  opacity: 1;
  visibility: visible;
}

/* CSS spinner instead of GIF */
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(77, 82, 255, 0.2);
  border-top-color: var(--clr-primary-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: #05050f;
  padding-block: var(--sp-3xl) var(--sp-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin: var(--sp-md) 0 var(--sp-lg);
}

.footer__col-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer__col-list a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer__col-list a:hover {
  color: white;
}

.footer__col-contact {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}

.footer__col-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  display: block;
  font-weight: var(--fw-medium);
}

.footer__col-contact a:hover {
  color: var(--clr-primary-light);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-lg);
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer__copyright span {
  color: var(--clr-primary-light);
}

/* ============================================================
   13. SCROLL-TO-TOP & FLOATING CTA
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  z-index: 900;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--clr-primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   14. INNER PAGE: BANNER / BREADCRUMBS
   ============================================================ */
.page-banner {
  padding-top: var(--navbar-h);
  background: var(--clr-dark-bg);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(42, 47, 184, 0.4) 0%, transparent 70%),
    linear-gradient(160deg, #0a0a22 0%, #080820 100%);
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-3xl);
  text-align: center;
}

.page-banner__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: white;
  margin-bottom: var(--sp-md);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
}

.breadcrumbs__item {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__item a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumbs__item a:hover {
  color: white;
}

.breadcrumbs__sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: var(--fs-xs);
}

/* ============================================================
   15. ANIMATIONS
   ============================================================ */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fade-up 0.7s ease both;
}

.animate-fade-in {
  animation: fade-in 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .catalog__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .benefit-card:nth-child(2) {
    border-right: none;
  }

  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2) {
    border-bottom: 1px solid var(--clr-light-border);
  }

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

@media (max-width: 900px) {
  :root {
    --sp-4xl: 4rem;
    --sp-3xl: 3rem;
  }

  .navbar__nav,
  .navbar__cta {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .why-us__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .why-us__image {
    aspect-ratio: 16/9;
  }

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

  .faq__sidebar {
    position: static;
  }

  .order-section__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

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

  .catalog__title {
    max-width: 100%;
  }

  .hero__stats {
    flex-wrap: wrap;
  }

  .hero__stat {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero__stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 700px) {
  :root {
    --sp-4xl: 3rem;
    --sp-3xl: 2rem;
  }

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

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

  .benefit-card {
    border-right: none;
    border-bottom: 1px solid var(--clr-light-border);
  }

  .benefit-card:last-child {
    border-bottom: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__stat-number {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 480px) {
  .catalog__grid {
    grid-template-columns: 1fr;
  }

  .hero__stat {
    flex: 1 1 100%;
    border-right: none;
  }

  .page-banner__title {
    font-size: var(--fs-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   INNER PAGES — Shared Components
   ============================================================ */

/* Active nav link */
.navbar__link--active {
  color: white !important;
  background: rgba(77, 82, 255, 0.2) !important;
}

.navbar.scrolled .navbar__link--active {
  color: var(--clr-primary) !important;
  background: var(--clr-light-alt) !important;
}

/* ============================================================
   PAGE HERO (внутренние страницы)
   ============================================================ */
.page-hero {
  min-height: 40vh;
  background: var(--clr-dark-bg);
  display: flex;
  align-items: flex-end;
  padding-top: var(--navbar-h);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(42, 47, 184, 0.5) 0%, transparent 70%),
    linear-gradient(160deg, #0a0a22 0%, #0e0e40 60%, #080820 100%);
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding: var(--sp-3xl) var(--container-pad) var(--sp-2xl);
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--fw-black);
  color: var(--clr-text-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.page-hero__subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-white-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
}

.breadcrumb__link {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: white;
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--fs-xs);
}

.breadcrumb__current {
  color: var(--clr-primary-light);
  font-weight: var(--fw-medium);
}

/* ============================================================
   CATALOG — Inner (full grid with more cols)
   ============================================================ */
.catalog--inner {
  padding-top: var(--sp-3xl);
}

.catalog--inner .catalog__header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-md);
}

.catalog--inner .catalog__header .catalog__title {
  margin-inline: auto;
}

.catalog__grid--full {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .catalog__grid--full {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog__grid--full {
    grid-template-columns: repeat(2, 1fr);
  }
}

.catalog__grid--related {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .catalog__grid--related {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.prod-detail {
  background: var(--clr-light-bg);
}

.prod-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
}

/* Gallery */
.prod-gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-light-alt);
  margin-bottom: var(--sp-md);
  aspect-ratio: 4/3;
}

.prod-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.prod-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}

.prod-gallery__thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.6;
}

.prod-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-gallery__thumb:hover {
  opacity: 0.85;
}

.prod-gallery__thumb--active {
  border-color: var(--clr-primary);
  opacity: 1;
}

/* Product info */
.prod-detail__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  line-height: 1.2;
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.prod-detail__desc {
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}

/* Specs */
.prod-specs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}

.prod-spec {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--clr-light-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clr-primary);
}

.prod-spec__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
}

.prod-spec__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prod-spec__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  margin-bottom: 2px;
}

.prod-spec__value {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-primary);
}

.prod-detail__actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* ============================================================
   PRODUCT ABOUT (dark)
   ============================================================ */
.prod-about {
  background: var(--clr-dark-bg);
  padding-block: var(--sp-4xl);
  position: relative;
  overflow: hidden;
}

.prod-about::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 47, 184, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.prod-about__header {
  text-align: center;
  margin-bottom: var(--sp-3xl);
}

.prod-about__header .section-subtitle {
  margin-inline: auto;
}

.prod-about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.prod-about__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 82, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: background var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
}

.prod-about__card:hover {
  background: rgba(77, 82, 255, 0.08);
  border-color: rgba(77, 82, 255, 0.35);
  transform: translateY(-4px);
}

.prod-about__card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 82, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-lg);
}

.prod-about__card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-primary-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prod-about__card-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--clr-text-white);
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.prod-about__card-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-white-dim);
  line-height: 1.65;
}

/* ============================================================
   PRODUCT USES
   ============================================================ */
.prod-uses {
  background: var(--clr-light-bg);
}

.prod-uses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.prod-uses__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.prod-use-card {
  padding: var(--sp-xl);
  border: 1px solid var(--clr-light-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.prod-use-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-primary-light));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.prod-use-card:hover {
  border-color: rgba(42, 47, 184, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.prod-use-card:hover::before {
  opacity: 1;
}

.prod-use-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-light-alt);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-lg);
  color: var(--clr-primary);
  transition: background var(--transition-normal);
}

.prod-use-card:hover .prod-use-card__icon {
  background: rgba(42, 47, 184, 0.08);
}

.prod-use-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prod-use-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.prod-use-card__text {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE — Product pages
   ============================================================ */
@media (max-width: 1024px) {
  .prod-detail__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

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

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

@media (max-width: 640px) {
  .prod-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .prod-about__grid {
    grid-template-columns: 1fr;
  }

  .prod-uses__grid,
  .prod-uses__grid--4 {
    grid-template-columns: 1fr;
  }

  .prod-detail__actions {
    flex-direction: column;
  }
}

/* ============================================================
   ABOUT INTRO
   ============================================================ */

.about-intro {
  background: var(--clr-light-bg);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.about-intro__media {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.about-intro__video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-intro__video-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
}

.about-intro__img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  height: 220px;
  box-shadow: var(--shadow-md);
}

.about-intro__list {
  margin-top: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.about-intro__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.5;
}

.about-intro__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .about-intro__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT STATS
   ============================================================ */
.about-stats {
  background: var(--clr-dark-bg);
  padding-block: var(--sp-3xl);
}

.about-stats__grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--sp-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
}

.about-stats__item {
  text-align: center;
  padding: var(--sp-md) var(--sp-xl);
}

.about-stats__num {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  color: var(--clr-text-white);
  line-height: 1;
  margin-bottom: var(--sp-xs);
  background: linear-gradient(135deg, #6b70ff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stats__label {
  font-size: var(--fs-sm);
  color: var(--clr-text-white-dim);
}

/* ============================================================
   CONTACTS SECTION
   ============================================================ */
.contacts-section {
  background: var(--clr-light-bg);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
}

@media (max-width: 840px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

.contacts-card {
  background: var(--clr-light-alt);
  border: 1px solid var(--clr-light-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-normal);
}

.contacts-card:hover {
  box-shadow: var(--shadow-lg);
}

.contacts-card__badge {
  display: inline-block;
  background: var(--clr-primary);
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-lg);
  align-self: flex-start;
}

.contacts-card__badge--spb {
  background: linear-gradient(135deg, #4d52ff 0%, #a78bfa 100%);
}

.contacts-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.contacts-card__row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
}

.contacts-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contacts-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.contacts-card__value {
  font-size: var(--fs-sm);
  color: var(--clr-text-primary);
  line-height: 1.7;
}

.contacts-card__link {
  display: block;
  color: var(--clr-primary);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}

.contacts-card__link:hover {
  color: var(--clr-primary-light);
}

.contacts-card__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.contacts-card__map iframe {
  display: block;
}

/* ============================================================
   INNER CTA SECTION
   ============================================================ */
.inner-cta {
  background: var(--clr-light-alt);
  text-align: center;
}

.inner-cta__inner {
  max-width: 640px;
  margin-inline: auto;
}

/* ============================================================
   ABOUT — CERT ROW
   ============================================================ */
.about-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--clr-light-border);
}

.about-cert-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex: 1 1 160px;
}

.about-cert-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-light-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-light-border);
}

.about-cert-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-cert-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-text-primary);
}

.about-cert-sub {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: 2px;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section {
  background: var(--clr-dark-bg);
  padding-block: var(--sp-4xl);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 47, 184, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}

/* Vertical connecting line */
.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--clr-primary) 0%, rgba(77, 82, 255, 0.2) 100%);
}

@media (max-width: 600px) {
  .timeline::before {
    left: 60px;
  }
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 40px 1fr;
  align-items: flex-start;
  gap: 0 var(--sp-lg);
  padding-block: var(--sp-lg);
}

@media (max-width: 600px) {
  .timeline__item {
    grid-template-columns: 60px 32px 1fr;
    gap: 0 var(--sp-md);
  }
}

.timeline__year {
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  color: var(--clr-primary-light);
  text-align: right;
  padding-top: 4px;
  line-height: 1;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clr-dark-bg);
  border: 2px solid var(--clr-primary);
  margin-top: 5px;
  justify-self: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline__dot--active {
  background: var(--clr-primary);
  box-shadow: 0 0 16px rgba(77, 82, 255, 0.6);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.timeline__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 82, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.timeline__card:hover {
  background: rgba(77, 82, 255, 0.08);
  border-color: rgba(77, 82, 255, 0.3);
}

.timeline__card--active {
  background: rgba(77, 82, 255, 0.1);
  border-color: rgba(77, 82, 255, 0.4);
}

.timeline__card-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--clr-text-white);
  margin-bottom: var(--sp-xs);
}

.timeline__card-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-white-dim);
  line-height: 1.6;
}

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.industries {
  background: var(--clr-light-bg);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

@media (max-width: 900px) {
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .industries__grid {
    grid-template-columns: 1fr;
  }
}

.industry-card {
  padding: var(--sp-xl);
  background: var(--clr-light-alt);
  border: 1px solid var(--clr-light-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.industry-card:hover {
  border-color: var(--clr-primary);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-lg);
  border: 1px solid var(--clr-light-border);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.industry-card:hover .industry-card__icon {
  background: rgba(42, 47, 184, 0.08);
  border-color: var(--clr-primary-light);
}

.industry-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-sm);
}

.industry-card__text {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-section {
  background: var(--clr-dark-bg);
  padding-block: var(--sp-4xl);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.process__step {
  flex: 1 1 180px;
  max-width: 220px;
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  position: relative;
}

.process__step-num {
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.1em;
  color: var(--clr-primary-light);
  opacity: 0.6;
  margin-bottom: var(--sp-md);
}

.process__step-icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(77, 82, 255, 0.25);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.process__step:hover .process__step-icon {
  background: rgba(77, 82, 255, 0.15);
  border-color: rgba(77, 82, 255, 0.5);
  box-shadow: 0 0 24px rgba(77, 82, 255, 0.2);
}

.process__step-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--clr-primary-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process__step-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-text-white);
  margin-bottom: var(--sp-sm);
}

.process__step-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-white-dim);
  line-height: 1.6;
}

.process__step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  color: rgba(77, 82, 255, 0.4);
}

.process__step-arrow svg {
  width: 24px;
  height: 24px;
  stroke: rgba(77, 82, 255, 0.5);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 700px) {
  .process__step-arrow {
    display: none;
  }

  .process__step {
    max-width: 100%;
    flex: 1 1 45%;
  }
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  padding-block: var(--sp-4xl);
}

.product-detail__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
}

@media (min-width: 992px) {
  .product-detail__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3xl);
  }
}

.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.product-detail__main-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.product-detail__thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.product-detail__thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-detail__thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-detail__info h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-md);
  color: var(--clr-text-white);
  line-height: 1.2;
}

.product-detail__info p {
  color: var(--clr-text-white-dim);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}

.product-detail__features {
  margin-block: var(--sp-xl);
  list-style: none;
  padding: 0;
}

.product-detail__features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--sp-md);
  color: var(--clr-text-white);
}

.product-detail__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%234d52ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =========================================
   NEWS HUB & ARTICLE LAYOUT
========================================= */

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: var(--clr-light-bg);
  border: 1px solid var(--clr-light-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary-light);
  box-shadow: var(--shadow-md);
}

.news-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.05);
}

.news-card__date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 10, 34, 0.85);
  backdrop-filter: blur(10px);
  color: var(--clr-text-white);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card__desc {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-card__more:hover {
  opacity: 0.8;
}

/* Article Hero */
.article-hero {
  position: relative;
  padding: 8rem 0 4rem;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--clr-light-border);
  margin-bottom: 4rem;
}

.article-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.article-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 34, 0.4) 0%, rgba(10, 10, 34, 0.9) 100%);
  z-index: -1;
}

.article-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.article-hero__title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--clr-text-white);
  line-height: 1.1;
  margin: 1rem 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .article-hero__title {
    font-size: 2rem;
  }
}

.article-hero__meta {
  font-size: 0.9rem;
  color: #a4a8ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Breadcrumb inside Dark Hero */
.article-hero .breadcrumb__link,
.article-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.7) !important;
}

.article-hero .breadcrumb__current {
  color: var(--clr-text-white) !important;
}

.article-hero .breadcrumb__link:hover {
  color: var(--clr-text-white) !important;
}

/* Article Layout (2-column) */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--clr-text-secondary);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content .custom-list {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-content .custom-list li {
  margin-bottom: 0.5rem;
}

.article-content h2,
.article-content h3 {
  color: var(--clr-text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid var(--clr-light-border);
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--clr-light-alt);
  border: 1px solid var(--clr-light-border);
  border-radius: 16px;
  padding: 1.5rem;
}

.sidebar-widget__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--clr-light-border);
}

/* Latest news list in sidebar */
.sidebar-news__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-news__item {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sidebar-news__item:hover {
  opacity: 0.8;
}

.sidebar-news__img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-news__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-news__item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  line-height: 1.3;
}

.sidebar-news__date {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* Links list in sidebar */
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-link::before {
  content: '-';
  color: var(--clr-primary);
}

.sidebar-link:hover {
  color: var(--clr-primary);
  transform: translateX(5px);
}

/* ============================================================
   PHOTO GALLERY PAGE — /fotogalereya/
   ============================================================ */

/* --- Filter Bar --- */
.gallery-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  padding: var(--sp-2xl) var(--container-pad) var(--sp-xl);
  position: sticky;
  top: var(--navbar-h);
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-light-border);
}

.gallery-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-secondary);
  background: transparent;
  border: 1.5px solid var(--clr-light-border);
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.gallery-filter__btn:hover {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
  background: var(--clr-light-alt);
}

.gallery-filter__btn.is-active {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

/* --- Masonry section wrapper --- */
.gallery-section {
  padding: var(--sp-2xl) var(--container-pad) var(--sp-4xl);
  max-width: var(--container-max);
  margin-inline: auto;
}

/* --- Gallery grid --- */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

/* --- Gallery card --- */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--clr-light-alt);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  aspect-ratio: 4 / 3;
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.05);
}

/* Hover overlay */
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 32, 0.75) 0%,
    rgba(42, 47, 184, 0.35) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-sm);
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform var(--transition-normal);
}

.gallery-card:hover .gallery-card__zoom-icon {
  transform: scale(1);
}

.gallery-card__zoom-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-card__category-tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(42, 47, 184, 0.6);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

/* Filter animation */
.gallery-card {
  animation: galleryFadeIn 0.4s ease both;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Empty state */
.gallery-empty {
  display: none;
  text-align: center;
  padding: var(--sp-4xl) var(--sp-xl);
  color: var(--clr-text-muted);
}

.gallery-empty.is-visible {
  display: block;
}

.gallery-empty__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--sp-md);
  opacity: 0.3;
}

/* --- Lightbox (native <dialog>) --- */
.gallery-lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.gallery-lightbox::backdrop {
  background: rgba(5, 5, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: relative;
  padding: 3.5rem 5rem;
  box-sizing: border-box;
}

.gallery-lightbox__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gallery-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.8);
  animation: lbImgIn 0.2s ease both;
}

@keyframes lbImgIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Caption */
.gallery-lightbox__caption {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Close button */
.gallery-lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.1) rotate(90deg);
}

.gallery-lightbox__close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Prev / Next arrows */
.gallery-lightbox__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.gallery-lightbox__arrow:hover {
  background: rgba(77, 82, 255, 0.5);
  border-color: rgba(77, 82, 255, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox__arrow svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox__arrow--prev {
  left: 1.25rem;
}

.gallery-lightbox__arrow--next {
  right: 1.25rem;
}

/* Counter */
.gallery-lightbox__counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* --- Gallery stats bar (above masonry) --- */
.gallery-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-xl);
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.gallery-stats__count {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-weight: var(--fw-medium);
}

.gallery-stats__count strong {
  color: var(--clr-text-primary);
}

/* ============================================================
   GALLERY — RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-filter {
    padding: var(--sp-md) var(--container-pad);
    gap: 0.4rem;
    top: calc(var(--navbar-h) - 10px);
  }

  .gallery-filter__btn {
    padding: 0.375rem 0.85rem;
    font-size: var(--fs-xs);
  }

  .gallery-lightbox__arrow--prev {
    left: 0.5rem;
  }

  .gallery-lightbox__arrow--next {
    right: 0.5rem;
  }

  .gallery-lightbox__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery-lightbox__img {
    max-width: 96vw;
    max-height: 80vh;
  }
}