/* ================================================================
   ADMEXA patch.css — единственный файл стилей что нужен
   Всё видно. Анимации через чистый CSS.
================================================================ */

/* ── Основа ── */
*, *::before, *::after { box-sizing: border-box; }
body { background: #04060f; color: #fff; }

/* ── Всё что было скрыто — делаем видимым ── */
.fade-up, [class*="delay-"], .reveal-up, .reveal-fade,
.word-inner, .word-wrap, .sec-enter, .card-enter {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  clip-path: none !important;
}

/* ── NAV ── */
nav {
  background: rgba(4,6,15,0.92) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
.nav-logo-text { color: #fff !important; }
nav ul a { color: rgba(255,255,255,0.6) !important; }
nav ul a:hover { color: #fff !important; }
.nav-cta {
  background: #c0392b !important; color: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(192,57,43,0.4) !important;
}
.mobile-menu { display: none !important; background: rgba(4,6,15,0.97) !important; position: fixed !important; top: 64px !important; left: 0 !important; right: 0 !important; z-index: 9998 !important; }
.mobile-menu.open { display: block !important; }
.mobile-menu a { color: rgba(255,255,255,0.7) !important; }
.burger span { background: rgba(255,255,255,0.8) !important; }

/* ── HERO ── */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 72% 40%, rgba(192,57,43,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(40,80,200,0.1) 0%, transparent 55%),
    linear-gradient(160deg, #04060f 0%, #090d1e 55%, #110819 100%) !important;
  min-height: 100vh !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 68px 68px;
}

/* Content always on top */
.hero-grid, .hero-content, .hero-visual,
.hero-tag, .hero-btns, .hero-visual-block {
  position: relative !important;
  z-index: 10 !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Hero animations — CSS keyframes only */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.hero-tag     { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .1s both; }
.hero h1      { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .2s both; }
.hero p       { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .35s both; }
.hero-btns    { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .5s both; }

.hero-visual-block .hero-stat-card:nth-child(1) { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .3s both; }
.hero-visual-block .hero-stat-card:nth-child(2) { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .45s both; }
.hero-visual-block .hero-stat-card:nth-child(3) { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .6s both; }

/* Hero text — bright white, always */
.hero h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 56px !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 24px !important;
}
.hero h1 span {
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
}
.hero p {
  color: rgba(255,255,255,0.75) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  margin-bottom: 40px !important;
  max-width: 460px !important;
}
.hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 16px !important;
  border: 1px solid rgba(192,57,43,0.45) !important;
  border-radius: 100px !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  font-weight: 700 !important;
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
  background: rgba(192,57,43,0.1) !important;
  margin-bottom: 24px !important;
}

/* Stat cards */
.hero-visual-block { display: flex; flex-direction: column; gap: 16px; }
.hero-stat-card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  padding: 26px 30px !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  transition: border-color .3s, transform .3s !important;
  opacity: 1 !important;
}
.hero-stat-card:hover {
  border-color: rgba(192,57,43,0.35) !important;
  transform: translateX(6px) !important;
}
.hero-stat-card.accent { border-color: rgba(192,57,43,0.2) !important; }
.hsc-num {
  font-size: 44px !important; font-weight: 800 !important;
  line-height: 1 !important; letter-spacing: -0.04em !important;
  color: #ffffff !important; -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 6px !important; opacity: 1 !important;
}
.hsc-num span { color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important; }
.hsc-label {
  font-size: 12px !important; letter-spacing: .4px !important;
  color: rgba(255,255,255,0.45) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.45) !important;
  opacity: 1 !important;
}

/* ── BUTTONS ── */
.btn-primary, .cta-btn {
  background: #c0392b !important; color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: none !important; border-radius: 10px !important;
  padding: 14px 32px !important; font-weight: 600 !important;
  font-size: 13px !important; cursor: pointer !important;
  box-shadow: 0 6px 28px rgba(192,57,43,0.38) !important;
  transition: transform .2s, box-shadow .2s !important;
  display: inline-block !important;
}
.btn-primary:hover, .cta-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 40px rgba(192,57,43,0.55) !important;
}
.btn-outline {
  background: transparent !important;
  color: rgba(255,255,255,0.65) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.65) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 10px !important; padding: 14px 28px !important;
  font-size: 13px !important; cursor: pointer !important;
}

/* ── STATS BAR ── */
.stats-bar {
  background: rgba(255,255,255,0.03) !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
.stat-num {
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  font-size: 28px !important; font-weight: 800 !important;
  opacity: 1 !important;
}
.stat-num span { color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important; }
.stat-label {
  color: rgba(255,255,255,0.38) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.38) !important;
  font-size: 9px !important; letter-spacing: 2.5px !important;
  opacity: 1 !important;
}

