/* Service-page layout; shared Dental header, form, footer and dock keep their own styles. */
.dp-pilot {
  --dp-teal: #0b2122;
  --dp-deep: #102827;
  --dp-mint: #a9ded0;
  --dp-cream: #f5f1e7;
  --dp-paper: #f9f6ed;
  --dp-ink: #192e28;
  --dp-muted: #485950;
  --dp-rule: #cdd2c2;
  --dp-gutter: clamp(18px, 4.6vw, 67px);
  --dp-space: clamp(42px, 6.2vw, 88px);
}

.dp-pilot .dp-wrap,
.dp-pilot .dp-hero-grid {
  width: min(1260px, calc(100% - var(--dp-gutter) * 2));
  margin-inline: auto;
}
.dp-pilot .dp-hero {
  color: #f2f5ed;
  background: var(--dp-teal);
  padding-block: clamp(34px, 6.25vw, 88px);
}
.dp-pilot .dp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(26px, 5.6vw, 80px);
}
.dp-pilot .dp-hero-copy, .dp-pilot .dp-hero-art, .dp-pilot .dp-tile { min-width: 0; }
.dp-pilot .dp-crumbs {
  display: flex; flex-wrap: wrap; gap: 4px 9px; color: #afc7bd;
  font-size: .79rem; line-height: 1.45; margin-bottom: clamp(16px, 2.5vw, 32px);
}
.dp-pilot .dp-crumbs a { color: inherit; text-underline-offset: .25em; text-decoration: underline; }
.dp-pilot .dp-kicker {
  margin: 0 0 9px; color: #076d60; font-size: .76rem;
  font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}
.dp-pilot .dp-hero .dp-kicker, .dp-pilot .dp-dark .dp-kicker { color: var(--dp-mint); }
.dp-pilot .dp-hero h1 {
  margin: 0; color: inherit; font-size: clamp(37px, 5.8vw, 79px);
  line-height: 1.02; letter-spacing: -.065em; font-weight: 800;
}
.dp-pilot .dp-hero h1 span { display: block; color: var(--dp-mint); }
.dp-pilot .dp-lead {
  max-width: 44ch; margin: clamp(12px, 2vw, 22px) 0 20px; color: #e2eee6;
  font-size: clamp(16px, 1.75vw, 20px); line-height: 1.52;
}
.dp-pilot .dp-hero .actions { display: flex; margin-top: 0; }
.dp-pilot .dp-note { max-width: 55ch; margin: 12px 0 0; color: #b8d1c8; font-size: .87rem; line-height: 1.48; }
.dp-pilot .dp-hero-art { margin: 0; }
.dp-pilot .dp-hero-art picture, .dp-pilot .dp-hero-art img { display: block; width: 100%; }
.dp-pilot .dp-hero-art img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 16px; }

