﻿/* Dehradun page: the same light, centered visual language as the homepage. */

.dm-page {
    background: #fff;
}

.dm-page .dm-main {
    --paper: #f7f7f5;
    --ink: #202020;
    --red: #e60023;
    font-family: 'Montserrat', Arial, sans-serif;
}

.dm-page .dm-container {
    width: calc(100% - 96px);
    max-width: 1440px;
}

.dm-page .dm-main .dm-hero {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 175px 0 50px;
    background: #fff;
    color: #202020;
}

.dm-page .dm-hero::before {
    background: repeating-linear-gradient(90deg, transparent 0, transparent 239px, #ededed 239px, #ededed 240px);
    opacity: .55;
}

.dm-page .dm-main .dm-hero>.dm-container {
    position: relative;
    width: calc(100% - 96px);
    max-width: 1440px;
    padding: 0;
    margin: auto;
    text-align: center;
}

.dm-page .dm-hero .dm-kicker {
    color: #777;
    font: 500 14px/1.6 'Montserrat', Arial, sans-serif;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 0 30px;
}

.dm-page .dm-hero h1 {
    max-width: 1200px;
    margin: 0 auto 24px;
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: #202020;
    font-size: clamp(42px, 4.4vw, 68px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -.05em;
    text-align: center;
}

.dm-page .dm-hero h1 span {
    color: #e60023;
}

.dm-page .dm-hero .dm-hero-subtitle {
    margin: 0 0 16px;
    color: #292929;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    letter-spacing: -.035em;
}

.dm-page .dm-hero .dm-hero-summary {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.dm-page .dm-hero .dm-actions {
    justify-content: center;
    gap: 20px;
    margin: 0;
}

.dm-page .dm-button {
    border-radius: 30px;
    text-decoration: none;
}

.dm-page .dm-hero .dm-button {
    background: #202020;
    display: inline-flex;
    min-height: 54px;
    padding: 8px 8px 8px 24px;
    gap: 36px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border: 0;
    border-radius: 30px;
}

.dm-page .dm-hero .dm-button>span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e60023;
    color: #fff;
    font-size: 20px;
}

.dm-page .dm-hero .dm-button:hover {
    background: #383838;
    transform: translateY(-2px);
}

.dm-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 54px;
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.dm-outline-button:hover {
    border-color: #e60023;
    color: #e60023;
}

.dm-partners {
    max-width: 740px;
    margin: 65px auto 0;
}

.dm-page .dm-partners p {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    color: #222;
    margin: 0 0 20px;
}

.dm-partners>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.dm-partners img {
    width: 135px;
    height: 58px;
    object-fit: contain;
}

.dm-page .dm-clients {
    padding: 65px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.dm-client-heading {
    text-align: center;
    margin-bottom: 32px;
}

.dm-client-heading>span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
}

.dm-page .dm-client-heading h2 {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: -.04em;
    margin: 0;
}

.dm-page .dm-logo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.dm-page .dm-logo-grid>div {
    height: 112px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
}

.dm-page .dm-logo-grid img {
    width: 170px;
    height: 95px;
    max-height: 95px;
    padding: 6px;
}

.dm-page .dm-main .dm-section {
    padding: 80px 0;
}

.dm-page .dm-main h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(30px, 3.1vw, 46px);
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: -.045em;
}

.dm-page .dm-main h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
}

.dm-page .dm-main p {
    text-align: left;
}


/* Keep every hero text block centered above the centered actions. */

.dm-page .dm-main .dm-hero p {
    text-align: center;
}

.dm-page .dm-main .dm-hero h1 {
    text-align: center;
    text-wrap: balance;
}

.dm-page .dm-attention {
    background: #f8f8f6;
}

.dm-page .dm-attention .dm-split {
    gap: 40px;
}

.dm-page .dm-question-card {
    border-radius: 26px;
    background: radial-gradient(ellipse at bottom left, #462029 0, transparent 65%), #202020;
}

.dm-page #services {
    background: #fff;
}

.dm-page #services .dm-section-head {
    max-width: 1000px;
    margin: 0 0 36px;
}

.dm-page #services .dm-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dm-page #services .dm-service {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 32px;
    border: 1px solid #e4e1db;
    border-radius: 22px;
    background: #fff;
}

.dm-page #services .dm-service:hover {
    border-color: #e60023;
    box-shadow: 0 14px 36px #20202008;
}

.dm-page #services .dm-service-heading {
    min-height: 200px;
}

.dm-page #services .dm-service-description {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid #e5dfda;
}

.dm-page #services .dm-service-description p {
    font-size: 15px;
    line-height: 1.85;
}

.dm-page #services .dm-service h3 {
    font-size: 28px;
}

.dm-page .dm-work {
    background: #f8f8f6;
}

.dm-page .dm-project {
    border-radius: 22px;
    overflow: hidden;
}

.dm-page .dm-main a:focus-visible,
.dm-page .dm-main summary:focus-visible {
    outline: 3px solid #e60023;
    outline-offset: 5px;
}

.dm-page #enquiry {
    scroll-margin-top: 120px;
}

