/* =========================================================
   DEFENSA DIGITAL — Global Stylesheet
   Aesthetic: Enterprise B2B, light-mode-first, warm cream
   background, deep navy ink, coral accent. Big type, ample
   whitespace, dot-grid pattern, no glow effects.
   ========================================================= */

/* ---------- Tokens (DARK default — brand palette from logo) ---------- */
:root,
html.dark {
  --bg-primary: #181336;       /* deep brand navy (darker than logo bg) */
  --bg-surface: #141030;       /* logo background tone */
  --bg-card: #1A2B38;
  --bg-elevated: #213340;
  --bg-ink: #141030;           /* deepest navy for contrast bands */

  --color-ink: #F4F6F7;        /* on-dark text */
  --color-ink-soft: #D9E1E6;
  --color-text: #C5D0D8;
  --color-text-strong: #F4F6F7;
  --color-text-muted: #8595A2;
  --color-text-on-ink: #F4F6F7;
  --color-text-on-ink-muted: #8595A2;

  --color-primary: #F4F6F7;
  --color-accent: #7352ff;     /* brand violet (from logo) */
  --color-accent-bright: #8E72FF;
  --color-accent-soft: rgba(115, 82, 255, 0.14);
  --color-accent-ink: #FFFFFF;

  --color-border: rgba(244, 246, 247, 0.10);
  --color-border-strong: rgba(244, 246, 247, 0.18);
  --color-border-on-ink: rgba(244, 246, 247, 0.10);

  --color-alert: #F87171;
  --color-success: #34D399;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 14px 30px -14px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 70px -28px rgba(0,0,0,.6);

  --glass-bg: rgba(15, 27, 38, 0.78);
  --dot-color: rgba(244, 246, 247, 0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html.light {
  --bg-primary: #F4F2EC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-elevated: #F4F2EC;
  --bg-ink: #0F1B26;

  --color-ink: #0F1B26;
  --color-ink-soft: #1A2B38;
  --color-text: #2A3849;
  --color-text-strong: #0F1B26;
  --color-text-muted: #5E6B7A;
  --color-text-on-ink: #F4F6F7;
  --color-text-on-ink-muted: #8595A2;

  --color-primary: #0F1B26;
  --color-accent: #7352ff;     /* brand violet */
  --color-accent-bright: #8E72FF;
  --color-accent-soft: rgba(115, 82, 255, 0.10);
  --color-accent-ink: #FFFFFF;

  --color-border: rgba(15, 27, 38, 0.10);
  --color-border-strong: rgba(15, 27, 38, 0.18);
  --color-border-on-ink: rgba(244, 246, 247, 0.14);

  --shadow-md: 0 12px 24px -14px rgba(15,27,38,.18);
  --shadow-lg: 0 30px 60px -28px rgba(15,27,38,.25);

  --glass-bg: rgba(244, 242, 236, 0.85);
  --dot-color: rgba(15, 27, 38, 0.10);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* {
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.55;
  font-size: 16px;
  font-feature-settings: "ss01";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--color-accent); color: #fff; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 {
  font-family: "Fraunces", "Syne", "DM Sans", serif;
  color: var(--color-text-strong);
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.04;
  font-weight: 500;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.section-alt { background: var(--bg-surface); }
.section-ink {
  background: var(--bg-ink);
  color: var(--color-text-on-ink);
}
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: var(--color-text-on-ink); }
.section-ink p { color: var(--color-text-on-ink-muted); }
.section-ink .eyebrow { color: var(--color-accent); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--color-text-muted); font-size: 1.02rem; margin-top: 16px; max-width: 640px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .arrow {
  display: inline-flex;
  width: 24px; height: 24px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
}
.btn-primary .arrow { background: rgba(255,255,255,.92); color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-bright); }
html.light .btn-primary { color: #FFFFFF; }
html.light .btn-primary .arrow { background: rgba(255,255,255,.95); color: var(--color-accent); }
html.light .btn-primary:hover { background: #5B3FE0; }

.btn-ghost {
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-strong);
  background: transparent;
}
.btn-ghost .arrow { background: var(--color-text-strong); color: var(--bg-primary); }
.btn-ghost:hover {
  background: var(--color-text-strong);
  color: var(--bg-primary);
  border-color: var(--color-text-strong);
}
.btn-ghost:hover .arrow { background: var(--bg-primary); color: var(--color-text-strong); }

.btn-on-ink {
  background: #FBFAF6;
  color: #0E1B2C;
}
.btn-on-ink .arrow { background: var(--color-accent); color: #fff; }
.btn-on-ink:hover { background: var(--color-accent); color: #fff; }
.btn-on-ink:hover .arrow { background: #fff; color: var(--color-accent); }

.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-sm .arrow { width: 20px; height: 20px; font-size: 11px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.scrolled {
  border-color: var(--color-border);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text-strong);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #0F1B26;
  color: var(--color-accent);
  border: 1px solid rgba(115, 82, 255, 0.35);
}

/* Brand logo (image-based lockup) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
.brand-logo img {
  height: 100%;
  width: auto;
  display: block;
}
html.dark .brand-logo img { filter: brightness(0) invert(1); }
.site-footer .brand-logo img { filter: brightness(0) invert(1); }
.drawer .brand-logo img { height: 28px; }
html.dark .drawer .brand-logo img { filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a, .nav-links .has-dropdown > button {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
}
.nav-links a:hover, .nav-links .has-dropdown > button:hover { color: var(--color-text-strong); }
.nav-links .nav-active {
  color: var(--color-text-strong);
}
.nav-links .nav-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.has-dropdown { position: relative; }
.has-dropdown > button { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > button .chev { transition: transform .25s var(--ease); }
.has-dropdown:hover > button .chev,
.has-dropdown.open > button .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px;
  min-width: 480px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  align-items: start;
}
.dropdown a:hover { background: var(--bg-elevated); }
.dropdown .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
}
.dropdown .t { font-weight: 600; color: var(--color-text-strong); font-size: 14px; display: block; }
.dropdown .d { font-size: 12.5px; color: var(--color-text-muted); margin-top: 3px; line-height: 1.4; display: block; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
}
.theme-toggle:hover { border-color: var(--color-text-strong); color: var(--color-text-strong); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
html.dark .theme-toggle .sun { display: block; }
html.dark .theme-toggle .moon { display: none; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--color-text-strong);
  border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 25px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(14, 27, 44, .6);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: min(360px, 84vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--color-border);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer .drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.drawer-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}
.drawer nav a, .drawer .accordion-header {
  display: block;
  padding: 14px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--color-text);
}
.drawer nav a:hover, .drawer .accordion-header:hover { background: var(--bg-card); }
.drawer .accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  text-align: left;
}
.drawer .accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.drawer .accordion.open .accordion-body { max-height: 500px; }
.drawer .accordion.open .accordion-header .chev { transform: rotate(180deg); }
.drawer .accordion-body a {
  padding-left: 28px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.drawer .btn { margin-top: auto; }

/* ---------- Dot grid background (used in hero) ---------- */
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 30%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 92%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(32px, 4.5vw, 64px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { margin-bottom: 24px; max-width: 14ch; }
.hero h1 .accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero p.lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--bg-card);
  font-size: 13px;
  color: var(--color-text);
  font-weight: 500;
}
.chip svg { color: var(--color-accent); width: 14px; height: 14px; }

/* Hero badge above title */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--bg-card);
  font-size: 12.5px;
  color: var(--color-text);
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: .01em;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  position: relative;
}
.hero-badge .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  opacity: .5;
  animation: pulseRing 2.4s ease-in-out infinite;
}
@keyframes pulseRing {
  0%, 100% { transform: scale(.9); opacity: .6; }
  50% { transform: scale(1.3); opacity: 0; }
}

/* Hero visual — clean stacked composition (no spinning rings) */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  align-self: stretch;
}
.hero-visual .ring,
.hero-visual .core {
  /* hide legacy elements — visual is replaced by ::before/::after composition */
  display: none;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(115,82,255,.28), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(115,82,255,.10), transparent 50%),
    var(--bg-ink);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background-image: radial-gradient(circle, rgba(244,241,234,.10) 1px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 40%, transparent 80%);
}