.dp-pilot .dp-section { padding-block: var(--dp-space); }
.dp-pilot .dp-paper { color: var(--dp-ink); background: var(--dp-paper); }
.dp-pilot .dp-alt { color: var(--dp-ink); background: var(--dp-cream); }
.dp-pilot .dp-dark { background: var(--dp-deep); color: #f2f5ed; }
.dp-pilot .dp-heading { margin-bottom: clamp(18px, 3.5vw, 38px); }
.dp-pilot .dp-heading h2 {
  margin: 0; font-size: clamp(30px, 4.25vw, 60px);
  line-height: 1.07; letter-spacing: -.051em; font-weight: 800; color: inherit;
}
.dp-pilot .dp-heading > p:not(.dp-kicker) {
  max-width: 55ch; margin: 12px 0 0; color: var(--dp-muted);
  font-size: clamp(.97rem, 1.6vw, 1.125rem); line-height: 1.54;
}
.dp-pilot .dp-dark .dp-heading > p:not(.dp-kicker) { color: #cadbd3; }
.dp-pilot .dp-dark .dp-note a { color: var(--dp-mint); text-decoration: underline; text-underline-offset: .17em; }
.dp-pilot .dp-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 43px);
}
.dp-pilot .dp-tile { padding-top: 14px; border-top: 1px solid var(--dp-rule); }
.dp-pilot .dp-num { margin: 0 0 7px; color: #067466; font-weight: 820; font-size: .78rem; }
.dp-pilot .dp-tile h3 { margin: 0; font-size: clamp(17px, 2vw, 23px); line-height: 1.24; letter-spacing: -.025em; }
.dp-pilot .dp-tile p:not(.dp-num) { margin: 8px 0 0; color: var(--dp-muted); line-height: 1.52; }
.dp-pilot .dp-inline { display: inline-block; margin-top: 11px; font-size: .88rem; }
.dp-pilot :is(.dp-tile,.dp-boundary,.dp-disclosure) a { color: #07695d; text-decoration: underline; text-underline-offset: .19em; font-weight: 720; }
.dp-pilot .dp-boundary {
  margin: clamp(20px, 4vw, 38px) 0 0; padding: 8px 0 8px 13px;
  border-inline-start: 2px solid #229080; color: var(--dp-muted); line-height: 1.52;
}
.dp-pilot .dp-pair, .dp-pilot .dp-measure {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start; gap: clamp(22px, 5vw, 73px);
}
.dp-pilot :is(.dp-pair,.dp-measure) .dp-heading { margin: 0; min-width: 0; }
.dp-pilot .dp-metrics {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 20px; margin: 0;
}
.dp-pilot .dp-metrics > div { border-top: 1px solid #587973; padding: 11px 0 14px; }
.dp-pilot .dp-metrics dt { color: #c0d7cd; font-size: .88rem; line-height: 1.4; }
.dp-pilot .dp-metrics dd { margin: 7px 0 0; color: #f1f5ed; font-size: clamp(30px, 4.25vw, 51px); line-height: 1; font-weight: 820; letter-spacing: -.055em; }
.dp-pilot .dp-accent-stat dd { color: var(--dp-mint); }
@supports (grid-template-rows: subgrid) {
  .dp-pilot .dp-metrics { grid-template-rows: repeat(4, auto); row-gap: 0; }
  .dp-pilot .dp-metrics > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
}
.dp-pilot .dp-rules { margin: 0; }
.dp-pilot .dp-rules > div { border-top: 1px solid var(--dp-rule); padding: 12px 0; }
.dp-pilot .dp-rules dt { font-weight: 820; }
.dp-pilot .dp-rules dd { color: var(--dp-muted); margin: 5px 0 0; line-height: 1.5; }
.dp-pilot .dp-disclosure details { border-top: 1px solid var(--dp-rule); }
.dp-pilot .dp-disclosure details:last-child { border-bottom: 1px solid var(--dp-rule); }
.dp-pilot .dp-disclosure summary {
  display: grid; grid-template-columns: minmax(0,1fr) 19px; align-items: center; gap: 10px;
  list-style: none; padding-block: 12px; min-height: 50px; line-height: 1.35; cursor: pointer; font-weight: 750;
}
.dp-pilot .dp-disclosure summary::-webkit-details-marker { display: none; }
.dp-pilot .dp-disclosure summary::after { content: ""; width: 14px; height: 14px; background: linear-gradient(#07695d,#07695d) center/14px 2px no-repeat, linear-gradient(#07695d,#07695d) center/2px 14px no-repeat; justify-self: end; }
.dp-pilot .dp-disclosure details[open] summary::after { background-size: 14px 2px, 0 0; }
.dp-pilot .dp-disclosure details p { margin: 0 0 15px; color: var(--dp-muted); line-height: 1.56; }
.dp-pilot :is(.dp-disclosure summary, .dp-tile a, .dp-boundary a):focus-visible { outline: 2px solid #097468; outline-offset: 3px; }
.dp-pilot .dp-alias { display: block; height: 0; }
.dp-pilot #contact .dp-form-note { margin: 7px 0 0; color: #b8d1c8; font-size: .82rem; }
.dp-pilot .dp-hero-price { max-width: 40ch; margin: 0 0 20px; color: #d0e2d9; font-size: .96rem; }
.dp-pilot .dp-hero-price a { color: var(--dp-mint); text-decoration: underline; text-underline-offset: .18em; }
.dp-pilot .dp-work-example { margin-top: 16px; }
.dp-pilot .dp-crm-note { margin: 0 0 13px; color: var(--dp-muted); font-size: .9rem; }
.dp-pilot #economics .calc-adjustment input { --calc-progress: 0%; }
.dp-pilot #economics .dp-calc-fallback { margin-block: 0 14px; }
@media (max-width: 819px) {
  .dp-pilot #cabinet .crm-tabs {
    display: flex; flex-wrap: nowrap; gap: 4px; max-width: 100%; overflow-x: auto;
  }
  .dp-pilot #cabinet .crm-tabs button { flex: none; white-space: nowrap; border-top: 0; }
  .dp-pilot #team .dteam-photo.dental-photo-arch { border-radius: 0; }
  .dp-pilot #economics #calc-revenue { font-size: clamp(32px, 6vw, 50px); }
  .dp-pilot #main :is(.dp-hero-art, .desk-journey__photo, .dc-photo, .journal-photo,
    .clinic-economics-photo, .scene, .dserm-rating-art, .dteam-photo, .lo-audit-photo) img,
  .dp-pilot #main img:is(.crm-art, .editorial-process__photo) {
    position: static; display: block; height: auto; aspect-ratio: auto;
    object-fit: contain; mask-image: none; -webkit-mask-image: none;
  }
  .dp-pilot #main :is(.dc-photo, .desk-journey__photo, .journal-photo, .clinic-economics-photo,
    .scene, .dserm-rating-art, .dteam-photo, .lo-audit-photo) {
    height: auto; max-height: none; aspect-ratio: auto;
    mask-image: none; -webkit-mask-image: none;
  }
}
@media (min-width: 761px) {
  .dp-pilot #blog { --dp-blog-label: 16px; }
  .dp-pilot #blog .dp-num { line-height: var(--dp-blog-label); }
  .dp-pilot #blog .dp-tile:not([data-preview-draft])::before {
    content: "";
    display: block;
    block-size: calc(var(--dp-blog-label) + 7px);
  }
}

@media (max-width: 760px) {
  .dp-pilot { --dp-gutter: 18px; }
  .dp-pilot .dp-hero-grid, .dp-pilot .dp-grid,
  .dp-pilot .dp-measure, .dp-pilot .dp-pair { grid-template-columns: minmax(0, 1fr); }
  .dp-pilot .dp-hero { padding-block: 26px 34px; }
  .dp-pilot .dp-hero-grid { gap: 22px; }
  .dp-pilot .dp-hero h1 { font-size: clamp(35px, 10vw, 60px); }
  .dp-pilot .dp-hero-art img { border-radius: 11px; }
  .dp-pilot .dp-grid { row-gap: 17px; }
  .dp-pilot .dp-metrics { column-gap: 12px; }
}
