/* =========================================================
   TECK — Sistema de Diseño Corporativo
   Consultoría Tecnológica
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  /* Color — Neutral */
  --ink: #0B0B09;
  --ink-90: #1C1C18;
  --ink-70: #3D3D37;
  --ink-50: #646460;
  --ink-30: #9A9A94;
  --ink-15: #C8C8C2;
  --ink-08: #E3E2DC;
  --ink-04: #F0EFE9;
  --ink-02: #F7F6F3;

  /* Color — Paper */
  --paper: #F7F6F3;
  --paper-pure: #FFFFFF;

  /* Color — Dark (Navy) */
  --night: #09101E;
  --night-1: #0F1929;
  --night-2: #172236;
  --night-3: #1F2E47;
  --night-text: #F0EFE9;
  --night-text-muted: #8B96A8;
  --night-border: rgba(255,255,255,0.08);

  /* Color — Accent */
  --accent: #1B38C8;
  --accent-hover: #142DB0;
  --accent-active: #0F228D;
  --accent-light: #EDF1FF;
  --accent-light-hover: #DDE5FF;
  --accent-glow: rgba(27, 56, 200, 0.15);

  /* Color — Semantic */
  --success: #0F7B55;
  --success-light: #EDFAF4;
  --warning: #B45309;
  --warning-light: #FFF8ED;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Type Scale — fluid */
  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.8125rem;  /* 13px */
  --text-base: 0.9375rem;  /* 15px */
  --text-md:   1.0625rem;  /* 17px */
  --text-lg:   1.1875rem;  /* 19px */
  --text-xl:   1.375rem;   /* 22px */
  --text-2xl:  1.625rem;   /* 26px */
  --text-3xl:  2rem;       /* 32px */
  --text-4xl:  clamp(2rem, 4vw, 2.75rem);
  --text-5xl:  clamp(2.5rem, 5vw, 3.75rem);
  --text-6xl:  clamp(3rem, 7vw, 5rem);
  --text-hero: clamp(3.25rem, 8vw, 5.75rem);

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 1.85;

  /* Letter Spacing */
  --tracking-tight: -0.03em;
  --tracking-snug: -0.02em;
  --tracking-normal: -0.01em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.12em;

  /* Spacing */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.25rem;
  --s-6:  1.5rem;
  --s-8:  2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-14: 3.5rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-28: 7rem;
  --s-32: 8rem;
  --s-40: 10rem;
  --s-48: 12rem;

  /* Border Radius */
  --r-xs:   3px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-accent: 0 4px 20px rgba(27, 56, 200, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  150ms;
  --t-base:  250ms;
  --t-slow:  400ms;
  --t-enter: 600ms;

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 820px;
  --max-w-mid: 1040px;
  --px: clamp(1.25rem, 4vw, 4.5rem);
  --nav-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--ink);
  background: var(--paper-pure);
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-15); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-30); }

/* --- Selection --- */
::selection { background: var(--accent-light); color: var(--accent); }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.container--mid {
  max-width: var(--max-w-mid);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-8);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */

.label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--ink-50);
}

.label--accent {
  color: var(--accent);
}

.label--light {
  color: var(--night-text-muted);
}

.display-xl {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
}

.display-md {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
}

.heading-xl {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
}

.heading-md {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.heading-sm {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.body-lg {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.body-base {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.body-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.text-muted { color: var(--ink-50); }
.text-light  { color: var(--ink-30); }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-md);
  padding: 0.6875rem 1.375rem;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.btn:hover::before { opacity: 1; }

/* Primary — Dark fill */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary::before { background: rgba(255,255,255,0.06); }
.btn-primary:hover   { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active  { transform: translateY(0); box-shadow: none; }

/* Secondary — Ghost */
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-08);
  background: var(--paper-pure);
}

.btn-secondary:hover {
  border-color: var(--ink-15);
  background: var(--ink-02);
  transform: translateY(-1px);
}

/* Accent — Blue */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent::before { background: rgba(255,255,255,0.08); }
.btn-accent:hover   { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-accent); }

/* Ghost light — for dark backgrounds */
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--night-text);
  border-color: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

/* Link button */
.btn-link {
  padding: 0;
  color: var(--accent);
  border: none;
  font-weight: 600;
  font-size: var(--text-sm);
  gap: var(--s-1);
}

