/* Consultoría: va encima de /site.css. Blanco y negro, Inter, filas como el menú.
   Lo que es común a /consultoria/ y a las páginas de cada servicio. */

main { flex: 1; padding: clamp(40px, 9vh, 120px) var(--pad) 0; }
footer { margin-top: clamp(64px, 14vh, 160px); }

.kicker .sep { opacity: .35; }
.notice { font-size: var(--ui); margin: calc(-1 * clamp(14px, 3vh, 40px)) 0 clamp(28px, 5vh, 56px); }
.notice:empty { display: none; }

/* ---------- Apertura ---------- */
.c-eyebrow { font-size: var(--ui); margin-bottom: clamp(16px, 2.6vh, 28px); }
.c-title {
  max-width: 13.5em;
  font-size: clamp(40px, 5.6vw, 112px);
  font-weight: 400; line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
}
.c-intro {
  max-width: 24em;
  margin-top: clamp(40px, 8vh, 96px);
  font-size: clamp(22px, 2.15vw, 42px);
  line-height: 1.28; letter-spacing: -.012em;
}
.c-intro p + p { margin-top: .8em; }
.c-intro .solo { margin-top: 1.1em; }

/* Subrayado a mano, el de Sobre mí: se dibuja al llegar */
.mark { position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: -.06em; right: -.06em; bottom: -.16em; width: calc(100% + .12em); height: .32em; overflow: visible; pointer-events: none; }
.mark svg { clip-path: inset(-50% 100% -50% -2%); }
.mark path { fill: none; stroke: var(--fg); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mark.drawn svg { clip-path: inset(-50% -2% -50% -2%); transition: clip-path .8s cubic-bezier(.6,0,.3,1) .2s; }

/* ---------- Secciones ---------- */
.c-sec { margin-top: clamp(96px, 18vh, 220px); }
.c-label {
  display: flex; gap: 1.2em;
  padding-top: .7em;
  border-top: 1px solid var(--line);
  font-size: var(--ui);
  margin-bottom: clamp(28px, 5vh, 64px);
}
.c-label span:first-child { font-variant-numeric: tabular-nums; }
.c-h2 {
  max-width: 16em;
  font-size: clamp(32px, 3.6vw, 70px);
  font-weight: 400; line-height: 1.06; letter-spacing: -.028em;
  text-wrap: balance;
}
.c-text {
  max-width: 34em;
  margin-top: clamp(24px, 4vh, 44px);
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.6;
}
.c-text p + p { margin-top: 1em; }
.c-text strong { font-weight: 500; }
.c-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.c-cols .c-text { margin-top: 0; }

/* ---------- El servicio principal ---------- */
.c-feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px);
  padding: clamp(24px, 4vh, 48px) 0 clamp(36px, 6vh, 72px);
  border-top: 2px solid var(--fg);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(28px, 5vh, 56px);
  position: relative;
}
.c-feature-tag { font-size: var(--ui); grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1em; }
.c-feature h3 {
  font-size: clamp(42px, 5.2vw, 104px);
  font-weight: 400; line-height: 1; letter-spacing: -.035em;
}
.c-feature h3 a::after { content: ''; position: absolute; inset: 0; }   /* todo el bloque lleva a la página */
.c-feature .pitch { font-size: clamp(20px, 1.7vw, 32px); line-height: 1.3; letter-spacing: -.01em; }
.c-feature .what { margin-top: 1.2em; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.6; }
.c-more {
  display: inline-flex; align-items: baseline; gap: .5em;
  margin-top: 1.6em;
  font-size: var(--ui);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.c-more .arr { display: inline-block; transition: transform .35s var(--ease); }
@media (hover: hover) {
  .c-feature:hover .c-more .arr, .c-more:hover .arr { transform: translateX(.35em); }
  .c-feature h3 { transition: opacity .25s; }
  .c-feature:hover h3 { opacity: .6; }
}

/* Los otros dos servicios: filas de site.css con algo más de texto */
.c-rows { margin-top: clamp(28px, 5vh, 56px); }
.c-rows .row { padding: .7em 0 .9em; }
.c-rows .meta { max-width: 40em; line-height: 1.45; }

/* ---------- Listas de cosas que trabajamos ---------- */
.c-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 96px);
  margin-top: clamp(28px, 5vh, 56px);
  border-top: 1px solid var(--line);
}
.c-list li {
  display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-items: baseline;
  padding: .7em 0 .75em;
  border-bottom: 1px solid var(--line);
  font-size: clamp(19px, 1.5vw, 28px); line-height: 1.25; letter-spacing: -.01em;
}
.c-list li small { font-size: var(--ui); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.c-list li span span { display: block; margin-top: .35em; font-size: clamp(15px, 1vw, 18px); line-height: 1.5; letter-spacing: 0; opacity: .62; }

/* Especialidades: dos columnas con su explicación */
.c-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vh, 72px) clamp(24px, 5vw, 96px);
  margin-top: clamp(28px, 5vh, 56px);
}
.c-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-grid > div { padding-top: .8em; border-top: 1px solid var(--line); }
.c-grid h3 { font-size: clamp(24px, 2.2vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.c-grid p { margin-top: .8em; max-width: 30em; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.55; }

/* Comunidad y fundadores: el único bloque en negativo */
.c-invert {
  margin-top: clamp(56px, 10vh, 120px);
  margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad));
  padding: clamp(48px, 9vh, 112px) var(--pad);
  background: var(--fg); color: var(--bg);
  transition: background-color .6s ease, color .6s ease;
}
.c-invert .c-label { border-top-color: currentColor; opacity: 1; }
.c-invert .c-label, .c-invert .c-h2 { color: inherit; }
.c-invert .c-flow {
  margin-top: clamp(28px, 5vh, 56px);
  font-size: clamp(20px, 1.8vw, 34px); line-height: 1.45; letter-spacing: -.01em;
  max-width: 30em;
}
.c-invert .c-flow { display: flex; flex-wrap: wrap; row-gap: .15em; }
.c-invert .c-flow span { white-space: nowrap; }
.c-invert .c-flow span:not(:last-child)::after { content: '/'; margin: 0 .45em; opacity: .4; }

