/* ═══════════════════════════════════════════════════════════════════════
 * ACCREDITATION PAGE (accreditation.html) — 2026-10 redesign.
 * Everything is prefixed .acx- so it never meets the older
 * body.page-accreditation rules in site.css (still used by the language
 * versions that keep the previous markup).
 * ═══════════════════════════════════════════════════════════════════════ */
body.page-accreditation {
    --acx-navy: #0a2540;
    --acx-navy-2: #123a66;
    --acx-blue: #0071e3;
    --acx-sky: #64d2ff;
    --acx-ink: #0b1b2e;
    --acx-text: #46566b;
    --acx-line: rgba(10, 37, 64, 0.1);
    --acx-radius: 32px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
body.page-accreditation .acx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    font: 700 15px/1.6 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
body.page-accreditation .acx-btn svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
body.page-accreditation .acx-btn:hover { transform: translateY(-2px); }
body.page-accreditation .acx-btn:hover .acx-ico-out { transform: translate(3px, -3px); }
body.page-accreditation .acx-btn:hover .acx-ico-down { transform: translateY(3px); }
body.page-accreditation .acx-btn:focus-visible { outline: 3px solid var(--acx-sky); outline-offset: 3px; }
body.page-accreditation .acx-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0071e3 0%, #1a8fff 50%, #005bb5 100%);
    box-shadow: 0 6px 22px rgba(0, 113, 227, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
body.page-accreditation .acx-btn-primary:hover { color: #fff; box-shadow: 0 10px 30px rgba(0, 113, 227, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
body.page-accreditation .acx-btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
body.page-accreditation .acx-btn-glass:hover { color: #fff; background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }
body.page-accreditation .acx-btn-outline {
    color: var(--acx-blue);
    background: #fff;
    border-color: rgba(0, 113, 227, 0.35);
}
body.page-accreditation .acx-btn-outline:hover { color: #fff; background: var(--acx-blue); border-color: var(--acx-blue); box-shadow: 0 8px 22px rgba(0, 113, 227, 0.3); }
body.page-accreditation .acx-btn-soft {
    color: var(--acx-blue);
    background: #fff;
    border-color: rgba(0, 113, 227, 0.22);
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.08);
    font-size: 14px;
    padding: 12px 20px;
}
body.page-accreditation .acx-btn-soft:hover { color: #005bb5; border-color: rgba(0, 113, 227, 0.5); box-shadow: 0 10px 24px rgba(0, 113, 227, 0.18); }

/* ── Pill label ──────────────────────────────────────────────────────── */
body.page-accreditation .acx-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    border-radius: 100px;
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.18);
    color: var(--acx-blue);
    font: 700 12.5px/1.6 Inter, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.page-accreditation .acx-pill svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.page-accreditation .acx-pill-dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--acx-sky);
}

/* ═══ HEADER OVER THE HERO ═════════════════════════════════════════════
     Same behavior as the home (css/hero.css, scoped to this page; same block as css/student-handbook.css): the header has
     no background, white links and a white logo (swapped by includes/hero.js)
     until loadHeader.js sets .scrolled, or while a mobile panel is open. */
/* header height (top bar + menu); includes/hero.js measures the real value on :root */
:root { --pl-hero-top: 121px; }
@media (max-width: 1024px) { :root { --pl-hero-top: 61px; } }
@media (max-width: 768px) { :root { --pl-hero-top: 57px; } }

body.page-accreditation .top-bar-wrapper {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
}
body.page-accreditation .glass-nav {
    transition: background-color 0.4s ease, -webkit-backdrop-filter 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
body.page-accreditation .nav-logo-box img {
    aspect-ratio: 585.63 / 120.25; /* the white logo swap never shifts the menu */
    object-fit: contain;
    object-position: left center;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-nav {
    /* see-through glass: the hero shows through, blurred (the dot grid too) */
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom-color: rgba(255, 255, 255, .12) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1) !important;
    backdrop-filter: blur(16px) saturate(160%) brightness(1) !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-link-item > a,
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-mobile-toggle i {
    color: #fff !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-link-item > a:hover {
    color: #64D2FF !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-actions .btn-lang {
    background: rgba(255, 255, 255, .12) !important;
    border-color: rgba(255, 255, 255, .35) !important;
    color: #fff !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-actions .btn-login {
    background: rgba(255, 255, 255, .12) !important;
    border: 1.5px solid rgba(255, 255, 255, .5) !important;
    box-shadow: none !important;
    color: #fff !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-actions .btn-login:hover {
    background: #fff !important;
    color: #0071e3 !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-actions .btn-apply {
    background: #fff !important;
    border-color: #fff !important;
    color: #0071e3 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25) !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-actions .btn-apply:hover {
    background: #eaf4ff !important;
    color: #005bb5 !important;
}
body.page-accreditation .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-mobile-toggle {
    background: rgba(255, 255, 255, .14) !important;
}
body.page-accreditation.has-login-island .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .login-island-btn {
    background: #fff !important;
    color: #0b1f33 !important;
}

/* Mobile menu (<= 1024px), as on the home: Portuguese on its own row, Login
     and Enroll Now side by side; the panel never runs past the screen. */
@media (max-width: 1024px) {
    body.page-accreditation .mobile-menu-panel {
      max-height: calc(100vh - var(--nav-h, 61px));
      max-height: calc(100svh - var(--nav-h, 61px));
      overscroll-behavior: contain;
    }
    body.page-accreditation .mobile-menu-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    body.page-accreditation .mobile-menu-actions .btn-glass-sm {
      min-width: 0;
      min-height: 46px;
      padding: 12px 14px !important;
    }
    body.page-accreditation .mobile-menu-actions .btn-lang {
      grid-column: 1 / -1;
      margin: 0 !important;
    }
}

/* ═══ HERO ═══════════════════════════════════════════════════════════════ */
body.page-accreditation .acx-hero {
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    /* fills the first screen and slides under the see-through header */
    min-height: 100vh;
    min-height: 100svh;
    margin-top: calc(-1 * var(--pl-hero-top));
    padding: calc(var(--pl-hero-top) + 40px) 0 36px;
    background: #00111f url("../images/uk-flag-hero-poster.webp") center / cover no-repeat;
    color: #fff;
}
body.page-accreditation .acx-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(70% 62% at 50% 46%, rgba(0, 16, 36, 0.78) 0%, rgba(0, 20, 44, 0.6) 55%, rgba(0, 14, 30, 0.42) 100%),
        linear-gradient(180deg, rgba(0, 8, 18, 0.45) 0%, rgba(0, 8, 18, 0) 30%, rgba(0, 8, 18, 0) 62%, rgba(0, 10, 22, 0.8) 100%);
}
body.page-accreditation .acx-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.page-accreditation .acx-hero-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    text-align: center !important;
}
body.page-accreditation .acx-hero .acx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    font: 700 13px/1.6 Inter, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.page-accreditation .acx-hero .acx-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acx-sky);
    box-shadow: 0 0 0 4px rgba(100, 210, 255, 0.22);
}
body.page-accreditation .acx-hero h1 {
    margin: 0 0 22px;
    font: 800 clamp(44px, 5.4vw, 84px)/1.03 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: -0.025em;
    color: #fff !important;
    text-align: center !important;
    text-shadow: 0 2px 30px rgba(0, 10, 25, 0.35);
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}
body.page-accreditation .acx-hero .acx-lead {
    max-width: 680px;
    margin: 0 auto 30px;
    font: 400 19px/1.55 Inter, sans-serif;
    color: rgba(255, 255, 255, 0.88);
    text-align: center !important;
}
body.page-accreditation .acx-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
body.page-accreditation .acx-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-self: stretch;
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
body.page-accreditation .acx-hero-proof li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 20px 36px 0 0;
    margin-right: 36px;
    font: 600 15px/1.4 Inter, sans-serif;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}
