:root {
  color-scheme: light;
  --ink: #10212b;
  --muted: #60717c;
  --line: #dce7e8;
  --paper: #fff;
  --soft: #f3f8f7;
  --teal: #ff0000;
  --teal-dark: #b80000;
  --mint: #004987;
  --green: #004987;
  --gold: #004987;
  --uleam-gray: #4a4a49;
  --uleam-blue: #004987;
  --navy: #0a2835;
  --violet: #6657c8;
  --shadow-sm: 0 8px 30px rgba(8, 45, 54, .08);
  --shadow: 0 24px 70px rgba(5, 34, 43, .16);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--soft); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
.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; }

.hero { position: relative; min-height: 800px; padding: 20px clamp(20px, 4vw, 64px) 78px; color: #fff; background: radial-gradient(circle at 84% 30%, rgba(0,73,135,.32), transparent 28%), linear-gradient(125deg, #202629 0%, #3e4142 58%, #4a4a49 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, transparent, #000); }
.topbar, .hero-grid { position: relative; z-index: 2; max-width: 1240px; margin-inline: auto; }
.topbar { position: fixed; z-index: 50; top: 14px; left: max(20px, calc(50% - 620px)); right: max(20px, calc(50% - 620px)); min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 35px rgba(0,0,0,.15); backdrop-filter: blur(18px); transition: top .2s ease, background .2s ease, box-shadow .2s ease; }
.topbar.scrolled { top: 8px; background: rgba(255,255,255,.98); box-shadow: 0 14px 35px rgba(0,0,0,.22); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 176px; height: 46px; object-fit: contain; object-position: left center; }
.brand-divider { width: 1px; height: 32px; background: #d7dddf; }
.brand-service { color: #596368; font-size: .61rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { display: block; color: rgba(255,255,255,.7); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 11px 14px; border-radius: 10px; color: #424c51; font-size: .86rem; font-weight: 800; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--teal); background: #fff0f1; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #d7dddf; border-radius: 12px; background: #f6f7f7; padding: 11px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #343d41; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); align-items: center; gap: clamp(44px, 7vw, 100px); padding-top: clamp(142px, 17vh, 180px); }
.hero-copy { max-width: 700px; }
.hero h1, .section h2 { margin: 15px 0 20px; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 { max-width: 760px; font-size: clamp(3rem, 5.25vw, 5.1rem); font-weight: 780; }
.hero h1 em { color: #75b5e6; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.73); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary-action, .secondary-action, .access-actions a, .store-actions a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 19px; border-radius: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-action { color: #073934; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.primary-action span { font-size: 1.25rem; }
.secondary-action { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.primary-action:hover, .secondary-action:hover, .access-actions a:hover, .store-actions a:hover { transform: translateY(-2px); }

.hero-panel { position: relative; padding: 28px; color: var(--ink); border: 1px solid rgba(255,255,255,.6); border-radius: 26px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.hero-panel::before { content: "Panel institucional"; position: absolute; top: -13px; left: 26px; padding: 6px 10px; border-radius: 7px; color: #fff; background: var(--gold); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; color: var(--muted); }
.panel-header strong { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: .8rem; }
.panel-header i { width: 8px; height: 8px; border-radius: 50%; background: var(--uleam-blue); box-shadow: 0 0 0 5px rgba(0,73,135,.13); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.signal-grid article { padding: 18px 13px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.signal-grid strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 2rem; letter-spacing: -.04em; }
.signal-grid span { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.channel-map { display: grid; gap: 8px; margin-top: 18px; }
.channel-map span { position: relative; padding: 12px 12px 12px 38px; border-radius: 11px; color: #253e52; background: #edf4fa; font-size: .85rem; font-weight: 750; }
.channel-map span::before { content: "✓"; position: absolute; left: 13px; color: var(--green); font-weight: 900; }

.section { max-width: 1240px; margin: 0 auto; padding: 96px clamp(20px, 4vw, 34px); }
.section .eyebrow { color: var(--teal); }
.section h2 { max-width: 760px; font-size: clamp(2.25rem, 4vw, 3.65rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 34px; }
.section-heading p { max-width: 510px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.hero p, .section-heading p, .system-card p, .timeline-item p, .dialog-body p, .details-list li { text-align: justify; text-justify: inter-word; hyphens: auto; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.access-card, .qr-card, .system-card, .coverage-list article, .service-card, .capability-card, .timeline-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.access-card { min-height: 300px; display: flex; flex-direction: column; gap: 15px; padding: 28px; }
.access-card.featured { border: 0; color: #fff; background: radial-gradient(circle at 100% 0, rgba(69,208,175,.35), transparent 36%), linear-gradient(135deg, var(--navy), var(--teal-dark)); }
.access-label, .system-status, .system-channel, .status, .priority { width: max-content; max-width: 100%; border-radius: 999px; padding: 7px 11px; color: var(--teal); background: #fff0f0; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.featured .access-label { color: #b6f6e5; background: rgba(255,255,255,.1); }
.access-card h3, .service-card h3, .capability-card h3, .timeline-item h3, .coverage-list h3 { margin: 0; }
.access-card h3 { font-size: 1.45rem; }
.access-card p, .service-card p, .capability-card p, .timeline-item p, .coverage-list p, .qr-card figcaption, .system-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.featured p { color: rgba(255,255,255,.7); }
.access-actions, .store-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.access-actions a, .store-actions a { min-height: 44px; color: #fff; background: var(--navy); font-size: .82rem; }
.featured .access-actions a { color: var(--teal-dark); background: #fff; }
.quality-access { border-color: #b8d1e4; background: linear-gradient(145deg, #fff, #edf4fa); }
.quality-access .access-label { color: var(--uleam-blue); background: #e3eff8; }
.quality-access .access-actions a { background: var(--uleam-blue); }
.store-actions a:first-child { background: #12191d; }
.store-actions a:last-child { background: var(--green); }
.qr-card { margin: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.qr-card img { width: 100%; height: 238px; display: block; padding: 10px 10px 0; object-fit: contain; object-position: center; background: #fff; }
.qr-card figcaption { padding: 17px 18px; font-size: .82rem; }

.systems-section, .process-section { max-width: none; }
.systems-section { background: #fff; }
.systems-section .section-heading, .system-grid, .process-section .section-heading, .process-map { max-width: 1240px; margin-left: auto; margin-right: auto; }
.system-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.system-card { position: relative; display: flex; flex-direction: column; gap: 15px; padding: 30px; overflow: hidden; }
.system-card::after { content: ""; position: absolute; width: 180px; height: 180px; top: -100px; right: -80px; border-radius: 50%; background: rgba(0,125,115,.07); }
.system-card:nth-child(2) { border-color: #ded9fa; background: linear-gradient(160deg, #fff, #f7f5ff); }
.system-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.system-mark { min-width: 62px; min-height: 52px; display: inline-grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--navy), var(--teal)); font-weight: 900; }
.system-card:nth-child(2) .system-mark { background: linear-gradient(145deg, #423796, var(--violet)); }
.system-card:nth-child(2) .system-status, .system-card:nth-child(2) .system-channel { color: #4d40aa; background: #eeebff; }
.system-card h3 { margin: 0; font-size: 1.5rem; }
.system-card ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.45; }

.coverage { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.coverage-list { display: grid; gap: 12px; }
.coverage-list article { display: grid; grid-template-columns: 50px 1fr; gap: 7px 16px; padding: 20px 22px; transition: transform .2s ease, border-color .2s ease; }
.coverage-list article:hover { transform: translateX(4px); border-color: #acd9d1; }
.coverage-list span { grid-row: span 2; color: var(--green); font-size: 1.25rem; font-weight: 900; }
.coverage-list h3 { font-size: 1rem; }
.coverage-list p { font-size: .88rem; }

.portfolio { max-width: none; background: #eef5f4; }
.portfolio > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.search-box { min-width: min(370px, 100%); display: grid; gap: 7px; }
.search-box label { color: var(--muted); font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.search-box input { min-height: 50px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2360717c' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='m12 12 4 4'/%3E%3C/svg%3E") no-repeat 15px center; outline: 0; }
.search-box input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,125,115,.1); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: .82rem; font-weight: 800; cursor: pointer; }
.filter:hover { border-color: #8bc9bd; color: var(--teal); }
.filter.active { border-color: var(--teal); color: #fff; background: var(--teal); box-shadow: 0 7px 18px rgba(0,125,115,.2); }
.service-grid, .capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.service-card { min-height: 300px; display: flex; flex-direction: column; gap: 14px; padding: 22px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #b6d9d4; box-shadow: var(--shadow); }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; font-size: .78rem; font-weight: 900; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.status { padding: 7px 10px; font-size: .62rem; white-space: nowrap; }
.service-card h3 { font-size: 1.08rem; letter-spacing: -.015em; }
.service-card p { font-size: .88rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.tag-list span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: capitalize; }
.details-button { min-height: 42px; border: 0; border-radius: 11px; color: var(--uleam-blue); background: #eaf2f8; font-weight: 850; cursor: pointer; transition: color .2s ease, background .2s ease; }
.details-button:hover { color: #fff; background: var(--teal); }

.capability-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.capability-card { min-height: 210px; padding: 24px; }
.capability-card span { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 12px; color: var(--uleam-blue); background: #eaf2f8; font-size: .82rem; font-weight: 900; }
.capability-card h3 { margin-bottom: 10px; font-size: 1rem; }
.capability-card p { font-size: .86rem; }
.process-section { color: #fff; background: radial-gradient(circle at 20% 100%, rgba(69,208,175,.18), transparent 25%), #081f2b; }
.process-section .section-heading p { color: rgba(255,255,255,.66); }
.process-section .eyebrow { color: #8fc5eb; }
.process-map { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.12); }
.process-map article { min-height: 190px; padding: 26px; background: rgba(255,255,255,.055); }
.process-map span { display: inline-flex; margin-bottom: 34px; color: #8fc5eb; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.process-map strong { display: block; font-size: 1.08rem; line-height: 1.5; }

.timeline { position: relative; display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 145px minmax(0, 1fr) max-content; align-items: start; gap: 24px; padding: 22px 24px; overflow: hidden; }
.phase { color: var(--teal); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.timeline-item h3 { margin-bottom: 7px; font-size: 1.02rem; }
.timeline-item p { font-size: .88rem; }
.priority { justify-self: end; max-width: 210px; color: #7d5708; background: #fff4d7; white-space: normal; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.empty-state { grid-column: 1/-1; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); background: #fff; }

dialog { width: min(680px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 22px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3,20,28,.68); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; font-size: 1.1rem; cursor: pointer; }
.dialog-body { padding: 34px; }
.dialog-body h2 { margin: 8px 50px 10px 0; letter-spacing: -.03em; }
.dialog-body p, .details-list li { color: var(--muted); line-height: 1.65; }
.dialog-body .eyebrow { color: var(--teal); }
.details-list { display: grid; gap: 8px; margin: 20px 0 0; padding-left: 20px; }
footer { min-height: 170px; display: grid; grid-template-columns: minmax(360px,.85fr) minmax(420px,1.15fr); align-items: center; gap: 64px; padding: 32px max(52px, calc(50% - 620px)); border-top: 4px solid var(--uleam-blue); color: var(--muted); background: #fff; font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 190px; height: 58px; object-fit: contain; object-position: left center; }
.footer-brand span { padding-left: 18px; border-left: 1px solid var(--line); color: #657278; font-size: .72rem; font-weight: 750; line-height: 1.4; }
.footer-meta { display: grid; justify-items: end; gap: 14px; }
.footer-copy { max-width: 560px; line-height: 1.6; text-align: right; }
.footer-credit { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 9px 14px; border: 1px solid #d9e4ec; border-radius: 999px; color: #5d686d; background: #f5f8fa; font-size: .72rem; line-height: 1.35; }
.footer-credit i { width: 7px; height: 7px; border-radius: 50%; background: var(--uleam-blue); box-shadow: 0 0 0 4px rgba(0,73,135,.1); }
.footer-credit strong { color: var(--uleam-blue); }
.back-to-top { position: fixed; z-index: 45; right: clamp(20px,3vw,40px); bottom: clamp(20px,3vw,36px); width: 58px; height: 58px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: var(--uleam-blue); box-shadow: 0 14px 34px rgba(0,73,135,.3); font-size: 1.35rem; font-weight: 900; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease, bottom .25s ease; }
.back-to-top::after { content: ""; position: absolute; right: 5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #ff0000; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top.near-footer { bottom: 188px; }
.back-to-top:hover { transform: translateY(-4px); background: #003763; box-shadow: 0 18px 38px rgba(0,73,135,.42); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 1020px) {
  .hero { min-height: auto; }
  .hero-grid, .coverage, .access-grid, .system-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 620px; }
  .access-grid { grid-template-columns: repeat(2,1fr); }
  .qr-card { display: grid; grid-template-columns: 260px 1fr; align-items: center; }
  .qr-card img { height: 180px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .capability-grid { grid-template-columns: repeat(3,1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .process-map { grid-template-columns: repeat(2,1fr); }
  .timeline-item { grid-template-columns: 120px minmax(0, 1fr); }
  .timeline-item .priority { grid-column: 2; justify-self: start; }
  footer { grid-template-columns: 1fr; gap: 24px; }
  .footer-meta { justify-items: start; }
  .footer-copy { text-align: left; }
}
@media (max-width: 760px) {
  .hero { padding: 14px 18px 58px; }
  .topbar { top: 10px; left: 12px; right: 12px; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .nav-links { width: 100%; max-height: 0; display: grid; gap: 2px; overflow: hidden; opacity: 0; transition: max-height .25s ease, opacity .25s ease; }
  .nav-links.open { max-height: 330px; padding: 10px 0 4px; opacity: 1; }
  .nav-links a { padding: 11px 8px; }
  .hero-grid { gap: 48px; padding-top: 128px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .section h2 { font-size: 2.35rem; }
  .hero p, .section-heading p, .system-card p, .timeline-item p, .dialog-body p, .details-list li { text-align: left; hyphens: none; }
  .access-grid, .service-grid, .capability-grid, .process-map { grid-template-columns: 1fr; }
  .qr-card { grid-column: auto; display: block; }
  .qr-card img { height: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .priority { justify-self: start; }
  footer { padding: 30px 22px; }
  .footer-meta { justify-items: start; }
  .footer-copy { text-align: left; }
  .back-to-top.near-footer { bottom: 248px; }
}
@media (max-width: 430px) {
  .brand-logo { width: 142px; height: 40px; }
  .brand-service, .brand-divider { display: none; }
  .hero h1 { font-size: 2.55rem; }
  .hero-actions, .hero-actions a, .access-actions a, .store-actions a { width: 100%; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid article { display: grid; grid-template-columns: 50px 1fr; align-items: center; }
  .signal-grid strong { margin: 0; }
  .hero-panel { padding: 22px 18px; }
  .coverage-list article { grid-template-columns: 42px 1fr; }
}
