/* ==========================================================================
   PRO-SOLUTIONS — Desarrollo Estratégico
   Sistema visual base
   ========================================================================== */

:root {
  /* Azul — estrategia, estructura, profundidad */
  --blue: #244477;
  --blue-light: #5C86C4;
  --blue-deep: #16273F;
  --blue-mist: #EEF2F8;

  /* Cobre — evolución, activación, puntos de decisión, acentos */
  --copper: #B17E4F;
  --copper-light: #D7B18C;
  --copper-glow: rgba(177,126,79,0.35);

  --graphite: #1B2A3D;
  --white: #FFFFFF;
  --bg: #FBFBFC;

  /* Gris azulado — análisis, soporte, fondos, profundidad */
  --grey-100: #EEF1F6;
  --grey-300: #D5DEE9;
  --grey-500: #6D7C97;
  --grey-700: #3C4759;
  --slate: #F3F6FA;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--graphite);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul, ol { list-style: none; margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.btn-primary:hover { background: var(--graphite); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,251,252,0.9);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
/* El blur va en un pseudo-elemento: backdrop-filter en .site-header
   directamente convierte al header en el "containing block" de sus
   descendientes position:fixed, rompiendo el alto del menú móvil
   (#main-nav) al abrirse. Ver revisión funcional. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.site-header.is-scrolled {
  border-color: var(--grey-300);
  box-shadow: 0 4px 20px rgba(27,42,61,0.05);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: block;
}

.brand--footer .brand-mark { width: 48px; height: 48px; }

.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--graphite);
  letter-spacing: 0.01em;
}
.brand-word em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--grey-700);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  width: 6px; height: 6px;
  margin-left: -3px;
  background: var(--copper);
  clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%, 25% 0%);
  opacity: 0;
  transform: translateY(-3px) scale(0.6);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.main-nav a:not(.nav-cta):hover { color: var(--graphite); }
.main-nav a:not(.nav-cta):hover::after { opacity: 1; transform: translateY(0) scale(1); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 11px 22px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background .25s, transform .25s;
}

/* ---- Servicios: submenú desplegable ---- */
.nav-item { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret {
  width: 8px; height: 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), visibility .2s var(--ease);
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-panel {
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(27,42,61,0.14);
  padding: 10px;
}
.nav-dropdown a {
  display: block;
  padding: 11px 12px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
  border-radius: 3px;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--blue-mist);
  color: var(--blue);
}
.nav-cta:hover { background: var(--graphite); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--graphite);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  margin: 0 auto;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: var(--blue-mist);
}

.hero-motif {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
.hero-motif svg { width: 100%; height: 100%; }
.motif-path {
  fill: none;
  stroke: url(#heroGrad);
  stroke-width: 1.5;
  stroke-linejoin: round;
  opacity: 0.4;
}
.motif-facet {
  stroke: var(--copper);
  stroke-width: 1.5;
  opacity: 0.3;
}
.motif-node { fill: var(--blue); opacity: .45; }
.motif-node--copper { fill: var(--copper); opacity: .6; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero h1 .h1-copper { color: var(--copper); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--grey-700);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-bottom: 40px;
}
.hero-lines li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--graphite);
  padding: 0 20px;
  position: relative;
}
.hero-lines li:first-child { padding-left: 0; }
.hero-lines li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--copper);
  clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%, 25% 0%);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   GEOMETRÍA DE MARCA — watermarks y divisores
   El isotipo real como marca de agua: sin alterar su geometría, solo
   opacidad, escala y recorte. Nunca decorativo ni repetido de más.
   ========================================================================== */
.wm-mark {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.wm--corner-tr { top: -20%; right: -12%; width: 58%; max-width: 600px; }
.wm--corner-bl { bottom: -18%; left: -10%; width: 44%; max-width: 460px; }
.wm--corner-br { bottom: -16%; right: -10%; width: 38%; max-width: 400px; }
.wm--corner-tl { top: -18%; left: -12%; width: 40%; max-width: 420px; }

/* Gris azulado: desaturado, sin tocar la geometría */
.wm--slate { opacity: 0.06; filter: grayscale(1) contrast(0.9); }
/* Azul y cobre: color natural del propio isotipo, muy tenue */
.wm--blue  { opacity: 0.05; }
.wm--copper { opacity: 0.07; }

/* Variantes de recorte — mismo archivo, distinto encuadre por página */
.wm--crop-tall { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.wm--crop-wide { aspect-ratio: 4 / 3; object-fit: cover; object-position: bottom; }

/* Home — el isotipo debe verse completo dentro de cada sección, sin recorte por el borde */
.hero .wm--corner-tr { top: 8%; right: 4%; width: 34%; max-width: 380px; }

/* Corte diagonal entre secciones — transición propia de la marca */
.facet-divider {
  position: relative;
  height: 72px;
  margin-bottom: -1px;
  z-index: 1;
}
.facet-divider svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.facet-divider polygon { fill: var(--fill, var(--bg)); }
.facet-divider--to-dark polygon { --fill: var(--slate); }
.facet-divider--to-light polygon { --fill: var(--graphite); }

@media (max-width: 640px) {
  .wm-mark { opacity: 0.045 !important; }
  .facet-divider { height: 40px; }
}

/* ==========================================================================
   SERVICES (Tres líneas)
   ========================================================================== */
.services {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--slate);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--blue);
  max-width: 640px;
}
.section-title.light { color: #fff; }
.section-title .reg { font-size: 0.5em; vertical-align: super; }

.section-lead {
  font-size: 1.05rem;
  color: var(--grey-700);
  max-width: 520px;
  margin-top: 12px;
}
.section-lead.light { color: rgba(255,255,255,0.72); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27,42,61,0.08);
  border-color: var(--blue-light);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}
.service-icon path,
.service-icon polyline,
.service-icon line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-icon circle { fill: var(--blue); }
.service-icon .icon-copper { stroke: var(--copper); fill: var(--copper); transition: transform .3s var(--ease); transform-origin: 24px 24px; }
.service-card:hover .service-icon .icon-copper { transform: translateY(-2px); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--grey-700);
  font-size: 0.96rem;
}
.service-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue);
  transition: color .2s var(--ease);
}
.service-link:hover { color: var(--copper); }

/* ==========================================================================
   MÉTODO
   ========================================================================== */