body.page-accreditation .acx-hero-proof li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
body.page-accreditation .acx-hero-proof svg {
    width: 22px;
    height: 22px;
    flex: none;
    fill: none;
    stroke: var(--acx-sky);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ═══ BODY WRAPPER ═══════════════════════════════════════════════════════ */
body.page-accreditation .acx-body {
    position: relative;
    z-index: 5;
    padding: 72px 0 24px;
}
body.page-accreditation .acx-body > .container > * + * { margin-top: 72px; }

/* ═══ ASIC ACCREDITATION (wide card) ═════════════════════════════════════ */
body.page-accreditation .acx-asic {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--acx-line);
    border-radius: var(--acx-radius);
    box-shadow: 0 24px 60px rgba(10, 37, 64, 0.08);
    overflow: hidden;
    scroll-margin-top: 110px;
}
body.page-accreditation .acx-asic-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 48px 32px;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(0, 113, 227, 0.1) 0%, rgba(0, 113, 227, 0) 70%),
        linear-gradient(180deg, #f4f8fd 0%, #eaf1fa 100%);
    border-right: 1px solid var(--acx-line);
}
body.page-accreditation .acx-asic-seal-img {
    width: 100%;
    max-width: 236px;
}
body.page-accreditation .acx-asic-seal-img img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
body.page-accreditation .acx-asic-seal .acx-btn { white-space: normal; text-align: center !important; line-height: 1.35; }
body.page-accreditation .acx-asic-copy {
    padding: 52px 56px;
}
body.page-accreditation .acx-asic-copy h2 {
    margin: 0 0 14px;
    font: 800 clamp(30px, 3vw, 42px)/1.1 Inter, sans-serif !important;
    letter-spacing: -0.025em;
    color: var(--acx-ink) !important;
    text-align: left !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}
