/* ==========================================================
   Quality Migration – custom styles
   (study abroad, visitor visa, offices, enquiry form, WhatsApp)
   ========================================================== */

:root {
    --qm-red: #e31e25;
    --qm-dark: #16171a;
    --qm-text: #3d3f45;
    --qm-muted: #6b6e76;
    --qm-line: #e8eaef;
    --qm-soft: #f6f7fa;
    --qm-green: #1fa855;
}

.qm-eyebrow {
    display: inline-block;
    color: var(--qm-red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.qm-title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.qm-subtitle {
    font-size: 20px;
    margin: 24px 0 12px;
}

.qm-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--qm-text);
}

.qm-small {
    font-size: 14px;
    color: var(--qm-muted);
}

.qm-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    align-items: center;
}

/* Buttons */
.qm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    transition: all .25s ease;
    text-decoration: none;
}

.qm-btn--outline {
    border: 1px solid var(--qm-dark);
    color: var(--qm-dark);
    background: #fff;
}

.qm-btn--outline:hover {
    background: var(--qm-dark);
    color: #fff;
}

.qm-btn--whatsapp {
    background: #25d366;
    color: #fff;
    border: 1px solid #25d366;
}

.qm-btn--whatsapp:hover {
    background: #1ebe5a;
    color: #fff;
}

/* Cards and panels */
.qm-panel,
.qm-facts-card,
.qm-office-card {
    background: #fff;
    border: 1px solid var(--qm-line);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(20, 24, 40, .05);
}

.qm-panel h3,
.qm-facts-card h3,
.qm-office-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.qm-facts-card {
    border-top: 4px solid var(--qm-red);
}

.qm-facts-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.qm-facts-head h3 {
    margin: 0;
}

.qm-facts-head img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--qm-line);
    object-fit: cover;
}

.qm-facts {
    margin: 0;
}

.qm-facts dt {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--qm-red);
    font-weight: 700;
    margin-top: 14px;
}

.qm-facts dt:first-child {
    margin-top: 0;
}

.qm-facts dd {
    margin: 4px 0 0;
    color: var(--qm-dark);
    font-weight: 500;
    line-height: 1.55;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--qm-line);
}

.qm-facts dd:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.qm-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
}

.qm-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--qm-dark);
    font-weight: 500;
    line-height: 1.55;
}

.qm-check-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--qm-red);
}

.qm-check-list--docs li i {
    color: var(--qm-green);
}

.qm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qm-tags span {
    background: var(--qm-soft);
    border: 1px solid var(--qm-line);
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--qm-dark);
    font-size: 15px;
}

.qm-notice {
    background: #fff8f0;
    border: 1px solid #f6dcc0;
    border-left: 4px solid #f09815;
    border-radius: 10px;
    padding: 26px 28px;
}

.qm-notice h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.qm-notice h4 i {
    color: #f09815;
    margin-right: 6px;
}

.qm-notice p {
    color: var(--qm-text);
    font-size: 15px;
    line-height: 1.7;
}

.qm-notice a {
    color: var(--qm-red);
    text-decoration: underline;
}

/* Enquiry form */
.qm-form-box {
    background: var(--qm-soft);
    border-radius: 12px;
    padding: 36px;
}

.qm-enquiry .qm-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--qm-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.qm-enquiry .form-clt select,
.qm-enquiry .form-clt .nice-select {
    width: 100%;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    height: auto;
    line-height: 1.5;
    float: none;
    font-size: 17px;
    padding: 18px 30px;
    color: var(--qm-dark);
}

.qm-enquiry .form-clt .nice-select .current {
    color: var(--qm-dark);
}

.qm-enquiry .form-clt .nice-select .list {
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    z-index: 20;
}

.qm-enquiry .form-clt .nice-select .option {
    line-height: 1.4;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: normal;
    text-transform: none;
}

.qm-enquiry .g-recaptcha {
    max-width: 100%;
    overflow: hidden;
}

/* Office cards */
.qm-office-card--highlight {
    background: var(--qm-dark);
    border-color: var(--qm-dark);
    color: #fff;
}

.qm-office-card--highlight h3,
.qm-office-card--highlight a {
    color: #fff;
}

.qm-office-card--highlight .qm-office-list li {
    color: rgba(255, 255, 255, .9);
}

