/* ═══════════════════════════════════════════════════════════════════════════
   FORTINIX — DESIGN SYSTEM
   Premium cybersecurity consulting · fortinix.eu
═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --bg:           #070F1C;
  --bg-raised:    #0C1929;
  --bg-card:      #0F2038;
  --bg-card-hover:#122340;
  --border:       rgba(255,255,255,0.07);
  --border-hi:    rgba(0,180,216,0.28);
  --border-card:  rgba(0,180,216,0.14);

  --electric:     #00B4D8;
  --electric-dim: rgba(0,180,216,0.08);
  --electric-mid: rgba(0,180,216,0.16);
  --electric-glow:rgba(0,180,216,0.20);

  --white:        #EDF3FF;
  --muted:        rgba(237,243,255,0.72);
  --faint:        rgba(237,243,255,0.30);
  --very-faint:   rgba(237,243,255,0.12);

  --ff-display:   'Syne', sans-serif;
  --ff-body:      'DM Sans', sans-serif;
  --ff-mono:      'JetBrains Mono', monospace;

  --max:          1200px;
  --r:            3px;
  --r-card:       6px;

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── GRID TEXTURE ───────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
.display-xl {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.display-md {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--electric);
  flex-shrink: 0;
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}
.mono { font-family: var(--ff-mono); }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--electric);
  color: var(--bg);
  border-color: var(--electric);
}
.btn-primary:hover {
  background: #14C8F0;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,180,216,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hi);
  color: var(--electric);
  background: var(--electric-dim);
}
.btn svg {
  width: 16px; height: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg { transform: translateX(3px); }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(7,15,28,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.nav-logo {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.2s;
}
.nav-logo span { color: var(--electric); }
.nav-logo:hover { color: var(--electric); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 22px;
  background: var(--electric-dim);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  color: var(--electric);
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--electric-mid);
  transform: translateY(-1px);
}

/* ── SECTION SHARED ─────────────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── CARDS ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--electric);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

/* ── CERT PILL ──────────────────────────────────────────────────────────── */
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid var(--border-hi);
  color: var(--electric);
  background: var(--electric-dim);
}
.cert-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
}

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--white);
}
.footer-logo span { color: var(--electric); }
.footer-copy {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted); }

/* ── LEGAL PAGES ───────────────────────────────────────────────────────── */
.legal-page .nav {
  background: rgba(7,15,28,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.legal-hero {
  padding: 148px 0 58px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.09), transparent 67%);
  pointer-events: none;
}
.legal-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--electric);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--electric);
}
.legal-hero-title {
  max-width: 880px;
  color: var(--white);
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.legal-hero-meta {
  margin-top: 20px;
  color: var(--faint);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.legal-placeholder {
  color: #fbbf24;
  font-weight: 500;
}
.legal-body {
  max-width: 900px;
  padding: 74px 0 112px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}
.legal-body h2 {
  margin: 58px 0 18px;
  color: var(--white);
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  margin: 34px 0 12px;
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}
.legal-body p + p { margin-top: 15px; }
.legal-body ul,
.legal-body ol {
  margin: 16px 0 22px 22px;
}
.legal-body li + li { margin-top: 9px; }
.legal-body strong {
  color: var(--white);
  font-weight: 500;
}
.legal-body a {
  color: var(--electric);
  text-decoration: underline;
  text-decoration-color: rgba(0,180,216,0.38);
  text-underline-offset: 3px;
}
.legal-body a:hover { text-decoration-color: var(--electric); }
.legal-data-box {
  margin: 26px 0 30px;
  padding: 24px 26px;
  border: 1px solid var(--border-card);
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(15,32,56,0.72));
}
.legal-data-box p {
  margin: 0;
  overflow-wrap: anywhere;
}
.legal-data-box p + p { margin-top: 8px; }
.legal-data-box .label {
  display: inline-block;
  min-width: 172px;
  color: var(--white);
  font-weight: 500;
}
.legal-draft-alert {
  margin: 0 0 42px;
  padding: 18px 20px;
  border: 1px solid rgba(251,191,36,0.42);
  border-radius: var(--r-card);
  background: rgba(251,191,36,0.07);
  color: #fde68a;
}
.legal-draft-alert strong { color: #fbbf24; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .nav-inner { padding: 0 28px; }
  .footer-inner { padding: 0 28px; }
  .section { padding: 90px 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .section { padding: 70px 0; }
  .legal-hero { padding: 126px 0 48px; }
  .legal-body { padding: 58px 0 84px; font-size: 15.5px; }
  .legal-data-box { padding: 20px; }
  .legal-data-box .label { display: block; min-width: 0; margin-bottom: 2px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SVC-SIDEBAR — Componente unificado para páginas de servicio
   Sustituye a: sidebar-card-v2, sidebar-card-v3 (variantes A y D),
                vciso-sidebar-card, ps-sidebar-card.
═══════════════════════════════════════════════════════════════════════════ */

.svc-sidebar {
  width: 100%;
  max-width: 424px;
  margin-left: auto;
  position: sticky;
  top: 88px;
  background: linear-gradient(180deg, rgba(14,29,48,0.98), rgba(10,22,37,0.98));
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 56px rgba(0,0,0,0.34);
  position: relative;
}
.svc-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0,180,216,0.10), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent 38%);
  pointer-events: none;
  z-index: 0;
}
.svc-sidebar > * { position: relative; z-index: 1; }

/* HEAD */
.svc-sidebar-head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(0,180,216,0.08), rgba(0,180,216,0.02));
}
.svc-sidebar-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.svc-sidebar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,180,216,0.30);
  background: rgba(0,180,216,0.11);
  color: var(--electric);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.svc-sidebar-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 10px rgba(0,180,216,0.55);
  flex-shrink: 0;
}
.svc-sidebar-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.svc-sidebar-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.svc-sidebar-kicker {
  margin: 0 0 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric);
}
.svc-sidebar-title {
  margin: 0 0 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--white);
  text-wrap: balance;
}
.svc-sidebar-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  text-wrap: pretty;
}