.method {
  background: linear-gradient(160deg, var(--graphite) 0%, var(--blue) 68%, #2c5590 100%);
  padding: 100px 0 80px;
  position: relative;
}

.method-journey {
  margin-top: 44px;
  position: relative;
}

.method-svg { width: 100%; height: auto; overflow: visible; }
.method-svg--mobile { display: none; }

.method-path {
  fill: none;
  stroke: url(#methodGrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  transition: stroke-dashoffset 2s var(--ease);
}
.method-journey.is-visible .method-path { stroke-dashoffset: 0; }

.method-continue {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
  opacity: 0;
  transition: opacity .5s var(--ease) 2.15s;
}
.method-journey.is-visible .method-continue { opacity: 0.65; }

.method-arrow {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .5s var(--ease) 2.3s;
}
.method-journey.is-visible .method-arrow { opacity: 1; }

/* ---- nodes ---- */
.hex-shape {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.m-node.n1 .hex-shape, .m-node.n2 .hex-shape { fill: var(--blue-light); }
.m-node.n3 .hex-shape, .m-node.n4 .hex-shape { fill: var(--blue); }
.m-node.n5 .hex-shape { fill: #8C7058; }
.m-node.n6 .hex-shape { fill: var(--copper-light); }
.hex-facet {
  stroke: rgba(255,255,255,0.4);
  stroke-width: 1.3;
}
.hex-ring {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 1.8;
  opacity: 0;
  transition: opacity .5s var(--ease) 2.1s;
}
.method-journey.is-visible .hex-ring { opacity: 0.6; }

.m-node {
  opacity: 0;
  transition: opacity .5s var(--ease);
  cursor: default;
}
.method-journey.is-visible .m-node { opacity: 1; }
.method-journey.is-visible .m-node.n1 { transition-delay: .05s; }
.method-journey.is-visible .m-node.n2 { transition-delay: .48s; }
.method-journey.is-visible .m-node.n3 { transition-delay: .86s; }
.method-journey.is-visible .m-node.n4 { transition-delay: 1.26s; }
.method-journey.is-visible .m-node.n5 { transition-delay: 1.64s; }
.method-journey.is-visible .m-node.n6 { transition-delay: 2.05s; }

.m-node.is-active .hex-shape {
  transform: scale(1.25);
  filter: drop-shadow(0 0 7px rgba(177,126,79,0.55));
}
.m-node--final .hex-shape { filter: drop-shadow(0 0 7px rgba(215,177,140,0.5)); }

.method-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: -72px;
}
.method-svg--mobile ~ .method-steps { margin-top: 20px; }

.method-steps li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 2px solid rgba(255,255,255,0.18);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s var(--ease);
  transition-delay: calc(var(--i) * 0.08s);
  cursor: default;
}
.method-steps li:nth-child(6) { border-top-color: var(--copper-light); }
.method-steps li.is-active { border-top-color: var(--copper-light); }

.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--copper-light);
  letter-spacing: 0.05em;
  transition: color .3s var(--ease);
}
.step-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  transition: color .3s var(--ease);
}
.step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  transition: color .3s var(--ease);
}
.method-steps li.is-active .step-desc { color: rgba(255,255,255,0.88); }

.method-footnote {
  margin-top: 56px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
}
.method-more { display: block; text-align: center; margin-top: 14px; }

/* Home — mención breve del Método, sin repetir el circuito completo */
.method--brief { padding: 44px 0; }

/* .method-chain / .chain-arrow: usado por el hilo conductor del Método en
   Proyectos y Capacitación (sección .method-thread). Home ya no lo usa
   (ver .method-flow más abajo) pero estas reglas deben permanecer. */
.method-chain {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.chain-arrow { color: var(--copper-light); font-weight: 400; }

@media (min-width: 1024px) {
  .method-chain { flex-wrap: nowrap; gap: 0 18px; }
}

@media (max-width: 480px) {
  .method-chain { font-size: 0.95rem; gap: 8px 10px; }
}

/* Flujo visual del Método: 6 etapas con iconografía geométrica propia */
.method-flow {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
}
.flow-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.flow-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  min-width: 0;
  flex: 1;
}
.flow-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.flow-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.flow-icon svg .icon-dot { fill: var(--copper-light); stroke: none; }
.flow-icon svg .icon-dashed { fill: none; stroke-dasharray: 2 4; opacity: 0.55; }
.flow-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
}
.flow-arrow {
  flex-shrink: 0;
  align-self: center;
  margin-top: 26px;
  color: var(--copper-light);
  font-size: 1.05rem;
  font-weight: 300;
  transition: transform .3s var(--ease);
}
.flow-arrow--break {
  align-self: center;
  margin-top: 0;
  transform: rotate(90deg);
}

@media (hover: hover) {
  .flow-stage:hover .flow-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(215,177,140,0.6));
  }
}

@media (min-width: 860px) {
  .method-flow { flex-direction: row; align-items: center; gap: 0; max-width: none; }
  .flow-row { flex: 1; gap: 4px; }
  .flow-arrow--break { transform: none; margin: 0 6px; }
  .flow-icon { width: 52px; height: 52px; }
  .flow-arrow { margin-top: 22px; }
}

/* Mobile: las 6 etapas en una sola fila horizontal (no 2 filas apiladas) */
@media (max-width: 767px) {
  .method--brief { padding: 36px 0; }
  .method-flow { flex-direction: row; align-items: flex-start; gap: 0; max-width: none; }
  .flow-row { flex: 1; gap: 0; }
  .flow-stage { gap: 6px; }
  .flow-icon { width: 34px; height: 34px; }
  .flow-label { font-size: 0.5rem; line-height: 1.15; }
  .flow-arrow { margin-top: 12px; font-size: 0.65rem; }
  .flow-arrow--break { transform: none; margin: 0 1px; }
}

@media (max-width: 360px) {
  .flow-icon { width: 29px; height: 29px; }
  .flow-label { font-size: 0.44rem; }
  .flow-arrow { margin-top: 10px; font-size: 0.55rem; }
}

/* ==========================================================================
   IMPACTO Y RESULTADOS — sección futura, en preparación.
   Permanece oculta ([hidden]) y sin ocupar espacio hasta contar con datos reales.
   ========================================================================== */
.impact {
  padding: 100px 0;
  background: var(--white);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-top: 44px;
}
.impact-stat { text-align: center; }
.impact-stat .stat-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--blue);
}
.impact-stat .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--grey-700);
}

/* ==========================================================================
   CLIENTES — sección futura, en preparación.
   Formato inicial: fila de logos. .clients-row--carousel activa scroll
   horizontal reutilizando la misma estructura cuando crezca la cantidad.
   ========================================================================== */
.clients {
  padding: 90px 0;
  background: var(--slate);
}
.clients-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}
.clients-row--carousel {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  scroll-snap-type: x proximity;
}
.clients-row img { height: 40px; width: auto; opacity: 0.7; }