/* Experiencia: filas sin enlace, así que no se apagan al pasar */
.c-exp .row { grid-template-columns: minmax(0, 1fr) auto; }
@media (hover: hover) { .rows.c-exp:hover .row { opacity: 1; } }
.c-exp + .c-text { font-size: var(--ui); }

/* Pasos para empezar */
.c-steps {
  list-style: none; counter-reset: paso;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(28px, 5vh, 56px);
}
.c-steps li { counter-increment: paso; padding-top: .8em; border-top: 1px solid var(--line); }
.c-steps li::before { content: counter(paso, decimal-leading-zero); display: block; font-size: var(--ui); font-variant-numeric: tabular-nums; }
.c-steps h3 { margin-top: .9em; font-size: clamp(22px, 1.9vw, 36px); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; }
.c-steps p { margin-top: .7em; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.55; }

/* Fases de un proyecto: una fila por fase */
.c-phases { list-style: none; margin-top: clamp(28px, 5vh, 56px); border-top: 1px solid var(--line); }
.c-phases li {
  display: grid; grid-template-columns: minmax(120px, .9fr) minmax(0, 2fr); column-gap: clamp(24px, 5vw, 96px);
  padding: 1em 0 1.15em; border-bottom: 1px solid var(--line);
}
.c-phases h3 { font-size: clamp(22px, 2vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.c-phases h3 small { display: block; margin-bottom: .45em; font-size: var(--ui); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.c-phases p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.55; max-width: 34em; }

/* Te va bien / no te va bien */
.c-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 96px); margin-top: clamp(28px, 5vh, 56px); }
.c-fit h3 { font-size: var(--ui); font-weight: 400; padding-bottom: .7em; border-bottom: 1px solid var(--line); }
.c-fit ul { list-style: none; }
.c-fit li { padding: .7em 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.3vw, 23px); line-height: 1.4; }
.c-fit .no li { opacity: .62; }

/* ---------- Llamada final ---------- */
.c-cta { margin-top: clamp(112px, 20vh, 240px); }
.c-cta-link {
  display: inline;
  font-size: clamp(48px, 8.4vw, 168px);
  line-height: 1; letter-spacing: -.045em;
}
.c-cta-link .arr { display: inline-block; margin-left: .2em; font-size: .7em; transition: transform .45s var(--ease); }
.c-cta-link .mark svg { bottom: -.1em; height: .16em; }
@media (hover: hover) { .c-cta-link:hover .arr { transform: translate(.12em, -.12em); } }
.c-cta-note { margin-top: clamp(20px, 3vh, 36px); max-width: 30em; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.5; }
.c-cta-note a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.c-cta-note a:hover { opacity: .6; }

/* Las otras formas de trabajar, al final de cada servicio */
.c-others { margin-top: clamp(96px, 16vh, 200px); }

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
  .c-feature, .c-cols, .c-grid, .c-grid-3, .c-fit { grid-template-columns: 1fr; }
  .c-list { grid-template-columns: 1fr; }
  .c-steps { grid-template-columns: 1fr; gap: 28px; }
  .c-phases li { grid-template-columns: 1fr; row-gap: .6em; }
}
@media (max-width: 720px) {
  .c-invert .c-flow span { white-space: normal; }
  .c-feature-tag { flex-direction: column; gap: .2em; }
}

@media (prefers-reduced-motion: reduce) {
  .mark svg { clip-path: none; }
  .mark.drawn svg, .c-more .arr, .c-cta-link .arr { transition: none; }
}
