/*
Theme Name: Mariana Karesky
Description: Identidad MK para contenidos y Simple Job Board.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: mariana-karesky
*/
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/newsreader-display.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colores del logo */
  --petrol: #0c2c31;
  --petrol-2: #133a40;
  --sage: #446463;
  --sage-soft: #dfe8e4;
  --straw: #ede9a9;
  --straw-deep: #e0da8e;
  --straw-soft: #f7f5dc;
  --ink: #0c2c31;
  --ink-2: #3e5456;
  --line: #e0e6e2;
  --white: #ffffff;

  /* La serif sólo habla en los titulares; todo lo que se lee va en sans */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --header-h: 76px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.022em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.7rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--petrol); color: var(--white); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.55; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; padding-inline: 28px; font-size: 1.05rem; }
.btn-dark { background: var(--petrol); color: var(--white); }
.btn-dark:hover { background: var(--sage); }
.btn-straw { background: var(--straw); color: var(--petrol); }
.btn-straw:hover { background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: color .2s, text-underline-offset .2s; }
.text-link:hover { color: var(--sage); text-underline-offset: 8px; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand img { width: 196px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { position: relative; font-size: .97rem; font-weight: 500; text-decoration: none; padding-block: 6px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { min-height: 42px; padding-inline: 18px; font-size: .95rem; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }
.menu-toggle .i { width: 22px; height: 22px; }

/* Inicio */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 1.4rem + 4.9vw, 6rem); line-height: .95; letter-spacing: -0.035em; }
.hero-sub { margin-top: 28px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.hero-text { margin-top: 12px; max-width: 34em; color: var(--ink-2); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* La carpeta de la búsqueda: todo se mide en relación con su ancho */
.dossier { position: relative; container-type: inline-size; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1 / .92; }
.dossier > * { position: absolute; }
.folder-back { inset: 17% 3% 3% 3%; background: var(--straw-deep); border-radius: 0 3cqi 3cqi 3cqi; }
.folder-tab { position: absolute; left: 0; bottom: calc(100% - 1px); display: flex; align-items: center; gap: 1.8cqi; height: 7cqi; padding: 0 4.4cqi 0 3.6cqi; background: var(--straw-deep); border-radius: 2.6cqi 2.6cqi 0 0; color: var(--petrol); font-size: 2.7cqi; font-weight: 600; white-space: nowrap; }
.folder-tab::before { content: ''; width: 1.7cqi; height: 1.7cqi; border-radius: 50%; background: var(--sage); }

.fichas { inset: 5% 2% auto 20%; height: 60%; }
.ficha { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: 1.5cqi; width: 30cqi; height: 42cqi; padding: 3cqi; background: var(--white); border-radius: 2.2cqi; box-shadow: 0 1.4cqi 3.6cqi -1.4cqi rgba(12, 44, 49, .28), 0 0 0 1px rgba(12, 44, 49, .06); transition: transform .5s var(--ease); }
.ficha:nth-child(1) { left: 0; top: 11cqi; rotate: -8deg; --c: var(--sage-soft); }
.ficha:nth-child(2) { left: 23cqi; top: 1cqi; rotate: 1.5deg; --c: var(--straw); }
.ficha:nth-child(3) { left: 46cqi; top: 7cqi; rotate: 8deg; --c: #d9e4ea; }
.ficha-avatar { display: grid; place-items: center; width: 8cqi; height: 8cqi; border-radius: 50%; background: var(--c); color: var(--petrol); font-size: 3.4cqi; font-weight: 600; }
.ficha-name { font-size: 2.9cqi; font-weight: 600; line-height: 1.2; }
.ficha-lines { display: grid; gap: 1.2cqi; }
.ficha-lines i { display: block; height: 1.2cqi; border-radius: 1cqi; background: #e7ece9; }
.ficha-lines i + i { width: 65%; }
.ficha-tag { display: inline-flex; align-items: center; align-self: flex-start; gap: .8cqi; padding: .9cqi 1.8cqi .9cqi 1.3cqi; border-radius: 99px; background: var(--straw-soft); color: var(--petrol); font-size: 2.3cqi; font-weight: 600; }
.ficha-tag .i { width: 2.6cqi; height: 2.6cqi; stroke-width: 2.4; }
.dossier:hover .ficha { transform: translateY(-3.5cqi); }
.dossier:hover .ficha:nth-child(2) { transform: translateY(-5cqi); transition-delay: .04s; }
.dossier:hover .ficha:nth-child(3) { transition-delay: .08s; }

.folder-front { left: 3%; right: 3%; bottom: 3%; height: 48%; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 5cqi 5.4cqi 4.6cqi; background: linear-gradient(180deg, #f3f0bf 0%, var(--straw) 55%); border-radius: 3cqi; box-shadow: 0 -2cqi 4cqi -2.6cqi rgba(12, 44, 49, .35), inset 0 1px 0 rgba(255, 255, 255, .8); }
.folder-title { font-family: var(--serif); font-size: 6.4cqi; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.folder-step { margin-top: 1.6cqi; color: var(--ink-2); font-size: 2.8cqi; font-weight: 500; }
.segs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.segs i { height: 6px; border-radius: 3px; background: rgba(12, 44, 49, .14); overflow: hidden; }
.segs i::before { content: ''; display: block; height: 100%; background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.segs i.is-on::before { transform: scaleX(1); }
.segs-hero { gap: 1cqi; max-width: 62%; margin-top: 3cqi; }
.segs-hero i { height: 1.3cqi; }
.segs-hero i[style]::before { transform: scaleX(1); }
.folder-owner { display: flex; align-items: center; gap: 2cqi; font-size: 2.5cqi; line-height: 1.3; color: var(--ink-2); }
.folder-owner img { width: 7.6cqi; height: 7.6cqi; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .5cqi var(--white); }
.folder-owner strong { display: block; color: var(--ink); font-weight: 600; }

.report-note { right: 0; top: -2%; z-index: 3; display: flex; align-items: center; gap: 2cqi; padding: 2cqi 3.4cqi 2cqi 2cqi; background: var(--white); border-radius: 2.4cqi; box-shadow: 0 2.4cqi 6cqi -2.4cqi rgba(12, 44, 49, .35), 0 0 0 1px rgba(12, 44, 49, .05); font-size: 2.5cqi; line-height: 1.3; color: var(--ink-2); }
.report-note strong { display: block; color: var(--ink); font-weight: 600; }
.report-check { display: grid; place-items: center; width: 6cqi; height: 6cqi; border-radius: 50%; background: var(--petrol); color: var(--straw); }
.report-check .i { width: 3.4cqi; height: 3.4cqi; stroke-width: 2.4; }

/* Estampilla: bordes troquelados con una máscara de círculos */
.stamp, .stamp-paper {
  --r: 1.1cqi;
  -webkit-mask:
    radial-gradient(circle, #0000 calc(var(--r) - .5px), #000 var(--r)) calc(var(--r) * -1.3) calc(var(--r) * -1.3) / calc(var(--r) * 2.6) calc(var(--r) * 2.6) round,
    linear-gradient(#000 0 0) center / calc(100% - var(--r) * 2) calc(100% - var(--r) * 2) no-repeat;
  mask:
    radial-gradient(circle, #0000 calc(var(--r) - .5px), #000 var(--r)) calc(var(--r) * -1.3) calc(var(--r) * -1.3) / calc(var(--r) * 2.6) calc(var(--r) * 2.6) round,
    linear-gradient(#000 0 0) center / calc(100% - var(--r) * 2) calc(100% - var(--r) * 2) no-repeat;
}
.stamp { right: 5%; bottom: 7%; z-index: 4; display: grid; place-content: center; width: 19cqi; aspect-ratio: .86; rotate: 7deg; background: var(--petrol); color: var(--straw); text-align: center; line-height: 1; }
.stamp::before { content: ''; position: absolute; inset: 2.6cqi; border: 1px solid rgba(237, 233, 169, .45); }
.stamp span { font-size: 2.3cqi; font-weight: 500; }
.stamp strong { margin-top: .6cqi; font-family: var(--serif); font-size: 6.4cqi; font-weight: 500; letter-spacing: -0.02em; }

/* El único momento orquestado: la carpeta se arma al cargar */
@media (prefers-reduced-motion: no-preference) {
  .js .folder-back, .js .folder-front { animation: rise .8s var(--ease) both; }
  .js .folder-front { animation-delay: .08s; }
  .js .ficha { animation: ficha-out .9s var(--ease) both; animation-delay: calc(.5s + var(--i) * .15s); }
  .js .segs-hero i[style]::before { animation: seg-fill .45s var(--ease) both; animation-delay: calc(1.2s + var(--n) * .13s); }
  .js .report-note { animation: pop .6s var(--ease) 2s both; }
  .js .stamp { animation: stamp .55s cubic-bezier(.3, 1.4, .5, 1) 2.35s both; }
  .js .folder-tab::before { animation: pulse 2.4s ease-out 2.8s infinite; }
}
@keyframes rise { from { opacity: 0; translate: 0 8cqi; } }
@keyframes ficha-out { from { opacity: 0; translate: 0 16cqi; } }
@keyframes seg-fill { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; translate: 0 3cqi; scale: .92; } }
@keyframes stamp { 0% { opacity: 0; scale: 1.8; } 60% { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(68, 100, 99, .5); } 70%, 100% { box-shadow: 0 0 0 1.6cqi rgba(68, 100, 99, 0); } }

/* Cifras */
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(64px, 8vw, 104px); }
.counters div { display: flex; flex-direction: column-reverse; }
.counters dd { padding-bottom: 20px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(3rem, 2rem + 3.2vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.counters dt { margin-top: 14px; font-weight: 600; }

/* Enfoque */
.approach { padding-top: 0; }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); align-items: start; padding-top: var(--section); background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.approach-copy p + p { margin-top: 20px; }

.sectors { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); margin-top: clamp(72px, 9vw, 120px); }
.sectors-intro h3 { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.sectors-intro p { margin-top: 16px; max-width: 26em; color: var(--ink-2); }
.sectors-intro a { color: var(--ink); font-weight: 600; text-underline-offset: 5px; }
.sector-search { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 36px -22px rgba(12, 44, 49, .45); font-size: 1.2rem; font-weight: 500; }
.sector-search .i { width: 22px; height: 22px; color: var(--sage); }
.sector-typed { overflow: hidden; white-space: nowrap; }
.caret { width: 2px; height: 1.35em; margin-left: 2px; background: var(--petrol); }
.js .caret { animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sector-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sector-list li { padding: 8px 15px; border-radius: 999px; background: var(--straw-soft); font-size: .95rem; font-weight: 500; line-height: 1.3; cursor: default; transition: background-color .3s, color .3s; }
.sector-list li.is-on { background: var(--petrol); color: var(--straw); }

.quote { margin-top: clamp(88px, 11vw, 150px); }
.quote blockquote { max-width: 20em; font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.4rem); }
.quote blockquote::before { content: '“'; display: block; height: .5em; font-family: var(--serif); font-size: 2.4em; line-height: .9; color: var(--sage); }
.quote p { font-family: var(--serif); font-size: inherit; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.quote p::after { content: '”'; color: var(--sage); }
.quote figcaption { margin-top: 28px; color: var(--ink-2); font-weight: 600; }

/* Proceso de selección */
.process { background: var(--straw-soft); }
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.process-side { position: sticky; top: calc(var(--header-h) + 40px); }
.tracker { display: none; }
.js .tracker { display: block; margin-top: 36px; padding: 24px 26px 26px; background: var(--straw); border-radius: var(--radius); }
.tracker-count { display: flex; align-items: baseline; gap: 8px; color: var(--sage); font-weight: 600; }
.tracker-count strong { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--petrol); }
.tracker-name { min-height: 2.7em; margin: 8px 0 18px; font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.process-aside { margin-top: 20px; color: var(--ink-2); font-size: .98rem; }
.process-aside strong { color: var(--ink); }

.steps { counter-reset: step; }
.step { counter-increment: step; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
/* Conector entre pasos: se completa a medida que se avanza con el scroll */
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; border-radius: 1px; background: rgba(12, 44, 49, .14); }
.step:not(:last-child)::after { background: var(--petrol); transform: scaleY(var(--f, 0)); transform-origin: top; }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(12, 44, 49, .25); border-radius: 50%; background: var(--straw-soft); font-weight: 600; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.step-node::before { content: counter(step); }
.step.is-past .step-node, .step.is-active .step-node { border-color: var(--petrol); background: var(--petrol); color: var(--straw); }
.step.is-active .step-node { transform: scale(1.08); }
.step h3 { padding-top: 9px; font-size: 1.2rem; }
.step p { margin-top: 6px; max-width: 34em; color: var(--ink-2); }

.pillars { margin-bottom: clamp(88px, 11vw, 144px); }
.pillars-title { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pillar { display: flex; flex-direction: column; min-height: 280px; padding: 28px 26px; background: var(--white); border-radius: var(--radius); }
.pillar h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
.pillar p { margin-top: auto; padding-top: 28px; color: var(--ink-2); }
.pillar-cta { position: relative; overflow: hidden; background: var(--petrol); color: var(--white); text-decoration: none; transition: background-color .3s; }
.pillar-cta:hover { background: var(--petrol-2); }
.pillar-mk { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 8px; background: var(--straw); color: var(--petrol); font-weight: 600; letter-spacing: .02em; }
.pillar-cta strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; color: var(--straw); }
.pillar-cta > span:not([class]) { margin: 12px 0 28px; color: rgba(255, 255, 255, .8); }
.pillar-cta .btn { align-self: flex-start; margin-top: auto; }
.pillar-cta:hover .btn { background: var(--white); }

/* Outplacement */
.outplacement { background: var(--petrol); color: var(--white); }
.outplacement h2 { color: var(--straw); }
.outplacement .lead { max-width: 36em; margin-top: 20px; color: rgba(255, 255, 255, .84); }

.out-program { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: center; margin-top: clamp(72px, 9vw, 120px); }
.arc { display: block; width: 100%; height: auto; overflow: visible; }
.arc-seg { transform-origin: 200px 200px; transition: opacity .35s, transform .5s var(--ease); cursor: default; }
.arc-seg path { fill: var(--c); }
.arc-seg text { fill: var(--petrol); font-family: var(--serif); font-size: 26px; font-weight: 500; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.arc-total { fill: var(--straw); font-family: var(--serif); font-size: 72px; font-weight: 500; text-anchor: middle; }
.arc-label { fill: rgba(255, 255, 255, .78); font-family: var(--sans); font-size: 15px; font-weight: 500; text-anchor: middle; }
.js [data-arc]:not(.is-in) .arc-seg { opacity: 0; transform: rotate(-14deg) scale(.9); }
.js [data-arc]:not(.is-ready) .arc-seg { transition-delay: calc(var(--n) * .14s); transition-duration: .5s, .8s; }
[data-arc][data-active] .arc-seg:not(.is-active) { opacity: .3; }
[data-arc] .arc-seg.is-active { transform: scale(1.03); }

.out-meetings h3 { color: var(--straw); font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.meetings { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); }
.meetings li { display: flex; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 1.08rem; transition: color .3s; cursor: default; }
.meet-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--petrol); font-weight: 600; font-size: .95rem; }
[data-arc][data-active] .meetings li:not(.is-active) { color: rgba(255, 255, 255, .45); }

.out-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(72px, 9vw, 112px); }
.out-grid > div { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.out-grid h3 { color: var(--straw); }
.dash-list { display: grid; gap: 10px; margin-top: 14px; }
.dash-list li { position: relative; padding-left: 22px; color: rgba(255, 255, 255, .84); }
.dash-list li::before { content: ''; position: absolute; left: 0; top: .82em; width: 11px; height: 1.5px; background: var(--straw); }
.out-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(56px, 7vw, 88px); padding: 28px 32px; background: var(--petrol-2); border-radius: var(--radius); }
.out-cta p { max-width: 32em; font-size: 1.2rem; font-weight: 500; }

/* Sobre Mariana */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-visual { display: grid; place-items: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px); background: var(--straw); border-radius: var(--radius); }
.stamp-photo { width: min(100%, 360px); rotate: -3deg; filter: drop-shadow(0 22px 30px rgba(12, 44, 49, .2)) drop-shadow(0 2px 3px rgba(12, 44, 49, .12)); transition: rotate .6s var(--ease); }
.stamp-photo:hover { rotate: 0deg; }
.stamp-paper { --r: 8px; padding: 22px 22px 0; background: var(--white); }
.stamp-paper img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stamp-paper figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 2px 22px; }
.stamp-paper figcaption strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; }
.stamp-paper figcaption span { color: var(--ink-2); font-size: .92rem; }
.about-copy .lead { margin-top: 24px; }
.about-copy p + p { margin-top: 14px; color: var(--ink-2); }
.credentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 32px; border-top: 1px solid var(--line); }
.credentials div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.credentials dt { font-weight: 600; line-height: 1.35; }
.credentials dd { margin-top: 2px; color: var(--ink-2); font-size: .95rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 28px; }

/* Búsquedas */
.jobs { padding-top: 0; }
.jobs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.job-list { margin-top: 36px; border-top: 1px solid var(--ink); }
.job-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 13em) 4em; align-items: baseline; gap: 6px 28px; padding: 20px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--straw-soft), var(--straw-soft)) no-repeat left / 0% 100%; text-decoration: none; transition: background-size .45s var(--ease); }
.job-list a:hover, .job-list a:focus-visible { background-size: 100% 100%; }
.job-title { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.job-org, .job-place { color: var(--ink-2); font-size: .95rem; }
.job-place { grid-column: 3; text-align: right; }

/* Preguntas frecuentes */
.faq { background: var(--straw-soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid #dcd9b4; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; font-size: 1.1rem; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--petrol) 0 0) center / 100% 1.75px no-repeat, linear-gradient(var(--petrol) 0 0) center / 1.75px 100% no-repeat; transition: rotate .35s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list summary:hover { color: var(--sage); }
.faq-list details p { max-width: 40em; padding-bottom: 24px; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
  @media (prefers-reduced-motion: reduce) { .faq-list details::details-content { transition: none; } }
}

/* Blog */
.blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: 40px; }
.post { position: relative; }
.post-media { overflow: hidden; border-radius: 10px; }
.post-media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; transition: scale .6s var(--ease); }
.post:hover .post-media img { scale: 1.04; }
.post-date { margin-top: 18px; color: var(--sage); font-size: .92rem; font-weight: 500; }
.post h3 { margin-top: 6px; font-size: 1.2rem; line-height: 1.3; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ''; position: absolute; inset: 0; }
.post:hover h3 a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.post p:last-child { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }

/* Contacto */
.contact { background: var(--straw); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 36px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list .i { margin-top: .3em; }
.contact-list a { font-weight: 600; text-underline-offset: 5px; overflow-wrap: anywhere; }
.social { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(12, 44, 49, .22); }
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 5px; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(24px, 3vw, 40px); background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(12, 44, 49, .45); }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 600; }
.opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #bfcac7; border-radius: 10px; background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px var(--straw); }
.field .is-invalid { border-color: #9b2c2c; background: #fbf1f1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: .98rem; }
.form-status.is-error { color: #9b2c2c; font-weight: 600; }

/* Pie */
.site-footer { padding-top: clamp(72px, 9vw, 120px); background: var(--petrol); color: var(--white); overflow: clip; }
.outplacement :focus-visible, .site-footer :focus-visible { outline-color: var(--straw); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.5fr); gap: 48px clamp(24px, 3.5vw, 48px); }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-mk { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 10px; background: var(--straw); color: var(--petrol); font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; }
.footer-logo strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; color: var(--straw); }
.footer-logo span:not([class]) { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.footer-about { max-width: 24em; margin-top: 24px; color: rgba(255, 255, 255, .78); }
.footer-col h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--straw); }
.footer-col ul { display: grid; gap: 12px; margin-top: 18px; }
.footer-col a { text-decoration: none; background: linear-gradient(currentColor 0 0) left 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.footer-col a:hover { color: var(--straw); background-size: 100% 1px; }
.footer-contact li { color: rgba(255, 255, 255, .86); line-height: 1.45; }
.footer-contact span { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, .56); font-size: .88rem; }
.footer-contact a { overflow-wrap: anywhere; }

/* El nombre, de lado a lado: con scroll, sube desde el borde */
.footer-word { display: flex; justify-content: space-between; margin-top: clamp(64px, 8vw, 104px); overflow: clip; font-family: var(--serif); font-size: 13.2cqi; font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; color: var(--straw); white-space: nowrap; view-timeline: --footer-word; }
.site-footer .wrap { container-type: inline-size; }
.footer-word span { display: block; padding-bottom: .13em; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .footer-word span { animation: word-rise linear both; animation-timeline: --footer-word; animation-range: entry 0% entry 90%; }
    .footer-word span + span { animation-range: entry 15% entry 100%; }
  }
}
@keyframes word-rise { from { translate: 0 80%; } }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .64); font-size: .92rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .86); font-weight: 500; text-decoration: none; transition: color .2s; }
.footer-social a:hover { color: var(--straw); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(12, 44, 49, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--sage); }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { min-height: 230px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .dossier { justify-self: start; max-width: 520px; }
  .approach-grid, .sectors, .process-grid, .out-program, .about-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .process-side { position: static; }
  .js .tracker { display: none; }
  .out-program { gap: 32px; }
  .arc-figure { max-width: 480px; }
  .out-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-visual { max-width: 520px; }
  .post-list { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .job-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .job-title { grid-column: 1 / -1; }
  .job-place { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand img { width: 160px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-actions { gap: 14px 24px; }
  .counters { gap: 14px; }
  .counters dt { font-size: .9rem; line-height: 1.3; }
  .sector-search { height: 56px; padding-inline: 18px; font-size: 1.05rem; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-bottom: 36px; }
  .step-node { width: 40px; height: 40px; }
  .step:not(:last-child)::before, .step:not(:last-child)::after { left: 19px; top: 46px; }
  .step h3 { padding-top: 7px; }
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 0; }
  .pillar p { padding-top: 16px; }
  .out-cta { padding: 22px 20px; }
  .credentials { grid-template-columns: minmax(0, 1fr); }
  .job-list a { padding-inline: 6px; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