/* Ambas secciones futuras permanecen ocultas y sin espacio hasta tener contenido real */
.section-future[hidden] { display: none !important; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  padding: 88px 0 96px;
  text-align: center;
  background: linear-gradient(180deg, #2c5590 0%, var(--graphite) 100%);
  position: relative;
  overflow: hidden;
}
.cta-motif {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.cta-motif svg { width: 100%; height: 100%; }
.cta-motif polyline {
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 1;
  opacity: 0.25;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final .btn-primary { position: relative; }
.cta-final .btn-primary::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 72%);
  z-index: -1;
}

.cta-final h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 10px;
}
.cta-final p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 34px;
}

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--grey-100);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-intro { position: sticky; top: 110px; }
.contact-intro .section-title { max-width: 100%; }

.contact-mark {
  display: block;
  width: 76%;
  max-width: 340px;
  height: auto;
  margin: 48px auto 0;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; grid-column: span 2; }
.form-row--half { grid-column: span 1; }
.form-row--full { grid-column: span 2; margin-top: 8px; }

.form-row label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--graphite);
}
.form-row label span { color: var(--copper); }

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--graphite);
  transition: border-color .2s;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
}
.form-row input:focus:not(:focus-visible),
.form-row select:focus:not(:focus-visible),
.form-row textarea:focus:not(:focus-visible) {
  outline: none;
}
.form-row.has-error label { color: #C0554A; }
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #C0554A;
}
.form-row.has-error input:focus,
.form-row.has-error select:focus,
.form-row.has-error textarea:focus {
  outline: 2px solid #C0554A;
  outline-offset: 1px;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--grey-500);
}

.form-error {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C0554A;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--blue-mist);
  border-radius: var(--radius);
}
.form-success.is-visible { display: block; }
.form-success svg {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
}
.form-success polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success h3 { font-size: 1.3rem; color: var(--blue); margin-bottom: 8px; }
.form-success p { color: var(--grey-700); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--graphite);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.brand--footer .brand-word strong { color: #fff; }

.footer-group {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-group strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.55);
}
.footer-group span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-intro { position: static; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 90;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.15rem; }
  .nav-cta { width: 100%; text-align: center; padding: 16px; }
  .nav-toggle { display: flex; }

  .nav-item { width: 100%; }
  .nav-trigger { width: 100%; justify-content: space-between; }
  .nav-dropdown {
    position: static;
    transform: none;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }
  .nav-dropdown-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 0 18px;
    margin-top: 14px;
    border-left: 1px solid var(--grey-300);
  }
  .nav-dropdown a {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--grey-700);
  }

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

  .method-svg--desktop { display: none; }
  .method-svg--mobile { display: block; max-width: 320px; margin: 0 auto; }
  .method-steps {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 22px;
  }
  .method-steps li { border-top: none; border-left: 2px solid rgba(255,255,255,0.18); padding-top: 0; padding-left: 18px; }
  .method-steps li:nth-child(6) { border-left-color: var(--copper-light); }
  .method-steps li.is-active { border-left-color: var(--copper-light); }


  .contact-form { grid-template-columns: 1fr; padding: 28px; }
  .form-row--half { grid-column: span 1; }
  .form-row, .form-row--full { grid-column: span 1; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-inner > .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero { padding: 26px 0 56px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero h1 { margin-bottom: 12px; font-size: clamp(1.85rem, 7.8vw, 2.05rem); line-height: 1.12; }
  .hero-sub { margin-bottom: 14px; font-size: 1.02rem; line-height: 1.45; }
  .hero-lines { margin-bottom: 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-lines li { padding: 0 0 0 16px; }
  .hero-lines li:first-child { padding-left: 16px; }
  .hero-lines li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--copper);
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%, 25% 0%);
  }
  .hero-lines li::after { display: none; }
  .hero .hero-mark-depth { opacity: 0.16 !important; }
  .services { padding: 48px 0 56px; }
  .service-grid { margin-top: 32px; gap: 20px; }
  .services .service-card { padding: 24px 22px; }
  .services .service-icon { margin-bottom: 14px; }
  .services .service-card h3 { margin-bottom: 6px; }
  .services .service-link { margin-top: 10px; }
  .method { padding: 64px 0; }
  .cta-final { padding: 64px 0; }
  .contact { padding: 64px 0 80px; }
  .contact-inner { gap: 24px; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > .footer-brand { grid-column: 1; }
  .contact-mark { width: 38%; max-width: 150px; margin: 18px auto 0; }
  .site-footer { padding: 48px 0 56px; }
  .footer-inner { gap: 28px; }
  .footer-group { margin-top: 14px; }
  .footer-col { gap: 10px; }
  .footer-bottom { padding-top: 18px; margin-top: 4px; }
  .whatsapp-fab[data-source="home"] {
    right: 8px;
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
    width: 44px;
    height: 44px;
  }
  .whatsapp-fab[data-source="home"] .whatsapp-fab-icon { width: 20px; height: 20px; }
  .whatsapp-fab[data-source="home"]:not([aria-disabled="true"]) {
    opacity: 0.88;
    transition: opacity .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  .whatsapp-fab[data-source="home"]:not([aria-disabled="true"]):hover,
  .whatsapp-fab[data-source="home"]:not([aria-disabled="true"]):active,
  .whatsapp-fab[data-source="home"]:not([aria-disabled="true"]):focus-visible {
    opacity: 1;
  }
}

/* ==========================================================================
   PÁGINAS DE SERVICIO (secundarias) — base compartida
   ========================================================================== */
.breadcrumb {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--grey-500);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--grey-500); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--blue); }

.service-hero { padding: 112px 0 80px; position: relative; overflow: hidden; }
.service-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: var(--blue);
  max-width: 740px;
  margin-bottom: 20px;
}
.service-hero-sub {
  font-size: 1.1rem;
  color: var(--grey-700);
  max-width: 540px;
  margin-bottom: 32px;
}

/* ---- Cuándo te sirve ---- */
.when-fits { padding: 0 0 96px; }
.fit-list { display: grid; gap: 20px; max-width: 620px; margin-top: 28px; }
.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--graphite);
  line-height: 1.5;
}
.fit-mark {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: var(--copper);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
/* Proyectos y Desarrollo: marcador de hito (rectángulo con corte), eco del route-node */
.page-proyectos .fit-mark {
  width: 13px;
  height: 10px;
  margin-top: 7px;
  clip-path: polygon(0 0, 70% 0, 100% 40%, 100% 100%, 0 100%);
}

/* ---- En qué podemos ayudarte ---- */
.help { padding: 0 0 96px; }
.help-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 36px;
  max-width: 760px;
  margin-top: 28px;
}
.help-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--grey-700);
  line-height: 1.5;
}
.help-arrow { flex-shrink: 0; color: var(--copper); font-weight: 700; }

