:root {
    color-scheme: light;
    --blue: #1457d9;
    --blue-deep: #0c348c;
    --blue-dark: #09275f;
    --blue-soft: #eaf1ff;
    --ink: #132343;
    --muted: #62708a;
    --paper: #ffffff;
    --surface: #f5f8ff;
    --line: #e2e9f5;
    --shadow: 0 18px 55px rgba(13, 46, 112, .11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.visually-hidden,
.skip-link:not(:focus) {
    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:focus {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    color: #fff;
    background: var(--blue-deep);
    border-radius: 8px;
}

.site-header {
    position: fixed;
    z-index: 10;
    inset: 0 0 auto;
    color: #fff;
    background: rgba(15, 65, 171, .97);
    box-shadow: 0 4px 20px rgba(5, 28, 79, .14);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-image {
    width: 46px;
    height: 46px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: 13px;
}

.brand-image img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { color: #fff; font-size: .88rem; letter-spacing: .035em; }
.brand-copy small { color: rgba(255,255,255,.72); font-size: .69rem; }

.primary-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2.2vw, 29px);
}

.primary-navigation > a {
    color: rgba(255,255,255,.88);
    font-size: .86rem;
    font-weight: 550;
    transition: color .18s ease;
}

.primary-navigation > a:hover,
.primary-navigation > a:focus-visible { color: #fff; }

.primary-navigation > a.is-active {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.primary-navigation .nav-contact {
    padding: 11px 16px;
    color: var(--blue-deep);
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
}

.menu-toggle { display: none; }

main { padding-top: 82px; }

.hero {
    position: relative;
    height: calc(100svh - 106px);
    min-height: 0;
    margin-top: 24px;
    color: #fff;
    background: #fff;
    overflow: hidden;
}

.hero-slides,
.hero-slide { position: absolute; inset: 0; }
.hero-slide {
    display: flex;
    align-items: flex-end;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .65s ease, visibility .65s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(5, 28, 82, .86) 0%,
        rgba(5, 28, 82, .48) 42%,
        rgba(12, 57, 145, .08) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 48px));
    margin-inline: max(24px, calc((100% - 1160px) / 2));
    padding: 40px 0 82px;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow-light { color: #b7d0ff; }

.hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.hero-content > p {
    max-width: 600px;
    margin: 0 0 32px;
    color: rgba(255,255,255,.85);
    font-size: clamp(1rem, 1.5vw, 1.17rem);
    line-height: 1.8;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 750;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--blue-deep); background: #fff; }
.button-light:hover { background: #eaf1ff; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(20,87,217,.2); }
.button-primary:hover { background: var(--blue-deep); }

.hero-detail-section {
    min-height: 60vh;
    padding: clamp(28px, 5vw, 56px) 0 72px;
    background: var(--surface);
}
.hero-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.hero-detail-image {
    position: relative;
    display: grid;
    min-height: 360px;
    place-items: center;
    padding: 18px;
    background: #eef4ff;
}
.hero-detail-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 12px;
}
.hero-image-expand,
.hero-image-viewer-close {
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(9, 39, 95, .82);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.hero-image-expand {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 16px rgba(9,39,95,.24);
}
.hero-image-expand:hover,
.hero-image-viewer-close:hover {
    background: var(--blue);
    transform: scale(1.06);
}
.hero-image-expand svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}
.hero-image-viewer {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    padding: 64px 24px 24px;
    overflow: hidden;
    background: rgba(4, 12, 29, .96);
    border: 0;
}
.hero-image-viewer[open] {
    display: grid;
    place-items: center;
}
.hero-image-viewer::backdrop { background: rgba(4, 12, 29, .96); }
.hero-image-viewer > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero-image-viewer-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
}
.hero-detail-copy {
    align-self: center;
    padding: clamp(26px, 5vw, 56px);
}
.hero-detail-copy h2 {
    margin: 14px 0 18px;
    color: var(--blue-deep);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    letter-spacing: -.04em;
    line-height: 1.14;
    overflow-wrap: anywhere;
}
.hero-detail-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.85;
    white-space: pre-line;
}
.hero-detail-back { margin-top: 24px; }

.slider-controls {
    position: absolute;
    z-index: 2;
    right: max(24px, calc((100% - 1160px) / 2));
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.slider-arrow,
.slider-dot {
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    cursor: pointer;
}
.slider-arrow { width: 40px; height: 40px; border-radius: 50%; }
.slider-dots { display: flex; align-items: center; gap: 7px; }
.slider-dot { width: 8px; height: 8px; padding: 0; border-radius: 99px; }
.slider-dot.is-active { width: 24px; background: #fff; }

.advertisement {
    padding: clamp(64px, 8vw, 104px) 0;
    background:
        radial-gradient(ellipse at 82% 50%, rgba(20, 87, 217, .08), transparent 42%),
        var(--surface);
}
.advertisement-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
}
.advertisement-copy h2 {
    max-width: 430px;
    margin: 16px 0;
    color: var(--ink);
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    font-weight: 760;
    letter-spacing: -.05em;
    line-height: 1.08;
}
.advertisement-copy p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
}
.advertisement-video {
    overflow: hidden;
    background: var(--blue-dark);
    border: 1px solid rgba(9, 39, 95, .12);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(13, 46, 112, .18);
}
.advertisement-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.content-section { padding: 100px 0; scroll-margin-top: 82px; }
.page-main .content-section { padding-top: 48px; }
.content-section:nth-of-type(even) { background: var(--surface); }
.section-heading { max-width: 740px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 {
    margin: 13px 0 14px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.13;
}
.section-heading h1 {
    margin: 13px 0 14px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.13;
}
.info-card h2 { margin: 0 0 11px; color: var(--ink); font-size: 1.16rem; }
.section-heading > p,
.text-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.85;
}

.text-panel {
    max-width: 850px;
    margin-inline: auto;
    padding: clamp(24px, 5vw, 52px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.value-card {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
}
.value-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.75; }
.value-motto { background: var(--blue-deep); border-color: var(--blue-deep); }
.value-motto .eyebrow { color: #b7d0ff; }
.value-motto p { color: #fff; font-weight: 700; }

.card-grid { display: grid; gap: 20px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card {
    min-height: 260px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(13,46,112,.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.info-card:hover { transform: translateY(-5px); border-color: #b8cdf6; box-shadow: var(--shadow); }
.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 15px;
    font-size: 1.7rem;
}
.info-card h3 { margin: 0 0 11px; color: var(--ink); font-size: 1.16rem; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.course-details-link { margin-top: 20px; }
.button-back {
    color: var(--blue-deep);
    background: #fff;
    border-color: var(--line);
}
.button-back:hover { background: var(--blue-soft); }
.course-back-link { margin-bottom: 38px; }
.course-detail-heading { margin-bottom: 38px; }
.course-detail-heading h1 { overflow-wrap: anywhere; }
.course-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.course-detail-card {
    padding: clamp(22px, 4vw, 32px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(13, 46, 112, .04);
}
.course-recommendation-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #eef4ff, #fff 75%);
    border-color: #cbd9f4;
}
.course-recommendation-card .eyebrow { margin-bottom: 12px; }
.course-detail-card h2 { margin: 0 0 10px; color: var(--ink); font-size: 1.08rem; }
.course-recommendation-card h2 { font-size: 1.3rem; }
.course-detail-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.empty-note { grid-column: 1 / -1; color: var(--muted); text-align: center; }

.customer-showcase-hero {
    display: grid;
    min-height: 145px;
    place-items: center;
    padding: 24px 0;
    color: #fff;
    text-align: center;
    background:
        url("../images/customers/customers-banner.png") center / cover no-repeat,
        linear-gradient(112deg, #0b2a60, #123f80 52%, #061e49);
}
.customer-showcase-hero h1 {
    margin: 0 0 4px;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 760;
    letter-spacing: -.035em;
}
.customer-showcase-hero p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: .95rem;
}
.customer-showcase-accent {
    display: block;
    width: 80px;
    height: 3px;
    margin: 18px auto 0;
    background: #087df4;
    border-radius: 99px;
}
@media (min-width: 621px) {
    .customer-showcase-hero-accent { display: none; }
}
.customer-showcase-content { padding-top: 31px; padding-bottom: 64px; }
.customer-showcase-heading { margin-bottom: 18px; text-align: center; }
.customer-showcase-heading h2 {
    margin: 0 0 5px;
    color: var(--blue-deep);
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    font-weight: 760;
    letter-spacing: -.025em;
}
.customer-showcase-heading p { margin: 0; color: var(--ink); font-size: .92rem; }
.customer-showcase-heading .customer-showcase-accent { margin-top: 10px; }
.customer-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.customer-project-card {
    min-width: 0;
    min-height: 149px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(13, 46, 112, .09);
}
.customer-project-details {
    min-width: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 8px 12px 12px;
}
.customer-project-logo {
    display: grid;
    min-width: 0;
    min-height: 60px;
    place-items: center;
}
.customer-project-logo img {
    display: block;
    width: 100%;
    max-height: 76px;
    object-fit: contain;
}
.customer-project-logo .customer-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 800;
}
.customer-project-copy { min-width: 0; }
.customer-project-copy h3 {
    margin: 0 0 5px;
    color: var(--blue-deep);
    font-size: .78rem;
    font-weight: 760;
    line-height: 1.35;
}
.customer-project-copy p {
    margin: 0;
    color: var(--ink);
    font-size: .7rem;
    line-height: 1.45;
}
.customer-project-link {
    min-height: 25px;
    gap: 7px;
    margin-top: 9px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: .62rem;
}
.customer-project-image {
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: #eaf1ff;
}
.customer-project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customer-project-image-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.88);
    font-size: 2rem;
    background:
        radial-gradient(circle at 70% 30%, rgba(255,255,255,.35), transparent 38%),
        linear-gradient(145deg, #1789d8, #0b2a60);
}
.customer-showcase-cta {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding: 14px 34px;
    color: #fff;
    background:
        radial-gradient(circle at 87% 120%, transparent 0 70px, rgba(12, 118, 255, .17) 71px 72px, transparent 73px 87px, rgba(12, 118, 255, .14) 88px 89px, transparent 90px),
        linear-gradient(105deg, #102e68, #0d2b63);
    border-radius: 10px;
}
.customer-showcase-trophy {
    display: grid;
    width: 76px;
    min-height: 43px;
    flex: 0 0 auto;
    place-items: center;
    border-right: 2px solid #087df4;
    font-size: 2rem;
}
.customer-showcase-cta-copy { min-width: 0; flex: 1; }
.customer-showcase-cta-copy h2 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 1.02rem;
}
.customer-showcase-cta-copy p { margin: 0; color: rgba(255,255,255,.9); font-size: .82rem; }
.customer-showcase-cta > .button { flex: 0 0 auto; border-radius: 999px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.contact-details { display: grid; justify-items: start; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 13px;
    font-size: 1.2rem;
}
.contact-item > span:last-child { display: grid; gap: 4px; }
.contact-item small { color: var(--muted); font-size: .78rem; }
.contact-item strong { color: var(--ink); font-size: .94rem; font-weight: 650; }
.contact-details .button { margin-top: 7px; }
.map-frame {
    min-height: 350px;
    overflow: hidden;
    background: var(--blue-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 350px; display: block; border: 0; }
.map-frame > a { display: block; padding: 12px 16px; color: var(--blue-deep); font-size: .82rem; font-weight: 700; }

.site-footer { color: #fff; background: var(--blue-dark); }
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 48px;
}
.brand-footer .brand-copy small { color: rgba(255,255,255,.62); }
.footer-brand > p { max-width: 380px; margin: 20px 0 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.footer-contact { display: grid; justify-items: start; gap: 11px; }
.footer-contact h2 { margin: 0 0 5px; color: #fff; font-size: 1rem; }
.footer-contact a,
.footer-contact span { color: rgba(255,255,255,.76); font-size: .88rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.footer-bottom strong { color: #fff; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .8rem; font-weight: 700; }
.back-to-top > span:first-child { font-size: 1.1rem; }

.admin-login-modal {
    width: min(440px, calc(100% - 32px));
    max-width: none;
    padding: 34px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 30px 100px rgba(4, 24, 67, .3);
}
.admin-login-modal::backdrop { background: rgba(5, 20, 52, .68); backdrop-filter: blur(5px); }
.admin-login-heading { position: relative; padding-top: 57px; }
.admin-login-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    border-radius: 13px;
    font-size: 1.2rem;
}
.admin-login-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 38px;
    color: var(--muted);
    background: var(--surface);
    border: 0;
    border-radius: 10px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.admin-login-heading h2 { margin: 8px 0; font-size: 1.65rem; letter-spacing: -.04em; }
.admin-login-heading p { margin: 0; color: var(--muted); font-size: .92rem; }
.admin-login-form { display: grid; gap: 10px; margin-top: 25px; }
.admin-login-form label { margin-top: 5px; font-size: .84rem; font-weight: 700; }
.admin-login-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd6e8;
    border-radius: 9px;
    font: inherit;
}
.admin-login-form input:focus { border-color: var(--blue); outline: 3px solid rgba(20,87,217,.15); }
.admin-login-form button { width: 100%; margin-top: 12px; cursor: pointer; }
.admin-reset-link {
    justify-self: center;
    margin-top: 5px;
    color: var(--blue);
    font-size: .86rem;
    font-weight: 700;
}
.admin-reset-link:hover { color: var(--blue-deep); text-decoration: underline; }
.admin-login-messages {
    margin-top: 18px;
    padding: 11px 13px;
    color: #8d2632;
    background: #fff0f1;
    border: 1px solid #ffd1d5;
    border-radius: 9px;
    font-size: .86rem;
}
.admin-login-messages p { margin: 0; }
.password-reset-panel {
    width: min(100%, 520px);
    display: grid;
    gap: 12px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 40px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.password-reset-panel label { margin-top: 5px; font-size: .88rem; font-weight: 700; }
.password-reset-panel input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd6e8;
    border-radius: 9px;
    font: inherit;
}
.password-reset-panel input:focus { border-color: var(--blue); outline: 3px solid rgba(20,87,217,.15); }
.password-reset-panel > .button { margin-top: 10px; cursor: pointer; }
.password-reset-panel > .admin-reset-link { margin-top: 2px; }
.password-reset-message { color: var(--muted); line-height: 1.7; }
.password-reset-message p { margin: 0; }
.password-help { color: var(--muted); line-height: 1.55; }

:focus-visible { outline: 3px solid #ffc857; outline-offset: 3px; }

@media (max-width: 900px) {
    .header-inner { min-height: 74px; }
    main { padding-top: 74px; }
    .menu-toggle {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        color: #fff;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 9px;
        cursor: pointer;
    }
    .primary-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 13px 24px 22px;
        background: var(--blue-deep);
        box-shadow: 0 16px 24px rgba(5,28,79,.16);
    }
    .primary-navigation.is-open { display: flex; flex-direction: column; }
    .primary-navigation > a { padding: 9px 0; }
    .primary-navigation .nav-contact { align-self: flex-start; margin-top: 4px; padding: 11px 16px; }
    .hero { height: calc(100svh - 98px); }
    .advertisement-layout { grid-template-columns: 1fr; gap: 30px; }
    .advertisement-copy h2 { max-width: 560px; }
    .service-grid,
    .customer-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 28px; }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 36px, 1160px); }
    .header-inner { gap: 12px; }
    .brand-image { width: 41px; height: 41px; }
    .brand-copy strong { max-width: 200px; font-size: .75rem; }
    .brand-copy small { font-size: .63rem; }
    .hero { height: auto; min-height: 0; }
    .hero-slides { position: relative; inset: auto; }
    .hero-slide {
        position: relative;
        inset: auto;
        display: none;
        align-items: stretch;
        flex-direction: column;
        background: #fff;
        opacity: 1;
        visibility: visible;
        transition: none;
    }
    .hero-slide.is-active { display: flex; }
    .hero-image {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
    }
    .hero-shade { display: none; }
    .hero-content { width: auto; margin: 0; padding: 26px 18px 82px; }
    .hero h1 { font-size: clamp(2rem, 8.3vw, 2.55rem); }
    .hero-content > p { font-size: .98rem; }
    .slider-controls { right: 18px; bottom: 24px; }
    .content-section { padding: 74px 0; }
    .page-main .content-section { padding-top: 36px; }
    .section-heading { margin-bottom: 32px; }
    .service-grid,
    .customer-project-grid,
    .course-detail-grid,
    .contact-grid,
    .values-grid { grid-template-columns: 1fr; }
    .customer-showcase-hero {
        min-height: 132px;
        background:
            radial-gradient(ellipse at 18% 0%, rgba(32, 132, 255, .26), transparent 42%),
            linear-gradient(112deg, #0b2a60, #123f80 52%, #061e49);
    }
    .customer-showcase-hero h1.visually-hidden,
    .customer-showcase-hero p.visually-hidden {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
        border: 0;
    }
    .customer-showcase-hero .customer-showcase-hero-accent { display: block; }
    .customer-showcase-content { padding-top: 26px; }
    .customer-project-card { min-height: 140px; grid-template-columns: minmax(0, 1fr) 30%; }
    .customer-project-details { grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
    .customer-project-copy h3 { font-size: .82rem; }
    .customer-project-copy p { font-size: .74rem; }
    .customer-showcase-cta { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 18px; }
    .customer-showcase-trophy { width: 48px; }
    .customer-showcase-cta-copy { flex-basis: calc(100% - 64px); align-self: center; }
    .customer-showcase-cta > .button { margin-left: 60px; }
    .hero-detail-card { grid-template-columns: 1fr; }
    .hero-detail-image { min-height: 0; }
    .hero-detail-image img { max-height: 340px; }
    .hero-image-expand { top: 14px; right: 14px; }
    .hero-image-viewer { padding: 60px 12px 12px; }
    .hero-image-viewer-close { top: 10px; right: 12px; }
    .info-card { min-height: auto; }
    .contact-grid { gap: 32px; }
    .map-frame iframe { height: 300px; }
    .footer-main { flex-direction: column; gap: 32px; padding-top: 42px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 18px; padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
