.form-notice {
    margin: 0 auto 1.25rem;
    max-width: 720px;
    padding: 0.9rem 1rem;
    border-radius: 6px;
    font: 500 16px/1.45 Arial, sans-serif;
}

.form-notice--success { background: #e8f7ed; color: #176b35; }
.form-notice--error { background: #fdecec; color: #9b2525; }

.profile-section {
    padding: 82px 24px;
    background: #fff;
    color: #25242a;
    font-family: "Outfit", Arial, sans-serif;
}

.profile-section:nth-of-type(even),
.service-catalogue { background: #f7f7f8; }

.profile-container { width: min(1180px, 100%); margin: 0 auto; }
.profile-eyebrow {
    margin: 0 0 10px;
    color: #bf8c27;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.profile-section h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.profile-intro { max-width: 760px; margin: 16px 0 38px; color: #66636b; font-size: 18px; line-height: 1.65; }

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.client-card {
    min-height: 170px;
    padding: 28px 18px;
    border: 1px solid #e4e0d8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(31, 28, 24, .07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}
.client-logo {
    width: 100%;
    max-width: 220px;
    height: 150px;
    display: block;
    background-image: url("media/clients/premium-client-logos-v2.png");
    background-repeat: no-repeat;
    background-size: 400% auto;
    background-position-y: center;
}
.client-logo--marquis { background-position-x: 0; }
.client-logo--biocare { background-position-x: 33.333%; }
.client-logo--renaissance { background-position-x: 66.666%; }
.client-logo--pride { background-position-x: 100%; }
.client-card strong { font-size: 18px; }

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
}
.service-category {
    padding: 28px;
    border: 1px solid #e4e0d8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 28, 24, .05);
    display: flex;
    flex-direction: column;
}
.service-category h3 { margin: 0 0 18px; color: #27252a; font-size: 21px; line-height: 1.3; }
.service-category h3 > a { color: #27252a; text-decoration: none; }
.service-category h3 > a:hover { color: #a87012; }
.service-category ul { margin: 0 0 24px; padding-left: 20px; color: #5e5a62; font-size: 16px; line-height: 1.6; }
.service-category li + li { margin-top: 7px; }
.service-category li::marker { color: #bf8c27; }
.service-category li a { color: #5e5a62; text-decoration: none; }
.service-category li a:hover { color: #9f6e12; text-decoration: underline; text-underline-offset: 3px; }
.service-category-cta {
    margin-top: auto;
    color: #9f6e12;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.service-category-cta:hover { color: #6f4a08; }
@media (max-width: 900px) {
    .client-grid, .service-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .profile-section { padding: 58px 18px; }
    .client-grid, .service-category-grid { grid-template-columns: 1fr; }
}

.service-detail-panel {
    padding: 78px 24px;
    background: #f7f7f8;
    color: #26242a;
    font-family: "Outfit", Arial, sans-serif;
}
.service-detail-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}
.service-detail-heading h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.service-detail-heading p { margin: 0; color: #67636c; font-size: 17px; }
.service-enquiry-button {
    flex: 0 0 auto;
    padding: 14px 20px;
    border-radius: 7px;
    background: #c99733;
    color: #17161a;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-enquiry-button:hover { color: #17161a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(80, 57, 17, .18); }
.service-scope-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.service-scope-list li {
    min-height: 76px;
    padding: 18px;
    border: 1px solid #e3dfd6;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.45;
}
.service-scope-list li span { color: #bd8822; font-size: 20px; font-weight: 800; }
.related-services { margin-top: 48px; }
.related-services h3 { margin: 0 0 18px; font-size: 25px; }
.related-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-service-grid a {
    padding: 22px;
    border: 1px solid #e3dfd6;
    border-radius: 10px;
    background: #fff;
    color: #27252a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: border-color .2s ease, transform .2s ease;
}
.related-service-grid a:hover { color: #27252a; border-color: #c99733; transform: translateY(-2px); }
.related-service-grid small { color: #a57015; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.related-service-grid strong { font-size: 18px; }
.related-service-grid a > span { margin-top: 4px; color: #7a746b; font-size: 14px; }

.service-category h3 { display: flex; align-items: center; gap: 12px; }
.service-category-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    background: #f1e5cb;
    color: #9f6e12;
    font-size: 21px;
    line-height: 1;
}

@media (max-width: 900px) {
    .service-detail-heading { align-items: flex-start; flex-direction: column; }
    .service-scope-list, .related-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .service-detail-panel { padding: 58px 18px; }
    .service-scope-list, .related-service-grid { grid-template-columns: 1fr; }
    .service-enquiry-button { width: 100%; text-align: center; }
}

html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 767px) {
    .elementor-element-42b172e4 > .elementor-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 14px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .elementor-element-42b172e4 .elementor-column { min-width: 0 !important; }
    .elementor-element-3201cd6c {
        width: 48px !important;
        order: 2;
        margin-left: auto !important;
    }
    .elementor-element-2c83005a {
        width: auto !important;
        max-width: 112px !important;
        order: 1;
    }
    .elementor-element-307e563 img {
        width: 96px !important;
        max-width: 96px !important;
        height: auto !important;
    }
    .elementor-nav-menu--toggle .elementor-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        margin: 0 0 0 auto !important;
        padding: 10px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .elementor-headline,
    .elementor-headline-plain-text,
    .elementor-headline-dynamic-wrapper {
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: anywhere;
    }
    .elementor-headline { font-size: clamp(29px, 8vw, 36px) !important; }
    .elementor-headline-dynamic-wrapper { display: block !important; }
    .elementor-button { white-space: normal; }
}