@media (max-width: 1100px) {
    .dm-page .dm-container,
    .dm-page .dm-main .dm-hero>.dm-container {
        width: calc(100% - 56px);
    }
    .dm-page .dm-hero h1 {
        font-size: clamp(40px, 5.4vw, 60px);
    }
    .dm-page .dm-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .dm-page .dm-container,
    .dm-page .dm-main .dm-hero>.dm-container {
        width: calc(100% - 40px);
    }
    .dm-page .dm-main .dm-hero {
        padding: 135px 0 45px;
        min-height: 100svh;
    }
    .dm-page .dm-hero .dm-kicker {
        font-size: 10px;
        letter-spacing: 1.2px;
        margin-bottom: 22px;
    }
    .dm-page .dm-main .dm-hero h1 {
        font-size: 26px;
        line-height: 1.15;
        text-align: center;
        margin-bottom: 22px;
    }
    .dm-page .dm-hero h1 br {
        display: none;
    }
    .dm-page .dm-hero h1 span {
        display: block;
        margin-top: 6px;
    }
    .dm-page .dm-hero .dm-hero-subtitle {
        font-size: 19px;
    }
    .dm-page .dm-hero .dm-hero-summary {
        font-size: 14px;
        text-align: center;
    }
    .dm-page .dm-hero-summary br {
        display: none;
    }
    .dm-page .dm-hero .dm-actions {
        flex-direction: column;
        gap: 12px;
    }
    .dm-page .dm-hero .dm-button,
    .dm-outline-button {
        width: 230px;
        justify-content: space-between;
    }
    .dm-partners {
        margin-top: 38px;
    }
    .dm-partners>div {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
    .dm-partners img {
        width: 100%;
        height: 42px;
    }
    .dm-page .dm-clients {
        padding: 40px 0;
    }
    .dm-page .dm-logo-grid {
        gap: 8px;
    }
    .dm-page .dm-logo-grid>div {
        height: 82px;
        border-radius: 10px;
    }
    .dm-page .dm-logo-grid img {
        height: 72px;
    }
    .dm-page .dm-main .dm-section {
        padding: 48px 0;
    }
    .dm-page #services .dm-services {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .dm-page #services .dm-service {
        padding: 24px;
        gap: 24px;
    }
    .dm-page #services .dm-service-heading {
        min-height: 180px;
    }
    .dm-page .dm-main .dm-client-heading h2 {
        text-align: center;
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .dm-page .dm-main *,
    .dm-page .dm-main *::before {
        transition: none !important;
        animation: none !important;
    }
}


/* Final hero alignment overrides: keep all copy centered at every breakpoint. */

body.dm-page .dm-main .dm-hero>.dm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.dm-page .dm-main .dm-hero p {
    width: 100%;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

body.dm-page .dm-main .dm-hero h1 {
    width: 100%;
    max-width: 1200px;
    text-align: center !important;
    text-wrap: balance;
}

body.dm-page .dm-main .dm-hero h1 span {
    color: #e60023;
}

body.dm-page .dm-main .dm-hero .dm-hero-tagline {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    color: #222;
    margin: 0 auto 20px;
    letter-spacing: -.035em;
}

body.dm-page .dm-main .dm-hero .dm-actions {
    width: 100%;
    justify-content: center;
    align-items: center;
}

body.dm-page .dm-partners {
    width: min(100%, 740px);
    min-width: 0;
}

body.dm-page .dm-partners .dm-partner-window {
    display: block;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

body.dm-page .dm-partners .dm-partner-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: dm-partner-scroll 22s linear infinite;
}

body.dm-page .dm-partners .dm-partner-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 40px;
    padding-right: 40px;
}

body.dm-page .dm-partners .dm-partner-group img {
    flex: 0 0 145px;
    width: 145px;
    height: 64px;
    object-fit: contain;
}

body.dm-page .dm-partners:hover .dm-partner-track {
    animation-play-state: paused;
}

@keyframes dm-partner-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    body.dm-page .dm-partners .dm-partner-group {
        gap: 24px;
        padding-right: 24px;
    }
    body.dm-page .dm-partners .dm-partner-group img {
        flex-basis: 110px;
        width: 110px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.dm-page .dm-partners .dm-partner-track {
        animation: none;
    }
}


/* Reserve a stable desktop heading line before and after fonts load. */

@media (min-width: 1100px) {
    body.dm-page .dm-main .dm-hero h1 {
        max-width: none;
        font-size: clamp(32px, 3.15vw, 60px);
        line-height: 1.15;
        white-space: nowrap;
        text-wrap: nowrap;
    }
    body.dm-page .dm-main .dm-hero h1 span {
        display: inline;
    }
}


/* Restore the complete supplied introduction within the centered hero. */

body.dm-page .dm-main .dm-hero .dm-original-promise {
    max-width: 1000px;
    margin: 0 auto 22px;
    color: #343434;
    font-size: 19px;
    line-height: 1.6;
    font-style: italic;
}

body.dm-page .dm-main .dm-hero .dm-original-copy {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto 28px;
}

body.dm-page .dm-main .dm-hero .dm-original-copy p {
    color: #666;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 auto 16px;
}

body.dm-page .dm-main .dm-hero .dm-original-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    body.dm-page .dm-main .dm-hero .dm-original-promise {
        font-size: 17px;
    }
    body.dm-page .dm-main .dm-hero .dm-original-copy p {
        font-size: 14px;
        line-height: 1.8;
    }
    body.dm-page .dm-main .dm-hero .dm-button {
        width: auto;
        min-width: 230px;
        gap: 18px;
    }
}


/* Compact desktop hero spacing so the partner strip stays with the intro. */

@media (min-width: 1100px) {
    body.dm-page .dm-main .dm-hero {
        padding-top: 150px;
        padding-bottom: 28px;
    }
    body.dm-page .dm-main .dm-hero .dm-kicker {
        margin-bottom: 20px;
    }
    body.dm-page .dm-main .dm-hero h1 {
        margin-bottom: 18px;
    }
    body.dm-page .dm-main .dm-hero .dm-hero-tagline {
        margin-bottom: 16px;
    }
    body.dm-page .dm-main .dm-hero .dm-original-promise {
        margin-bottom: 16px;
    }
    body.dm-page .dm-main .dm-hero .dm-original-copy {
        max-width: 1200px;
        margin-bottom: 22px;
    }
    body.dm-page .dm-main .dm-hero .dm-original-copy p {
        line-height: 1.7;
        margin-bottom: 12px;
    }
    body.dm-page .dm-main .dm-hero .dm-partners {
        margin-top: 26px;
    }
    body.dm-page .dm-main .dm-hero .dm-partners p {
        margin-bottom: 12px;
    }
}


