/* Institutional documents and 404: shared editorial presentation, page scoped. */
.trust-page, .notfound-page {
  --trust-ink: #08142e;
  --trust-muted: #43546b;
  --trust-paper: #fbfaf7;
  --trust-line: #dbe3e9;
  --trust-orange: #ff6b00;
  color: var(--trust-ink);
  background: var(--trust-paper);
}
.trust-page *, .trust-page *::before, .trust-page *::after,
.notfound-page *, .notfound-page *::before, .notfound-page *::after { box-sizing: border-box; }
.trust-page .contenedor, .notfound-page .contenedor { width: calc(100% - 64px); max-width: 1280px; margin-inline: auto; }
.trust-page a, .notfound-page a { text-underline-offset: 5px; }
.trust-page a:focus-visible, .notfound-page a:focus-visible,
.notfound-page input:focus-visible, .notfound-page button:focus-visible { outline: 3px solid #1681b8; outline-offset: 5px; }
.trust-page .trust-hero { padding: 12px 0 55px; }
.trust-page .migas { font-size: 14px; line-height: 1.7; margin: 0 0 26px; color: var(--trust-muted); }
.trust-page .migas a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.trust-page .trust-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 64px; align-items: center; }
.trust-page .trust-hero-copy { min-width: 0; }
.trust-page .trust-hero h1 { max-width: 900px; margin: 0 0 23px; color: var(--trust-ink); font-size: clamp(42px, 5.2vw, 66px); line-height: 1.08; letter-spacing: -.05em; font-weight: 750; }
.trust-page .trust-eyebrow, .notfound-page .trust-eyebrow, .trust-page .ceja { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 20px; color: #34516b; font-size: 14px; font-weight: 600; line-height: 1.6; letter-spacing: 0; text-transform: none; }
.trust-page .trust-eyebrow::before, .notfound-page .trust-eyebrow::before, .trust-page .ceja::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; background: var(--trust-orange); border-radius: 50%; }
.trust-page .trust-hero .respuesta-corta { max-width: 810px; font-size: 18px; line-height: 1.8; color: var(--trust-muted); margin: 0; background: transparent; border: 0; padding: 0; border-radius: 0; box-shadow: none; }
.trust-page .trust-hero-copy > p:not([class]) { color: var(--trust-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.trust-page .trust-visual { display: flex; justify-content: center; align-items: center; min-height: 235px; padding: 10px 15px; perspective: 700px; }
.trust-page .trust-document { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; width: 182px; min-height: 220px; padding: 30px; border-radius: 18px 38px 18px 18px; border: 1px solid #b3cfda; background: linear-gradient(130deg, #fff 12%, #f3faff 55%, #ecf4f8); box-shadow: inset 2px 2px 1px #fff, inset -2px -2px 0 #bdd3df, 10px 10px 0 #f7fafb, 11px 11px 0 #c2d8e0, 14px 20px 32px rgb(17 51 77 / 12%); transform: rotate(-7deg) rotateY(-11deg); }
.trust-page .trust-document::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgb(255 255 255 / 95%); border-radius: 14px 33px 14px 14px; pointer-events: none; }
.trust-page .trust-document::after { content: ""; position: absolute; right: -1px; top: -1px; width: 42px; height: 42px; border: 1px solid #a8c9da; border-radius: 0 37px 0 10px; background: linear-gradient(145deg, #fff, #d4e8f1 70%, #ffdebf); box-shadow: -2px 2px 5px rgb(45 75 98 / 8%); }
.trust-page .trust-document-icon { display: block; width: 47px; height: 47px; margin-bottom: 7px; color: #244e70; }
.trust-page .trust-document-icon svg { display: block; width: 100%; height: 100%; }
.trust-page .trust-document i { display: block; width: 100%; height: 5px; border-radius: 5px; background: #a2bac8; }
.trust-page .trust-document i:nth-of-type(2) { width: 82%; }
.trust-page .trust-document i:nth-of-type(3) { width: 60%; }
.trust-page .trust-document-line { width: 38px; height: 4px; margin-top: 8px; border-radius: 5px; background: #ec8c49; }
.trust-page .trust-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); column-gap: 76px; border-top: 1px solid var(--trust-line); padding-top: 48px; align-items: start; }
.trust-page .trust-sidebar { position: sticky; top: 125px; max-height: calc(100svh - 150px); overflow: auto; padding: 3px 8px 8px 0; scrollbar-width: thin; }
.trust-page .trust-index { border: 1px solid var(--trust-line); border-radius: 20px; background: linear-gradient(135deg, rgb(255 255 255 / 94%), rgb(246 250 252 / 86%)); padding: 21px 20px 14px; box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgb(25 53 76 / 3%); }
.trust-page .trust-sidebar h2 { font-size: 14px; line-height: 1.5; color: #314a60; font-weight: 650; margin: 0 0 12px; letter-spacing: 0; }
.trust-page .trust-index ol { list-style: none; padding: 0; margin: 0; }
.trust-page .trust-index li { padding: 0; margin: 0; }
.trust-page .trust-index a { display: grid; grid-template-columns: 23px 1fr; gap: 8px; align-items: start; min-height: 44px; padding: 10px 0; color: var(--trust-ink); font-size: 14px; line-height: 1.55; text-decoration: none; }
.trust-page .trust-index a > span { color: #a95024; font-size: 12px; padding-top: 1px; }
.trust-page .trust-index a:hover { color: #a84714; text-decoration: underline; }
.trust-page .trust-related { margin-top: 28px; padding-inline: 5px; }
.trust-page .trust-related a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; color: var(--trust-muted); font-size: 14px; text-decoration: none; }
.trust-page .trust-related a:hover { color: var(--trust-ink); text-decoration: underline; }
.trust-page .trust-related svg { width: 17px; height: 17px; flex: 0 0 17px; }
.trust-page .trust-content { min-width: 0; max-width: 850px; }
.trust-page .trust-chapter { scroll-margin-top: 130px; padding: 0 0 34px; margin: 0 0 36px; border-bottom: 1px solid var(--trust-line); }
.trust-page .trust-chapter:last-child { margin-bottom: 0; }
.trust-page .trust-chapter h2 { display: flex; gap: 15px; align-items: baseline; color: var(--trust-ink); font-size: clamp(23px, 2.5vw, 30px); line-height: 1.3; letter-spacing: -.035em; margin: 0 0 19px; }
.trust-page .trust-number { font-size: 13px; letter-spacing: 0; font-weight: 600; color: #a74e21; flex: 0 0 22px; }
.trust-page .trust-chapter p, .trust-page .trust-chapter li { color: var(--trust-muted); font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
.trust-page .trust-chapter p { margin: 0 0 18px; }
.trust-page .trust-chapter p:last-child { margin-bottom: 0; }
.trust-page .trust-chapter strong { font-weight: 650; color: var(--trust-ink); }
.trust-page .trust-chapter ul { margin: 0; padding-left: 22px; }
.trust-page .trust-chapter li { margin: 0 0 12px; padding-left: 5px; }
.trust-page .trust-chapter li:last-child { margin-bottom: 0; }
.trust-page .trust-chapter li::marker { color: #b25725; }
.trust-page .trust-chapter a { color: #174d77; font-weight: 550; }
.trust-page .trust-chapter .recuadro { background: #fff8ee; border: 1px solid #e5d6c3; border-left: 3px solid #d88a43; border-radius: 13px; padding: 20px 24px; color: #674527; font-size: 15px; }
.trust-page .trust-return { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; padding-block: 45px 75px; padding-left: 346px; }
.trust-page .trust-button, .notfound-page .trust-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 13px; font: inherit; font-size: 14px; line-height: 1.45; font-weight: 650; color: var(--trust-ink); text-decoration: none; text-align: center; cursor: pointer; transition: background-color 180ms ease, box-shadow 180ms ease; }
.trust-page .trust-primary, .notfound-page .trust-primary { background: var(--trust-orange); border-color: #ed6100; box-shadow: 0 7px 18px rgb(181 79 14 / 10%); }
.trust-page .trust-primary:hover, .notfound-page .trust-primary:hover { background: #ff7a19; box-shadow: 0 8px 22px rgb(181 79 14 / 16%); }
.trust-page .trust-secondary, .notfound-page .trust-secondary { background: rgb(255 255 255 / 80%); border-color: #cddbe5; box-shadow: inset 0 1px 0 #fff, 0 5px 16px rgb(32 55 75 / 5%); }
.trust-page .trust-button svg, .notfound-page .trust-button svg, .trust-page .trust-text-link svg { width: 21px; height: 21px; flex: 0 0 21px; }
.trust-page .trust-text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; color: #254d6b; font-size: 14px; font-weight: 550; }
.notfound-page .notfound-hero { padding: 70px 0 60px; overflow: hidden; overflow: clip; }
.notfound-page .notfound-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px; align-items: center; }
.notfound-page .notfound-copy { min-width: 0; }
.notfound-page h1 { color: var(--trust-ink); font-size: clamp(44px, 5.6vw, 72px); line-height: 1.06; font-weight: 750; letter-spacing: -.05em; margin: 0 0 24px; }
.notfound-page h1 span { display: block; color: #ae440e; }
.notfound-page .notfound-lead { color: var(--trust-muted); font-size: 18px; line-height: 1.8; max-width: 550px; margin: 0 0 27px; }
.notfound-page .trust-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.notfound-page .notfound-language { margin: 22px 0 0; max-width: 500px; font-size: 14px; line-height: 1.7; color: var(--trust-muted); }
.notfound-page .notfound-language a { display: inline-block; color: #174d77; }
.notfound-page .notfound-visual { min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; min-height: 330px; isolation: isolate; }
.notfound-page .notfound-glass { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; max-width: 480px; padding: 30px 18px; border: 1px solid #b7cfdd; border-radius: 35px; font-size: clamp(100px, 15vw, 185px); line-height: 1; letter-spacing: -.09em; font-weight: 750; color: #0c3155; background: linear-gradient(135deg, rgb(255 255 255 / 97%) 4%, #e5f5f9 52%, #fff1e1); box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #d7e6eb, 8px 8px 0 #f6fafb, 9px 9px 0 #c8dce5, 17px 24px 45px rgb(20 49 73 / 12%); transform: rotate(-7deg); }
.notfound-page .notfound-glass::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 29px; }
.notfound-page .notfound-path { position: absolute; width: 64%; height: 76%; top: 18%; left: 19%; z-index: -1; border: 1px dashed #a9c1d0; border-radius: 40px; transform: rotate(12deg); }
.notfound-page .notfound-dot { position: absolute; bottom: 1%; right: 15%; width: 22px; height: 22px; border: 4px solid #fff9f1; background: #f27624; border-radius: 50%; box-shadow: 0 4px 12px rgb(118 72 30 / 14%); }
.notfound-page .notfound-recovery { padding: 12px 0 55px; }
.notfound-page .notfound-recovery h2 { margin: 0 0 25px; color: var(--trust-ink); font-size: clamp(26px, 3vw, 35px); letter-spacing: -.04em; line-height: 1.3; }
.notfound-page .notfound-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.notfound-page .notfound-links > a { position: relative; display: block; padding: 25px 27px; border: 1px solid var(--trust-line); border-radius: 19px; background: rgb(255 255 255 / 80%); color: var(--trust-ink); text-decoration: none; box-shadow: inset 0 1px 0 #fff, 0 7px 20px rgb(21 45 65 / 3%); }
.notfound-page .notfound-links > a:hover { border-color: #a8c5d7; background: #fff; }
.notfound-page .notfound-links > a > span { display: block; margin-bottom: 17px; color: #9d4a21; font-size: 13px; font-weight: 650; }
.notfound-page .notfound-links h3 { color: var(--trust-ink); font-size: 20px; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 12px; padding-right: 12px; }
.notfound-page .notfound-links p { color: var(--trust-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.notfound-page .notfound-links > a > svg { position: absolute; width: 21px; height: 21px; top: 22px; right: 23px; color: #47738d; }
.notfound-page .notfound-check { padding: 0 0 75px; }
.notfound-page .notfound-check-inner { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 40px; align-items: start; border-top: 1px solid var(--trust-line); padding: 36px 0 0; }
.notfound-page .notfound-check h2 { font-size: 26px; line-height: 1.35; letter-spacing: -.035em; margin: 0; color: var(--trust-ink); }
.notfound-page .notfound-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 12px; margin: 0; width: 100%; max-width: none; padding: 0; background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.notfound-page .notfound-label { grid-column: 1 / -1; color: #344b62; font-size: 14px; font-weight: 550; }
.notfound-page .notfound-form input { width: 100%; min-width: 0; min-height: 52px; border: 1px solid #becfda; border-radius: 12px; background: #fff; color: var(--trust-ink); font: inherit; font-size: 16px; padding: 12px 15px; }
.notfound-page .notfound-form input::placeholder { color: #657486; opacity: 1; }
.notfound-page .notfound-form > p { grid-column: 1 / -1; color: var(--trust-muted); font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 1024px) {
  .trust-page .trust-hero-grid { grid-template-columns: minmax(0, 1fr) 190px; gap: 35px; }
  .trust-page .trust-visual { transform: scale(.88); }
  .trust-page .trust-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 38px; }
  .trust-page .trust-return { padding-left: 258px; }
  .notfound-page .notfound-grid { gap: 35px; }
  .notfound-page .notfound-links { gap: 14px; }
  .notfound-page .notfound-links > a { padding: 23px 20px; }
  .notfound-page .notfound-check-inner { grid-template-columns: 1fr; gap: 23px; }
}
@media (max-width: 760px) {
  .trust-page .contenedor, .notfound-page .contenedor { width: calc(100% - 40px); }
  .trust-page .trust-hero { padding-bottom: 32px; }
  .trust-page .trust-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .trust-page .trust-visual { display: none; }
  .trust-page .trust-hero h1 { font-size: clamp(38px, 8.8vw, 56px); }
  .trust-page .trust-hero .respuesta-corta { font-size: 17px; line-height: 1.8; }
  .trust-page .trust-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .trust-page .trust-sidebar { position: static; max-height: none; overflow: visible; padding: 0; }
  .trust-page .trust-index { padding: 20px; }
  .trust-page .trust-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .trust-page .trust-related { display: none; }
  .trust-page .trust-chapter { scroll-margin-top: 120px; margin-bottom: 30px; padding-bottom: 28px; }
  .trust-page .trust-chapter h2 { gap: 10px; }
  .trust-page .trust-chapter p, .trust-page .trust-chapter li { font-size: 16px; }
  .trust-page .trust-return { padding-left: 0; padding-block: 30px 50px; }
  .notfound-page .notfound-hero { padding: 45px 0; }
  .notfound-page .notfound-grid { grid-template-columns: 1fr; gap: 22px; }
  .notfound-page h1 { max-width: 620px; font-size: clamp(43px, 10vw, 68px); }
  .notfound-page .notfound-visual { min-height: 225px; max-width: 380px; width: 86%; margin: 5px auto 15px; }
  .notfound-page .notfound-glass { font-size: 135px; padding: 24px 15px; }
  .notfound-page .notfound-dot { width: 19px; height: 19px; bottom: -2%; }
  .notfound-page .notfound-links { grid-template-columns: 1fr; }
  .notfound-page .notfound-links > a { padding: 22px 25px; }
  .notfound-page .notfound-links > a > span { margin-bottom: 12px; }
  .notfound-page .notfound-check { padding-bottom: 50px; }
}
@media (max-width: 480px) {
  .trust-page .contenedor, .notfound-page .contenedor { width: calc(100% - 36px); }
  .trust-page .migas { margin-bottom: 23px; }
  .trust-page .trust-index ol { grid-template-columns: 1fr; }
  .trust-page .trust-index a { padding-block: 11px; }
  .trust-page .trust-return { gap: 15px; }
  .trust-page .trust-return .trust-button { width: 100%; }
  .trust-page .trust-chapter .recuadro { padding: 17px; }
  .notfound-page .notfound-lead { font-size: 17px; }
  .notfound-page .trust-actions { flex-direction: column; align-items: stretch; }
  .notfound-page .trust-actions .trust-button { width: 100%; }
  .notfound-page .notfound-visual { width: 85%; min-height: 200px; }
  .notfound-page .notfound-glass { font-size: clamp(95px, 29vw, 133px); border-radius: 27px; }
  .notfound-page .notfound-form { grid-template-columns: 1fr; }
  .notfound-page .notfound-form .trust-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-page *, .trust-page *::before, .trust-page *::after,
  .notfound-page *, .notfound-page *::before, .notfound-page *::after { transition: none; scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .trust-page .trust-index, .trust-page .trust-document,
  .notfound-page .notfound-glass, .notfound-page .notfound-links > a { border: 1px solid CanvasText; box-shadow: none; }
  .trust-page .trust-button, .notfound-page .trust-button { border: 1px solid ButtonText; }
  .trust-page a:focus-visible, .notfound-page a:focus-visible, .notfound-page input:focus-visible,
  .notfound-page button:focus-visible { outline-color: Highlight; }
}
