/* ── Main page bg match: crisp stars, no blur overlay ── */
main.page-frame {
  background: rgba(10,14,28,.48) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
[data-theme="light"] main.page-frame {
  background: transparent !important;
}

/* ── About light theme overrides ── */
[data-theme="light"] .about-left-content h2 {
  text-shadow: none;
  color: var(--text);
}
[data-theme="light"] .about-left-content p { text-shadow: none; }
[data-theme="light"] .about-fact {
  background: rgba(255,255,255,.75) !important;
  border-color: rgba(0,212,255,.2);
}
[data-theme="light"] .about-side-rack { opacity: .18; }

/* Accent text — purple in light */
[data-theme="light"] .about-col-title { color: var(--accent-text); }
[data-theme="light"] .about-col-title::before { background: var(--accent-text); }
[data-theme="light"] .about-section-hdg { color: var(--accent-text); }
[data-theme="light"] .about-section-hdg::before { background: var(--accent-text); }
[data-theme="light"] .case-card-v .case-tag { color: var(--accent-text); }
[data-theme="light"] .btn-show-more { color: var(--accent-text); border-color: rgba(97,50,242,.2); background: rgba(97,50,242,.04); }

/* Light theme: case cards (about page variant — .case-card-v) */
[data-theme="light"] .case-card-v {
  background: rgba(255,255,255,.85) !important;
  border-color: rgba(0,0,50,.12) !important;
}
[data-theme="light"] .case-card-v:hover {
  border-color: rgba(97,50,242,.3) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
[data-theme="light"] .case-card-v .case-tag { background: rgba(97,50,242,.1); }
/* Light theme: section dividers */
[data-theme="light"] .about-trust-inner,
[data-theme="light"] .about-testi-inner { border-top-color: rgba(0,0,0,.08); }

main.page-frame::before {
  left: 0 !important;
  right: 0 !important;
}

/* ── Page hero in banner strip ── */
.about-hero-banner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 8px 40px !important;
}
.about-hero-lead {
  margin: 0;
  max-width: min(1280px, calc(100vw - 80px));
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-wrap: balance;
  white-space: normal;
}
.about-sla-hint {
  display: inline-block; margin-left: 2px; font-size: 9px; font-weight: 700;
  color: var(--accent); cursor: help; vertical-align: super; line-height: 1;
}

/* ── Full-width overrides — match header width across all sections ── */
#hero-nav {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.about-cols {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 16px 40px 80px !important;
  position: relative; z-index: 1;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  min-height: calc(100vh - 240px);
}

/* ── Column title ── */
.about-col { display: flex; flex-direction: column; }
/* Center column — title centered to match content alignment */
.about-cols > .about-col:nth-child(2) .about-col-title { justify-content: center; }
.about-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.about-col-title::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--accent);
}

/* ── LEFT: Company card — transparent, bg shows through ── */
.about-left-card {
  background: transparent;
  border: none;
  border-radius: 20px;
  padding: 8px 0 24px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.about-left-content h2 {
  text-shadow: 0 1px 16px rgba(0,0,0,.9), 0 0 40px rgba(0,0,0,.7);
}
.about-left-content p {
  text-shadow: 0 1px 10px rgba(0,0,0,.8);
}
.about-fact {
  background: rgba(0,0,0,.35) !important;
  backdrop-filter: blur(8px);
}
.about-left-content { position: relative; z-index: 1; text-align: center; }
.about-left-content h2 {
  font-size: 22px; font-weight: 900; letter-spacing: -.4px;
  margin-bottom: 14px; line-height: 1.25;
}
.about-left-content p {
  font-size: 18px; color: var(--muted); line-height: 1.8; margin-bottom: 0;
}
.about-facts {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px;
}
.about-fact {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.14);
  border-radius: 12px; padding: 11px 14px;
}
.about-fact-num {
  font-size: 20px; font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, #00bcef, #733cfc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; min-width: 44px; flex-shrink: 0;
}
.about-fact-lbl { font-size: 12px; color: var(--muted); line-height: 1.4; min-width: 0; word-wrap: break-word; }