/* ── SECTIONS ── */
.sec { padding: 88px 56px !important; }
.white-sec, .light-sec { background: #080d1c !important; }
.dark-sec    { background: #0d1228 !important; }
.darkest-sec { background: #04060f !important; }

/* ── ALL TEXT ── */
h1,h2,h3,h4,h5,h6 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  opacity: 1 !important;
}
p, li { color: rgba(255,255,255,0.62) !important; -webkit-text-fill-color: rgba(255,255,255,0.62) !important; opacity: 1 !important; }
.sec-label {
  color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important;
  font-size: 10px !important; letter-spacing: 3.5px !important;
  font-weight: 700 !important; text-transform: uppercase !important;
}
.sec-title {
  font-size: 40px !important; font-weight: 800 !important;
  line-height: 1.12 !important; letter-spacing: -0.025em !important;
}
.sec-sub {
  font-size: 16px !important; line-height: 1.75 !important;
  max-width: 580px !important; margin-bottom: 48px !important;
}

/* ── CARDS ── */
.srv-card, .why-card, .gp-card, .wwd-card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 18px !important; padding: 28px !important;
  opacity: 1 !important; visibility: visible !important;
  transition: transform .3s, border-color .3s, background .3s !important;
}
.srv-card:hover, .why-card:hover, .gp-card:hover, .wwd-card:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(192,57,43,0.3) !important;
  transform: translateY(-5px) !important;
}
.srv-card h3, .why-card h3, .wwd-card h3 {
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  font-weight: 700 !important; font-size: 16px !important;
}
.srv-num { color: rgba(224,90,42,0.7) !important; -webkit-text-fill-color: rgba(224,90,42,0.7) !important; }
.srv-tag { color: rgba(255,255,255,0.28) !important; -webkit-text-fill-color: rgba(255,255,255,0.28) !important; }
.why-icon-wrap {
  width: 44px !important; height: 44px !important;
  background: rgba(192,57,43,0.12) !important;
  border-radius: 12px !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important; margin-bottom: 18px !important;
}

