/*
 * Autodesk Moldflow Certification — Stylesheet
 * ------------------------------------------------------------------
 * Purpose: shared visual system for the certification website.
 *
 * ORGANIZATION
 * 01. Typography & fonts
 * 02. Global tokens / reset
 * 03. Header & navigation
 * 04. Buttons & CTAs
 * 05. Hero / landing visual
 * 06. Benefits
 * 07. How it works / process
 * 08. Certification cards
 * 09. Training / feature visual
 * 10. Resources
 * 11. Footer
 * 12. Asset wiring
 * 13. Certification detail pages
 * 14. Comparison & resources pages
 * 15. Certifications dropdown
 * 16. Checkout & payment status
 * 17. Responsive rules
 *18. Recertification
 * 20. Proctor Info
 * 21. Mobile Menu Toggle
 * NOTE: Rules are intentionally kept in cascade order. Section comments
 * classify the styles without changing selector precedence or behavior.
 * ------------------------------------------------------------------
 */
/* ================================================================
   TYPOGRAPHY & FONTS
   ================================================================ */
@font-face {
    font-family: Artifakt;
    src: url("assets/ArtifaktElement-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Artifakt;
    src: url("assets/ArtifaktElement-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: ArtifaktLegend;
    src: url("assets/ArtifaktLegend-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ================================================================
   GLOBAL TOKENS / COLORS
   ================================================================ */
:root {
    --black: #000;
    --near: #111;
    --white: #fff;
    --gray: #f3f3f3;
    --line: #d8d8d8;
    --text: #1a1a1a;
    --muted: #555;
    --yellow: #ffff00;
    --orange: #f26a21;
}

/* ================================================================
   GLOBAL RESET & BASE
   ================================================================ */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--text);
    font-family: Artifakt,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.35;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
.site-header {
    height: 64px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 5.1%;
    gap: 30px;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #292929;
}
.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}
.autodesk {
    font-weight: 700;
    letter-spacing: -.4px;
    font-size: 19px;
}
.autodesk-mark {
    font-size: 16px;
}
.divider {
    height: 28px;
    width: 1px;
    background: #777;
    margin: 0 5px;
}
.moldflow {
    color: var(--orange);
    font-size: 20px;
    font-weight: 700;
}
.site-header nav {
    display: flex;
    gap: 34px;
    margin-left: auto;
}
.site-header nav a {
    font-size: 14px;
    padding: 22px 0 18px;
}
.site-header nav .active {
    border-bottom: 4px solid var(--yellow);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
/*.icon-btn {
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;}*/
/*.language {
    font-size: 14px;
}*/

/* ================================================================
   BUTTONS & CTAs
   ================================================================ */
.yellow-btn,.outline-btn,.black-btn,.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 46px;
    padding: 0 22px;
    font-weight: 700;
}
.yellow-btn {
    background: var(--yellow);
    color: #000;
    border: 1px solid var(--yellow);
}
.yellow-btn.small {
    min-height: 38px;
    padding: 0 24px;
}
.outline-btn {
    border: 1px solid #fff;
    color: #fff;
}
.black-btn {
    background: #000;
    color: #fff;
    width: 100%;
    border: 1px solid #000;
}
.detail-btn {
    border: 1px solid #111;
    width: 100%;
    margin-top: 8px;
}

/* ================================================================
   HERO / LANDING VISUAL
   ================================================================ */
.hero {
    height: 440px;
    background: #000;
    color: #fff;
    display: flex;
    position: relative;
    overflow: hidden;
    padding: 55px 5.1%;
}
.hero-copy {
    position: relative;
    z-index: 3;
    width: 52%;
}
.eyebrow {
    font-weight: 700;
    letter-spacing: 1.6px;
    font-size: 13px;
}
.eyebrow.light {
    color: #fff;
}
.eyebrow.orange {
    color: var(--orange);
}

/* ================================================================
   TYPOGRAPHY / HEADINGS
   ================================================================ */
h1,h2 {
    font-family: ArtifaktLegend,Artifakt,Arial,sans-serif;
    margin: 4px 0 0;
    font-weight: 700;
    letter-spacing: -1.5px;
}
h1 {
    font-size: 66px;
    line-height: .98;
}
.hero-lead {
    font-size: 31px;
    line-height: 1.05;
    margin: 10px 0;
}
.hero-lead strong {
    color: var(--yellow);
}
.hero-body {
    font-size: 17px;
    max-width: 540px;
    color: #ddd;
}
.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 24px;
}
.hero-art {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
}
.beam {
    position: absolute;
    background: rgba(242,106,33,.72);
    transform: skewX(-28deg);
    height: 600px;
    width: 120px;
}
.beam-a {
    left: 48%;
    top: -100px;
}
.beam-b {
    left: 64%;
    top: -130px;
    opacity: .45;
}
.mold {
    position: absolute;
    width: 620px;
    height: 300px;
    right: 13%;
    top: 70px;
    transform: rotate(-4deg);
}
.mold-frame {
    position: absolute;
    inset: 20px;
    border: 2px solid #9b9b9b;
    box-shadow: 0 0 0 15px rgba(255,255,255,.04),inset 0 0 40px rgba(255,255,255,.08);
}
.simulation {
    position: absolute;
    left: 115px;
    top: 75px;
    width: 370px;
    height: 110px;
    background: linear-gradient(90deg,#f24b16 0%,#ffdf00 25%,#2bd34d 52%,#18bde6 74%,#3251e7 100%);
    filter: saturate(1.2);
    clip-path: polygon(0 20%,80% 0,100% 55%,77% 100%,0 78%);
    opacity: .9;
}
.mold-ring {
    position: absolute;
    right: 55px;
    top: 55px;
    width: 160px;
    height: 160px;
    border: 25px solid #777;
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px #222;
}
.hero-tag {
    position: absolute;
    right: 5%;
    top: 170px;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: 1px;
}
.hero-tag i {
    display: block;
    width: 34px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 12px;
}
.hero-tag b {
    color: var(--orange);
}

/* ================================================================
   BENEFITS
   ================================================================ */
.benefits {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 34px 5.1%;
    background: #fff;
}
.benefits article {
    display: flex;
    gap: 16px;
    padding: 0 28px;
    border-right: 1px solid #ccc;
}
.benefits article:first-child {
    padding-left: 0;
}
.benefits article:last-child {
    border: 0;
}
.benefit-icon {
    width: 50px;
    height: 50px;
    border: 1px solid #000000;
    border-radius: 50%;
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 28px;
    flex: none;
}
.benefits h3 {
    font-size: 16px;
    margin: 2px 0 4px;
    font-weight: 700;
}
.benefits p {
    margin: 0;
    color: #555;
    font-size: 13px;
}

/* ================================================================
   HOW IT WORKS / PROCESS
   ================================================================ */
.process {
    background: var(--gray);
    padding: 58px 5.1% 62px;
}
.process h2,.certifications h2,.training h2 {
    font-size: 42px;
    line-height: 1.05;
}
.section-intro {
    font-size: 17px;
    color: #555;
    margin: 7px 0 0;
}
.steps {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
    gap: 14px;
    margin-top: 34px;
    align-items: start;
}
.step {
    position: relative;
}
.step>span {
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}
.step-icon {
    font-size: 31px;
    height: 36px;
    position: absolute;
    left: 42px;
    top: -3px;
}
.step h3 {
    font-size: 17px;
    line-height: 1.05;
    margin: 4px 0 8px;
}
.step p {
    font-size: 13px;
    color: #555;
    margin: 0;
}
.arrow {
    font-size: 27px;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

/* ================================================================
   CERTIFICATION CARDS
   ================================================================ */
.certifications {
    padding: 58px 5.1%;
    background: #fff;
}
.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

/* ================================================================
   LINKS
   ================================================================ */
.text-link {
    font-weight: 700;
    text-decoration: underline;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 25px;
}
.cert-card {
    position: relative;
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    padding: 22px 18px 16px;
    overflow: hidden;
    background: #fff;
}
.level {
    width: 45px;
    height: 45px;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}
.card-art {
    height: 115px;
    position: absolute;
    right: -15px;
    top: 0;
    width: 58%;
    opacity: .65;
}
.art-1 {
    background: linear-gradient(130deg,transparent 10%,#eee 11% 30%,transparent 31%),linear-gradient(0deg,transparent 30%,rgba(242,106,33,.75) 31% 58%,transparent 59%);
    transform: skewX(-10deg);
}
.art-2 {
    background: linear-gradient(90deg,transparent,#ddd 20%,#3acb76 48%,#19c5df 70%,transparent);
    opacity: .6;
}
.art-3 {
    background: linear-gradient(90deg,transparent,#ff8a22 22%,#ffe000 38%,#23d66a 54%,#2494ff 75%,transparent);
    opacity: .7;
}
.cert-card h3 {
    font-size: 24px;
    line-height: 1.02;
    margin: 20px 0 12px;
    position: relative;
}
.cert-card p {
    font-size: 14px;
    color: #444;
    min-height: 72px;
    position: relative;
}

/* ================================================================
   TRAINING / FEATURE VISUAL
   ================================================================ */
.training {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f2f2f2;
    min-height: 300px;
}
.training-copy {
    padding: 58px 5.1%;
}
.training h2 {
    margin-top: 5px;
}
.training-copy>p {
    max-width: 610px;
    color: #555;
    font-size: 17px;
}
.training-visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(130deg,#ddd,#aaa);
}
.training-visual:before {
    content: "";
    position: absolute;
    left: -40px;
    top: -30px;
    width: 70px;
    height: 400px;
    background: var(--orange);
    transform: rotate(24deg);
}
.screen {
    position: absolute;
    right: 7%;
    top: 35px;
    width: 74%;
    height: 220px;
    background: #151515;
    border: 8px solid #444;
    border-radius: 3px;
    box-shadow: 0 15px 30px #999;
}
.screen-model {
    position: absolute;
    left: 18%;
    top: 25%;
    width: 60%;
    height: 45%;
    background: linear-gradient(90deg,#ff4b18,#ffe000,#20d66b,#1abbe8,#3851e9);
    clip-path: polygon(0 25%,75% 0,100% 40%,80% 100%,10% 80%);
}
.screen-ui {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 20px;
    height: 90%;
    background: #555;
}

/* ================================================================
   RESOURCES
   ================================================================ */
.resources {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    padding: 25px 5.1% 55px;
    background: #f2f2f2;
}
.resources article {
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
}
.resource-icon {
    font-size: 35px;
}
.resources h3 {
    margin: 12px 0 6px;
}
.resources p {
    color: #555;
    min-height: 45px;
}
.resources a {
    font-weight: 700;
    text-decoration: underline;
}

.resources-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .92;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: #000;
    color: #fff;
    padding: 45px 5.1%;
    display: grid;
    grid-template-columns: 1.7fr repeat(4,.5fr) .5fr;
    gap: 35px;
}
.footer h4 {
    margin: 0 0 12px;
    font-size: 14px;
}
.footer a {
    display: block;
    color: #ccc;
    font-size: 13px;
    margin: 7px 0;
}
.footer-brand small {
    display: block;
    color: #888;
    margin-top: 38px;
    font-size: 11px;
}
.footer .moldflow {
    margin-top: 5px;
}
.social {
    font-size: 17px;
    white-space: nowrap;
}

/* ================================================================
   RESPONSIVE — TABLET / MOBILE (max-width: 900px)
   ================================================================ */
@media (max-width:900px) {
    .site-header nav {
        display: none;
    }
    .hero {
        height: auto;
        min-height: 570px;
    }
    .hero-copy {
        width: 100%;
    }
    .hero-art {
        opacity: .35;
        width: 100%;
    }
    .benefits,.cards,.resources {
        grid-template-columns: 1fr 1fr;
    }
    .benefits article {
        margin-bottom: 20px;
    }
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    .arrow {
        display: none;
    }
    .training {
        grid-template-columns: 1fr;
    }
    .training-visual {
        height: 260px;
    }
    .footer {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================================
   RESPONSIVE — MOBILE (max-width: 600px)
   ================================================================ */
@media (max-width:600px) {
    h1 {
        font-size: 48px;
    }
    .benefits,.cards,.resources {
        grid-template-columns: 1fr;
    }
    .benefits article {
        border-right: 0;
        padding: 0;
        margin-bottom: 24px;
        align-items: flex-start;
    }
    .process h2,.certifications h2,.training h2 {
        font-size: 34px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer {
        grid-template-columns: 1fr;
    }
    .section-top {
        display: block;
    }
    .text-link {
        display: inline-block;
        margin-top: 15px;
    }
}

/* ================================================================
   ASSET WIRING
   ================================================================ */
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .92;
}
.hero-art:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0,0,0,.45),transparent 58%,rgba(0,0,0,.18));
    z-index: 1;
}
.hero-art>*:not(.hero-image) {
    z-index: 2;
}
.benefit-icon img {
    width: 38px;
    height: 38px;
    display: block;
}
.card-art-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    opacity: .82;
}
.training-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.resource-icon img {
    width: 42px;
    height: 42px;
}
.site-header {
    min-height: 64px;
}
.site-header nav a {
    white-space: nowrap;
}
.site-header .brand {
    flex-shrink: 0;
}
.hero-art {
    background: #000;
}
.hero-art .hero-image {
    z-index: 1;
}
.benefit-icon img {
    width: 38px;
    height: 38px;
    display: block;
}
.card-art-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    opacity: .82;
}

/* ================================================================
   PAGE-SPECIFIC / DETAIL PAGES
   ================================================================ */
.four-steps {
    grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
}
.step-icon img {
    width: 34px;
    height: 34px;
    display: block;
}
.resources-placeholder {
    background: #d9d9d9;
    min-height: 300px;
}
.resources-feature .training-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ================================================================
   CERTIFICATION DETAIL PAGES
   ================================================================ */
.detail-hero {
    background: #000;
    color: #fff;
    padding: 70px 5.1% 75px;
}
.detail-hero h1 {
    font-size: 58px;
    margin: 8px 0 12px;
}
.detail-hero p {
    font-size: 19px;
    color: #ddd;
    max-width: 720px;
}
.detail-content {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 45px;
    padding: 65px 5.1%;
    background: #f3f3f3;
}
.detail-content h2 {
    font-size: 40px;
    margin: 8px 0 18px;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}
.info-grid article {
    background: #fff;
    border: 1px solid #ddd;
    padding: 22px;
}
.info-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.detail-note {
    border-left: 4px solid var(--orange);
    background: #fff;
    padding: 18px 20px;
    margin: 25px 0 30px;
}
.detail-content aside img {
    width: 100%;
    display: block;
}

/* ================================================================
   COMPARISON & RESOURCES PAGES
   ================================================================ */
.compare-section,.comparison-table-wrap,.resource-page {
    padding: 60px 5.1%;
    background: #fff;
}
.compare-grid,.resource-page-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}
.compare-card,.resource-page-grid article {
    border: 1px solid #d5d5d5;
    padding: 25px;
    background: #fff;
}
.compare-card h3 {
    font-size: 30px;
    margin: 0 0 12px;
}
.compare-card p {
    min-height: 55px;
    color: #555;
}
.comparison-table-wrap {
    padding-top: 30px;
}
.comparison-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}
.comparison-table-wrap th,.comparison-table-wrap td {
    border: 1px solid #d5d5d5;
    padding: 16px;
    text-align: left;
}
.comparison-table-wrap th {
    background: #111;
    color: #fff;
}
.resource-page {
    background: #f3f3f3;
}
.resource-page-grid article img {
    width: 52px;
    height: 52px;
}
.resource-page-grid h2 {
    font-size: 28px;
    margin: 20px 0 10px;
}
.resource-page-grid p {
    color: #555;
    min-height: 70px;
}
.text-link {
    font-weight: 700;
    text-decoration: underline;
}
.footer {
    grid-template-columns: 1.7fr 1fr 1fr 1.25fr .6fr;
}

/* ================================================================
   RESPONSIVE — TABLET / MOBILE (max-width: 900px)
   ================================================================ */
@media (max-width:900px) {
    .four-steps {
        grid-template-columns: 1fr 1fr;
    }
    .detail-content,.compare-grid,.resource-page-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   RESPONSIVE — MOBILE (max-width: 600px)
   ================================================================ */
@media (max-width:600px) {
    .four-steps {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   CERTIFICATIONS DROPDOWN
   ================================================================ */
.site-header .nav-dropdown {
    position: relative;
    height: 64px;
    display: flex;
    align-items: center;
}
.site-header .nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 64px;
    padding: 22px 0 18px;
    white-space: nowrap;
}
.site-header .nav-dropdown-trigger:hover, .site-header .nav-dropdown:hover .nav-dropdown-trigger {
    border-bottom: 4px solid var(--yellow);
}
.nav-chevron {
    font-size: 13px;
    line-height: 1;
    transform: translateY(-1px);
}
.nav-dropdown-menu {
    position: absolute;
    top: 64px;
    left: -18px;
    min-width: 220px;
    background: #fff;
    color: #111;
    border: 1px solid #d8d8d8;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 50;
}
.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: #111;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    background: #f3f3f3;
    border-bottom: 0;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================================================================
   RESPONSIVE — TABLET / MOBILE (max-width: 900px)
   ================================================================ */
@media (max-width:900px) {
    .site-header .nav-dropdown {
        display: none;
    }
}

/* ================================================================
   CHECKOUT & PAYMENT STATUS
   ================================================================ */
.checkout-page,.status-page {
    background: #f3f3f3;
    min-height: calc(100vh - 64px);
}
.checkout-wrap {
    padding: 48px 5.1% 70px;
    max-width: 1240px;
    margin: 0 auto;
}
.checkout-steps {
    display: flex;
    gap: 0;
    margin-bottom: 38px;
    border-bottom: 1px solid #d8d8d8;
}
.checkout-step {
    padding: 0 30px 15px 0;
    margin-right: 30px;
    color: #777;
    font-size: 14px;
    font-weight: 700;
}
.checkout-step.active {
    color: #111;
    border-bottom: 4px solid var(--yellow);
}
.checkout-header {
    margin-bottom: 30px;
}
.checkout-header h1 {
    font-size: 52px;
    margin: 6px 0 8px;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1.35fr .75fr;
    gap: 24px;
    align-items: start;
}
.checkout-card,.order-card,.status-card {
    background: #fff;
    border: 1px solid #d5d5d5;
    padding: 28px;
}
.checkout-card h2,.order-card h2 {
    font-size: 28px;
    margin: 0 0 20px;
}
.cert-summary {
    border: 1px solid #d8d8d8;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.cert-summary .level {
    flex: none;
}
.cert-summary h3 {
    font-size: 25px;
    margin: 0 0 5px;
}
.cert-summary p {
    margin: 0;
    color: #555;
    font-size: 14px;
}
.cert-price {
    text-align: right;
    white-space: nowrap;
}
.cert-price strong {
    display: block;
    font-size: 28px;
}
.cert-price span {
    font-size: 12px;
    color: #666;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 26px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.form-field.full {
    grid-column: 1/-1;
}
.form-field label {
    font-size: 14px;
    font-weight: 700;
}
.form-field input,.form-field select {
    height: 46px;
    border: 1px solid #aaa;
    padding: 0 13px;
    font: inherit;
    background: #fff;
}
.payment-box {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
}
.payment-box h3 {
    font-size: 20px;
    margin: 0 0 8px;
}
.payment-placeholder {
    border: 1px dashed #999;
    background: #f7f7f7;
    padding: 24px;
    margin-top: 15px;
}
.payment-placeholder strong {
    display: block;
    margin-bottom: 5px;
}
.payment-placeholder p {
    margin: 0;
    color: #555;
    font-size: 14px;
}
.checkout-note {
    font-size: 12px;
    color: #666;
    margin-top: 16px;
}
.order-card {
    position: sticky;
    top: 90px;
}
.order-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}
.order-row:last-child {
    border-bottom: 0;
}
.order-total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 18px;
}
.status-page {
    display: flex;
    justify-content: center;
    padding: 70px 5.1%;
}
.status-card {
    width: 100%;
    max-width: 760px;
    text-align: center;
    padding: 55px;
}
.status-mark {
    width: 70px;
    height: 70px;
    background: var(--yellow);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 700;
    margin: 0 auto 25px;
}
.status-card h1 {
    font-size: 52px;
    margin: 7px 0 14px;
}
.status-card>p {
    max-width: 590px;
    margin: 0 auto 30px;
    color: #555;
    font-size: 17px;
}
.order-summary {
    text-align: left;
    border: 1px solid #ddd;
    padding: 18px;
    margin: 25px 0 28px;
}
.status-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE — TABLET / MOBILE (max-width: 900px)
   ================================================================ */
@media (max-width:900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .order-card {
        position: static;
    }
    .checkout-header h1,.status-card h1 {
        font-size: 44px;
    }
}

/* ================================================================
   RESPONSIVE — MOBILE (max-width: 600px)
   ================================================================ */
@media (max-width:600px) {
    .checkout-wrap {
        padding: 35px 5.1% 50px;
    }
    .checkout-steps {
        overflow: auto;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-field.full {
        grid-column: auto;
    }
    .cert-summary {
        align-items: flex-start;
    }
    .status-card {
        padding: 38px 22px;
    }
    .status-card h1 {
        font-size: 38px;
    }
}


/* ================================================================
   18. RECERTIFICATION FEATURE — HOMEPAGE
   White banner with orange border
   ================================================================ */

.recert-feature {
    display: grid;
    grid-template-columns: 1.6fr .7fr;
    gap: 35px;
    align-items: center;

    margin: 26px 3.8%;
    padding: 28px 3%;

    background: #fff;
    color: #000;
    border: 2px solid #f26a21;
    border-radius: 20px;
}

/* LEFT COLUMN */

.recert-feature-copy {
    max-width: 850px;
}

.recert-feature .eyebrow {
    display: inline-block;
    background: #f26a21;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1.4px;
    font-size: 12px;
    padding: 7px 15px;
    margin-bottom: 8px;
}

.recert-feature h2 {
    font-size: 34px;
    line-height: 1.08;
    margin: 5px 0 9px;
    color: #000;
}

.recert-feature-lead {
    color: #f26a21;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 9px;
}

.recert-feature-copy > p:not(.recert-feature-lead) {
    color: #222;
    font-size: 15px;
    line-height: 1.5;
    max-width: 780px;
    margin: 0 0 17px;
}

/* CALL TO ACTION */

.recert-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 46px;
    padding: 0 22px;

    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 3px;

    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

.recert-cta:hover {
    background: #f26a21;
    border-color: #f26a21;
    color: #fff;
}

/* RIGHT COLUMN */

.recert-feature-side {
    border-left: 2px solid #f26a21;
    padding: 5px 0 5px 30px;

    display: flex;
    flex-direction: column;
    gap: 9px;
}

.recert-free {
    display: inline-block;
    width: fit-content;

    background: #ffff00;
    color: #000;

    font-family: ArtifaktLegend, Artifakt, Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    padding: 9px 22px;
    margin-bottom: 5px;
}

.recert-feature-side strong {
    font-size: 20px;
    color: #000;
}

.recert-feature-side > span {
    color: #222;
    font-size: 15px;
}

.recert-feature-side .recert-validity {
    color: #000;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #d8d8d8;
    font-weight: 700;
}

/* ================================================================
   19. RECERTIFICATION — RESPONSIVE DESIGN
   ================================================================ */

@media (max-width: 900px) {

    .recert-feature {
        grid-template-columns: 1fr;
        gap: 22px;
        margin: 22px 3%;
        padding: 26px;
    }

    .recert-feature-side {
        border-left: 0;
        border-top: 2px solid #f26a21;
        padding: 20px 0 0;
    }

}

@media (max-width: 600px) {

    .recert-feature {
        margin: 18px 4%;
        padding: 22px 18px;
        border-radius: 14px;
    }

    .recert-feature h2 {
        font-size: 28px;
    }

    .recert-feature-lead {
        font-size: 19px;
    }

    .recert-feature-copy > p:not(.recert-feature-lead) {
        font-size: 14px;
    }

    .recert-feature-side {
        padding-top: 18px;
    }

    .recert-free {
        font-size: 26px;
    }

    .recert-feature-side strong {
        font-size: 18px;
    }

    .recert-cta {
        width: 100%;
        text-align: center;
    }

}

/* 20 PROCTOR INFORMATION — EXPANDABLE */

.proctor-info {
    margin: 25px 0;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.proctor-info summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 700;
    color: #111;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proctor-info summary::-webkit-details-marker {
    display: none;
}

.proctor-info summary::after {
    content: "+";
    color: #555;
    font-size: 24px;
    font-weight: 400;
}

.proctor-info[open] summary::after {
    content: "−";
}

.proctor-content {
    padding: 5px 20px 20px;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

.proctor-content h3,
.proctor-content h4 {
    color: #000;
    margin-top: 18px;
}

.proctor-content li {
    margin-bottom: 6px;
}

/* ================================================================
   21. MOBILE NAVIGATION — HAMBURGER MENU
   ================================================================ */

/* Hidden on desktop; shown only on tablet/mobile. */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    box-shadow: none;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    margin: 4px auto;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        display: flex;
        flex-wrap: wrap;
        height: auto;
        min-height: 64px;
        padding: 0 5.1%;
        gap: 10px;
    }

    .site-header .mobile-menu-toggle {
        display: block;
    }

    .site-header nav.main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 8px 5.1% 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #000;
        border-top: 1px solid #333;
        box-shadow: 0 8px 16px rgba(0,0,0,.25);
        z-index: 60;
    }

    .site-header.mobile-menu-open nav.main-nav {
        display: flex;
    }

    .site-header nav.main-nav > a,
    .site-header nav.main-nav .nav-dropdown-trigger {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 46px;
        padding: 12px 0;
        border-bottom: 1px solid #333;
        color: #fff;
        white-space: normal;
    }

    .site-header nav.main-nav .nav-dropdown {
        display: block;
        height: auto;
        width: 100%;
    }

    .site-header nav.main-nav .nav-dropdown-trigger {
        height: auto;
    }

    /* Keep certification links visible in the expanded mobile menu. */
    .site-header nav.main-nav .nav-dropdown-menu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0 0 8px 14px;
        background: #000;
        color: #fff;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-header nav.main-nav .nav-dropdown-menu a {
        display: block;
        padding: 10px 12px;
        color: #ddd;
        white-space: normal;
        border: 0;
    }

    .site-header nav.main-nav .nav-dropdown-menu a:hover {
        background: #222;
        color: #fff;
    }

    .site-header.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}


/* ================================================================
   CHECKOUT — MOBILE WIDTH / OVERFLOW FIX
   Keep the page and header aligned to the device viewport.
   ================================================================ */
html,
body {
    width: 100%;
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

.site-header,
.checkout-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.checkout-wrap {
    width: 100%;
    max-width: 1240px;
    box-sizing: border-box;
}

.checkout-layout,
.checkout-card,
.cert-summary {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.checkout-card *,
.cert-summary * {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .site-header {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .checkout-page {
        width: 100%;
    }

    .checkout-wrap {
        width: 100%;
        padding-left: 4.5%;
        padding-right: 4.5%;
    }

    .checkout-card {
        width: 100%;
        padding: 22px 18px;
    }

    .cert-summary {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .cert-summary .summary-level,
    .cert-summary .summary-name,
    .cert-summary #summaryDescription,
    .cert-summary .summary-price-row {
        width: 100%;
        max-width: 100%;
    }
}
