/* Detail-page layout. The same selectors style all ten original migration variants. */
.flyer-hero { padding: 40px 0  60px; }
.flyer-hero .hero-copy h1 { font-size: clamp(36px, 3.85vw, 54px); max-width: 800px; text-wrap: balance; }
.flyer-hero .hero-copy h1.heading-long { font-size: clamp(34px, 3.1vw, 44px); }
.flyer-hero .hero-description { margin-bottom: 16px; max-width: 620px; }
.hero-tagline { font-size: 11px; font-weight: 500; color: #ecece6; margin-bottom: 25px; letter-spacing: .01em; }
.hero-notice { display: flex; align-items: flex-start; gap: 12px; padding: 13px 17px; margin-top: 30px; border: 1px solid #a99157; background: #f5c9610a; border-radius: 8px; }
.hero-notice > .icon { color: var(--dt-gold); width: 18px; height: 18px; margin-top: 2px; }
.hero-notice p { margin: 0; color: #efefe7; font-size: 11px; }
.section-nav { position: sticky; top: var(--dt-header-height); z-index: 1020; background: #fffffffa; border-bottom: 1px solid var(--dt-line); }
.section-nav > .container { min-height: var(--dt-nav-height); display: flex; align-items: center; gap: 30px; justify-content: space-between; }
.section-nav-scroll { display: flex; align-items: stretch; gap: 28px; overflow-x: auto; min-width: 0; scrollbar-width: thin; }
.section-nav-link { display: flex; align-items: center; justify-content: center; min-height: var(--dt-nav-height); border-bottom: 3px solid transparent; font-size: 12px; color: var(--dt-muted); font-weight: 500; padding: 2px 0 0; white-space: nowrap; }
.section-nav-link.active { color: var(--dt-text); border-bottom-color: var(--dt-gold); }
.section-nav-link:hover { color: var(--dt-text); }
.section-nav-link:focus-visible { outline-offset: -4px; }
.section-nav-cta { min-height: 40px; padding: 9px 16px; font-size: 10px; flex-shrink: 0; }
.section-nav-cta .icon { width: 15px; height: 15px; }
.overview-section h2 { white-space: pre-line; }
.overview-intro { color: var(--dt-muted); margin: 23px 0 0; line-height: 1.95; font-size: 14px; max-width: 540px; }
.overview-section { padding-bottom: 0; }
.overview-strip { margin-top: 64px; background: var(--dt-cream); border-bottom: 1px solid var(--dt-line); }
.pillars-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 36px 0; background: transparent; border-radius: 0; }
.pillar { display: block; padding: 0 32px; border: 0; border-left: 3px solid var(--dt-gold); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-icon { display: none; }
.pillar h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.pillar p { font-size: 15px; font-weight: 500; color: var(--dt-text); margin: 0; line-height: 1.8; max-width: 300px; }
/* Section heading CTA on the right */
.resources-section .section-heading-row, .related-section .section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.related-section .section-heading-row .text-link { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a67c2e; gap: 8px; }
.benefits-section { background: var(--dt-surface); }
.benefit-card { background: #fff; border: 1px solid #e6e6de; border-radius: 12px; padding: 27px; height: 100%; }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--dt-cream); color: var(--dt-charcoal); border-radius: 9px; margin-bottom: 22px; }
.benefit-icon .icon { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 18px; line-height: 1.45; letter-spacing: -.02em; margin-bottom: 11px; }
.benefit-card p { color: var(--dt-muted); font-size: 14px; line-height: 1.85; margin: 0; }
.process-intro { position: sticky; 
  top: calc(var(--dt-header-height) + var(--dt-nav-height) + 35px); 
}
.process-intro h2 { font-size: 34px; line-height: 1.3; }
.process-note { margin: 25px 0 17px; display: flex; align-items: center; gap: 11px; color: var(--dt-muted); font-size: 11px; line-height: 1.6; }
.process-note .icon { color: var(--dt-charcoal); width: 18px; height: 18px; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-step { display: flex; align-items: flex-start; gap: 26px; position: relative; padding: 0 0 30px; }
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child)::after { content: ''; position: absolute; width: 1px; background: #d5d5cc; left: 24px; top: 52px; bottom: 0; }
.step-number { width: 49px; height: 49px; background: var(--dt-cream); border: 1px solid #e5d3a6; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; font-weight: 500; }
.process-step h3 { font-size: 18px; line-height: 1.45; margin-bottom: 8px; padding-top: 9px; }
.process-step p { color: var(--dt-muted); font-size: 14px; line-height: 1.85; margin-bottom: 0; max-width: 650px; }
.video-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding: 38px; background: var(--dt-surface); border: 1px solid var(--dt-line); border-radius: 14px; align-items: center; }
.video-info h2 { font-size: 32px; }
.video-info .eyebrow{
font-weight: 700;
font-size: 14px;
}
.video-info > p:not(.eyebrow) { font-size: 14px; color: var(--dt-muted); line-height: 1.8; margin:12px 0; }
.video-service-note { font-size: 10px; color: var(--dt-muted); }
.video-stage { 
  /* background: var(--dt-charcoal);  */
  border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.video-poster { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; border: 0; color: #fff; background: var(--dt-charcoal); }
.video-poster:focus-visible { outline-offset: -7px; outline-color: var(--dt-gold); }
.video-mini-route { display: flex; align-items: center; gap: 20px; color: #ededdf; font-size: 12px; line-height: 1.5; }
.video-mini-route .icon { color: var(--dt-gold); width: 19px; }
.video-play { display: flex; width: 61px; height: 61px; align-items: center; justify-content: center; background: var(--dt-gold); color: var(--dt-text); border-radius: 50%; transition: transform .2s; flex-shrink: 0; }
.video-play .icon { width: 25px; height: 25px; margin-left: -2px; }
.video-poster:hover .video-play { transform: scale(1.07); }
.video-caption { font-size: 10px; display: flex; align-items: center; gap: 12px; }
.video-caption .icon { width: 15px; height: 15px; }
.video-stage iframe { border: 0; width: 100%; height: 100%; display: block; }
.demo-section { padding-top: 30px;padding-bottom: 68px; }
.demo-banner { display: flex; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--dt-line); border-radius: 12px; background: var(--dt-surface); }
.demo-icon { background: #fff; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--dt-line); flex-shrink: 0; }
.demo-banner h2 { font-size: 20px; margin-bottom: 6px; }
.demo-banner p { font-size: 11px; color: var(--dt-muted); margin: 0; }
.demo-banner .btn { flex-shrink: 0; margin-left: auto; }
.resources-section { background: #fff; }
.resource-card { background: #f9f9f9; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0,0,0,.08); transition: transform .25s ease, box-shadow .25s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0,0,0,.12); }
.resource-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--dt-line); }
.resource-body { display: flex; flex-direction: column; flex: 1; padding: 28px 24px 26px; }
.resource-tag { font-size: 12px; font-weight: 600; color: #a67c2e; margin-bottom: 10px; }
.resource-card h3 { font-size: 17px; line-height: 1.55; letter-spacing: -.01em; margin-bottom: 14px; }
.resource-card p { font-size: 14px; line-height: 1.85; color: var(--dt-muted); margin-bottom: 26px; }
.resource-link { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dt-text); padding-bottom: 3px; border-bottom: 1.5px solid var(--dt-text); }
.resource-link:hover { color: #a67c2e; border-color: #a67c2e; }
.faq-intro { color: var(--dt-muted); margin: 23px 0 10px; font-size: 12px; }
.faq-accordion { --bs-accordion-border-color: var(--dt-line); --bs-accordion-border-radius: 0; --bs-accordion-active-color: var(--dt-text); --bs-accordion-active-bg: var(--dt-cream); border-top: 1px solid var(--dt-line); }
.faq-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--dt-line); border-radius: 0; }
.faq-accordion .accordion-button { padding: 22px 17px 22px 2px; font-size: 14px; font-family: var(--dt-font); font-weight: 500; line-height: 1.65; letter-spacing: -.01em; gap: 22px; color: var(--dt-text); border-radius: 0 !important; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { padding-left: 16px; background: var(--dt-cream); }
.faq-accordion .accordion-button::after { content: '+'; background-image: none; font-weight: 400; font-size: 22px; line-height: 1; transform: none; color: var(--dt-text); }
.faq-accordion .accordion-button:not(.collapsed)::after { content: '\2212'; }
.faq-accordion .accordion-button:focus-visible { outline: 2px solid var(--dt-charcoal); outline-offset: -4px; }
.faq-accordion .accordion-body { padding: 0 20px 24px 16px; background: var(--dt-cream); }
.faq-accordion .accordion-body p { color: var(--dt-muted); font-size: 13px; line-height: 1.9; margin: 0; }
.cta-signoff { text-align: center; color: var(--dt-muted); font-size: 10px; margin: 19px 0 0; display: none; }
.related-section .h3 { font-size: 28px; font-weight: 600; text-transform: capitalize; }
.related-card { display: flex; align-items: center; gap: 15px; padding: 23px 20px; border: 1px solid var(--dt-line); border-radius: 10px; transition: background .2s, border-color .2s; }
.related-card:hover { border-color: #b8a575; background: var(--dt-cream); }
.related-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; flex-shrink: 0; }
.related-icon .icon { width: 23px; height: 23px; }
.related-card h3 { font-size: 12px; line-height: 1.6; margin: 0; letter-spacing: -.01em; }
.related-arrow { margin-left: auto; width: 17px; height: 17px; }
@media (max-width: 1199.98px) {
  .flyer-hero .hero-copy h1 { font-size: 43px; }
  .flyer-hero .hero-copy h1.heading-long { font-size: 37px; }
  .video-layout { gap: 30px; padding: 30px; }
  .video-poster { gap: 16px; }
  .section-nav-scroll { gap: 25px; }
}
@media (max-width: 991.98px) {
  .section-nav-cta { display: none; }
  .section-nav-scroll { width: 100%; justify-content: space-between; gap: 26px; }
  .process-intro { position: static; }
  .process-intro h2 { max-width: 570px; }
  .overview-intro { max-width: 100%; }
  .video-layout { grid-template-columns: 1fr; }
  .video-info h2 { max-width: 650px; }
  .video-stage { max-width: 100%; }
  .video-poster { gap: 22px; }
  .demo-banner { flex-wrap: wrap; }
  .demo-banner .btn { margin-left: 70px; }
  .related-card { flex-wrap: wrap; gap: 12px; }
  .related-card h3 { flex: 1 0 70%; }
}
@media (max-width: 575.98px) {
  .flyer-hero { padding: 20px 0 40px; }
  .flyer-hero .hero-copy h1 { font-size: 35px; }
  .flyer-hero .hero-copy h1.heading-long { font-size: 32px; }
  .hero-tagline { font-size: 10px; line-height: 1.8; margin-bottom: 20px; }
  .hero-notice { margin-top: 24px; padding: 14px; }
  .hero-notice p { font-size: 10px; }
  .section-nav > .container { padding-right: 12px; gap: 0; }
  .section-nav-scroll { gap: 25px; }
  .section-nav-link { font-size: 11px; }
  .overview-intro { font-size: 13px; margin-top: 20px; }
  .benefit-card { padding: 24px; }
  .benefit-card p { font-size: 13px; }
  .benefit-icon { margin-bottom: 18px; }
  .process-intro h2 { font-size: 29px; }
  .process-step { gap: 17px; padding-bottom: 25px; }
  .process-step h3 { font-size: 17px; padding-top: 4px; }
  .process-step p { font-size: 12px; }
  .step-number { width: 40px; height: 40px; font-size: 11px; }
  .process-step:not(:last-child)::after { left: 19px; top: 43px; }
  .video-layout { padding: 23px; gap: 23px; }
  .video-info h2 { font-size: 27px; }
  .video-poster { padding: 18px 12px; gap: 12px; }
  .video-play { width: 45px; height: 45px; }
  .video-mini-route { font-size: 9px; gap: 9px; }
  .video-mini-route .icon { width: 13px; }
  .video-caption { font-size: 8px; gap: 6px; }
  .video-caption .icon { width: 12px; }
  .demo-section { padding-bottom: 50px; }
  .demo-banner { gap: 16px; padding: 22px; }
  .demo-banner > div { flex: 1 1 180px; }
  .demo-banner h2 { font-size: 18px; }
  .demo-banner .btn { margin-left: 0; }
  .resource-body { padding: 22px 20px; }
  .resource-card h3 { font-size: 17px; }
  .resource-card p { font-size: 13px; }
  .faq-accordion .accordion-button { font-size: 13px; padding-top: 20px; padding-bottom: 20px; }
  .faq-accordion .accordion-body p { font-size: 12px; }
  .related-card { flex-wrap: nowrap; }
  .related-card h3 { flex: 1; font-size: 13px; }
  .related-section .section-heading-row { gap: 6px; }
}
.demo-banner .btn { flex-shrink: 1; max-width: 100%; }
@media (max-width: 575.98px) { .section-nav-scroll { gap: 14px; } }

/* ===== Process section sticky — forced fix ===== */
html, body, main#main-content, .process-section, .process-section > .container,
.process-section .row, .process-section .col-lg-4 {
  overflow: visible !important;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip !important; }
}
.process-section .row { align-items: stretch !important; }
.process-section .col-lg-4 { align-self: stretch !important; position: relative; }
@media (min-width: 992px) {
  .process-section .process-intro {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: calc(var(--dt-header-height) + var(--dt-nav-height) + 35px) !important;
    z-index: 2;
    will-change: transform;
  }
}
@media (max-width: 991.98px) {
  .process-section .process-intro { position: static !important; transform: none !important; }
}
/* ===== Video thumbnails ===== */
.video-poster.has-thumb {
  background-color: var(--dt-charcoal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* .video-poster.has-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,35,35,.35) 0%, rgba(35,35,35,.55) 100%);
  transition: background .2s ease;
  z-index: 0;
} */
.video-poster.has-thumb:hover::before { background: linear-gradient(180deg, rgba(35,35,35,.2) 0%, rgba(35,35,35,.45) 100%); }
.video-poster.has-thumb > * { position: relative; z-index: 1; }
.video-poster.has-thumb .video-mini-route,
.video-poster.has-thumb .video-caption { text-shadow: 0 1px 6px rgba(0,0,0,.6); }

@media (max-width: 767.98px) {
  .overview-strip { margin-top: 44px; }
  .pillars-panel { grid-template-columns: 1fr; padding: 28px 0; gap: 22px; }
  .pillar, .pillar:first-child { padding: 0 0 0 16px; border-left: 3px solid var(--dt-gold); }
  .pillar p { font-size: 14px; max-width: none; }
}