/* Homepage reasons layout, with the complete service-page copy. */

body.dm-page .dm-main .dm-diagnosis {
    padding: 64px 0;
    background: #fff;
}

.dm-diagnosis-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(30px, 4vw, 64px);
    align-items: stretch;
}

.dm-diagnosis-intro {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(28px, 3vw, 44px);
    background: radial-gradient(ellipse at bottom left, #462029 0, transparent 65%), #202020;
}

.dm-diagnosis-label {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #d5cccc;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.dm-diagnosis-label>span {
    color: #ff3654;
    font-size: 22px;
}

body.dm-page .dm-main .dm-diagnosis-intro h2 {
    color: #fff;
    font-size: clamp(27px, 2.3vw, 36px);
    line-height: 1.17;
    font-weight: 500;
    letter-spacing: -.04em;
    margin: 0 0 24px;
}

.dm-diagnosis-intro h2>span {
    display: block;
    color: #ff3654;
    margin-top: 8px;
}

body.dm-page .dm-main .dm-diagnosis-intro p {
    color: #d5d1d1;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 18px;
}

body.dm-page .dm-main .dm-diagnosis-intro p:last-child {
    margin-bottom: 0;
}

.dm-diagnosis-questions {
    padding: 12px 0;
}

.dm-diagnosis-overline {
    display: block;
    font-size: 10px;
    color: #e60023;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 16px;
}

body.dm-page .dm-main .dm-diagnosis-questions h3 {
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 0 0 22px;
    max-width: 460px;
}

.dm-diagnosis-questions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dm-diagnosis-questions li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-top: 1px solid #e5e3df;
    padding: 22px 0;
    color: #303030;
    font-size: 16px;
    line-height: 1.6;
}

.dm-diagnosis-questions li>span {
    flex: 0 0 32px;
    color: #e60023;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
}

.dm-diagnosis-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.dm-diagnosis-link>span {
    color: #e60023;
    font-size: 20px;
}

.dm-diagnosis-link:hover {
    color: #e60023;
}

.dm-diagnosis-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid #e7e5e2;
    padding-top: 24px;
    margin-top: 32px;
}

body.dm-page .dm-main .dm-diagnosis-notes p {
    font-size: 14px;
    line-height: 1.8;
    color: #6b6864;
    margin: 0;
    text-align: left;
}

@media (max-width: 991px) {
    .dm-diagnosis-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    body.dm-page .dm-main .dm-diagnosis {
        padding: 40px 0;
    }
    .dm-diagnosis-intro {
        border-radius: 24px;
        padding: 28px 24px;
    }
    .dm-diagnosis-questions li {
        padding: 18px 0;
        font-size: 15px;
        gap: 14px;
    }
    .dm-diagnosis-notes {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
}


/* Consistent body copy, with supporting paragraphs in reading order. */

body.dm-page .dm-main p {
    font-size: 16px !important;
    line-height: 1.8;
}

body.dm-page .dm-main .dm-diagnosis-notes {
    display: block;
}

body.dm-page .dm-main .dm-diagnosis-notes p {
    margin: 0 0 16px;
}

body.dm-page .dm-main .dm-diagnosis-notes p:last-child {
    margin-bottom: 0;
}


/* Two-line desktop section heading and homepage-style enquiry button. */

@media (min-width: 1200px) {
    body.dm-page .dm-main .dm-diagnosis-intro h2 {
        font-size: clamp(22px, 1.55vw, 29px);
        line-height: 1.25;
        letter-spacing: -.045em;
    }
    body.dm-page .dm-main .dm-diagnosis-intro h2>span {
        white-space: nowrap;
    }
}

body.dm-page .dm-main .dm-diagnosis-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 54px;
    margin-top: 18px;
    padding: 8px 8px 8px 22px;
    background: #202020;
    border: 0;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

body.dm-page .dm-main .dm-diagnosis-link>span {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e60023;
    color: #fff;
    font-size: 20px;
}

body.dm-page .dm-main .dm-diagnosis-link:hover {
    background: #363636;
    transform: translateY(-2px);
}

body.dm-page .dm-main .dm-diagnosis-intro p {
    text-align: left !important;
}

.dm-diagnosis-intro h2>span {
    color: #fff;
}

.dm-diagnosis-intro h2 em {
    color: #ff3654;
    font-style: normal;
}


/* Minimal services: no image panels, one consistent reading and action order. */

body.dm-page #services.dm-minimal-services {
    background: #f8f8f6;
    padding: 64px 0;
}

body.dm-page #services .dm-section-head {
    max-width: none;
    margin-bottom: 32px;
}

.dm-services-eyebrow {
    display: block;
    color: #e60023;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

body.dm-page #services .dm-section-head h2 {
    font-size: clamp(29px, 3vw, 44px);
    margin-bottom: 20px;
}

body.dm-page #services .dm-section-head p {
    max-width: 1100px;
    margin-bottom: 0;
    text-align: left !important;
}

body.dm-page #services .dm-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

body.dm-page #services .dm-service {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 30px;
    border: 1px solid #e4e4df;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
    transition: border-color .2s;
}

body.dm-page #services .dm-service:hover {
    transform: none;
    border-color: #bcbcb6;
    box-shadow: none;
}

