/* =========================================================================
   Extra styles (v7): text rule, WhatsApp float, menus, 3D models, new sections.
   Loaded after site.css. Everything here is mobile-first-safe and respects reduced motion.
   ========================================================================= */

/* ---------- THE TEXT RULE (whole site) ----------
   A line of text either fits on ONE line, or breaks into lines of EQUAL length.
   Never a single word left alone on the last line.
   1) "pretty" avoids a lone last word, 2) "balance" evens the lines (the browser ignores it if unsupported),
   3) extra.js glues the last two words together as a safety net for older browsers. */
h1, h2, h3, h4, p, li, figcaption, blockquote, summary, small, label, dd, dt, .dmc-btn, .dmc-pill, .dmc-eyebrow { text-wrap: pretty; }
h1, h2, h3, h4, p, li, figcaption, blockquote, summary, small, label, dd, dt, .dmc-btn, .dmc-pill, .dmc-eyebrow { text-wrap: balance; }
.dmc-legal-body p, .dmc-legal-body li { text-wrap: pretty; }
.dmc-lead, .dmc-hero__text, .dmc-h2, .dmc-hero__title, .dmc-cta p { margin-left: auto; margin-right: auto; }
.nbw { white-space: nowrap; }

/* ---------- Floating WhatsApp icon: slides in, then floats gently, with a soft pulse ring ---------- */
.dmc-whatsapp {
    left: 1.25rem; bottom: 1.25rem; z-index: 985;
    opacity: 0; scale: .4;
    animation: dmcWaIn .9s var(--ease) 1.2s forwards, dmcWaFloat 3.4s ease-in-out 2.1s infinite;
}
.dmc-whatsapp::before, .dmc-whatsapp::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; pointer-events: none;
    animation: dmcWaRing 2.8s ease-out 2.3s infinite;
}
.dmc-whatsapp::after { animation-delay: 3.7s; }
@keyframes dmcWaIn { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes dmcWaFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes dmcWaRing { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
.dmc-whatsapp:hover { transform: scale(1.1) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) {
    .dmc-whatsapp { opacity: 1; scale: 1; animation: none; }
    .dmc-whatsapp::before, .dmc-whatsapp::after { display: none; }
}

/* ---------- Header menus: desktop dropdown ---------- */
.main-nav { gap: 1.3rem; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item .nav-link { padding-right: .1rem; }
.nav-caret { background: none; border: 0; color: #fff; padding: .35rem .3rem; cursor: pointer; display: inline-flex; border-radius: 8px; }
.nav-caret .dmc-icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-item:hover .nav-caret .dmc-icon, .nav-item.is-open .nav-caret .dmc-icon { transform: rotate(180deg); }
.nav-item:hover .nav-link, .nav-item.active .nav-link { color: var(--aqua); }
.nav-sub {
    position: absolute; top: 100%; left: 50%; min-width: 270px; padding: .6rem; margin-top: .45rem;
    background: rgba(6, 20, 35, .97); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: .1rem;
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; } /* hover bridge */
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub, .nav-item.is-open .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.nav-sub a { color: #dbe7f0; font: 600 .92rem var(--font-heading); padding: .65rem .9rem; border-radius: 10px; text-align: left; white-space: nowrap; transition: background .2s, color .2s, padding .2s; text-shadow: none; }
.nav-sub a:hover, .nav-sub a.is-current { background: rgba(0, 165, 168, .22); color: #fff; padding-left: 1.15rem; }
@media (max-width: 1180px) { .main-nav { gap: .9rem; } }

/* ---------- Header menus: mobile accordion ---------- */
.mobile-drawer { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.m-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.m-row .nav-link { flex: 1; border-bottom: 0 !important; text-align: center; padding-left: 3rem; }
.m-caret { background: none; border: 0; color: #fff; width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.m-caret .dmc-icon { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.m-item.is-open .m-caret .dmc-icon { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.m-item.is-open .m-sub { grid-template-rows: 1fr; }
.m-sub-in { overflow: hidden; display: flex; flex-direction: column; }
.m-sub-in a { color: #c9d8e4; font: 600 1.02rem var(--font-heading); padding: .7rem 0; text-align: center; }
.m-sub-in a:hover { color: var(--aqua); }

/* ---------- Floating trust cards (Home) ---------- */
.dmc-trust--float { background: var(--soft); color: var(--ink); padding: 2.2rem 0; }
.dmc-trust--float .dmc-trust__grid { gap: 1.1rem; }
.dmc-trust__card {
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem 1rem; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: .4rem; box-shadow: 0 18px 40px rgba(10, 26, 43, .12);
    animation: dmcBob 6s ease-in-out infinite;
}
.dmc-trust__card:nth-child(2) { animation-delay: -1.5s; } .dmc-trust__card:nth-child(3) { animation-delay: -3s; } .dmc-trust__card:nth-child(4) { animation-delay: -4.5s; }
.dmc-trust__ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e3f7f7, #c8eeee); color: var(--teal-d); }
.dmc-trust__ic .dmc-icon { width: 26px; height: 26px; }
.dmc-trust__card strong { font: 700 1rem/1.3 var(--font-heading); color: var(--ink); }
.dmc-trust__card small { color: var(--muted); font-size: .85rem; line-height: 1.5; }
@keyframes dmcBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* ---------- Tilt that always works (also on cards that fade in) ---------- */
.js .dmc-reveal.is-in.dmc-tilt { --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s var(--ease), box-shadow .35s, border-color .35s, opacity .4s; will-change: transform; }
.js .dmc-reveal.is-in.dmc-tilt:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px) scale(1.012); }
@media (hover: none) { .js .dmc-reveal.is-in.dmc-tilt:hover { transform: none; } }

/* ---------- Generic bits ---------- */
.dmc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .dmc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dmc-grid--4 { grid-template-columns: 1fr; } }
.dmc-grid--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.dmc-h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; letter-spacing: -.01em; margin: 0 auto .6rem; max-width: 760px; }
.dmc-chips { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.dmc-chips li { background: #eaf7f7; color: var(--teal-d); border: 1px solid rgba(0, 165, 168, .2); border-radius: 999px; padding: .32rem .8rem; font: 600 .8rem/1.3 var(--font-heading); }
.dmc-note { max-width: 760px; margin: 2rem auto 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.dmc-tag { display: inline-block; background: #eaf7f7; color: var(--teal-d); border-radius: 999px; padding: .28rem .75rem; font: 700 .72rem/1.3 var(--font-heading); letter-spacing: .02em; }
.dmc-sector-link { text-decoration: none; color: inherit; }
.dmc-sector-link .dmc-link { margin-top: auto; padding-top: 1rem; }
.dmc-section--soft { background: var(--soft); }

/* ---------- Who we help: sector marquee ---------- */
.dmc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); padding: .4rem 0; }
.dmc-marquee__track { display: flex; gap: .8rem; width: max-content; animation: dmcMarquee 55s linear infinite; }
.dmc-marquee:hover .dmc-marquee__track { animation-play-state: paused; }
.dmc-marquee__pill { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.1rem; font: 700 .92rem var(--font-heading); color: var(--ink); text-decoration: none; box-shadow: 0 6px 18px rgba(10, 26, 43, .06); transition: transform .25s var(--ease), background .25s, color .25s; }
.dmc-marquee__pill .dmc-icon { width: 18px; height: 18px; color: var(--teal-d); }
.dmc-marquee__pill:hover { transform: translateY(-3px); background: var(--navy); color: #fff; }
.dmc-marquee__pill:hover .dmc-icon { color: var(--aqua); }
@keyframes dmcMarquee { to { transform: translateX(calc(-50% - .4rem)); } }
@media (prefers-reduced-motion: reduce) {
    .dmc-marquee { -webkit-mask-image: none; mask-image: none; }
    .dmc-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .dmc-marquee__pill[aria-hidden="true"] { display: none; }
}

/* ---------- Industries: 12 photo cards ---------- */
.dmc-industries--photo { grid-template-columns: repeat(4, 1fr); }
.dmc-industry-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.dmc-industry-card--photo h3, .dmc-industry-card--photo p { padding: 0 1rem; }
.dmc-industry-card--photo h3 { margin-top: 1rem; }
.dmc-industry-card--photo p { padding-bottom: 1.2rem; }
.dmc-industry-card__img { width: 100%; height: 140px; background: center / cover no-repeat; display: flex; align-items: center; justify-content: center; transition: transform .6s var(--ease); }
.dmc-industry-card--photo:hover .dmc-industry-card__img { transform: scale(1.06); }
.dmc-industry-card--photo { background: #fff; }
.is-tile { background: radial-gradient(circle at 25% 20%, #1c7f8c, #0f2740 70%) !important; color: #9af3f0; }
.is-tile .dmc-icon { width: 46px; height: 46px; stroke-width: 1.4; }
@media (max-width: 980px) { .dmc-industries--photo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .dmc-industries--photo { grid-template-columns: 1fr; } }

/* ---------- Reviews + YouTube clips ---------- */
.dmc-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 960px; margin: 0 auto; }
.dmc-review { margin: 0; }
.dmc-stars { color: #f5a623; letter-spacing: .15em; font-size: 1.15rem; margin-bottom: .8rem; }
.dmc-review blockquote { color: var(--ink); line-height: 1.7; margin: 0 0 1rem; }
.dmc-review figcaption { color: var(--teal-d); font-weight: 700; font-size: .9rem; }
.dmc-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 960px; margin: 2.2rem auto 0; }
.dmc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0a1a2b; box-shadow: 0 18px 44px rgba(10, 26, 43, .22); }
.dmc-video__thumb, .dmc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.dmc-video iframe { pointer-events: none; opacity: 0; transition: opacity .8s; }
.dmc-video iframe.is-live { opacity: 1; }
.dmc-video__link { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; text-decoration: none; background: linear-gradient(180deg, transparent 55%, rgba(4, 14, 26, .78)); }
.dmc-video__play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 0, 0, .9); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.dmc-video__play .dmc-icon { width: 32px; height: 32px; }
.dmc-video__link:hover .dmc-video__play { transform: scale(1.14); }
.dmc-video__cap { color: #fff; font: 700 .85rem var(--font-heading); padding: .9rem 1rem; }
.dmc-yt-channel { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; }
.dmc-yt-channel .dmc-icon { width: 20px; height: 20px; margin-right: .2rem; }
@media (max-width: 760px) { .dmc-reviews, .dmc-videos { grid-template-columns: 1fr; } }

/* ---------- About: story, quotes, team, compare, badges ---------- */
.dmc-story-text { max-width: 720px; margin: 0 auto; }
.dmc-story-text p { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.8; color: var(--muted); margin-bottom: 1.1rem; }
.dmc-story-text__last { color: var(--teal-d) !important; font-weight: 700; }
.dmc-quotes-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 960px; margin: 0 auto; }
.dmc-bigquote { margin: 0; justify-content: center; }
.dmc-bigquote blockquote { font: 700 clamp(1.1rem, 2.4vw, 1.4rem)/1.5 var(--font-heading); color: var(--ink); margin: 0 0 1rem; }
.dmc-bigquote figcaption { color: var(--teal-d); font-weight: 700; }
@media (max-width: 760px) { .dmc-quotes-two { grid-template-columns: 1fr; } }
.dmc-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
.dmc-member { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem 1.1rem; box-shadow: 0 10px 30px rgba(10, 26, 43, .06); display: flex; flex-direction: column; align-items: center; text-align: center; }
.dmc-member__photo { width: 112px; height: 112px; border-radius: 50%; background: center / cover no-repeat; margin-bottom: 1rem; box-shadow: 0 8px 22px rgba(10, 26, 43, .18); }
.dmc-member__photo.is-empty { background: linear-gradient(135deg, #e3f7f7, #c8eeee); color: var(--teal-d); display: flex; align-items: center; justify-content: center; }
.dmc-member__photo .dmc-icon { width: 46px; height: 46px; }
.dmc-member h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.dmc-member__role { color: var(--teal-d); font-weight: 700; margin-bottom: .4rem; }
.dmc-member p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
@media (max-width: 1000px) { .dmc-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .dmc-team { grid-template-columns: 1fr; } }
.dmc-compare { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 40px rgba(10, 26, 43, .08); }
.dmc-compare__row { display: grid; grid-template-columns: 1.05fr 1.2fr 1fr; gap: .3rem 1.2rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); text-align: left; align-items: center; }
.dmc-compare__row:last-child { border-bottom: 0; }
.dmc-compare__row--head { background: var(--navy); color: #fff; font: 700 .9rem var(--font-heading); }
.dmc-compare__row b { font: 700 .95rem var(--font-heading); color: var(--ink); }
.dmc-compare__row .is-us { color: var(--teal-d); font-weight: 700; display: flex; gap: .45rem; align-items: center; }
.dmc-compare__row--head .is-us { color: var(--aqua); }
.dmc-compare__row .is-us .dmc-icon { width: 18px; height: 18px; flex: none; }
.dmc-compare__row span { color: var(--muted); }
@media (max-width: 640px) {
    .dmc-compare__row { grid-template-columns: 1fr; padding: .9rem 1rem; text-align: center; }
    .dmc-compare__row--head { display: none; }
    .dmc-compare__row .is-us { justify-content: center; }
    .dmc-compare__row .is-us::before { content: none; }
    .dmc-compare__row span:not(.is-us)::before { content: "Typical agency: "; font-weight: 700; }
}
.dmc-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.dmc-badge { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(10, 26, 43, .06); }
.dmc-badge img { width: 100%; max-width: 190px; height: 112px; object-fit: contain; margin-bottom: .4rem; }
.dmc-badge__ic { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #fff3d6, #ffe0a3); color: #b8730a; display: flex; align-items: center; justify-content: center; }
.dmc-badge__ic .dmc-icon { width: 30px; height: 30px; }
.dmc-badge b { font: 700 1rem/1.35 var(--font-heading); color: var(--ink); }
.dmc-badge small { color: var(--muted); font-weight: 600; }
@media (max-width: 1000px) { .dmc-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .dmc-badges { grid-template-columns: 1fr; } }

/* ---------- Services: 7-card horizontal slider ---------- */
.dmc-hslider { --cw: min(380px, 78vw); position: relative; }
.dmc-hslider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 1rem 0 1.4rem; }
.dmc-hslider__viewport::-webkit-scrollbar { display: none; }
.dmc-hslider__track { position: relative; display: flex; gap: 1.25rem; width: max-content; min-width: 100%; padding: 0 calc(100% - var(--cw)) 0 0; }
.dmc-hcard { flex: 0 0 var(--cw); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 38px rgba(10, 26, 43, .1); display: flex; flex-direction: column; text-align: center; opacity: .55; transform: scale(.94); transition: transform .5s var(--ease), opacity .5s, box-shadow .4s; }
.dmc-hcard.is-current { opacity: 1; transform: scale(1); box-shadow: 0 26px 60px rgba(0, 124, 133, .22); }
.dmc-hcard__img { position: relative; height: 190px; background: linear-gradient(135deg, #1c7f8c, #0f2740) center / cover no-repeat; transition: transform .8s var(--ease); }
.dmc-hcard.is-current .dmc-hcard__img { transform: scale(1.04); }
.dmc-hcard__body { padding: 1.3rem 1.2rem 1.6rem; overflow: hidden; background: #fff; position: relative; }
.dmc-hcard__badge { position: absolute; left: 50%; bottom: -26px; margin-left: -26px; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--teal-d); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(10, 26, 43, .2); z-index: 2; }
.dmc-hcard__badge .dmc-icon { width: 26px; height: 26px; }
.dmc-hcard__img { overflow: visible; }
.dmc-hcard__body { padding-top: 2.1rem; }
.dmc-hcard h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.dmc-hcard p { color: var(--muted); line-height: 1.6; font-size: .98rem; }
.dmc-hslider__nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.dmc-hslider__dots { display: flex; gap: .55rem; }
@media (prefers-reduced-motion: reduce) { .dmc-hcard, .dmc-hcard__img { transition: none; } .dmc-hcard { opacity: 1; transform: none; } .dmc-hcard.is-current { transform: none; } }

/* ---------- Sector pages ---------- */
.dmc-sector-card { text-align: center; }
.dmc-sector-card__img { width: 100%; height: 160px; border-radius: 16px; background: center / cover no-repeat; margin-bottom: 1.1rem; display: flex; align-items: center; justify-content: center; }
.dmc-rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; max-width: 1000px; margin: 0 auto; }
.dmc-rate { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.7rem 1.3rem; box-shadow: 0 12px 34px rgba(10, 26, 43, .08); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; }
.dmc-rate h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.dmc-rate__model { color: var(--muted); font-weight: 600; font-size: .92rem; }
.dmc-rate__amt { font: 800 1.35rem/1.3 var(--font-heading); color: var(--teal-d); }
.dmc-rate__amt--sm { font-size: 1.1rem; }
.dmc-rate__bill { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(15, 34, 51, .2); width: 100%; }
.dmc-rate__h { font: 700 .75rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: .3rem; }
.dmc-pager { display: flex; justify-content: space-between; gap: 1rem; max-width: 1100px; margin: 0 auto; padding: 1.6rem 1.25rem; background: #fff; }
.dmc-pager__a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.3rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(10, 26, 43, .08); font: 700 1rem var(--font-heading); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.dmc-pager__a--next { text-align: right; margin-left: auto; }
.dmc-pager__a small { display: block; color: var(--muted); font: 700 .7rem var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.dmc-pager__a .dmc-icon { width: 24px; height: 24px; color: var(--teal-d); flex: none; transition: transform .3s var(--ease); }
.dmc-pager__a:hover { box-shadow: 0 16px 36px rgba(0, 124, 133, .18); border-color: rgba(0, 165, 168, .5); }
.dmc-pager__a:hover .dmc-icon { transform: translateX(-4px); }
.dmc-pager__a--next:hover .dmc-icon { transform: translateX(4px); }

/* ---------- Portfolio: tabs + client cards + plus panel ---------- */
.dmc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 2rem; }
.dmc-tab { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font: 700 .85rem var(--font-heading); color: var(--ink); cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease), border-color .25s; }
.dmc-tab span { opacity: .55; margin-left: .25rem; font-weight: 600; }
.dmc-tab:hover { transform: translateY(-2px); border-color: rgba(0, 165, 168, .5); }
.dmc-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 700px) {
    .dmc-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .6rem; scrollbar-width: thin; margin-left: -1.25rem; margin-right: -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; }
    .dmc-tab { flex: none; scroll-snap-align: start; }
}
.dmc-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; align-items: flex-start; }
.dmc-clients > .dmc-client { flex: 0 0 calc((100% - 3.3rem) / 4); max-width: calc((100% - 3.3rem) / 4); }
.dmc-client { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1rem 1.2rem; box-shadow: 0 8px 24px rgba(10, 26, 43, .06); display: flex; flex-direction: column; align-items: center; text-align: center; transition: box-shadow .35s, border-color .35s; }
.dmc-client:hover, .dmc-client.is-open { box-shadow: 0 18px 40px rgba(0, 124, 133, .16); border-color: rgba(0, 165, 168, .45); }
.dmc-client.is-hidden { display: none; }
.dmc-client.dmc-pop { animation: dmcPop .5s var(--ease) both; }
@keyframes dmcPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
/* the logo sits in its own fixed box, scaled to fit, so no picture ever looks pasted or stretched */
.dmc-client__logo { width: 100%; height: 92px; display: flex; align-items: center; justify-content: center; padding: .25rem .4rem; margin-bottom: .7rem; }
.dmc-client, .dmc-client__logo, .dmc-client__panel-in { min-width: 0; }
.dmc-client__logo img { min-width: 0; display: block; max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.dmc-client__name { font: 700 .95rem/1.35 var(--font-heading); color: var(--ink); margin: 0 0 .5rem; }
.dmc-client__meta { margin: 0 0 .35rem; }
.dmc-client__loc { margin: 0; color: var(--muted); font-size: .82rem; display: flex; align-items: center; justify-content: center; gap: .3rem; }
.dmc-client__loc .dmc-icon { width: 14px; height: 14px; }
.dmc-client__plus { position: absolute; top: .55rem; right: .55rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0, 165, 168, .4); background: #eaf7f7; cursor: pointer; padding: 0; transition: background .25s, transform .35s var(--ease), border-color .25s; }
.dmc-client__plus span::before, .dmc-client__plus span::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--teal-d); border-radius: 2px; transition: transform .35s var(--ease), background .25s; }
.dmc-client__plus span::before { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
.dmc-client__plus span::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; }
.dmc-client__plus:hover { background: var(--teal-d); transform: scale(1.1); }
.dmc-client__plus:hover span::before, .dmc-client__plus:hover span::after { background: #fff; }
.dmc-client.is-open .dmc-client__plus { background: var(--navy); border-color: var(--navy); transform: rotate(135deg); }
.dmc-client.is-open .dmc-client__plus span::before, .dmc-client.is-open .dmc-client__plus span::after { background: #fff; }
.dmc-client__plus:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.dmc-client__panel { width: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.dmc-client.is-open .dmc-client__panel { grid-template-rows: 1fr; }
.dmc-client__panel-in { overflow: hidden; opacity: 0; transition: opacity .4s .1s; }
.dmc-client.is-open .dmc-client__panel-in { opacity: 1; }
.dmc-client__h { font: 700 .7rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin: 1rem 0 .1rem; border-top: 1px dashed rgba(15, 34, 51, .18); padding-top: .9rem; }
.dmc-client__h ~ .dmc-client__h { margin-top: .8rem; border-top: 0; padding-top: 0; }
.dmc-client__vimz { color: var(--muted); font-size: .85rem; line-height: 1.55; margin: .3rem 0 0; }
.dmc-client .dmc-chips { margin-top: .5rem; gap: .35rem; }
.dmc-client .dmc-chips li { font-size: .72rem; padding: .25rem .6rem; }
@media (max-width: 1100px) { .dmc-clients > .dmc-client { flex-basis: calc((100% - 2.2rem) / 3); max-width: calc((100% - 2.2rem) / 3); } }
@media (max-width: 760px) { .dmc-clients { gap: .8rem; } .dmc-clients > .dmc-client { flex-basis: calc((100% - .8rem) / 2); max-width: calc((100% - .8rem) / 2); } .dmc-client { padding: 1rem .7rem; } .dmc-client__logo { height: 78px; } .dmc-client__logo img { max-height: 62px; } }
@media (max-width: 380px) { .dmc-clients > .dmc-client { flex-basis: 100%; max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dmc-client__panel, .dmc-client__panel-in, .dmc-client__plus { transition: none; } .dmc-client.dmc-pop { animation: none; } }

/* ---------- Case studies ---------- */
.dmc-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.dmc-case { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.4rem 1.4rem 1.6rem; box-shadow: 0 12px 34px rgba(10, 26, 43, .07); text-align: center; display: flex; flex-direction: column; gap: .55rem; }
.dmc-case h3 { font-size: 1.2rem; margin: 0; }
.dmc-case p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.dmc-case strong { color: var(--ink); }
.dmc-case__sector { color: var(--teal-d) !important; font-weight: 700; font-size: .8rem !important; letter-spacing: .06em; text-transform: uppercase; }
.dmc-case__result { margin-top: auto !important; padding-top: .9rem; font: 800 1.05rem/1.4 var(--font-heading) !important; color: var(--ink) !important; border-top: 1px dashed rgba(15, 34, 51, .2); }
.dmc-sample { position: absolute; top: .9rem; left: 50%; transform: translateX(-50%); background: #fff3d6; color: #8a5a00; border: 1px solid #f4cf86; border-radius: 999px; padding: .22rem .75rem; font: 700 .7rem var(--font-heading); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1000px) { .dmc-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dmc-cases { grid-template-columns: 1fr; } }

/* ---------- Footer: project line spacing ---------- */
.footer-project { text-wrap: balance; }

/* ---------- 3D hero models (pure CSS) ---------- */
.dmc-3d { position: absolute; z-index: 3; right: clamp(1rem, 5vw, 5rem); bottom: 6.8rem; perspective: 900px; pointer-events: none; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .35)); animation: dmcBob 6.5s ease-in-out infinite; scale: .62; transform-origin: bottom right; }
.dmc-3d > div { transform-style: preserve-3d; }
@media (min-width: 1400px) { .dmc-3d { scale: .9; bottom: 8rem; } }
@media (max-width: 1000px) { .dmc-3d { display: none; } }
@keyframes dmcSpin { to { transform: rotateY(360deg); } }
@keyframes dmcSwing { 0%, 100% { transform: rotateY(-30deg) rotateX(8deg); } 50% { transform: rotateY(30deg) rotateX(-4deg); } }
@keyframes dmcMer { to { transform: rotateY(calc(var(--r) + 360deg)); } }

.dna { position: relative; width: 130px; height: 270px; animation: dmcSpin 10s linear infinite; }
.dna .rung { position: absolute; left: 0; right: 0; top: calc(var(--i) * 19px); height: 3px; transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 27deg)); background: linear-gradient(90deg, rgba(154, 243, 240, .85), rgba(255, 255, 255, .25), rgba(255, 176, 32, .85)); border-radius: 3px; }
.dna .rung i { position: absolute; top: -6px; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #9af3f0 60%, #00A5A8); }
.dna .rung i:first-child { left: -6px; }
.dna .rung i:last-child { right: -6px; background: radial-gradient(circle at 35% 30%, #fff, #ffd17a 60%, #f59e0b); }

.mcross { position: relative; width: 150px; height: 150px; animation: dmcSpin 12s linear infinite; }
.mcross span { position: absolute; inset: 0; clip-path: polygon(34% 0, 66% 0, 66% 34%, 100% 34%, 100% 66%, 66% 66%, 66% 100%, 34% 100%, 34% 66%, 0 66%, 0 34%, 34% 34%); transform: translateZ(calc((var(--z) - 7) * 4px)); background: hsl(183 100% calc(19% + var(--z) * 1.9%)); }

.globe { position: relative; width: 170px; height: 170px; transform: rotateX(-16deg) rotateZ(14deg); }
.globe__core { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #6fe6e3, #007c85 58%, #052a33); box-shadow: inset -14px -10px 30px rgba(0, 0, 0, .45); }
.globe .mer { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(190, 255, 252, .6); transform: rotateY(var(--r)); animation: dmcMer 16s linear infinite; }
.globe .lat { position: absolute; left: 50%; top: 50%; width: calc(170px * var(--s)); height: calc(170px * var(--s)); margin: calc(var(--s) * -85px) 0 0 calc(var(--s) * -85px); border-radius: 50%; border: 1.5px solid rgba(190, 255, 252, .45); transform: translateY(var(--t)) rotateX(90deg); }

.chat3d { position: relative; width: 160px; height: 116px; animation: dmcSwing 6.5s ease-in-out infinite; }
.chat3d > span:not(.chat3d__front) { position: absolute; inset: 0; border-radius: 28px; transform: translateZ(calc((var(--z) - 4) * 3px)); background: hsl(183 100% calc(20% + var(--z) * 2.4%)); }
.chat3d::after { content: ""; position: absolute; left: 26px; bottom: -13px; width: 30px; height: 30px; background: hsl(183 100% 30%); transform: translateZ(-6px) rotate(45deg); border-radius: 0 0 8px 0; }
.chat3d__front { position: absolute; inset: 0; border-radius: 28px; transform: translateZ(14px); background: linear-gradient(135deg, #14c4c7, #00A5A8); display: flex; align-items: center; justify-content: center; gap: 10px; }
.chat3d__front i { width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: dmcDot 1.4s ease-in-out infinite; }
.chat3d__front i:nth-child(2) { animation-delay: .2s; } .chat3d__front i:nth-child(3) { animation-delay: .4s; }
@keyframes dmcDot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-7px); } }

.vimz3d { position: relative; width: 250px; height: 92px; animation: dmcSwing 7s ease-in-out infinite; }
.vimz3d > span:not(.vimz3d__front) { position: absolute; inset: 0; border-radius: 20px; transform: translateZ(calc((var(--z) - 3) * 3px)); background: #cdb6dc; }
.vimz3d__front { position: absolute; inset: 0; border-radius: 20px; transform: translateZ(11px); background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px 18px; box-shadow: inset 0 0 0 1px rgba(160, 60, 160, .18); }
.vimz3d__front img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

@media (prefers-reduced-motion: reduce) {
    .dmc-3d, .dna, .mcross, .globe .mer, .chat3d, .chat3d__front i, .vimz3d, .dmc-trust__card { animation: none !important; }
    .dna { transform: rotateY(25deg); } .mcross { transform: rotateY(-25deg) rotateX(10deg); } .chat3d, .vimz3d { transform: rotateY(-18deg); }
}

.dmc-sample--inline { position: static; transform: none; margin: 0 auto .6rem; display: inline-block; }

/* V8: photos in team cards, centered last row on the Team page */
.dmc-member__photo { width: 128px; height: 128px; background-position: center top; }
.dmc-team--center { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; }
.dmc-team--center .dmc-member { flex: 0 1 calc((100% - 2.6rem) / 3); max-width: calc((100% - 2.6rem) / 3); }
@media (max-width: 1000px) { .dmc-team--center .dmc-member { flex-basis: calc((100% - 1.3rem) / 2); max-width: calc((100% - 1.3rem) / 2); } }
@media (max-width: 440px) { .dmc-team--center .dmc-member { flex-basis: 100%; max-width: 100%; } }

/* V8: Industries = continuous sliding row, every card the same size */
.dmc-ind-marquee { overflow: hidden; padding: .6rem 0 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.dmc-ind-marquee__track { display: flex; align-items: stretch; gap: 1.2rem; width: max-content; animation: dmcIndSlide 70s linear infinite; }
.dmc-ind-marquee:hover .dmc-ind-marquee__track { animation-play-state: paused; }
.dmc-ind-marquee .dmc-industry-card--photo { flex: 0 0 280px; width: 280px; box-shadow: 0 10px 28px rgba(10, 26, 43, .08); }
.dmc-ind-marquee .dmc-industry-card__img { height: auto; aspect-ratio: 4 / 3; background-position: center; }
.dmc-ind-marquee .dmc-industry-card--photo h3 { min-height: 2.6em; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.dmc-ind-marquee .dmc-industry-card--photo p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.4em; margin-bottom: 1rem; padding-bottom: 0; }
@keyframes dmcIndSlide { to { transform: translateX(calc(-50% - .6rem)); } }
@media (max-width: 600px) { .dmc-ind-marquee .dmc-industry-card--photo { flex-basis: 240px; width: 240px; } }
@media (prefers-reduced-motion: reduce) {
    .dmc-ind-marquee { -webkit-mask-image: none; mask-image: none; }
    .dmc-ind-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .dmc-ind-marquee .dmc-industry-card--photo[aria-hidden="true"] { display: none; }
}

/* V8: equal logo boxes, equal-height names, centered last rows, footer columns */
.dmc-client__logo { height: 96px; padding: 0 .3rem; }
.dmc-client__logo img { width: 100%; height: 100%; max-width: 100%; max-height: none; object-fit: contain; }
.dmc-client__name { min-height: 2.7em; display: flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .dmc-client__logo { height: 78px; } .dmc-client__logo img { max-height: none; } }

.dmc-grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.dmc-grid--center > * { flex: 0 1 calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
@media (max-width: 900px) { .dmc-grid--center > * { flex-basis: 100%; max-width: 100%; } }

/* V8: elegant footer - brand block + link columns + slim bottom bar */
.site-footer.dmc-foot { position: relative; text-align: left; background: linear-gradient(180deg, #08172a 0%, #050f1b 100%); padding: 4.6rem 0 1.6rem; color: #a9bccd; }
.site-footer.dmc-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--teal) 25%, #ffb020 75%, transparent); }
.dmc-foot__top { display: grid; grid-template-columns: minmax(260px, 1.2fr) 2.6fr; gap: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.dmc-foot .footer-logo img { height: 58px; width: auto; margin: 0 0 1.1rem; }
.dmc-foot__tag { max-width: 320px; margin: 0 0 1.5rem; line-height: 1.7; color: #c5d3e0; font-size: .98rem; }
.dmc-foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.dmc-foot__contact a { display: inline-flex; align-items: center; gap: .7rem; color: #e6eef5; font-size: .94rem; transition: color .25s, transform .25s; }
.dmc-foot__contact a:hover { color: var(--aqua); transform: translateX(3px); }
.dmc-foot__contact .dmc-icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(154, 243, 240, .08); color: var(--aqua); flex-shrink: 0; }
.dmc-foot__cols { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr 1fr; gap: 2rem; }
.dmc-foot__title { display: inline-block; color: #fff; font: 700 .8rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; padding-bottom: .65rem; position: relative; }
.dmc-foot__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--teal); transition: width .3s var(--ease); }
.dmc-foot__title:hover::after { width: 100%; }
.dmc-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.dmc-foot__col li a { color: #9fb3c6; font-size: .93rem; line-height: 1.4; transition: color .25s, padding-left .25s; display: inline-block; }
.dmc-foot__col li a:hover, .dmc-foot__title:hover { color: var(--aqua); }
.dmc-foot__col li a:hover { padding-left: 5px; }
.dmc-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-top: 1.5rem; font-size: .86rem; color: #7f94a8; }
.dmc-foot__bar p { margin: 0; }
.dmc-foot__project a { color: #fff; font-weight: 600; }
.dmc-foot__project a:hover, .dmc-foot__legal a:hover { color: var(--aqua); }
.dmc-foot__region { display: inline-flex; align-items: center; gap: .45rem; }
.dmc-foot__region .dmc-icon { width: 15px; height: 15px; }
.dmc-foot__legal { display: flex; gap: 1.4rem; }
.dmc-foot__legal a { color: #9fb3c6; }
@media (max-width: 1000px) { .dmc-foot__top { grid-template-columns: 1fr; gap: 2.6rem; } .dmc-foot__cols { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.5rem; } }
@media (max-width: 860px) { .site-footer.dmc-foot { padding-bottom: 5.5rem; } }
@media (max-width: 560px) { .dmc-foot__bar { flex-direction: column; align-items: flex-start; } .dmc-foot__top { padding-bottom: 2.2rem; } }

/* V8: typical rates shown on the original plan-card design */
.dmc-pricing--center { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.dmc-pricing--center > .dmc-price-card { flex: 0 1 calc((100% - 3rem) / 3); max-width: 380px; min-width: 260px; }
.dmc-price-card__amount--rate { font-size: 1.5rem; line-height: 1.25; min-height: 2.5em; margin-bottom: 1.2rem; text-wrap: balance; }
.dmc-price-card h3, .dmc-price-card__tag { text-wrap: balance; }
.dmc-price-card__bill { border-top: 1px dashed rgba(15, 34, 51, .2); padding-top: 1rem; margin-bottom: 1.4rem; }
.dmc-price-card__billh { font: 700 .75rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 .3rem; }
.dmc-price-card__billm { color: #5a6d7d; font-size: .88rem; margin: 0 0 .2rem; }
.dmc-price-card__billa { font: 800 1.05rem/1.3 var(--font-heading); color: var(--teal-d); margin: 0; }

/* V8: panels use designed artwork, so only a light bottom shade for the title; footer bar stays clear of the floating buttons */
.dmc-expand--art .dmc-expand__item.has-img .dmc-expand__shade { background: linear-gradient(0deg, rgba(6, 16, 26, .88) 0%, rgba(6, 16, 26, .4) 34%, rgba(6, 16, 26, 0) 60%); }
.dmc-foot__region { margin: 1.4rem 0 0; max-width: 320px; align-items: flex-start; line-height: 1.55; color: #7f94a8; font-size: .86rem; }
.dmc-foot__region .dmc-icon { margin-top: .2rem; flex-shrink: 0; }
@media (min-width: 769px) { .dmc-foot__bar { padding-right: 21rem; justify-content: flex-start; gap: .8rem 2.6rem; } }

/* ==========================================================================
   V9: "What we do" panels - picture is smaller and sits on top, text sits on
   its own solid dark area underneath, so it is always readable.
   ========================================================================== */
.dmc-expand--art { height: 500px; }
.dmc-expand--art .dmc-expand__item {
    background: linear-gradient(170deg, #12304d 0%, #0a1a2b 100%);
    background-image: linear-gradient(170deg, #12304d 0%, #0a1a2b 100%);
}
/* the picture lives in ::before so it can shrink */
.dmc-expand--art .dmc-expand__item.has-img::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: var(--panel-img) center / cover no-repeat;
    transition: inset .6s var(--ease), border-radius .6s var(--ease), box-shadow .6s var(--ease);
}
.dmc-expand--art .dmc-expand__item.has-img.is-active::before {
    inset: 14px 14px 52% 14px;           /* picture takes only the top ~48% */
    border-radius: 14px;
    background-size: contain;
    background-color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.dmc-expand--art .dmc-expand__shade { z-index: 1; transition: opacity .4s; }
.dmc-expand--art .dmc-expand__item.is-active .dmc-expand__shade { opacity: 0; }
.dmc-expand--art .dmc-expand__icon { display: none; }
.dmc-expand--art .dmc-expand__label,
.dmc-expand--art .dmc-expand__toggle { z-index: 2; }

/* text block: own area below the picture, centered, solid background */
.dmc-expand--art .dmc-expand__body {
    z-index: 2; left: 0; right: 0; bottom: 0; top: 50%;
    padding: 1.1rem 1.5rem 1.4rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; background: transparent;
    transform: translateY(24px);
}
.dmc-expand--art .dmc-expand__item.is-active .dmc-expand__body { transform: none; transition-delay: .25s; }
.dmc-expand--art .dmc-expand__body h3 { font-size: 1.2rem; margin-bottom: .45rem; color: #fff; }
.dmc-expand--art .dmc-expand__body p { font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0 auto .9rem; max-width: 26rem; }
.dmc-expand--art .dmc-expand__toggle { right: .9rem; bottom: .9rem; }
.dmc-expand--art .dmc-expand__item.is-active .dmc-expand__toggle { background: rgba(255,255,255,.12); }
/* accent line on the active card */
.dmc-expand--art .dmc-expand__item.is-active { border-top: 3px solid var(--panel-a, var(--teal)); }

@media (max-width: 860px) {
    .dmc-expand--art { height: auto; }
    .dmc-expand--art .dmc-expand__item.is-active { height: 440px; }
    .dmc-expand--art .dmc-expand__item.has-img.is-active::before { inset: 10px 10px auto 10px; height: 170px; }
    .dmc-expand--art .dmc-expand__body { top: 190px; padding: .9rem 1.2rem 1.2rem; }
    .dmc-expand--art .dmc-expand__item.is-active .dmc-expand__label { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .dmc-expand--art .dmc-expand__item.has-img::before, .dmc-expand--art .dmc-expand__body { transition: none; }
}

/* ==========================================================================
   V9: Reviews - "What Doctors Say" (dark band, glass quote card, avatar)
   and Google review cards (accent bar, big faded quote mark, G badge).
   ========================================================================== */
.dmc-proof {
    color: #fff;
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(0, 165, 168, .30), transparent 60%),
        radial-gradient(700px 380px at 92% 100%, rgba(255, 176, 32, .13), transparent 60%),
        var(--navy);
}
.dmc-proof .dmc-h2 { color: #fff; }
.dmc-proof .dmc-eyebrow { color: #4fe3e6; }
.dmc-proof .dmc-carousel { padding-top: 28px; }

.dmc-tcard {
    position: relative; margin: 0; width: 100%; box-sizing: border-box;
    padding: 3.2rem 2.2rem 2rem; text-align: center;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .38);
}
.dmc-tcard__mark {
    position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; padding-top: .75rem; box-sizing: border-box;
    font: 700 2.8rem/1 Georgia, "Times New Roman", serif; color: #fff;
    background: linear-gradient(135deg, var(--teal), #19d3d6);
    box-shadow: 0 10px 26px rgba(0, 165, 168, .5);
}
.dmc-tcard blockquote {
    margin: 0 0 1.7rem; color: #fff;
    font: 600 clamp(1.08rem, 2.3vw, 1.4rem)/1.65 var(--font-heading);
    text-wrap: balance;
}
.dmc-tcard figcaption {
    display: flex; flex-direction: column; align-items: center; gap: .7rem;
    padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14);
}
.dmc-tcard__avatar {
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center;
    font: 800 1.05rem var(--font-heading); letter-spacing: .04em; color: var(--navy);
    background: linear-gradient(135deg, #ffd27a, #ffb020);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.dmc-tcard__who b { display: block; font: 800 1.05rem var(--font-heading); color: #fff; }
.dmc-tcard__who small { display: block; margin-top: .15rem; color: #8fe3e5; font-weight: 600; font-size: .88rem; }

/* carousel controls on the dark band */
.dmc-proof .dmc-carousel__arrow { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.dmc-proof .dmc-carousel__arrow:hover { background: var(--teal); border-color: var(--teal); }
.dmc-proof .dmc-carousel__dot { background: rgba(255, 255, 255, .28); }
.dmc-proof .dmc-carousel__dot.is-active { background: #4fe3e6; }

/* numbers under the carousel */
.dmc-proof .dmc-stats { max-width: 680px; margin: 3.2rem auto 0; gap: 1.1rem; }
.dmc-proof .dmc-stat {
    text-align: center; padding: 1.3rem 1rem; border-radius: 18px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.dmc-proof .dmc-stat b { color: #4fe3e6; }
.dmc-proof .dmc-stat span { color: #c5d3e0; font-size: .9rem; }

/* Google review cards (home + about) */
.dmc-review {
    position: relative; overflow: hidden; text-align: center;
    padding: 2.5rem 1.8rem 1.6rem; border-radius: 22px;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(10, 26, 43, .08);
    transition: box-shadow .35s var(--ease), border-color .35s;
}
.dmc-review:hover { box-shadow: 0 22px 50px rgba(0, 124, 133, .18); border-color: rgba(0, 165, 168, .35); }
.dmc-review::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, var(--teal), #ffb020);
}
.dmc-review::after {
    content: "\201C"; position: absolute; top: .1rem; left: 50%; transform: translateX(-50%);
    font: 800 6rem/1 Georgia, "Times New Roman", serif; color: rgba(0, 165, 168, .13); pointer-events: none;
}
.dmc-review > * { position: relative; z-index: 1; }
.dmc-review .dmc-stars { font-size: 1.25rem; margin-bottom: 1rem; }
.dmc-review blockquote { font-size: 1.02rem; line-height: 1.75; }
.dmc-review figcaption {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    padding-top: 1rem; border-top: 1px dashed rgba(15, 34, 51, .16);
}
.dmc-review__g {
    width: 28px; height: 28px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    font: 800 .95rem Arial, sans-serif; color: #4285f4;
    background: #fff; border: 1px solid rgba(15, 34, 51, .15); box-shadow: 0 2px 6px rgba(10, 26, 43, .1);
}

@media (max-width: 560px) {
    .dmc-tcard { padding: 3rem 1.2rem 1.6rem; }
    .dmc-proof .dmc-stats { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   V9: WhatsApp icon no longer covers the footer bottom line; industry photos
   stay sharp while sliding.
   ========================================================================== */
/* desktop: the bottom line starts to the right of the WhatsApp bubble */
@media (min-width: 769px) {
    .dmc-foot__bar { padding-left: 6.5rem; }
}
/* tablet + mobile: extra room under the footer so the last line sits above the bubble and the Book bar */
@media (max-width: 768px) {
    .site-footer.dmc-foot { padding-bottom: 9.5rem; }
}
/* sliding industry cards: keep photos crisp (no blur from sub-pixel movement) */
.dmc-ind-marquee__track { will-change: transform; backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
.dmc-ind-marquee .dmc-industry-card__img { image-rendering: auto; backface-visibility: hidden; }

/* ==========================================================================
   V9: sector photos shown larger and on more pages
   ========================================================================== */
/* sector pages: the photo on each sector card is a full 4:3 picture */
.dmc-sector-card__img { height: auto; aspect-ratio: 4 / 3; background-position: center; box-shadow: 0 10px 26px rgba(10, 26, 43, .14); }
.dmc-sector-card__img.is-tile { aspect-ratio: 16 / 9; }
/* photo at the top of a card (Services sectors, Who we help) */
.dmc-card__photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; background: #e9f1f4 center / cover no-repeat; margin-bottom: 1.2rem; box-shadow: 0 10px 26px rgba(10, 26, 43, .14); transition: transform .6s var(--ease); }
.dmc-card:hover .dmc-card__photo { transform: scale(1.02); }
.dmc-card__photo + .dmc-card__icon { margin-top: -2.4rem; position: relative; z-index: 1; box-shadow: 0 8px 20px rgba(10, 26, 43, .18); }

/* V10: growth system + journey */
.dmc-stage-num{display:inline-block;font-size:.75em;letter-spacing:.08em;opacity:.6;margin-right:.35em}
.dmc-card--cta{display:flex;flex-direction:column;justify-content:center}
.dmc-journey{list-style:none;margin:2rem auto;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;counter-reset:j;max-width:1100px}
.dmc-journey li{counter-increment:j;padding:1.1rem .9rem;border:1px solid rgba(0,0,0,.1);border-radius:12px;background:#fff;font-weight:600;font-size:.95rem}
.dmc-journey li::before{content:counter(j,decimal-leading-zero);display:block;font-size:.75rem;opacity:.55;margin-bottom:.3rem}
@media(max-width:900px){.dmc-journey{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.dmc-journey{grid-template-columns:1fr}}
.dmc-steps{flex-wrap:wrap}

/* v13: growth-audit form extras */
.dmc-fine { font-size: .85rem; opacity: .8; margin: .6rem 0 0; }
.dmc-audit-scope { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.dmc-audit-scope h4 { margin: 0 0 .6rem; }
.dmc-audit-scope ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem .8rem; }
.dmc-audit-scope li::before { content: "\2713"; margin-right: .45rem; color: var(--teal-d, #0a7d86); font-weight: 700; }
@media (max-width: 520px) { .dmc-audit-scope ul { grid-template-columns: 1fr; } }


/* ==== V17: detail pages, text balance, and centered last rows ==== */
.dmc-narrow { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.dmc-fineprint { max-width: 760px; margin: 2rem auto 0; font-size: .86rem; line-height: 1.6; color: #6b7d8c; text-align: center; text-wrap: balance; }
.dmc-callout { display: flex; gap: 1.2rem; align-items: flex-start; max-width: 860px; margin: 2.4rem auto 0; padding: 1.5rem 1.7rem; border: 1px solid rgba(15, 138, 138, .25); border-left: 4px solid var(--teal, #0f8a8a); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(10, 26, 43, .06); text-align: left; }
.dmc-callout__icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(15, 138, 138, .12); color: var(--teal, #0f8a8a); }
.dmc-callout__icon svg { width: 22px; height: 22px; }
.dmc-callout h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.dmc-callout p { margin: 0 0 .6rem; }
@media (max-width: 560px) { .dmc-callout { flex-direction: column; } }
a.dmc-card { display: block; color: inherit; text-decoration: none; }
.nav-sub { max-height: min(70vh, 560px); overflow-y: auto; }

/* Text: two or three lines are always balanced; long paragraphs avoid a lone last word */
h1, h2, h3, h4, .dmc-lead, .dmc-eyebrow, .dmc-btn, .dmc-card p, .dmc-step p, .dmc-trust__card small, .dmc-hero__text, .dmc-cta p, summary, blockquote, figcaption { text-wrap: balance; }
.dmc-legal-body p, .dmc-legal-body li, .dmc-faq p { text-wrap: pretty; }
.dmc-btn, .dmc-pill, .dmc-eyebrow { white-space: normal; }

/* Cards: a last row that is not full is centered, never left-stranded */
.dmc-grid--2, .dmc-grid--3, .dmc-grid--4, .dmc-steps, .dmc-trust__grid, .dmc-team, .dmc-badges, .dmc-cases, .dmc-journey, .dmc-pricing, .dmc-industries, .dmc-industries--photo, .dmc-logo-grid, .dmc-trustwall .dmc-logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.dmc-grid--2 > * { flex: 0 1 calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
.dmc-grid--3 > * { flex: 0 1 calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
.dmc-grid--4 > * { flex: 0 1 calc((100% - 4.5rem) / 4); max-width: calc((100% - 4.5rem) / 4); }
.dmc-steps > * { flex: 0 1 calc((100% - 4.5rem) / 4); max-width: calc((100% - 4.5rem) / 4); }
.dmc-trust__grid { gap: 1rem; }
.dmc-trust__grid > * { flex: 0 1 calc((100% - 3rem) / 4); max-width: calc((100% - 3rem) / 4); }
.dmc-team > *, .dmc-badges > *, .dmc-industries > *, .dmc-industries--photo > * { flex: 0 1 calc((100% - 4.5rem) / 4); max-width: calc((100% - 4.5rem) / 4); }
.dmc-cases > *, .dmc-pricing > * { flex: 0 1 calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
.dmc-journey > * { flex: 0 1 calc((100% - 3rem) / 4); max-width: calc((100% - 3rem) / 4); }
.dmc-trustwall .dmc-logo-grid { gap: 1rem; }
.dmc-trustwall .dmc-logo-grid > * { flex: 0 1 calc((100% - 5rem) / 6); max-width: calc((100% - 5rem) / 6); }
.dmc-logo-grid > * { flex: 0 1 calc((100% - 2.8rem) / 3); max-width: calc((100% - 2.8rem) / 3); }
@media (max-width: 1000px) {
    .dmc-grid--4 > *, .dmc-steps > *, .dmc-team > *, .dmc-badges > *, .dmc-industries > *, .dmc-industries--photo > *, .dmc-journey > *, .dmc-grid--3 > *, .dmc-cases > *, .dmc-pricing > * { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
    .dmc-trust__grid > * { flex-basis: calc((100% - 1rem) / 2); max-width: calc((100% - 1rem) / 2); }
    .dmc-trustwall .dmc-logo-grid > * { flex-basis: calc((100% - 2rem) / 3); max-width: calc((100% - 2rem) / 3); }
}
@media (max-width: 640px) {
    .dmc-grid--2 > *, .dmc-grid--3 > *, .dmc-grid--4 > *, .dmc-steps > *, .dmc-pricing > *, .dmc-cases > * { flex-basis: 100%; max-width: 100%; }
    .dmc-trustwall .dmc-logo-grid > *, .dmc-logo-grid > * { flex-basis: calc((100% - 1rem) / 2); max-width: calc((100% - 1rem) / 2); }
}

/* Reported growth by sector */
.dmc-growth { text-align: center; }
.dmc-growth__figure { margin: 0 0 .3rem; font: 800 2.6rem/1.1 var(--font-heading, inherit); color: var(--teal-d, #0b6f6f); letter-spacing: -.01em; }
.dmc-growth h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.dmc-growth p:last-child { margin: 0; color: #5a6d7d; font-size: .92rem; }

/* ======================= v21.2 =======================
   Equal cards, sliders, transitions, alternating section colors */

/* --- Alternating section backgrounds on the Home page (white / soft) --- */
.dmc-alt > .dmc-section:not(.dmc-proof):not(.dmc-trustwall):nth-of-type(odd)  { background: #fff; }
.dmc-alt > .dmc-section:not(.dmc-proof):not(.dmc-trustwall):nth-of-type(even) { background: var(--soft); }
.dmc-alt > .dmc-trustwall { background: #eaf6f6; }
.dmc-section { transition: background-color .4s ease; }

/* --- Growth system: 8 equal cards (4 + 4), no numbers, one card spins at a time --- */
.dmc-stage-num { display: none; }
.dmc-stages { gap: 1.25rem; }
.dmc-stages > .dmc-card {
    min-height: 250px; box-sizing: border-box; display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start; text-align: center; padding: 1.6rem 1.3rem;
}
.dmc-stages > .dmc-card .dmc-card__icon { margin: 0 auto 1.1rem; flex: 0 0 64px; }
.dmc-stages > .dmc-card h3 { min-height: 1.5em; margin: 0 0 .55rem; }
.dmc-stages > .dmc-card p { margin: 0; font-size: .95rem; line-height: 1.55; }
.dmc-stages > .dmc-card--cta { justify-content: center; }
.dmc-stages > .dmc-card--cta .dmc-link { margin-top: .9rem; }
@keyframes dmcFlip {
    0%   { transform: perspective(900px) rotateY(0deg);   box-shadow: 0 10px 28px rgba(10,26,43,.08); }
    6%   { box-shadow: 0 22px 46px rgba(0,165,168,.28); }
    12%  { transform: perspective(900px) rotateY(360deg); box-shadow: 0 10px 28px rgba(10,26,43,.08); }
    100% { transform: perspective(900px) rotateY(360deg); }
}
.js .dmc-stages > .dmc-flip.is-in { animation: dmcFlip 8.4s cubic-bezier(.45,.05,.25,1) infinite; animation-delay: calc(var(--i, 0) * 1.2s); }

/* --- Technology cards: equal cards that glide past continuously --- */
.dmc-cmarquee { overflow: hidden; padding: .8rem 0 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.dmc-cmarquee__track { display: flex; align-items: stretch; gap: 1.25rem; width: max-content; animation: dmcCardSlide 55s linear infinite; will-change: transform; }
.dmc-cmarquee:hover .dmc-cmarquee__track { animation-play-state: paused; }
.dmc-cmarquee .dmc-card {
    flex: 0 0 300px; width: 300px; min-height: 250px; box-sizing: border-box; margin: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 1.6rem 1.3rem;
}
.dmc-cmarquee .dmc-card__icon { margin: 0 auto 1.1rem; flex: 0 0 64px; }
.dmc-cmarquee .dmc-card h3 { min-height: 2.6em; display: flex; align-items: center; justify-content: center; margin: 0 0 .5rem; font-size: 1.1rem; }
.dmc-cmarquee .dmc-card p { margin: 0; font-size: .94rem; line-height: 1.55; }
@keyframes dmcCardSlide { to { transform: translateX(calc(-50% - .625rem)); } }
@media (max-width: 600px) { .dmc-cmarquee .dmc-card { flex-basis: 260px; width: 260px; } }
@media (prefers-reduced-motion: reduce) {
    .dmc-cmarquee { -webkit-mask-image: none; mask-image: none; }
    .dmc-cmarquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .dmc-cmarquee .dmc-card[aria-hidden="true"] { display: none; }
    .js .dmc-stages > .dmc-flip.is-in { animation: none; }
}

/* --- Patient journey: no numbers, equal boxes, last row centered --- */
.dmc-journey { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 1100px; margin: 2rem auto; padding: 0; list-style: none; }
.dmc-journey > li {
    flex: 0 0 calc((100% - 3rem) / 4); max-width: calc((100% - 3rem) / 4); min-height: 84px; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem .9rem;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.dmc-journey > li::before { display: none; content: none; }
.dmc-journey > li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,26,43,.1); border-color: rgba(0,165,168,.4); }
@media (max-width: 1000px) { .dmc-journey > li { flex-basis: calc((100% - 1rem) / 2); max-width: calc((100% - 1rem) / 2); } }
@media (max-width: 480px)  { .dmc-journey > li { flex-basis: 100%; max-width: 100%; } }

/* --- Industries slider then panels: tight, no big gaps --- */
#industries { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
#industries .dmc-ind-marquee { padding-bottom: 0; }
.dmc-panels-sec { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* --- Contact cards: icon on top, text below, all equal --- */
.dmc-contact__info { align-items: stretch; }
.dmc-contact__info a.dmc-card {
    flex: 1 1 0; min-height: 170px; box-sizing: border-box; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; margin: 0;
}
.dmc-contact__info a.dmc-card .dmc-card__icon { margin: 0 auto 1rem; }
.dmc-contact__info a.dmc-card h3 { margin: 0 0 .35rem; }
.dmc-contact__info a.dmc-card p { margin: 0; word-break: break-word; }

/* --- Cards everywhere: icon on top, text centered under it --- */
.dmc-card { text-align: center; }
.dmc-card .dmc-card__icon { margin-left: auto; margin-right: auto; }

/* --- Transitions --- */
.js .dmc-grid > .dmc-reveal:not(.is-in):nth-child(odd)  { transform: translate3d(-26px, 24px, 0); }
.js .dmc-grid > .dmc-reveal:not(.is-in):nth-child(even) { transform: translate3d(26px, 24px, 0); }
.js .dmc-head.dmc-reveal:not(.is-in) { transform: translate3d(0, 18px, 0) scale(.985); }
.dmc-btn { transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s; }
.dmc-btn:hover { transform: translateY(-2px); }
.dmc-btn:active { transform: translateY(0) scale(.98); }
.dmc-link { transition: transform .25s var(--ease), color .25s; }
.dmc-faq details[open] > p { animation: dmcFadeDown .35s var(--ease); }
@keyframes dmcFadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.dmc-industry-card, .dmc-trust__card, .dmc-member, .dmc-case, .dmc-hcard { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.dmc-industry-card:hover, .dmc-case:hover, .dmc-member:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(10,26,43,.12); }
@media (prefers-reduced-motion: reduce) {
    .js .dmc-grid > .dmc-reveal:not(.is-in), .js .dmc-head.dmc-reveal:not(.is-in) { transform: none; }
    .dmc-faq details[open] > p { animation: none; }
}

/* ======================================================================
 * v21.4  Practice visibility self-check + mobile polish
 * ==================================================================== */
.dmc-check { max-width: 720px; margin: 2.2rem auto 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem 2rem; text-align: center; box-shadow: 0 14px 40px rgba(10, 26, 43, .08); }
.dmc-check__bar { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin: 0 0 1.4rem; border: 1px solid var(--line); }
.dmc-check__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 999px; transition: width .35s var(--ease); }
.dmc-check__step { margin: 0 0 .5rem; font: 700 .8rem var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); }
.dmc-check__q { margin: 0 auto 1.5rem; max-width: 560px; font: 800 clamp(1.15rem, 3.4vw, 1.5rem)/1.35 var(--font-heading); color: var(--ink); outline: none; }
.dmc-check__opts { display: grid; gap: .75rem; max-width: 420px; margin: 0 auto; }
.dmc-check__opt { min-height: 3.25rem; padding: .85rem 1.2rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 1rem var(--font-heading); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.dmc-check__opt:hover, .dmc-check__opt:focus-visible { border-color: var(--teal); background: var(--soft); }
.dmc-check__opt:active { transform: scale(.98); }
.dmc-check__opt.is-picked { border-color: var(--teal); background: var(--soft); }
.dmc-check__back { margin-top: 1.2rem; min-height: 2.75rem; padding: .5rem 1rem; background: none; border: 0; color: var(--muted); font: 600 .95rem var(--font-heading); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dmc-check__back:hover { color: var(--teal-d); }
.dmc-check__result { outline: none; }
.dmc-check__score { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 8rem; height: 8rem; border-radius: 50%; margin: 0 0 1.1rem; border: 6px solid var(--teal); background: var(--soft); }
.dmc-check__score b { font: 800 2.6rem/1 var(--font-heading); color: var(--ink); }
.dmc-check__score span { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.dmc-check__score--low { border-color: var(--amber-d); }
.dmc-check__score--high { border-color: var(--teal); }
.dmc-check__title { margin: 0 auto .6rem; max-width: 520px; font: 800 clamp(1.25rem, 3.6vw, 1.6rem)/1.3 var(--font-heading); }
.dmc-check__text { margin: 0 auto 1.4rem; max-width: 560px; color: var(--muted); line-height: 1.65; }
.dmc-check__sub { margin: 0 0 .6rem; font: 700 .8rem var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); }
.dmc-check__tips { list-style: none; counter-reset: tip; padding: 0; margin: 0 auto 1.6rem; max-width: 560px; display: grid; gap: .7rem; text-align: center; }
.dmc-check__tips li { counter-increment: tip; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; line-height: 1.55; font-size: .97rem; }
.dmc-check__tips li::before { content: counter(tip); display: block; width: 1.7rem; height: 1.7rem; line-height: 1.7rem; margin: 0 auto .4rem; border-radius: 50%; background: var(--teal); color: #fff; font: 800 .85rem/1.7rem var(--font-heading); }
.dmc-check__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.dmc-check__fine { margin: 1.4rem auto 0; max-width: 520px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.dmc-check__quiz[hidden], .dmc-check__result[hidden], .dmc-check__back[hidden] { display: none; }

/* ---------- Mobile polish ---------- */
/* iOS Safari zooms the page when a field under 16px gets focus; keep every field at 16px on phones/tablets */
@media (max-width: 860px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px; }
}
/* Long words, emails and numbers wrap instead of pushing the page sideways */
h1, h2, h3, h4, p, li, a, label, .figure { overflow-wrap: break-word; }
/* Calculator: big result number must fit narrow phones */
.dmc-calc__result .figure { font-size: clamp(2rem, 9.5vw, 3rem); overflow-wrap: anywhere; }
.dmc-calc__form, .dmc-calc__result { min-width: 0; }
@media (max-width: 440px) {
    .dmc-calc { padding: 1.25rem; border-radius: 20px; }
    .dmc-check { padding: 1.5rem 1.1rem; border-radius: 20px; }
    .dmc-check__score { width: 6.5rem; height: 6.5rem; }
    .dmc-check__score b { font-size: 2.1rem; }
    .dmc-check__actions .dmc-btn { width: 100%; }
}
/* Touch devices: comfortable tap targets for small controls */
@media (hover: none) and (pointer: coarse) {
    .dmc-btn--sm { min-height: 2.75rem; }
    .dmc-foot a, .site-footer a { display: inline-block; padding-block: .2rem; }
}

/* ======================================================================
 * v21.6  Calmer home page: the seven growth-system cards no longer spin
 * ==================================================================== */
.js .dmc-stages > .dmc-flip.is-in { animation: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .js .dmc-stages > .dmc-card.is-in {
        transition: opacity .7s var(--ease), transform .7s var(--ease), translate .3s var(--ease), box-shadow .3s, border-color .3s;
    }
    .js .dmc-stages > .dmc-card.is-in:hover { translate: 0 -6px; box-shadow: 0 18px 38px rgba(0, 165, 168, .2); border-color: rgba(0, 165, 168, .45); }
}

/* ======================================================================
 * v21.7  Design polish: richer headings, cards, colour rhythm
 * ==================================================================== */

/* Section headings: eyebrow becomes a small pill, gradient bar under the title */
.dmc-eyebrow { padding: .5rem 1rem; border-radius: 999px; background: rgba(0, 165, 168, .09); border: 1px solid rgba(0, 165, 168, .22); }
.dmc-section--navy .dmc-eyebrow, .dmc-proof .dmc-eyebrow { background: rgba(154, 243, 240, .09); border-color: rgba(154, 243, 240, .28); }
.dmc-head > .dmc-h2::after { content: ""; display: block; width: 58px; height: 4px; border-radius: 4px; margin: 1.1rem auto 0; background: linear-gradient(90deg, var(--teal), var(--amber)); }
.dmc-head > .dmc-h2 + .dmc-lead { margin-top: 1.2rem; }

/* Light sections get a soft teal glow at the top instead of a flat tint */
.dmc-section--soft { background: radial-gradient(900px 340px at 50% -140px, rgba(0, 165, 168, .11), rgba(0, 165, 168, 0) 70%), var(--soft); }

/* Dark section: deep navy with two soft glows */
.dmc-section--navy { background: radial-gradient(700px 360px at 12% 0%, rgba(0, 165, 168, .22), rgba(0, 165, 168, 0) 70%), radial-gradient(640px 340px at 92% 100%, rgba(255, 176, 32, .10), rgba(255, 176, 32, 0) 70%), var(--navy); }

/* Cards: stronger icon chip and a colour line on top */
.dmc-card { position: relative; overflow: hidden; }
.dmc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--amber)); opacity: .55; transform: scaleX(.28); transform-origin: center; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
.dmc-card:hover::before { transform: scaleX(1); opacity: 1; }
.dmc-card__icon, .dmc-card:hover .dmc-card__icon { background: linear-gradient(135deg, #12b8bb, #007c85); color: #fff; box-shadow: 0 12px 26px rgba(0, 124, 133, .30); }
.dmc-card__icon .dmc-icon { stroke: currentColor; }
.dmc-section--navy .dmc-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }

/* Thin reading-progress line at the very top of the page */
#dmc-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1200; pointer-events: none; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--teal), var(--amber)); }
@media (prefers-reduced-motion: reduce) { .dmc-card::before { transition: none; } }

/* ======================================================================
 * v21.8  Technology section readability + extra polish
 * Only ADDS rules. No content, markup or earlier rule was removed.
 * ==================================================================== */

/* --- 1. Technology & automation: strong, easy-to-read text on navy --- */
#technology.dmc-section--navy {
    background:
        radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1.4px) 0 0 / 26px 26px,
        radial-gradient(720px 380px at 12% 0%, rgba(0, 165, 168, .26), rgba(0, 165, 168, 0) 70%),
        radial-gradient(640px 340px at 92% 100%, rgba(255, 176, 32, .12), rgba(255, 176, 32, 0) 70%),
        var(--navy);
}
#technology .dmc-h2 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
#technology .dmc-lead { color: #e3edf5; font-weight: 500; }
#technology .dmc-eyebrow { color: #b8f7f5; background: rgba(154, 243, 240, .14); border-color: rgba(154, 243, 240, .4); }
#technology .dmc-cmarquee .dmc-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .06));
    border-color: rgba(154, 243, 240, .26);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}
#technology .dmc-cmarquee .dmc-card h3 { color: #fff; font-size: 1.15rem; font-weight: 800; }
#technology .dmc-cmarquee .dmc-card p { color: #e6eef5; font-size: 1rem; line-height: 1.6; font-weight: 500; }
#technology .dmc-cmarquee .dmc-card:hover { border-color: rgba(154, 243, 240, .6); box-shadow: 0 22px 48px rgba(0, 165, 168, .28); }
/* touch screens: let the strip be swiped by hand instead of sliding on its own */
@media (hover: none) {
    #technology .dmc-cmarquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    #technology .dmc-cmarquee::-webkit-scrollbar { display: none; }
    #technology .dmc-cmarquee__track { animation: none; }
    #technology .dmc-cmarquee .dmc-card[aria-hidden="true"] { display: none; }
}

/* --- 2. Same clarity rule for any other text on navy sections --- */
.dmc-section--navy .dmc-lead { color: #e3edf5; }
.dmc-section--navy .dmc-card p { color: #e6eef5; }

/* --- 3. Light cards: softer, richer hover glow --- */
.dmc-section:not(.dmc-section--navy) .dmc-card:hover { box-shadow: 0 24px 52px rgba(0, 124, 133, .20); }

/* --- 4. Buttons: a little depth --- */
.dmc-btn--primary { box-shadow: 0 10px 24px rgba(0, 165, 168, .28); }
.dmc-btn--primary:hover { box-shadow: 0 14px 30px rgba(0, 165, 168, .38); }

/* --- 5. Small finishing touches --- */
::selection { background: rgba(0, 165, 168, .25); color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.dmc-section--navy :focus-visible { outline-color: var(--aqua); }

/* ==========================================================================
   v21.14 - MOBILE FIT FIX
   Cause: the footer legal links (Privacy, Terms, Cookie, Accessibility,
   Disclaimer, Sitemap) sat in one non-wrapping row (~435px). That made the
   whole page wider than the phone, so the phone zoomed the page out and
   showed a blank strip on the right of the hero. Links now wrap, and the
   page can never be wider than the screen.
   ========================================================================== */
html { overflow-x: hidden; max-width: 100%; }
body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
    html, body { overflow-x: clip; }
}
.dmc-foot__bar > * { min-width: 0; max-width: 100%; }
.dmc-foot__legal { flex-wrap: wrap; gap: .5rem 1.2rem; }
.dmc-foot__project { overflow-wrap: anywhere; }
@media (max-width: 560px) {
    .dmc-foot__bar { width: 100%; padding-left: 0; padding-right: 0; }
    .dmc-foot__legal { justify-content: flex-start; }
}
/* media / long words can never push the page wider than the screen */
img, video, iframe, svg, table { max-width: 100%; }
.dmc-hero, .dmc-section, .site-footer { max-width: 100%; }

/* ---- v21.14: small phones (320px) - footer columns and prev/next buttons ---- */
.dmc-foot__top > *, .dmc-foot__cols > *, .dmc-foot__col, .dmc-foot__col li { min-width: 0; }
.dmc-foot a, .dmc-foot p, .dmc-foot li { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
    .dmc-foot__top { grid-template-columns: minmax(0, 1fr); }
    .dmc-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
    .dmc-foot__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .dmc-pager { flex-direction: column; align-items: stretch; padding-left: 1rem; padding-right: 1rem; }
    .dmc-pager__a { width: 100%; box-sizing: border-box; min-width: 0; }
    .dmc-pager__a--next { margin-left: 0; justify-content: space-between; }
    .dmc-pager__a span, .dmc-pager__a strong { min-width: 0; overflow-wrap: anywhere; }
}

/* ==========================================================================
   v21.14 - SMALL PHONES (320px and up): footer + pager can never overflow
   ========================================================================== */
.dmc-foot__top, .dmc-foot__cols { min-width: 0; }
.dmc-foot__top > *, .dmc-foot__cols > * { min-width: 0; }
.dmc-foot__col li a, .dmc-foot__contact a, .dmc-foot__tag, .dmc-foot__region { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
    .dmc-foot__top { grid-template-columns: minmax(0, 1fr); }
    .dmc-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
    .dmc-foot__cols { grid-template-columns: minmax(0, 1fr); }
}
.dmc-pager { flex-wrap: wrap; }
.dmc-pager__a { min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-width: 560px) {
    .dmc-pager { flex-direction: column; align-items: stretch; }
    .dmc-pager__a, .dmc-pager__a--next { width: 100%; margin-left: 0; }
    .dmc-pager__a--next { justify-content: flex-end; }
}

/* ==========================================================================
   v22.0 - CONTENT HUB + ARTICLES
   ========================================================================== */
.dmc-card__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .8rem; }
.dmc-card__thumb { display: block; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; }
.dmc-card__thumb img { width: 100%; height: auto; display: block; }
.dmc-card__meta { font-size: .82rem; color: var(--muted, #46596b); margin: .2rem 0 .6rem; }
.dmc-card h3 a { color: inherit; text-decoration: none; }

.dmc-topicbar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 2rem; max-width: 900px; }
.dmc-topicbar a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 .85rem/1.2 var(--font-heading); text-decoration: none; }
.dmc-topicbar a:hover { border-color: var(--teal); color: var(--teal-d); }
.dmc-topicbar a.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }

.dmc-hubpager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; color: var(--muted, #46596b); font-size: .9rem; }

.dmc-article__wrap { max-width: 820px; padding-block: clamp(2rem, 5vw, 3.5rem); }
.dmc-article__meta { text-align: center; color: var(--muted, #46596b); font-size: .9rem; margin: 0 0 1.4rem; }
.dmc-article__meta:empty { display: none; }
.dmc-qa { border: 1px solid rgba(0, 165, 168, .3); border-left: 4px solid var(--teal); background: #f2f8f9; border-radius: 14px; padding: 1.1rem 1.4rem; margin: 0 0 2rem; text-align: left; }
.dmc-qa strong { display: block; color: var(--teal-d); font: 700 .8rem/1.3 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.dmc-qa p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.dmc-article__img { margin: 0 0 2rem; border-radius: 16px; overflow: hidden; }
.dmc-article__img img { width: 100%; height: auto; display: block; }
.dmc-article__body { text-align: left; font-size: 1.05rem; line-height: 1.8; color: var(--ink); overflow-wrap: anywhere; }
.dmc-article__body h2, .dmc-article__body h3 { text-align: left; margin: 2.2rem 0 .8rem; line-height: 1.3; }
.dmc-article__body p, .dmc-article__body ul, .dmc-article__body ol { margin: 0 0 1.2rem; text-align: left; }
.dmc-article__body ul, .dmc-article__body ol { padding-left: 1.4rem; }
.dmc-article__body img, .dmc-article__body video, .dmc-article__body iframe { max-width: 100%; height: auto; border-radius: 12px; }
.dmc-article__body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.dmc-article__body th, .dmc-article__body td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.dmc-article__body a { color: var(--teal-d); }
.dmc-article__faq { margin-top: 2.5rem; }
.dmc-article__faq h2 { text-align: center; margin-bottom: 1.2rem; }
.dmc-related-solution { text-align: center; margin-top: 2.5rem; padding: 1.6rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dmc-related-solution h3 { margin: .4rem 0 1rem; }

/* ==========================================================================
   v22.1 - PROCEDURE + COMPARISON PAGES
   ========================================================================== */
.dmc-chips--wide { max-width: 940px; margin-left: auto; margin-right: auto; gap: .7rem; }
.dmc-chips--wide li { border-radius: 14px; padding: .65rem 1.1rem; font-size: .95rem; text-align: center; background: #fff; border-color: var(--line); color: var(--ink); }
.dmc-checklist { list-style: none; margin: .8rem 0 0; padding: 0; text-align: left; }
.dmc-checklist li { position: relative; padding: .45rem 0 .45rem 1.7rem; line-height: 1.5; }
.dmc-checklist li::before { content: ""; position: absolute; left: 0; top: .85rem; width: .9rem; height: .5rem; border-left: 2px solid var(--teal-d); border-bottom: 2px solid var(--teal-d); transform: rotate(-45deg); }

.dmc-compare { max-width: 960px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(10, 26, 43, .06); }
.dmc-compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dmc-compare th, .dmc-compare td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; overflow-wrap: anywhere; }
.dmc-compare thead th { background: var(--navy); color: #fff; font: 700 .95rem/1.3 var(--font-heading); }
.dmc-compare tbody th { width: 24%; font: 700 .9rem/1.4 var(--font-heading); color: var(--navy); background: var(--soft); }
.dmc-compare tbody tr:last-child th, .dmc-compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
    .dmc-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
    .dmc-compare table, .dmc-compare tbody, .dmc-compare tr, .dmc-compare th, .dmc-compare td { display: block; width: 100%; box-sizing: border-box; }
    .dmc-compare tbody th { width: 100%; }
    .dmc-compare td::before { content: attr(data-label); display: block; font: 700 .72rem/1.3 var(--font-heading); letter-spacing: .05em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .2rem; }
    .dmc-compare td { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   v22.2 - FREE RESOURCES (email-gated downloads)
   ========================================================================== */
.dmc-resfilter { gap: .5rem; }
.dmc-resfilter__btn { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 .85rem/1.2 var(--font-heading); cursor: pointer; }
.dmc-resfilter__btn:hover { border-color: var(--teal); color: var(--teal-d); }
.dmc-resfilter__btn.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.dmc-resgrid { align-items: stretch; }
.dmc-res { display: flex; flex-direction: column; align-items: center; }
.dmc-res[hidden] { display: none !important; }
.dmc-res__meta { margin: 0 0 .35rem; font: 700 .72rem/1.3 var(--font-heading); letter-spacing: .05em; text-transform: uppercase; color: var(--teal-d); }
.dmc-res .dmc-checklist { width: 100%; margin-bottom: 1.1rem; }
.dmc-res .dmc-checklist li { font-size: .9rem; }
.dmc-res__btn { margin-top: auto; }
.dmc-res__note { max-width: 760px; margin: 2rem auto 0; text-align: center; font-size: .85rem; color: var(--muted, #5a6d7d); }

.dmc-gate .dmc-exitpopup__panel { max-width: 440px; max-height: calc(100vh - 2rem); overflow-y: auto; }
.dmc-gate__resource { font-weight: 600; color: var(--navy); }
.dmc-consent { display: flex; align-items: flex-start; gap: .55rem; margin: 0 0 1rem; text-align: left; font-size: .84rem; line-height: 1.45; color: #5a6d7d; cursor: pointer; }
.dmc-consent input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--teal); }
.dmc-gate .form-input { background: #fff; color: #0f2233; border: 1px solid #cfdbe4; }
.dmc-gate .form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 165, 168, .18); }
.dmc-gate .form-response-msg.error { color: #b42318; background: #fef3f2; border-color: #fecdca; margin-top: 1rem; }
.dmc-gate__done { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.dmc-gate__done[hidden] { display: none; }
.dmc-gate__done p { margin: 0 0 .25rem; }
.dmc-exitpopup__fine a { color: var(--teal-d); }
@media (max-width: 480px) { .dmc-gate .dmc-exitpopup__panel { padding: 2rem 1.25rem; } }

/* ==========================================================================
   v22.3 - FREE TOOLS (ROI calculator + Visibility Score)
   ========================================================================== */
.dmc-roi { align-items: start; }
.dmc-roi__h { margin: 0 0 1rem; font: 800 1.05rem/1.3 var(--font-heading); color: #fff; }
.dmc-roi__h:not(:first-child) { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.dmc-roi .dmc-calc__form select { appearance: auto; }
.dmc-roi__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; text-align: left; }
.dmc-roi__col { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 1rem 1.1rem; min-width: 0; }
.dmc-roi__col h4 { margin: 0 0 .4rem; font: 700 .75rem/1.3 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--amber, #ffb020); }
.dmc-roi__col .dmc-calc__list { text-align: left; margin: 0; font-size: .92rem; line-height: 1.45; }
.dmc-roi__col .dmc-calc__list li { padding: .3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dmc-roi__col .dmc-calc__list li:last-child { border-bottom: 0; }
.dmc-roi__col .dmc-calc__list b { display: block; font-size: 1.05rem; color: #fff; }
.dmc-roi__warn { margin: 1rem 0 0; font-size: .85rem; color: var(--amber, #ffb020); }
.dmc-roi__warn[hidden] { display: none; }
@media (max-width: 560px) { .dmc-roi__cols { grid-template-columns: 1fr; } }

.dmc-toolform { max-width: 520px; margin: 2rem auto 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: 0 14px 40px rgba(10, 26, 43, .08); text-align: left; position: relative; }
.dmc-toolform .form-group label { display: block; margin: 0 0 .35rem; font: 600 .85rem/1.3 var(--font-heading); color: var(--navy); }
.dmc-toolform .form-input { background: #fff; color: #0f2233; border: 1px solid #cfdbe4; }
.dmc-toolform .form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 165, 168, .18); }
.dmc-toolform .form-response-msg { margin-top: 1rem; }
.dmc-toolform .form-response-msg.error { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.dmc-toolform .form-response-msg.success { color: var(--teal-d); }
.dmc-toolform__fine { margin: .9rem 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted, #5a6d7d); text-align: center; }
.dmc-toolform__fine a { color: var(--teal-d); }
@media (max-width: 480px) { .dmc-toolform { padding: 1.5rem 1.1rem; border-radius: 20px; } }

.dmc-vis__cat { margin: 0 0 .5rem; font: 600 .85rem/1.3 var(--font-heading); color: var(--muted, #5a6d7d); }
.dmc-vis__bars { display: grid; gap: .85rem; max-width: 560px; margin: 0 auto 1.8rem; text-align: left; }
.dmc-vis__barhead { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; font: 600 .9rem/1.3 var(--font-heading); color: var(--ink); }
.dmc-vis__track { height: 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.dmc-vis__fill { display: block; height: 100%; border-radius: 999px; background: var(--teal); }
.dmc-vis__fill.is-low { background: var(--amber-d, #e08a00); }
[data-vis-share][hidden] { display: none; }

/* v22.3 - market pages */
.dmc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.dmc-pill { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem 1.05rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 .88rem/1.2 var(--font-heading); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.dmc-pill:hover, .dmc-pill:focus-visible { border-color: var(--teal); color: var(--teal-d); background: var(--soft); }
.dmc-section .dmc-pills:first-child { margin-top: 0; }

/* v22.5 - links added by the integration step */
.dmc-calc__more, .dmc-check__more { margin: 1rem 0 0; font-size: .9rem; line-height: 1.5; }
.dmc-calc__more a { color: var(--amber, #ffb020); font-weight: 600; }
.dmc-check__more a { color: var(--teal-d); font-weight: 600; }

/* ==========================================================================
   V24: NEW FOOTER (.dmc-ft)
   - The audit CTA sits INSIDE the footer, in normal flow.
   - The footer ends with a "safe lane" (padding-bottom) taller than the floating
     WhatsApp bubble and the sticky audit button, so they can never cover any
     footer text or link, on desktop or on phones.
   ========================================================================== */
.dmc-ft { position: relative; overflow: hidden; isolation: isolate; text-align: left; color: #b8c8d8;
    background: linear-gradient(180deg, #08192d 0%, #050e19 55%, #040a13 100%);
    padding: 4.2rem 0 6.8rem; }
.dmc-ft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1;
    background: linear-gradient(90deg, transparent, var(--teal) 25%, var(--amber) 50%, var(--teal) 75%, transparent); }
.dmc-ft__glow { position: absolute; z-index: -1; pointer-events: none; top: -18%; right: -8%; width: min(70vw, 760px); aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(0, 165, 168, .20), transparent 72%); }
.dmc-ft__glow::after { content: ""; position: absolute; left: -90%; bottom: -70%; width: 80%; aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(255, 176, 32, .08), transparent 72%); }
.dmc-ft a { text-decoration: none; }

/* CTA band */
.dmc-ft__cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap;
    padding: 2.4rem clamp(1.4rem, 4vw, 3rem); border-radius: 26px; color: #fff;
    background: linear-gradient(120deg, #00a5a8 0%, #00808a 50%, #0f2740 100%);
    box-shadow: 0 30px 60px -28px rgba(0, 165, 168, .55), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.dmc-ft__cta::before, .dmc-ft__cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; border: 1px solid rgba(255, 255, 255, .16); }
.dmc-ft__cta::before { width: 340px; height: 340px; right: -90px; top: -150px; }
.dmc-ft__cta::after { width: 220px; height: 220px; right: 90px; bottom: -130px; border-color: rgba(255, 255, 255, .1); }
.dmc-ft__cta-text { position: relative; flex: 1 1 380px; min-width: 0; }
.dmc-ft__kicker { display: inline-block; margin-bottom: .7rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .16);
    font: 700 .72rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; }
.dmc-ft__cta h2 { margin: 0 0 .55rem; color: #fff; font: 800 clamp(1.45rem, 2.6vw, 2.1rem)/1.15 var(--font-heading); text-align: left; }
.dmc-ft__cta p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.6; text-align: left; }
.dmc-ft__cta-btns { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; flex: 0 1 auto; }

/* Main grid */
.dmc-ft__main { display: grid; grid-template-columns: minmax(250px, 1.2fr) 3.6fr; gap: 3.5rem; padding: 3.8rem 0 2.8rem; }
.dmc-ft .footer-logo img { height: 56px; width: auto; margin: 0 0 1.1rem; }
.dmc-ft__tag { max-width: 310px; margin: 0 0 1.5rem; color: #c5d3e0; font-size: .98rem; line-height: 1.7; }
.dmc-ft__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.dmc-ft__contact a { display: inline-flex; align-items: center; gap: .75rem; color: #e6eef5; font-size: .94rem; transition: color .25s, transform .25s; }
.dmc-ft__contact a:hover { color: var(--aqua); transform: translateX(4px); }
.dmc-ft__contact .dmc-icon { width: 36px; height: 36px; padding: 9px; flex-shrink: 0; border-radius: 11px; color: var(--aqua);
    background: rgba(154, 243, 240, .09); box-shadow: inset 0 0 0 1px rgba(154, 243, 240, .14); transition: background .25s, color .25s; }
.dmc-ft__contact a:hover .dmc-icon { background: var(--teal); color: #fff; }

.dmc-ft__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.8rem; }
.dmc-ft__title { position: relative; display: inline-block; margin-bottom: 1.35rem; padding-bottom: .7rem; color: #fff;
    font: 700 .8rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; }
.dmc-ft__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--teal), var(--amber)); transition: width .35s var(--ease); }
.dmc-ft__title:hover { color: var(--aqua); }
.dmc-ft__title:hover::after { width: 100%; }
.dmc-ft__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.dmc-ft__col li a { position: relative; display: inline-block; padding: .28rem 0; color: #9fb3c6; font-size: .93rem; line-height: 1.4;
    transition: color .25s, transform .3s var(--ease); }
.dmc-ft__col li a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
    background: var(--teal); opacity: 0; transform: scale(.3); transition: opacity .25s, transform .3s var(--ease); }
.dmc-ft__col li a:hover { color: #fff; transform: translateX(8px); }
.dmc-ft__col li a:hover::before { opacity: 1; transform: scale(1); }

/* Markets strip */
.dmc-ft__markets { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; padding: 1.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.dmc-ft__markets-label { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font: 700 .8rem var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.dmc-ft__markets-label .dmc-icon { width: 18px; height: 18px; color: var(--aqua); }
.dmc-ft__markets ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.dmc-ft__markets a { display: inline-block; padding: .42rem 1rem; border-radius: 999px; color: #d6e3ee; font-size: .88rem;
    background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .25s, color .25s, transform .25s; }
.dmc-ft__markets a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* Bottom bar */
.dmc-ft__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-top: 1.6rem; font-size: .86rem; color: #8ea3b6; }
.dmc-ft__bar p { margin: 0; }
.dmc-ft__copy a { color: #fff; font-weight: 600; }
.dmc-ft__copy a:hover, .dmc-ft__legal a:hover { color: var(--aqua); }
.dmc-ft__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.dmc-ft__legal a { color: #9fb3c6; padding: .2rem 0; transition: color .25s; }
.dmc-ft__bar > * { min-width: 0; max-width: 100%; }
.dmc-ft a, .dmc-ft p, .dmc-ft li { overflow-wrap: anywhere; }

/* While the footer CTA band is on screen, the floating audit button steps aside (the band has the same button) */
body.dmc-ft-docked .sticky-cta-btn.is-visible { opacity: 0; visibility: hidden; transform: translateY(140%); pointer-events: none; }

@media (max-width: 1100px) {
    .dmc-ft__main { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
    .dmc-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 2rem; }
    .dmc-ft__tag { max-width: 520px; }
}
@media (max-width: 768px) {
    /* phones/tablets: WhatsApp bubble sits ABOVE the full-width audit bar, so the lane is taller */
    .dmc-ft { padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px)); }
    .dmc-ft__cta { padding: 2rem 1.5rem; border-radius: 22px; }
    .dmc-ft__cta-btns { width: 100%; }
    .dmc-ft__cta-btns .dmc-btn { flex: 1 1 100%; justify-content: center; text-align: center; }
    .dmc-ft__bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .dmc-ft__cols { grid-template-columns: minmax(0, 1fr); }
    .dmc-ft__main { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .dmc-ft *, .dmc-ft *::before, .dmc-ft *::after { transition: none !important; }
}

/* ==========================================================================
   V24: FLOW TIMELINE (.dmc-flow) - replaces the plain boxes for the patient
   journey and the 5-step process. One row on desktop, vertical timeline on
   tablets and phones. The line draws itself, the dots pop in one by one.
   ========================================================================== */
.dmc-flow { --d: 62px; --line: rgba(0, 124, 133, .32); position: relative; max-width: 1180px; margin: 2.8rem auto 0; }
.dmc-flow--journey { --d: 58px; }
.dmc-flow__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 .9rem; }
.dmc-flow__track { position: absolute; z-index: 0; top: calc(var(--d) / 2 - 1.5px); height: 3px; border-radius: 3px;
    left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2);
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.dmc-flow__track i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; transform: scaleX(0);
    background: linear-gradient(90deg, var(--teal), var(--amber)); transition: transform 1.9s cubic-bezier(.45, 0, .2, 1) .25s; }
.dmc-flow.is-in .dmc-flow__track i { transform: scaleX(1); }
/* a little light travels along the journey line, like a patient moving through it */
.dmc-flow--journey .dmc-flow__track::after { content: ""; position: absolute; top: -4px; left: 0; width: 11px; height: 11px; border-radius: 50%; opacity: 0;
    background: #fff; box-shadow: 0 0 0 4px rgba(0, 165, 168, .28), 0 0 16px 2px var(--teal); }
.dmc-flow--journey.is-in .dmc-flow__track::after { animation: dmcFlowRun 5s ease-in-out 2.4s infinite; }
@keyframes dmcFlowRun { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 11px); opacity: 0; } }

.dmc-flow__item { position: relative; text-align: center; padding: 0 .25rem; }
.dmc-flow__dot { display: flex; align-items: center; justify-content: center; width: var(--d); height: var(--d); margin: 0 auto 1.05rem; border-radius: 50%;
    color: #fff; font: 800 1.3rem var(--font-heading); background: linear-gradient(135deg, var(--teal), var(--teal-d));
    box-shadow: 0 10px 24px rgba(0, 124, 133, .3), 0 0 0 6px rgba(0, 165, 168, .12); transition: transform .35s var(--ease), box-shadow .35s; }
.dmc-flow__dot .dmc-icon { width: 25px; height: 25px; }
.dmc-flow__item:hover .dmc-flow__dot { transform: translateY(-4px) scale(1.08); box-shadow: 0 16px 30px rgba(0, 124, 133, .4), 0 0 0 9px rgba(0, 165, 168, .16); }
.dmc-flow__title { display: block; margin: 0 0 .4rem; color: var(--navy); font: 700 1rem/1.3 var(--font-heading); }
.dmc-flow--journey .dmc-flow__title { font-size: .95rem; font-weight: 600; }
.dmc-flow__text { margin: 0 auto; max-width: 210px; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.dmc-flow__cta { margin-top: 3rem; }

/* entrance: dots pop in one after another */
.js .dmc-flow .dmc-flow__item { opacity: 0; transform: translateY(20px) scale(.92);
    transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * .17s + .1s); }
.js .dmc-flow.is-in .dmc-flow__item { opacity: 1; transform: none; }

/* tablet + phone: vertical timeline */
@media (max-width: 999px) {
    .dmc-flow, .dmc-flow--journey { --d: 50px; max-width: 560px; margin-top: 2.2rem; }
    .dmc-flow__track { display: none; }
    .dmc-flow__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .dmc-flow__item { display: grid; grid-template-columns: var(--d) minmax(0, 1fr); column-gap: 1.1rem; row-gap: 0; align-items: start; text-align: left; padding: 0 0 1.9rem; }
    .dmc-flow__item:last-child { padding-bottom: 0; }
    .dmc-flow__dot { grid-row: 1 / span 2; margin: 0; font-size: 1.15rem; }
    .dmc-flow__dot .dmc-icon { width: 22px; height: 22px; }
    .dmc-flow--journey .dmc-flow__item { align-items: center; padding-bottom: 1.5rem; }
    .dmc-flow__title { margin: .2rem 0 .25rem; }
    .dmc-flow--journey .dmc-flow__title { margin: 0; font-size: 1rem; }
    .dmc-flow__text { margin: 0; max-width: none; }
    .dmc-flow__item::before, .dmc-flow__item::after { content: ""; position: absolute; left: calc(var(--d) / 2 - 1.5px); top: var(--d); bottom: 0; width: 3px; border-radius: 3px; }
    .dmc-flow__item::before { background: repeating-linear-gradient(180deg, var(--line) 0 7px, transparent 7px 13px); }
    .dmc-flow__item::after { background: linear-gradient(180deg, var(--teal), var(--amber)); transform-origin: top; transform: scaleY(0);
        transition: transform .7s ease; transition-delay: calc(var(--i, 0) * .17s + .45s); }
    .dmc-flow.is-in .dmc-flow__item::after { transform: scaleY(1); }
    .dmc-flow__item:last-child::before, .dmc-flow__item:last-child::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .js .dmc-flow .dmc-flow__item { opacity: 1; transform: none; transition: none; }
    .dmc-flow__track i { transform: scaleX(1); transition: none; }
    .dmc-flow__item::after { transform: scaleY(1) !important; transition: none !important; }
    .dmc-flow--journey .dmc-flow__track::after { display: none; }
}

/* ---------- V24: reviews stats strip (the 2016 / Google rating block, now sitting with the reviews) ---------- */
.dmc-revstats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.2rem; max-width: 760px; margin: 0 auto 2.4rem; }
.dmc-revstats__item { flex: 1 1 280px; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; border-radius: 18px; text-align: left;
    background: linear-gradient(135deg, rgba(0, 165, 168, .09), rgba(255, 176, 32, .09)); box-shadow: inset 0 0 0 1px rgba(0, 124, 133, .16); }
.dmc-revstats__item b { flex-shrink: 0; color: var(--teal-d); font: 800 clamp(1.7rem, 3vw, 2.2rem)/1 var(--font-heading); }
.dmc-revstats__item span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* ---------- V24: list layouts used instead of odd-numbered card rows ---------- */
/* "what is included" - a tidy checklist panel (5 items) */
.dmc-includes { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: .8rem; text-align: left; }
.dmc-includes li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem; border-radius: 16px; background: #fff; line-height: 1.5;
    box-shadow: inset 0 0 0 1px var(--border, rgba(10, 26, 43, .1)); transition: transform .3s var(--ease), box-shadow .3s; }
.dmc-includes li:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1px rgba(0, 165, 168, .5), 0 12px 26px -16px rgba(0, 124, 133, .45); }
.dmc-includes .dmc-icon { flex-shrink: 0; width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-d)); }
.dmc-includes p { margin: 0; }
/* a row of pills (5 areas) */
.dmc-areas { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.dmc-areas li { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem; border-radius: 999px; background: #fff; font-weight: 600; color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(0, 124, 133, .22); transition: transform .3s var(--ease), box-shadow .3s; }
.dmc-areas li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--teal), 0 12px 24px -14px rgba(0, 124, 133, .5); }
.dmc-areas .dmc-icon { width: 22px; height: 22px; color: var(--teal-d); }
/* two-column link rows (14 specialties = 7 even rows) */
.dmc-speclist { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem; text-align: left; }
.dmc-speclist a { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.2rem; border-radius: 16px; background: #fff; color: inherit;
    box-shadow: inset 0 0 0 1px rgba(10, 26, 43, .1); transition: transform .3s var(--ease), box-shadow .3s; }
.dmc-speclist a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 165, 168, .55), 0 14px 28px -18px rgba(0, 124, 133, .5); }
.dmc-speclist .dmc-icon { flex-shrink: 0; width: 42px; height: 42px; padding: 10px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-d)); }
.dmc-speclist b { display: block; margin-bottom: .15rem; color: var(--navy); font: 700 1rem var(--font-heading); }
.dmc-speclist small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.dmc-speclist__go { margin-left: auto; flex-shrink: 0; color: var(--teal-d); font-size: 1.2rem; transition: transform .3s var(--ease); }
.dmc-speclist a:hover .dmc-speclist__go { transform: translateX(5px); }
@media (max-width: 760px) { .dmc-speclist { grid-template-columns: minmax(0, 1fr); } }
/* resources: 2 columns so ten files make five even rows */
.dmc-resgrid.dmc-grid--2 > * { flex: 0 1 calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
@media (max-width: 700px) { .dmc-resgrid.dmc-grid--2 > * { flex-basis: 100%; max-width: 100%; } }

/* ==========================================================================
   V24: no lonely last card.
   - exactly 3 cards stay in ONE row on tablets (they only stack on phones)
   - case studies: 2 per row (8 studies = 4 even rows)
   - 3 pricing tiers stack as one column on tablets instead of 2 + 1
   ========================================================================== */
@media (min-width: 641px) and (max-width: 1000px) {
    .dmc-grid--3 > :first-child:nth-last-child(3),
    .dmc-grid--3 > :first-child:nth-last-child(3) ~ * { flex-basis: calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
    .dmc-pricing > :first-child:nth-last-child(3),
    .dmc-pricing > :first-child:nth-last-child(3) ~ * { flex-basis: 100%; max-width: 540px; }
}
.dmc-cases > * { flex: 0 1 calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
@media (max-width: 760px) { .dmc-cases > * { flex-basis: 100%; max-width: 100%; } }

/* V24 polish: roomier brand column (the email stays on one line), bigger logo, breathing room under the journey line */
@media (min-width: 1101px) { .dmc-ft__main { grid-template-columns: 330px minmax(0, 1fr); } }
.dmc-ft .footer-logo img { height: 74px; }
.dmc-ft__contact a span { overflow-wrap: break-word; word-break: normal; min-width: 0; }
.dmc-ft__contact a { font-size: .92rem; }
.dmc-flow + .dmc-lead, .dmc-flow + p { margin-top: 2.6rem; }

/* V24 fix: on phones/tablets the WhatsApp bubble sits ABOVE the full-width audit bar (an earlier rule in this file was overriding the mobile position, so the bar hid half of the bubble) */
@media (max-width: 768px) {
    .dmc-whatsapp { left: 1rem; width: 52px; height: 52px; bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
}


/* ==========================================================================
   V25: (1) the four "why DMC" tiles always sit in ONE row, (2) the 4th tile
   (Powered by VSC) gets its own dark highlight design, (3) footer links never
   break inside a word.
   Cause of the old 3 + 1: the grid gap (1.1rem) was larger than the gap the
   widths were calculated with (1rem), so 4 tiles overflowed by a few pixels and
   the last one wrapped. A real CSS grid cannot do that.
   ========================================================================== */
.dmc-trust--float .dmc-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.dmc-trust--float .dmc-trust__grid > * { flex: none; max-width: none; min-width: 0; }
.dmc-trust--float .dmc-trust__card { justify-content: flex-start; }
@media (max-width: 1000px) { .dmc-trust--float .dmc-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .dmc-trust--float .dmc-trust__grid { grid-template-columns: minmax(0, 1fr); } }

.dmc-trust__card--hl {
    position: relative; overflow: hidden; isolation: isolate; border-color: transparent;
    background: linear-gradient(150deg, #0a1a2b 0%, #0b3a4a 55%, #007c85 100%);
    box-shadow: 0 22px 46px -14px rgba(0, 124, 133, .55);
}
.dmc-trust__card--hl::before, .dmc-trust__card--hl::after {
    content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; border: 1px solid rgba(255, 255, 255, .16);
}
.dmc-trust__card--hl::before { width: 190px; height: 190px; right: -70px; top: -80px; }
.dmc-trust__card--hl::after  { width: 120px; height: 120px; left: -50px; bottom: -60px; border-color: rgba(255, 255, 255, .1); }
.dmc-trust__card--hl .dmc-trust__ic { background: rgba(255, 255, 255, .14); color: #7ff0f0; box-shadow: 0 0 0 6px rgba(127, 240, 240, .1); }
.dmc-trust__card--hl strong { color: #fff; }
.dmc-trust__card--hl small { color: rgba(255, 255, 255, .86); }
.dmc-trust__since {
    padding: .22rem .7rem; border-radius: 999px; background: #ffb22e; color: #0a1a2b;
    font: 800 .66rem/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.dmc-trust__card--hl { padding-top: 1.1rem; gap: .5rem; }

/* ---------- Footer: no word is ever cut in the middle ---------- */
.dmc-ft__col a, .dmc-ft__legal a, .dmc-ft__markets a { overflow-wrap: normal; word-break: normal; hyphens: none; }
.dmc-ft__col li a { font-size: .9rem; text-wrap: balance; }
.dmc-ft__cols { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 2rem 1.6rem; }
@media (min-width: 1131px) { .dmc-ft__main { grid-template-columns: 270px minmax(0, 1fr); gap: 3rem; } }
@media (min-width: 901px) and (max-width: 1130px) {
    .dmc-ft__main { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
    .dmc-ft__cols { grid-template-columns: repeat(4, auto); }
}
@media (max-width: 900px) and (min-width: 481px) { .dmc-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 2rem; } }
@media (max-width: 480px) { .dmc-ft__cols { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   V25b: NO LONELY LAST CARD, ANYWHERE (counts are read by CSS, so it also
   holds when posts, logos or sectors are added or removed later).
   Desktop (1001px+):  rows that would end with ONE item are re-balanced.
     grid--3: 4 items -> 2 + 2, 7 items -> 4 + 3
     grid--4 (and steps, team, badges, journey): 5 items -> 3 + 2, 9 items -> 3 + 3 + 3
     grid--2: 3 items -> 3 in a row, any other odd count -> last item spans the full row
   Tablet (641 - 1000px, two per row): an odd last item spans the full row.
   ========================================================================== */
@media (min-width: 1001px) {
    .dmc-grid--3 > :first-child:nth-last-child(4), .dmc-grid--3 > :first-child:nth-last-child(4) ~ *
        { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
    .dmc-grid--3 > :first-child:nth-last-child(7), .dmc-grid--3 > :first-child:nth-last-child(7) ~ *
        { flex-basis: calc((100% - 4.5rem) / 4); max-width: calc((100% - 4.5rem) / 4); }

    .dmc-grid--4 > :first-child:nth-last-child(5), .dmc-grid--4 > :first-child:nth-last-child(5) ~ *,
    .dmc-grid--4 > :first-child:nth-last-child(9), .dmc-grid--4 > :first-child:nth-last-child(9) ~ *,
    .dmc-steps > :first-child:nth-last-child(5), .dmc-steps > :first-child:nth-last-child(5) ~ *,
    .dmc-team > :first-child:nth-last-child(5), .dmc-team > :first-child:nth-last-child(5) ~ *,
    .dmc-team > :first-child:nth-last-child(9), .dmc-team > :first-child:nth-last-child(9) ~ *,
    .dmc-badges > :first-child:nth-last-child(5), .dmc-badges > :first-child:nth-last-child(5) ~ *,
    .dmc-journey > :first-child:nth-last-child(5), .dmc-journey > :first-child:nth-last-child(5) ~ *
        { flex-basis: calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }

    .dmc-grid--2 > :first-child:nth-last-child(3), .dmc-grid--2 > :first-child:nth-last-child(3) ~ *
        { flex-basis: calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
    .dmc-grid--2 > :last-child:nth-child(odd):not(:first-child):not(:nth-child(3))
        { flex-basis: 100%; max-width: 100%; }
}
@media (min-width: 641px) and (max-width: 1000px) {
    .dmc-grid--4 > :last-child:nth-child(odd):not(:first-child),
    .dmc-steps > :last-child:nth-child(odd):not(:first-child),
    .dmc-team > :last-child:nth-child(odd):not(:first-child),
    .dmc-badges > :last-child:nth-child(odd):not(:first-child),
    .dmc-industries > :last-child:nth-child(odd):not(:first-child),
    .dmc-journey > :last-child:nth-child(odd):not(:first-child),
    .dmc-grid--3 > :last-child:nth-child(odd):not(:first-child):not(:nth-child(3))
        { flex-basis: 100%; max-width: 100%; }
}
/* the check-list rows on sector pages (5 items in 2 columns): the 5th row runs full width and stays centred */
.dmc-grid--2 > .dmc-checks-row:last-child:nth-child(odd):not(:first-child) { justify-content: center; }
