
/* ═══════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --black: #060810;
  --deep: #0a0d18;
  --surface: #0f1222;
  --card: #131728;
  --border: rgba(60,100,200,0.15);
  --blue-core: #2a6ef5;
  --blue-light: #4d8fff;
  --blue-glow: #1a4db8;
  --cyan: #38b4f0;
  --text: #c8d0e8;
  --muted: #6b75a0;
  --white: #e8eaf6;
  --gold: #c9a96e;
  --grad: linear-gradient(135deg, #0f1a3d 0%, #060810 50%, #0a1020 100%);
  --blue-grad: linear-gradient(135deg, #2a6ef5, #38b4f0);
  --font-display: 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--blue-core);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(42,110,245,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}
body:hover .cursor { opacity: 1; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--blue-glow); border-radius: 2px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--white); }

/* Utility */
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.8rem;
}
.section-head { margin-bottom: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--blue-grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(42,110,245,0.4);
}
.btn-primary:hover { box-shadow: 0 0 50px rgba(42,110,245,0.6); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid rgba(42,110,245,0.5);
}
.btn-outline:hover { border-color: var(--blue-light); box-shadow: 0 0 20px rgba(42,110,245,0.2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(200,208,232,0.2);
}
.btn-ghost:hover { border-color: rgba(200,208,232,0.5); }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10000;
  opacity: 0.4;
}

/* Glow lines */
.glow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-core), transparent);
  opacity: 0.4;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s;
  overflow: hidden;
}
header.scrolled {
  background: rgba(6,8,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  width: min(1270px, calc(100% - 48px));
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 1rem 0;
  gap: 2.5rem;
}

.header-inner .logo         { flex-shrink: 0; }
.header-inner .header-contacts { flex: 1; justify-content: center; }
.header-inner .header-right { flex-shrink: 0; }
.header-inner .header-actions { flex-shrink: 0; margin-left: 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 210px; height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  background: linear-gradient(
    to right,
    rgba(42, 110, 245, 0.05) 0%,
    rgba(42, 110, 245, 0.25) 10%,
    rgba(42, 110, 245, 0.30) 20%,
    rgba(42, 110, 245, 0.20) 50%,
    transparent 75%,
    transparent 100%
);
  filter: blur(5px);
}
.logo-mark span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue-light);
  position: relative;
  z-index: 1;
  
}
.logo-mark img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 20;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo-sub {
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.contact-item:hover .contact-val { color: var(--blue-light); }
.contact-item svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue-core); }
.contact-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-display);
}
.contact-val {
  font-size: 0.82rem;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  transition: color 0.2s;
}
.header-actions {
  display: flex;
  align-items: center;
}

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0;
}
.messenger-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
}
.messenger-btn:hover { color: var(--blue-light); background: rgba(42,110,245,0.08); }
.messenger-btn svg { width: 20px; height: 20px; }
.messenger-btn span {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
}



/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(20,50,120,0.25) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 30% 80%, rgba(10,30,80,0.2) 0%, transparent 60%),
              radial-gradient(ellipse 80% 40% at 50% 0%, rgba(15,30,80,0.15) 0%, transparent 50%);
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,110,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,110,245,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Particles canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(42,110,245,0.3);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 2rem;
  background: rgba(42,110,245,0.06);
  animation: fadeInUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-core);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.1s ease both;
}


.hero-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  font-weight: 300;
  max-width: 580px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.stat { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  animation: fadeInUp 0.8s 0.4s ease both;
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  animation: fadeInRight 1s 0.3s ease both;
}

.hero-photo-frame {
  position: relative;
  width: 460px;
  height: 580px;
  border-radius: 4px;
}

/* Gradient border */
.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--blue-core), transparent 50%, var(--cyan));
  border-radius: 4px;
  z-index: 0;
}

/* Inner background behind photo */
.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(to bottom, rgba(6,8,16,0.12) 0%, transparent 25%, transparent 70%, rgba(6,8,16,0.38) 100%);
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
}

/* Hero photo — static */
.hero-photo-animated {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
  display: block;
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.2);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slider-dot:hover {
  border-color: var(--blue-light);
  background: rgba(42,110,245,0.45);
}

.hero-slider-dot.active {
  width: 20px;
  border-radius: 999px;
  border-color: var(--blue-light);
  background: var(--blue-core);
}

/* Corner decoration — restored */
.corner-deco {
  display: block;
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--blue-light);
  border-style: solid;
  border-width: 0;
  z-index: 3;
}
.corner-deco.tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.corner-deco.br { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }

/* Photo placeholder */
.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(160deg, #0f1a3d 0%, #060810 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.hero-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(42,110,245,0.12), transparent 70%);
}
.placeholder-icon {
  width: 100px; height: 100px;
  border: 2px solid rgba(42,110,245,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.placeholder-icon svg { width: 50px; height: 50px; color: rgba(42,110,245,0.5); }
.placeholder-text {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Floating badges on photo */
.photo-badge {
  position: absolute;
  background: rgba(9,13,28,0.9);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.photo-badge.badge-1 { bottom: 60px; left: -40px; }
.photo-badge.badge-2 { top: 60px; right: -30px; }
.badge-label { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.badge-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 600; }
.badge-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; display: inline-block; margin-right: 0.4rem; }

/* Corner decoration */
.corner-deco {
  position: absolute;
  width: 40px; height: 40px;
  border-color: var(--blue-core);
  border-style: solid;
  border-width: 0;
  z-index: 3;
}
.corner-deco.tl { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.corner-deco.br { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1s 1s ease both;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--blue-core), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.5); transform-origin: top; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════
   ADVANTAGES STRIP
═══════════════════════════════════════════ */
#benefitsBar {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--deep);
  overflow: hidden;
}
.benefits-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.benefit-icon { color: var(--blue-light); }
.benefit-icon svg { width: 21px; height: 21px; }
.benefit-text { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--blue-light); font-family: var(--font-display); font-weight: 500; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services {
  padding: 8rem 0;
  position: relative;
  background: var(--deep);
}
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-core), transparent);
  opacity: 0.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  cursor: pointer;
  transition: all 0.4s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,110,245,0.06), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: var(--card); }
.service-card:hover .service-num { color: var(--blue-core); }
.service-card:hover .service-arrow { opacity: 1; transform: translate(0, 0); }

.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(42,110,245,0.2);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.service-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0rem;
  line-height: 1.3;
}
.service-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}
.service-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 32px; height: 32px;
  border: 1px solid var(--blue-core);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-core);
  opacity: 0;
  transform: translate(5px, 5px);
  transition: all 0.3s;
}
.service-arrow svg { width: 12px; height: 12px; }

/* ═══════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════ */
#portfolio {
  padding: 8rem 0;
  background: var(--black);
}

.portfolio-tabs {
  display: flex;
  gap: 0;
  border: 1px solid rgba(60,100,200,0.4);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 3rem;
  width: fit-content;
}
.ptab {
  padding: 0.7rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  border-right: 1px solid var(--border);
}
.ptab:last-child { border-right: none; }
.ptab.active { background: var(--blue-core); color: #fff; }
.ptab:not(.active):hover { background: var(--surface); color: var(--text); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.before-after-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 1px;
  background: var(--blue-glow);
}

.ba-side {
  position: relative;
  overflow: hidden;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
}
.ba-side img { width: 100%; height: 100%; object-fit: cover; }
.ba-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0c1228 0%, #060810 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.ba-placeholder svg { width: 36px; height: 36px; color: rgba(42,110,245,0.3); }
.ba-label {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.ba-label.before { background: rgba(107,117,160,0.3); color: var(--muted); }
.ba-label.after { background: rgba(42,110,245,0.3); color: var(--blue-light); }

.portfolio-item-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(6,8,16,0.95), transparent);
  padding: 2rem 1.2rem 1.2rem;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.portfolio-item:hover .portfolio-item-info { transform: translateY(0); }
.pi-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); }
.pi-meta { font-size: 0.82rem; color: var(--blue-light); margin-top: 0.3rem; }

/* ═══════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════ */
#reviews {
  padding: 8rem 0;
  background: var(--deep);
  position: relative;
}

.reviews-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.rtab {
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  transition: all 0.25s;
}
.rtab.active { border-color: var(--blue-core); color: var(--blue-light); background: rgba(42,110,245,0.1); }
.rtab:not(.active):hover { border-color: rgba(42,110,245,0.3); color: var(--text); }

.reviews-panel { display: none; }
.reviews-panel.active { display: block; }

/* Text reviews */
.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.review-card:hover { border-color: rgba(42,110,245,0.4); transform: translateY(-3px); }
.review-card.has-video { grid-row: span 1; }

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #f59e0b;
  font-size: 0.75rem;
}
.review-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.review-text-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.review-more-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}
.review-more-btn:hover {
  color: var(--white);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}