body.dm-page #services .dm-service-heading {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
}

body.dm-page #services .dm-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 0;
}

body.dm-page #services .dm-card-top i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #efeeee;
    border-radius: 12px;
    background: #faf9f7;
    color: #e60023;
    font-size: 19px;
}

body.dm-page #services .dm-card-top>span {
    color: #99968e;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

body.dm-page #services .dm-service h3 {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.25;
    margin: 0 0 20px;
    letter-spacing: -.035em;
    color: #202020;
    text-shadow: none;
}

body.dm-page #services .dm-service-description {
    padding: 0;
    border: 0;
    margin-bottom: 24px;
}

body.dm-page #services .dm-service-description p {
    text-align: left !important;
    color: #666;
    line-height: 1.8;
    margin-bottom: 14px;
}

body.dm-page #services .dm-service-description p:last-child {
    margin-bottom: 0;
}

body.dm-page #services .dm-service>.dm-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    gap: 16px;
    margin-top: auto;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid #e9e8e4;
    border-radius: 0;
    background: transparent;
    color: #222;
    font-size: 13px;
    font-weight: 600;
}

body.dm-page #services .dm-service>.dm-button span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f6f5f2;
    color: #222;
    font-size: 20px;
}

body.dm-page #services .dm-service>.dm-button:hover {
    transform: none;
    color: #e60023;
}

body.dm-page #services .dm-service>.dm-button:hover span {
    background: #e60023;
    color: #fff;
}

@media (max-width: 767px) {
    body.dm-page #services.dm-minimal-services {
        padding: 40px 0;
    }
    body.dm-page #services .dm-services {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    body.dm-page #services .dm-service {
        padding: 24px;
        border-radius: 18px;
    }
}


/* Service directory: large custom line icons and open editorial rows. */

body.dm-page #services.dm-service-directory {
    padding: 64px 0;
    background: #fff;
}

.dm-directory-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
    align-items: start;
    margin-bottom: 42px;
}

.dm-directory-head .dm-services-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

body.dm-page #services .dm-directory-head h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.15;
    margin: 0;
    max-width: 600px;
}

body.dm-page #services .dm-directory-head p {
    margin: 0;
    color: #666;
    text-align: left !important;
}

.dm-service-list {
    border-top: 1px solid #dcdcd6;
}

.dm-service-row {
    display: grid;
    grid-template-columns: 110px minmax(220px, .85fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: start;
    padding: 36px 0;
    border-bottom: 1px solid #deded8;
}

.dm-service-symbol {
    color: #222;
}

.dm-service-index {
    display: block;
    color: #99938c;
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.dm-service-symbol svg {
    display: block;
    width: 78px;
    height: 78px;
    color: #e60023;
}

body.dm-page #services .dm-service-row h3 {
    color: #202020;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.2;
    letter-spacing: -.045em;
    font-weight: 500;
    max-width: 330px;
    margin: 30px 0 24px;
}

.dm-service-row-link {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.dm-service-row-link span {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #222;
    font-size: 20px;
    transition: color .2s, background .2s;
}

.dm-service-row-link:hover {
    color: #e60023;
}

.dm-service-row-link:hover span {
    color: #fff;
    background: #e60023;
    border-color: #e60023;
}

body.dm-page #services .dm-service-row-copy p {
    margin: 0 0 14px;
    color: #666;
    line-height: 1.8;
    text-align: left !important;
}

body.dm-page #services .dm-service-row-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .dm-service-row {
        grid-template-columns: 80px minmax(180px, .9fr) minmax(0, 1.3fr);
        gap: 24px;
    }
    .dm-service-symbol svg {
        width: 64px;
        height: 64px;
    }
    .dm-directory-head {
        column-gap: 32px;
    }
}

@media (max-width: 767px) {
    body.dm-page #services.dm-service-directory {
        padding: 40px 0;
    }
    .dm-directory-head {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }
    .dm-directory-head .dm-services-eyebrow {
        margin-bottom: 0;
    }
    .dm-service-row {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 16px;
        padding: 28px 0;
    }
    .dm-service-symbol svg {
        width: 52px;
        height: 52px;
    }
    .dm-service-index {
        margin-bottom: 12px;
    }
    body.dm-page #services .dm-service-row h3 {
        margin: 0 0 14px;
        font-size: 25px;
    }
    .dm-service-row-copy {
        grid-column: 1 / -1;
    }
}


/* Stack the services introduction above the list. */

body.dm-page #services .dm-directory-head {
    display: block;
}

body.dm-page #services .dm-directory-head h2 {
    max-width: none;
    margin: 0 0 22px;
}

body.dm-page #services .dm-directory-head p {
    max-width: none;
    margin: 0;
}

@media (min-width: 1100px) {
    body.dm-page #services .dm-directory-head h2 {
        white-space: nowrap;
        font-size: clamp(30px, 3vw, 44px);
    }
}


/* Align service titles and use the established homepage action style. */

body.dm-page #services .dm-service-row {
    grid-template-columns: 90px minmax(280px, .95fr) minmax(0, 1.5fr);
    column-gap: 36px;
}

body.dm-page #services .dm-service-row-title h3 {
    margin-top: 28px;
    margin-bottom: 22px;
    max-width: 380px;
}

body.dm-page #services .dm-service-row-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    max-width: 100%;
    padding: 7px 7px 7px 18px;
    background: #202020;
    border: 1px solid #202020;
    border-radius: 30px;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

body.dm-page #services .dm-service-row-link span {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #e60023;
    color: #fff;
    font-size: 20px;
}

body.dm-page #services .dm-service-row-link:hover {
    background: #363636;
    border-color: #363636;
    color: #fff;
}