/* Variante con ilustración transparente — sin caja oscura, glow sutil detrás */
.hero-visual--art::before {
  background: radial-gradient(circle at 50% 42%, rgba(115,82,255,.16), transparent 68%);
}
.hero-visual--art::after { display: none; }

/* internal page hero (compact) */
.hero-inner-page {
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(48px, 5.5vw, 72px);
  position: relative;
  overflow: hidden;
}
.hero-inner-page .hero-bg {
  mask-image: linear-gradient(to bottom, black 0%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 95%);
}
.breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--color-text-strong); font-weight: 500; }

.page-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--bg-ink);
  color: var(--color-accent);
  margin-bottom: 28px;
}
.page-icon svg { width: 30px; height: 30px; }
.hero-inner-page h1 { margin-bottom: 22px; }
.hero-inner-page p.lead { margin-top: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
  margin-bottom: 22px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 12px; color: var(--color-text-strong); }
.card p { color: var(--color-text-muted); font-size: 15.5px; line-height: 1.6; }
.card .card-meta {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase;
}
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--color-text-strong);
  font-size: 14px;
}
.card .card-link .arrow {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-text-strong);
  color: var(--bg-card);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.card:hover .card-link .arrow {
  background: var(--color-accent);
  color: #fff;
  transform: translateX(4px);
}