body.page-accreditation .acx-asic-intro {
    max-width: 760px;
    margin: 0 0 28px;
    font: 500 18px/1.6 Inter, sans-serif;
    color: var(--acx-ink);
    text-align: left !important;
}
body.page-accreditation .acx-asic-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--acx-line);
}
body.page-accreditation .acx-asic-cols p {
    margin: 0;
    font: 400 15px/1.7 Inter, sans-serif;
    color: var(--acx-text);
    text-align: left !important;
}
body.page-accreditation .acx-asic-cols strong { color: var(--acx-ink); font-weight: 700; }

/* ═══ CARLOS GERKE (same card as the home page) ══════════════════════════ */
body.page-accreditation .acx-story {
    position: relative;
    overflow: hidden;
    padding: 60px;
    border-radius: var(--acx-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #0a2540 0%, #1a5490 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.85);
}
/* resting dot grid */
body.page-accreditation .acx-story::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(85% 80% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(85% 80% at 50% 45%, #000 30%, transparent 100%);
}
/* brighter dots that open around the cursor (includes/accreditation.js) */
@property --acx-open {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}
body.page-accreditation .acx-story-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1.2px, transparent 1.8px);
    background-size: 22px 22px;
    --acx-open: 0;
    -webkit-mask-image: radial-gradient(calc(260px * var(--acx-open) + 1px) calc(200px * var(--acx-open) + 1px) at var(--acx-x, 50%) var(--acx-y, 50%), #000 10%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
    mask-image: radial-gradient(calc(260px * var(--acx-open) + 1px) calc(200px * var(--acx-open) + 1px) at var(--acx-x, 50%) var(--acx-y, 50%), #000 10%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease, --acx-open 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
body.page-accreditation .acx-story.is-grid-on .acx-story-grid { opacity: 1; --acx-open: 1; }
body.page-accreditation .acx-story-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 7.5fr 4.5fr;
    gap: 80px;
    align-items: center;
}
body.page-accreditation .acx-story-copy { text-align: left !important; }
body.page-accreditation .acx-story .acx-eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    font: 700 13px/1.6 Inter, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--acx-sky);
}
body.page-accreditation .acx-story h2 {
    margin: 0 0 8px;
    font: 800 clamp(34px, 3.7vw, 52px)/1.1 Inter, sans-serif !important;
    letter-spacing: -0.025em;
    color: #fff !important;
    text-align: left !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}