/* PROOF chips */
.svc-sidebar-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-sidebar-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* BODY */
.svc-sidebar-body {
  padding: 8px 22px 20px;
}
.svc-sidebar-section {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-sidebar-section:last-child {
  border-bottom: 0;
  padding-bottom: 6px;
}
.svc-sidebar-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.svc-sidebar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,180,216,0.14), rgba(0,180,216,0.06));
  border: 1px solid rgba(0,180,216,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.svc-sidebar-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--electric);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-sidebar-label {
  margin: 0 0 4px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.45;
}
.svc-sidebar-value {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--white);
  text-wrap: pretty;
}
.svc-sidebar-value strong {
  font-weight: 600;
  color: var(--white);
}

/* DELIVERABLES (sección opcional) */
.svc-sidebar-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,180,216,0.18);
  background: rgba(0,180,216,0.04);
}
.svc-sidebar-deliverable-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,180,216,0.20);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
}

/* OUTCOME box */
.svc-sidebar-outcome {
  margin-top: 16px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}
.svc-sidebar-outcome-label {
  margin: 0 0 10px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric);
}
.svc-sidebar-outcome-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.svc-sidebar-outcome-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.svc-sidebar-outcome-list li::before {
  content: "•";
  color: var(--electric);
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

/* CTA */
.svc-sidebar-cta {
  padding: 0 22px 22px;
}
.svc-sidebar-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  color: #06111b;
  background: linear-gradient(180deg, #19c5e4, #06b3d7);
  box-shadow: 0 16px 28px rgba(0,180,216,0.22);
  cursor: pointer;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .22s var(--ease);
}
.svc-sidebar-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0,180,216,0.26);
  filter: brightness(1.04);
}
.svc-sidebar-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}
.svc-sidebar-button:hover svg { transform: translateX(3px); }
.svc-sidebar-foot {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .svc-sidebar {
    position: static;
    max-width: none;
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  .svc-sidebar-head { padding: 20px 20px 16px; }
  .svc-sidebar-head-row { flex-direction: column; align-items: flex-start; }
  .svc-sidebar-title { font-size: 1.5rem; }
  .svc-sidebar-proof { padding: 14px 20px; }
  .svc-sidebar-body { padding: 4px 20px 18px; }
  .svc-sidebar-cta { padding: 0 20px 20px; }
  .svc-sidebar-row { grid-template-columns: 38px 1fr; gap: 12px; }
  .svc-sidebar-icon { width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SVC-RELATED-CARD — Cards de "Servicios relacionados"
   Reemplaza el uso ad-hoc de .para-card con estilos inline en cada página.
═══════════════════════════════════════════════════════════════════════════ */

.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}
.svc-related-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.svc-related-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 32px 30px 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.svc-related-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--electric);
  transition: width .4s var(--ease);
}
.svc-related-card:hover {
  border-color: rgba(0,180,216,0.35);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.32), 0 4px 14px rgba(0,180,216,0.08);
}
.svc-related-card:hover::before {
  width: 100%;
}

.svc-related-label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-related-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,180,216,0.5);
}

.svc-related-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
  text-wrap: balance;
}

.svc-related-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 24px;
  flex: 1;
  text-wrap: pretty;
}

.svc-related-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--electric);
  text-transform: uppercase;
  font-weight: 500;
  transition: border-color .3s var(--ease);
}
.svc-related-card:hover .svc-related-cta {
  border-top-color: rgba(0,180,216,0.25);
}
.svc-related-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,180,216,0.30);
  background: rgba(0,180,216,0.08);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.svc-related-cta-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--electric);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.svc-related-card:hover .svc-related-cta-arrow {
  background: rgba(0,180,216,0.18);
  border-color: rgba(0,180,216,0.55);
}
.svc-related-card:hover .svc-related-cta-arrow svg {
  transform: translateX(2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .svc-related-grid,
  .svc-related-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 640px;
  }
}
@media (max-width: 640px) {
  .svc-related-card { padding: 26px 22px 22px; }
  .svc-related-title { font-size: 1.28rem; }
}