/* Service cards big */
.service-card-lg {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 320px;
}
.service-card-lg .card-num {
  position: absolute;
  top: 32px; right: 36px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: .14em;
}

/* Differentiator items — bordered rows */
.differ-item {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}
.differ-item:last-child { border-bottom: 1px solid var(--color-border); }
.differ-item-inner {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
}
.differ-item .ico {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
}
.differ-item h3 { margin-bottom: 6px; color: var(--color-text-strong); }
.differ-item p { color: var(--color-text-muted); margin: 0; font-size: 15.5px; max-width: 60ch; }
.differ-item .badge {
  font-family: "Syne", sans-serif;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}
.differ-item:hover { border-color: var(--color-border-strong); }
.differ-item:hover + .differ-item { border-top-color: var(--color-border-strong); }
@media (max-width: 720px) {
  .differ-item-inner { grid-template-columns: 56px 1fr; gap: 20px; }
  .differ-item .badge { display: none; }
  .differ-item .ico { width: 56px; height: 56px; }
}

/* ---------- Problem / two-col blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.symptom-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.symptom-item:last-child { border-bottom: 0; }
.symptom-item .marker {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.symptom-item p { color: var(--color-text); margin: 4px 0 0; font-size: 15.5px; }

.callout {
  background: var(--bg-ink);
  color: var(--color-text-on-ink);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(244,241,234,.06) 1px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  pointer-events: none;
}
.callout .quote-mark {
  font-family: "Syne", sans-serif;
  font-size: 64px;
  color: var(--color-accent);
  line-height: 0.7;
  margin-bottom: 18px;
  display: block;
  position: relative;
  font-weight: 700;
}
.callout p { font-size: 1.08rem; color: var(--color-text-on-ink); position: relative; line-height: 1.55; }
.callout p:last-of-type { margin-bottom: 0; }
.callout .btn-ghost {
  color: var(--color-text-on-ink);
  border-color: var(--color-border-on-ink);
}
.callout .btn-ghost .arrow { background: var(--color-text-on-ink); }
/* removed: legacy ::before arrow */
.callout .btn-ghost:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.callout .btn-ghost:hover .arrow { background: #fff; }
.callout .btn-ghost:hover .arrow::before { color: var(--color-accent); }

/* ---------- Includes list ---------- */
.includes-list { display: grid; gap: 0; }
.includes-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15.5px;
  align-items: center;
}
.includes-list li:last-child { border-bottom: 0; }
.includes-list .check {
  color: var(--color-accent);
  width: 24px; height: 24px;
  background: var(--color-accent-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.includes-list .check svg { width: 12px; height: 12px; }

/* ---------- Stepper ---------- */
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.stepper::before {
  content: "";
  position: absolute;
  top: 28px; left: 6%; right: 6%;
  height: 1px;
  background: var(--color-border-strong);
  z-index: 0;
}
.step {
  position: relative;
  text-align: left;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--color-border-strong);
  display: grid; place-items: center;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--color-text-strong);
  font-size: 20px;
  margin-bottom: 22px;
}
.step:hover .step-num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.step h4 { margin-bottom: 8px; color: var(--color-text-strong); }
.step p { color: var(--color-text-muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .stepper { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stepper::before { display: none; }
}
@media (max-width: 520px) {
  .stepper { grid-template-columns: 1fr; }
}

/* ---------- Profile cards ---------- */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  transition: all .35s var(--ease);
}
.profile-card:hover { transform: translateY(-4px); border-color: var(--color-border-strong); box-shadow: var(--shadow-md); }
.profile-emoji {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
  margin-bottom: 18px;
}

/* ---------- Highlighted box ---------- */
.spotlight {
  background: var(--bg-ink);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
  color: var(--color-text-on-ink);
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(244,241,234,.08) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}
.spotlight > * { position: relative; }
.spotlight .big-stat {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -.04em;
}
.spotlight p { font-size: 1.15rem; max-width: 600px; margin: 0 auto; color: var(--color-text-on-ink); }

/* ---------- Tools grid ---------- */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  transition: all .25s var(--ease);
}
.tool-card:hover { border-color: var(--color-border-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-ink);
  display: grid; place-items: center;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-accent);
}
.tool-card h4 { margin: 0 0 2px; font-size: 15px; color: var(--color-text-strong); }
.tool-card p { margin: 0; font-size: 13px; color: var(--color-text-muted); }

