@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --ink: #071b36;
    --ink-soft: #102e53;
    --blue: #0a5bc4;
    --blue-bright: #1f8cff;
    --cyan: #63ddff;
    --gold: #f7bc5a;
    --paper: #f5f8fc;
    --white: #ffffff;
    --line: rgba(7, 27, 54, .12);
    --muted: #63728a;
    --shadow: 0 25px 70px rgba(4, 24, 51, .16);
    --display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --body: 'DM Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.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;
}

.page-shell { overflow: hidden; }

.site-header {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo-image { display: block; width: 78px; height: 46px; padding: 1px 3px; object-fit: contain; background: #fff; border: 1px solid rgba(7,27,54,.1); border-radius: 7px; box-shadow: 0 3px 9px rgba(7,27,54,.06); }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; color: var(--blue-bright); }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.brand-copy { display: grid; gap: 0; }
.brand-name { color: var(--ink); font: 700 1.17rem/1 var(--display); letter-spacing: -.045em; }
.brand-name span { color: var(--blue); }
.brand-domain { color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-link { color: var(--muted); font-size: .86rem; font-weight: 600; transition: color .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--blue); }
.nav-toggle { display: none; }

.hero {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
    min-height: 615px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
    align-items: center;
    gap: 60px;
    position: relative;
    padding: 52px 0 85px;
}

.hero::before {
    content: '';
    position: absolute;
    left: -22vw;
    top: -200px;
    width: 62vw;
    height: 560px;
    background: radial-gradient(circle, rgba(99, 221, 255, .15), transparent 67%);
    pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; max-width: 610px; }
.eyebrow, .section-kicker { color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; }
.eyebrow-line { display: inline-block; width: 30px; height: 2px; background: var(--blue-bright); }
h1, h2, p { margin-top: 0; }
.hero h1 { max-width: 620px; margin-bottom: 24px; font: 600 clamp(3.35rem, 6vw, 5.85rem)/.99 var(--display); letter-spacing: -.08em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 440px; margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; }
.primary-button { display: inline-flex; align-items: center; gap: 28px; padding: 15px 18px 15px 22px; color: var(--white); background: var(--ink); font-size: .87rem; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; box-shadow: 0 12px 25px rgba(7, 27, 54, .18); }
.primary-button span { display: grid; place-items: center; width: 27px; height: 27px; color: var(--ink); background: var(--cyan); font-size: 1rem; }
.primary-button:hover, .primary-button:focus-visible { background: var(--blue); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(10, 91, 196, .23); }

.hero-visual { min-height: 460px; position: relative; display: grid; place-items: center; }
.visual-grid { position: absolute; inset: 30px 10px 40px 25px; background-image: linear-gradient(rgba(7, 27, 54, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 27, 54, .07) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%); }
.orbit { position: absolute; border: 1px solid rgba(31, 140, 255, .27); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 440px; height: 220px; }
.orbit-two { width: 315px; height: 410px; transform: rotate(55deg); border-color: rgba(99, 221, 255, .27); }
.signal { position: absolute; width: 8px; height: 8px; background: var(--gold); border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 5px rgba(247, 188, 90, .16); }
.signal-one { top: 108px; right: 87px; }
.signal-two { bottom: 84px; left: 93px; background: var(--blue-bright); box-shadow: 0 0 0 5px rgba(31, 140, 255, .16); }
.portal-card { width: min(390px, 80%); min-height: 276px; padding: 21px; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; color: var(--white); background: linear-gradient(135deg, #0a5bc4 0%, #092d64 57%, #071b36 100%); box-shadow: var(--shadow); transform: rotate(-4deg); }
.portal-card::after { content: ''; position: absolute; width: 105px; height: 105px; right: -30px; bottom: -30px; border-radius: 50%; background: var(--cyan); opacity: .16; }
.portal-card-top, .portal-card-bottom { display: flex; align-items: center; gap: 9px; font-size: .58rem; letter-spacing: .13em; text-transform: uppercase; }
.portal-card-top { color: rgba(255,255,255,.66); }
.portal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(99, 221, 255, .15); }
.portal-index { margin-left: auto; color: var(--cyan); }
.portal-card-center { display: grid; gap: 8px; }
.portal-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 7px; border: 1px solid rgba(255,255,255,.35); color: var(--cyan); font: 600 2.1rem/1 var(--display); }
.portal-card-center strong { font: 600 1.75rem/1.05 var(--display); letter-spacing: -.06em; }
.portal-card-center > span:last-child { color: rgba(255,255,255,.68); font-size: .76rem; }
.portal-card-bottom { color: rgba(255,255,255,.58); }
.card-arrow { margin-left: auto; color: var(--gold); font-size: 1rem; }
.visual-caption { position: absolute; right: 0; bottom: 5px; color: var(--muted); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; transform: rotate(-90deg) translateX(40%); transform-origin: right bottom; }

.access-section { padding: 92px max(32px, calc((100vw - 1240px) / 2)) 115px; color: var(--white); background: var(--ink); position: relative; }
.access-section::before { content: ''; position: absolute; width: 520px; height: 220px; top: -80px; right: -120px; background: radial-gradient(ellipse, rgba(31,140,255,.22), transparent 70%); pointer-events: none; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 39px; position: relative; }
.section-kicker { margin-bottom: 13px; color: var(--cyan); }
.section-heading h2 { max-width: 540px; margin-bottom: 10px; font: 600 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.065em; }
.section-intro { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,.58); }
.secure-label { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.67); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.secure-dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe29b; box-shadow: 0 0 0 4px rgba(111,226,155,.13); }
.access-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.access-card { min-height: 238px; padding: 23px 20px 20px; display: flex; flex-direction: column; position: relative; color: var(--white); background: #0c2a4c; border: 1px solid rgba(255,255,255,.1); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.access-card:hover, .access-card:focus-visible { background: #103863; border-color: rgba(99,221,255,.64); transform: translateY(-5px); }
.access-card-content { display: grid; gap: 7px; margin-top: auto; }
.access-icon { display: grid; place-items: center; width: 43px; height: 43px; color: var(--cyan); border: 1px solid rgba(99,221,255,.34); }
.access-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.access-card-meta { color: rgba(255,255,255,.45); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.access-card strong { font: 600 1.25rem/1.1 var(--display); letter-spacing: -.045em; }
.access-card-content > span:last-child { max-width: 170px; color: rgba(255,255,255,.57); font-size: .78rem; line-height: 1.45; }
.organization-label { color: var(--cyan); font-size: .7rem; line-height: 1.35; }
.access-arrow { position: absolute; top: 22px; right: 20px; color: var(--gold); font-size: 1.23rem; }
.is-disabled { color: rgba(255,255,255,.46); cursor: not-allowed; background: rgba(255,255,255,.04); border-style: dashed; }
.is-disabled:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); transform: none; }
.is-disabled .access-icon { color: rgba(255,255,255,.44); border-color: rgba(255,255,255,.18); }
.disabled-badge { position: absolute; top: 22px; right: 18px; color: rgba(255,255,255,.45); font-size: .61rem; letter-spacing: .06em; text-transform: uppercase; }