.author-ava {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-glow), var(--blue-core));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 0.85rem; color: var(--white); }
.author-date { font-size: 0.7rem; color: var(--muted); }

.review-video-wrap {
  margin-bottom: 1rem;
  border-radius: 3px;
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  width: 100%;
}
.play-btn {
  width: 50px; height: 50px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
}
.play-btn svg { width: 18px; height: 18px; margin-left: 3px; }
.review-video-wrap:hover .play-btn { background: var(--blue-core); border-color: var(--blue-core); transform: scale(1.1); }
.video-label { position: absolute; bottom: 0.5rem; right: 0.5rem; font-size: 0.6rem; color: var(--muted); letter-spacing: 0.1em; }

.add-review-cta {
  margin-top: 3rem;
  text-align: center;
  padding: 3rem;
  border: 1px dashed rgba(42,110,245,0.3);
  border-radius: 4px;
  background: rgba(42,110,245,0.03);
}
.add-review-cta p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.9rem; }

.full-review-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text);
  white-space: pre-line;
}

/* External reviews */
.ext-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.ext-review-source {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.ext-source-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.source-logo {
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.source-logo.yandex { background: #fc3f1d; color: #fff; }
.source-logo.prodoc { background: #2a6ef5; color: #fff; }
.source-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.rating-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); }
.rating-count { font-size: 0.75rem; color: var(--muted); }
.ext-reviews-list { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.ext-review-item {
  padding: 1rem;
  background: var(--card);
  border-radius: 3px;
}
.ext-review-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.ext-open-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  font-size: 0.75rem;
  color: var(--blue-light);
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.ext-open-link:hover { background: rgba(42,110,245,0.05); }
.ext-open-link svg { width: 12px; height: 12px; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
#faq {
  padding: 8rem 0;
  background: var(--black);
}

.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid rgba(60,100,200,0.35);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  user-select: none;
}
.faq-q:hover { color: var(--blue-light); }
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(60,100,200,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--text);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform 0.3s; }
.faq-item.open .faq-icon { border-color: var(--blue-core); color: var(--blue-core); background: rgba(42,110,245,0.1); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.5rem; }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about {
  padding: 8rem 0;
  background: var(--deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.about-media {
  position: relative;
}

.about-photo-main {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0c1228 0%, #060810 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.about-photo-placeholder svg { width: 60px; height: 60px; color: rgba(42,110,245,0.25); }
.about-photo-placeholder span { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; }

.about-photo-secondary {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: 55%;
  aspect-ratio: 4/3;
  background: var(--card);
  border: 2px solid var(--black);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-video-strip {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--card);
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.about-video-strip:hover .play-btn { background: var(--blue-core); border-color: var(--blue-core); }
.video-title { font-size: 0.85rem; color: var(--text); }

/* About content */
.about-content { padding-top: 0rem; display: flex; flex-direction: column; }
.about-text {
  font-size: 0.92rem;
  line-height: 1.87;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.about-text strong { color: var(--text); font-weight: 400; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.highlight-item {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.hi-icon {
  width: 32px; height: 32px;
  background: rgba(42,110,245,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
.hi-icon svg { width: 14px; height: 14px; }
.hi-text { font-size: 0.8rem; color: var(--text); line-height: 1.5; }
.hi-text strong { display: block; color: var(--white); margin-bottom: 0.1rem; font-size: 0.82rem; }

/* ═══════════════════════════════════════════
   CREDENTIALS / ABOUT DETAIL
═══════════════════════════════════════════ */
#credentials {
  padding: 8rem 0;
  background: var(--black);
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
}

.cred-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred-photo img { width: 100%; height: 100%; object-fit: cover; }
.cred-contacts { display: flex; flex-direction: column; gap: 0.8rem; }
.cred-contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--text);
}
.cc-icon {
  width: 32px; height: 32px;
  background: rgba(42,110,245,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cc-icon svg { width: 14px; height: 14px; color: var(--blue-core); }

.cred-section { margin-bottom: 3rem; }
.cred-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.cred-section-title svg { width: 16px; height: 16px; color: var(--blue-core); }

.timeline { display: flex; flex-direction: column; gap: 1rem; }
.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.tl-year {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--blue-light);
  font-weight: 600;
  min-width: 50px;
  padding-top: 0.1rem;
}
.tl-dot {
  width: 8px; height: 8px;
  border: 1.5px solid var(--blue-core);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.3rem;
  position: relative;
}
.tl-dot::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--border), transparent);
}
.timeline-item:last-child .tl-dot::after { display: none; }
.tl-title { font-size: 0.9rem; color: var(--white); margin-bottom: 0.2rem; }
.tl-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface);
  transition: all 0.2s;
}
.tag:hover { border-color: var(--blue-core); color: var(--blue-light); }
.tag.highlight { border-color: rgba(42,110,245,0.3); color: var(--blue-light); background: rgba(42,110,245,0.06); }

/* ═══════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════ */
#contact {
  padding: 8rem 0;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,110,245,0.08), transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc { font-size: 0.92rem; line-height: 1.85; color: var(--muted); margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cd-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-core);
}
.cd-icon svg { width: 16px; height: 16px; }
.cd-label { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.cd-val { font-size: 0.9rem; color: var(--text); margin-top: 0.1rem; }
.cd-val a { color: var(--text); text-decoration: none; }
.cd-val a:hover { color: var(--blue-light); }

.messengers-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.msg-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}
.msg-link svg { width: 14px; height: 14px; }
.msg-link:hover { border-color: var(--blue-core); color: var(--blue-light); background: rgba(42,110,245,0.06); }

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.form-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-core);
  box-shadow: 0 0 0 3px rgba(42,110,245,0.1);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: rgba(42,110,245,0.4); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--card); }