.btn-link:hover { color: var(--accent-hover); }
.btn-link .icon { transition: transform var(--t-fast) var(--ease); }
.btn-link:hover .icon { transform: translateX(3px); }

/* Size variants */
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-xs); }
.btn-lg { padding: 0.875rem 1.875rem; font-size: var(--text-base); border-radius: var(--r-lg); }

/* =========================================================
   BADGES
   ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
}

.badge-default  { background: var(--ink-04); color: var(--ink-70); }
.badge-accent   { background: var(--accent-light); color: var(--accent); }
.badge-night    { background: var(--night-3); color: var(--night-text); }
.badge-success  { background: var(--success-light); color: var(--success); }
.badge-warning  { background: var(--warning-light); color: var(--warning); }

/* =========================================================
   CARDS
   ========================================================= */

.card {
  background: var(--paper-pure);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  transition: all var(--t-base) var(--ease);
}

.card-hover:hover {
  border-color: var(--ink-15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card--dark {
  background: var(--night-2);
  border-color: var(--night-border);
  color: var(--night-text);
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */

.section-header {
  margin-bottom: var(--s-16);
}

.section-header--centered {
  text-align: center;
}

.section-header .label {
  display: block;
  margin-bottom: var(--s-4);
}

.section-header .section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
  margin-bottom: var(--s-5);
}

.section-header .section-desc {
  font-size: var(--text-md);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
  max-width: 56ch;
}

.section-header--centered .section-desc {
  margin-inline: auto;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.nav--transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav--solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--ink-08);
  box-shadow: var(--shadow-sm);
}

.nav--dark {
  background: rgba(9, 16, 30, 0.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--night-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--ink);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav--dark .nav__logo-mark {
  background: var(--accent);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}

.nav--dark .nav__logo-text,
.nav--dark .nav__links a {
  color: var(--night-text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav__links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-70);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  text-decoration: none;
}

.nav__links a:hover { color: var(--ink); background: var(--ink-02); }
.nav--dark .nav__links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav__links a.active { color: var(--accent); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s-2);
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: var(--r-full);
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}

.nav--dark .nav__hamburger span { background: var(--night-text); }

.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--paper-pure);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + var(--s-8)) var(--px) var(--s-8);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
}

.nav__mobile.open { transform: translateX(0); }

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  margin-bottom: var(--s-8);
}

.nav__mobile-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--ink-04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.nav__mobile-links a:hover { color: var(--accent); }

/* =========================================================
   HERO — DARK
   ========================================================= */

.hero-dark {
  min-height: 100svh;
  background: var(--night);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
}

/* Subtle grid texture */
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  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: 60px 60px;
  pointer-events: none;
}

/* Glow effect */
.hero-dark::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(27, 56, 200, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-dark__content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--s-24);
  padding-top: var(--s-20);
}

.hero-dark__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--night-text-muted);
  margin-bottom: var(--s-8);
}

.hero-dark__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-dark__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--night-text);
  max-width: 18ch;
  margin-bottom: var(--s-8);
}

.hero-dark__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
}

.hero-dark__subtitle {
  font-size: var(--text-md);
  color: var(--night-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
  margin-bottom: var(--s-12);
}

.hero-dark__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
}

.hero-dark__scroll {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: var(--night-text-muted);
  font-size: var(--text-xs);
  font-family: var(--font-display);
  letter-spacing: var(--tracking-wide);
  z-index: 2;
}

.hero-dark__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--night-text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: var(--s-12);
  padding-top: var(--s-12);
  border-top: 1px solid var(--night-border);
  margin-top: var(--s-12);
}

.hero-stat__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--night-text);
  letter-spacing: var(--tracking-snug);
}

.hero-stat__label {
  font-size: var(--text-sm);
  color: var(--night-text-muted);
  margin-top: var(--s-1);
}

/* =========================================================
   PROBLEM SELECTOR
   ========================================================= */