/* ---------- Partners / certifications ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.partner-badge, .cert-badge {
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--bg-card);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s var(--ease);
}
.partner-badge:hover, .cert-badge:hover {
  background: var(--bg-ink);
  color: var(--color-text-on-ink);
  border-color: var(--bg-ink);
}
.partner-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.cert-badge {
  font-size: 13px;
  letter-spacing: .04em;
  padding: 10px 18px;
  font-weight: 500;
}

/* ---------- Metrics ---------- */
.metrics-band {
  background: var(--bg-ink);
  color: var(--color-text-on-ink);
  position: relative;
  overflow: hidden;
}
.metrics-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(244,241,234,.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}
.metrics-band .container { position: relative; }
.metric { text-align: left; padding: 16px 0; position: relative; }
.metric .num {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.035em;
}
.metric .label {
  color: var(--color-text-on-ink-muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 24ch;
}
.metric.placeholder .num {
  color: var(--color-text-on-ink-muted);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-ink);
  border-radius: var(--radius-lg);
  padding: 80px 56px;
  text-align: left;
  color: var(--color-text-on-ink);
  margin: 0;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(244,241,234,.08) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 80% at 90% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 90% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--color-text-on-ink); margin-bottom: 14px; max-width: 18ch; }
.cta-band p { color: var(--color-text-on-ink-muted); font-size: 1.02rem; margin-bottom: 0; max-width: 50ch; }
.cta-band .btn {
  justify-self: start;
  align-self: center;
  width: auto;
  max-width: max-content;
}
.cta-band .btn-primary { background: var(--color-accent); color: #FFFFFF; }
.cta-band .btn-primary .arrow { background: rgba(255,255,255,.92); color: var(--color-accent); }
.cta-band .btn-primary:hover { background: var(--color-accent-bright); }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; padding: 48px 28px; }
}

