:root {
  --bg: #07111f;
  --bg-elevated: #0d1a2e;
  --panel: rgba(10, 21, 38, 0.9);
  --panel-strong: #11233d;
  --text: #eff6ff;
  --muted: #94a7c6;
  --line: rgba(148, 167, 198, 0.18);
  --line-strong: rgba(72, 211, 190, 0.28);
  --primary: #48d3be;
  --accent: #f7b84b;
  --danger: #ff6b6b;
  --intel: #7ea6ff;
  --cloud: #78e08f;
  --shadow: 0 18px 60px rgba(2, 6, 23, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --container: 1180px;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(72, 211, 190, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(126, 166, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #06101b 42%, #091524 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 90%);
  opacity: 0.45;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.brand span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn {
  background: linear-gradient(135deg, var(--primary) 0%, #79f0dd 100%);
  color: #04121e;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(72, 211, 190, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(72, 211, 190, 0.08);
}

.btn:hover,
.btn:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
}

.hero,
.product-hero,
.section {
  padding: 4.5rem 0;
}

.hero-layout,
.product-hero-layout,
.landing-grid,
.catalog-grid,
.benefit-grid,
.detail-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-layout,
.product-hero-layout,
.landing-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(72, 211, 190, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  margin-top: 1.2rem;
}

h1 em,
.accent {
  color: var(--primary);
  font-style: normal;
}

.lead,
.section-text,
.summary-card p,
.feature-card p,
.info-card p,
.timeline-card p,
.contact-card p,
.product-card p {
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 1.35rem 0 0;
}

.hero-actions,
.hero-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-metrics {
  margin-top: 2.4rem;
}

.metric-card,
.product-card,
.feature-card,
.summary-card,
.info-card,
.timeline-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric-card {
  min-width: 150px;
  padding: 1rem 1.15rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.summary-card,
.contact-card,
.feature-card,
.info-card,
.timeline-card {
  padding: 1.6rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  text-decoration: none;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.product-card:hover::after,
.product-card:focus-visible::after {
  transform: scaleX(1);
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(12, 27, 47, 0.96);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.tag-security {
  color: var(--danger);
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.2);
}

.tag-compliance {
  color: var(--accent);
  background: rgba(247, 184, 75, 0.1);
  border-color: rgba(247, 184, 75, 0.22);
}

.tag-devops {
  color: var(--primary);
  background: rgba(72, 211, 190, 0.1);
  border-color: rgba(72, 211, 190, 0.22);
}

.tag-intel {
  color: var(--intel);
  background: rgba(126, 166, 255, 0.1);
  border-color: rgba(126, 166, 255, 0.24);
}

.tag-cloud {
  color: var(--cloud);
  background: rgba(120, 224, 143, 0.1);
  border-color: rgba(120, 224, 143, 0.24);
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.product-card ul,
.summary-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.product-card li,
.summary-card li {
  margin-bottom: 0.55rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  margin-top: auto;
  font-weight: 600;
  padding-top: 1.5rem;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.2rem;
  color: var(--muted);
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.spotlight {
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(72, 211, 190, 0.12), rgba(126, 166, 255, 0.06)),
    rgba(9, 20, 36, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-layout,
  .product-hero-layout,
  .landing-grid,
  .catalog-grid,
  .benefit-grid,
  .detail-grid,
  .contact-grid,
  .quick-value-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .robot-stage {
    min-height: 500px;
  }

  .robot-shell {
    width: 260px;
  }

  .robot-head {
    width: 190px;
    height: 190px;
  }

  .robot-face {
    width: 132px;
    height: 132px;
  }

  .robot-eye {
    top: 46px;
    width: 30px;
    height: 30px;
  }

  .eye-left { left: 26px; }
  .eye-right { right: 26px; }

  .robot-body {
    width: 228px;
    height: 190px;
  }

  .robot-panel {
    max-width: 180px;
    padding: 0.85rem 0.9rem;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .hero,
  .product-hero,
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-actions,
  .hero-metrics {
    flex-direction: column;
  }

  .robot-stage {
    min-height: 420px;
  }

  .robot-shell {
    width: 220px;
  }

  .robot-head {
    width: 164px;
    height: 164px;
  }

  .robot-face {
    width: 112px;
    height: 112px;
  }

  .robot-eye {
    top: 38px;
    width: 24px;
    height: 24px;
  }

  .eye-left { left: 24px; }
  .eye-right { right: 24px; }

  .robot-body {
    width: 192px;
    height: 150px;
  }

  .robot-chest {
    inset: 28px 36px auto;
    height: 62px;
  }

  .robot-panel {
    display: none;
  }

  .btn,
  .btn-secondary {
    width: 100%;
  }
}

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #04121e;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] {
  scroll-margin-top: 76px;
}

/* ---- Mobile Navigation ---- */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.2s;
}
.mobile-menu-btn:hover { background: rgba(72, 211, 190, 0.1); }
.mobile-menu-btn svg { width: 20px; height: 20px; }

/* ---- Terminal Hero Visual ---- */
.hero-terminal {
  background: rgba(9, 18, 32, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 60px rgba(72, 211, 190, 0.08), var(--shadow);
}

.hero-consulting {
  position: relative;
  padding-top: 5.2rem;
  overflow: hidden;
}

.hero-consulting::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0) 38%, rgba(7, 17, 31, 0.08) 60%, rgba(7, 17, 31, 0.2) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-robot {
  position: relative;
  isolation: isolate;
  z-index: 0;
}

.hero-consulting .container > .reveal:first-child {
  position: relative;
  z-index: 2;
}

.robot-stage {
  position: relative;
  min-height: 760px;
  margin: -96px -160px -160px -70px;
  background:
    radial-gradient(circle at 58% 18%, rgba(72, 211, 190, 0.28), transparent 18%),
    radial-gradient(circle at 44% 72%, rgba(126, 166, 255, 0.18), transparent 24%),
    radial-gradient(circle at 52% 52%, rgba(10, 20, 34, 0.04), transparent 72%);
  overflow: visible;
  perspective: 1400px;
  perspective-origin: 50% 38%;
}

.robot-stage::before {
  content: "";
  position: absolute;
  inset: 4% 6% 8% 4%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(72, 211, 190, 0.18), rgba(72, 211, 190, 0.05) 42%, transparent 70%);
  filter: blur(24px);
  opacity: 1;
}

.robot-shell {
  position: sticky;
  top: 92px;
  margin-left: auto;
  margin-right: -18px;
  width: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 0.16s ease-out, opacity 0.24s ease-out, filter 0.2s ease-out;
  z-index: 1;
  opacity: 0.78;
  filter: drop-shadow(0 0 52px rgba(72, 211, 190, 0.16));
}

.robot-head {
  position: relative;
  width: 304px;
  height: 304px;
  border-radius: 40% 40% 46% 46%;
  background: linear-gradient(180deg, rgba(190, 214, 255, 0.26), rgba(72, 211, 190, 0.08));
  border: 1px solid rgba(148, 167, 198, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset -18px -24px 40px rgba(5, 12, 21, 0.3),
    0 28px 70px rgba(2, 6, 23, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform-origin: 50% 60%;
  transition: transform 0.12s ease-out, box-shadow 0.16s ease-out;
}

.robot-halo {
  position: absolute;
  inset: -30px;
  border-radius: 42%;
  border: 1px solid rgba(72, 211, 190, 0.18);
  box-shadow: 0 0 46px rgba(72, 211, 190, 0.16);
  transform: translateZ(-18px);
}

.robot-head::before {
  content: "";
  position: absolute;
  inset: 16px 18px auto 18px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  filter: blur(4px);
  opacity: 0.7;
  transform: translateZ(10px);
}

.robot-face {
  position: relative;
  width: 206px;
  height: 206px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(6, 17, 30, 0.95), rgba(10, 22, 37, 0.92));
  border: 1px solid rgba(72, 211, 190, 0.2);
  box-shadow: inset 0 0 32px rgba(72, 211, 190, 0.08);
  transform: translateZ(18px);
}

.robot-eye {
  position: absolute;
  top: 66px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f2fffd 0%, #8cf6e6 34%, #48d3be 60%, rgba(72, 211, 190, 0.18) 100%);
  box-shadow: 0 0 34px rgba(72, 211, 190, 0.55);
  transform: translateZ(28px);
}

.eye-left { left: 40px; }
.eye-right { right: 40px; }

.robot-core {
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 72px;
  height: 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(72, 211, 190, 0.92), transparent);
  box-shadow: 0 0 24px rgba(72, 211, 190, 0.5);
}

.robot-neck {
  width: 72px;
  height: 30px;
  margin-top: 12px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, rgba(18, 37, 63, 0.96), rgba(7, 17, 31, 0.98));
  border: 1px solid rgba(148, 167, 198, 0.18);
}

.robot-body {
  position: relative;
  width: 356px;
  height: 292px;
  margin-top: 12px;
  border-radius: 36px 36px 48px 48px;
  background: linear-gradient(180deg, rgba(18, 37, 63, 0.94), rgba(8, 18, 31, 0.98));
  border: 1px solid rgba(148, 167, 198, 0.18);
  box-shadow: inset 0 0 30px rgba(126, 166, 255, 0.05);
}

.robot-chest {
  position: absolute;
  inset: 44px 62px auto;
  height: 94px;
  border-radius: 24px;
  border: 1px solid rgba(72, 211, 190, 0.18);
  background: linear-gradient(180deg, rgba(72, 211, 190, 0.08), rgba(126, 166, 255, 0.05));
}

.robot-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 24px rgba(72, 211, 190, 0.45);
}

.pulse-1 { left: 84px; bottom: 56px; }
.pulse-2 { right: 84px; bottom: 56px; }



.quick-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-value-card {
  padding: 1.25rem 1.15rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.quick-value-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.section-tight {
  padding-top: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.services-grid .product-card {
  min-height: 100%;
}

.trust-grid,
.sectors-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.regional-spotlight {
  align-items: center;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(72, 211, 190, 0.05);
  border-bottom: 1px solid var(--line);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.terminal-dot.dot-red    { background: #ff6b6b; }
.terminal-dot.dot-yellow { background: #f7b84b; }
.terminal-dot.dot-green  { background: var(--primary); }

.terminal-title {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 0.4rem;
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.terminal-line {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.t-ok     { color: var(--primary); font-weight: 700; font-size: 0.76rem; }
.t-warn   { color: var(--accent);  font-weight: 700; font-size: 0.76rem; }
.t-danger { color: var(--danger);  font-weight: 700; font-size: 0.76rem; }
.t-label  { color: var(--text);    font-size: 0.84rem; }
.t-dim    { color: rgba(148, 167, 198, 0.55); font-size: 0.78rem; }

.terminal-hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0.1rem 0;
}

.terminal-blink {
  color: var(--primary);
  font-weight: 700;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .terminal-blink { animation: blink 1.2s step-end infinite; }
}

/* ---- Product Icons ---- */
.product-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.product-icon svg { width: 22px; height: 22px; }

.product-icon.icon-security   { background: rgba(255, 107, 107, 0.12); color: var(--danger); }
.product-icon.icon-compliance { background: rgba(247, 184, 75, 0.12);  color: var(--accent); }
.product-icon.icon-devops     { background: rgba(72, 211, 190, 0.12);  color: var(--primary); }
.product-icon.icon-intel      { background: rgba(126, 166, 255, 0.12); color: var(--intel); }
.product-icon.icon-cloud      { background: rgba(120, 224, 143, 0.12); color: var(--cloud); }
.product-icon.icon-contact    { background: rgba(72, 211, 190, 0.08);  color: var(--primary); }

/* ---- Product link arrow ---- */
.product-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}
.product-card:hover .product-link::after,
.product-card:focus-visible .product-link::after {
  transform: translateX(5px);
}

/* ---- Feature card icons ---- */
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
  background: rgba(72, 211, 190, 0.1);
  color: var(--primary);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-icon.accent-warn   { background: rgba(247, 184, 75, 0.1);  color: var(--accent); }
.feature-icon.accent-intel  { background: rgba(126, 166, 255, 0.1); color: var(--intel); }
.feature-icon.accent-cloud  { background: rgba(120, 224, 143, 0.1); color: var(--cloud); }
.feature-icon.accent-danger { background: rgba(255, 107, 107, 0.1); color: var(--danger); }

/* ---- Stat Grid ---- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ---- Steps Grid ---- */
.steps-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(72, 211, 190, 0.25) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---- Related Products ---- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.related-card:hover,
.related-card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(12, 27, 47, 0.96);
}
.related-card-text { flex: 1; min-width: 0; }
.related-card-text h4 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 0.25rem; }
.related-card-text p { color: var(--muted); font-size: 0.85rem; margin: 0; }
.related-card-arrow { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; transition: transform 0.2s ease; }
.related-card:hover .related-card-arrow { transform: translateX(4px); }

/* ---- Footer product links ---- */
.footer-products {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-products a {
  color: var(--muted);
  font-size: 0.83rem;
  text-decoration: none;
}
.footer-products a:hover { color: var(--text); }

/* ---- Info card layout ---- */
.info-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-card .eyebrow { align-self: flex-start; }
.info-card .section-title { margin-top: 0.5rem; }
.info-card p { color: var(--muted); margin-top: 0.25rem; }

/* ---- Responsive additions ---- */
@media (max-width: 980px) {
  .mobile-menu-btn { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(7, 17, 31, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    z-index: 40;
  }
  .nav.open { display: flex; }

  .nav a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .nav a:last-child { border-bottom: none; }

  .header-cta { display: none; }

  .steps-grid,
  .stat-grid,
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-value { font-size: 1.6rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Pain section ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pain-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0.5rem 0 0.4rem;
}

.pain-icon {
  font-size: 1.6rem;
  line-height: 1;
}

/* ---- Vertical cards ---- */
.vertical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.vertical-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vertical-card-a {
  background: linear-gradient(135deg, rgba(255,107,107,0.08), rgba(72,211,190,0.04));
  border: 1px solid rgba(255,107,107,0.2);
}

.vertical-card-b {
  background: linear-gradient(135deg, rgba(126,166,255,0.08), rgba(72,211,190,0.04));
  border: 1px solid rgba(126,166,255,0.2);
}

.vertical-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.vertical-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.vertical-card li {
  margin-bottom: 0.5rem;
}

/* ---- Service entry cards (home) ---- */
.service-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-entry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.service-entry-card:hover,
.service-entry-card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(12, 27, 47, 0.96);
}

.service-entry-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.service-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.service-value-q {
  font-size: 0.88rem;
  color: var(--accent);
  font-style: italic;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---- About section ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.val-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 211, 190, 0.25);
  background: rgba(72, 211, 190, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
}

/* ---- CTA final section ---- */
.cta-final-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(120deg, rgba(72,211,190,0.08), rgba(126,166,255,0.04));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
}

/* ---- em inside headings ---- */
h2 em {
  color: var(--primary);
  font-style: normal;
}

/* ---- Steps grid 4 columns ---- */
.steps-grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- Filter bar (servicios.html) ---- */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.filter-pill:hover,
.filter-pill.active {
  border-color: rgba(72, 211, 190, 0.35);
  background: rgba(72, 211, 190, 0.1);
  color: var(--primary);
}

/* ---- Full service grid (servicios.html) ---- */
.svc-full-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.svc-full-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s;
}

.svc-full-card:hover {
  border-color: var(--line-strong);
}

.svc-full-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.svc-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* ---- Landing page hero price box ---- */
.landing-hero-price {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(72, 211, 190, 0.08);
  border: 1px solid rgba(72, 211, 190, 0.25);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.landing-price-from {
  font-size: 0.78rem;
  color: var(--muted);
}

.landing-price-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.landing-price-conditions {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.landing-price-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}

/* ---- Landing problem section ---- */
.problem-section {
  background: rgba(255, 107, 107, 0.04);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.problem-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 107, 107, 0.12);
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.problem-item::before {
  content: "✗ ";
  color: var(--danger);
  font-weight: 700;
}

/* ---- Landing transform (before/after) ---- */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.transform-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.transform-before {
  font-size: 0.85rem;
  color: var(--danger);
}

.transform-arrow {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.transform-after {
  font-size: 0.85rem;
  color: var(--primary);
}

/* ---- Landing value section ---- */
.value-section {
  background: rgba(247, 184, 75, 0.04);
  border: 1px solid rgba(247, 184, 75, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(247, 184, 75, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.value-question {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.value-answer {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Responsive new classes ---- */
@media (max-width: 980px) {
  .pain-grid,
  .service-entry-grid,
  .problem-grid,
  .value-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vertical-grid,
  .about-grid,
  .svc-full-grid,
  .transform-grid,
  .steps-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pain-grid,
  .problem-grid,
  .value-cards,
  .service-entry-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-price {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .landing-price-divider {
    display: none;
  }

  .cta-final-section {
    padding: 2.5rem 1rem;
  }
}