/* WWD CARDS */
.wwd-grid {
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: 20px !important; margin-bottom: 48px !important;
}
.wwd-num { color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important; font-size: 11px !important; letter-spacing: 2px !important; font-weight: 700 !important; margin-bottom: 16px !important; }
.wwd-icon { font-size: 20px !important; color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important; margin-bottom: 14px !important; }
.wwd-card h3 { font-size: 17px !important; }
.wwd-bar { display: none !important; }
@media(max-width:900px){ .wwd-grid{ grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:600px){ .wwd-grid{ grid-template-columns:1fr !important; } }

/* GLASS TILES */
.glass-tile {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 20px !important;
  opacity: 1 !important; visibility: visible !important;
  transition: transform .3s, border-color .3s !important;
}
.glass-tile:hover { transform: translateY(-6px) !important; border-color: rgba(192,57,43,0.28) !important; }
.glass-tile-content h4 { color: #fff !important; -webkit-text-fill-color: #fff !important; font-weight: 700 !important; }
.glass-tile-tags span { color: rgba(255,255,255,0.42) !important; -webkit-text-fill-color: rgba(255,255,255,0.42) !important; border-color: rgba(255,255,255,0.1) !important; }
.glass-tile-num { color: rgba(255,255,255,0.18) !important; -webkit-text-fill-color: rgba(255,255,255,0.18) !important; }

/* GAIN / ME STEPS */
.gain-step, .me-step { opacity: 1 !important; visibility: visible !important; }
.gain-step h4, .me-step h4 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.gain-num { color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important; }
.me-num { background: #c0392b !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* DIVISION / GEO / COMP / PRINCIPLE */
.division-card, .geo-card, .comp-card, .principle-card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 16px !important; padding: 24px !important;
  opacity: 1 !important; visibility: visible !important;
}
.division-tags span { background: rgba(192,57,43,0.1) !important; color: #e05a2a !important; -webkit-text-fill-color: #e05a2a !important; }

/* CTA */
.cta-sec { background: #04060f !important; border-top: 1px solid rgba(255,255,255,0.07) !important; }
.cta-compact-text h2 { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* FOOTER */
footer { background: #020408 !important; border-top: 1px solid rgba(255,255,255,0.07) !important; }
footer a:hover { color: #fff !important; }

/* PAGE HERO */
.page-hero {
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(192,57,43,0.15) 0%, transparent 60%),
              linear-gradient(160deg, #04060f 0%, #0d1228 100%) !important;
}
.page-hero-title { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.page-hero-sub   { color: rgba(255,255,255,0.62) !important; -webkit-text-fill-color: rgba(255,255,255,0.62) !important; }

/* FORMS */
input, textarea, select {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  border-radius: 10px !important;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3) !important; opacity: 1 !important; }
input:focus, textarea:focus { border-color: rgba(192,57,43,0.45) !important; outline: none !important; }

/* SRV CTA ROW */
.srv-cta-row {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 16px !important;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #04060f; }
::-webkit-scrollbar-thumb { background: rgba(192,57,43,0.3); border-radius: 3px; }
::selection { background: rgba(192,57,43,0.25); color: #fff; }

/* PROGRESS BAR (added by motion.js) */
body > div[style*="position:fixed"][style*="height:1px"] { z-index: 9999 !important; }

/* CURSOR */
.cur-dot, .cur-ring { pointer-events: none !important; }

/* ================================================================
   MOBILE — все карточки в столбец на мобильном
================================================================ */
@media (max-width: 768px) {

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr !important;
    padding: 48px 20px !important;
    gap: 40px !important;
    min-height: auto !important;
  }
  .hero h1 { font-size: 36px !important; }
  .hero p  { font-size: 15px !important; }
  .hero-visual-block { flex-direction: row !important; flex-wrap: wrap !important; gap: 12px !important; }
  .hero-stat-card { flex: 1 1 140px !important; padding: 18px 20px !important; }
  .hsc-num { font-size: 32px !important; }

  /* Sections */
  .sec { padding: 56px 20px !important; }

  /* Stats bar */
  .stats-bar { padding: 28px 20px !important; flex-wrap: wrap !important; gap: 20px !important; }

  /* All grids → 1 column */
  .wwd-grid,
  .srv-grid,
  .why-grid,
  .glass-grid,
  .divisions-grid,
  .group-preview-grid,
  .photo-two-col,
  .photo-strip {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Photo sections */
  .photo-strip-item { height: 200px !important; }
  .photo-two-col-item { height: 220px !important; }
  .photo-banner { height: 220px !important; }
  .photo-banner-overlay { padding: 0 20px !important; }
  .photo-banner-overlay h3 { font-size: 20px !important; }

  /* Page hero */
  .page-hero { padding: 64px 20px !important; }
  .page-hero-title { font-size: 30px !important; }
  .two-col-hero { grid-template-columns: 1fr !important; }

  /* CTA */
  .cta-sec { padding: 48px 20px !important; }
  .cta-compact { gap: 20px !important; flex-direction: column !important; }

  /* Nav */
  .nav-inner { padding: 0 16px !important; }

  /* Sec titles */
  .sec-title { font-size: 28px !important; }
  .sec-sub   { font-size: 14px !important; }

  /* Model flow */
  .model-flow { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .model-arrow { transform: rotate(90deg) !important; }

  /* Gain steps */
  .gains-grid { grid-template-columns: 1fr !important; }

  /* Expertise intro */
  .expertise-intro { gap: 8px 12px !important; }

  /* SRV CTA row */
  .srv-cta-row { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }

  /* Infographic */
  .infographic-legend { gap: 6px 12px !important; }
  #whatWeDoViz { min-height: 320px !important; }
  #infographicCanvas { height: 280px !important; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px !important; }
  .hero-stat-card { flex: 1 1 100% !important; }
  .footer-inner { grid-template-columns: 1fr !important; }
  .wwd-grid { grid-template-columns: 1fr !important; }
  .sec { padding: 44px 16px !important; }
}

/* ================================================================
   CREATIVE ANIMATIONS — pure CSS, always work
================================================================ */

/* Floating orbs in hero background */
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.18) 0%, transparent 65%);
  top: -100px; right: -80px;
  pointer-events: none; z-index: 0;
  animation: orbFloat1 12s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 30px) scale(1.15); }
}

.hero::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(40,80,200,0.1) 0%, transparent 65%);
  bottom: -60px; left: -40px;
  pointer-events: none; z-index: 0;
  animation: orbFloat2 15s ease-in-out infinite alternate;
}
@keyframes orbFloat2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -40px) scale(1.1); }
}

/* Pulsing dot on hero tag */
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #e05a2a;
  margin-right: 8px;
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Animated border on stat cards hover */
.hero-stat-card {
  position: relative;
  overflow: hidden;
}
.hero-stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left .6s ease;
}
.hero-stat-card:hover::after { left: 150%; }

/* Shimmer on glass tiles */
.glass-tile {
  position: relative;
  overflow: hidden;
}
.glass-tile::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left .7s ease;
}
.glass-tile:hover::after { left: 130%; }

/* WWD card accent line animation */
.wwd-card {
  position: relative;
  overflow: hidden;
}
.wwd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--accent, 192,57,43), 0.8),
    transparent);
  transform: scaleX(0);
  transition: transform .4s ease;
}
.wwd-card:hover::before { transform: scaleX(1); }

/* Smooth section entrance via CSS animation */
@keyframes sectionIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Cards visible by default - JS handles scroll animations */

/* Floating animation on gain numbers */
@keyframes floatNum {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.gain-num { animation: floatNum 3s ease-in-out infinite; }
.gain-step:nth-child(2) .gain-num { animation-delay: .4s; }
.gain-step:nth-child(3) .gain-num { animation-delay: .8s; }
.gain-step:nth-child(4) .gain-num { animation-delay: 1.2s; }
.gain-step:nth-child(5) .gain-num { animation-delay: 1.6s; }

/* Progress bar glow pulse */
@keyframes barGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(192,57,43,.5); }
  50%       { box-shadow: 0 0 14px rgba(192,57,43,.9); }
}