.problem-selector {
  padding: var(--s-24) 0;
  background: var(--paper);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.problem-card {
  background: var(--paper-pure);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-6) var(--s-5);
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.problem-card:hover {
  border-color: var(--accent-light-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-card:hover::before { transform: scaleX(1); }

.problem-card__icon {
  width: 44px;
  height: 44px;
  background: var(--ink-02);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base) var(--ease);
  flex-shrink: 0;
}

.problem-card:hover .problem-card__icon {
  background: var(--accent-light);
}

.problem-card:hover .problem-card__icon svg {
  color: var(--accent);
}

.problem-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--ink-50);
  transition: color var(--t-base) var(--ease);
}

.problem-card__content {
  flex: 1;
}

.problem-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
  line-height: var(--leading-snug);
}

.problem-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
}

.problem-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-3);
  border-top: 1px solid var(--ink-04);
}

.problem-card__solution {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
}

.problem-card__arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-30);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.problem-card:hover .problem-card__arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-section {
  padding: var(--s-24) 0;
  background: var(--paper-pure);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.service-card {
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  background: var(--paper-pure);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}

.service-card:hover {
  border-color: rgba(27, 56, 200, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card:hover::after { opacity: 1; }

.service-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--ink-15);
  margin-bottom: var(--s-5);
  position: relative;
  z-index: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--ink-02);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  position: relative;
  z-index: 1;
  transition: background var(--t-base) var(--ease);
}

.service-card:hover .service-card__icon { background: var(--accent-light); }
.service-card:hover .service-card__icon svg { color: var(--accent); }

.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--ink-70);
  transition: color var(--t-base) var(--ease);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
  line-height: var(--leading-snug);
  position: relative;
  z-index: 1;
}

.service-card__problem {
  font-size: var(--text-sm);
  color: var(--ink-50);
  margin-bottom: var(--s-5);
  line-height: var(--leading-relaxed);
  position: relative;
  z-index: 1;
  flex: 1;
}

.service-card__outcome {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--ink-02);
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
  position: relative;
  z-index: 1;
  transition: background var(--t-base) var(--ease);
}

.service-card:hover .service-card__outcome { background: rgba(27, 56, 200, 0.07); }

.service-card__outcome-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: var(--r-full);
  margin-top: 5px;
  flex-shrink: 0;
}

.service-card__outcome-text {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-70);
  line-height: var(--leading-snug);
}

.service-card__link {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: gap var(--t-fast) var(--ease);
}

.service-card:hover .service-card__link { gap: var(--s-3); }

/* =========================================================
   PROCESS / METHODOLOGY STEPS
   ========================================================= */

.process-section {
  padding: var(--s-24) 0;
  background: var(--paper);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--ink-08);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--s-4);
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 56px;
  height: 56px;
  background: var(--paper-pure);
  border: 1.5px solid var(--ink-08);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-5);
  transition: all var(--t-base) var(--ease);
  position: relative;
}

.process-step:hover .process-step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-2);
}

.process-step__desc {
  font-size: var(--text-xs);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
}

/* =========================================================
   CREDIBILITY / APPROACH
   ========================================================= */

.approach-section {
  padding: var(--s-24) 0;
  background: var(--night);
  overflow: hidden;
  position: relative;
}

.approach-section::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(27, 56, 200, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-20);
  align-items: center;
}

.approach-content .label { color: var(--night-text-muted); }

.approach-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  color: var(--night-text);
  margin-bottom: var(--s-6);
}

.approach-desc {
  font-size: var(--text-md);
  color: var(--night-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-8);
}

.approach-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.approach-pillar {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.approach-pillar__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: var(--r-full);
  margin-top: 7px;
  flex-shrink: 0;
}

.approach-pillar__text {
  font-size: var(--text-base);
  color: var(--night-text);
  line-height: var(--leading-relaxed);
}

.approach-pillar__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

/* Differentiator cards */
.diff-cards {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.diff-card {
  background: var(--night-2);
  border: 1px solid var(--night-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  transition: all var(--t-base) var(--ease);
}

.diff-card:hover {
  border-color: rgba(27, 56, 200, 0.4);
  background: var(--night-3);
}

.diff-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--accent);
  margin-bottom: var(--s-2);
}

.diff-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--night-text);
  margin-bottom: var(--s-2);
}

.diff-card__desc {
  font-size: var(--text-sm);
  color: var(--night-text-muted);
  line-height: var(--leading-relaxed);
}

/* =========================================================
   INSIGHTS / EDITORIAL LAB
   ========================================================= */