@media (max-width: 640px) {
  .help-list { grid-template-columns: 1fr; }
}

/* ---- Cómo trabajamos: lente estratégico ---- */
.how-we-work { padding: 100px 0; background: var(--blue-mist); position: relative; overflow: hidden; }
.how-we-work-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lens-wrap { display: flex; justify-content: center; }
.lens-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 380 / 340;
}
.lens-ring {
  position: absolute;
  border-style: solid;
  border-width: 1.5px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.lens-ring.r1 { width: 100%; height: 100%; top: 0; left: 0; border-color: var(--blue-light); opacity: 0.3; }
.lens-ring.r2 { width: 78.9%; height: 78.8%; top: 10.3%; left: 11.8%; border-color: var(--blue-light); opacity: 0.5; }
.lens-ring.r3 { width: 59.2%; height: 58.8%; top: 22.1%; left: 25%; border-color: var(--blue); opacity: 0.7; }
.lens-ring.r4 { width: 39.5%; height: 39.4%; top: 35.3%; left: 39.5%; border-color: #8C7058; opacity: 0.85; }
.lens-ring.r5 { width: 20.5%; height: 20.6%; top: 48.5%; left: 53.9%; border-color: var(--copper); opacity: 1; }
.lens-core {
  position: absolute;
  width: 12px;
  height: 12px;
  top: 58.8%;
  left: 64.15%;
  transform: translate(-50%, -50%);
  background: var(--copper);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 12px rgba(177,126,79,0.5);
}

.lens-text { max-width: 480px; }
.lens-text .section-title { margin-bottom: 36px; max-width: 100%; }

.waypoint-list { display: grid; gap: 28px; }
.waypoint-list li { display: flex; gap: 18px; align-items: flex-start; }
.waypoint-mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.waypoint-mark.wp1 { background: var(--blue-light); }
.waypoint-mark.wp2 { background: var(--blue); }
.waypoint-mark.wp3 { background: var(--copper); }
.waypoint-list h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--graphite);
  margin-bottom: 6px;
}
.waypoint-list p {
  color: var(--grey-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---- Qué buscamos conseguir ---- */
.outcomes { padding: 72px 0 100px; background: var(--blue-mist); }
.outcomes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.outcomes-list li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 10px 18px;
}

/* ---- Hilo conductor: Método ---- */
.method-thread { padding: 64px 0; background: #2c5590; position: relative; overflow: hidden; }
.method-thread-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.thread-lead { color: rgba(255,255,255,0.8); font-size: 1rem; }
.method-thread-inner .method-chain { justify-content: center; }
.thread-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--copper-light);
  transition: color .2s var(--ease);
}
.thread-link:hover { color: #fff; }

@media (max-width: 860px) {
  .how-we-work-inner { grid-template-columns: 1fr; gap: 48px; }
  .lens-visual { max-width: 300px; }
  .route-visual { max-width: 340px; }
  .how-we-work .network-frame { max-width: 340px; }
}

@media (max-width: 480px) {
  .service-hero { padding: 50px 0 56px; }
  .service-hero h1 { margin-bottom: 12px; }
  .service-hero-sub { margin-bottom: 18px; }
  .when-fits { padding: 0 0 64px; }
  .help { padding: 0 0 64px; }
  .how-we-work { padding: 64px 0; }
  .outcomes { padding: 48px 0 64px; }
  .method-thread { padding: 48px 0; }
  .network-label { font-size: 0.54rem; letter-spacing: 0.03em; }
}

/* ---- Proyectos y Desarrollo: ruta de viabilidad ---- */
.route-wrap { display: flex; justify-content: center; }
.route-visual { width: 100%; max-width: 460px; height: auto; overflow: visible; }

.route-seg {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 3;
  stroke-linecap: round;
}
.route-branch {
  fill: none;
  stroke: var(--grey-500);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 3 5;
  opacity: 0.45;
}
.route-loop {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.route-loop-arrow {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-node { stroke: none; }
.route-node.n1 { fill: var(--blue-light); }
.route-node.n2 { fill: var(--blue); }
.route-node.n3 { fill: var(--copper-light); }
.route-node.n4 { fill: var(--copper); }

.route-gate {
  fill: var(--white);
  stroke: var(--blue);
  stroke-width: 2.2;
}

/* ---- Capacitación: flujo Necesidad → Diseño → Aplicación → Capacidad instalada ---- */
.capability-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.3fr;
  align-items: start;
  gap: 0 2px;
}

.cap-stage { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }

.cap-arrow {
  justify-self: center;
  margin-top: 50px;
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1;
}

.cap-icon-ring {
  position: relative;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 1px dashed var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.cap-stage--necesidad .cap-icon-ring { border-color: transparent; }
.cap-icon { width: 62%; height: 62%; overflow: visible; }

.cap-icon-ring--final {
  width: 142px;
  height: 142px;
  border: none;
}
.cap-icon--final { width: 100%; height: 100%; }

.cap-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  margin-bottom: 7px;
  flex-shrink: 0;
}
.cap-dot--result { width: 8px; height: 8px; background: var(--copper); }

.cap-connector {
  width: 0;
  height: 14px;
  border-left: 1px dashed var(--grey-300);
  margin-bottom: 12px;
}

.cap-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 7px;
  line-height: 1.3;
}
.cap-title--result { color: var(--copper); font-size: 0.92rem; }

.cap-desc { font-size: 0.82rem; color: var(--grey-700); line-height: 1.45; }

@media (max-width: 1180px) {
  .capability-flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1.25fr; }
  .cap-icon-ring { width: 92px; height: 92px; margin-bottom: 18px; }
  .cap-icon-ring--final { width: 124px; height: 124px; }
  .cap-arrow { margin-top: 42px; font-size: 1.1rem; }
  .cap-title { font-size: 0.78rem; }
  .cap-title--result { font-size: 0.84rem; }
  .cap-desc { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .capability-flow { gap: 0; }
  .cap-icon-ring { width: 54px; height: 54px; margin-bottom: 10px; }
  .cap-icon-ring--final { width: 76px; height: 76px; }
  .cap-arrow { margin-top: 24px; font-size: 0.85rem; }
  .cap-title { font-size: 0.6rem; }
  .cap-title--result { font-size: 0.62rem; }
  .cap-desc { display: none; }
}

/* Capacitación: menos espacio vacío entre el proceso y "¿Qué buscamos conseguir?" */
.page-capacitacion .how-we-work { padding-bottom: 60px; }
.page-capacitacion .outcomes { padding-top: 44px; }

/* ---- Capacitación: red de capacidades (legado, sin uso) ---- */
.network-wrap { display: flex; justify-content: center; }
.network-frame { position: relative; width: 100%; max-width: 460px; margin: 0 auto 26px; }
.network-visual { width: 100%; height: auto; overflow: visible; display: block; }

.network-labels { position: absolute; inset: 0; pointer-events: none; }
.network-label {
  position: absolute;
  top: 88.8%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.network-label--result { color: var(--copper); font-weight: 700; }
.network-label:nth-child(2n) { top: calc(88.8% + 24px); }

.net-loose {
  stroke: var(--grey-500);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.5;
}
.net-node circle { stroke: none; }
.net-node--in circle { fill: var(--blue-light); }
.net-node--mid circle { fill: var(--blue); }

.net-structured {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.7;
}
.net-applied {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.85;
}

.network-visual .hex-shape { fill: var(--copper); }
.network-visual .hex-ring { opacity: 0.7; }
.network-visual .m-node--final .hex-shape { filter: drop-shadow(0 0 10px rgba(177,126,79,0.45)); }

/* ---- Marcadores "cuándo te sirve" por página: familia, no plantilla ---- */
.page-capacitacion .fit-mark {
  clip-path: none;
  border-radius: 50%;
  background: var(--blue);
}

/* ==========================================================================
   MÉTODO PRO-SOLUTIONS® — página propia
   La expresión más grande del sistema: circuito cerrado, no un gráfico
   ampliado. Reutiliza .m-node/.hex-shape/.method-path/.method-journey ya
   probados en el resto del sitio para heredar color, reveal y stagger.
   ========================================================================== */
.method-circuit {
  background: linear-gradient(160deg, var(--graphite) 0%, var(--blue) 55%, #2c5590 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.circuit-wrap { margin-top: 48px; position: relative; }
.circuit-frame { position: relative; max-width: 620px; margin: 0 auto; }
.circuit-visual { width: 100%; height: auto; overflow: visible; display: block; }

.circuit-labels {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease) 1s;
}
.method-journey.is-visible .circuit-labels { opacity: 1; }
.circuit-label {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.circuit-label.is-active {
  color: #fff;
  background: var(--copper);
  border-color: var(--copper-light);
  transform: translate(-50%, -50%) scale(1.15);
}

/* el trazo principal reutiliza .method-path; solo cambia el gradiente y el largo */
.page-metodo .method-path {
  stroke: url(#circuitGrad);
  stroke-width: 3.5;
  stroke-dasharray: 1750;
  stroke-dashoffset: 1750;
}
.page-metodo .route-loop,
.page-metodo .route-loop-arrow {
  opacity: 0;
  transition: opacity .5s var(--ease) 2.3s;
}
.page-metodo .method-journey.is-visible .route-loop,
.page-metodo .method-journey.is-visible .route-loop-arrow {
  opacity: 1;
}

.hub-facets line {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
}
.hub-mark .hex-shape { fill: none; stroke: rgba(255,255,255,0.3); stroke-width: 1.4; }
.hub-mark .hex-facet { stroke: rgba(255,255,255,0.2); }

.circuit-steps.method-steps {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 56px;
  margin-top: 64px;
}
.circuit-steps .step-desc { max-width: 340px; }

/* ---- Un mismo sistema, tres expresiones ---- */
.method-expressions { padding: 100px 0; background: var(--blue-mist); }

.expression-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.expression {
  display: block;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.expression:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(27,42,61,0.08);
  border-color: var(--blue-light);
}
.expression h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--graphite);
  margin-bottom: 8px;
}
.expression p {
  color: var(--grey-500);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.expression-mark {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 20px;
  transition: transform .3s var(--ease);
}
.expression:hover .expression-mark { transform: scale(1.15); }

.expression-mark--diamond {
  width: 16px; height: 16px;
  background: var(--blue-light);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.expression-mark--cut {
  width: 22px; height: 16px;
  background: var(--blue);
  clip-path: polygon(0 0, 70% 0, 100% 40%, 100% 100%, 0 100%);
}
.expression-mark--circle {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--copper);
}

@media (max-width: 860px) {
  .expression-row { grid-template-columns: 1fr; gap: 20px; }
  .circuit-steps.method-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .circuit-frame { max-width: 440px; }
}

@media (max-width: 480px) {
  .method-circuit { padding: 64px 0; }
  .method-expressions { padding: 64px 0; }
}

/* ==========================================================================
   PROYECTOS Y DESARROLLO — página propia
   ========================================================================== */

/* ---- Hero: texto + ilustración isométrica ---- */
.service-hero--proyectos { background: var(--blue-mist); }

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-split-text { max-width: 560px; }

.hero-highlight {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--copper);
  line-height: 1.4;
  margin-bottom: 14px;
}

.hero-split-visual { display: flex; justify-content: center; }
.iso-visual { width: 100%; max-width: 340px; height: auto; overflow: visible; }

.iso-connector { fill: none; stroke: var(--blue-light); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.6; }

.iso-face { stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.iso-face--copper-top { fill: var(--copper-light); }
.iso-face--copper-left { fill: var(--copper); }
.iso-face--copper-right { fill: #8C7058; }
.iso-face--light-top { fill: #ffffff; }
.iso-face--light-left { fill: var(--grey-100); }
.iso-face--light-right { fill: var(--grey-300); }
.iso-face--blue-top { fill: var(--blue-light); }
.iso-face--blue-left { fill: var(--blue); }
.iso-face--blue-right { fill: var(--graphite); }

.iso-badge circle:first-child { fill: #fff; stroke: var(--grey-300); stroke-width: 1; stroke-dasharray: 2 3; }
.iso-icon-line { stroke: var(--blue); stroke-width: 1.5; }
.iso-icon-line-fill { fill: var(--blue); }
.iso-icon-accent { stroke: var(--copper); stroke-width: 1.4; }
.iso-icon-accent-fill { fill: var(--copper); }

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-split-text { max-width: 100%; margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-split-visual { order: -1; }
  .iso-visual { max-width: 260px; }
}

/* ---- Cómo trabajamos: fondo claro específico de esta página ---- */
.how-we-work--proyectos { background: var(--white); }

/* ---- Proceso: Desafío → Formulación → Viabilidad → Implementación → Proyecto en marcha ---- */
.project-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.25fr;
  align-items: start;
  gap: 0 1px;
}

.proj-stage { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }

.proj-arrow {
  justify-self: center;
  margin-top: 26px;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1;
}

.proj-icon-ring {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px dashed var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.proj-stage:first-child .proj-icon-ring { border-color: transparent; }
.proj-icon { width: 62%; height: 62%; overflow: visible; }

.proj-icon-ring--final { width: 88px; height: 88px; border: none; }
.proj-icon--final { width: 100%; height: 100%; }

.proj-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.proj-dot--result { width: 7px; height: 7px; background: var(--copper); }

.proj-connector {
  width: 0;
  height: 11px;
  border-left: 1px dashed var(--grey-300);
  margin-bottom: 9px;
}

.proj-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
  line-height: 1.3;
}
.proj-title--result { color: var(--copper); font-size: 0.7rem; }

.proj-desc { font-size: 0.68rem; color: var(--grey-700); line-height: 1.4; }

@media (max-width: 1180px) {
  .project-flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.2fr; }
  .proj-icon-ring { width: 70px; height: 70px; }
  .proj-icon-ring--final { width: 96px; height: 96px; }
  .proj-arrow { margin-top: 30px; font-size: 1rem; }
  .proj-title { font-size: 0.7rem; }
  .proj-title--result { font-size: 0.76rem; }
  .proj-desc { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .project-flow { gap: 0; }
  .proj-icon-ring { width: 48px; height: 48px; margin-bottom: 8px; }
  .proj-icon-ring--final { width: 66px; height: 66px; }
  .proj-arrow { margin-top: 20px; font-size: 0.72rem; }
  .proj-title { font-size: 0.5rem; letter-spacing: 0; }
  .proj-title--result { font-size: 0.52rem; }
  .proj-desc { display: none; }
}

/* ---- Hero de Proyectos: compactación mobile (una sola pantalla) ---- */
@media (max-width: 480px) {
  .service-hero.service-hero--proyectos { padding: 4px 0 40px; }
  .service-hero--proyectos .hero-split { gap: 6px; }
  .service-hero--proyectos .iso-visual { max-width: 156px; }
  .service-hero--proyectos .breadcrumb { margin-bottom: 4px; }
  .service-hero--proyectos h1 { font-size: 1.85rem; margin-bottom: 4px; }
  .service-hero--proyectos .hero-highlight { font-size: 1.1rem; line-height: 1.25; margin-bottom: 4px; }
  .service-hero--proyectos .service-hero-sub { font-size: 1.02rem; line-height: 1.35; margin-bottom: 6px; }
  .service-hero--proyectos .hero-ctas { gap: 4px; }
  .service-hero--proyectos .hero-ctas .btn { padding: 12px 24px; }
}

/* ---- Cuándo te sirve: fila de íconos ---- */
.when-fits--proyectos { background: var(--blue-mist); padding: 96px 0; }

.fit-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 20px;
  margin-top: 36px;
}
.fit-icons li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fit-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.fit-icon-badge svg { width: 30px; height: 30px; }
.fit-icons p { font-size: 0.85rem; color: var(--grey-700); line-height: 1.45; max-width: 190px; }

@media (max-width: 900px) {
  .fit-icons { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .fit-icons { grid-template-columns: repeat(2, 1fr); }
  .when-fits--proyectos { padding: 64px 0; }
  .when-fits--consultoria .fit-icons li:last-child { grid-column: 1 / -1; }
}

/* ---- Qué entregamos: tarjetas ---- */
.deliverables { padding: 96px 0; background: var(--white); }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.deliverables-grid .service-card { padding: 28px 22px; }
.deliverables-grid .service-icon { width: 38px; height: 38px; margin-bottom: 18px; }
.deliverables-grid h3 { font-size: 1rem; }
.deliverables-grid p { font-size: 0.86rem; }

@media (max-width: 1100px) {
  .deliverables-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .deliverables-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .deliverables { padding: 64px 0; }
  .deliverables-grid { grid-template-columns: 1fr; }
}

.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   CONSULTORÍA EMPRESARIAL — página propia
   ========================================================================== */

/* ---- Hero: texto + lupa isométrica ---- */
.service-hero--consultoria { background: var(--blue-mist); }

.mag-visual { width: 100%; max-width: 484px; height: auto; overflow: visible; display: block; margin: 0 auto; }

.mag-connector { fill: none; stroke: var(--blue-light); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.6; }

.mag-layer { stroke-width: 1.6; }
.mag-layer--back { fill: var(--grey-100); stroke: var(--blue-light); }
.mag-layer--front { fill: #fff; stroke: var(--blue); }
.mag-layer-line { stroke: var(--grey-500); stroke-width: 2.4; stroke-linecap: round; }
.mag-layer-line--copper { stroke: var(--copper); stroke-width: 2.8; }

.mag-lens { fill: #fff; stroke: var(--blue); stroke-width: 4.5; }
.mag-lens-arc { fill: none; stroke: var(--copper); stroke-width: 4.5; stroke-linecap: round; }
.mag-handle { stroke: var(--blue); stroke-width: 9; stroke-linecap: round; }

.mag-badge circle:first-child { fill: #fff; stroke: var(--grey-300); stroke-width: 1; stroke-dasharray: 2 3; }
.mag-icon-line { stroke: var(--blue); stroke-width: 1.5; }
.mag-icon-accent { stroke: var(--copper); stroke-width: 1.5; }
.mag-icon-accent-fill { fill: var(--copper); }

/* ---- Cómo trabajamos: fondo claro específico + flujo asesor ---- */
.how-we-work--consultoria { background: var(--white); }

.advisory-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.25fr;
  align-items: start;
  gap: 0 4px;
  max-width: 1132px;
  margin: 56px auto 0;
}

.adv-stage { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }

.adv-arrow {
  justify-self: center;
  margin-top: 62px;
  color: var(--blue);
  font-size: 1.3rem;
  line-height: 1;
}

.adv-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.adv-num--result { background: var(--copper); }

.adv-icon-ring {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px dashed var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.adv-stage:first-child .adv-icon-ring { border-color: transparent; }
.adv-icon { width: 62%; height: 62%; overflow: visible; }

.adv-icon-ring--final { width: 118px; height: 118px; border: none; }
.adv-icon--final { width: 100%; height: 100%; }

.adv-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue);
  margin-bottom: 6px;
  line-height: 1.3;
}
.adv-title--result { color: var(--copper); font-size: 1rem; }

.adv-desc { font-size: 0.84rem; color: var(--grey-700); line-height: 1.45; max-width: 170px; }

@media (max-width: 1180px) {
  .adv-icon-ring { width: 76px; height: 76px; margin-bottom: 14px; }
  .adv-icon-ring--final { width: 102px; height: 102px; }
  .adv-arrow { margin-top: 54px; font-size: 1.15rem; }
  .adv-desc { font-size: 0.78rem; }
}

@media (max-width: 900px) {
  .advisory-flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.15fr; gap: 0 2px; }
  .adv-icon-ring { width: 62px; height: 62px; margin-bottom: 10px; }
  .adv-icon-ring--final { width: 84px; height: 84px; }
  .adv-num { width: 20px; height: 20px; font-size: 0.68rem; margin-bottom: 6px; }
  .adv-arrow { margin-top: 42px; font-size: 0.95rem; }
  .adv-title { font-size: 0.72rem; }
  .adv-title--result { font-size: 0.78rem; }
  .adv-desc { display: none; }
}

@media (max-width: 480px) {
  .adv-icon-ring { width: 48px; height: 48px; }
  .adv-icon-ring--final { width: 66px; height: 66px; }
  .adv-arrow { margin-top: 32px; font-size: 0.72rem; }
  .adv-title { font-size: 0.56rem; }
  .adv-title--result { font-size: 0.6rem; }
}

/* ---- Hero de Consultoría: compactación mobile (una sola pantalla) ---- */
@media (max-width: 480px) {
  .service-hero.service-hero--consultoria { padding: 8px 0 40px; }
  .service-hero--consultoria .hero-split { gap: 8px; }
  .service-hero--consultoria .mag-visual { max-width: 196px; }
  .service-hero--consultoria .breadcrumb { margin-bottom: 6px; }
  .service-hero--consultoria h1 { font-size: 1.85rem; margin-bottom: 6px; }
  .service-hero--consultoria .hero-highlight { font-size: 1.1rem; line-height: 1.25; margin-bottom: 6px; }
  .service-hero--consultoria .service-hero-sub { font-size: 1.02rem; line-height: 1.35; margin-bottom: 8px; }
  .service-hero--consultoria .hero-ctas { gap: 6px; }
  .service-hero--consultoria .hero-ctas .btn { padding: 12px 24px; }
}

/* ---- Cuándo te sirve: fondo claro específico ---- */
.when-fits--consultoria { background: var(--blue-mist); padding: 96px 0; }
@media (max-width: 560px) {
  .when-fits--consultoria { padding: 64px 0; }
}

/* ---- Método PRO-SOLUTIONS®: vista previa propia de esta página ---- */
.method-preview { padding: 96px 0; background: var(--blue-mist); }

.mp-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 2px;
  max-width: 1132px;
  margin: 44px auto 0;
}

.mp-stage { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }

.mp-arrow { justify-self: center; margin-top: 26px; color: var(--blue); font-size: 0.9rem; line-height: 1; }

.mp-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.mp-icon svg { width: 26px; height: 26px; }

.mp-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--blue);
  margin-bottom: 4px;
}
.mp-desc { font-size: 0.7rem; color: var(--grey-700); line-height: 1.4; }

.mp-link { display: block; text-align: center; margin-top: 40px; }

@media (max-width: 900px) {
  .mp-row { grid-template-columns: 1fr 1fr 1fr; gap: 24px 8px; }
  .mp-arrow { display: none; }
}
@media (max-width: 480px) {
  .method-preview { padding: 64px 0; }
  .mp-row { grid-template-columns: 1fr 1fr; }
  .mp-desc { display: none; }
}
@media (max-width: 560px) {
  .method-preview .mp-row { display: none; }
  .method-preview .mp-link { margin-top: 18px; }
}

/* ==========================================================================
   MÉTODO PRO-SOLUTIONS® — página propia (rediseño)
   ========================================================================== */

/* ---- Hero: título en tres líneas + lista de conceptos con marcas circulares ---- */
.service-hero--metodo { background: var(--blue-mist); position: relative; overflow: hidden; }
.service-hero--metodo .hero-split { grid-template-columns: 1.3fr 0.85fr; position: relative; z-index: 1; }
.h1-accent { color: var(--copper); }

.mh-texture { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.mh-texture-hex polygon { fill: none; stroke: var(--blue); stroke-width: 1; opacity: 0.06; }
.mh-texture-dot circle { fill: var(--copper); opacity: 0.12; }

.mh-flow { position: relative; max-width: 460px; z-index: 1; }
.mh-curve { position: absolute; left: 0; top: 0; width: 44px; height: 100%; overflow: visible; z-index: 0; }
.mh-curve path { fill: none; stroke: var(--grey-300); stroke-width: 1.4; stroke-dasharray: 1 5; stroke-linecap: round; }
.mh-flow .waypoint-list { position: relative; z-index: 1; gap: 34px; }
.mh-shift-right { margin-left: 34px; }
.mh-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  clip-path: none;
  box-shadow: 0 4px 14px rgba(27,42,61,0.18);
}
.mh-mark svg { width: 20px; height: 20px; }
.mh-mark--1 { background: var(--blue-light); }
.mh-mark--2 { background: var(--blue); }
.mh-mark--3 { background: var(--copper); }

@media (max-width: 860px) {
  .service-hero--metodo .hero-split { grid-template-columns: 1fr; }
  .mh-flow { max-width: 420px; margin: 0 auto; }
  .mh-shift-right { margin-left: 0; }
  .mh-curve { display: none; }
}

/* ---- Nuestro proceso flexible ---- */
.flex-process { padding: 100px 0 56px; background: var(--white); }

.fp-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  gap: 0 4px;
  max-width: 1132px;
  margin: 64px auto 0;
}
.fp-wave { position: absolute; left: 0; top: -34px; width: 100%; height: 120px; overflow: visible; z-index: 0; pointer-events: none; }
.fp-wave path { fill: none; stroke: url(#fpConnGrad); stroke-width: 2.4; stroke-dasharray: 1 6; stroke-linecap: round; }
.fp-stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }

.fp-stage:nth-child(3) { margin-top: 14px; }
.fp-stage:nth-child(4) { margin-top: 2px; }
.fp-stage:nth-child(5) { margin-top: 18px; }
.fp-stage:nth-child(6) { margin-top: 4px; }
.fp-stage:nth-child(7) { margin-top: 16px; }

.fp-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.fp-num--result { background: var(--copper); }

.fp-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.fp-icon svg { width: 28px; height: 28px; }
.fp-icon--result { border-color: var(--copper); background: #fdf6ef; }

.fp-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--blue);
  margin-bottom: 5px;
}
.fp-title--result { color: var(--copper); }
.fp-desc { font-size: 0.76rem; color: var(--grey-700); line-height: 1.4; max-width: 150px; }

.fp-loop { max-width: 1132px; margin: 24px auto 0; }
.fp-loop svg { width: 100%; height: 44px; display: block; }
.fp-loop-path { stroke: var(--copper); stroke-width: 2.4; stroke-dasharray: 3 5; fill: none; }
.fp-loop-arrow { stroke: var(--copper); stroke-width: 3; fill: none; }
.fp-loop-label {
  text-align: center;
  font-size: 0.86rem;
  color: var(--grey-700);
  margin-top: 4px;
}
.fp-loop-label strong { color: var(--copper); font-weight: 700; }

@media (max-width: 1024px) {
  .fp-row { grid-template-columns: repeat(3, 1fr); gap: 32px 8px; row-gap: 40px; margin-top: 48px; }
  .fp-wave { display: none; }
  .fp-stage { margin-top: 0 !important; }
  .fp-loop { display: none; }
}
@media (max-width: 560px) {
  .flex-process { padding: 64px 0 40px; }
  .fp-row { grid-template-columns: repeat(2, 1fr); }
  .fp-icon { width: 60px; height: 60px; }
  .fp-icon svg { width: 24px; height: 24px; }
  .fp-desc { display: none; }
}

/* ---- Qué cambia cuando trabajamos así ---- */
.works-diff { padding: 88px 0; background: var(--blue-mist); }

.wd-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
}
.wd-item { text-align: center; padding: 0 20px; border-left: 1px solid var(--grey-300); }
.wd-item:first-child { border-left: none; }
.wd-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.wd-icon svg { width: 28px; height: 28px; }
.wd-item h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.wd-item p { font-size: 0.82rem; color: var(--grey-700); line-height: 1.45; }

@media (max-width: 1024px) {
  .wd-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .wd-item:nth-child(3n+1) { border-left: none; }
}
@media (max-width: 640px) {
  .works-diff { padding: 64px 0; }
  .wd-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .wd-item:nth-child(3n+1) { border-left: 1px solid var(--grey-300); }
  .wd-item:nth-child(2n+1) { border-left: none; }
}

/* ---- Un método, distintos desafíos ---- */
.scopes { padding: 88px 0; background: var(--white); }

.scopes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.scope-card {
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.scope-icon { width: 38px; height: 38px; margin-bottom: 16px; }
.scope-icon path, .scope-icon line, .scope-icon rect, .scope-icon circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
}
.scope-icon .icon-copper { stroke: var(--copper); }
.scope-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.scope-card p { font-size: 0.8rem; color: var(--grey-700); line-height: 1.45; margin-bottom: 14px; }
.scope-card::after { content: ''; display: block; width: 22px; height: 2px; background: var(--copper); margin: 0 auto; }

@media (max-width: 1024px) {
  .scopes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .scopes { padding: 64px 0; }
  .scopes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .scopes-grid { grid-template-columns: 1fr; }
}

/* ---- De desafío a impacto ---- */
.impact-block { padding: 96px 0; background: linear-gradient(160deg, var(--graphite) 0%, var(--blue) 75%, #2c5590 100%); position: relative; overflow: hidden; }
.impact-texture { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.impact-texture-hex polygon { fill: none; stroke: var(--copper-light); stroke-width: 1; opacity: 0.08; }

.impact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.impact-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  margin-top: 40px;
}
.impact-stage { display: flex; flex-direction: column; align-items: center; text-align: center; }
.impact-arrow { color: var(--copper-light); opacity: 0.95; font-size: 1.1rem; justify-self: center; }

.impact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.impact-icon svg { width: 24px; height: 24px; }
.impact-icon--result { border-color: var(--copper-light); background: rgba(177,126,79,0.15); }
.impact-stage p { font-size: 0.78rem; color: rgba(255,255,255,0.85); font-family: var(--font-head); font-weight: 600; }

.impact-quote {
  border-left: 2px solid var(--copper);
  padding-left: 28px;
  max-width: 220px;
}
.impact-quote p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .impact-inner { grid-template-columns: 1fr; gap: 40px; }
  .impact-quote { border-left: none; border-top: 2px solid var(--copper); padding-left: 0; padding-top: 20px; max-width: 100%; }
}
@media (max-width: 760px) {
  .impact-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .impact-arrow { display: none; }
}
@media (max-width: 480px) {
  .impact-block { padding: 64px 0; }
  .impact-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---- CTA final: isotipo real como marca de agua grande y tenue ---- */
.page-metodo .cta-final-mark {
  width: 56%;
  max-width: 620px;
  max-height: none;
  opacity: 0.12;
  bottom: -22%;
  right: -8%;
}
@media (max-width: 640px) {
  .page-metodo .cta-final-mark { width: 78%; opacity: 0.1; }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP — sitio completo
   Componente único reutilizado en las 5 páginas. Ver js/main.js para la
   configuración central (número y mensajes por página).
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(27,42,61,0.28);
  z-index: 70;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,42,61,0.32); }
.whatsapp-fab:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }
.whatsapp-fab-icon { width: 28px; height: 28px; fill: #fff; display: block; }
.whatsapp-fab[aria-disabled="true"] { opacity: 0.45; pointer-events: none; cursor: default; }

@media (max-width: 480px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab-icon { width: 25px; height: 25px; }
}

@media (max-width: 480px) and (max-height: 700px) {
  .whatsapp-fab { bottom: 10px; width: 48px; height: 48px; }
  .whatsapp-fab-icon { width: 22px; height: 22px; }
}

@media (max-width: 480px) and (max-height: 700px) {
  .whatsapp-fab[data-source="home"] {
    bottom: max(8px, calc(env(safe-area-inset-bottom) + 6px));
    width: 40px;
    height: 40px;
  }
  .whatsapp-fab[data-source="home"] .whatsapp-fab-icon { width: 18px; height: 18px; }
}

/* ==========================================================================
   HERO DE HOME — ajuste visual puntual (fondo, isotipo, CTA principal)
   ========================================================================== */

/* Isotipo lateral flotando sobre el fondo: mismo archivo real, sin escala
   de grises, sin placa/caja detrás — solo una sombra suave y difusa para
   profundidad. El tratamiento pleno solo cabe sin tocar el titular en
   pantallas anchas; por debajo de ese ancho se mantiene un tratamiento
   sutil (mismo color real, sin gris) para nunca superponerse al texto. */
.hero-mark-depth {
  opacity: 0.1;
  filter: drop-shadow(0 12px 22px rgba(27,42,61,0.12));
}

/* Trama nodal muy discreta, solo decorativa, detrás del isotipo */
.hero-node-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}
.hero-node-texture line { stroke: var(--blue); stroke-width: 1; }
.hero-node-texture circle { fill: var(--copper); }

@media (min-width: 1420px) {
  .hero .wm--corner-tr { top: 14%; right: 2%; width: 30%; max-width: 320px; z-index: 1; }
  .hero-mark-depth {
    opacity: 0.85;
    filter: drop-shadow(0 26px 40px rgba(27,42,61,0.2));
  }
}

/* CTA principal del Hero: mayor protagonismo cobre, degradado muy sutil */
.hero .btn-primary { background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%); filter: brightness(0.9); color: var(--graphite); }
.hero .btn-primary:hover { filter: brightness(0.84); transform: translateY(-2px); }
