:root {
  color-scheme: light;
  --ink: #173548;
  --muted: #536a78;
  --line: #d5e0e4;
  --paper: #fbfcfa;
  --white: #fff;
  --teal: #006b62;
  --teal-dark: #00564e;
  --mint: #eaf4ef;
  --gold: #bc7621;
  --gold-soft: #fbf0dc;
  --blue-soft: #eaf2f8;
  --shadow: 0 18px 46px rgba(22, 54, 70, .08);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 17px; }
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #d6881d; outline-offset: 3px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--white); border: 2px solid var(--teal); border-radius: .5rem; }
.skip-link:focus { top: .75rem; }
.section-wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid #e4ebed; }
.header-inner { width: min(1280px, calc(100% - 3rem)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50% 50% 50% 10px; background: var(--teal); color: white; font-size: .88rem; font-weight: 800; letter-spacing: -.05em; }
.brand-text { display: grid; line-height: 1.18; font-size: .88rem; }
.brand-text span { color: var(--muted); font-size: .82rem; }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.8rem); flex: 1; }
nav a { color: var(--ink); font-size: .9rem; text-decoration: none; font-weight: 650; }
nav a:hover { color: var(--teal); }
.academic-tag { color: var(--teal-dark); background: var(--mint); border-radius: 999px; padding: .42rem .75rem; font-size: .68rem; letter-spacing: .07em; font-weight: 800; white-space: nowrap; }
.hero { min-height: 520px; padding-block: 5.4rem 5rem; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 4rem; }
.eyebrow { margin: 0 0 .9rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.eyebrow-dot { display: inline-block; width: .5rem; height: .5rem; margin-right: .35rem; background: var(--gold); border-radius: 50%; vertical-align: .05em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 670px; margin-bottom: 1.15rem; font-size: clamp(2.65rem, 5vw, 4.65rem); line-height: 1.03; letter-spacing: -.052em; font-weight: 760; }
.hero-lede { max-width: 620px; margin-bottom: 1.65rem; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-bottom: 1.55rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .72rem 1.1rem; border: 1px solid transparent; border-radius: .6rem; font: inherit; font-size: .92rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--teal); color: white; box-shadow: 0 6px 16px rgba(0,107,98,.16); }
.button-primary:hover { background: var(--teal-dark); }
.text-link { font-size: .93rem; font-weight: 700; }
.disclaimer { max-width: 640px; margin-bottom: 0; padding: .85rem 1rem; border-left: 4px solid var(--gold); background: #f8f2e8; color: #433a2c; font-size: .86rem; line-height: 1.55; }
.hero-art { position: relative; padding: 1.4rem 1.55rem 1.1rem; min-height: 360px; background: #f0f5f1; border: 1px solid #dfe8e2; border-radius: 1rem 1rem 1rem .2rem; box-shadow: var(--shadow); transform: rotate(.5deg); }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: 1rem -1rem -1rem 1rem; background: #d9eae3; border-radius: inherit; }
.art-topline { display: flex; justify-content: space-between; margin: .1rem .15rem 1rem; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .1em; }
.route-step { min-height: 79px; display: grid; grid-template-columns: 48px 1fr 40px; align-items: center; gap: .9rem; border-top: 1px solid #d3dfd8; }
.step-number { align-self: start; padding-top: 1.1rem; color: var(--gold); font-size: .8rem; font-weight: 850; }
.route-step strong, .route-step small { display: block; }
.route-step strong { font-size: 1.13rem; }
.route-step small { color: var(--muted); font-size: .88rem; }
.step-symbol { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #c5d8cf; border-radius: 50%; color: var(--teal); font-size: 1.05rem; font-weight: 800; }
.art-caption { margin: .75rem 0 .05rem 57px; color: var(--teal-dark); font-size: .78rem; font-weight: 750; }
.trust-strip { background: #123247; color: white; }
.trust-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .87rem; }
.trust-inner b { margin-right: .35rem; color: #ecc474; font-size: 1.25rem; }
.trust-note { color: #cedae0; }
.procedures-section { padding-block: 5.5rem 5rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2, .security-grid h2 { margin-bottom: .2rem; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.12; letter-spacing: -.035em; }
.section-heading > p { max-width: 390px; margin: 0 0 .2rem; color: var(--muted); font-size: .93rem; }
.filters { display: grid; grid-template-columns: 1fr minmax(230px, .55fr) auto; align-items: end; gap: 1rem; margin: 1.5rem 0 .3rem; padding: 1.15rem; border: 1px solid var(--line); background: var(--white); border-radius: .8rem; }
.filters label { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .8rem; font-weight: 750; }
.input-shell { position: relative; }
.input-shell > span { position: absolute; top: .46rem; left: .8rem; color: var(--muted); font-size: 1.4rem; }
input, select { width: 100%; height: 46px; padding: .6rem .75rem; border: 1px solid #aabdc5; border-radius: .48rem; background: white; color: var(--ink); font: inherit; font-size: .9rem; }
.input-shell input { padding-left: 2.45rem; }
input::placeholder { color: #718591; }
.button-quiet { border-color: #b7c8ce; background: white; color: var(--ink); white-space: nowrap; }
.button-quiet:hover { background: #f1f6f5; }
.results-status { min-height: 1.7rem; margin: .9rem .15rem; color: var(--muted); font-size: .84rem; }
.procedure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.1rem; }
.procedure-card { --category: var(--teal); --tint: var(--mint); display: flex; flex-direction: column; min-height: 315px; padding: 1.35rem; border: 1px solid #d6e1e3; border-top: 4px solid var(--category); border-radius: .65rem; background: var(--white); box-shadow: 0 9px 22px rgba(23,53,72,.04); }
.procedure-card[data-mode="presencial"] { --category: #8b5511; --tint: var(--gold-soft); }
.procedure-card[data-mode="mixta"] { --category: #285a83; --tint: var(--blue-soft); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .8rem; }
.record-id { color: var(--muted); font-size: .73rem; font-weight: 750; letter-spacing: .05em; }
.mode-label { display: inline-flex; align-items: center; gap: .38rem; padding: .27rem .55rem; border-radius: 999px; background: var(--tint); color: var(--category); font-size: .72rem; line-height: 1.35; font-weight: 800; white-space: nowrap; }
.mode-label::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.procedure-card h3 { margin: 0 0 .65rem; font-size: 1.24rem; line-height: 1.3; letter-spacing: -.018em; }
.procedure-card > p { margin-bottom: .95rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.procedure-card details { margin-top: auto; border-top: 1px solid #e2e9eb; }
.procedure-card summary { padding: .82rem 0 .1rem; color: var(--teal-dark); font-size: .87rem; font-weight: 750; cursor: pointer; }
.procedure-card details[open] summary { margin-bottom: .6rem; }
.requirements-title { margin: 0 0 .4rem; color: var(--ink); font-size: .78rem; font-weight: 800; }
.requirements-list { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.official-link { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .25rem; font-size: .85rem; font-weight: 800; }
.empty-state { grid-column: 1 / -1; padding: 2rem; border: 1px dashed #b7c8ce; border-radius: .65rem; color: var(--muted); text-align: center; }
.notice { padding: .9rem 1rem; border-radius: .5rem; }
.notice-warn { background: var(--gold-soft); color: #493416; }
.source-note { display: flex; gap: .75rem; margin-top: 1.5rem; padding: .8rem 1rem; background: #f1f5f4; border-radius: .5rem; }
.source-note-mark { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #d8e8e1; color: var(--teal-dark); font-size: .8rem; font-weight: 800; }
.source-note p { margin: 0; color: var(--muted); font-size: .83rem; }
.path-section { padding-block: 5rem; background: #123247; color: white; }
.section-heading-light .eyebrow { color: #8fd0bb; }
.section-heading-light > p { color: #d0dce1; }
.architecture { overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: .8rem; background: rgba(255,255,255,.055); }
.architecture-lane { padding: 1.25rem 1.35rem 1rem; }
.lane-label { display: flex; align-items: center; gap: .6rem; color: #d7e5e8; font-size: .72rem; letter-spacing: .08em; font-weight: 800; }
.lane-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #8fd0bb; }
.flow-row { display: flex; align-items: center; justify-content: space-between; gap: .25rem; margin: 1.1rem 0 .5rem; }
.flow-node { width: 15.4%; min-height: 100px; display: grid; grid-template-columns: 27px 1fr; align-content: center; align-items: center; gap: .15rem .4rem; padding: .65rem; border: 1px solid rgba(255,255,255,.25); border-radius: .55rem; background: rgba(255,255,255,.09); }
.flow-node-accent { border-color: #77c6ac; background: rgba(0,107,98,.45); }
.flow-icon { grid-row: span 2; color: #9ed9c5; font-size: 1.25rem; font-weight: 800; }
.flow-node strong { font-size: .82rem; line-height: 1.25; }
.flow-node small { color: #cedbe0; font-size: .73rem; line-height: 1.3; }
.flow-link { color: #9ed9c5; font-size: 1.35rem; }
.lane-footnote { margin: .45rem 0 0; color: #c4d3da; font-size: .78rem; }
.future-lane { padding: 1.1rem 1.35rem 1.2rem; border-top: 1px dashed rgba(255,255,255,.27); background: rgba(0,0,0,.08); }
.future-lane .lane-dot { background: #e4bb69; }
.future-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 1rem 0 .35rem; color: #e9d6ad; font-size: .87rem; font-weight: 750; }
.future-flow span:nth-child(even) { color: #b8c6cc; }
.faq-section { padding-block: 5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.15rem 3rem 1.15rem .1rem; font-size: 1rem; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .3rem; top: .86rem; color: var(--teal); font-size: 1.4rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 850px; margin: -.2rem 0 1.15rem; color: var(--muted); font-size: .93rem; }
.security-section { padding-block: 4rem; background: #f0f5f1; }
.security-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: start; gap: 1.4rem; }
.security-grid .eyebrow { margin-bottom: .65rem; }
.security-grid h2 { max-width: 370px; margin-bottom: .65rem; }
.security-intro { max-width: 390px; margin: 0; color: var(--muted); font-size: .9rem; }
.security-item { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; padding: .45rem 0 .35rem 1.2rem; border-left: 1px solid #c7d8ce; }
.security-number { color: var(--gold); font-weight: 850; font-size: .85rem; }
.security-item h3 { margin: 0 0 .5rem; font-size: 1.04rem; line-height: 1.35; }
.security-item p { margin: 0; color: var(--muted); font-size: .86rem; }
.sources-section { padding-block: 4.4rem; }
.source-links { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.source-links li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem .1rem; border-bottom: 1px solid var(--line); font-size: .86rem; }
.source-links a { font-weight: 700; }
.source-links span { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.sources-date { margin: .8rem 0 0; color: var(--muted); font-size: .76rem; }
.site-footer { background: #102b3d; color: white; }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand small { display: block; color: #c3d2d9; font-size: .75rem; }
.footer-inner > p { max-width: 420px; margin: 0; color: #c3d2d9; font-size: .77rem; }
.footer-inner > a { color: #a7dcca; font-size: .82rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: .8rem; gap: .8rem 1rem; }
  nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-block: .35rem .15rem; }
  .academic-tag { font-size: .62rem; }
  .hero { gap: 2.2rem; }
  .procedure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .security-grid > div { grid-column: 1 / -1; }
  .flow-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
  .flow-node { width: auto; min-height: 88px; }
  .flow-link { display: none; }
}
@media (max-width: 690px) {
  body { font-size: 16px; }
  .section-wrap, .header-inner { width: min(100% - 2rem, 540px); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .academic-tag { max-width: 120px; white-space: normal; text-align: center; line-height: 1.25; }
  nav { gap: 1.1rem; }
  nav a { font-size: .82rem; white-space: nowrap; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 2.2rem; padding-block: 3.4rem 3rem; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.45rem); }
  .hero-lede { font-size: 1rem; }
  .hero-art { min-height: 315px; margin: 0 .5rem .5rem 0; padding: 1.1rem; }
  .trust-inner { display: grid; grid-template-columns: 1fr 1fr; padding-block: 1.1rem; gap: .75rem 1rem; font-size: .77rem; }
  .trust-note { grid-column: 1 / -1; }
  .procedures-section, .faq-section { padding-block: 3.6rem; }
  .section-heading { display: block; margin-bottom: 1.45rem; }
  .section-heading > p { margin-top: .8rem; }
  .filters { grid-template-columns: 1fr; padding: .95rem; }
  .filters .button { width: 100%; }
  .procedure-grid { grid-template-columns: 1fr; }
  .procedure-card { min-height: 0; padding: 1.2rem; }
  .path-section { padding-block: 3.6rem; }
  .architecture-lane { padding: 1rem; }
  .flow-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .flow-node { min-height: 82px; padding: .65rem; }
  .future-lane { padding: 1rem; }
  .future-flow { gap: .5rem; font-size: .78rem; }
  .security-section { padding-block: 3.2rem; }
  .security-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .security-grid > div { grid-column: auto; }
  .security-item { padding-left: .8rem; }
  .sources-section { padding-block: 3.3rem; }
  .source-links li { display: grid; gap: .2rem; }
  .source-links span { font-size: .73rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .9rem; padding-block: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