.insights-section {
  padding: var(--s-24) 0;
  background: var(--paper-pure);
}

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s-12);
  gap: var(--s-8);
}

.insights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-4);
}

.insight-card {
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper-pure);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.insight-card:hover {
  border-color: var(--ink-15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.insight-card--featured {
  grid-row: span 2;
}

.insight-card__visual {
  height: 180px;
  background: var(--night-1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--s-5);
}

.insight-card--featured .insight-card__visual {
  height: 260px;
}

.insight-card__visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--night-2) 0%, var(--night-1) 100%);
}

.insight-card__visual-accent {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(27, 56, 200, 0.25) 0%, transparent 60%);
}

.insight-card__type {
  position: relative;
  z-index: 1;
}

.insight-card__body {
  padding: var(--s-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card__tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
}

.insight-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--leading-snug);
  margin-bottom: var(--s-3);
  flex: 1;
}

.insight-card--sm .insight-card__title {
  font-size: var(--text-base);
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink-04);
}

.insight-card__time {
  font-size: var(--text-xs);
  color: var(--ink-30);
  font-family: var(--font-display);
  font-weight: 500;
}

/* =========================================================
   FINAL CTA SECTION
   ========================================================= */

.cta-final {
  padding: var(--s-32) 0;
  background: var(--night);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(27, 56, 200, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin-inline: auto;
}

.cta-final__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--night-text-muted);
  margin-bottom: var(--s-6);
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  color: var(--night-text);
  margin-bottom: var(--s-6);
}

.cta-final__desc {
  font-size: var(--text-md);
  color: var(--night-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-10);
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--ink-90);
  padding: var(--s-16) 0 var(--s-8);
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-12);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--s-8);
}

.footer__brand .nav__logo-text {
  color: var(--night-text);
  font-size: var(--text-xl);
}

.footer__brand .nav__logo-mark {
  background: var(--accent);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--night-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 30ch;
  margin-bottom: var(--s-6);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--night-text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer__links a:hover { color: var(--night-text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */

.page-hero {
  padding: calc(var(--nav-h) + var(--s-16)) 0 var(--s-20);
  background: var(--paper);
  border-bottom: 1px solid var(--ink-08);
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-5);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: var(--s-6);
}

.page-hero__desc {
  font-size: var(--text-md);
  color: var(--ink-50);
  max-width: 56ch;
  line-height: var(--leading-relaxed);
}

/* =========================================================
   SERVICE DETAIL
   ========================================================= */

.service-detail-hero {
  padding: calc(var(--nav-h) + var(--s-20)) 0 var(--s-24);
  background: var(--night);
  position: relative;
  overflow: hidden;
}

.service-detail-hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 45%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(27, 56, 200, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.service-detail-hero__content { position: relative; z-index: 1; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: start;
  margin-top: var(--s-20);
}

/* Includes list */
.includes-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.includes-item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--ink-02);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-08);
  transition: all var(--t-base) var(--ease);
}

.includes-item:hover {
  border-color: var(--ink-15);
  background: var(--paper-pure);
  box-shadow: var(--shadow-sm);
}

.includes-item__icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.includes-item__icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.includes-item__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-1);
}

.includes-item__desc {
  font-size: var(--text-sm);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.faq-item {
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-pure);
}

.faq-question {
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  transition: background var(--t-fast) var(--ease);
  user-select: none;
}

.faq-question:hover { background: var(--ink-02); }

.faq-question__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-30);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), padding var(--t-base) var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 var(--s-6) var(--s-5);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
}

/* =========================================================
   LABORATORIO EDITORIAL
   ========================================================= */

.lab-filters {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--ink-08);
  margin-bottom: var(--s-8);
}

.filter-group {
  display: flex;
  gap: var(--s-2);
  align-items: center;
}

.filter-group__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-30);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-right: var(--s-1);
}

.filter-btn {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--ink-08);
  background: transparent;
  color: var(--ink-50);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.filter-btn:hover { border-color: var(--ink-15); color: var(--ink); }