/* ---------- Inline CTA (per-service close) ---------- */
.close-cta {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.close-cta h2 { margin: 0; }
.close-cta .note { color: var(--color-text-muted); font-size: 14px; margin: 0; }

/* ---------- Form ---------- */
.form {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-strong);
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.form-row .req { color: var(--color-accent); margin-left: 2px; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-strong);
  font: inherit;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.form-row textarea {
  height: auto;
  min-height: 130px;
  padding: 16px 18px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.form-row.error input,
.form-row.error textarea,
.form-row.error select {
  border-color: var(--color-alert);
}
.form-row .err-msg {
  font-size: 12px;
  color: var(--color-alert);
  margin-top: 6px;
  display: none;
}
.form-row.error .err-msg { display: block; }
.form-footnote {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 24px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}
.form-success.show { display: block; }
.form-success .check-circle {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
  animation: popIn .4s var(--ease);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success h3 { margin-bottom: 12px; }
.form-success p { color: var(--color-text-muted); margin-bottom: 24px; }

.form-error-banner {
  background: oklch(0.95 0.04 25);
  color: oklch(0.45 0.16 25);
  border: 1px solid oklch(0.85 0.07 25);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.45;
}
:root.dark .form-error-banner {
  background: oklch(0.28 0.06 25);
  color: oklch(0.85 0.08 25);
  border-color: oklch(0.4 0.08 25);
}

.spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact info column ---------- */
.contact-info {
  display: grid;
  gap: 24px;
}
.contact-info .row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-info .row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
}
.contact-info .row .label { font-size: 11.5px; color: var(--color-text-muted); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.contact-info .row .val { font-size: 15px; color: var(--color-text-strong); font-weight: 500; }
.contact-info .row .val a:hover { color: var(--color-accent); }

.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--bg-card);
  color: var(--color-text);
}
.socials a:hover { color: var(--color-accent); border-color: var(--color-accent); }

.trust-block {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.trust-block .row {
  display: flex; gap: 12px; padding: 8px 0;
  align-items: center;
  color: var(--color-text);
  font-size: 14px;
}
.trust-block .row svg { color: var(--color-accent); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-strong);
}
.faq-item button:hover { color: var(--color-accent); }
.faq-item button .chev { transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item.open button .chev { transform: rotate(180deg); }
.faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-item.open .faq-body { max-height: 400px; }
.faq-item .faq-body-inner {
  padding: 0 28px 24px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Team cards ---------- */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  transition: all .35s var(--ease);
}
.team-card:hover { border-color: var(--color-border-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-ink);
  display: grid; place-items: center;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-accent);
  margin-bottom: 22px;
}
.team-card h4 { margin: 0 0 4px; font-size: 1.15rem; color: var(--color-text-strong); }
.team-card .role { color: var(--color-accent); font-size: 13px; font-weight: 600; margin-bottom: 14px; letter-spacing: .02em; }
.team-card .bio { color: var(--color-text-muted); font-size: 14.5px; margin-bottom: 16px; line-height: 1.55; }
.team-card .certs { font-size: 12px; color: var(--color-text-muted); letter-spacing: .04em; padding-top: 14px; border-top: 1px solid var(--color-border); margin-bottom: 14px; font-weight: 500; }
.team-card .linkedin {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.team-card .linkedin:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ---------- Value cards ---------- */
.value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 32px; left: 0;
  width: 3px; height: 32px;
  background: var(--color-accent);
  border-radius: 0 3px 3px 0;
}
.value-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.value-card h4 { margin-bottom: 10px; font-size: 1.1rem; color: var(--color-text-strong); }
.value-card p { color: var(--color-text-muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-ink);
  color: var(--color-text-on-ink-muted);
  padding: 96px 0 40px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(244,241,234,.05) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 80%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border-on-ink);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.site-footer .brand { color: var(--color-text-on-ink); }
.site-footer .brand-mark { background: rgba(115, 82, 255, 0.16); color: var(--color-accent); border-color: rgba(115, 82, 255, 0.45); }

.footer-col h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--color-text-on-ink);
  margin-bottom: 22px;
}
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a {
  font-size: 14.5px;
  color: var(--color-text-on-ink-muted);
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-col .brand { margin-bottom: 18px; }
.footer-col .tagline { color: var(--color-text-on-ink-muted); font-size: 14.5px; margin-bottom: 24px; max-width: 340px; line-height: 1.55; }

.site-footer .socials a {
  background: transparent;
  border-color: var(--color-border-on-ink);
  color: var(--color-text-on-ink-muted);
}
.site-footer .socials a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-on-ink-muted);
}

/* ---------- Animations on scroll ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.animate-on-scroll.in {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: .08s; }
.animate-on-scroll.delay-2 { transition-delay: .16s; }
.animate-on-scroll.delay-3 { transition-delay: .24s; }
.animate-on-scroll.delay-4 { transition-delay: .32s; }

/* ---------- Examples cards ---------- */
.example-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.example-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.example-card p {
  font-size: 15px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
}
.example-card p strong { color: var(--color-text-strong); font-weight: 600; }

/* ---------- Related services (cross-link) ---------- */
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: all .25s var(--ease);
}
.related-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.related-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.related-card h4 { margin: 0 0 3px; font-size: 15px; color: var(--color-text-strong); }
.related-card p { margin: 0; font-size: 13px; color: var(--color-text-muted); }
.related-card .arrow {
  color: var(--color-text-muted);
  transition: transform .25s var(--ease), color .25s;
  font-size: 16px;
}
.related-card:hover .arrow { transform: translateX(4px); color: var(--color-accent); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.muted { color: var(--color-text-muted); }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* placeholder note */
.placeholder-note {
  display: inline-block;
  font-family: monospace;
  font-size: 12px;
  color: var(--color-alert);
  background: rgba(194, 65, 12, .08);
  border: 1px dashed var(--color-alert);
  padding: 2px 8px;
  border-radius: 4px;
}

/* svg illustration placeholder */
.illust-placeholder {
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-card),
      var(--bg-card) 20px,
      var(--bg-elevated) 20px,
      var(--bg-elevated) 40px
    );
  display: grid; place-items: center;
  color: var(--color-text-muted);
  font-family: monospace;
  font-size: 13px;
  text-align: center;
  letter-spacing: .04em;
}