/* ================================================================
   CONTACTS PAGE FIXES
================================================================ */

/* Info panel labels */
.contact-info-label,
.contact-label,
[class*="contact"] .sec-label,
.contacts-info-section .sec-label {
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
  font-size: 9px !important;
  letter-spacing: 3px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* All info text — address, email, hours */
.contact-info-value,
.contact-info p,
.contact-info address,
.contact-info-block p,
.contact-info-block address,
.contacts-col p,
.contacts-col address,
.contact-panel p,
.contact-panel address {
  color: rgba(255,255,255,0.85) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
  font-style: normal !important;
}

/* Contact info section — ALL children white */
.contact-info *,
.contact-info-block *,
.contact-panel *,
.contacts-col * {
  color: rgba(255,255,255,0.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.82) !important;
}

/* Email link */
.contact-info a,
.contact-panel a,
.contacts-col a {
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
  text-decoration: none !important;
}
.contact-info a:hover,
.contact-panel a:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Form labels */
.contact-form label,
.cta-form label,
label {
  color: rgba(255,255,255,0.7) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* Form inputs */
.contact-form input,
.contact-form textarea,
.contact-form select,
.cta-form input,
.cta-form textarea {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 14px !important;
  padding: 14px 16px !important;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255,255,255,0.3) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.3) !important;
  opacity: 1 !important;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(192,57,43,0.5) !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1) !important;
  outline: none !important;
}

/* White box / trust signals — fix background */
.trust-signals,
.contact-trust,
.trust-block,
.contact-panel > div:last-child,
[class*="trust"] {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 16px !important;
}
.trust-signals *,
.contact-trust *,
.trust-block * {
  color: rgba(255,255,255,0.75) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
}
/* Kill any white backgrounds on contacts page */
.contacts-page *[style*="background: white"],
.contacts-page *[style*="background:#fff"],
.contacts-page *[style*="background: #fff"] {
  background: transparent !important;
}
/* Any element with white/light background */
.contact-info-panel,
.contact-right,
.contact-sidebar {
  background: transparent !important;
}

/* Separator lines */
.contact-info hr,
.contact-panel hr,
[class*="contact"] hr {
  border-color: rgba(255,255,255,0.08) !important;
}

/* "Your information is kept strictly confidential" note */
.contact-form .form-note,
.contact-note,
form + p,
form ~ p {
  color: rgba(255,255,255,0.35) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.35) !important;
  font-size: 11px !important;
}

/* ── CONTACTS — точечные фиксы ── */
.contact-info-label {
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
  font-size: 9px !important;
  letter-spacing: 3px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  opacity: 1 !important;
}
.contact-info-value {
  color: rgba(255,255,255,0.88) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.88) !important;
  line-height: 1.7 !important;
  opacity: 1 !important;
}
.contact-info-value a {
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
}
.contact-info-block {
  opacity: 1 !important;
}

/* Remove white background from any trust/guarantee card */
.contact-info .guarantee-card,
.contact-info .trust-card,
.contact-info-block + div,
div[style*="background:#f"],
div[style*="background: #f"],
div[style*="background:white"],
div[style*="background: white"] {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  color: rgba(255,255,255,0.75) !important;
}

/* ── Contact assurances card — was white ── */
.contact-assurances {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 18px !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}
.contact-assurances * {
  color: rgba(255,255,255,0.75) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
}
.assurance-item {
  border-color: rgba(255,255,255,0.08) !important;
}
.assurance-item svg {
  stroke: rgba(192,57,43,0.8) !important;
}

/* ================================================================
   WHAT YOU GAIN — полная переделка
================================================================ */

/* Убираем старый layout gain-steps */
.gains-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-top: 48px !important;
}

.gain-step {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 28px 28px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 20px !important;
  margin: 0 !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25),
              inset 0 1px 0 rgba(255,255,255,0.08) !important;
  transition: transform .3s cubic-bezier(.16,1,.3,1),
              border-color .3s, box-shadow .3s !important;
  position: relative !important;
  overflow: hidden !important;
}

.gain-step::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    transparent, rgba(255,255,255,0.12), transparent) !important;
}

.gain-step:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(192,57,43,0.3) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4),
              0 0 0 1px rgba(192,57,43,0.15),
              inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

/* Number circle */
.gain-num {
  flex-shrink: 0 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg,rgba(192,57,43,0.25),rgba(192,57,43,0.1)) !important;
  border: 1px solid rgba(192,57,43,0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
  box-shadow: 0 0 16px rgba(192,57,43,0.15) !important;
  animation: none !important; /* убираем float анимацию */
}

.gain-content { flex: 1 !important; }

.gain-step h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.gain-step p {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.55) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.55) !important;
  margin: 0 !important;
}