.qm-office-card--highlight .qm-small {
    color: rgba(255, 255, 255, .7);
}

.qm-office-card--highlight .qm-small a {
    text-decoration: underline;
}

.qm-office-card--highlight .qm-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.qm-office-card--highlight .qm-btn--outline:hover {
    background: #fff;
    color: var(--qm-dark);
}

.qm-office-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.qm-office-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--qm-text);
    line-height: 1.6;
}

.qm-office-list li i {
    color: var(--qm-red);
    width: 18px;
    margin-top: 5px;
    flex-shrink: 0;
}

.qm-office-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qm-office-tag {
    display: inline-block;
    background: rgba(227, 30, 37, .1);
    color: var(--qm-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.qm-map {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 10px;
    margin-top: 6px;
}

/* Destination chips */
.qm-dest-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.qm-dest-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--qm-line);
    background: #fff;
    border-radius: 40px;
    padding: 8px 18px 8px 8px;
    font-weight: 600;
    color: var(--qm-dark);
    transition: all .25s ease;
}

.qm-dest-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.qm-dest-chip:hover {
    border-color: var(--qm-red);
    color: var(--qm-red);
    transform: translateY(-2px);
}

/* Homepage destinations */
.qm-destinations {
    background: var(--qm-soft);
}

.qm-dest-card {
    background: #fff;
    border: 1px solid var(--qm-line);
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.qm-dest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(20, 24, 40, .08);
}

.qm-dest-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.qm-dest-card-head img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--qm-line);
}

.qm-dest-card-head h3 {
    font-size: 24px;
    margin: 0;
}

.qm-dest-card p {
    color: var(--qm-text);
    flex-grow: 1;
}

.qm-dest-card-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.qm-dest-card-links a {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--qm-line);
    color: var(--qm-dark);
    transition: all .25s ease;
}

.qm-dest-card-links a:first-child {
    background: var(--qm-red);
    border-color: var(--qm-red);
    color: #fff;
}

.qm-dest-card-links a:hover {
    border-color: var(--qm-dark);
    background: var(--qm-dark);
    color: #fff;
}

/* Header phones */
.header-top-wrapper .contact-list li .qm-flag-mini {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: -3px;
}

/* Footer addresses */
.footer-address-text .qm-footer-office {
    margin-bottom: 14px;
}

.footer-address-text .qm-footer-office strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.footer-address-text .qm-footer-office a {
    color: inherit;
}

/* Floating WhatsApp */
.qm-whatsapp-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1060;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}

.qm-whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .qm-title {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .qm-title {
        font-size: 28px;
    }

    .qm-panel,
    .qm-facts-card,
    .qm-office-card,
    .qm-form-box {
        padding: 22px;
    }

    .qm-enquiry .form-clt select,
    .qm-enquiry .form-clt .nice-select {
        padding: 14px 20px;
    }

    .qm-whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        left: 14px;
        bottom: 14px;
    }
}

/* Header: fit the extra Study Abroad / Visitor Visa menus on one line */
@media (max-width: 1899px) {
    .header-1 .mega-menu-wrapper .header-main .header-left {
        gap: 50px;
    }
}

@media (max-width: 1599px) {
    .header-1 .mega-menu-wrapper .header-main .header-left {
        gap: 36px;
    }

    .header-1 .mega-menu-wrapper .header-main .header-right {
        gap: 24px;
    }

    .header-main .main-menu ul li {
        margin-inline-end: 18px;
    }
}

@media (max-width: 1399px) {
    .header-1 .header-logo img {
        width: 210px;
    }

    .header-main .main-menu ul li {
        margin-inline-end: 15px;
    }

}

@media (max-width: 1599px) {
    /* Logo already links home; phones are in the top bar */
    .header-main .main-menu > nav > ul > li.qm-hide-lg {
        display: none;
    }

    .header-1 .mega-menu-wrapper .header-main .header-right .contact-info {
        display: none !important;
    }
}

@media (max-width: 1299px) {
    .header-1 .header-logo img {
        width: 180px;
    }

    .header-main .main-menu ul li {
        margin-inline-end: 13px;
    }

    .header-1 .mega-menu-wrapper .header-main .header-left {
        gap: 26px;
    }
}