body.page-accreditation .acx-story h3 {
    max-width: 440px;
    margin: 0 0 24px;
    font: 700 clamp(20px, 1.8vw, 25.6px)/1.4 Inter, sans-serif !important;
    letter-spacing: -0.02em;
    color: #80cfff !important;
    text-align: left !important;
}
body.page-accreditation .acx-story .acx-lead {
    max-width: 640px;
    margin: 0 0 12px;
    font: 400 15px/1.65 Inter, sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-align: left !important;
}
body.page-accreditation .acx-story .acx-lead:last-child { margin-bottom: 0; }
body.page-accreditation .acx-story .acx-lead-short,
body.page-accreditation .acx-story .gerke-stats { display: none; }
body.page-accreditation .acx-story-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--acx-radius);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ═══ COMMITTED TO QUALITY ═══════════════════════════════════════════════ */
body.page-accreditation .acx-quality-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    text-align: center !important;
}
body.page-accreditation .acx-quality-head h2 {
    margin: 0;
    text-align: center !important;
    font: 800 clamp(30px, 3.4vw, 46px)/1.1 Inter, sans-serif !important;
    letter-spacing: -0.025em;
    color: var(--acx-ink) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}
body.page-accreditation .acx-quality-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}
body.page-accreditation .acx-q-card {
    position: relative;
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--acx-line);
    box-shadow: 0 12px 34px rgba(10, 37, 64, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.8s ease;
}
body.page-accreditation .acx-q-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 22px 48px rgba(10, 37, 64, 0.12);
}
body.page-accreditation .acx-q-why { grid-column: span 7; }
body.page-accreditation .acx-q-us {
    grid-column: span 5;
    justify-content: space-between;
    background: linear-gradient(150deg, #0a2540 0%, #14467c 100%);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}
body.page-accreditation .acx-q-card h3 {
    margin: 0 0 10px;
    font: 800 24px/1.2 Inter, sans-serif !important;
    letter-spacing: -0.02em;
    color: var(--acx-ink) !important;
    text-align: left !important;
}
body.page-accreditation .acx-q-card p {
    margin: 0;
    font: 400 16px/1.7 Inter, sans-serif;
    color: var(--acx-text);
    text-align: left !important;
}
body.page-accreditation .acx-q-us p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
body.page-accreditation .acx-q-us p strong {
    display: block;
    margin-bottom: 10px;
    font: 800 24px/1.2 Inter, sans-serif;
    letter-spacing: -0.02em;
    color: #fff;
}
body.page-accreditation .acx-q-action .acx-q-text { flex: 1 1 auto; margin-bottom: 26px; }
body.page-accreditation .acx-q-action h3 { font-size: 21px !important; }
body.page-accreditation .acx-q-action p { font-size: 15px; line-height: 1.65; }

/* icon tiles */
body.page-accreditation .acx-q-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0071e3 0%, #38a3ff 100%);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff;
}
body.page-accreditation .acx-q-us .acx-q-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    color: var(--acx-sky);
}
body.page-accreditation .acx-q-icon svg {
    width: 40px;
    height: 40px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.page-accreditation .acx-q-icon svg * { transform-box: fill-box; transform-origin: center; }
body.page-accreditation .acx-q-icon ellipse, body.page-accreditation .acx-svg-orbit ellipse { vector-effect: non-scaling-stroke; }

/* globe: the meridians sweep across, so the globe seems to turn */
body.page-accreditation .acx-globe-m1 { animation: acx-globe-spin 5s linear infinite; }
body.page-accreditation .acx-globe-m2 { animation: acx-globe-spin 5s linear infinite -2.5s; }
@keyframes acx-globe-spin {
    0% { transform: scaleX(2.12); }
    50% { transform: scaleX(0.02); }
    100% { transform: scaleX(2.12); }
}
/* graduation cap: gentle bob, tassel swings from its knot */
body.page-accreditation .acx-cap-top { animation: acx-cap-bob 3.2s ease-in-out infinite; }
body.page-accreditation .acx-cap-tassel { transform-origin: 50% 0% !important; animation: acx-cap-swing 3.2s ease-in-out infinite; }
@keyframes acx-cap-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.6px); }
}
@keyframes acx-cap-swing {
    0%, 100% { transform: translateY(0) rotate(10deg); }
    50% { transform: translateY(-1.6px) rotate(-12deg); }
}
/* shield: the check draws itself, holds, and redraws */
body.page-accreditation .acx-shield-check {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: acx-check-draw 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
body.page-accreditation .acx-svg-shield { animation: acx-shield-pulse 3.6s ease-in-out infinite; }
@keyframes acx-check-draw {
    0%, 12% { stroke-dashoffset: 1; }
    38%, 86% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes acx-shield-pulse {
    0%, 30%, 100% { transform: scale(1); }
    40% { transform: scale(1.08); }
    52% { transform: scale(1); }
}
/* website window: the arrow leaves toward the corner and comes back */
body.page-accreditation .acx-site-arrow { animation: acx-arrow-go 2.8s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
body.page-accreditation .acx-site-dots { stroke-width: 3; }
@keyframes acx-arrow-go {
    0%, 20% { transform: translate(0, 0); opacity: 1; }
    48% { transform: translate(7px, -7px); opacity: 0; }
    52% { transform: translate(-7px, 7px); opacity: 0; }
    80%, 100% { transform: translate(0, 0); opacity: 1; }
}
/* small globe in the "Recognized Worldwide" pill */
body.page-accreditation .acx-svg-orbit ellipse { transform-box: fill-box; transform-origin: center; animation: acx-globe-spin 6s linear infinite; }
/* animations wait until the card is on screen, and speed up on hover */
body.page-accreditation .acx-q-card:not(.active) .acx-q-icon svg,
body.page-accreditation .acx-q-card:not(.active) .acx-q-icon svg * { animation-play-state: paused; }

/* ═══ RECOGNIZED WORLDWIDE ═══════════════════════════════════════════════ */
body.page-accreditation .acx-world {
    position: relative;
    z-index: 5;
    padding: 72px 0 96px;
}
body.page-accreditation .acx-world-card {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    border-radius: var(--acx-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(0, 113, 227, 0.38) 0%, rgba(0, 113, 227, 0) 70%),
        linear-gradient(180deg, #06203a 0%, #031223 100%);
    box-shadow: 0 30px 70px rgba(3, 18, 35, 0.28);
    color: #fff;
}
/* the site's dot grid (same dots as the Carlos Gerke card), strongest at the
   top and gone by the bottom */
body.page-accreditation .acx-world-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.8px);
    background-size: 22px 22px;
    background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 48%, transparent 86%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 48%, transparent 86%);
}
body.page-accreditation .acx-world-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
    padding: 0 64px 44px;
}
body.page-accreditation .acx-world-head h2 {
    margin: 18px 0 0;
    font: 800 clamp(32px, 3.6vw, 50px)/1.08 Inter, sans-serif !important;
    letter-spacing: -0.025em;
    color: #fff !important;
    text-align: left !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}
