/* Errand Manager — home page ([pdm_home]), v1.6.
   Colours come from the brand variables (see PDM_Brand), so each errand company's page follows its own colour.
   Fonts, corner style and hero options are set per page by the Home Page editor. */

body.pdm-has-home { overflow-x: hidden; }

.pdmh { --pdmh-max: 1120px; --r: 18px; --r-sm: 12px; --on: var(--pdm-on-primary, #fff); --soft: var(--pdm-brand-soft, #E8F1F3);
  font-family: var(--pdm-font-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); color: var(--pdm-text, #2E3A3F); line-height: 1.6; text-align: left; }
.pdmh.pdmh-r-square { --r: 4px; --r-sm: 3px; }
.pdmh.pdmh-r-round  { --r: 28px; --r-sm: 22px; }
.pdmh *, .pdmh *::before, .pdmh *::after { box-sizing: border-box; }
/* Break out of the theme's content column so the colour bands run edge to edge. */
.pdmh:not(.pdmh-contained) { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.pdmh-inner { max-width: var(--pdmh-max); margin: 0 auto; padding: 0 20px; }
.pdmh-narrow { max-width: 820px; }
.pdmh h1, .pdmh h2, .pdmh h3, .pdmh h4 { font-family: var(--pdm-font-heading, inherit); margin: 0; letter-spacing: -.01em; }
.pdmh p { margin: 0; }
.pdmh .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pdmh section[id], .pdmh header[id] { scroll-margin-top: 16px; }

/* ---------- buttons ---------- */
.pdmh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .85em 1.8em; border-radius: var(--r-sm);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; cursor: pointer; }
.pdmh-btn:hover { transform: translateY(-2px); }
.pdmh-btn-solid { background: #fff; color: var(--pdm-brand-text, var(--pdm-primary-dark, #2E5F6B)); box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.pdmh-btn-solid:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .26); }
.pdmh-btn-ghost { border-color: rgba(255, 255, 255, .75); border-color: color-mix(in srgb, currentColor 75%, transparent); color: inherit; background: transparent; }
.pdmh-btn-ghost:hover { background: rgba(255, 255, 255, .16); background: color-mix(in srgb, currentColor 14%, transparent); }

/* ---------- hero ---------- */
.pdmh-hero { position: relative; overflow: hidden; color: var(--on); display: flex; flex-direction: column;
  background: linear-gradient(135deg, var(--pdm-grad-start, var(--pdm-primary-dark, #2E5F6B)) 0%, var(--pdm-primary, #3F7D8C) 100%); }
.pdmh-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.pdmh-hero::after { content: ""; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -200px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.pdmh-hero-in { position: relative; z-index: 1; width: 100%; flex: 1; display: flex; flex-direction: column; }
.pdmh-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 22px 0; }
.pdmh-logo { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-size: 1.15rem; }
.pdmh-logo img { max-height: 46px; width: auto; display: block; }
.pdmh-logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .18); font-size: 1.3rem; }
.pdmh-nav-links { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.pdmh-nav-links a { color: inherit; text-decoration: none; font-weight: 600; padding: .5em 1em; border-radius: 99px; }
.pdmh-nav-links a:hover { background: rgba(255, 255, 255, .16); background: color-mix(in srgb, currentColor 14%, transparent); }
.pdmh-nav-rider { border: 1.5px solid rgba(255, 255, 255, .55); border: 1.5px solid color-mix(in srgb, currentColor 55%, transparent); }

.pdmh-hero-grid { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: 2rem 0 5rem; }
.pdmh-badge { display: inline-block; background: rgba(255, 255, 255, .16); background: color-mix(in srgb, currentColor 14%, transparent); padding: .35em 1em; border-radius: 99px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.pdmh h1 { color: inherit; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.07; margin: 1rem 0 1.1rem; }
.pdmh-sub { font-size: 1.14rem; opacity: .95; max-width: 36rem; }
.pdmh-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.3rem; }
.pdmh-track { display: flex; gap: 6px; max-width: 32rem; background: #fff; border-radius: var(--r); padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, .24); }
.pdmh-track input { flex: 1; min-width: 0; border: 0; background: transparent; color: #1f2933; padding: .75em 1em; font: inherit; font-size: .98rem; outline: none; box-shadow: none; }
.pdmh-track input::placeholder { color: #8a97a0; }
.pdmh-track button { border: 0; border-radius: var(--r-sm); padding: .7em 1.5em; font: inherit; font-weight: 700; cursor: pointer; background: var(--pdm-primary, #3F7D8C); color: var(--on); }
.pdmh-track button:hover { background: var(--pdm-primary-dark, #2E5F6B); }
.pdmh-hero-art { display: flex; justify-content: center; }
.pdmh-ill { width: 100%; max-width: 470px; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .22)); overflow: visible; }
.pdmh-route { animation: pdmh-flow 1.6s linear infinite; }
.pdmh-box { animation: pdmh-float 3.4s ease-in-out infinite; }
@keyframes pdmh-flow { to { stroke-dashoffset: -30; } }
@keyframes pdmh-float { 0%, 100% { transform: translate(196px, 196px); } 50% { transform: translate(196px, 188px); } }

/* hero height */
.pdmh-h-compact { min-height: 440px; }
.pdmh-h-normal  { min-height: 580px; }
.pdmh-h-tall    { min-height: 720px; }

/* hero with a full-width photo: the photo fills the hero, a brand-colour overlay keeps the text readable */
.pdmh-hero--photo { background: var(--pdm-primary-dark, #2E5F6B) var(--pdmh-photo) var(--pdmh-pos, center) / cover no-repeat; }
.pdmh-hero--photo::before { inset: 0; width: auto; height: auto; border-radius: 0; opacity: var(--pdmh-ov, .65);
  background: linear-gradient(105deg, var(--pdm-grad-start, var(--pdm-primary-dark, #2E5F6B)) 0%, var(--pdm-primary, #3F7D8C) 100%); }
.pdmh-hero--photo::after { inset: auto 0 0 0; width: auto; height: 38%; border-radius: 0; background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent); }
.pdmh-hero--photo .pdmh-hero-grid { grid-template-columns: minmax(0, 46rem); }
.pdmh-hero--photo h1, .pdmh-hero--photo .pdmh-sub, .pdmh-hero--photo .pdmh-badge { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }

/* "Fade" tint: strongest behind the text, letting the photo come through on the far side */
.pdmh-ov-fade.pdmh-hero--photo::before { -webkit-mask-image: linear-gradient(100deg, #000 28%, rgba(0, 0, 0, .12) 100%); mask-image: linear-gradient(100deg, #000 28%, rgba(0, 0, 0, .12) 100%); }
.pdmh-ov-fade.pdmh-a-center::before { -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, rgba(0, 0, 0, .25) 100%); mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, rgba(0, 0, 0, .25) 100%); }

/* centred hero */
.pdmh-a-center .pdmh-hero-text { text-align: center; margin: 0 auto; }
.pdmh-a-center .pdmh-sub { margin-left: auto; margin-right: auto; }
.pdmh-a-center .pdmh-cta-row { justify-content: center; }
.pdmh-a-center .pdmh-track { margin-left: auto; margin-right: auto; }
.pdmh-a-center .pdmh-hero-grid { grid-template-columns: minmax(0, 46rem); justify-content: center; }
.pdmh-a-center .pdmh-hero-art { display: none; }

/* ---------- sections ---------- */
.pdmh-section { padding: 5rem 0; }
.pdmh-bg-a { background: #fff; }
.pdmh-bg-b { background: var(--pdm-bg-alt, #EFF5F2); }
.pdmh-head { text-align: center; max-width: 42rem; margin: 0 auto 2.8rem; }
.pdmh-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; color: var(--pdm-text, #2E3A3F); }
.pdmh-head h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; margin: .9rem auto 0; background: var(--pdm-accent, #F2A65A); }
.pdmh-head p { color: var(--pdm-text-soft, #6B7B80); margin-top: .9rem; font-size: 1.05rem; }

/* cards */
.pdmh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1.3rem; }
.pdmh-card { background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 1.8rem 1.5rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); transition: transform .2s ease, box-shadow .2s ease; }
.pdmh-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }
.pdmh-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-sm); margin-bottom: 1.1rem; background: var(--soft); color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); }
.pdmh-card h3 { font-size: 1.15rem; margin-bottom: .45rem; color: var(--pdm-text, #2E3A3F); }
.pdmh-card p { color: var(--pdm-text-soft, #6B7B80); font-size: .98rem; }

/* steps */
.pdmh-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1.5rem; }
.pdmh-step { position: relative; text-align: center; padding: 0 .6rem; }
.pdmh-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--pdm-primary, #3F7D8C); color: var(--on); font-family: var(--pdm-font-heading, inherit); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 9px var(--soft); }
.pdmh-step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 46px); width: calc(100% - 92px + 1.5rem); border-top: 3px dashed var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); opacity: .4; }
.pdmh-step h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--pdm-text, #2E3A3F); }
.pdmh-step p { color: var(--pdm-text-soft, #6B7B80); max-width: 18rem; margin: 0 auto; }

/* pricing */
.pdmh-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; align-items: start; }
.pdmh-price-card { background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); overflow: hidden; }
.pdmh-price-card h3 { padding: 1.1rem 1.5rem; font-size: 1.05rem; background: var(--pdm-primary, #3F7D8C); color: var(--on); }
.pdmh-price-card ul { list-style: none; margin: 0; padding: .4rem 1.5rem; }
.pdmh-price-card li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--pdm-line, #E1E8E5); }
.pdmh-price-card li:last-child { border-bottom: 0; }
.pdmh-price-card li span { display: flex; flex-direction: column; min-width: 0; }
.pdmh-price-card li b { color: var(--pdm-text, #2E3A3F); }
.pdmh-price-card li small { color: var(--pdm-text-soft, #6B7B80); font-size: .85rem; }
.pdmh-price-card li em { font-style: normal; font-weight: 800; white-space: nowrap; color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); }
.pdmh-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; }
.pdmh-plan { text-align: center; background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 2rem 1.4rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); }
.pdmh-plan h3 { font-size: 1.1rem; color: var(--pdm-text, #2E3A3F); }
.pdmh-plan-price { font-family: var(--pdm-font-heading, inherit); font-size: 2rem; font-weight: 800; margin: .6rem 0 .3rem; color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); }
.pdmh-plan-note { color: var(--pdm-text-soft, #6B7B80); font-size: .95rem; }

/* stats band */
.pdmh-stats { background: var(--pdm-band, var(--pdm-primary-dark, #2E5F6B)); color: var(--on); padding: 3.4rem 0; }
.pdmh-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.pdmh-stat strong { display: block; font-family: var(--pdm-font-heading, inherit); font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1.1; }
.pdmh-stat strong::after { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; margin: .5rem auto .3rem; background: var(--pdm-accent, #F2A65A); }
.pdmh-stat span { opacity: .88; font-weight: 600; }

/* testimonials */
.pdmh-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.3rem; }
.pdmh-quote { margin: 0; background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 1.8rem 1.6rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); display: flex; flex-direction: column; gap: 1.2rem; position: relative; }
.pdmh-quote::before { content: "\201C"; position: absolute; top: .2rem; right: 1.2rem; font: 700 4.5rem/1 Georgia, serif; color: var(--pdm-accent, #F2A65A); opacity: .35; }
.pdmh-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 1.02rem; color: var(--pdm-text, #2E3A3F); font-style: normal; quotes: none; }
.pdmh-quote figcaption { display: flex; align-items: center; gap: .7rem; font-weight: 700; margin-top: auto; }
.pdmh-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pdm-primary, #3F7D8C); color: var(--on); font-weight: 800; flex: none; }

/* FAQ */
.pdmh-faq { display: grid; gap: .8rem; }
.pdmh-faq details { background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r-sm); box-shadow: 0 2px 8px rgba(0, 0, 0, .03); }
.pdmh-faq details[open] { border-color: var(--pdm-primary, #3F7D8C); }
.pdmh-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; position: relative; color: var(--pdm-text, #2E3A3F); }
.pdmh-faq summary::-webkit-details-marker { display: none; }
.pdmh-faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); transition: transform .2s ease; }
.pdmh-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pdmh-faq summary:focus-visible { outline: 3px solid var(--pdm-accent, #F2A65A); outline-offset: 2px; border-radius: var(--r-sm); }
.pdmh-faq details p { padding: 0 1.3rem 1.2rem; color: var(--pdm-text-soft, #6B7B80); }

/* closing banner */
.pdmh-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem 2rem; flex-wrap: wrap; border-radius: calc(var(--r) + 8px); padding: 2.8rem 2.5rem; color: var(--on);
  background: linear-gradient(135deg, var(--pdm-grad-start, var(--pdm-primary-dark, #2E5F6B)) 0%, var(--pdm-primary, #3F7D8C) 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .16); }
.pdmh-cta h2 { color: inherit; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.pdmh-cta p { opacity: .92; font-size: 1.05rem; }
.pdmh-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* footer */
.pdmh-foot { background: var(--pdm-band, var(--pdm-primary-dark, #2E5F6B)); color: var(--on); padding: 3rem 0 1.4rem; font-size: .95rem; }
.pdmh-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 1.8rem; }
.pdmh-foot strong { font-family: var(--pdm-font-heading, inherit); font-size: 1.25rem; }
.pdmh-foot-about p { margin-top: .6rem; opacity: .88; max-width: 24rem; }
.pdmh-foot h4 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: .7rem; color: inherit; }
.pdmh-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pdmh-foot a { color: inherit; text-decoration: none; opacity: .92; }
.pdmh-foot a:hover { text-decoration: underline; opacity: 1; }
.pdmh-copy { border-top: 1px solid rgba(255, 255, 255, .22); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); padding-top: 1.1rem; opacity: .8; font-size: .88rem; }

/* WhatsApp */
.pdmh-wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 9999; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .15s ease; }
.pdmh-wa:hover { transform: scale(1.07); }


/* "Install our app" strip — the last thing on the page, always visible (hidden by JS only when the app is already installed) */
.pdmh-install { background: var(--soft); color: var(--pdm-text, #2E3A3F); padding: 1.1rem 0; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--pdm-line, #E1E8E5); }
.pdmh-install[hidden] { display: none; }
.pdmh-install-in { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; text-align: left; }
.pdmh-install-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--pdm-primary, #3F7D8C); color: var(--on); }
.pdmh-install-text { display: grid; gap: 2px; line-height: 1.35; min-width: 0; }
.pdmh-install-text b { font-size: 1.02rem; }
.pdmh-install-text small { font-size: .88rem; color: var(--pdm-text-soft, #6B7B80); max-width: 26rem; }
.pdmh-install-text small:empty { display: none; }
.pdmh-install-btn { flex: none; border: 0; border-radius: var(--r-sm); padding: .7em 1.5em; min-height: 46px; font: inherit; font-weight: 700; cursor: pointer; background: var(--pdm-primary, #3F7D8C); color: var(--on); box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }
.pdmh-install-btn:hover { background: var(--pdm-primary-dark, #2E5F6B); }
@media (max-width: 520px) { .pdmh-install-in { flex-direction: column; text-align: center; } .pdmh-install-btn { width: 100%; } }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .pdmh-ov-fade.pdmh-hero--photo::before { -webkit-mask-image: none; mask-image: none; } /* text spans the full width on phones: keep it readable */
  .pdmh-hero-grid { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.2rem 0 3.6rem; }
  .pdmh-hero-art { order: -1; }
  .pdmh-ill { max-width: 330px; }
  .pdmh-h-compact { min-height: 0; } .pdmh-h-normal { min-height: 480px; } .pdmh-h-tall { min-height: 560px; }
  .pdmh-step-list { grid-template-columns: 1fr; gap: 2rem; }
  .pdmh-step:not(:last-child)::after { display: none; }
  .pdmh-section { padding: 3.4rem 0; }
  .pdmh-cta { padding: 2rem 1.5rem; }
  .pdmh-foot-grid { grid-template-columns: 1fr 1fr; }
  .pdmh-foot-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .pdmh-nav { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .pdmh-nav-links { justify-content: flex-start; }
  .pdmh-a-center .pdmh-nav-links { justify-content: center; }
  .pdmh-btn { width: 100%; }
  .pdmh-cta-actions, .pdmh-cta-actions .pdmh-btn { width: 100%; }
  .pdmh-track { flex-direction: column; background: transparent; box-shadow: none; padding: 0; gap: 8px; }
  .pdmh-track input { background: #fff; border-radius: var(--r-sm); }
  .pdmh-track button { border-radius: var(--r-sm); min-height: 48px; background: #fff; color: var(--pdm-brand-text, var(--pdm-primary-dark, #2E5F6B)); }
  .pdmh-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pdmh-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pdmh-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pdmh-route, .pdmh-box { animation: none; }
  .pdmh-btn, .pdmh-card, .pdmh-wa, .pdmh-faq summary::after { transition: none; }
}


/* ==========================================================================
   v1.8 — company pages (About, Services, Runner Partners, Branches, Contact, policies)
   Same variables as the home page, so they follow the brand colour, fonts and corner style.
   ========================================================================== */

/* the pages carry their own headline, so hide the theme's duplicate page title */
body.pdm-has-site-page .entry-header, body.pdm-has-site-page .page-header, body.pdm-has-site-page h1.entry-title, body.pdm-has-site-page .page-title { display: none; }

/* compact hero used by the inner pages */
.pdmh-hero--page { min-height: 0; }
.pdmh-hero--page .pdmh-hero-grid { grid-template-columns: minmax(0, 46rem); padding: 1.4rem 0 3.8rem; gap: 0; }
.pdmh-hero--page h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.pdmh-hero--page .pdmh-cta-row { margin-bottom: 0; }

/* header menu */
.pdms-nav { flex-wrap: wrap; }
.pdms-links { align-items: center; }
.pdms-links a.is-current { background: rgba(255, 255, 255, .2); background: color-mix(in srgb, currentColor 18%, transparent); }
.pdms-links a.pdms-track { background: #fff; color: var(--pdm-brand-text, var(--pdm-primary-dark, #2E5F6B)); margin-left: .3rem; }
.pdms-links a.pdms-track:hover { background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.pdms-toggle, .pdms-burger { display: none; }

/* more button styles for white sections */
.pdmh-btn-brand { background: var(--pdm-primary, #3F7D8C); color: var(--on); box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.pdmh-btn-brand:hover { background: var(--pdm-primary-dark, #2E5F6B); color: var(--on); }
.pdmh-btn-line { border-color: var(--pdm-primary, #3F7D8C); color: var(--pdm-brand-text, var(--pdm-primary-dark, #2E5F6B)); background: transparent; }
.pdmh-btn-line:hover { background: var(--soft); }
.pdms-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.pdms-small { text-align: center; margin-top: 1.1rem; color: var(--pdm-text-soft, #6B7B80); font-size: .95rem; }
.pdms-small a, .pdms-contact-card em, .pdms-branch-list a, .pdms-office a { color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); }
.pdms-center { text-align: center; margin-top: 1.8rem; }

/* plain text blocks */
.pdms-prose { text-align: center; }
.pdmh .pdms-prose p { font-size: 1.15rem; color: var(--pdm-text, #2E3A3F); }

/* "Good to know" panel */
.pdms-panel { display: flex; gap: 1.2rem; align-items: flex-start; background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-left: 5px solid var(--pdm-accent, #F2A65A); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); }
.pdms-panel .pdmh-ico { flex: none; margin-bottom: 0; }
.pdmh .pdms-panel p { font-size: 1.05rem; }

/* branches */
.pdms-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; align-items: start; }
.pdms-city { background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 1.8rem 1.6rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); }
.pdms-tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3em .85em; border-radius: 99px; background: var(--soft); color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); }
.pdms-city h3 { font-size: 1.5rem; margin: .8rem 0 .1rem; color: var(--pdm-text, #2E3A3F); }
.pdmh .pdms-count { color: var(--pdm-text-soft, #6B7B80); font-size: .92rem; }
.pdms-branch-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.pdms-branch-list li { display: flex; flex-direction: column; gap: .15rem; padding-top: .9rem; border-top: 1px solid var(--pdm-line, #E1E8E5); }
.pdms-branch-list span { color: var(--pdm-text-soft, #6B7B80); }
.pdms-branch-list a { font-weight: 700; text-decoration: none; }

/* contact */
.pdms-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.pdms-contact-card { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 1.6rem 1.4rem; color: inherit; text-decoration: none; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); transition: transform .2s ease, box-shadow .2s ease; }
.pdms-contact-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }
.pdms-contact-card .pdmh-ico { margin-bottom: .7rem; }
.pdms-contact-card b { font-size: 1.12rem; color: var(--pdm-text, #2E3A3F); }
.pdms-cc-sub { color: var(--pdm-text-soft, #6B7B80); font-size: .95rem; }
.pdms-contact-card em { font-style: normal; font-weight: 800; margin-top: .5rem; word-break: break-word; }
.pdms-quote { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; align-items: center; background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 2rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); }
.pdms-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.pdms-checks li { position: relative; padding-left: 2rem; }
.pdms-checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--pdm-primary, #3F7D8C); color: var(--on); }
.pdms-quote-act { display: flex; justify-content: center; }
.pdms-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.pdms-office { background: #fff; border: 1px solid var(--pdm-line, #E1E8E5); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--pdm-shadow, 0 8px 24px rgba(0, 0, 0, .06)); }
.pdms-office h3 { font-size: 1.1rem; margin-bottom: .4rem; color: var(--pdm-text, #2E3A3F); }
.pdmh .pdms-office p { color: var(--pdm-text-soft, #6B7B80); }

/* policy pages */
.pdmh-legal { max-width: 760px; margin: 0 auto; }
.pdmh .pdmh-legal-meta { color: var(--pdm-text-soft, #6B7B80); font-size: .92rem; margin-bottom: 1.4rem; }
.pdmh .pdmh-legal p { margin: 0 0 1rem; font-size: 1.02rem; }
.pdmh-legal ul { margin: 0 0 1.1rem; padding-left: 1.3rem; display: grid; gap: .45rem; }
.pdmh-legal a { color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); text-decoration: underline; }
.pdmh-legal-sec { margin-top: 2.1rem; }
.pdmh-legal-sec h2 { font-size: 1.25rem; line-height: 1.3; margin-bottom: .75rem; color: var(--pdm-text, #2E3A3F); }
.pdmh-legal-related { margin: 3rem auto 0; max-width: 760px; padding-top: 1.4rem; border-top: 1px solid var(--pdm-line, #E1E8E5); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; }
.pdmh-legal-related b { color: var(--pdm-text, #2E3A3F); }
.pdmh-legal-related a { color: var(--pdm-brand-text, var(--pdm-primary, #3F7D8C)); font-weight: 600; }

/* four-column footer */
.pdmh-foot-grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
.pdmh-copy { margin-top: .2rem; }

@media (max-width: 860px) {
  .pdmh-hero--page .pdmh-hero-grid { padding: .8rem 0 2.8rem; }
  .pdmh-foot-grid--4 { grid-template-columns: 1fr 1fr; }
  .pdms-quote { grid-template-columns: 1fr; padding: 1.5rem; }

  /* collapsible menu (no JavaScript: a hidden checkbox + label) */
  .pdms-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
  .pdms-burger { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; cursor: pointer; border-radius: var(--r-sm); border: 1.5px solid rgba(255, 255, 255, .55); border: 1.5px solid color-mix(in srgb, currentColor 55%, transparent); }
  .pdms-burger span, .pdms-burger span::before, .pdms-burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
  .pdms-burger span { position: relative; }
  .pdms-burger span::before, .pdms-burger span::after { content: ""; position: absolute; left: 0; }
  .pdms-burger span::before { top: -6px; }
  .pdms-burger span::after { top: 6px; }
  .pdms-toggle:focus-visible + .pdms-burger { outline: 3px solid var(--pdm-accent, #F2A65A); outline-offset: 2px; }
  .pdmh-site .pdms-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .2rem; padding: .6rem 0 .4rem; }
  .pdms-toggle:checked ~ .pdms-links { display: flex; }
  .pdms-links a { padding: .85em 1em; }
  .pdms-links a.pdms-track { margin: .4rem 0 0; text-align: center; }
}
@media (max-width: 520px) {
  .pdmh-site .pdms-nav { flex-direction: row; align-items: center; }
  .pdmh-foot-grid--4 { grid-template-columns: 1fr; }
  .pdms-panel { flex-direction: column; }
  .pdms-actions .pdmh-btn { width: 100%; }
}
