/* Cartel Xtoico — one system for the homepage and legal pages. */
:root {
  color-scheme: dark;
  --black: #0d0d0d;
  --charcoal: #111111;
  --graphite: #202020;
  --panel: #262626;
  --accent: #616161;
  --cta: #f4f4f4;
  --highlight: #dedede;
  --ambient: #0b0b0b;
  --glow: #464646;
  --accent-text: #eeeeee;
  --white: #fafafa;
  --muted: #c7c7c7;
  --line: #353535;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--black); color: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
main:focus { outline: none; }
::selection { background: var(--accent); color: #ffffff; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { color: #ffffff; font-weight: 900; letter-spacing: -.045em; }
.wrap { width: min(100% - 3rem, 1320px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .75rem 1rem; border-radius: 6px; background: var(--cta); color: #111111; }
.skip-link:focus { top: 1rem; }

/* A single, available next step at every point in the long page. */
.site-header { position: sticky; top: 0; z-index: 50; background: #121212f5; border-bottom: 1px solid #ffffff14; backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 100%; min-height: 44px; line-height: 1.05; }
.brand:hover { color: var(--white); }
.site-header .brand { width: 212px; min-width: 0; flex-shrink: 1; }
.brand-logo { width: 100%; height: auto; object-fit: contain; }
.brand-by { display: block; margin-top: .5rem; margin-left: 5%; font-size: .75rem; letter-spacing: .11em; line-height: 1; color: #9d9d9d; }
.desktop-nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d4d4d4; font-size: .89rem; font-weight: 700; }
.desktop-nav a:hover { color: #ffffff; }
.header-cta { display: inline-flex; flex-shrink: 0; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1.05rem; border: 1px solid var(--cta); border-radius: 6px; background: var(--cta); color: #111111; font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; white-space: nowrap; transition: background .18s; }
.header-cta:hover { color: #111111; background: var(--highlight); border-color: var(--highlight); }
.external { margin-left: .5em; font-size: .95em; }
.cta-mobile, .mobile-menu { display: none; }

/* The split hero carries the offer, primary action and earnings clarity together. */
.hero { padding: 2rem 0 2.7rem; background: var(--charcoal); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 58% 42%; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #141414; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2.8rem 3rem; }
.eyebrow { margin: 0 0 1.25rem; font-size: .875rem; line-height: 1.5; font-weight: 800; letter-spacing: .105em; color: var(--accent-text); }
.hero h1 { margin: 0 0 1.35rem; font-size: clamp(2.5rem,3.5vw,3.8rem); line-height: 1.06; letter-spacing: -.047em; }
.hero-title-part { display: block; text-wrap: balance; }
.hero h1 strong, #modelo h2 strong { color: var(--highlight); }
.hero-lede { max-width: 58ch; margin: 0 0 1.55rem; font-size: 1.13rem; line-height: 1.55; color: #e5e5e5; }
.story-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9rem 1.35rem; border: 1px solid transparent; border-radius: 6px; font-size: .875rem; font-weight: 800; line-height: 1.35; letter-spacing: .025em; text-align: center; transition: background .18s, border-color .18s, color .18s; }
.button-primary { background: var(--cta); border-color: var(--cta); color: #111111; box-shadow: 0 3px 12px #00000022; }
.button-primary:hover { background: var(--highlight); border-color: var(--highlight); color: #111111; }
.button-secondary { padding-inline: .55rem; color: #e5e5e5; background: transparent; text-decoration: underline; text-decoration-color: #808080; text-underline-offset: .4rem; text-decoration-thickness: 1px; }
.button-secondary:hover { color: #ffffff; background: #ffffff08; text-decoration-color: #ffffff; }
.hero-access-note { margin: .65rem 0 0; color: #c0c0c0; font-size: .8rem; }
.story-hero-paragraph { max-width: 69ch; margin: 0 0 1.5rem; color: #cacaca; font-size: 1rem; line-height: 1.65; }
.hero-art { position: relative; min-height: 630px; background: var(--ambient); border-left: 1px solid #ffffff0d; overflow: hidden; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-caption { position: absolute; bottom: 1rem; left: 1.15rem; right: 1.15rem; padding: .65rem .8rem; border: 1px solid #ffffff1c; border-radius: 4px; background: #141414d9; color: #d2d2d2; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.story-band { margin-top: .9rem; padding: .95rem 1.25rem; border: 1px solid #ffffff13; border-left: 3px solid var(--accent); border-radius: 5px; color: #d4d4d4; background: #292929; font-size: .82rem; font-weight: 800; line-height: 1.6; letter-spacing: .1em; text-align: center; }

/* Fourteen intact sections; the supporting chapters use a quieter reading scale. */
.story-section { padding: 5rem 0; border-bottom: 1px solid #ffffff0d; scroll-margin-top: 1rem; }
.story-section--charcoal { background: var(--charcoal); }
.story-section--graphite { background: #272727; }
.story-shell { max-width: 1200px; }
.story-heading { max-width: 1060px; margin-bottom: 1.8rem; }
.story-heading .eyebrow { margin-bottom: 1rem; }
.story-heading h2 { margin: 0 0 1.3rem; font-size: clamp(2.25rem,3.65vw,3.8rem); line-height: 1.07; text-wrap: balance; }
.story-subtitle { max-width: 66ch; margin: 0; color: #e5e5e5; font-size: 1.16rem; font-weight: 600; line-height: 1.55; }
.story-body { max-width: 1200px; min-width: 0; }
.story-paragraph { max-width: 74ch; margin: 0 0 1.25rem; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.story-paragraph:last-child { margin-bottom: 0; }
.story-paragraph strong { color: #f7f7f7; }
.story-section--editorial .story-shell { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(2.5rem,5.5vw,5rem); align-items: start; }
.story-section--editorial .story-heading { margin-bottom: 0; }
.story-section--editorial h2 { font-size: clamp(2.2rem,2.9vw,3.15rem); }
.story-section--editorial .story-list { grid-template-columns: 1fr; }
.story-section--editorial .story-subtitle { font-size: 1.1rem; color: #d0d0d0; font-weight: 400; }
#modelo { background: #141414; }
#modelo .story-body { display: block; }
#modelo .story-list-group { margin: 0; }
#modelo .story-list { grid-template-columns: 1fr; }
#modelo .story-statement { grid-column: 1/-1; margin-top: .5rem; }
.story-list-group { margin: 1.65rem 0; }
.story-list-label { margin: 0 0 .65rem; color: var(--accent-text); font-size: .875rem; line-height: 1.4; font-weight: 800; letter-spacing: .1em; }
.story-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.6rem; margin: 0; padding: 0; list-style: none; }
.story-list li { position: relative; padding: .6rem .1rem .6rem 1.15rem; border-bottom: 1px solid #ffffff0c; font-size: 1rem; line-height: 1.55; color: #dedede; }
.story-list li::before { content: ''; position: absolute; width: 4px; height: 4px; top: 1.22rem; left: 0; border-radius: 50%; background: var(--accent-text); }
.story-list li:last-child { border-bottom-color: transparent; }
.story-statement { margin: 2rem 0 0; padding: .6rem 0 .6rem 1.4rem; border-left: 3px solid var(--accent); }
.story-statement p { margin: 0; max-width: 65ch; color: #f7f7f7; font-size: clamp(1.25rem,1.75vw,1.65rem); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.story-statement strong { color: var(--accent-text); }

/* Cards express actual choices and comparisons, with equal visual weight. */
.story-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; align-items: stretch; margin: 2rem 0; }
.story-panel { min-width: 0; padding: 2rem; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 8px; background: var(--graphite); }
.story-panel h3 { margin: 0 0 1.2rem; font-size: clamp(1.45rem,2vw,1.85rem); line-height: 1.16; }
.story-panel .story-list-group { margin: 0; }
.story-panel .story-list { grid-template-columns: 1fr; }
.story-panel .story-list li { padding-block: .55rem; font-size: 1rem; }
.story-panel .story-list li::before { top: 1.18rem; }
.story-panel--accent { border-color: #515151; border-top-color: var(--highlight); background: #2c2c2c; }
.story-columns--comparison .story-panel:first-child { background: #252525; border-top-color: #6a6a6a; }
.story-columns--comparison .story-panel:first-child .story-list li::before { background: #9e9e9e; }
.story-columns--comparison .story-panel--accent .story-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
#operacion .story-panel .story-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
#operacion .story-panel .story-list li:last-child { grid-column: 1/-1; }
.story-products .story-panel { background: var(--panel); }
.story-product-subtitle { margin: 0 0 1.35rem; color: var(--accent-text); font-size: 1.03rem; font-weight: 700; }
.story-product p:not(.story-product-subtitle) { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0 0 1rem; }
.story-product p:last-child { margin-bottom: 0; }
#productos .story-body > .story-paragraph { max-width: 90ch; }
#perfil .story-panel:last-child { border-top-color: #787878; background: #252525; }
#perfil .story-panel:last-child .story-list li::before { background: #adadad; }
.story-roles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.story-roles .story-panel { padding: 1.65rem; }
.role-icon { display: block; width: 28px; height: 28px; margin: 0 0 1.5rem; color: var(--accent-text); }
.story-roles h3 { margin-bottom: .8rem; font-size: 1.4rem; }
.story-roles p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* Images support the two places where a visitor needs to picture execution. */
.story-feature { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: clamp(2rem,4vw,4rem); }
.story-feature--reverse { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
.story-feature--reverse .story-image { order: -1; }
.story-feature .story-heading h2 { font-size: clamp(2.2rem,3.1vw,3.4rem); }
.story-feature .story-heading { margin-bottom: 1.4rem; }
.story-feature .story-subtitle { font-size: 1.12rem; }
.story-feature .story-paragraph { font-size: 1rem; margin-bottom: 0; }
.story-image { margin: 0; width: 100%; aspect-ratio: 3/2; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--ambient); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
/* Supporting imagery stays inside its copy section and uses a stable crop. */
.story-intro { min-width: 0; }
.story-section--illustrated .story-intro .story-heading { margin-bottom: 2rem; }
.story-image--content { aspect-ratio: 4/3; }
.story-image--product { aspect-ratio: 3/2; }
.story-image--wide { aspect-ratio: 16/9; }
.story-image--portrait { aspect-ratio: 4/5; max-width: 380px; }
.story-showcase { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: clamp(2rem,4vw,4rem); }
.story-showcase .story-heading h2 { font-size: clamp(2.2rem,3.1vw,3.4rem); }
.story-showcase .story-image { box-shadow: 0 24px 56px #00000030; }
.story-body--after-image { margin-top: 2.4rem; }
.story-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; margin: 0 0 1.8rem; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #303030; }
.story-flow li { position: relative; padding: 1.2rem 1.75rem 1.2rem 1.3rem; color: #ededed; font-size: .87rem; font-weight: 800; letter-spacing: .015em; }
.story-flow li + li { border-left: 1px solid var(--line); }
.story-flow li:not(:last-child)::after { content: '→'; position: absolute; right: .55rem; color: var(--accent-text); }
.story-flow li:last-child { background: var(--ambient); }
#central .story-list-group { margin-top: 0; }
#central .story-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
#capacidad .story-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.story-manifesto { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; margin: 1.8rem 0; list-style: none; }
.story-manifesto li { padding: .85rem 0; border-top: 1px solid #ffffff12; color: #ededed; font-size: 1.12rem; line-height: 1.5; }
.story-actions { margin-top: 1.8rem; }
.story-microcopy { color: #c4c4c4; font-size: .86rem; line-height: 1.6; margin: .9rem 0 0; }
.story-signature { color: var(--accent-text); font-size: .78rem; letter-spacing: .12em; font-weight: 800; margin: 2rem 0 0; }
.story-section--warning { background: #222222; border-top: 1px solid #ffffff0f; }
/* One final decision, with the action adjacent to the offer on desktop and first on mobile. */
.story-section--final { padding-block: 5rem; background: radial-gradient(ellipse at 50% 30%,#27272755,transparent 75%),var(--ambient); border-top: 1px solid var(--glow); }
.story-section--final .story-shell { max-width: 1200px; }
.recruitment-surface { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); border: 1px solid #414141; border-radius: 10px; background: #151515; overflow: hidden; }
.recruitment-surface > .story-heading { grid-column: 1; grid-row: 1; margin: 0; padding: 3rem 3rem 1.5rem; }
.recruitment-surface .eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: #d6d6d6; }
.recruitment-surface .eyebrow::before { content: ""; width: 24px; height: 2px; flex-shrink: 0; background: #e5e5e5; }
.story-section--final .story-heading h2 { max-width: 20ch; margin: 0; font-size: clamp(2.4rem,3.4vw,3.45rem); line-height: 1.06; text-wrap: balance; }
.recruitment-details { grid-column: 1; grid-row: 2; min-width: 0; padding: 0 3rem 3rem; }
.recruitment-details .story-paragraph { max-width: 58ch; margin: 0 0 1rem; color: #bdbdbd; font-size: 1rem; line-height: 1.65; }
.recruitment-details .story-paragraph:last-child { margin-bottom: 0; }
.recruitment-lines span { display: block; }
.recruitment-details .recruitment-lines:first-child { color: #ededed; }
.recruitment-details .recruitment-lines:first-child span { display: inline; }
.recruitment-action { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 3rem; border-left: 1px solid #414141; background: radial-gradient(ellipse at 100% 0%,#ffffff0a,transparent 75%),#232323; }
.recruitment-action .story-closing { margin: 0; }
.recruitment-action .story-closing h3:first-child { margin: 0 0 .8rem; font-size: 1.125rem; line-height: 1.45; font-weight: 600; letter-spacing: .015em; color: #c4c4c4; }
.recruitment-action .story-closing h3:last-child { max-width: 13ch; margin: 0; font-size: clamp(2rem,2.8vw,2.65rem); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.recruitment-action .story-actions { margin: 2rem 0 0; }
.recruitment-action .button { width: 100%; max-width: none; min-width: 0; min-height: 62px; padding: 1.15rem 1.2rem; font-size: 1rem; box-shadow: 0 4px 20px #00000030; }
.recruitment-action .button:focus-visible { outline-color: #ffffff; outline-offset: 6px; }
.recruitment-action .story-microcopy { margin: 1rem 0 0; color: #ededed; font-size: .875rem; line-height: 1.6; }
.recruitment-action .story-microcopy span { color: #bdbdbd; }
.recruitment-disclaimer { margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid #ffffff1f; color: #bdbdbd; font-size: .875rem; line-height: 1.6; }
.recruitment-action .story-signature { margin: 1.5rem 0 0; color: #c4c4c4; font-size: .75rem; letter-spacing: .08em; }

/* Footer and legal routes share the same accessible component system. */
.site-footer { padding: 4rem 0 2rem; background: #1b1b1b; border-top: 1px solid #ffffff10; }
.footer-top { display: grid; grid-template-columns: 1.65fr .8fr .9fr 1.2fr .85fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand { width: 260px; margin-bottom: 1.25rem; }
.footer-top p { max-width: 240px; color: #c0c0c0; font-size: .87rem; }
.footer-top > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.footer-label { margin-bottom: .4rem; color: var(--accent-text); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.footer-top a:not(.brand) { padding-block: .15rem; color: #d0d0d0; font-size: .875rem; }
.footer-top a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: .25rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #ffffff15; color: #b7b7b7; font-size: .76rem; }
.breadcrumbs { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; color: #c1c1c1; font-size: .85rem; }
.breadcrumbs a { padding-block: .4rem; }
.legal-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 1.25rem; font-size: clamp(2.6rem,5vw,4.5rem); line-height: 1.06; }
.legal-hero p:not(.eyebrow) { max-width: 70ch; color: var(--muted); font-size: 1.1rem; }
.legal-hero > span { display: block; margin-top: 1.5rem; color: #bcbcbc; font-size: .85rem; }
.legal-layout { display: grid; grid-template-columns: minmax(170px,.3fr) 1fr; gap: 5rem; padding: 3.5rem 0 5rem; }
.legal-layout aside { position: sticky; top: 7rem; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.legal-layout aside span { color: var(--accent-text); font-size: .76rem; font-weight: 700; letter-spacing: .1em; margin-bottom: .5rem; }
.legal-layout aside a { padding-block: .4rem; color: #d6d6d6; font-size: .95rem; }
.legal-content { max-width: 760px; min-width: 0; }
.legal-content section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border: 0; }
.legal-content h2 { font-size: 1.7rem; line-height: 1.25; margin-bottom: 1.2rem; letter-spacing: -.02em; }
.legal-content p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.legal-content a { color: var(--accent-text); text-decoration: underline; text-underline-offset: .2rem; }

@media (max-width: 1100px) {
  .recruitment-surface > .story-heading { padding: 2rem 2rem 1.5rem; }
  .recruitment-details { padding: 0 2rem 2rem; }
  .recruitment-action { padding: 2rem; }
  .header-inner { gap: 1.25rem; }
  .desktop-nav { gap: 1.1rem; }
  .desktop-nav a { font-size: .84rem; }
  .hero-copy { padding: 2.25rem; }
  .hero h1 { font-size: clamp(2.35rem,3.65vw,3rem); }
  .hero-lede { font-size: 1.05rem; }
  .story-hero-actions { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .story-hero-actions .button-secondary { padding-left: 0; }
  .story-roles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-top { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .footer-top > div:first-child { grid-column: 1/-1; }
  .footer-top p { max-width: none; }
}
@media (max-width: 900px) {
  .recruitment-surface { grid-template-columns: minmax(0,1fr); }
  .recruitment-surface > .story-heading { grid-column: 1; grid-row: 1; padding: 2.5rem; }
  .story-section--final .story-heading h2 { max-width: 22ch; }
  .recruitment-action { grid-column: 1; grid-row: 2; padding: 2.5rem; border-left: 0; border-block: 1px solid #414141; }
  .recruitment-details { grid-column: 1; grid-row: 3; padding: 2.5rem; }
  .recruitment-action .button { max-width: 440px; }
  .recruitment-action .story-closing h3:last-child { max-width: 20ch; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .mobile-menu { display: block; flex-shrink: 0; }
  .mobile-menu summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: .5rem; border: 1px solid #ffffff20; border-radius: 6px; cursor: pointer; color: #e6e6e6; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { background: #353535; border-color: #787878; }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: .5rem 1.5rem 1rem; background: #262626; border-bottom: 1px solid #606060; box-shadow: 0 16px 24px #00000044; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .mobile-menu nav a { min-height: 48px; padding: .75rem 0; border-bottom: 1px solid #ffffff12; font-size: .95rem; color: #eaeaea; }
  .mobile-menu nav a:last-child { border: 0; }
  .story-section--editorial .story-shell { grid-template-columns: 1fr; gap: 1.8rem; }
  .story-section--editorial .story-heading { max-width: 700px; }
  .story-section--editorial .story-body { max-width: 760px; }
  .story-section--editorial .story-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-section--editorial .story-manifesto { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; }
  #modelo .story-body { gap: 1.5rem 2rem; }
  .story-feature, .story-feature--reverse { display: flex; flex-direction: column; align-items: stretch; gap: 2rem; }
  .story-showcase { display: flex; flex-direction: column; align-items: stretch; gap: 2rem; }
  .story-section--illustrated .story-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 2rem; }
  .story-section--illustrated .story-intro .story-heading { margin-bottom: 0; }
  .story-feature--reverse .story-image { order: 0; }
  .story-image { max-width: 760px; }
  .story-panel { padding: 1.5rem; }
  #operacion .story-panel .story-list { grid-template-columns: 1fr; }
  #central .story-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-flow li { padding-inline: .8rem 1.2rem; font-size: .73rem; }
  .story-flow li:not(:last-child)::after { right: .3rem; }
  .legal-layout { gap: 3rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 5rem; }
  .wrap { width: min(100% - 2rem,1320px); }
  .header-inner { min-height: 68px; gap: .65rem; }
  .site-header .brand { width: 180px; }
  .header-cta { padding: .65rem .8rem; font-size: .875rem; }
  .cta-desktop { display: none; }
  .cta-mobile { display: inline; }
  .header-cta .external { display: none; }
  .mobile-menu nav { max-height: calc(100dvh - 68px); padding-inline: 1rem; }
  .hero { padding: 1rem 0 2rem; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { padding: 2rem 1.25rem 1.7rem; }
  .eyebrow { font-size: .875rem; letter-spacing: .06em; }
  .hero h1 { font-size: clamp(2rem,7.7vw,3rem); margin-bottom: 1.25rem; line-height: 1.08; }
  .hero-title-part { text-wrap: pretty; }
  .hero-lede { font-size: 1.04rem; line-height: 1.6; margin-bottom: 1.4rem; }
  .story-hero-actions { width: 100%; align-items: stretch; gap: .45rem; }
  .story-hero-actions .button { width: 100%; }
  .story-hero-actions .button-secondary { padding-inline: .5rem; min-height: 44px; }
  .hero-access-note { margin-top: .6rem; text-align: center; align-self: center; }
  .story-hero-paragraph { font-size: 1rem; margin: 0 0 1.5rem; }
  .hero-art { width: 100%; height: clamp(300px,80vw,520px); min-height: 0; border-left: 0; border-top: 1px solid #ffffff0d; }
  .hero-art img { object-position: center 35%; }
  .art-caption { bottom: .65rem; left: .65rem; right: .65rem; font-size: .75rem; }
  .story-band { padding: .85rem .65rem; font-size: .875rem; letter-spacing: .04em; }
  .story-section { padding: 3.5rem 0; }
  .story-heading { margin-bottom: 1.55rem; }
  .story-heading h2, .story-section--editorial h2, .story-feature .story-heading h2 { font-size: clamp(2rem,7.8vw,3rem); line-height: 1.09; text-wrap: pretty; }
  .story-showcase .story-heading h2 { font-size: clamp(2rem,7.8vw,3rem); line-height: 1.09; text-wrap: pretty; }
  .story-section--illustrated .story-intro { display: flex; flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .story-image--portrait { max-width: 380px; margin-inline: auto; }
  .story-subtitle, .story-section--editorial .story-subtitle, .story-feature .story-subtitle { font-size: 1.06rem; line-height: 1.65; }
  .story-paragraph { font-size: 1rem; line-height: 1.75; }
  .story-list, .story-section--editorial .story-list, #capacidad .story-list, #central .story-list { grid-template-columns: 1fr; }
  .story-list li { padding-block: .65rem; }
  .story-list li::before { top: 1.28rem; }
  #modelo .story-body { display: block; }
  #modelo .story-list-group { margin: 1.8rem 0; }
  #modelo .story-statement { margin-top: 1.8rem; }
  .story-statement { padding-left: 1.1rem; }
  .story-statement p { font-size: 1.23rem; }
  .story-columns { grid-template-columns: 1fr; gap: 1rem; margin: 1.7rem 0; }
  .story-roles { grid-template-columns: 1fr; margin: 1.7rem 0; }
  .story-roles .story-panel { display: grid; grid-template-columns: 30px 1fr; column-gap: 1rem; padding: 1.4rem; }
  .role-icon { width: 25px; height: 25px; margin: 0; grid-row: 1/3; }
  .story-roles h3 { margin: 0 0 .65rem; }
  .story-roles p { grid-column: 2; }
  .story-panel { padding: 1.45rem; }
  .story-panel h3 { font-size: 1.5rem; }
  .story-flow { grid-template-columns: 1fr; }
  .story-flow li { min-height: 52px; padding: .9rem 1.2rem; font-size: .84rem; }
  .story-flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .story-flow li:not(:last-child)::after { content: '↓'; right: 1.2rem; }
  .story-body--after-image { margin-top: 1.7rem; }
  .story-section--editorial .story-manifesto { grid-template-columns: 1fr; }
  .story-manifesto li { font-size: 1.06rem; }
  .story-actions .button { width: 100%; max-width: 440px; }
  .story-section--final { padding-block: 3rem; }
  .recruitment-surface > .story-heading { padding: 1.75rem 1.4rem; }
  .recruitment-surface .eyebrow { gap: .55rem; margin-bottom: 1.15rem; font-size: .75rem; letter-spacing: .065em; }
  .recruitment-surface .eyebrow::before { width: 18px; }
  .story-section--final .story-heading h2 { font-size: clamp(1.9rem,7.4vw,3rem); }
  .recruitment-action { padding: 1.75rem 1.4rem; }
  .recruitment-action .story-closing h3:first-child { font-size: 1rem; }
  .recruitment-action .story-closing h3:last-child { font-size: clamp(1.75rem,7vw,2.25rem); }
  .recruitment-action .story-actions { margin-top: 1.5rem; }
  .recruitment-action .button { min-height: 58px; padding-inline: .8rem; font-size: .9375rem; }
  .recruitment-details { padding: 1.75rem 1.4rem; }
  .site-footer { padding: 3rem 0 1.5rem; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.2rem 1rem; padding-bottom: 2rem; }
  .footer-top > div:not(:first-child) { gap: .2rem; }
  .footer-top a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-label { font-size: .75rem; letter-spacing: .05em; }
  .footer-bottom { flex-direction: column; font-size: .75rem; }
  .legal-hero { padding: 3rem 0 2rem; }
  .legal-hero h1 { font-size: clamp(2.4rem,9vw,3.8rem); }
  .legal-layout { display: block; padding: 2.5rem 0 3rem; }
  .legal-layout aside { position: static; flex-direction: row; flex-wrap: wrap; gap: .4rem 1.2rem; padding-bottom: 1.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
  .legal-layout aside span { width: 100%; }
  .legal-layout aside a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Process and stages are grouped inside their respective copy sections. */
.hero-lede strong { font-weight: 600; }
.hero-disclaimer { max-width: 61ch; margin: 1rem 0 0; color: #b5b5b5; font-size: .8125rem; line-height: 1.55; }
.hero-disclaimer em { font-style: normal; }
.story-steps, .story-stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; padding: 0; margin: 2rem 0; list-style: none; }
.story-steps .story-panel, .story-stages .story-panel { padding: 1.6rem; }
.story-steps h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 1rem; }
.story-stages h3 { font-size: 1rem; line-height: 1.4; letter-spacing: .015em; margin-bottom: .8rem; }
.story-steps p, .story-stages p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--muted); }
.story-lines { line-height: 1.9; }
.story-closing { margin: 2.3rem 0; }
.story-closing h3 { margin: 0 0 .3rem; font-size: clamp(1.35rem,2.3vw,1.8rem); line-height: 1.25; }
#formacion .story-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
#modelo .story-panel .story-list { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .story-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-stages { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .story-steps { grid-template-columns: 1fr; }
  #formacion .story-list { grid-template-columns: 1fr; }
  .story-steps .story-panel, .story-stages .story-panel { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