/* Below 1200px the full menu moves into the hamburger (side) menu */
@media (max-width: 1199px) {
    .header-1 .mean__menu-wrapper {
        display: none;
    }

    .header-1 .header__hamburger.d-lg-none {
        display: block !important;
    }
}

@media (max-width: 1279px) {
    .header-1 .mega-menu-wrapper .header-main .header-right .header-button {
        display: none !important;
    }
}

.qm-notice p:not(:last-child) {
    margin-bottom: 12px;
}

/* Same input style for every enquiry form (contact, student visa, destination pages) */
.contact-form-items .qm-enquiry .form-clt input,
.contact-form-items .qm-enquiry .form-clt textarea {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    padding: 18px 30px;
    color: var(--qm-dark);
}

@media (max-width: 575px) {
    .contact-form-items .qm-enquiry .form-clt input,
    .contact-form-items .qm-enquiry .form-clt textarea {
        padding: 14px 20px;
    }
}

/* Top bar: show emails only where there is room */
@media (max-width: 1199px) {
    .header-top-wrapper .contact-list li.qm-top-email {
        display: none;
    }
}

/* ==========================================================
   Blog
   ========================================================== */
.qm-post-category {
    display: inline-block;
    background: var(--qm-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 14px;
}

.hero-breadcrumb .qm-post-category {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .35);
}

.hero-breadcrumb h1 {
    max-width: 980px;
    font-size: 42px;
}

@media (max-width: 768px) {
    .hero-breadcrumb h1 {
        font-size: 28px;
    }
}

.qm-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: var(--qm-muted);
    margin-bottom: 18px;
}

.qm-post-meta i {
    color: var(--qm-red);
    margin-right: 6px;
}

.qm-post-content h2 {
    font-size: 28px;
    line-height: 1.3;
    color: #0b1c2d;
    margin: 36px 0 14px;
}

.qm-post-content h3 {
    font-size: 21px;
    line-height: 1.35;
    color: #0b1c2d;
    margin: 26px 0 10px;
}

.qm-post-content p,
.qm-post-content li {
    font-size: 16.5px;
    line-height: 1.8;
    color: #3d3f45;
}

.qm-post-content ul,
.qm-post-content ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.qm-post-content ul li {
    list-style: disc;
    margin-bottom: 6px;
}

.qm-post-content ol li {
    list-style: decimal;
    margin-bottom: 6px;
}

.qm-post-content a {
    color: var(--qm-red);
    text-decoration: underline;
}

.qm-post-content strong {
    color: #0b1c2d;
}

.qm-post-content .qm-summary {
    background: var(--qm-soft);
    border-left: 4px solid var(--qm-red);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 0 26px;
}

.qm-post-content .qm-summary h2 {
    font-size: 20px;
    margin: 0 0 10px;
}

.qm-post-content .qm-summary ul {
    margin-bottom: 0;
}

.qm-post-content .qm-callout {
    background: #fff8f0;
    border: 1px solid #f6dcc0;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 20px 0;
}

.qm-post-content .qm-callout p:last-child {
    margin-bottom: 0;
}

.qm-table-wrap {
    overflow-x: auto;
    margin: 18px 0 26px;
    -webkit-overflow-scrolling: touch;
}

.qm-post-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
}

.qm-post-content th,
.qm-post-content td {
    border: 1px solid var(--qm-line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
    color: #3d3f45;
}

.qm-post-content th {
    background: #0b1c2d;
    color: #fff;
    font-weight: 600;
}

.qm-post-content tr:nth-child(even) td {
    background: var(--qm-soft);
}

.qm-post-content .qm-faq h3 {
    font-size: 18px;
    margin-top: 18px;
}

.qm-post-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    background: #0b1c2d;
    color: #fff;
    border-radius: 12px;
    padding: 28px;
    margin: 36px 0 20px;
}

.qm-post-cta h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 6px;
}

.qm-post-cta p {
    color: rgba(255, 255, 255, .8);
    margin: 0;
    max-width: 440px;
}

.qm-post-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qm-post-disclaimer {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--qm-muted);
    border-top: 1px solid var(--qm-line);
    padding-top: 16px;
}

.qm-related {
    margin-top: 30px;
}

.qm-related h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.qm-related-card {
    display: block;
    height: 100%;
    border: 1px solid var(--qm-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: all .25s ease;
}

.qm-related-card img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.qm-related-card .qm-related-cat {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--qm-red);
    padding: 12px 14px 0;
}