body.page-accreditation .acx-world-head p {
    margin: 0 0 6px;
    padding-left: 24px;
    border-left: 2px solid rgba(100, 210, 255, 0.5);
    font: 400 17px/1.65 Inter, sans-serif;
    color: rgba(255, 255, 255, 0.78);
    text-align: left !important;
}
body.page-accreditation .acx-world-marquee {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
body.page-accreditation .acx-world-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding-left: 64px;
}
body.page-accreditation .acx-world-track.is-looping {
    padding-left: 0;
    animation: acx-world-scroll 44s linear infinite;
    will-change: transform;
}
body.page-accreditation .acx-world-marquee:hover .acx-world-track,
body.page-accreditation .acx-world-track:focus-within { animation-play-state: paused; }
@keyframes acx-world-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 10px)); }
}
body.page-accreditation .acx-world-item {
    flex: 0 0 264px;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
body.page-accreditation .acx-world-item:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 210, 255, 0.5);
}
body.page-accreditation .acx-world-logo {
    display: flex;
    align-items: center;
    height: 54px;
    margin-bottom: 26px;
}
body.page-accreditation .acx-world-logo img {
    display: block;
    max-height: 100%;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}
body.page-accreditation .acx-world-name {
    font: 800 18px/1.2 Inter, sans-serif;
    letter-spacing: 0.02em;
    color: #fff;
}
body.page-accreditation .acx-world-full {
    margin-top: 4px;
    font: 400 14px/1.45 Inter, sans-serif;
    color: rgba(255, 255, 255, 0.66);
}