body.dm-page #services .dm-service-row-link:hover span {
    background: #c90020;
    color: #fff;
}

@media (max-width: 1100px) {
    body.dm-page #services .dm-service-row {
        grid-template-columns: 70px minmax(240px, .95fr) minmax(0, 1.3fr);
        column-gap: 24px;
    }
}

@media (max-width: 767px) {
    body.dm-page #services .dm-service-row {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 18px 16px;
    }
    body.dm-page #services .dm-service-row-title h3 {
        margin-top: 0;
    }
    body.dm-page #services .dm-service-row-link {
        font-size: 11px;
        gap: 12px;
        padding-left: 14px;
    }
}


/* Unnumbered services and restrained outline actions. */

body.dm-page #services .dm-service-symbol {
    padding-top: 0;
}

body.dm-page #services .dm-service-row-title h3 {
    margin-top: 0;
}

body.dm-page #services .dm-service-row-link {
    min-height: 44px;
    padding: 10px 16px;
    gap: 20px;
    border: 1px solid #d8d8d3;
    border-radius: 8px;
    background: #fff;
    color: #292929;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
}

body.dm-page #services .dm-service-row-link span {
    display: inline;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #e60023;
    font-size: 19px;
    line-height: 1;
}

body.dm-page #services .dm-service-row-link:hover {
    background: #f8f8f5;
    border-color: #a7a7a1;
    color: #202020;
}

body.dm-page #services .dm-service-row-link:hover span {
    background: transparent;
    color: #e60023;
}


/* Full-width service titles and clearly outlined actions. */

body.dm-page #services .dm-service-row-title h3 {
    max-width: none;
}

body.dm-page #services .dm-service-row-link {
    border: 1px solid #222;
    background: transparent;
}

body.dm-page #services .dm-service-row-link:hover {
    border-color: #e60023;
    background: transparent;
    color: #e60023;
}

@media (min-width: 1200px) {
    body.dm-page #services .dm-service-row {
        grid-template-columns: 78px minmax(0, 1.2fr) minmax(0, 1.5fr);
        column-gap: 28px;
    }
    body.dm-page #services .dm-service-row-title h3 {
        white-space: nowrap;
        font-size: clamp(20px, 1.65vw, 30px);
    }
}


/* Compact reference-style service list with native accessible disclosure. */

.dm-service-accordion {
    border-bottom: 1px solid #e9e8e5;
}

.dm-service-accordion summary {
    display: grid;
    grid-template-columns: 40px 76px minmax(0, 1.05fr) minmax(0, 1.25fr) 46px;
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
}

.dm-service-accordion summary::-webkit-details-marker {
    display: none;
}

.dm-accordion-number {
    color: #ccc;
    font-size: 20px;
    font-weight: 400;
}

.dm-accordion-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 25%, #faeeeb 100%);
}

.dm-accordion-icon svg {
    width: 44px;
    height: 44px;
    color: #202020;
}

.dm-accordion-icon svg path {
    stroke: #e60023;
}

body.dm-page #services .dm-accordion-title h3 {
    font-size: clamp(18px, 1.45vw, 25px);
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 0 0 7px;
    max-width: none;
    white-space: nowrap;
    color: #171717;
}

.dm-accordion-title>span {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.dm-accordion-preview {
    padding-left: 28px;
    border-left: 1px solid #d9d9d5;
    color: #777;
    font-size: 16px;
    line-height: 1.6;
}

.dm-accordion-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dadada;
    border-radius: 50%;
    color: #222;
    font-size: 23px;
    transition: transform .2s, background .2s;
}

.dm-service-accordion summary:hover .dm-accordion-arrow {
    background: #f8efed;
}

.dm-service-accordion[open] .dm-accordion-arrow {
    transform: rotate(90deg);
    background: #202020;
    color: #fff;
    border-color: #202020;
}

.dm-accordion-content {
    padding: 8px 70px 28px 164px;
}

body.dm-page #services .dm-accordion-content p {
    color: #666;
    text-align: left !important;
    margin: 0 0 16px;
}

.dm-service-accordion summary:focus-visible {
    outline: 2px solid #e60023;
    outline-offset: 5px;
}

@media (max-width: 1100px) {
    .dm-service-accordion summary {
        grid-template-columns: 24px 56px minmax(0, 1fr) 42px;
        gap: 18px;
    }
    .dm-accordion-preview {
        display: none;
    }
    .dm-accordion-icon {
        width: 56px;
        height: 56px;
    }
    .dm-accordion-content {
        padding-left: 116px;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .dm-service-accordion summary {
        grid-template-columns: 48px minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 20px 0;
    }
    .dm-accordion-number {
        display: none;
    }
    .dm-accordion-icon {
        width: 48px;
        height: 48px;
    }
    .dm-accordion-icon svg {
        width: 34px;
        height: 34px;
    }
    body.dm-page #services .dm-accordion-title h3 {
        font-size: 17px;
        white-space: normal;
    }
    .dm-accordion-title>span {
        font-size: 12px;
    }
    .dm-accordion-arrow {
        width: 32px;
        height: 32px;
        font-size: 19px;
    }
    .dm-accordion-content {
        padding: 0 0 24px;
    }
}


/* Readable contrast and weight for service summaries and expanded copy. */

body.dm-page #services .dm-accordion-title>span,
body.dm-page #services .dm-accordion-preview {
    color: #454545;
    font-size: 16px;
    font-weight: 500;
    opacity: 1;
}

body.dm-page #services .dm-accordion-number {
    color: #666;
    font-weight: 500;
}

body.dm-page #services .dm-accordion-content p {
    color: #454545;
    font-weight: 400;
    opacity: 1;
}