.qm-related-card strong {
    display: block;
    padding: 4px 14px 14px;
    color: #0b1c2d;
    font-size: 15px;
    line-height: 1.45;
}

.qm-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(20, 24, 40, .08);
}

.qm-sidebar-cta p {
    color: var(--qm-text);
}

.qm-sidebar-cta .theme-btn {
    display: block;
}

.qm-sidebar-links .qm-dest-chip {
    padding: 6px 14px 6px 6px;
    font-size: 14px;
}

/* Blog list */
.qm-blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.qm-blog-filters button {
    border: 1px solid var(--qm-line);
    background: #fff;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 15px;
    color: var(--qm-dark);
    transition: all .2s ease;
}

.qm-blog-filters button.active,
.qm-blog-filters button:hover {
    background: var(--qm-red);
    border-color: var(--qm-red);
    color: #fff;
}

.qm-blog-card .news-image img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.qm-blog-card .news-image img + img {
    display: none;
}

.qm-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--qm-muted);
    margin-bottom: 10px;
}

.qm-card-meta .qm-post-category {
    margin-bottom: 0;
    font-size: 11px;
}

.qm-blog-card .news-image img:first-child {
    position: relative;
    transform: none;
    opacity: 1;
    filter: none;
}

.qm-blog-card:hover .news-image img {
    transform: scale(1.04);
}

/* Head office badge */
.qm-office-tag--head {
    background: var(--qm-red);
    color: #fff;
}

.qm-updated-pill {
    background: #e9f7ef;
    color: #1f7a45;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11.5px;
    font-weight: 600;
}

/* ===== Image & card alignment ===== */

/* Homepage hero photo: keep its proportions instead of squashing it */
.hero-1 .shape-image img {
    object-fit: cover;
    object-position: center;
}

/* Service cards (home + about): equal height, photos and buttons line up */
.service-wrapper .row > [class*="col-"] > .service-card-items {
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}
.service-wrapper .service-card-items > p,
.service-wrapper .service-card-items > ul {
    flex-grow: 1;
}
.service-wrapper .service-card-items .service-thumb {
    aspect-ratio: 3 / 2;
}
.service-wrapper .service-card-items .service-thumb img {
    object-fit: cover;
}
.service-wrapper .service-card-items .link-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Testimonials: equal-height cards, dates line up, long reviews fold */
.testimonial-carousel-active .slick-track {
    display: flex !important;
}
.testimonial-carousel-active .slick-slide.testimonial-card-items {
    height: auto;
    display: flex !important;
    flex-direction: column;
}
.testimonial-card-items p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    overflow: hidden;
    margin-bottom: 0;
}
.testimonial-card-items.is-expanded p {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}
.testimonial-card-items ul {
    margin-top: auto;
    padding-top: 40px;
}
.qm-read-more {
    align-self: flex-start;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--theme);
    font-weight: 600;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pathway page: side-by-side photos the same size */