.access-card-light { color: var(--ink); background: var(--white); border-color: rgba(7,27,54,.13); box-shadow: 0 12px 32px rgba(7,27,54,.08); }
.access-card-light:hover, .access-card-light:focus-visible { color: var(--ink); background: var(--white); border-color: var(--blue-bright); box-shadow: 0 18px 38px rgba(7,27,54,.13); }
.access-card-light .access-card-meta { color: var(--muted); }
.access-card-light .access-card-content > span:last-child { color: var(--muted); }
.access-card-light .organization-label { color: var(--blue); }
.access-card-light .access-icon { color: var(--blue); border-color: rgba(10,91,196,.24); }

.company-page { min-height: 100vh; background: var(--paper); }
.company-shell { min-height: 100vh; overflow: hidden; }
.company-header { width: min(1240px, calc(100% - 64px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.company-back { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; font-weight: 600; transition: color .2s ease; }
.company-back:hover, .company-back:focus-visible { color: var(--blue); }
.company-hero { width: min(1240px, calc(100% - 64px)); min-height: 465px; margin: 0 auto; padding: 50px 0 80px; display: grid; grid-template-columns: 1fr .58fr; gap: 60px; align-items: center; position: relative; }
.company-hero::before { content: ''; position: absolute; width: 580px; height: 250px; left: -190px; top: 25px; background: radial-gradient(ellipse, rgba(99,221,255,.15), transparent 70%); pointer-events: none; }
.company-hero-copy { max-width: 680px; position: relative; z-index: 1; }
.company-hero h1 { max-width: 650px; margin: 0 0 20px; font: 600 clamp(3.1rem, 6vw, 5.6rem)/.98 var(--display); letter-spacing: -.08em; }
.company-hero h1 em, .vitalic-copy h1 em { color: var(--blue); font-style: normal; }
.company-hero-copy > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.company-emblem { width: 260px; height: 260px; margin-left: auto; display: grid; place-items: center; position: relative; border: 1px solid rgba(10,91,196,.22); transform: rotate(8deg); }
.company-emblem::before, .company-emblem::after { content: ''; position: absolute; border: 1px solid rgba(31,140,255,.18); }
.company-emblem::before { inset: 15px; }
.company-emblem::after { width: 12px; height: 12px; top: 24px; right: 18px; background: var(--gold); border: 0; }
.emblem-letter { color: rgba(10,91,196,.16); font: 700 13rem/.8 var(--display); letter-spacing: -.18em; transform: translateX(-8px); }
.emblem-caption { position: absolute; bottom: 31px; left: 33px; color: var(--blue); font-size: .62rem; font-weight: 700; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.portal-access-section { padding: 88px max(32px, calc((100vw - 1240px) / 2)) 105px; background: var(--ink); color: var(--white); }
.portal-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 36px; }
.portal-section-heading h2 { margin: 0; font: 600 clamp(2rem, 4vw, 3.4rem)/1 var(--display); letter-spacing: -.07em; }
.portal-section-heading > p { max-width: 320px; margin: 0; color: rgba(255,255,255,.56); font-size: .88rem; }
.diresa-access-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.company-note { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 92px 0 110px; display: flex; align-items: center; gap: 27px; }
.company-note-mark { display: grid; place-items: center; flex: 0 0 auto; width: 62px; height: 62px; color: var(--white); background: var(--blue); font: 600 2rem var(--display); }
.company-note .section-kicker { margin-bottom: 10px; color: var(--blue); }
.company-note h2 { max-width: 620px; margin: 0; font: 600 clamp(1.7rem, 3.6vw, 3rem)/1.05 var(--display); letter-spacing: -.065em; }
.vitalic-main { min-height: calc(100vh - 170px); display: flex; flex-direction: column; }
.vitalic-hero { width: min(1120px, calc(100% - 64px)); flex: 1; margin: 0 auto; padding: 70px 0 80px; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 80px; }
.vitalic-copy h1 { margin: 0 0 20px; font: 600 clamp(3.6rem, 8vw, 7rem)/.9 var(--display); letter-spacing: -.1em; }
.vitalic-copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 32px; color: var(--muted); font-size: 1.08rem; }
.outline-button { display: inline-flex; align-items: center; gap: 22px; padding: 13px 15px 13px 19px; border: 1px solid rgba(7,27,54,.26); color: var(--ink); font-size: .84rem; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.outline-button span { color: var(--blue); font-size: 1.1rem; }
.outline-button:hover, .outline-button:focus-visible { color: var(--white); background: var(--ink); border-color: var(--ink); }
.outline-button:hover span, .outline-button:focus-visible span { color: var(--cyan); }
.vitalic-panel { min-height: 390px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; color: var(--white); background: linear-gradient(145deg, #0a5bc4 0%, #092d64 55%, #071b36 100%); box-shadow: var(--shadow); transform: rotate(4deg); }
.vitalic-panel::after { content: ''; position: absolute; width: 230px; height: 230px; right: -70px; bottom: -80px; border: 1px solid rgba(99,221,255,.3); border-radius: 50%; box-shadow: 0 0 0 28px rgba(99,221,255,.04), 0 0 0 56px rgba(99,221,255,.025); }
.vitalic-panel-top { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.63); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.vitalic-panel-top span:last-child { margin-left: auto; color: var(--cyan); }
.vitalic-symbol { width: 75px; height: 75px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); color: var(--cyan); font: 600 3.6rem/.8 var(--display); }
.vitalic-panel strong { display: block; max-width: 250px; margin-bottom: 10px; font: 600 2rem/1.02 var(--display); letter-spacing: -.07em; }
.vitalic-panel p { max-width: 260px; margin: 0; color: rgba(255,255,255,.63); font-size: .78rem; line-height: 1.5; }
.vitalic-status { align-self: flex-start; padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.62); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.vitalic-note { width: min(1120px, calc(100% - 64px)); padding-top: 40px; padding-bottom: 70px; }

.about-section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 120px 0 135px; display: grid; grid-template-columns: .52fr 1.32fr .55fr; gap: 60px; align-items: start; }
.about-label { display: flex; align-items: center; justify-content: space-between; }
.about-label .section-kicker { margin: 0; color: var(--blue); }
.about-number { color: rgba(7,27,54,.24); font: 500 1rem var(--display); }
.about-content h2 { max-width: 680px; margin-bottom: 28px; font: 600 clamp(2.1rem, 4.3vw, 4rem)/1.04 var(--display); letter-spacing: -.075em; }
.about-content p { max-width: 650px; margin-bottom: 17px; color: var(--muted); font-size: 1rem; }
.about-stamp { width: 155px; height: 155px; margin: 20px auto 0; display: grid; place-items: center; position: relative; border: 1px solid rgba(10,91,196,.35); transform: rotate(7deg); }
.about-stamp::before, .about-stamp::after { content: ''; position: absolute; border: 1px solid rgba(31,140,255,.16); }
.about-stamp::before { inset: 9px; }
.about-stamp::after { width: 15px; height: 15px; right: -8px; top: 20px; background: var(--gold); border: 0; }
.about-stamp > span { position: absolute; color: rgba(10,91,196,.2); font: 700 6.5rem/.8 var(--display); letter-spacing: -.13em; }
.about-stamp small { position: relative; z-index: 1; color: var(--blue); font-size: .58rem; font-weight: 700; letter-spacing: .13em; line-height: 1.45; text-align: center; text-transform: uppercase; }

.site-footer { min-height: 82px; padding: 22px max(32px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.64); background: #041224; font-size: .75rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font: 600 .92rem var(--display); }
.footer-mark { display: grid; place-items: center; width: 26px; height: 26px; color: var(--ink); background: var(--cyan); font-weight: 700; }
.site-footer p { margin: 0; }
.footer-domain { margin-left: auto; color: rgba(255,255,255,.4); letter-spacing: .08em; }

.login-page { min-height: 100vh; background: var(--ink); }
.login-shell { min-height: 100vh; padding: 30px max(32px, 5vw) 50px; position: relative; overflow: hidden; }
.login-shell::before { content: ''; position: absolute; width: 66vw; height: 66vw; left: -39vw; top: -22vw; border: 1px solid rgba(99,221,255,.13); border-radius: 50%; box-shadow: 0 0 0 80px rgba(99,221,255,.025), 0 0 0 160px rgba(99,221,255,.018); }
.login-back { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: .8rem; position: relative; z-index: 1; transition: color .2s ease; }
.login-back:hover, .login-back:focus-visible { color: var(--cyan); }
.login-brand .brand-logo-image { width: 86px; height: 50px; box-shadow: 0 6px 15px rgba(0,0,0,.16); }
.login-layout { width: min(1060px, 100%); min-height: calc(100vh - 100px); margin: 0 auto; display: grid; grid-template-columns: 1fr .83fr; align-items: center; gap: 90px; position: relative; z-index: 1; }
.login-brand .brand-name { color: var(--white); }
.login-brand .brand-domain { color: rgba(255,255,255,.45); }
.login-intro { min-height: 510px; padding: 38px 0; display: flex; flex-direction: column; justify-content: space-between; }
.login-intro-copy { max-width: 480px; }
.login-intro-copy .eyebrow { color: var(--cyan); }
.login-intro-copy h1 { margin-bottom: 19px; color: var(--white); font: 600 clamp(2.9rem, 5vw, 5rem)/.97 var(--display); letter-spacing: -.08em; }
.login-intro-copy p:last-child { max-width: 420px; margin: 0; color: rgba(255,255,255,.57); }
.login-role-mark { width: 105px; height: 105px; display: grid; place-items: center; border: 1px solid rgba(99,221,255,.36); color: var(--cyan); font: 600 3rem var(--display); transform: rotate(-8deg); }
.login-panel { max-width: 450px; padding: 42px; background: var(--white); box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.login-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 29px; }
.login-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--blue); background: #e8f4ff; }
.login-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.panel-label { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.login-panel h2 { margin-bottom: 8px; font: 600 2rem/1.05 var(--display); letter-spacing: -.06em; }
.login-description { margin-bottom: 28px; color: var(--muted); font-size: .9rem; }
.login-form { display: grid; gap: 9px; }
.login-form label { margin-top: 9px; color: var(--ink); font-size: .77rem; font-weight: 700; }
.login-form input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); outline: 0; color: var(--ink); background: #f9fbfd; font-size: .9rem; transition: border-color .2s ease, box-shadow .2s ease; }
.login-form input:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(31,140,255,.12); }
.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 14px; padding: 13px 15px 13px 18px; border: 0; color: var(--white); background: var(--ink); cursor: pointer; font-size: .85rem; font-weight: 700; transition: background .2s ease; }
.login-submit span { color: var(--cyan); font-size: 1.2rem; }
.login-submit:hover, .login-submit:focus-visible { background: var(--blue); }
.login-note { display: flex; gap: 8px; margin: 17px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.login-note > span { flex: 0 0 auto; display: grid; place-items: center; width: 16px; height: 16px; color: var(--white); background: var(--blue); border-radius: 50%; font-size: .65rem; font-weight: 700; }
.login-feedback { min-height: 1.35em; margin: 0; color: var(--blue); font-size: .77rem; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 930px) {
    .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 62px; }
    .hero-copy { max-width: 700px; }
    .hero-visual { min-height: 370px; }
    .access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-section { grid-template-columns: .7fr 1.7fr; }
    .about-stamp { grid-column: 2; margin: 15px 0 0; }
    .company-hero { grid-template-columns: 1fr; gap: 20px; }
    .company-emblem { margin: 10px 0 0; }
    .vitalic-hero { grid-template-columns: 1fr; gap: 45px; }
    .vitalic-panel { width: min(480px, 100%); }
    .login-layout { grid-template-columns: 1fr; gap: 40px; align-items: start; padding: 70px 0 20px; }
    .login-intro { min-height: auto; gap: 55px; }
    .login-panel { width: 100%; max-width: 560px; }
}

@media (max-width: 640px) {
    .site-header, .hero, .about-section { width: min(100% - 36px, 1240px); }
    .company-header, .company-hero, .company-note, .vitalic-hero { width: min(100% - 36px, 1240px); }
    .site-header { min-height: 76px; }
    .brand-logo-image { width: 68px; height: 42px; padding: 1px 3px; }
    .company-header { min-height: 76px; }
    .nav-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
    .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
    .main-nav { position: absolute; right: 0; top: 67px; display: none; min-width: 180px; padding: 12px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 35px rgba(7,27,54,.12); }
    .main-nav.is-open { display: flex; }
    .nav-link { padding: 10px 9px; }
    .hero { min-height: auto; padding: 52px 0 70px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
    .hero-text { font-size: 1rem; }
    .hero-visual { min-height: 305px; margin: 0 -4px; }
    .portal-card { min-height: 220px; width: min(320px, 82%); padding: 16px; }
    .portal-card-center strong { font-size: 1.35rem; }
    .orbit-one { width: 320px; height: 165px; }
    .orbit-two { width: 240px; height: 305px; }
    .visual-caption { display: none; }
    .access-section { padding: 70px 18px 76px; }
    .section-heading { display: block; margin-bottom: 28px; }
    .secure-label { margin-top: 20px; display: inline-flex; }
    .access-grid { grid-template-columns: 1fr; }
    .access-card { min-height: 190px; }
    .organization-label { max-width: 205px; }
    .about-section { display: block; padding: 76px 0 88px; }
    .about-label { margin-bottom: 35px; }
    .about-content h2 { font-size: 2.45rem; }
    .about-stamp { margin: 38px 0 0 auto; }
    .site-footer { padding: 25px 18px; display: grid; gap: 5px; }
    .footer-domain { margin-left: 0; }
    .company-back { font-size: .72rem; }
    .company-hero { min-height: auto; padding: 52px 0 68px; }
    .company-hero h1 { font-size: clamp(3.2rem, 15vw, 4.7rem); }
    .company-emblem { width: 210px; height: 210px; }
    .emblem-letter { font-size: 10rem; }
    .portal-access-section { padding: 68px 18px 78px; }
    .portal-section-heading { display: block; margin-bottom: 28px; }
    .portal-section-heading > p { margin-top: 16px; }
    .diresa-access-grid { grid-template-columns: 1fr; }
    .company-note { display: flex; padding: 65px 0 78px; align-items: flex-start; }
    .company-note h2 { font-size: 2.1rem; }
    .vitalic-hero { padding: 54px 0 60px; }
    .vitalic-copy h1 { font-size: clamp(4rem, 18vw, 6rem); }
    .vitalic-panel { min-height: 335px; width: calc(100% - 15px); margin: 0 auto; transform: rotate(2deg); }
    .vitalic-note { padding-top: 10px; }
    .login-shell { padding: 22px 18px 35px; }
    .login-layout { padding-top: 48px; }
    .login-intro { gap: 34px; }
    .login-intro-copy h1 { font-size: 3.4rem; }
    .login-panel { padding: 27px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
