/* Shared local/service-page template — content is supplied by PHP page configs. */
.page_dsl_template {
  --dsl-blue: #7793c4;
  --dsl-blue-dark: #305161;
  --dsl-ink: #24485a;
  --dsl-copy: #53656e;
  --dsl-paper: #f7f8f6;
  --dsl-line: #e6ebed;
  --dsl-radius-button: 11px;
  --dsl-radius-image: 15px;
  background: #fff;
}

.dsl-page { color: var(--dsl-copy); overflow: hidden; }
.dsl-page *, .dsl-page *::before, .dsl-page *::after { box-sizing: border-box; }
.dsl-page section { padding: 0; }
.dsl-page img { display: block; max-width: 100%; }
.dsl-shell { position: relative; width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.dsl-page h1, .dsl-page h2, .dsl-page h3, .dsl-page p, .dsl-page figure, .dsl-page blockquote { margin-top: 0; }
.dsl-page h1, .dsl-page h2, .dsl-page h3 { color: var(--dsl-ink); text-wrap: balance; }
.dsl-page h2 { margin-bottom: 24px; font-size: clamp(30px, 3.1vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; }
.dsl-page h3 { font-weight: 600; }
.dsl-page p { max-width: 64ch; margin-bottom: 18px; color: var(--dsl-copy); font-size: 17px; line-height: 1.72; }
.dsl-page a:focus-visible { outline: 3px solid rgba(119, 147, 196, .48); outline-offset: 4px; }

.dsl-hero { padding-top: 116px !important; background: #fff; }
.dsl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr); min-height: 625px; }
.dsl-hero-copy { position: relative; z-index: 1; align-self: center; padding: 70px 48px 116px 0; }
.dsl-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; color: #82919a; font-size: 13px; font-weight: 500; }
.dsl-breadcrumb a { color: var(--dsl-blue); }
.dsl-page .dsl-hero h1 { margin-bottom: 28px; color: var(--dsl-ink); font-size: clamp(42px, 3.9vw, 58px); font-weight: 700; line-height: 1.08; letter-spacing: -0.05em; }
.dsl-hero-lead { color: #3e5966 !important; font-size: 19px !important; font-weight: 500; line-height: 1.55 !important; }
.dsl-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.dsl-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 15px 24px; border-radius: var(--dsl-radius-button); font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center; transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease; }
.dsl-button:hover, .dsl-button:focus-visible { transform: translateY(-2px); }
.dsl-button:active { transform: translateY(1px) scale(.99); }
.dsl-button-primary { background: var(--dsl-blue); box-shadow: 0 10px 24px rgba(48, 81, 97, .14); color: #fff; }
.dsl-button-primary:hover, .dsl-button-primary:focus-visible { background: #5f7fb7; color: #fff; box-shadow: 0 14px 30px rgba(48, 81, 97, .19); }
.dsl-phone-link { display: inline-flex; align-items: center; gap: 10px; color: var(--dsl-blue); font-size: 18px; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.dsl-phone-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; vertical-align: -.12em; }

.dsl-hero-visual { min-height: 625px; margin-bottom: 0; overflow: hidden; border-radius: var(--dsl-radius-image); }
.dsl-hero-visual img { width: 100%; height: 100%; min-height: 625px; object-fit: cover; object-position: 48% center; }
.dsl-proof-card { position: absolute; z-index: 1; left: 0; bottom: -35px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(690px, 67%); padding: 20px; border: 1px solid rgba(48, 81, 97, .08); border-radius: 11px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 45px rgba(48, 81, 97, .14); }
.dsl-proof-item { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 0 18px; border-right: 1px solid var(--dsl-line); }
.dsl-proof-item:first-child { padding-left: 0; }
.dsl-proof-item:last-child { padding-right: 0; border-right: 0; }
.dsl-proof-item img { width: 34px; height: 34px; flex: 0 0 34px; }
.dsl-proof-icon { color: var(--dsl-blue); font-size: 35px; font-weight: 300; line-height: 1; }
.dsl-proof-item strong, .dsl-proof-item small { display: block; }
.dsl-proof-item strong { margin-bottom: 3px; color: var(--dsl-ink); font-size: 16px; font-weight: 600; }
.dsl-proof-item small { color: #75838b; font-size: 14px; line-height: 1.4; }
.dsl-flag { display: flex; width: 32px; height: 23px; flex: 0 0 32px; overflow: hidden; border-radius: 2px; box-shadow: 0 1px 4px rgba(48, 81, 97, .15); }
.dsl-flag i { width: 33.333%; height: 100%; background: #111; }
.dsl-flag i:nth-child(2) { background: #ffd90c; }
.dsl-flag i:nth-child(3) { background: #ef3340; }

.dsl-trust { margin-top: 60px; border-top: 1px solid #f0f3f4; border-bottom: 1px solid #f0f3f4; background: #fbfcfb; }
.dsl-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.dsl-trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding-inline: 24px; border-right: 1px solid var(--dsl-line); color: #52636c; font-size: 16px; font-weight: 500; line-height: 1.45; }
.dsl-trust-item:last-child { border-right: 0; }
.dsl-trust-item img { width: 46px; height: 46px; flex: 0 0 38px; object-fit: contain; }

.dsl-editorial, .dsl-features, .dsl-process, .dsl-testimonials { background: #fff; }
.dsl-editorial { padding-top: 108px !important; }
.dsl-editorial-grid, .dsl-features-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); gap: 84px; align-items: center; }
.dsl-section-copy { padding-left: 8px; }
.dsl-eyebrow { margin-bottom: 18px !important; color: var(--dsl-blue) !important; font-size: 12px !important; font-weight: 600; letter-spacing: .065em; line-height: 1.35 !important; text-transform: uppercase; }
.dsl-editorial-visual, .dsl-feature-visual { margin-bottom: 0; overflow: hidden; border-radius: var(--dsl-radius-image); background: var(--dsl-paper); }
.dsl-editorial-visual { height: 470px; }
.dsl-editorial-visual img, .dsl-feature-visual img { width: 100%; height: 100%; object-fit: cover; }

.dsl-features { padding: 78px 0 36px !important; }
.dsl-features-grid { grid-template-columns: minmax(520px, 1fr) minmax(0, .92fr); }
.dsl-feature-visual { position: relative; height: 490px; }
.dsl-feature-visual img { object-position: 42% center; }
.dsl-marker, .dsl-list-number, .dsl-process-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 600; line-height: 1; }
.dsl-marker, .dsl-list-number { background: var(--dsl-blue); color: #fff; }
.dsl-process-number { background: #fce5e1; color: var(--dsl-blue-dark); }
.dsl-marker { position: absolute; box-shadow: 0 5px 14px rgba(48, 81, 97, .2); }
.dsl-marker-1 { left: 45%; bottom: 4%; }
.dsl-marker-2 { left: 38%; top: 57%; }
.dsl-marker-3 { left: 70%; top: 25%; }
.dsl-marker-4 { left: 17%; bottom: 10%; }
.dsl-feature-list, .dsl-process-list { margin: 0; padding: 0; list-style: none; }
.dsl-feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; margin-bottom: 21px; }
.dsl-feature-list li:last-child { margin-bottom: 0; }
.dsl-list-number { margin-top: 1px; }
.dsl-feature-list strong { display: block; margin-bottom: 3px; color: var(--dsl-ink); font-size: 16px; font-weight: 600; }
.dsl-feature-list p { margin: 0; font-size: 14px; line-height: 1.5; }

.dsl-process { padding: 54px 0 90px !important; }
.dsl-process .dsl-eyebrow { padding-bottom: 16px; border-bottom: 1px solid var(--dsl-line); }
.dsl-process-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.dsl-process-list li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px 30px 0 0; }
.dsl-process-number { width: 28px; height: 28px; flex: 0 0 28px; }
.dsl-process-content { min-width: 0; }
.dsl-process-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dsl-process-icon { width: 46px; height: 46px; object-fit: contain; }
.dsl-process-list strong { display: block; margin: 0; color: var(--dsl-ink); font-size: 15px; font-weight: 600; }
.dsl-process-list p { margin: 0; font-size: 14px; line-height: 1.55; }

.dsl-local { padding: 72px 0 76px !important; background: var(--dsl-paper); }
.dsl-local-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.dsl-local h2 { font-size: clamp(30px, 3vw, 44px); }
.dsl-local p { margin-bottom: 0; font-size: 15px; line-height: 1.7; }
.dsl-aid { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding-left: 58px; border-left: 1px solid #dce3e5; }
.dsl-aid-symbol { display: flex; align-items: center; justify-content: center; width: 58px; height: 70px; border: 2px solid var(--dsl-blue); border-radius: 5px 5px 13px 5px; color: var(--dsl-blue); font-size: 30px; font-weight: 500; }
.dsl-aid h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.25; }
.dsl-aid p { margin-bottom: 18px; }
.dsl-aid a { color: var(--dsl-blue); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.dsl-testimonials { padding: 64px 0 !important; }
.dsl-testimonial-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 58px; align-items: stretch; }
.dsl-quote { position: relative; margin-bottom: 0; padding: 8px 0 8px 42px; border-left: 1px solid var(--dsl-line); }
.dsl-quote-primary { padding-left: 82px; border-left: 0; }
.dsl-quote-primary::before { content: "\201C"; position: absolute; left: 0; top: -18px; color: var(--dsl-blue); font-size: 92px; font-weight: 600; line-height: 1; }
.dsl-quote p { margin-bottom: 17px; color: var(--dsl-ink); font-size: 20px; line-height: 1.55; }
.dsl-quote-primary p { font-size: 23px; }
.dsl-quote footer { color: var(--dsl-blue); font-size: 14px; font-weight: 600; }

.dsl-final-cta { padding: 48px 0 !important; background: var(--dsl-blue-dark); }
.dsl-cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: 50px; align-items: center; }
.dsl-final-cta h2 { margin-bottom: 6px; color: #fff; font-size: clamp(27px, 2.8vw, 40px); }
.dsl-final-cta p { margin: 0; color: rgba(255, 255, 255, .76); font-size: 15px; }
.dsl-button-light { min-width: 240px; background: var(--dsl-blue); color: #fff; box-shadow: 0 10px 28px rgba(19, 44, 56, .24); }
.dsl-button-light:hover, .dsl-button-light:focus-visible { background: #8ca5d0; color: #fff; }
.dsl-cta-phone { color: #fff; font-size: 20px; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 5px; }
.dsl-cta-phone { display: inline-flex; align-items: center; gap: 9px; }
.dsl-cta-phone:hover, .dsl-cta-phone:focus-visible { color: #dbe4f3; }
.dsl-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1080px) {
  .dsl-shell { width: min(100% - 48px, 960px); }
  .dsl-hero-grid { grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr); }
  .dsl-hero-copy { padding-right: 44px; }
  .dsl-proof-card { width: min(720px, 76%); }
  .dsl-editorial-grid, .dsl-features-grid { gap: 54px; }
  .dsl-process-list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .dsl-local-grid { gap: 50px; }
  .dsl-aid { padding-left: 42px; }
  .dsl-cta-grid { gap: 30px; }
}

@media (max-width: 820px) {
  .dsl-shell { width: min(100% - 40px, 720px); }
  .dsl-hero { padding-top: 86px !important; }
  .dsl-hero-grid { display: grid; grid-template-columns: 1fr; min-height: 0; }
  .dsl-hero-copy {
    grid-area: 1 / 1;
    z-index: 1;
    align-self: end;
    width: min(590px, calc(100% - 48px));
    margin: 24px 24px 64px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 16px;
    background: rgba(24, 48, 60, .26);
    box-shadow: 0 20px 50px rgba(27, 49, 60, .14), inset 0 1px 0 rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(1px) saturate(110%);
    backdrop-filter: blur(5px) saturate(110%);
    text-shadow: 0 1px 2px rgba(15, 34, 43, .28);
  }
  .dsl-page .dsl-hero h1 { color: #fff; font-size: clamp(40px, 8vw, 56px); }
  .dsl-hero-copy p,
  .dsl-hero-copy .dsl-hero-lead { color: rgba(255, 255, 255, .94) !important; }
  .dsl-hero-copy .dsl-breadcrumb { color: rgba(255, 255, 255, .74); }
  .dsl-hero-copy .dsl-breadcrumb a { color: #e3ebf7; }
  .dsl-hero-copy .dsl-phone-link,
  .dsl-hero-copy .dsl-phone-link:hover,
  .dsl-hero-copy .dsl-phone-link:focus { color: #fff; }
  .dsl-hero-visual, .dsl-hero-visual img { min-height: 0; }
  .dsl-hero-visual { grid-area: 1 / 1; height: 660px; border-radius: var(--dsl-radius-image); }
  .page_dsm .dsl-hero-visual { height: 720px; }
  .dsl-proof-card { position: relative; grid-column: 1; grid-row: 2; bottom: auto; width: calc(100% - 32px); margin: -38px auto 0; }
  .dsl-trust { margin-top: 32px; }
  .dsl-trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .dsl-trust-item:nth-child(2) { border-right: 0; }
  .dsl-editorial { padding-top: 78px !important; }
  .dsl-editorial-grid, .dsl-features-grid { grid-template-columns: 1fr; gap: 40px; }
  .dsl-editorial-visual, .dsl-feature-visual { height: min(74vw, 500px); }
  .dsl-features { padding-top: 70px !important; }
  .dsl-feature-copy { order: -1; }
  .dsl-local-grid, .dsl-testimonial-grid, .dsl-cta-grid { grid-template-columns: 1fr; }
  .dsl-aid { padding: 38px 0 0; border-top: 1px solid #dce3e5; border-left: 0; }
  .dsl-testimonial-grid { gap: 34px; }
  .dsl-quote:not(.dsl-quote-primary) { margin-left: 82px; }
  .dsl-final-cta { text-align: center; }
  .dsl-cta-grid { justify-items: center; gap: 24px; }
}

@media (max-width: 560px) {
  .dsl-shell { width: calc(100% - 32px); }
  .dsl-page h2 { font-size: 31px; }
  .dsl-page p { font-size: 16px; }
  .dsl-hero-copy { width: calc(100% - 24px); margin: 12px 12px 54px; padding: 24px; border-radius: 14px; }
  .dsl-breadcrumb { margin-bottom: 24px; }
  .dsl-page .dsl-hero h1 { font-size: 39px; letter-spacing: -0.045em; }
  .dsl-hero-lead { font-size: 17px !important; }
  .dsl-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .dsl-phone-link { justify-content: center; }
  .dsl-hero-visual { height: 720px; max-height: none; }
  .page_dsm .dsl-hero-visual { height: 780px; }
  .dsl-proof-card { grid-template-columns: 1fr; gap: 18px; width: calc(100% - 20px); padding: 22px; }
  .dsl-proof-item, .dsl-proof-item:first-child, .dsl-proof-item:last-child { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--dsl-line); }
  .dsl-proof-item:last-child { padding-bottom: 0; border-bottom: 0; }
  .dsl-proof-item small { font-size: 12px; }
  .dsl-trust-grid { grid-template-columns: 1fr; padding-block: 22px; }
  .dsl-trust-item, .dsl-trust-item:nth-child(2) { justify-content: flex-start; padding: 18px 12px; border-right: 0; border-bottom: 1px solid var(--dsl-line); }
  .dsl-trust-item:last-child { border-bottom: 0; }
  .dsl-editorial { padding-top: 62px !important; }
  .dsl-editorial-visual, .dsl-feature-visual { height: 82vw; }
  .dsl-features { padding-top: 58px !important; }
  .dsl-feature-list li { gap: 13px; }
  .dsl-process { padding: 50px 0 64px !important; }
  .dsl-process-list { grid-template-columns: 1fr; }
  .dsl-process-list li { padding: 20px 0; border-bottom: 1px solid var(--dsl-line); }
  .dsl-local { padding: 58px 0 62px !important; }
  .dsl-aid { grid-template-columns: 48px 1fr; gap: 18px; }
  .dsl-aid-symbol { width: 46px; height: 56px; font-size: 23px; }
  .dsl-aid h3 { font-size: 20px; }
  .dsl-testimonials { padding: 54px 0 !important; }
  .dsl-quote, .dsl-quote-primary, .dsl-quote:not(.dsl-quote-primary) { margin-left: 0; padding-left: 54px; }
  .dsl-quote-primary::before { font-size: 66px; }
  .dsl-quote p, .dsl-quote-primary p { font-size: 18px; }
  .dsl-final-cta { padding: 46px 0 52px !important; }
  .dsl-button-light { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dsl-button { transition: none; }
}