/* ── Side server rack decorations — z-index:0 keeps them behind content ── */
.about-side-rack {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 340px;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}
.about-side-rack-left  { left: 0; }
.about-side-rack-right { right: 0; }
.about-side-rack canvas { display: block; width: 340px; height: 100%; }
.about-side-rack-left canvas {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 45%);
  mask-image: linear-gradient(to right, transparent 0%, black 45%);
}
.about-side-rack-right canvas {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 45%);
  mask-image: linear-gradient(to left, transparent 0%, black 45%);
}
@media (max-width: 1480px) { .about-side-rack { opacity: .65; } }
@media (max-width: 1240px) { .about-side-rack { display: none; } }

/* ── RIGHT: Cases ── */
.about-cases-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; min-width: 0; }
.about-cases-list .case-card-v {
  background: rgba(28,35,51,.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  min-width: 0;
}
.about-cases-list .case-card-v:hover,
.about-cases-list .case-card-v:focus-visible {
  border-color: rgba(0,188,239,.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  outline: none;
}
.about-cases-list .case-card-v:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}
.about-cases-list .case-card-v .case-img { aspect-ratio: 16 / 10; }
.about-cases-list .case-card-v .case-body { padding: 14px 16px 16px; min-width: 0; }
.about-cases-list .case-card-v .case-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(0,212,255,.1); border-radius: 6px;
  padding: 3px 8px; margin-bottom: 9px;
}
.about-cases-list .case-card-v h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 5px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.about-cases-list .case-card-v p {
  font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.about-cases-error,
.about-cases-fallback {
  grid-column: 1 / -1; text-align: center; padding: 20px 12px;
  border: 1px dashed rgba(255,255,255,.12); border-radius: 12px;
}
.about-cases-error p,
.about-cases-fallback-text { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.about-cases-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; }
.about-cases-list .btn-show-more { display: block; text-align: center; text-decoration: none; grid-column: 1 / -1; }
.btn-show-more {
  width: 100%; margin-top: 6px;
  padding: 11px; border-radius: 10px;
  border: 1px solid rgba(0,212,255,.2);
  background: rgba(0,212,255,.05);
  color: var(--accent); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: .2s;
}
.btn-show-more:hover { background: rgba(0,212,255,.12); border-color: var(--accent); }

/* ── Trust & Testimonials sections ── */
.about-trust-wrap, .about-testi-wrap {
  max-width: 100% !important; margin: 0 !important; padding: 0 !important;
  position: relative; z-index: 1; width: 100%; box-sizing: border-box;
  /* no border-top here — empty placeholders must be invisible */
}
/* border only renders when JS has filled the inner content */
.about-trust-inner { padding: 40px 40px 12px; box-sizing: border-box; border-top: 1px solid rgba(255,255,255,.06); }
.about-testi-inner { padding: 40px 40px 64px; box-sizing: border-box; border-top: 1px solid rgba(255,255,255,.06); }
.about-section-hdg {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.about-section-hdg::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--accent);
}
.about-testi-wrap .testi-card.hidden { display: none; }
.about-testi-wrap .btn-show-more { margin-top: 16px; }

/* ── Responsive ── */
/* 961–1240px: three columns get too cramped — stack them earlier */
@media (max-width: 1240px) {
  .about-cols { grid-template-columns: 1fr !important; gap: 28px; }
}
@media (max-width: 960px) {
  .about-cols { padding: 0 24px 60px !important; }
  .about-trust-inner { padding: 32px 24px 8px; }
  .about-testi-inner { padding: 32px 24px 48px; }
  .about-hero-banner { padding: 7px 20px !important; min-height: 44px; }
  .about-hero-lead {
    max-width: calc(100vw - 40px);
    text-wrap: pretty;
  }
}
@media (max-width: 560px) {
  .about-cols { padding: 0 16px 40px !important; }
  .about-left-card { padding: 22px 18px; min-height: 320px; }
  .about-cases-list { grid-template-columns: 1fr; }
}
/* Reserve heights to prevent CLS */
#casesList  { min-height: 420px; }
#casesList2 { min-height: 420px; }