/* ---------- Service category card (with sub-services list) ---------- */
.service-cat {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
}
.service-cat:hover { transform: translateY(-4px); border-color: var(--color-border-strong); box-shadow: var(--shadow-lg); }
.service-cat .head { display: flex; align-items: flex-start; gap: 16px; }
.service-cat .head .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.service-cat .head .ico svg { width: 22px; height: 22px; }
.service-cat .head .num {
  margin-left: auto;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  color: var(--color-text-muted);
  letter-spacing: .14em;
  font-weight: 500;
}
.service-cat h3 { margin: 0 0 6px; }
.service-cat .lead-p { color: var(--color-text-muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
.service-cat .subs-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 2px;
}
.service-cat .subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-cat .sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--color-border);
  font-size: 12.5px;
  color: var(--color-text);
  font-weight: 500;
}
.service-cat .sub::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}
.service-cat .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.service-cat .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text-strong);
  font-size: 13.5px;
}
.service-cat .card-link .arrow {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-text-strong);
  color: var(--bg-card);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.service-cat:hover .card-link .arrow {
  background: var(--color-accent);
  color: #fff;
  transform: translateX(4px);
}

/* ---------- Partner logo cards ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
.partner-logo {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 140px;
  text-align: center;
  transition: all .25s var(--ease);
  position: relative;
}
.partner-logo:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.partner-logo .logo-mark {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
}
.partner-logo .logo-mark svg { width: 26px; height: 26px; }
.partner-logo .name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-strong);
  letter-spacing: -.01em;
}
.partner-logo .role {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Metrics 2-col centered */
.metrics-band .grid-2-center {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.metrics-band .grid-2-center .metric { text-align: center; }
.metrics-band .grid-2-center .metric .label { margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .metrics-band .grid-2-center { grid-template-columns: 1fr; } }

/* ---------- Solution rows (service-page solutions) ---------- */
.solutions-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}
.solution-row {
  display: grid;
  grid-template-columns: 80px 1.15fr 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.solution-row .num-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.solution-row .num-col .num {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-strong);
  line-height: 1;
  letter-spacing: -.02em;
}
.solution-row .num-col .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
  color: var(--color-accent);
}
.solution-row .num-col .ico svg { width: 22px; height: 22px; }
.solution-row .body h3 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.1;
}
.solution-row .body .vendor {
  font-size: 11.5px;
  color: var(--color-accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}
.solution-row .body p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 52ch;
}
.solution-row .body .ideal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.solution-row .body .ideal-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  margin-top: 18px;
}
.solution-row .body .tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--color-border);
  font-size: 12.5px;
  color: var(--color-text);
  font-weight: 500;
}
.solution-row .feats { display: flex; flex-direction: column; }
.solution-row .feats .feat-title {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.solution-row .feats ul { display: grid; gap: 0; }
.solution-row .feats li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14.5px;
  color: var(--color-text);
  align-items: start;
  line-height: 1.45;
}
.solution-row .feats li:last-child { border-bottom: 0; }
.solution-row .feats .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid; place-items: center;
  margin-top: 2px;
}
.solution-row .feats .check svg { width: 10px; height: 10px; }

@media (max-width: 900px) {
  .solution-row {
    grid-template-columns: 56px 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .solution-row .feats { grid-column: 2; }
  .solution-row .num-col .ico { width: 40px; height: 40px; }
  .solution-row .num-col .ico svg { width: 18px; height: 18px; }
  .solution-row .num-col .num { font-size: 22px; }
}
@media (max-width: 560px) {
  .solution-row { grid-template-columns: 1fr; gap: 20px; }
  .solution-row .feats { grid-column: 1; }
  .solution-row .num-col { flex-direction: row; align-items: center; }
}

/* Solution category intro stripe */
.cat-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px 0 12px;
  align-items: end;
}
.cat-intro p { color: var(--color-text-muted); max-width: 60ch; margin: 0; font-size: 15.5px; }
@media (max-width: 800px) { .cat-intro { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content .legal-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: .02em;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.legal-content h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 48px 0 14px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}
.legal-content p { color: var(--color-text); line-height: 1.7; margin: 0 0 1.1em; }
.legal-content ul { margin: 0 0 1.2em; padding-left: 22px; }
.legal-content li { color: var(--color-text); line-height: 1.7; margin-bottom: 8px; }
.legal-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--color-text-strong); font-weight: 600; }
.legal-content .legal-note {
  background: var(--bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--color-text-muted);
}

/* ---------- Libro de Reclamaciones (footer) ---------- */
.footer-reclamos {
  display: inline-block;
  margin-top: 22px;
  border: 1px solid var(--color-border-on-ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  transition: background .2s ease, border-color .2s ease;
}
.footer-reclamos:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
.footer-reclamos img { width: 124px; height: auto; display: block; }