/* Последний шаг — золотой акцент */
.gain-step:last-child {
  border-color: rgba(200,160,40,0.2) !important;
}
.gain-step:last-child .gain-num {
  background: linear-gradient(135deg,rgba(200,160,40,0.25),rgba(200,160,40,0.1)) !important;
  border-color: rgba(200,160,40,0.4) !important;
  color: #c8a028 !important;
  -webkit-text-fill-color: #c8a028 !important;
  box-shadow: 0 0 16px rgba(200,160,40,0.15) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .gains-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* ================================================================
   CURSOR — смягчённая версия
================================================================ */
#adm-cursor-dot {
  width: 5px !important;
  height: 5px !important;
  background: rgba(224,90,42,0.9) !important;
  box-shadow: 0 0 6px rgba(224,90,42,0.5) !important;
}

#adm-cursor-ring {
  width: 32px !important;
  height: 32px !important;
  border: 1px solid rgba(224,90,42,0.35) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

#adm-cursor-trail {
  display: none !important; /* убираем большой трейл */
}

body.cursor-hover #adm-cursor-ring {
  width: 52px !important;
  height: 52px !important;
  border-color: rgba(224,90,42,0.6) !important;
  background: rgba(192,57,43,0.04) !important;
}

body.cursor-click #adm-cursor-ring {
  width: 22px !important;
  height: 22px !important;
}

/* gain-step inner div (нет класса gain-content) */
.gain-step > div {
  flex: 1 !important;
}
.gain-step > div h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin-bottom: 8px !important;
}
.gain-step > div p {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.55) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.55) !important;
}

/* ================================================================
   RESPONSIVE AUDIT FIXES — все устройства
================================================================ */

/* ── Prevent any horizontal overflow ── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
* { box-sizing: border-box !important; }

/* ── Nav — no overflow ── */
nav, .nav-inner {
  max-width: 100% !important;
  overflow: hidden !important;
}
.nav-inner {
  padding: 0 32px !important;
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px !important; }
  .nav-logo-text { font-size: 13px !important; }
}

/* ── Hero — proper mobile stack ── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    padding: 60px 24px 48px !important;
    gap: 40px !important;
    min-height: auto !important;
  }
  .hero h1 {
    font-size: 38px !important;
    line-height: 1.1 !important;
  }
  .hero p { font-size: 16px !important; }
  .hero-visual { order: -1 !important; }
  .hero-visual-block {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .hero-stat-card {
    flex: 1 1 140px !important;
    padding: 18px 20px !important;
  }
  .hsc-num { font-size: 30px !important; }
  .hsc-label { font-size: 11px !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 30px !important; }
  .hero-stat-card { flex: 1 1 100% !important; }
  .hero-btns {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .btn-primary, .btn-outline {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── Stats bar — readable on all sizes ── */
.stat-label {
  font-size: 10px !important;
  letter-spacing: 2px !important;
}
@media (max-width: 900px) {
  .stats-bar {
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding: 28px 24px !important;
  }
  .stat-item {
    flex: 1 1 45% !important;
    padding: 16px 12px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06) !important;
  }
  .stat-num { font-size: 26px !important; }
  .stat-label { font-size: 9px !important; letter-spacing: 1.5px !important; }
}
@media (max-width: 480px) {
  .stat-item { flex: 1 1 100% !important; border-right: none !important; }
  .stat-item:nth-child(odd) { border-right: none !important; }
}

/* ── WWD grid — clean collapse ── */
@media (max-width: 900px) {
  .wwd-grid {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
  }
  .wwd-expand { grid-column: span 1 !important; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .wwd-grid { grid-template-columns: 1fr 1fr !important; }
  .wwd-expand { grid-column: span 2 !important; }
}

/* ── Section padding ── */
@media (max-width: 900px) {
  .sec { padding: 72px 32px !important; }
  .sec-title { font-size: 32px !important; }
  .sec-sub { font-size: 15px !important; }
  .page-hero { padding: 80px 32px !important; }
  .page-hero-title { font-size: 36px !important; }
}
@media (max-width: 480px) {
  .sec { padding: 56px 20px !important; }
  .sec-title { font-size: 26px !important; }
  .sec-sub { font-size: 14px !important; }
  .page-hero { padding: 60px 20px !important; }
  .page-hero-title { font-size: 28px !important; }
  .page-hero-sub { font-size: 15px !important; }
}

/* ── Why grid ── */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr !important; }
}

/* ── Gains section — responsive ── */
@media (max-width: 768px) {
  .gains-items { padding-left: 36px !important; }
  .gains-line  { left: 10px !important; }
  .gains-dot   { left: -32px !important; width: 18px !important; height: 18px !important; }
  .gains-dot span { font-size: 7px !important; }
  .gains-card {
    grid-template-columns: 80px 1fr !important;
    gap: 0 24px !important;
  }
  .gains-card-num { font-size: 44px !important; }
  .gains-card h3  { font-size: 17px !important; }
  .gains-card p   { font-size: 14px !important; }
  .gains-header   { margin-bottom: 48px !important; }
}
@media (max-width: 480px) {
  .gains-items { padding-left: 28px !important; }
  .gains-dot   { left: -24px !important; width: 14px !important; height: 14px !important; }
  .gains-card  {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .gains-card-num { font-size: 32px !important; }
  .gains-card h3  { font-size: 16px !important; }
}

/* ── Services page glass tiles ── */
@media (max-width: 900px) {
  .glass-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}
@media (max-width: 600px) {
  .glass-grid { grid-template-columns: 1fr !important; }
}

/* ── Infographics canvas ── */
@media (max-width: 768px) {
  #infographicCanvas, #whatWeDoCanvas, #stairCanvas {
    display: none !important;
  }
  .svg-center { display: none !important; }
}