.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-divider {
  width: 1px;
  height: 20px;
  background: var(--ink-08);
  margin-inline: var(--s-2);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.lab-card {
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper-pure);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.lab-card:hover {
  border-color: var(--ink-15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.lab-card[data-hidden="true"] {
  display: none;
}

.lab-card__header {
  padding: var(--s-6) var(--s-6) var(--s-5);
  border-bottom: 1px solid var(--ink-04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lab-card__body {
  padding: var(--s-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lab-card__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--leading-snug);
  margin-bottom: var(--s-3);
  flex: 1;
}

.lab-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-4);
}

.lab-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink-04);
}

.lab-card__time {
  font-size: var(--text-xs);
  color: var(--ink-30);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Impact indicator */
.impact-indicator {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.impact-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--ink-08);
}

.impact-dot.active { background: var(--success); }

/* =========================================================
   FORMS
   ========================================================= */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.form-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-70);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--ink-08);
  border-radius: var(--r-lg);
  background: var(--paper-pure);
  color: var(--ink);
  font-size: var(--text-base);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-30); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B63' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--ink-30);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-16);
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  margin-bottom: var(--s-6);
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-info-item__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-30);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--s-1);
}

.contact-info-item__value {
  font-size: var(--text-base);
  color: var(--ink);
  font-weight: 500;
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

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

/* =========================================================
   TRUST BAR
   ========================================================= */

.trust-bar {
  padding: var(--s-5) 0;
  background: var(--paper-pure);
  border-bottom: 1px solid var(--ink-04);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--s-10);
  overflow: hidden;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-50);
  white-space: nowrap;
}

.trust-bar__item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--accent);
  flex-shrink: 0;
}

/* =========================================================
   NOSOTROS / ABOUT
   ========================================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.value-card {
  padding: var(--s-8);
  background: var(--paper-pure);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  transition: all var(--t-base) var(--ease);
}

.value-card:hover {
  border-color: var(--ink-15);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--ink-04);
  letter-spacing: var(--tracking-snug);
  margin-bottom: var(--s-4);
  line-height: 1;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-50);
  line-height: var(--leading-relaxed);
}

/* =========================================================
   SOLUTIONS PAGE
   ========================================================= */

.solution-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-12);
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--ink-04);
  align-items: start;
}

.solution-block:last-child { border-bottom: none; }

.solution-block__sidebar { position: sticky; top: calc(var(--nav-h) + var(--s-8)); }

.solution-block__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--ink-04);
  line-height: 1;
  margin-bottom: var(--s-4);
}

.solution-block__problem {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--leading-snug);
  margin-bottom: var(--s-4);
}

.solution-block__services {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.solution-block__service-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.solution-block__service-tag::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.solution-content__desc {
  font-size: var(--text-md);
  color: var(--ink-70);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-8);
}

.solution-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.solution-outcome {
  padding: var(--s-4) var(--s-5);
  background: var(--ink-02);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-08);
}

.solution-outcome__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--s-1);
}

.solution-outcome__text {
  font-size: var(--text-sm);
  color: var(--ink-70);
  line-height: var(--leading-snug);
  font-weight: 500;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {
  :root { --nav-h: 64px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
  .process-steps::before { display: none; }

  .approach-grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight-card--featured { grid-column: span 2; }

  .footer__main { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .footer__brand { grid-column: span 2; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .solution-block { grid-template-columns: 1fr; }
  .solution-block__sidebar { position: static; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .lab-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {
  :root { --px: 1.25rem; --nav-h: 60px; }

  .nav__links,
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero-dark__title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-stats { gap: var(--s-8); flex-wrap: wrap; }

  .problem-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card--featured { grid-column: span 1; }
  .lab-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .solution-outcomes { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .process-step { align-items: flex-start; text-align: left; flex-direction: row; gap: var(--s-4); }
  .process-step__num { flex-shrink: 0; width: 44px; height: 44px; }

  .section-header { margin-bottom: var(--s-10); }
  .section-header .section-title { font-size: var(--text-3xl); }

  .hero-dark__actions { flex-direction: column; align-items: flex-start; }

  .page-hero__title { font-size: clamp(2rem, 8vw, 3rem); }

  .footer__main { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .grid-12 { grid-template-columns: 1fr; }

  .trust-bar__inner { gap: var(--s-6); }

  .cta-final__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .cta-final__actions { flex-direction: column; align-items: center; }

  .service-detail-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .insights-header { flex-direction: column; align-items: flex-start; }

  .lab-filters { gap: var(--s-2); }
  .filter-divider { display: none; }
}