body.dm-page #services .dm-accordion-title h3 {
    color: #171717;
    font-weight: 500;
    opacity: 1;
}


/* Light, minimal channel comparison with only horizontal dividers. */

body.dm-page .dm-channel-table-wrap {
    border: 1px solid #e5e5e1;
    border-radius: 18px;
    background: #fff;
    overflow-x: auto;
}

body.dm-page .dm-channel-table {
    margin: 0;
    min-width: 720px;
}

body.dm-page .dm-channel-table th,
body.dm-page .dm-channel-table td {
    padding: 22px 26px;
    border-right: 0;
    border-bottom: 1px solid #ecece8;
    font-size: 16px;
    line-height: 1.6;
    vertical-align: middle;
    text-align: left;
}

body.dm-page .dm-channel-table thead th {
    background: #f6f6f3;
    color: #66665f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    padding-top: 18px;
    padding-bottom: 18px;
}

body.dm-page .dm-channel-table tbody th {
    background: #fff;
    color: #292929;
    font-weight: 500;
}

body.dm-page .dm-channel-table td {
    background: #fff;
    color: #60605a;
}

body.dm-page .dm-channel-table .dm-channel-choice {
    background: #fff;
    color: #292929;
    font-weight: 500;
}

body.dm-page .dm-channel-table .dm-channel-choice::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 50%;
    background: #e60023;
    vertical-align: middle;
}

body.dm-page .dm-channel-table tbody tr:hover>* {
    background: #fafaf8;
}

body.dm-page .dm-channel-table tbody tr:last-child>* {
    border-bottom: 0;
}

@media (max-width: 767px) {
    body.dm-page .dm-channel-table th,
    body.dm-page .dm-channel-table td {
        padding: 18px 20px;
    }
}


/* Clearly distinguish column headings from comparison data. */

body.dm-page .dm-channel-table thead th {
    background: #eaeae5;
    color: #202020;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    padding: 20px 26px;
    border-bottom: 2px solid #c9c9c1;
}

body.dm-page .dm-channel-table tr>*:not(:last-child) {
    border-right: 1px solid #e2e2dc;
}

body.dm-page .dm-channel-table tbody tr:nth-child(even)>* {
    background: #fafaf8;
}

body.dm-page .dm-channel-table tbody tr:hover>* {
    background: #f3f3ef;
}


/* White process section inspired by the supplied four-step reference. */

body.dm-page #measurement {
    background: #fff;
    padding: 64px 0;
}

body.dm-page #measurement .dm-section-head {
    display: block;
    margin-bottom: 36px;
}

.dm-process-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #555;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.dm-process-eyebrow::before {
    content: '';
    width: 44px;
    height: 1px;
    background: #777;
}

body.dm-page #measurement .dm-section-head h2 {
    font-size: clamp(32px, 3.5vw, 50px);
    margin-bottom: 18px;
}

body.dm-page #measurement .dm-section-head p {
    max-width: 1050px;
    color: #666;
}

body.dm-page #measurement .dm-measures {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

body.dm-page #measurement .dm-measures article {
    padding: 24px 22px;
    border: 1px solid #e7e5e1;
    border-radius: 22px;
    box-shadow: none;
    background: #fff;
}

.dm-measure-art {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 112px;
    gap: 10px;
    margin-bottom: 12px;
}

body.dm-page #measurement .dm-number {
    display: block;
    width: auto;
    height: auto;
    background: none;
    color: #d2cec8;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
}

.dm-measure-icon {
    display: grid;
    place-items: center;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 10%, #f6efec 100%);
}

.dm-measure-icon svg {
    width: 62px;
    height: 62px;
    color: #b50020;
    filter: drop-shadow(0 6px 4px #49281918);
}

body.dm-page #measurement .dm-measures h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.04em;
    margin-bottom: 18px;
    min-height: 80px;
}

body.dm-page #measurement .dm-measure-label {
    padding: 14px;
    border: 1px solid #eeece8;
    border-radius: 8px;
    background: #faf9f7;
    margin-bottom: 18px;
}

body.dm-page #measurement .dm-measure-label p {
    line-height: 1.6;
    font-weight: 400;
    text-align: left !important;
}

.dm-measure-caption {
    display: block;
    color: #e60023;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

body.dm-page #measurement .dm-measures article>p {
    color: #666;
    line-height: 1.65;
    text-align: left !important;
}

body.dm-page #measurement .dm-measures article:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    right: -25px;
    top: 145px;
    color: #a9a49d;
    font-size: 23px;
    z-index: 1;
}

body.dm-page #measurement .dm-note {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 24px;
    border: 1px solid #e7e5e1;
    border-radius: 20px;
    margin-top: 26px;
    background: #fff;
}

body.dm-page #measurement .dm-note::before {
    display: none;
}

.dm-roadmap-icon {
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    height: 72px;
    border-radius: 22px;
    background: #fff0f2;
    color: #e60023;
    font-size: 40px;
}

.dm-roadmap-copy {
    flex: 1;
}

body.dm-page #measurement .dm-note h3 {
    font-size: 24px;
    margin: 0 0 8px;
}

body.dm-page #measurement .dm-note p {
    color: #666;
    line-height: 1.7;
}

.dm-roadmap-aside {
    flex: 0 0 190px;
    border-left: 1px solid #e7e5e1;
    padding-left: 24px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    body.dm-page #measurement .dm-measures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    body.dm-page #measurement .dm-measures article::after {
        display: none;
    }
    body.dm-page #measurement .dm-measures h3 {
        min-height: 54px;
    }
    .dm-roadmap-aside {
        display: none;
    }
}

@media (max-width: 767px) {
    body.dm-page #measurement {
        padding: 40px 0;
    }
    body.dm-page #measurement .dm-measures {
        grid-template-columns: 1fr;
    }
    body.dm-page #measurement .dm-measures h3 {
        min-height: 0;
    }
    body.dm-page #measurement .dm-note {
        align-items: flex-start;
        padding: 22px;
        gap: 16px;
    }
    .dm-roadmap-icon {
        flex-basis: 44px;
        height: 44px;
        font-size: 28px;
        border-radius: 14px;
    }
    body.dm-page #measurement .dm-note h3 {
        font-size: 21px;
    }
}


/* Aligned process cards with shared content tracks and subtle depth. */

body.dm-page #measurement .dm-section-head h2 {
    max-width: none;
    font-size: clamp(28px, 2.8vw, 44px);
}

body.dm-page #measurement .dm-section-head p {
    max-width: none;
}

body.dm-page #measurement .dm-measures {
    grid-template-rows: auto auto auto auto;
}

body.dm-page #measurement .dm-measures article {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    gap: 20px;
    padding: 26px 24px;
    background: linear-gradient(145deg, #fff 65%, #fcf8f7);
    box-shadow: 0 10px 30px #30221c07;
    border: 1px solid #e6e3df;
    border-top: 3px solid #e9d8d5;
}

body.dm-page #measurement .dm-measure-art {
    min-height: 94px;
    margin: 0;
    align-items: center;
}

body.dm-page #measurement .dm-measures h3 {
    min-height: 0;
    margin: 0;
    line-height: 1.3;
    text-align: left;
}

body.dm-page #measurement .dm-measure-label {
    margin: 0;
    padding: 16px;
    background: #f7f5f2;
    border: 0;
    border-radius: 10px;
}

body.dm-page #measurement .dm-measure-label p,
body.dm-page #measurement .dm-measures article>p {
    text-align: left !important;
    line-height: 1.7;
    margin: 0;
}

body.dm-page #measurement .dm-number {
    color: #b5afa8;
    font-size: 32px;
}

@media (min-width: 1101px) {
    body.dm-page #measurement .dm-section-head h2 {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    body.dm-page #measurement .dm-measures {
        grid-template-rows: none;
    }
    body.dm-page #measurement .dm-measures article {
        display: flex;
        flex-direction: column;
        grid-row: auto;
        gap: 20px;
    }
}


/* Consistent, compact spacing between content sections. */

body.dm-page .dm-main>section.dm-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

body.dm-page .dm-main>section.dm-section+section.dm-section {
    padding-top: 28px;
}

body.dm-page .dm-main #work .dm-note {
    margin-top: 24px;
}

body.dm-page .dm-main .dm-section-head {
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    body.dm-page .dm-main>section.dm-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    body.dm-page .dm-main>section.dm-section+section.dm-section {
        padding-top: 20px;
    }
}


/* Partner selection: reference-style numbered accordion. */

body.dm-page #choosing-partner {
    background: #fff;
}

body.dm-page #choosing-partner>.dm-container {
    display: block;
}

body.dm-page #choosing-partner .dm-intro {
    text-align: center;
    margin: 0 auto 32px;
}

.dm-choose-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #6a707a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.dm-choose-eyebrow::before,
.dm-choose-eyebrow::after {
    content: '';
    width: 36px;
    height: 1px;
    background: #bfc2c7;
}

body.dm-page #choosing-partner .dm-intro h2 {
    max-width: 950px;
    margin: 0 auto 18px;
    text-align: center;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.2;
    text-wrap: balance;
}

body.dm-page #choosing-partner .dm-intro p {
    max-width: 1150px;
    text-align: center !important;
    margin: 0 auto 8px;
    color: #616773;
}

.dm-choice-list {
    display: grid;
    gap: 8px;
}

.dm-choice {
    border: 1px solid #e2e4e8;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.dm-choice summary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) 36px;
    gap: 24px;
    align-items: center;
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
}

.dm-choice summary::-webkit-details-marker {
    display: none;
}

.dm-choice-number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f4f5f6;
    color: #5d6570;
    font-size: 19px;
}

body.dm-page #choosing-partner .dm-choice h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -.035em;
    color: #171d25;
}

.dm-choice-preview {
    border-left: 1px solid #dedfe2;
    padding-left: 28px;
    color: #626b77;
    font-size: 16px;
    line-height: 1.6;
}

.dm-choice-toggle {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #cdd1d7;
    border-radius: 50%;
    font-size: 23px;
    color: #202833;
}

.dm-choice[open] {
    background: #fff9f9;
}

.dm-choice[open] .dm-choice-number {
    background: #ffe5e7;
    color: #e60023;
}

.dm-choice[open] .dm-choice-toggle {
    background: #e60023;
    border-color: #e60023;
    color: #fff;
    transform: rotate(180deg);
}

.dm-choice-answer {
    margin: 0 22px 0 110px;
    padding: 14px 0 18px;
    border-top: 1px solid #ece5e5;
}

body.dm-page #choosing-partner .dm-choice-answer p {
    margin: 0;
    text-align: left !important;
    color: #626b77;
}

.dm-choice summary:focus-visible {
    outline: 2px solid #e60023;
    outline-offset: -3px;
}

body.dm-page #choosing-partner .dm-note {
    display: block;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .dm-choice summary {
        grid-template-columns: 38px minmax(0, 1fr) 30px;
        gap: 12px;
        padding: 18px 14px;
    }
    .dm-choice-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    body.dm-page #choosing-partner .dm-choice h3 {
        font-size: 18px;
    }
    .dm-choice-preview {
        grid-column: 2;
        grid-row: 2;
        padding-left: 0;
        border: 0;
    }
    .dm-choice-toggle {
        grid-column: 3;
        grid-row: 1;
        width: 28px;
        height: 28px;
    }
    .dm-choice-answer {
        margin-left: 64px;
        margin-right: 14px;
    }
}


/* Center a geometric chevron instead of a font-dependent arrow glyph. */

body.dm-page .dm-choice-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

body.dm-page .dm-choice-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* Ongoing clarity: stacked introduction and centered five-step timeline. */

body.dm-page .dm-reviews {
    background: #fcfbfa;
}

body.dm-page .dm-reviews>.dm-container {
    display: block;
}

.dm-clarity-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #7a8089;
    font-size: 12px;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}

.dm-clarity-eyebrow::before {
    content: '';
    width: 42px;
    height: 2px;
    background: #e60023;
}

body.dm-page .dm-reviews h2 {
    margin-bottom: 24px;
}

body.dm-page .dm-reviews>.dm-container>div:first-child p {
    max-width: none;
    margin-bottom: 16px;
    text-align: left !important;
}

body.dm-page .dm-reviews .dm-review-card {
    margin-top: 32px;
}

body.dm-page .dm-reviews .dm-review-card h3 {
    margin-bottom: 28px;
    font-size: 26px;
}

body.dm-page .dm-reviews .dm-review-card ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 0;
    gap: 0;
}

body.dm-page .dm-reviews .dm-review-card li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 16px;
    text-align: center;
}

body.dm-page .dm-reviews .dm-review-card li::before {
    display: block;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    border-radius: 0;
    background: #dedbd7;
}

body.dm-page .dm-reviews .dm-review-card li:first-child::before {
    left: 50%;
    width: 50%;
}

body.dm-page .dm-reviews .dm-review-card li:last-child::before {
    width: 50%;
}

body.dm-page .dm-reviews .dm-review-card .dm-clarity-number {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    border: 0;
    background: none;
    color: #8a8e95;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 42px;
}

.dm-clarity-number::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e60023;
    left: calc(50% - 4px);
    top: 36px;
}

body.dm-page .dm-reviews .dm-review-card .dm-clarity-icon {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 50%;
    background: #fbedeb;
    margin-bottom: 18px;
    color: #232b35;
}

.dm-clarity-icon svg {
    display: block;
    width: 42px;
    height: 42px;
}

.dm-clarity-icon svg path:last-child {
    stroke: #e60023;
}

body.dm-page .dm-reviews .dm-review-card li p {
    text-align: center !important;
    color: #303640;
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 767px) {
    body.dm-page .dm-reviews .dm-review-card ul {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    body.dm-page .dm-reviews .dm-review-card li {
        display: grid;
        grid-template-columns: 30px 60px 1fr;
        gap: 14px;
        align-items: center;
        padding: 0;
    }
    body.dm-page .dm-reviews .dm-review-card li::before,
    .dm-clarity-number::after {
        display: none !important;
    }
    body.dm-page .dm-reviews .dm-review-card .dm-clarity-number {
        margin: 0;
    }
    body.dm-page .dm-reviews .dm-review-card .dm-clarity-icon {
        width: 60px;
        height: 60px;
        margin: 0;
    }
    body.dm-page .dm-reviews .dm-review-card li p {
        text-align: left !important;
    }
}


/* Simple white enquiry form matching the supplied reference. */

.dm-simple-contact {
    background: #fff;
    padding: 44px 0 60px;
    scroll-margin-top: 120px;
}

.dm-simple-contact-heading {
    text-align: center;
    margin-bottom: 32px;
}

.dm-simple-contact-heading>span {
    color: #e60023;
    font-size: 13px;
}

body.dm-page .dm-simple-contact-heading h2 {
    margin: 18px 0 0;
    font-size: clamp(28px, 3vw, 40px);
    text-align: center;
}

.dm-simple-form-panel {
    max-width: 1080px;
    margin: auto;
    padding: 32px;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px #00000004;
}

.dm-simple-form label {
    display: block;
    color: #202020;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 10px;
}

.dm-simple-form input,
.dm-simple-form select,
.dm-simple-form textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fafafa;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
}

.dm-simple-form textarea {
    min-height: 120px;
    resize: vertical;
}

.dm-simple-form input:focus,
.dm-simple-form select:focus,
.dm-simple-form textarea:focus {
    outline: 2px solid #e6002333;
    border-color: #e60023;
}

.dm-simple-form input::placeholder,
.dm-simple-form textarea::placeholder {
    color: #858585;
    opacity: 1;
}

.dm-simple-form .nice-select {
    display: none !important;
}

.dm-simple-form select.contact-service-select {
    display: block !important;
    appearance: auto;
}

.dm-simple-form .saar-captcha {
    color: #222 !important;
}

.dm-simple-form .saar-captcha label,
.dm-simple-form .saar-captcha small {
    color: #222 !important;
}

.dm-simple-form .contact-button {
    margin-top: 20px;
}

.dm-simple-submit {
    background: #e60023;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 26px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dm-simple-submit:hover {
    background: #bc001d;
}

@media (max-width: 767px) {
    .dm-simple-form-panel {
        padding: 22px;
    }
    .dm-simple-contact {
        padding: 32px 0 40px;
    }
}

/* Keep each mobile card heading part compact and balanced. */
@media (max-width: 767px) {
    body.dm-page .dm-main .dm-diagnosis-intro h2 {
        font-size: clamp(18px, 5.5vw, 22px);
        line-height: 1.3;
        letter-spacing: -.035em;
        text-align: center;
        text-wrap: balance;
    }
    body.dm-page .dm-main .dm-diagnosis-intro h2 > span {
        margin-top: 10px;
        white-space: normal;
        text-wrap: balance;
    }
}
