/* =====================================================================
   DOC CONTENT SECTIONS (vpd-) — long-form SEO service pages
   Renders the structured content pages built from the /content docs.
   Uses the brand tokens defined in header-premium.css (--vp-*).
   Contrast rule: gold accents on dark bg only; copper/green on light.
   v2: compact heroes, inline step cards, 3-up equal-height card grids
       with scrollable copy, side-image folds, mobile Slick carousels.
   ===================================================================== */

.vpd-section { padding: 70px 0; }
.vpd-section--tint { background: var(--vp-ivory, #fdfaf3); }
.vpd-section--dark { background: linear-gradient(160deg, var(--vp-green, #29361a), var(--vp-green-deep, #1d2713)); color: #f4efe2; }
.vpd-section--dark .vps-section-title { color: #fff; }
.vpd-section--dark p { color: #e8e2d2; }

.vpd-narrow { margin: 0 auto; }

.vpd-section .vps-section-title { margin-bottom: 18px; }
.vpd-section p { color: #4a4436; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.vpd-section p:last-child { margin-bottom: 0; }

/* ---- Compact hero titles (long doc H1s) ---- */
.vps-hero .vpd-hero-title { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; max-width: 900px; margin-left: auto; margin-right: auto; }
.vps-hero .vps-hero-text { max-width: 780px; }
/* Homepage banner H1 — long doc heading, keep it modest */
.vp-hero h1.vp-hero-title,
.vp-hero .bann-hd.vp-hero-title { font-size: clamp(26px, 3.4vw, 46px) !important; line-height: 1.25 !important; max-width: 1000px; margin-left: auto; margin-right: auto; }

/* ---- Hero intro band (paragraphs that follow the H1 in the doc) ---- */
.vpd-intro { padding: 56px 0 8px; }
.vpd-intro p { color: #4a4436; font-size: 16.5px; line-height: 1.85; margin-bottom: 16px; }

/* ---- Checklist bullets (gold check + ink text) ---- */
.vpd-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.vpd-checks--single { grid-template-columns: 1fr; }
.vpd-checks li { display: flex; align-items: flex-start; gap: 12px; color: #3d372a; font-size: 15.5px; line-height: 1.7; }
.vpd-checks li i { color: var(--vp-gold-deep, #a87f2e); margin-top: 5px; flex: 0 0 auto; }
.vpd-section--dark .vpd-checks li { color: #ece6d6; }
.vpd-section--dark .vpd-checks li i { color: var(--vp-gold, #c9a24b); }
.vpd-after { margin-top: 22px; }

/* ---- Side-image folds (left image / right content and vice versa) ---- */
.vpd-fold-img { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 48px rgba(43, 37, 23, .16); }
.vpd-fold-img::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(201, 162, 75, .45); border-radius: 18px; pointer-events: none; }
.vpd-fold-img img { width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; display: block; }

/* ---- Scrollable card copy (equal-height cards) ---- */
.vpd-card-scroll,
.vpd-card > p:only-of-type { max-height: 185px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--vp-gold, #c9a24b) #f1ead9; }
.vpd-card-scroll::-webkit-scrollbar,
.vpd-card > p:only-of-type::-webkit-scrollbar { width: 5px; }
.vpd-card-scroll::-webkit-scrollbar-track,
.vpd-card > p:only-of-type::-webkit-scrollbar-track { background: #f1ead9; border-radius: 4px; }
.vpd-card-scroll::-webkit-scrollbar-thumb,
.vpd-card > p:only-of-type::-webkit-scrollbar-thumb { background: var(--vp-gold, #c9a24b); border-radius: 4px; }
.vpd-card-scroll p:last-child { margin-bottom: 0; }

/* ---- Card grid (H3 subsections) — 3-up, equal heights ---- */
.vpd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; align-items: stretch; }
.vpd-cards--2 { grid-template-columns: repeat(2, 1fr); }
.vpd-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #eee5d2; border-top: 3px solid var(--vp-gold, #c9a24b); border-radius: 14px; padding: 28px 26px; box-shadow: 0 10px 28px rgba(43, 37, 23, .06); }
.vpd-section--tint .vpd-card { background: #fff; }
.vpd-card h3 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; color: var(--vp-green, #29361a); margin-bottom: 12px; letter-spacing: .3px; }
.vpd-card p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.vpd-card p:last-child { margin-bottom: 0; }
.vpd-card ul { list-style: none; margin: 0; padding: 0; }
.vpd-card ul li { display: flex; align-items: flex-start; gap: 10px; color: #3d372a; font-size: 14.5px; line-height: 1.65; margin-bottom: 9px; }
.vpd-card ul li i { color: var(--vp-copper, #b46c29); margin-top: 5px; flex: 0 0 auto; font-size: 12px; }

/* ---- Inline numbered step cards (was a vertical timeline) ---- */
.vpd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; align-items: stretch; }
.vpd-step { display: flex; flex-direction: column; height: 100%; position: relative; background: #fff; border: 1px solid #eee5d2; border-radius: 14px; padding: 26px 24px; box-shadow: 0 10px 28px rgba(43, 37, 23, .06); }
.vpd-step::before { display: none; }
.vpd-section--tint .vpd-step { background: #fff; }
.vpd-step-num { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--vp-green, #29361a); color: var(--vp-gold-light, #e7c878); font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(41, 54, 26, .25); margin-bottom: 14px; }
.vpd-step-body { display: flex; flex-direction: column; flex: 1; }
.vpd-step-body h3 { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; color: var(--vp-green, #29361a); margin: 0 0 8px; }
.vpd-step-body p { font-size: 14.5px; line-height: 1.7; margin-bottom: 0; max-height: 165px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--vp-gold, #c9a24b) #f1ead9; }
.vpd-step-body p::-webkit-scrollbar { width: 5px; }
.vpd-step-body p::-webkit-scrollbar-track { background: #f1ead9; border-radius: 4px; }
.vpd-step-body p::-webkit-scrollbar-thumb { background: var(--vp-gold, #c9a24b); border-radius: 4px; }

/* ---- Services support grid (shared 10-service block) — 3-up ---- */
.vpd-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; align-items: stretch; }
.vpd-service { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #eee5d2; border-radius: 14px; padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 8px 22px rgba(43, 37, 23, .05); }
.vpd-service:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(43, 37, 23, .12); }
.vpd-service-ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--vp-green, #29361a), var(--vp-green-deep, #1d2713)); color: var(--vp-gold-light, #e7c878); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.vpd-service h3 { font-family: 'Oswald', sans-serif; font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.vpd-service h3 a { color: var(--vp-green, #29361a); text-decoration: none; }
.vpd-service h3 a:hover { color: var(--vp-copper, #b46c29); }
.vpd-service p { font-size: 14.5px; line-height: 1.7; margin-bottom: 0; max-height: 170px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--vp-gold, #c9a24b) #f1ead9; }
.vpd-service p::-webkit-scrollbar { width: 5px; }
.vpd-service p::-webkit-scrollbar-track { background: #f1ead9; border-radius: 4px; }
.vpd-service p::-webkit-scrollbar-thumb { background: var(--vp-gold, #c9a24b); border-radius: 4px; }

/* ---- Services carousel (all screen sizes) ---- */
.vpd-services-carousel.slick-initialized { display: block; }
.vpd-services-carousel .slick-list { margin: 0 -11px; padding: 4px 0 8px; }
.vpd-services-carousel .slick-track { display: flex !important; }
.vpd-services-carousel .slick-slide { height: auto !important; display: flex; flex-direction: column; padding: 0 11px; }
.vpd-services-carousel .slick-slide > div { display: flex; flex: 1; }
.vpd-services-carousel .slick-slide .vpd-service { width: 100%; }
.vpd-services-carousel .slick-dots { position: static; margin-top: 20px; }
.vpd-services-carousel .slick-dots li button:before { font-size: 11px; color: var(--vp-gold, #c9a24b); opacity: .35; }
.vpd-services-carousel .slick-dots li.slick-active button:before { color: var(--vp-gold-deep, #a87f2e); opacity: 1; }
.vpd-services-carousel .slick-prev { left: -44px; }
.vpd-services-carousel .slick-next { right: -44px; }
.vpd-services-carousel .slick-prev:before,
.vpd-services-carousel .slick-next:before { color: var(--vp-copper, #b46c29); font-size: 30px; opacity: .85; }
.vpd-services-carousel .slick-prev:hover:before,
.vpd-services-carousel .slick-next:hover:before { opacity: 1; }

/* ---- Mobile Slick carousels (.vpd-m-carousel gets slicked < 768px) ---- */
.vpd-m-carousel.slick-initialized { display: block; margin-top: 34px; }
.vpd-m-carousel .slick-track { display: flex !important; }
.vpd-m-carousel .slick-slide { height: auto !important; display: flex; flex-direction: column; padding: 0 6px; }
.vpd-m-carousel .slick-slide > div { display: flex; flex: 1; }
.vpd-m-carousel .slick-slide .vpd-card,
.vpd-m-carousel .slick-slide .vpd-step,
.vpd-m-carousel .slick-slide .vpd-service { width: 100%; }
.vpd-m-carousel .slick-dots { position: static; margin-top: 18px; }
.vpd-m-carousel .slick-dots li button:before { font-size: 11px; color: var(--vp-gold, #c9a24b); opacity: .35; }
.vpd-m-carousel .slick-dots li.slick-active button:before { color: var(--vp-gold-deep, #a87f2e); opacity: 1; }

/* ---- CTA band with supporting copy ---- */
.vpd-cta { background: linear-gradient(140deg, var(--vp-green, #29361a), var(--vp-green-deep, #1d2713)); padding: 64px 0; position: relative; overflow: hidden; }
.vpd-cta::after { content: "\f570"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -20px; bottom: -40px; font-size: 220px; color: rgba(201, 162, 75, .07); }
.vpd-cta-inner { max-width: 860px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.vpd-cta-inner h2 { font-family: 'Oswald', sans-serif; color: #fff; font-size: 32px; font-weight: 600; margin-bottom: 16px; }
.vpd-cta-inner h2 em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--vp-gold-light, #e7c878); }
.vpd-cta-inner p { color: #e8e2d2; font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.vpd-cta-actions { margin-top: 26px; }

/* ---- Homepage helpers ---- */
.vpd-showcase-lead { color: #ded8c6 !important; max-width: 880px; margin: 0 auto 6px; font-size: 16px; line-height: 1.8; }

.vpd-badges { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; }
.vpd-badges li { display: flex; align-items: center; gap: 10px; font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: .4px; color: var(--vp-green, #29361a); font-weight: 500; }
.vpd-badges li i { color: var(--vp-gold-deep, #a87f2e); }

.vpd-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
.vpd-compare-col { border-radius: 16px; padding: 32px 30px; }
.vpd-compare-col h3 { font-family: 'Oswald', sans-serif; font-size: 21px; font-weight: 600; margin-bottom: 18px; }
.vpd-compare-col ul { list-style: none; margin: 0; padding: 0; }
.vpd-compare-col ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.7; margin-bottom: 13px; }
.vpd-compare-col ul li:last-child { margin-bottom: 0; }
.vpd-compare--bad { background: #f7f3ea; border: 1px solid #e8dfc9; }
.vpd-compare--bad h3 { color: #7a4a1f; }
.vpd-compare--bad li { color: #57503f; }
.vpd-compare--bad li i { color: #b0542f; margin-top: 5px; }
.vpd-compare--good { background: linear-gradient(150deg, var(--vp-green, #29361a), var(--vp-green-deep, #1d2713)); }
.vpd-compare--good h3 { color: var(--vp-gold-light, #e7c878); }
.vpd-compare--good li { color: #ece6d6; }
.vpd-compare--good li i { color: var(--vp-gold, #c9a24b); margin-top: 5px; }

/* ---- Info cards (contact page) ---- */
.vpd-info-cards { display: grid; gap: 18px; }
.vpd-info-card { background: #fff; border: 1px solid #eee5d2; border-left: 3px solid var(--vp-gold, #c9a24b); border-radius: 14px; padding: 20px 22px; display: flex; align-items: flex-start; gap: 16px; box-shadow: 0 8px 22px rgba(43, 37, 23, .05); }
.vpd-info-card i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--vp-ivory, #fdfaf3); border: 1px solid #eadfc4; color: var(--vp-copper, #b46c29); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.vpd-info-card small { display: block; font-family: 'Oswald', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; font-size: 11.5px; color: var(--vp-copper, #b46c29); margin-bottom: 4px; }
.vpd-info-card span { color: var(--vp-ink, #2b2517); font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.vpd-info-card a { text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .vpd-cards, .vpd-steps, .vpd-services { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 991px) {
    .vpd-section { padding: 54px 0; }
    .vpd-cards, .vpd-cards--2, .vpd-steps, .vpd-services { grid-template-columns: 1fr 1fr; }
    .vpd-compare { grid-template-columns: 1fr; }
    .vpd-badges { grid-template-columns: 1fr 1fr; }
    .vpd-fold-img { margin-bottom: 8px; }
    .vpd-fold-img img { min-height: 260px; }
}
@media (max-width: 767px) {
    .vpd-cards, .vpd-cards--2, .vpd-steps, .vpd-services { grid-template-columns: 1fr; }
    .vpd-checks { grid-template-columns: 1fr; }
    .vps-hero .vpd-hero-title { font-size: 21px; }
    .vp-hero h1.vp-hero-title, .vp-hero .bann-hd.vp-hero-title { font-size: 24px !important; }
    .vpd-cta-inner h2 { font-size: 26px; }
    .vpd-badges { grid-template-columns: 1fr; }
}