/* ═══ TABLET ═════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    body.page-accreditation .acx-asic { grid-template-columns: 280px minmax(0, 1fr); }
    body.page-accreditation .acx-asic-copy { padding: 44px 40px; }
    body.page-accreditation .acx-asic-cols { grid-template-columns: 1fr; gap: 20px; }
    body.page-accreditation .acx-story { padding: 48px; }
    body.page-accreditation .acx-story-inner { gap: 48px; }
    body.page-accreditation .acx-q-why, body.page-accreditation .acx-q-us { grid-column: span 12; }
    body.page-accreditation .acx-world-head { grid-template-columns: 1fr; gap: 22px; padding: 0 48px 40px; }
    body.page-accreditation .acx-world-track { padding-left: 48px; }
}

/* ═══ MOBILE ═════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    body.page-accreditation { --acx-radius: 26px; }
    body.page-accreditation .acx-btn { padding: 14px 22px; }

    /* hero: one screen, copy anchored at the bottom over the flag */
    body.page-accreditation .acx-hero {
        padding: calc(var(--pl-hero-top) + 28px) 0 24px;
    }
    body.page-accreditation .acx-hero-shade {
        background: linear-gradient(180deg, rgba(0, 12, 28, 0.55) 0%, rgba(0, 16, 34, 0.7) 45%, rgba(0, 10, 22, 0.92) 100%);
    }
    body.page-accreditation .acx-hero .acx-eyebrow { font-size: 11.5px; padding: 7px 14px; margin-bottom: 12px; }
    body.page-accreditation .acx-hero h1 { font-size: clamp(36px, 10.5vw, 46px) !important; margin-bottom: 14px; }
    body.page-accreditation .acx-hero .acx-lead { font-size: 16px; line-height: 1.5; margin-bottom: 22px; }
    body.page-accreditation .acx-hero-ctas { flex-direction: column; align-self: stretch; gap: 10px; }
    body.page-accreditation .acx-hero-ctas .acx-btn { width: 100%; }
    body.page-accreditation .acx-hero-proof {
        gap: 8px;
        margin-top: 24px;
        padding-top: 18px;
    }
    body.page-accreditation .acx-hero-proof li {
        gap: 6px;
        margin: 0;
        padding: 7px 12px 7px 9px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.1);
        font-size: 12.5px;
    }
    body.page-accreditation .acx-hero-proof li:last-child { border-right: 1px solid rgba(255, 255, 255, 0.18); padding-right: 12px; }
    body.page-accreditation .acx-hero-proof svg { width: 16px; height: 16px; stroke-width: 2.2; }

    body.page-accreditation .acx-body { padding: 28px 0 8px; }
    body.page-accreditation .acx-body > .container > * + * { margin-top: 28px; }

    /* ASIC card: seal strip on top, copy below */
    body.page-accreditation .acx-asic { grid-template-columns: 1fr; scroll-margin-top: 80px; }
    body.page-accreditation .acx-asic-seal {
        flex-direction: row;
        gap: 18px;
        padding: 22px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--acx-line);
    }
    body.page-accreditation .acx-asic-seal-img { flex: 0 0 112px; max-width: 112px; }
    body.page-accreditation .acx-asic-seal .acx-btn { flex: 1 1 auto; font-size: 13.5px; padding: 12px 16px; }
    body.page-accreditation .acx-asic-copy { padding: 26px 22px 28px; }
    body.page-accreditation .acx-asic-copy h2 { font-size: 28px !important; margin-bottom: 10px; }
    body.page-accreditation .acx-asic-intro { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
    body.page-accreditation .acx-asic-cols { gap: 16px; padding-top: 20px; }
    body.page-accreditation .acx-asic-cols p { font-size: 14.5px; line-height: 1.65; }
    body.page-accreditation .acx-asic-cols p + p {
        padding: 16px 18px;
        border-radius: 18px;
        background: #f4f8fd;
    }

    /* Carlos Gerke: story card — photo on top fading into the card */
    body.page-accreditation .acx-story { padding: 0; }
    body.page-accreditation .acx-story::before, body.page-accreditation .acx-story-grid { display: none; }
    body.page-accreditation .acx-story-inner { display: flex; flex-direction: column-reverse; gap: 0; }
    body.page-accreditation .acx-story-photo { position: relative; }
    body.page-accreditation .acx-story-photo img {
        aspect-ratio: 1 / 1.02;
        object-position: 50% 12%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    body.page-accreditation .acx-story-photo::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 55%;
        background: linear-gradient(to bottom, rgba(13, 45, 78, 0) 0%, rgba(13, 45, 78, 0.78) 62%, #0d2d4e 100%);
    }
    body.page-accreditation .acx-story { background: linear-gradient(180deg, #0d2d4e 0%, #0d2d4e 55%, #154577 100%); }
    body.page-accreditation .acx-story-copy {
        position: relative;
        z-index: 2;
        margin-top: -60px;
        padding: 0 20px 30px;
        text-align: center !important;
    }
    body.page-accreditation .acx-story h2 { font-size: 30px !important; text-align: center !important; margin-bottom: 6px; }
    body.page-accreditation .acx-story h3 { max-width: none; font-size: 15px !important; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, 0.84) !important; text-align: center !important; margin-bottom: 12px; }
    body.page-accreditation .acx-story .acx-lead { display: none; }
    body.page-accreditation .acx-story .acx-lead.acx-lead-short {
        display: block;
        margin: 0 0 16px;
        font-size: 14.5px;
        line-height: 1.55;
        text-align: center !important;
    }
    body.page-accreditation .acx-story .gerke-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    body.page-accreditation .acx-story .gerke-stats span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 11px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #fff;
        font: 600 12px/1 Inter, sans-serif;
        white-space: nowrap;
    }
    body.page-accreditation .acx-story .gerke-stats i { font-size: 11px; color: var(--acx-sky); }

    /* Committed to Quality: one column, icon beside the title */
    body.page-accreditation .acx-quality-head { gap: 12px; margin-bottom: 20px; }
    body.page-accreditation .acx-quality-head h2 { font-size: 28px !important; }
    body.page-accreditation .acx-quality-grid { gap: 12px; }
    body.page-accreditation .acx-q-card, body.page-accreditation .acx-q-why, body.page-accreditation .acx-q-us { grid-column: span 12; padding: 22px; border-radius: 22px; }
    body.page-accreditation .acx-q-card:hover { transform: none; }
    body.page-accreditation .acx-q-icon { width: 50px; height: 50px; margin-bottom: 16px; border-radius: 16px; }
    body.page-accreditation .acx-q-icon svg { width: 28px; height: 28px; }
    body.page-accreditation .acx-q-card h3, body.page-accreditation .acx-q-us p strong { font-size: 20px; }
    body.page-accreditation .acx-q-card p, body.page-accreditation .acx-q-us p { font-size: 15px; line-height: 1.6; }
    body.page-accreditation .acx-q-action .acx-q-text { margin-bottom: 18px; }
    body.page-accreditation .acx-q-action .acx-btn { width: 100%; }

    /* Recognized Worldwide */
    body.page-accreditation .acx-world { padding: 28px 0 48px; }
    body.page-accreditation .acx-world-card { padding: 34px 0 30px; }
    body.page-accreditation .acx-world-head { gap: 14px; padding: 0 22px 26px; }
    body.page-accreditation .acx-world-head h2 { font-size: 30px !important; margin-top: 14px; }
    body.page-accreditation .acx-world-head p { font-size: 15px; line-height: 1.6; padding-left: 16px; }
    body.page-accreditation .acx-world-track { gap: 12px; padding-left: 22px; }
    body.page-accreditation .acx-world-track.is-looping { animation-duration: 34s; }
    @keyframes acx-world-scroll {
        from { transform: translateX(0); }
        to { transform: translateX(calc(-50% - 6px)); }
    }
    body.page-accreditation .acx-world-item { flex-basis: 200px; padding: 20px; border-radius: 18px; }
    body.page-accreditation .acx-world-logo { height: 42px; margin-bottom: 18px; }
    body.page-accreditation .acx-world-logo img { max-width: 120px; }
    body.page-accreditation .acx-world-name { font-size: 16px; }
    body.page-accreditation .acx-world-full { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    body.page-accreditation .acx-q-icon svg, body.page-accreditation .acx-q-icon svg *, body.page-accreditation .acx-svg-orbit ellipse { animation: none !important; }
    body.page-accreditation .acx-shield-check { stroke-dashoffset: 0; }
    body.page-accreditation .acx-world-track.is-looping { animation: none; }
    body.page-accreditation .acx-world-marquee { overflow-x: auto; }
    body.page-accreditation .acx-story-grid { transition: opacity 0.3s ease; }
}
