/* Digital marketing page: extras on top of the shared theme in logo-design.css (.ld classes). */
/* introduction: heading beside the text */
.dm-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.dm-intro header { position: sticky; top: 110px; }
.dm .dm-intro p { margin: 0 0 18px; font-size: 17px; }
.dm .dm-intro p.dm-intro__note { margin: 0; padding: 18px 22px; border-left: 4px solid #ffd749; border-radius: 0 14px 14px 0; background: #fff9e3; color: #0b2a4a; font-weight: 700; }

/* three outcome cards */
.ld .dm-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dm-trio li { padding: 34px 28px; border: 1px solid #e5eef8; border-radius: 24px; background: #fff; box-shadow: 0 24px 44px -34px rgba(11, 42, 74, .5); transition: translate .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.dm-trio li:hover { translate: 0 -8px; box-shadow: 0 36px 54px -30px rgba(22, 120, 210, .5); }
.dm-trio li:hover .ld-services__icon { background: #169ef5; color: #fff; }
.ld .dm-trio h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.ld .dm-trio h3 a { color: #0b2a4a; }
.ld .dm-trio p { margin: 0; font-size: 15.5px; }

/* alternating picture + text rows */
.dm-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(40px, 5.5vw, 80px); }
.dm-feature figure { display: grid; place-items: center; margin: 0; padding: clamp(18px, 2.4vw, 34px); border-radius: 30px; background: linear-gradient(145deg, #eaf5fe, #fff8dc); }
.dm-feature figure img { display: block; width: auto; max-width: 100%; max-height: 360px; height: auto; transition: scale .5s cubic-bezier(.2, .8, .2, 1); }
.dm-feature:hover figure img { scale: 1.04; }
.dm-feature:nth-of-type(even) figure { order: 2; }
.dm .dm-feature__no { display: block; margin-bottom: 8px; color: #169ef5; font-size: 15px; font-weight: 800; letter-spacing: .16em; }
.dm-feature__no::after { content: ""; display: inline-block; width: 46px; height: 3px; margin-left: 12px; border-radius: 3px; background: #ffd749; vertical-align: middle; }
.ld .dm-feature h3 { margin: 0 0 14px; color: #0b2a4a; font-size: clamp(22px, 2.5vw, 33px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.ld .dm-feature p { margin: 0; font-size: 17px; }

/* SEO toolkit tiles */
.ld .dm-tools { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.dm-tools li { padding: 24px 14px; border: 1px solid #e5eef8; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 20px 36px -30px rgba(11, 42, 74, .5); transition: translate .3s ease, border-color .3s ease; }
.dm-tools li:hover { translate: 0 -6px; border-color: #bfe0fb; }
.dm-tools li > span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; background: #e8f5fe; color: #169ef5; font-size: 23px; transition: background-color .3s ease, color .3s ease; }
.dm-tools li:hover > span { background: #169ef5; color: #fff; }
.ld .dm-tools h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.ld .dm-tools a { color: #0b2a4a; }

/* 11 service cards: the last row stays centred */
.ld.dm .ld-services { display: flex; flex-wrap: wrap; justify-content: center; }
.dm .ld-services li { flex: 0 0 calc(25% - 16.5px); }
.dm .dm-code { position: absolute; top: 26px; right: 20px; padding: 5px 12px; border-radius: 999px; background: #fff6d1; color: #7a5b00; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.ld .ld-services h3 a { color: inherit; }
.ld .ld-services h3 a:hover { color: #169ef5; }

/* comparison table (scrolls sideways on small phones) */
.dm-table { overflow-x: auto; max-width: 1000px; margin: 0 auto clamp(40px, 5vw, 68px); border: 1px solid #e5eef8; border-radius: 22px; box-shadow: 0 30px 50px -38px rgba(11, 42, 74, .55); }
.dm-table table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; font-family: var(--tp-ff-body, 'DM Sans', sans-serif); }
.dm-table th, .dm-table td { padding: 18px 22px; border-bottom: 1px solid #e5eef8; color: #52606f; font-size: 16px; line-height: 1.6; text-align: left; vertical-align: top; }
.dm-table thead th { background: #0b2a4a; color: #fff; font-weight: 700; }
.dm-table tbody th { color: #169ef5; font-size: 18px; font-weight: 800; }
.dm-table tbody tr:last-child > * { border-bottom: 0; }
.dm-table tbody tr:hover { background: #f5fbff; }
.dm-split { padding: 0; }
.ld .dm-subhead { margin: 0; color: #0b2a4a; font-size: clamp(21px, 2.2vw, 28px); font-weight: 700; line-height: 1.3; }
.dm .ld-section .ld-checks li { background: #fff; }
.dm #dm-geo .ld-checks li { background: #f7fbff; }
.dm .ld-checks a { color: #0d75c4; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dm-platforms { display: flex; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); }
.dm-platforms i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .dm .ld-services li { flex-basis: calc(50% - 11px); }
  .ld .dm-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .dm-intro, .dm-feature { grid-template-columns: minmax(0, 1fr); }
  .dm-intro header { position: static; }
  .dm-feature:nth-of-type(even) figure { order: 0; }
  .ld .dm-trio { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .dm .ld-services li { flex-basis: 100%; }
  .ld .dm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .dm-trio li, .dm-tools li, .dm-feature figure img { transition: none; } }

/* some artwork has a solid white background: blend it into the tinted frame */
.dm-feature figure { isolation: isolate; }
.dm-feature figure img { mix-blend-mode: multiply; }