.details-thumb-2 img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* NAATI page: feature icons the same height so headings line up */
.section-div .img-feature.w-50 {
    width: auto !important;
    height: 200px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

/* ---------- Credentials strip above the footer (partials/credentials.blade.php) ---------- */
.qm-creds{background:#f5f5f7;padding:76px 0 60px;border-top:1px solid #eeeff4}
.qm-creds__head{max-width:780px;margin:0 auto 44px;text-align:center}
.qm-creds__eyebrow{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#e20935;margin-bottom:12px}
.qm-creds__title{font-size:34px;line-height:1.25;margin:0 0 14px;color:#16171a;text-transform:none}
.qm-creds__lead{margin:0;color:#5e5f63;font-size:16px;line-height:1.7}
.qm-creds__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.qm-cred{background:#fff;border:1px solid #eeeff4;border-radius:16px;padding:30px 22px 26px;text-align:center;display:flex;flex-direction:column;align-items:center;box-shadow:0 10px 30px rgba(22,23,26,.05);transition:transform .2s ease,box-shadow .2s ease}
.qm-cred:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(22,23,26,.09)}
.qm-cred__mark{height:112px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.qm-cred__mark img,.qm-cred__mark svg{height:112px;width:auto;max-width:100%}
.qm-cred__mark--logo img{height:104px}
.qm-cred__tag{display:block;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8a8c94;margin-bottom:6px}
.qm-cred__title{font-size:18px;line-height:1.35;margin:0 0 10px;color:#16171a;text-transform:none}
.qm-cred__who{margin:0;font-weight:600;color:#16171a;font-size:15px;line-height:1.45}
.qm-cred__num{margin:4px 0 0;font-size:15px;color:#5e5f63}
.qm-cred__num strong{color:#16171a;letter-spacing:.02em}
.qm-cred__text{margin:0;font-size:14.5px;line-height:1.6;color:#5e5f63}
.qm-cred__link{margin-top:auto;padding-top:18px;font-size:14px;font-weight:600;color:#e20935;text-decoration:none}
.qm-cred__link:hover{color:#b30729;text-decoration:underline}
.qm-creds__note{margin:34px auto 0;max-width:760px;text-align:center;font-size:13.5px;color:#8a8c94;line-height:1.6}
@media (max-width:1199px){.qm-creds__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575px){.qm-creds{padding:52px 0 40px}.qm-creds__title{font-size:26px}.qm-creds__grid{grid-template-columns:1fr;gap:16px}}

/* ---------- Partner visa page (pages/partner-visa.blade.php) ---------- */
.qm-pv-head{max-width:760px;margin:0 0 28px}
.qm-pv-head .qm-title{margin-bottom:10px}
.qm-pv-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.qm-pv-type{background:#fff;border:1px solid var(--qm-line,#eeeff4);border-top:4px solid var(--qm-red,#e20935);border-radius:12px;padding:28px;box-shadow:0 8px 24px rgba(20,24,40,.05)}
.qm-pv-type__tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--qm-red,#e20935);background:rgba(226,9,53,.08);border-radius:999px;padding:5px 12px;margin-bottom:14px}
.qm-pv-type h3{font-size:24px;margin:0 0 4px;text-transform:none}
.qm-pv-type__sub{margin:0 0 16px;color:#5e5f63;font-weight:600}
.qm-pv-type .qm-check-list{margin-bottom:0}
.qm-pv-evidence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.qm-pv-ev{background:var(--qm-soft,#f5f5f7);border-radius:12px;padding:24px}
.qm-pv-ev h3{font-size:19px;margin:0 0 8px;text-transform:none}
.qm-pv-ev p{margin:0;font-size:15px;line-height:1.65}
.qm-pv-table{width:100%;border-collapse:collapse;font-size:15px}
.qm-pv-table th,.qm-pv-table td{padding:12px 10px;border-bottom:1px solid var(--qm-line,#eeeff4);vertical-align:top}
.qm-pv-table th{font-weight:500;color:#16171a;text-align:left}
.qm-pv-table td{text-align:right;white-space:nowrap;font-weight:600;color:#16171a}
.qm-pv-table__ours th,.qm-pv-table__ours td{background:rgba(226,9,53,.06);color:var(--qm-red,#e20935);font-weight:700;border-bottom:0}
.qm-pv-faq{display:grid;gap:12px;max-width:900px}
.qm-pv-faq__item{background:#fff;border:1px solid var(--qm-line,#eeeff4);border-radius:12px;padding:0 22px}
.qm-pv-faq__item summary{cursor:pointer;list-style:none;padding:18px 28px 18px 0;position:relative}
.qm-pv-faq__item summary::-webkit-details-marker{display:none}
.qm-pv-faq__item summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:22px;line-height:1;color:var(--qm-red,#e20935)}
.qm-pv-faq__item[open] summary::after{content:"−"}
.qm-pv-faq__item summary h3{font-size:17px;line-height:1.4;margin:0;text-transform:none;display:inline}
.qm-pv-faq__item p{margin:0 0 18px;line-height:1.7}
@media (max-width:1199px){.qm-pv-evidence{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:991px){.qm-pv-types{grid-template-columns:1fr}}
@media (max-width:575px){.qm-pv-evidence{grid-template-columns:1fr}.qm-pv-type{padding:22px}.qm-pv-table td{white-space:normal}}

/* ---------- Partner visa eligibility check (pages/partner-visa-check.blade.php) ---------- */
.qm-pcheck{background:#fff;border:1px solid var(--qm-line,#eeeff4);border-radius:16px;box-shadow:0 14px 40px rgba(20,24,40,.08);overflow:hidden}
.qm-pcheck__top{padding:22px 32px 0}
.qm-pcheck__eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--qm-red,#e20935);margin-bottom:14px}
.qm-pcheck__progress{height:6px;background:#eeeff4;border-radius:99px;overflow:hidden}
.qm-pcheck__bar{display:block;height:100%;width:0;background:var(--qm-red,#e20935);border-radius:99px;transition:width .3s ease}
.qm-pcheck__body{padding:28px 32px 32px;min-height:340px}
.qm-pcheck__step{margin:0 0 8px;font-size:14px;color:#8a8c94;font-weight:600}
.qm-pcheck__q{font-size:26px;line-height:1.3;margin:0 0 10px;color:#16171a;text-transform:none;outline:none}
.qm-pcheck__hint{margin:0 0 6px;color:#5e5f63;font-size:15px}
.qm-pcheck__options{display:grid;gap:12px;margin-top:20px}
.qm-pcheck__opt{display:flex;align-items:center;width:100%;min-height:56px;padding:14px 48px 14px 18px;text-align:left;font-size:16px;font-weight:600;color:#16171a;background:#fff;border:1.5px solid #dfe1e8;border-radius:12px;position:relative;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .1s ease}
.qm-pcheck__opt::after{content:"";position:absolute;right:18px;top:50%;width:18px;height:18px;margin-top:-9px;border:2px solid #c9ccd6;border-radius:50%;transition:all .15s ease}
.qm-pcheck__opt:hover{border-color:var(--qm-red,#e20935);background:#fff7f9}
.qm-pcheck__opt:active{transform:scale(.99)}
.qm-pcheck__opt:focus-visible{outline:3px solid rgba(226,9,53,.35);outline-offset:2px}
.qm-pcheck__opt.is-selected{border-color:var(--qm-red,#e20935);background:#fff7f9}
.qm-pcheck__opt.is-selected::after{border-color:var(--qm-red,#e20935);background:var(--qm-red,#e20935);box-shadow:inset 0 0 0 3px #fff}
.qm-pcheck__back{margin-top:18px;padding:6px 0;background:none;border:0;color:#5e5f63;font-weight:600;font-size:15px;cursor:pointer}
.qm-pcheck__back:hover{color:var(--qm-red,#e20935)}
.qm-pcheck__badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:99px;padding:6px 12px;margin-bottom:14px}
.qm-pcheck__result--likely .qm-pcheck__badge{background:#e6f6ec;color:#127a3c}
.qm-pcheck__result--check .qm-pcheck__badge{background:#fff3df;color:#9a5b00}
.qm-pcheck__result--notyet .qm-pcheck__badge{background:#eef0f4;color:#3d4250}
.qm-pcheck__text{font-size:16px;line-height:1.7;color:#3d4250;margin:0 0 18px}
.qm-pcheck__sub{font-size:17px;margin:20px 0 10px;color:#16171a;text-transform:none}
.qm-pcheck__flags{margin:0 0 6px;padding:14px 18px 14px 36px;background:#fff8ee;border:1px solid #f6dcc0;border-radius:10px}
.qm-pcheck__flags li{margin:4px 0;line-height:1.6;color:#3d4250}
.qm-pcheck__next ol{margin:0;padding-left:22px}
.qm-pcheck__next li{margin:6px 0;line-height:1.6;color:#3d4250}
.qm-pcheck__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.qm-pcheck__cta{flex:1 1 220px;justify-content:center;text-align:center;min-height:52px}
.qm-pcheck__small{margin:14px 0 0;font-size:13px;color:#8a8c94}
.qm-pcheck-aside h3{font-size:22px;margin-bottom:16px}
.qm-pcheck-aside__fee{display:flex;flex-direction:column;gap:2px;background:var(--qm-soft,#f5f5f7);border-radius:10px;padding:16px 18px;margin:18px 0}
.qm-pcheck-aside__fee span{font-size:13px;color:#5e5f63}
.qm-pcheck-aside__fee strong{font-size:22px;color:var(--qm-red,#e20935)}
@media (max-width:575px){.qm-pcheck__top{padding:18px 20px 0}.qm-pcheck__body{padding:22px 20px 24px;min-height:300px}.qm-pcheck__q{font-size:22px}.qm-pcheck__opt{font-size:15px}}