.form-consent { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; cursor: pointer; }
.form-consent input[type="checkbox"] { width: 16px; height: 16px; margin-top: 0px; accent-color: var(--blue-core); flex-shrink: 0; cursor: pointer; }
.form-consent span { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-privacy { font-size: 0.72rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; }
.form-privacy a { color: var(--blue-light); text-decoration: none; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-top: 1rem; margin-bottom: 1.5rem; }
.footer-messengers { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.footer-copy { font-size: 0.75rem; color: var(--muted); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.72rem; color: var(--muted); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   ANIMATIONS / SCROLL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(42,110,245,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}
.mobile-menu-btn:hover {
  border-color: rgba(42,110,245,0.45);
  background: rgba(42,110,245,0.12);
}
.mobile-menu-btn.is-active {
  border-color: rgba(42,110,245,0.55);
  background: rgba(42,110,245,0.14);
}
.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu-modal {
  justify-content: flex-start;
  align-items: stretch;
}

.mobile-menu-panel {
  width: min(460px, 100%);
  min-height: 100vh;
  margin-left: auto;
  background: linear-gradient(180deg, rgba(15,18,34,0.98) 0%, rgba(6,8,16,1) 100%);
  border-left: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu-modal.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu-title {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu-link {
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(60,100,200,0.22);
  border-radius: 4px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
}

.mobile-menu-link:hover {
  border-color: rgba(42,110,245,0.45);
  background: rgba(42,110,245,0.08);
  color: var(--blue-light);
  transform: translateX(4px);
}

.mobile-menu-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
}

.mobile-menu-block {
  padding: 1.1rem;
  border: 1px solid rgba(60,100,200,0.22);
  border-radius: 4px;
  background: rgba(42,110,245,0.04);
}

.mobile-menu-label {
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-display);
}

.mobile-menu-contact,
.mobile-menu-address {
  display: block;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu-contact:hover {
  color: var(--blue-light);
}

.mobile-menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
/* About cascade */
.about-cascade { display: flex; flex-direction: column; gap: 0.5rem; }
.ac-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ac-big { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border); background: var(--surface); }
.ac-small { border-radius: 4px; overflow: hidden; aspect-ratio: 5/4; border: 1px solid var(--border); background: var(--surface); }
.about-cascade-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ac-big .about-photo-placeholder,
.ac-small .about-photo-placeholder { width: 100%; height: 100%; }
.ac-big .about-photo-placeholder svg,
.ac-small .about-photo-placeholder svg { width: 28px !important; height: 28px !important; }
.ac-video { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; cursor: pointer; background: var(--card) !important; }
.ac-video:hover { border-color: var(--blue-core) !important; }
.ac-video:hover .play-btn { background: var(--blue-core); border-color: var(--blue-core); }
.ac-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

/* Подробнее link */
.hi-more { display: inline-block; margin-top: 0.4rem; font-size: 0.72rem; color: var(--blue-light); text-decoration: none; letter-spacing: 0.05em; }
.hi-more:hover { text-decoration: underline; }

/* Stories grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}
.story-item { border-radius: 12px; overflow: visible; }
.story-inner {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.story-inner:hover { transform: translateY(-4px); border-color: rgba(42,110,245,0.4); }
.story-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0c1228 0%, #060810 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(42,110,245,0.2);
}
.story-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-placeholder svg { width: 32px; height: 32px; }
.story-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.6rem;
  background: linear-gradient(to top, rgba(6,8,16,0.85), transparent);
}
.story-source {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.62rem; color: rgba(255,255,255,0.7);
  font-family: var(--font-display); font-weight: 500;
}

/* New footer */
.footer-new { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; align-items: start; padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.footer-left { display: flex; flex-direction: column; gap: 1rem; }
.footer-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.footer-center { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-phone { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--white); text-decoration: none; letter-spacing: -0.01em; line-height: 1; margin-bottom: 0.2rem; transition: color 0.2s; }
.footer-phone:hover { color: var(--blue-light); }
.footer-email { font-size: 1rem; color: var(--blue-light); text-decoration: none; margin-bottom: 0.4rem; transition: color 0.2s; }
.footer-email:hover { color: var(--cyan); }
.footer-address-row { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.footer-address-lines { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-hours { font-size: 0.78rem; color: var(--muted); }
.footer-right { display: flex; flex-direction: column; gap: 1rem; }
.footer-social-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.footer-socials { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-social-btn { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; border: 1px solid rgba(60,100,200,0.65); border-radius: 100px; font-size: 0.72rem; color: var(--text); text-decoration: none; font-family: var(--font-display); transition: all 0.2s; background: rgba(42,110,245,0.06); }
.footer-social-btn:hover { border-color: var(--blue-core); color: var(--blue-light); background: rgba(42,110,245,0.1); }
.footer-social-btn svg { flex-shrink: 0; }

/* SEO block */
.seo-layout { display: grid; grid-template-columns: 60px 1fr; gap: 4rem; align-items: start; }
.seo-sidebar { position: relative; height: 100%; }
.seo-sticky { position: sticky; top: calc(var(--header-height, 76px) + 20px); display: flex; justify-content: center; }
.seo-content { display: flex; flex-direction: column; gap: 5rem; }
.seo-block { display: flex; flex-direction: column; gap: 1.5rem; }
.seo-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.seo-img-placeholder { width: 100%; aspect-ratio: 16/9; max-height: 450px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; color: rgba(42,110,245,0.25); }
.seo-img-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-img-placeholder span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
.seo-text { font-size: 0.95rem; color: var(--text); line-height: 1.85; font-weight: 300; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(15, 18, 34, 0.96);
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.cookie-banner.show { display: flex; }
.cookie-banner-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.cookie-accept-btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.72rem;
}
.cookie-more-link {
  font-size: 0.78rem;
  color: var(--blue-light);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.cookie-more-link:hover { color: var(--cyan); }

@media (max-width: 1100px) {
  .header-inner {
    width: calc(100% - 32px);
    gap: 1rem;
  }
  .mobile-menu-btn { display: inline-flex; }
  .header-contacts { display: none; }
  .header-right span { display: none;

  }
  .service-cta {
    opacity: 1!important;
  }
  .header-right {
    gap: 0.5rem;
    margin-left: auto;
  }
  .header-right a {
    padding: 0;
  }
  .header-cta {
    margin-left: auto;
    padding: 0.85rem 1.1rem;
    font-size: 0.68rem;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content {
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-photo-wrap { justify-content: center; order: -1; }
  .hero-photo-frame { width: 340px; height: 420px; }
  .photo-badge.badge-1 { left: -10px; }
  .photo-badge.badge-2 { right: -10px; }
  .about-grid, .credentials-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-secondary { position: static; width: 50%; margin-top: 1rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stories-grid { grid-template-columns: repeat(3, 1fr); }
  #faq .container > div {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  #faq .section-head {
    position: static !important;
    top: auto !important;
  }
  .seo-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .seo-sidebar { display: none; }
  .footer-new { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .header-inner {
    width: calc(100% - 24px);
    padding: 0.85rem 0;
  }
  .hero-inner {
    gap: 3rem;
    padding-top: calc(var(--header-height, 76px) + 36px);
    padding-bottom: 72px;
  }
  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.6rem);
  }
  .hero-desc {
    max-width: none;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .reviews-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-right: -0.5rem;
  }
  .reviews-tabs::-webkit-scrollbar { height: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .reviews-masonry { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .ext-reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .messengers-row { gap: 0.6rem; }
  .footer-new { grid-template-columns: 1fr; }
  .footer-phone { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .header-inner {
    width: calc(100% - 20px);
    gap: 0.8rem;
    padding: 0.75rem 0;
  }
  .logo {
    gap: 0.75rem;
    min-width: 0;
  }
  .logo-name { font-size: 0.92rem; }
  .logo-sub {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }
  .header-cta { display: none; }
  #hero { min-height: auto; }
  .hero-inner {
    gap: 2rem;
    padding-top: calc(var(--header-height, 76px) + 24px);
    padding-bottom: 64px;
  }
  .hero-badge {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.8rem;
    margin-bottom: 1.25rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 2rem;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.64rem; }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons {
    margin-bottom: 4rem;
  }
  .btn {
    justify-content: center;
    padding: 0.85rem 1rem;
  }
  .hero-photo-frame {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .footer-new {
    padding: 1.5rem 0;
  }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-masonry { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .header-messengers { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head h2,
  .seo-title {
    font-size: 1.5rem;
    line-height: 1.15;
  }
  section:not(#hero) {
    padding: 4rem 0!important;
  }
  .rtab {
    font-size: 0.6rem;
    padding: 0.3rem 1.1rem;
  }
  .review-card,
  .add-review-cta,
  .contact-form {
    padding: 1.4rem;
  }
  .faq-q {
    font-size: 0.92rem;
    padding: 1.2rem 0;
  }
  .msg-link,
  .footer-social-btn {
    width: 100%;
    justify-content: center;
  }
  .mobile-menu-panel {
    width: 100%;
    padding: 1.2rem;
  }
  .mobile-menu-title {
    font-size: 1.6rem;
  }
  .mobile-menu-socials .footer-social-btn {
    width: calc(50% - 0.3rem);
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-accept-btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
  }
  .stat {
    align-items: center;
  }
  .hero-stats,
  .mobile-menu-socials {
    grid-template-columns: 1fr;
  }
  .stories-grid { grid-template-columns: 1fr; }
  .mobile-menu-socials .footer-social-btn { width: auto; }
  .footer-bottom-links {
    width: 100%;
    flex-direction: column;
    gap: 0.7rem;
  }
  .mobile-menu-head .section-label {
    margin-bottom: 0;
  }
}

.service-card { background: var(--surface); border: 1px solid var(--border); padding: 2.5rem; position: relative; cursor: pointer; transition: all 0.4s; min-height: 280px; display: flex; flex-direction: column; }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(42,110,245,0.06),transparent); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: var(--card); }
.service-icon { width: 62px; height: 62px; overflow: hidden; background: rgba(42,110,245,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue-light); flex-shrink: 0; }
.service-icon svg { width: 26px; height: 26px; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.service-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.service-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.service-desc { font-size: 0.9rem; color: var(--text); line-height: 1.75; font-family: var(--font-body); font-weight: 300; }
.service-cta { margin-top: auto; padding-top: 1.2rem; font-family: var(--font-display); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); opacity: 0; transform: translateY(6px); transition: all 0.3s; display: flex; align-items: center; gap: 0.6rem; }
.service-cta::after { content: '→'; font-size: 1rem; }
.service-card:hover .service-cta { opacity: 1; transform: translateY(0); }
.service-card-cta { background: linear-gradient(135deg,#0f1f5c 0%,#0a1535 100%); border-color: rgba(42,110,245,0.4) !important; cursor: pointer; justify-content: center; }
.service-card-cta:hover { border-color: var(--blue-core) !important; }
.service-cta-content { display: flex; flex-direction: column; }
.service-cta-icon { width: 62px; height: 62px; overflow: hidden; background: rgba(42,110,245,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue-light); flex-shrink: 0; }
.service-cta-icon svg { width: 26px; height: 26px; }
.service-cta-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.service-cta-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.service-cta-form { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.service-cta-form .form-consent { margin-bottom: 0; }
.service-cta-form .form-consent span { font-size: 0.74rem; line-height: 1.4; }
.service-cta-input { width: 100%; padding: 0.75rem 1rem; background: rgba(6,8,16,0.5); border: 1px solid rgba(42,110,245,0.3); border-radius: 2px; color: var(--text); font-family: var(--font-body); font-size: 0.88rem; outline: none; }
.service-cta-input:focus { border-color: var(--blue-core); }
.service-cta-btn { width: 100%; padding: 0.75rem; background: var(--blue-grad); border: none; border-radius: 2px; color: #fff; font-family: var(--font-display); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }



