/* Shared segment pages. Scoped to preserve the site's other templates. */
.dv-segment-page { --segment-ink: #171918; --segment-muted: #62685e; --segment-line: #dce0d3; color: var(--segment-muted); }
.dv-segment-page section { scroll-margin-top: 110px; }
.dv-segment-page h2 { font-size: clamp(30px, 3.6vw, 47px); line-height: 1.13; letter-spacing: -.045em; }
.dv-segment-page h2 em { color: #707864; }
.dv-segment-page p { font-size: 16px; line-height: 1.75; }
.dv-segment-page .dv-eyebrow { margin-bottom: 20px; line-height: 1.6; }
.dv-segment-intro { padding: 80px 0 88px; }
.dv-segment-intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.dv-segment-intro-copy h2 { font-size: clamp(34px, 4vw, 54px); margin: 0 0 28px; }
.dv-segment-intro-copy > p { max-width: 570px; margin: 0 0 32px; }
.dv-segment-intro-copy strong { font-weight: 600; color: #30372c; }
.dv-segment-actions { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; }
.dv-segment-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; padding: 17px 23px; min-height: 56px; border-radius: 7px; background: #ffca32; color: #171918; font-size: 14px; font-weight: 650; line-height: 1.5; }
.dv-segment-button i { font-size: 22px; flex-shrink: 0; }
.dv-segment-button:hover { background: #ebba29; color: #171918; }
.dv-segment-link { display: inline-flex; align-items: center; gap: 14px; color: #30372c; font-weight: 600; font-size: 14px; padding: 12px 0; border-bottom: 1px solid #b9c0af; }
.dv-segment-focus { background: #1b2420; color: #c5cec3; border-radius: 16px; padding: 32px; }
.dv-segment-focus-label { display: block; text-transform: uppercase; letter-spacing: .09em; color: #d8dfd2; font-size: 10px; margin-bottom: 15px; }
.dv-segment-focus h3 { font-size: 27px; line-height: 1.22; color: #fff; margin: 0 0 26px; max-width: 280px; }
.dv-segment-focus ul { padding: 0; margin: 0; list-style: none; }
.dv-segment-focus li { display: flex; gap: 17px; padding: 18px 0; border-top: 1px solid #ffffff24; }
.dv-segment-focus li > span { color: #ffca32; font-size: 12px; padding-top: 3px; }
.dv-segment-focus li strong { color: #fff; font-size: 16px; font-weight: 600; }
.dv-segment-focus li p { font-size: 13px; line-height: 1.6; margin: 5px 0 0; }
.dv-segment-experience { display: flex; gap: 18px; align-items: center; padding-top: 20px; margin-top: 3px; border-top: 1px solid #ffffff24; }
.dv-segment-experience strong { color: #ffca32; font-size: 43px; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.dv-segment-experience span { font-size: 12px; line-height: 1.55; }
.dv-segment-solutions { padding: 80px 0; background: #eeefe6; border-top: 1px solid var(--segment-line); border-bottom: 1px solid var(--segment-line); }
.dv-segment-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 45px; margin-bottom: 40px; }
.dv-segment-heading > div { flex: 1; min-width: 0; }
.dv-segment-heading h2 { margin: 0; }
.dv-segment-heading > p { max-width: 360px; font-size: 15px; margin: 0; }
.dv-segment-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dv-segment-service-card { display: flex; flex-direction: column; padding: 28px; border-radius: 12px; background: #fff; border: 1px solid #dce0d3; transition: border-color .2s, box-shadow .2s; }
.dv-segment-service-card:hover, .dv-segment-service-card:focus-within { border-color: #8b987d; box-shadow: 0 5px 20px #1b242009; }
.dv-segment-service-meta { display: flex; justify-content: space-between; gap: 12px; color: #68715e; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px; line-height: 1.5; }
.dv-segment-service-meta span:last-child { color: #7c836f; }
.dv-segment-service-card h3 { font-size: 24px; line-height: 1.25; margin: 0 0 15px; }
.dv-segment-service-card h3 a { color: #171918; }
.dv-segment-service-card p { font-size: 14px; line-height: 1.7; margin: 0 0 25px; }
.dv-segment-service-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #30372c; font-size: 13px; font-weight: 650; margin-top: auto; padding-top: 16px; border-top: 1px solid #e5e8dd; }
.dv-segment-service-link i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f4efda; font-size: 19px; flex-shrink: 0; }
.dv-segment-method { padding: 88px 0 70px; }
.dv-segment-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; list-style: none; padding: 0; margin: 0; }
.dv-segment-steps li { border-top: 1px solid #b8c0ac; padding-top: 24px; }
.dv-segment-steps li > span { display: block; color: #68735e; font-size: 12px; margin-bottom: 26px; }
.dv-segment-steps h3 { font-size: 23px; margin: 0 0 14px; }
.dv-segment-steps p { font-size: 14px; margin: 0; }
.dv-segment-contact { padding: 0 0 80px; }
.dv-segment-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 35px; background: #e7eadf; border: 1px solid #d9dfcf; border-radius: 14px; padding: 40px; }
.dv-segment-contact-panel > div { max-width: 650px; }
.dv-segment-contact-panel .dv-eyebrow { font-size: 10px; margin-bottom: 12px; }
.dv-segment-contact-panel h2 { font-size: clamp(27px, 3vw, 36px); margin: 0 0 15px; }
.dv-segment-contact-panel p { font-size: 14px; margin: 0; }
.dv-segment-contact-panel .dv-segment-button { flex-shrink: 0; }
.divia-related-cases { padding: 80px 0; background: #1b2420; color: #c5cec3; }
.divia-related-cases h2, .divia-related-cases h3 a, .divia-related-cases .dv-text-link { color: #fff; }
.divia-related-cases .dv-eyebrow { color: #d8dfd2; }
.divia-related-cases .dv-case-text p { color: #c5cec3; }
.divia-related-cases .dv-case-text h3 { font-size: clamp(21px, 2.1vw, 26px); }
.divia-related-cases .dv-case-image { padding: 24px; }
@media (max-width: 991px) {
    .dv-segment-intro-grid { gap: 35px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .dv-segment-focus { padding: 26px; }
    .dv-segment-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dv-segment-heading { gap: 25px; }
    .dv-segment-heading > p { max-width: 300px; }
    .dv-segment-contact-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
    .dv-segment-intro, .dv-segment-solutions, .dv-segment-method, .divia-related-cases { padding: 50px 0; }
    .dv-segment-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .dv-segment-intro-copy h2 { font-size: 36px; }
    .dv-segment-intro-copy > p { font-size: 15px; margin-bottom: 26px; }
    .dv-segment-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .dv-segment-heading > p { max-width: none; font-size: 14px; }
    .dv-segment-services { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .dv-segment-service-card { padding: 25px; }
    .dv-segment-service-meta { margin-bottom: 18px; }
    .dv-segment-service-card h3 { font-size: 25px; }
    .dv-segment-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .dv-segment-steps li > span { margin-bottom: 16px; }
    .dv-segment-contact { padding-bottom: 50px; }
    .dv-segment-contact-panel { padding: 28px 23px; gap: 25px; }
    .dv-segment-contact-panel .dv-segment-button { flex-shrink: 1; width: 100%; gap: 15px; font-size: 13px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .dv-segment-service-card { transition: none; }
}

/* Service × segment detail uses the same editorial scale. */
.dv-segment-service .project-img { display: flex; align-items: center; justify-content: center; background: #e9ece2; border: 1px solid #dce0d3; border-radius: 14px; overflow: hidden; margin: 0 0 30px; }
.dv-segment-service .project-img img { display: block; width: 100%; height: auto; max-height: 400px; aspect-ratio: 16 / 9; object-fit: contain; padding: 20px; }
.dv-segment-service .services-content-wrapper > h2 { font-size: clamp(29px, 3vw, 41px); line-height: 1.16; margin-bottom: 28px !important; }
.dv-segment-service .dv-service-richtext { overflow-wrap: anywhere; }
.dv-segment-service .dv-service-richtext h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; }
.dv-segment-service .dv-service-richtext h3 { font-size: 24px; line-height: 1.3; }
.dv-segment-service .dv-service-richtext p { line-height: 1.8; }
.dv-segment-service .dv-service-richtext + .dv-service-richtext { margin-top: 40px; padding-top: 10px; border-top: 1px solid #dce0d3; }
.divia-related-cases-action { margin-top: 38px; }
.divia-related-cases h2 em { color: #d3c9a5; }
@media (max-width: 767px) {
    .dv-segment-service .project-img img { max-height: 250px; padding: 14px; }
    .dv-segment-service .services-content-wrapper > h2 { font-size: 30px; }
    .dv-segment-service .dv-service-richtext h2 { font-size: 27px; }
    .dv-segment-service .dv-service-richtext h3 { font-size: 23px; }
    .dv-segment-service .dv-service-richtext p { font-size: 15px; }
    .dv-segment-service .form_banner { margin-top: 30px; }
}
