:root {
    --navy: #0a234a;
    --navy-deep: #071a3b;
    --navy-card: #102d58;
    --teal: #009db2;
    --teal-soft: #dff5f6;
    --orange: #ff6b22;
    --orange-dark: #ee5812;
    --ink: #102a4d;
    --body: #53657b;
    --mist: #f1f7f9;
    --line: #dbe5eb;
    --white: #fff;
    --shadow: 0 16px 40px rgba(7, 26, 59, .1);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 86px; }
body.ahpra-page {
    margin: 0;
    overflow-x: clip;
    color: var(--body);
    background: var(--white);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
.ahpra-page img { display: block; max-width: 100%; }
.ahpra-page a { color: inherit; text-decoration: none; }
.ahpra-page button, .ahpra-page input, .ahpra-page select { font: inherit; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    align-self: start;
    height: 76px;
    border-bottom: 1px solid rgba(10, 35, 74, .08);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 18px rgba(10, 35, 74, .05);
    backdrop-filter: blur(12px);
}
.header-inner { position: relative; display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 112px; flex: 0 0 auto; }
.brand img { width: 100%; max-height: 47px; object-fit: contain; object-position: left center; }
.primary-nav { position: absolute; top: 50%; left: 50%; display: flex; transform: translate(-50%, -50%); align-items: center; gap: 36px; }
.primary-nav a { position: relative; color: var(--ink); font-size: 15px; font-weight: 700; }
.primary-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; transition: transform .2s ease; transform: scaleX(0); background: var(--teal); }
.primary-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; border-radius: 10px; background: var(--mist); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 48px; padding: 0 24px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border: 0; border-radius: 999px; align-items: center; justify-content: center; gap: 9px; font-size: 15px; font-weight: 800; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-orange { color: #fff !important; background: var(--orange); box-shadow: 0 9px 20px rgba(255, 107, 34, .24); }
.button-orange:hover { background: var(--orange-dark); box-shadow: 0 12px 26px rgba(255, 107, 34, .32); }
.button-outline { color: var(--teal) !important; border: 1.5px solid var(--teal); background: var(--white); }
.header-cta { min-height: 42px; margin-left: auto; padding: 0 20px; flex: 0 0 auto; font-size: 13px; }
.header-cta img { width: 16px; height: 16px; }

.section-white, .section-mist, .section-navy { position: relative; overflow: hidden; }
.section-white { background: var(--white); }
.section-mist { background: var(--mist); }
.section-navy { color: #fff; background: var(--navy-deep); }
.hero { padding: 96px 0 86px; }
.hero::before { position: absolute; top: -250px; right: -205px; width: 600px; height: 600px; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(0, 184, 198, .28) 0, rgba(0, 184, 198, .12) 34%, rgba(0, 184, 198, 0) 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: 1.02fr .98fr; gap: 70px; }
.eyebrow { display: inline-flex; margin-bottom: 24px; padding: 7px 12px; color: #168a95; border: 1px solid #cae7e9; border-radius: 999px; background: #f0fbfb; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .055em; }
.eyebrow span { width: 7px; height: 7px; border: 2px solid var(--teal); border-radius: 50%; }
.hero h1 { max-width: 650px; margin: 0; color: var(--navy); font-size: clamp(38px, 4.4vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.hero-lead { max-width: 610px; margin: 27px 0 0; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; margin-top: 31px; flex-wrap: wrap; gap: 15px; }
.experience-badge { display: inline-flex; max-width: 450px; margin-top: 28px; padding: 11px 18px 11px 12px; color: var(--ink); border: 1px solid #dce7eb; border-radius: 12px; background: #f3f8f9; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.badge-seal { width: 60px; height: 60px; flex: 0 0 auto; }
.badge-seal img { width: 100%; height: 100%; object-fit: contain; }
.hero-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1 / 1; min-height: 0; border-radius: 22px; background: var(--navy); box-shadow: 0 24px 60px rgba(10, 35, 74, .22); }
.hero-image-wrap picture { display: block; width: 100%; height: 100%; }
.hero-image-wrap picture > img { display: block; width: 100%; height: 100%; object-fit: contain; }

.why-section { padding: 92px 0 96px; }
.why-section::after { position: absolute; top: -100px; left: 50%; width: 760px; height: 260px; content: ""; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(0, 157, 178, .13), transparent 68%); }
.section-heading { position: relative; z-index: 1; max-width: 880px; margin: 0 auto 54px; text-align: center; }
.section-heading.compact { max-width: 720px; margin-bottom: 46px; }
.section-heading h2 { max-width: 780px; margin: 0 auto; color: var(--navy); font-size: clamp(30px, 3vw, 43px); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 18px auto 0; line-height: 1.75; }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p:last-child { color: #9fb1c9; }
.section-kicker { margin: 0 0 12px !important; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 284px; padding: 31px 30px; border: 1px solid rgba(127, 174, 218, .14); border-radius: 16px; background: rgba(17, 47, 88, .77); }
.icon-box { display: grid; width: 56px; height: 56px; margin-bottom: 24px; color: #20b3c1; border: 1px solid rgba(32, 179, 193, .15); border-radius: 13px; background: rgba(0, 157, 178, .1); place-items: center; }
.icon-box svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.feature-card h3 { margin: 0 0 13px; color: #fff; font-size: 19px; line-height: 1.4; }
.feature-card p { margin: 0; color: #b8c8dc; font-size: 15px; line-height: 1.72; }

.pathway-section { padding: 92px 0 104px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; min-height: 400px; padding: 31px 29px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(10, 35, 74, .08); }
.step-top { display: flex; margin-bottom: 26px; align-items: center; gap: 14px; }
.step-number { display: grid; width: 41px; height: 41px; color: #fff; border-radius: 50%; background: var(--teal); place-items: center; font-size: 16px; font-weight: 800; }
.phase { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.step-card h3 { margin: 0 0 17px; color: var(--ink); font-size: 18px; line-height: 1.45; }
.step-card p { margin: 0 0 30px; font-size: 16px; line-height: 1.7; }

.guidance-section { padding: 94px 0 100px; }
.guidance-section .section-heading { max-width: 910px; margin-bottom: 31px; }
.guidance-section .section-heading h3 { margin: 13px 0 0; color: var(--teal); font-size: 17px; }
.office-prompt { margin: 35px 0 16px; color: var(--ink); text-align: center; font-size: 17px; font-weight: 800; }
.office-tabs { display: flex; margin: 0 auto 31px; justify-content: center; gap: 20px; }
.office-tab { min-width: 82px; padding: 9px 18px; cursor: pointer; color: var(--ink); border: 1px solid #d6e3e8; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.office-tab.active { color: #fff; border-color: var(--teal); background: var(--teal); box-shadow: 0 6px 15px rgba(0, 157, 178, .2); }
.office-grid { display: grid; max-width: 910px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office-card { display: flex; min-height: 228px; padding: 26px 23px 19px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; border: 1px solid #d6e3e8; border-radius: 13px; background: #fff; flex-direction: column; }
.office-card.featured { transform: translateY(-7px); border-color: var(--teal); box-shadow: var(--shadow); }
.office-card h3 { display: flex; margin: 0 0 15px; color: var(--ink); align-items: center; gap: 7px; font-size: 16px; }
.office-card h3 svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 1.8; }
.office-card p { margin: 0 0 20px; font-size: 14px; line-height: 1.65; }
.office-card a { display: flex; margin-top: auto; padding: 10px 12px; color: #fff; border-radius: 999px; background: var(--orange); align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 800; }
.office-card a img { width: 14px; height: 14px; }

.insights-section { padding: 95px 0 106px; }
.insight-grid { display: grid; align-items: stretch; grid-template-columns: 1.55fr 1fr; gap: 25px; }
.insight-media { position: relative; overflow: hidden; min-height: 370px; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--navy-deep); box-shadow: 0 13px 28px rgba(10, 35, 74, .15); }
.insight-media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-button { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 62px; height: 62px; transform: translate(-50%, -50%); color: #fff; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(0, 157, 178, .9); box-shadow: 0 10px 25px rgba(0,0,0,.22); place-items: center; }
.play-button svg { width: 29px; height: 29px; fill: currentColor; }
.media-caption { position: absolute; z-index: 2; bottom: 25px; left: 27px; display: flex; color: #fff; flex-direction: column; }
.media-caption span { color: #9de2e5; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.media-caption strong { margin-top: 3px; font-size: 17px; }
.insight-grid blockquote { display: flex; margin: 0; padding: 36px 34px; border: 1px solid #d3e4e8; border-radius: 16px; background: var(--mist); flex-direction: column; justify-content: center; }
.quote-mark { display: block; width: 32px; height: 32px; margin-bottom: 20px; object-fit: contain; }
.insight-grid blockquote p { margin: 5px 0 25px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.75; }
.insight-grid blockquote footer { color: var(--teal); font-size: 13px; font-weight: 800; }

.faq-section { padding: 93px 0 103px; }
.faq-shell { max-width: 790px; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { overflow: hidden; border: 1px solid #d6e3e8; border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(10, 35, 74, .03); }
.faq-list summary { display: flex; min-height: 62px; padding: 0 21px; cursor: pointer; color: var(--ink); list-style: none; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; content: ""; transition: transform .2s ease; transform: translate(-50%, -50%); background: var(--teal); }
.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details[open] summary { color: var(--teal); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-answer > div { overflow: hidden; min-height: 0; }
.faq-list details[open] .faq-answer { grid-template-rows: 1fr; }
.faq-list details.is-closing .faq-answer { grid-template-rows: 0fr; }
.faq-answer p { margin: 0; padding: 0 60px 22px 21px; font-size: 15px; line-height: 1.75; }
@media (prefers-reduced-motion: reduce) { .faq-answer { transition: none; } }

.enquiry-section { padding: 100px 0 112px; }
.enquiry-card { position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto; padding: 55px 58px 57px; color: #fff; border-radius: 20px; background: var(--navy-deep); box-shadow: 0 20px 50px rgba(7, 26, 59, .2); }
.enquiry-card::before { position: absolute; top: -220px; right: -150px; width: 500px; height: 500px; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(0, 157, 178, .23), transparent 68%); }
.enquiry-intro { position: relative; z-index: 1; max-width: 760px; margin: 0 auto 34px; text-align: center; }
.enquiry-intro h2 { max-width: 670px; margin: 0 auto; color: #fff; font-size: clamp(31px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -.035em; }
.enquiry-intro > p:not(.section-kicker) { max-width: 670px; margin: 17px auto 0; color: #aebdd0; font-size: 15px; }
.enquiry-points { display: flex; margin-top: 23px; color: #d4e1ec; justify-content: center; flex-wrap: wrap; gap: 22px; font-size: 13px; font-weight: 700; }
.enquiry-points span { display: inline-flex; align-items: center; gap: 6px; }
.enquiry-points svg { width: 15px; height: 15px; fill: none; stroke: #45cad2; stroke-width: 2.5; }
.enquiry-form { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: block; }
.form-grid label > span:not(.visually-hidden) { display: block; margin: 0 0 7px 3px; color: #b9c8d8; font-size: 13px; font-weight: 700; }
.visually-hidden { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; white-space: nowrap; clip: rect(0, 0, 0, 0); clip-path: inset(50%); border: 0; }
.form-grid input, .form-grid select { width: 100%; height: 52px; padding: 0 16px; color: #fff; outline: 0; border: 1px solid #294568; border-radius: 9px; background: #18355f; font-size: 15px; }
.form-grid input::placeholder { color: #8196b1; }
.form-grid select { color: #b8c5d4; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8095ae 50%), linear-gradient(135deg, #8095ae 50%, transparent 50%); background-repeat: no-repeat; background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px, 5px 5px; }
.form-grid input:focus, .form-grid select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 157, 178, .12); }
.form-wide { grid-column: 1 / -1; }
.phone-field { position: relative; }
.phone-field > span { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #d3deea; font-size: 15px; }
.phone-field input { padding-left: 48px; }
.recaptcha-field { height: 0; overflow: hidden; }
.submit-button { width: 100%; margin-top: 21px; border-radius: 9px; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.form-message { margin: 16px 0 0; padding: 10px 13px; border-radius: 8px; font-size: 14px; }
.form-message.error { color: #ffcfbc; background: rgba(255, 107, 34, .13); }
.form-message.success { color: #b5f0d4; background: rgba(38, 174, 112, .14); }

.landing-footer { padding: 49px 0; border-top: 1px solid #e8edef; background: #fff; }
.footer-inner { display: flex; color: #8795a5; text-align: center; align-items: center; flex-direction: column; font-size: 12px; }
.footer-brand { width: 103px; margin-bottom: 18px; }
.footer-inner p { max-width: 650px; margin: 4px auto; }
.floating-whatsapp { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: none; width: 54px; height: 54px; color: #fff; border-radius: 50%; background: #25d366; box-shadow: 0 10px 24px rgba(21, 91, 52, .28); place-items: center; }
.floating-whatsapp img { width: 26px; height: 26px; }

@media (max-width: 990px) {
    .page-shell { width: min(100% - 36px, 760px); }
    .primary-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 12px 18px 20px; transform: none; border-bottom: 1px solid var(--line); background: #fff; flex-direction: column; gap: 0; }
    .primary-nav.open { display: flex; }
    .primary-nav a { width: 100%; padding: 12px 0; text-align: center; }
    .menu-toggle { display: block; order: 2; }
    .header-cta { margin-left: 0; }
    .hero { padding-top: 65px; }
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-copy { text-align: center; }
    .hero h1, .hero-lead { margin-right: auto; margin-left: auto; }
    .hero-actions { justify-content: center; }
    .hero-image-wrap { max-width: 620px; min-height: 0; margin: 0 auto; }
    .feature-grid, .steps-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .step-card { min-height: auto; }
    .office-grid { grid-template-columns: 1fr; }
    .office-card { min-height: 180px; }
    .office-card.featured { transform: none; }
    .insight-grid { grid-template-columns: 1fr; }
    .enquiry-card { padding-right: 35px; padding-left: 35px; }
}

@media (max-width: 640px) {
    body.ahpra-page { font-size: 15px; }
    .page-shell { width: calc(100% - 30px); }
    .site-header { height: 68px; }
    .primary-nav { top: 68px; }
    .brand { width: 92px; }
    .header-cta { display: none; }
    .menu-toggle { margin-left: auto; }
    .hero { padding: 48px 0 54px; }
    .hero h1 { font-size: 38px; }
    .hero-lead { font-size: 15px; }
    .hero-actions .button { width: 100%; }
    .experience-badge { text-align: left; }
    .hero-image-wrap { width: 100%; height: auto; min-height: 0; }
    .why-section, .pathway-section, .guidance-section, .insights-section, .faq-section, .enquiry-section { padding: 68px 0; }
    .section-heading { margin-bottom: 37px; }
    .section-heading h2 { font-size: 30px; }
    .feature-card, .step-card { padding: 26px 23px; }
    .office-tabs { gap: 7px; }
    .office-tab { min-width: 0; padding: 8px 13px; }
    .insight-media {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .insight-media > iframe {
        width: 100%;
        height: 100%;
    }
    .insight-grid blockquote { padding: 29px 25px; }
    .insight-grid blockquote p { font-size: 15px; }
    .faq-list summary { padding: 0 16px; font-size: 14px; line-height: 1.5; }
    .faq-answer p { padding: 0 40px 20px 16px; }
    .enquiry-card { padding: 40px 20px; border-radius: 15px; }
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .form-wide { grid-column: auto; }
    .enquiry-points { align-items: center; flex-direction: column; gap: 7px; }
    .floating-whatsapp { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