/* ── Photo banner text ── */
@media (max-width: 768px) {
  .photo-banner-overlay h3 {
    font-size: 22px !important;
    max-width: 280px !important;
  }
  .photo-banner-overlay {
    padding: 0 24px !important;
  }
}

/* ── CTA section ── */
@media (max-width: 768px) {
  .cta-sec { padding: 64px 24px !important; }
  .cta-compact { flex-direction: column !important; gap: 24px !important; }
  .cta-compact-text h2 { font-size: 24px !important; }
  .cta-compact-text p  { font-size: 15px !important; }
  .cta-btn { width: 100% !important; text-align: center !important; }
}

/* ── Footer ── */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
    padding: 48px 24px 32px !important;
    gap: 32px 24px !important;
  }
  .footer-logo-col { grid-column: span 2 !important; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr !important; }
  .footer-logo-col { grid-column: span 1 !important; }
}

/* ── Division cards ── */
@media (max-width: 768px) {
  .divisions-grid, .group-preview-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ── Photo strips ── */
@media (max-width: 768px) {
  .photo-strip    { grid-template-columns: 1fr !important; }
  .photo-two-col  { grid-template-columns: 1fr !important; }
  .photo-strip-item, .photo-two-col-item { height: 200px !important; }
}

/* ── Contact form ── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .cta-form input, .cta-form textarea,
  .contact-form input, .contact-form textarea {
    font-size: 16px !important; /* prevent zoom on iOS */
  }
}

/* ── Minimum readable body text ── */
p, li, td, th, address, blockquote {
  font-size: max(13px, 0.85rem) !important;
  line-height: 1.65 !important;
}
@media (max-width: 480px) {
  p, li { font-size: 14px !important; }
}

/* ── Touch target minimum size ── */
@media (hover: none) {
  a, button, .nav-cta, .btn-primary, .btn-outline, .cta-btn {
    min-height: 44px !important;
  }
}

/* ── WHAT YOU GAIN — full width text ── */
.gains-item { width: 100% !important; }
.gains-card { width: 100% !important; grid-template-columns: 100px 1fr !important; }
.gains-card p { max-width: 100% !important; width: 100% !important; }
.gains-card h3 { max-width: 100% !important; }
.gains-card-line { width: 0; }
.gains-item.active .gains-card-line { width: 100% !important; }

/* ================================================================
   MOBILE FIXES
================================================================ */

/* 1. Hide video on mobile */
@media (max-width: 768px) {
  .adm-video-bg,
  .adm-yt-sizer,
  .adm-yt-sizer iframe,
  .hero-video-bg,
  .hero-yt-wrap,
  .hero-yt-wrap iframe {
    display: none !important;
  }
  /* Keep overlay gradient without video */
  .adm-video-overlay {
    display: none !important;
  }
}

/* 2. Service tile tags — text visible */
.glass-tile-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 14px !important;
}
.glass-tile-tags span {
  display: inline-block !important;
  padding: 4px 12px !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  color: rgba(255,255,255,0.65) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3. Gains full width fix (override everything) */
.gains-card {
  display: block !important;
  position: relative !important;
  padding-left: 110px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.gains-card-num {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100px !important;
}
.gains-card h3, .gains-card p {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

@media (max-width: 768px) {
  .gains-card {
    padding-left: 0 !important;
  }
  .gains-card-num {
    position: relative !important;
    margin-bottom: 12px !important;
    font-size: 40px !important;
  }
}

/* ── Glass tile tags — guaranteed visible ── */
.glass-tile { position: relative !important; overflow: hidden !important; }
.glass-tile-content {
  position: relative !important;
  z-index: 5 !important;
}
.glass-tile-tags { 
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 14px !important;
}
.glass-tile-tags span {
  color: rgba(255,255,255,0.7) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-size: 10px !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ================================================================
   CONTACTS — info blocks spacing on mobile
================================================================ */
.contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.contact-info-block {
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.contact-info-block:first-child {
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.contact-info-block:last-child {
  border-bottom: none !important;
}

/* Mobile — more breathing room between blocks */
@media (max-width: 768px) {
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .contact-form-col {
    order: 1 !important;
  }

  .contact-info {
    order: 2 !important;
    gap: 0 !important;
  }

  .contact-info-block {
    padding: 18px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .contact-info-block:last-child {
    border-bottom: none !important;
  }

  .contact-info-label {
    font-size: 9px !important;
    letter-spacing: 3px !important;
    margin-bottom: 8px !important;
    color: #e05a2a !important;
    -webkit-text-fill-color: #e05a2a !important;
  }

  .contact-info-value {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: rgba(255,255,255,0.85) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
  }

  .contact-assurances {
    margin-top: 24px !important;
    padding: 20px !important;
    border-radius: 14px !important;
  }
}

/* ================================================================
   CROSS-BROWSER FIXES
================================================================ */

/* Firefox — text-stroke fallback */
@-moz-document url-prefix() {
  .gains-card-num {
    -webkit-text-stroke: none !important;
    color: rgba(192,57,43,0.15) !important;
    -webkit-text-fill-color: rgba(192,57,43,0.15) !important;
  }
  /* Firefox doesn't support backdrop-filter — use solid bg fallback */
  .hero-stat-card,
  .wwd-card,
  .why-card,
  .srv-card,
  .glass-tile {
    background: rgba(15,18,30,0.92) !important;
  }
}

/* Safari — ensure smooth animations */
@supports (-webkit-appearance: none) {
  .gains-item,
  .wwd-card,
  .hero-stat-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* IE/Edge legacy — grid fallback */
@supports not (display: grid) {
  .wwd-grid, .why-grid, .gains-grid, .srv-grid {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .wwd-card, .why-card, .gain-step, .srv-card {
    flex: 1 1 300px !important;
  }
}

/* All browsers — ensure Inter font fallback chain */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Safari — fix position:sticky nav */
nav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
}

/* Safari — fix gap in flex/grid */
.hero-btns { gap: 16px !important; }
.hero-visual-block { gap: 16px !important; }
.wwd-grid { gap: 1px !important; }

/* All — smooth scroll */
html { scroll-behavior: smooth; }

/* Prevent text size adjust on iOS */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Fix tap highlight on mobile */
a, button {
  -webkit-tap-highlight-color: rgba(192,57,43,0.15);
}

/* Firefox — custom scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(192,57,43,0.35) #04060f;
}

/* ================================================================
   CONTACTS — fix склеенные блоки
================================================================ */
.contact-info-block {
  padding: 22px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 !important;
}
.contact-info-block:first-child {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.contact-info-block:last-child {
  border-bottom: none !important;
}
.contact-info-label {
  font-size: 9px !important;
  letter-spacing: 3px !important;
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  display: block !important;
}
.contact-info-value {
  font-size: 14px !important;
  color: rgba(255,255,255,0.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.82) !important;
  line-height: 1.7 !important;
}
.contact-info-value.link {
  color: #e05a2a !important;
  -webkit-text-fill-color: #e05a2a !important;
}

/* ================================================================
   WWD-CARD — force no border-radius (прямоугольные блоки)
================================================================ */
.wwd-card {
  border-radius: 0 !important;
  border: none !important;
  background: #0a0d1c !important;
}
.wwd-grid {
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

/* ================================================================
   PEOPLE & ABOUT — анимация карточек как на Services
================================================================ */
.division-card,
.comp-card,
.geo-card,
.principle-card,
.team-card,
.me-step,
.chaos-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s cubic-bezier(.16,1,.3,1),
    transform 0.55s cubic-bezier(.16,1,.3,1),
    border-color 0.3s,
    box-shadow 0.3s !important;
}
.division-card.visible,
.comp-card.visible,
.geo-card.visible,
.principle-card.visible,
.team-card.visible,
.me-step.visible,
.chaos-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* Stagger delays */
.division-card:nth-child(1), .comp-card:nth-child(1),
.principle-card:nth-child(1), .me-step:nth-child(1) { transition-delay: 0s !important; }
.division-card:nth-child(2), .comp-card:nth-child(2),
.principle-card:nth-child(2), .me-step:nth-child(2) { transition-delay: 0.08s !important; }
.division-card:nth-child(3), .comp-card:nth-child(3),
.principle-card:nth-child(3), .me-step:nth-child(3) { transition-delay: 0.16s !important; }
.division-card:nth-child(4), .comp-card:nth-child(4),
.principle-card:nth-child(4), .me-step:nth-child(4) { transition-delay: 0.24s !important; }
.division-card:nth-child(5), .comp-card:nth-child(5),
.principle-card:nth-child(5), .me-step:nth-child(5) { transition-delay: 0.32s !important; }
.division-card:nth-child(6), .comp-card:nth-child(6),
.principle-card:nth-child(6) { transition-delay: 0.40s !important; }

/* Hover — как на services */
.division-card:hover,
.comp-card:hover,
.principle-card:hover,
.me-step:hover {
  border-color: rgba(192,57,43,0.35) !important;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.4),
    0 0 0 1px rgba(192,57,43,0.15) !important;
  transform: translateY(-5px) !important;
}

/* ── Contacts info blocks — убираем лишние рамки и скругления ── */
.contact-info-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 20px 0 !important;
  margin: 0 !important;
}
.contact-info-block:first-child {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.contact-info-block:last-child {
  border-bottom: none !important;
}

/* Assurances block — нормальный стиль */
.contact-assurances {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 24px !important;
  margin-top: 24px !important;
}

/* ================================================================
   TAGS — fix белые капсулы на mobile Safari
================================================================ */
.glass-tile-tags span,
.glass-tile-tags a,
.tile-tag {
  color: rgba(255,255,255,0.8) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.8) !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  display: inline-block !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ================================================================
   CONTACTS — ядерный сброс рамок на блоках
================================================================ */
.contact-info > .contact-info-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding: 20px 0 !important;
  margin: 0 !important;
}
.contact-info > .contact-info-block:last-of-type {
  border-bottom: none !important;
}

/* ================================================================
   PHOTO TWO-COL — fix on mobile (text was cut)
================================================================ */
.photo-two-col {
  height: auto !important;
}

.photo-two-col-item {
  height: 280px !important;
}

.photo-two-col-label {
  position: absolute !important;
  bottom: 24px !important;
  left: 24px !important;
  z-index: 5 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  background: rgba(0,0,0,0.5) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

/* Mobile: stack into single column, smaller height */
@media (max-width: 768px) {
  .photo-two-col {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .photo-two-col-item {
    height: 220px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  }
  .photo-two-col-label {
    bottom: 18px !important;
    left: 18px !important;
    font-size: 11px !important;
    padding: 5px 12px !important;
  }
}

/* Same for three-col photo-strip */
@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .photo-strip-item {
    height: 200px !important;
  }
}

/* ================================================================
   404 PAGE — animated, cinematic
================================================================ */
.adm-404 {
  position: relative;
  min-height: calc(100vh - 64px);
  padding: 80px 80px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(192,57,43,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #04060f 0%, #08091a 100%);
}

.adm-404-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.adm-404-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.adm-404-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.adm-404-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(192,57,43,0.95);
  -webkit-text-fill-color: rgba(192,57,43,0.95);
  padding: 8px 18px;
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 4px;
  background: rgba(192,57,43,0.08);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.adm-404-number {
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0 0 40px 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow:
    0 0 40px rgba(192,57,43,0.25),
    0 0 80px rgba(192,57,43,0.15);
}

.adm-404-number .digit {
  display: inline-block;
  transition: color 0.08s, transform 0.08s;
  font-variant-numeric: tabular-nums;
}

.digit-orb {
  position: relative;
  display: inline-block;
  width: clamp(100px, 18vw, 200px);
  height: clamp(100px, 18vw, 200px);
  margin: 0 -10px;
  vertical-align: middle;
}

.orb-inner {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.4) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%,
      rgba(192,57,43,0.6) 0%,
      rgba(192,57,43,0.3) 40%,
      rgba(192,57,43,0.05) 70%,
      transparent 100%);
  box-shadow:
    inset 0 0 40px rgba(192,57,43,0.4),
    0 0 60px rgba(192,57,43,0.35),
    0 0 120px rgba(192,57,43,0.2);
  animation: orb-pulse 4s ease-in-out infinite;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.orb-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.15) 0%, transparent 60%);
  animation: orb-glow 3.5s ease-in-out infinite alternate;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1) rotate(0deg);   }
  50%      { transform: scale(1.06) rotate(180deg); }
}
@keyframes orb-glow {
  from { opacity: 0.6; transform: scale(1);    }
  to   { opacity: 1;   transform: scale(1.15); }
}

.adm-404-title {
  font-size: clamp(24px, 3.5vw, 38px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin: 0 0 20px 0 !important;
}

.adm-404-sub {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.55) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.55) !important;
  max-width: 480px !important;
  margin: 0 auto 48px !important;
}

.adm-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.adm-404-links {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 40px;
}

.adm-404-links-label {
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.adm-404-links-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
}

.adm-404-link {
  background: rgba(13,18,40,0.6);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none !important;
  transition: background 0.25s, transform 0.25s;
  align-items: flex-start;
  text-align: left;
}

.adm-404-link:hover {
  background: rgba(192,57,43,0.08);
  transform: translateY(-2px);
}

.adm-404-link-num {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(192,57,43,0.75);
  -webkit-text-fill-color: rgba(192,57,43,0.75);
  font-weight: 700;
}

.adm-404-link-text {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
  letter-spacing: -0.01em;
}

/* Mobile */
@media (max-width: 768px) {
  .adm-404 { padding: 56px 24px 80px; }
  .adm-404-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 56px;
  }
  .adm-404-actions a {
    width: 100%;
    text-align: center;
  }
  .adm-404-links-row {
    grid-template-columns: 1fr 1fr;
  }
  .adm-404-tag { margin-bottom: 28px; }
  .adm-404-number { margin-bottom: 28px !important; gap: 0; }
  .digit-orb { margin: 0 -16px; }
}

@media (max-width: 480px) {
  .adm-404-links-row { grid-template-columns: 1fr; }
}
