:root{
  --versorica-accent:#6c2bd9;
  --text:#111;
  --muted:#666;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  color:var(--text);
  line-height:1.65;
}
.container{
 width:min(1100px,92%);
  margin-inline:auto;
  padding:24px 0;
}
.site-header,.site-footer{
  background:#0d0716;
  color:#fff;
}
.site-header a,.site-footer a{color:#fff;text-decoration:none}
.menu{display:flex;gap:16px;list-style:none;margin:0;padding:0}
.site-title{font-weight:700;font-size:20px}
.btn{
  display:inline-block;padding:.7rem 1rem;background:var(--versorica-accent);
  color:#fff;border-radius:8px;text-decoration:none
}
.entry-title{margin:.4rem 0 0.2rem}
.meta{color:var(--muted);font-size:.9rem;margin-bottom:.6rem}
.thumb img{display:block;width:100%;height:auto;border-radius:10px}
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.hero{padding:48px 0}

/* ===== Versorica Testimonials Marquee ===== */

.vtm-wrap{
  --vtm-speed:38s;
  --vtm-gap:2.2rem;
  --vtm-row-h:132px;
  --vtm-avatar:52px;
  --vtm-radius:18px;

  /* фирменная цветовая гамма Versorica */
  --vtm-bg:linear-gradient(180deg,#0d0e14 0%,#0f1118 100%);
  --vtm-card:rgba(25,27,36,.78);
  --vtm-border:rgba(255,255,255,.06);
  --vtm-text:#f0f3f9;
  --vtm-sub:#9ea6b5;

  position:relative;
  overflow:hidden;
  padding:64px 28px 52px;
  border-radius:28px;
  color:var(--vtm-text);
  background:var(--vtm-bg);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

/* Заголовок */
.vtm-head{
  max-width:1000px;
  margin:0 auto 38px;
  text-align:center;
}
.vtm-head .wp-block-heading{
  font-weight:800;
  font-size:clamp(32px,5vw,54px);
  letter-spacing:.3px;
  margin:0 0 12px;
}
.vtm-head p{
  color:var(--vtm-sub);
  font-size:clamp(17px,2vw,22px);
  margin:0;
  line-height:1.45;
}

/* ===== Rows ===== */
.vtm-rows{display:flex;flex-direction:column;gap:20px;position:relative}
.vtm-rows::before,
.vtm-rows::after{
  content:"";
  position:absolute;
  top:0;bottom:0;width:80px;
  pointer-events:none;z-index:2;
}
.vtm-rows::before{left:0;background:linear-gradient(to right, #0f1118 10%, transparent);}
.vtm-rows::after{right:0;background:linear-gradient(to left, #0f1118 10%, transparent);}

.vtm-row{display:flex;align-items:center;white-space:nowrap;height:var(--vtm-row-h);overflow:hidden;}
.vtm-track{display:flex;gap:var(--vtm-gap);animation:vtm-marquee var(--vtm-speed) linear infinite;will-change:transform;}
.vtm-row.rev .vtm-track{animation-direction:reverse;}
.vtm-row:hover .vtm-track{animation-play-state:paused;}

@keyframes vtm-marquee {from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ===== Card ===== */
.vtm-card{
  display:inline-flex;
  align-items:flex-start;
  gap:14px;
  min-width:420px;
  max-width:500px;
  padding:20px 22px;
  background:var(--vtm-card);
  border:1px solid var(--vtm-border);
  border-radius:var(--vtm-radius);
  box-shadow:0 8px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(10px);
  transition:transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.vtm-card:hover{
  transform:translateY(-5px);
  background:rgba(34,36,48,.85);
  box-shadow:0 16px 48px rgba(0,0,0,.55);
}

/* ===== Avatar ===== */
.vtm-avatar img{
  width:var(--vtm-avatar);
  height:var(--vtm-avatar);
  border-radius:50%;
  object-fit:cover;
  display:block;
  box-shadow:0 0 0 3px rgba(255,255,255,.08),
             0 0 0 7px rgba(255,255,255,.03);
}

/* ===== Text ===== */
.vtm-content{display:flex;flex-direction:column;gap:6px;min-width:0;}
.vtm-text{
  font-size:16px;
  line-height:1.6;
  margin:0;
  color:#cfd5e0;
}
.vtm-author{
  margin:0;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:var(--vtm-sub);
  letter-spacing:.1px;
}
.vtm-author a{
  color:#a5b0ff;
  text-decoration:none;
  font-weight:500;
}
.vtm-author a:hover{text-decoration:underline;}

/* ===== Responsive ===== */
@media (max-width:980px){
  .vtm-wrap{padding:48px 16px 36px;}
  .vtm-card{min-width:360px;max-width:440px;}
  .vtm-wrap{--vtm-avatar:46px;--vtm-row-h:120px;}
}
@media (max-width:720px){
  .vtm-wrap{padding:36px 12px 28px;}
  .vtm-card{min-width:280px;max-width:340px;padding:14px 16px;}
  .vtm-text{font-size:14.5px;}
  .vtm-head .wp-block-heading{font-size:30px;}
}
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 80px;
  padding-bottom: 40px;
  font-size: 15px;
}

.vs-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-text {
  margin: 15px 0;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-menu a:hover {
  color: #8b5cf6;
}

.footer-socials {
  display: flex;
  gap: 12px;
  font-size: 22px;
}
.footer-socials a {
  color: #cbd5e1;
  transition: color 0.3s ease;
}
.footer-socials a:hover {
  color: #8b5cf6;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  font-size: 14px;
  color: #64748b;
}

@media (max-width: 900px) {
  .vs-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .vs-footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    margin-top: 40px;
  }
}
.site-footer .footer-socials a:hover {
  background: linear-gradient(45deg, #f97316, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* === Galaxy Hero === */
.galaxy-hero{
  position:relative;
  min-height:100vh;
  width:100%;
  overflow:hidden;
  background:#000;
  color:#fff;
}
#galaxy-canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}
.galaxy-hero__content{
  position:relative; z-index:1;
  width:min(1100px,92vw);
  margin:0 auto;
  padding:96px 0;
}
.galaxy-hero__content h1{
  font-size:clamp(34px,5vw,56px);
  line-height:1.05;
  font-weight:800;
  margin:0 0 10px;
}
.galaxy-hero__content p{
  max-width:640px;
  color:rgba(255,255,255,.78);
  font-size:18px;
  margin:0 0 18px;
}

/* === Versorica Custom Fonts (override theme defaults) === */
html, body,
.wp-site-blocks,
.entry-content,
.wp-block,
.wp-block-paragraph,
.wp-block-list,
.wp-block-table,
.wp-block-quote,
.wp-block-buttons .wp-element-button,
h1, h2, h3, .wp-block-heading, .site-title, .entry-title {
  font-family: var(--vs-font-base, 'Outfit', sans-serif) !important;
}

h1, h2, h3, .wp-block-heading, .site-title, .entry-title {
  font-family: var(--vs-font-heading, var(--vs-font-base, 'Outfit', sans-serif)) !important;
}

