/* ════════════════════════════════════════════════════════════════════════════
   VBE PAGES  ·  services hub, service pages, catalogue, professionals, home slider
   Uses the index.php tokens (see vbe-site.css). Plain, clear, same brand.
   ════════════════════════════════════════════════════════════════════════════ */
.vbe-page { background: #FFFFFF; color: var(--text, #1A1A1A); font-family: var(--vbe-font-body,'Outfit', sans-serif); }
.vp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.vp-center { text-align: center; }

/* ── Hero banner ── */
.vp-hero { background: linear-gradient(135deg, #141414 0%, #2a2a2a 100%); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.vp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; background: rgba(200,30,44,0.9); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.vp-hero h1 { font-family: var(--vbe-font-heading,'Playfair Display', serif); font-weight: 800; font-size: clamp(30px, 5.2vw, 50px); line-height: 1.12; margin: 0 0 14px; max-width: 820px; }
.vp-hero h1 .accent { color: #FF6A75; }
.vp-hero p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.82); max-width: 680px; margin: 0 0 26px; }
.vp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Buttons ── */
.vp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 600 15px 'Outfit', sans-serif; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; min-height: 48px; }
.vp-btn:active { transform: scale(0.97); }
.vp-btn-primary { background: var(--orange, #C81E2C); color: #fff; box-shadow: 0 8px 22px rgba(200,30,44,0.35); }
.vp-btn-primary:hover { background: var(--orange-dark, #A01823); }
.vp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.vp-btn-ghost:hover { background: rgba(255,255,255,0.12); }
.vp-btn-dark { background: #1A1A1A; color: #fff; }
.vp-btn-dark:hover { background: #333; }
.vp-btn-outline { background: #fff; color: #1A1A1A; border-color: #1A1A1A; }
.vp-btn-outline:hover { background: #1A1A1A; color: #fff; }
.vp-btn-sm { padding: 10px 18px; font-size: 14px; min-height: 42px; }

/* ── Sections ── */
.vp-section { padding: 56px 0; }
.vp-section.alt { background: #F5F5F5; }
.vp-h2 { font-family: var(--vbe-font-heading,'Playfair Display', serif); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 8px; color: #1A1A1A; }
.vp-lead { font-size: 16px; color: #5C5C5C; line-height: 1.7; margin: 0 0 28px; max-width: 700px; }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.vp-card { background: #fff; border: 1px solid #E8E8E8; border-radius: var(--clay-r, 18px); padding: 22px; box-shadow: var(--clay-raised-sm, 0 8px 16px rgba(20,20,25,0.12)); display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.vp-card:hover { transform: translateY(-3px); box-shadow: var(--clay-raised-hover, 0 20px 38px rgba(20,20,25,0.18)); }
.vp-card h3 { font-size: 18px; font-weight: 700; margin: 0; color: #1A1A1A; line-height: 1.3; }
.vp-card p { font-size: 14.5px; color: #5C5C5C; line-height: 1.65; margin: 0; flex: 1; }
.vp-ic { width: 48px; height: 48px; border-radius: 14px; background: #FBE4E6; color: #C81E2C; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vp-card .vp-btn { align-self: flex-start; margin-top: 6px; }
.vp-more { font-size: 14px; font-weight: 700; color: #C81E2C; }

/* ── How it works ── */
.vp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: st; }
.vp-step { background: #fff; border-radius: var(--clay-r, 18px); padding: 22px; border: 1px solid #E8E8E8; box-shadow: var(--clay-raised-sm, 0 8px 16px rgba(20,20,25,0.12)); }
.vp-step::before { counter-increment: st; content: counter(st); display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: #C81E2C; color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.vp-step h3 { font-size: 17px; margin: 0 0 6px; }
.vp-step p { font-size: 14.5px; color: #5C5C5C; margin: 0; line-height: 1.6; }

/* ── FAQ ── */
.vp-faq details { background: #fff; border: 1px solid #E8E8E8; border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.vp-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vp-faq summary::-webkit-details-marker { display: none; }
.vp-faq summary::after { content: '+'; font-size: 22px; color: #C81E2C; line-height: 1; }
.vp-faq details[open] summary::after { content: '\2212'; }
.vp-faq p { margin: 0 0 14px; color: #5C5C5C; line-height: 1.7; font-size: 15px; }

/* ── Call-to-action band ── */
.vp-cta { background: linear-gradient(135deg, #C81E2C, #8E1420); color: #fff; border-radius: 26px; padding: 40px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 10px 0 0; }
.vp-cta h2 { font-family: var(--vbe-font-heading,'Playfair Display', serif); font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; }
.vp-cta p { margin: 0; color: rgba(255,255,255,0.88); font-size: 15.5px; }
.vp-cta .vp-btn-primary { background: #fff; color: #C81E2C; box-shadow: none; }

/* ── Search bar and chips (catalogue, professionals) ── */
.vp-search { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.vp-input { flex: 1; min-width: 220px; padding: 14px 18px; border: 1.5px solid #D9D9D9; border-radius: 999px; font: 500 16px 'Outfit', sans-serif; background: #fff; color: #1A1A1A; box-shadow: var(--clay-sunken, inset 0 3px 8px rgba(20,20,25,0.10)); }
.vp-input:focus { outline: none; border-color: #C81E2C; box-shadow: 0 0 0 3px rgba(200,30,44,0.15); }
.vp-select { padding: 14px 16px; border: 1.5px solid #D9D9D9; border-radius: 999px; font: 500 15px 'Outfit', sans-serif; background: #fff; color: #1A1A1A; min-height: 48px; }
.vp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.vp-chip { border: 1.5px solid #D9D9D9; background: #fff; color: #1A1A1A; padding: 8px 16px; border-radius: 999px; font: 600 13.5px 'Outfit', sans-serif; cursor: pointer; }
.vp-chip.on { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.vp-count { font-size: 14px; color: #6B6B6B; margin: 0 0 14px; }
.vp-empty { text-align: center; padding: 48px 20px; background: #F5F5F5; border-radius: 20px; color: #5C5C5C; }
.vp-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: #F0F0F0; color: #4D4D4D; padding: 4px 10px; border-radius: 999px; width: fit-content; }
.vp-tag.vbe { background: #FBE4E6; color: #C81E2C; }

/* ── Professionals ── */
.pro-head { display: flex; gap: 14px; align-items: center; }
.pro-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #F0F0F0; flex-shrink: 0; }
.pro-meta { font-size: 13px; color: #6B6B6B; }
.pro-contact { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* ── Quick service buttons (listings page and others) ── */
.vp-strip { background: #fff; border-bottom: 1px solid #E8E8E8; }
.vp-strip-inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vp-strip-label { font-size: 13px; font-weight: 700; color: #5C5C5C; margin-right: 4px; }
.vp-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #E0E0E0; background: #fff; font: 600 13.5px 'Outfit', sans-serif; color: #1A1A1A; text-decoration: none; }
.vp-strip a:hover { border-color: #C81E2C; color: #C81E2C; }
@media (max-width: 640px) { .vp-strip-inner { overflow-x: auto; flex-wrap: nowrap; padding: 10px 16px; } .vp-strip a { white-space: nowrap; } }

/* ── Home hero slider ── */
.hero-slides { position: relative; width: 100%; }
.hero-slide { display: none; text-align: left; padding: 0 28px; max-width: 780px; animation: heroFade .55s ease; }
.hero-slide.is-active { display: block; }
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-slide .hero-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.6); color: #fff; font: 600 15px 'Outfit', sans-serif; text-decoration: none; }
.hero-slide .hero-btn-ghost:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 640px) { .hero-slide { padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } }

@media (max-width: 640px) { .vp-hero { padding: 44px 0 40px; } .vp-section { padding: 40px 0; } .vp-wrap { padding: 0 18px; } .vp-cta { padding: 28px 22px; } .vp-btn { width: 100%; } .vp-card .vp-btn { width: auto; } }

/* ---- Phase 2: animated hero text (random motion) and hero pictures ---- */
@keyframes vbeUp    { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes vbeDown  { from { opacity: 0; transform: translateY(-34px); } to { opacity: 1; transform: none; } }
@keyframes vbeLeft  { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes vbeRight { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes vbeZoom  { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes vbeFade  { from { opacity: 0; } to { opacity: 1; } }
.hero-slide { animation: none; }
.hero-slide.is-active > *, .vp-hero .vp-wrap > * { animation-duration: .85s; animation-timing-function: cubic-bezier(.22,.8,.24,1); animation-fill-mode: both; animation-name: vbeUp; }
.hero-slide.is-active[data-motion="up"] > *, .vp-hero[data-motion="up"] .vp-wrap > * { animation-name: vbeUp; }
.hero-slide.is-active[data-motion="down"] > *, .vp-hero[data-motion="down"] .vp-wrap > * { animation-name: vbeDown; }
.hero-slide.is-active[data-motion="left"] > *, .vp-hero[data-motion="left"] .vp-wrap > * { animation-name: vbeLeft; }
.hero-slide.is-active[data-motion="right"] > *, .vp-hero[data-motion="right"] .vp-wrap > * { animation-name: vbeRight; }
.hero-slide.is-active[data-motion="zoom"] > *, .vp-hero[data-motion="zoom"] .vp-wrap > * { animation-name: vbeZoom; }
.hero-slide.is-active[data-motion="fade"] > *, .vp-hero[data-motion="fade"] .vp-wrap > * { animation-name: vbeFade; }
.hero-slide.is-active > :nth-child(1), .vp-hero .vp-wrap > :nth-child(1) { animation-delay: .05s; }
.hero-slide.is-active > :nth-child(2), .vp-hero .vp-wrap > :nth-child(2) { animation-delay: .17s; }
.hero-slide.is-active > :nth-child(3), .vp-hero .vp-wrap > :nth-child(3) { animation-delay: .29s; }
.hero-slide.is-active > :nth-child(4), .vp-hero .vp-wrap > :nth-child(4) { animation-delay: .41s; }
.vp-hero .vp-wrap { position: relative; z-index: 2; }
.vp-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.vp-hero-img { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; will-change: opacity, transform; }
.vp-hero-img.is-on { opacity: 1; }
/* Hero pictures are real <img> elements (browser starts them early, serves WebP/AVIF at the right size). Same look as before. */
.vp-hero-pic { display: contents; }
img.vp-hero-img { inset: auto; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: center; }
.vp-hero-img.d-up    { animation: vbeDriftUp 7.5s ease-out both; }
.vp-hero-img.d-down  { animation: vbeDriftDown 7.5s ease-out both; }
.vp-hero-img.d-left  { animation: vbeDriftLeft 7.5s ease-out both; }
.vp-hero-img.d-right { animation: vbeDriftRight 7.5s ease-out both; }
.vp-hero-img.d-zoom  { animation: vbeDriftZoom 7.5s ease-out both; }
@keyframes vbeDriftUp    { from { transform: translateY(2.5%) scale(1.04); } to { transform: translateY(-2.5%) scale(1.04); } }
@keyframes vbeDriftDown  { from { transform: translateY(-2.5%) scale(1.04); } to { transform: translateY(2.5%) scale(1.04); } }
@keyframes vbeDriftLeft  { from { transform: translateX(2.5%) scale(1.04); } to { transform: translateX(-2.5%) scale(1.04); } }
@keyframes vbeDriftRight { from { transform: translateX(-2.5%) scale(1.04); } to { transform: translateX(2.5%) scale(1.04); } }
@keyframes vbeDriftZoom  { from { transform: scale(1); } to { transform: scale(1.1); } }
.vp-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.80) 0%, rgba(18,18,18,.55) 55%, rgba(18,18,18,.25) 100%); }
.vp-hero--plain { background: linear-gradient(135deg, #8d1424 0%, #c81e2c 55%, #e8641c 100%); }
.vp-hero--plain .vp-hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,0)); }
.vp-hero--img { background: #5a1520; }
@media (max-width: 640px) { .vp-hero-shade { background: linear-gradient(180deg, rgba(18,18,18,.62), rgba(18,18,18,.78)); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active > *, .vp-hero .vp-wrap > * { animation: none; opacity: 1; }
  .vp-hero-img { animation: none !important; transition: none; }
}
