/* ══════════════════════════════════════════
   VG MOTION ICON KIT – sizes, colour themes, placements
   Mobile-first: <768 mobile · 768–1024 tablet · ≥1025 desktop
   Only icons from assets/icons/vg are allowed (docs/ICON-RULES.md)
   ══════════════════════════════════════════ */

/* ── Base + light theme (white / #EBF4F9 sections) ── */
.vg-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  color: var(--primary);
  --icon-accent: var(--gold);
  --icon-water: var(--redditch);
  --icon-tint: var(--redditch-pale);
  --icon-open: var(--redditch);
}

.vg-icon-16 {
  width: 16px;
  height: 16px;
}

.vg-icon-20 {
  width: 20px;
  height: 20px;
}

.vg-icon-24 {
  width: 24px;
  height: 24px;
}

.vg-icon-32 {
  width: 32px;
  height: 32px;
}

.vg-icon-48 {
  width: 48px;
  height: 48px;
}

.vg-icon-64 {
  width: 64px;
  height: 64px;
}

.vg-icon-96 {
  width: 96px;
  height: 96px;
}

.vg-icon--inline {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  margin-right: 0.35em;
}

/* ── Dark theme: header, hero, page hero, dark sections, CTA banner, footer ── */
.vg-header .vg-icon,
.vg-hero .vg-icon,
.vg-page-hero .vg-icon,
.vg-section--dark .vg-icon,
.vg-cta-banner .vg-icon,
.vg-footer .vg-icon,
.vg-dark .vg-icon {
  color: var(--redditch-light);
  --icon-accent: var(--gold-light);
  --icon-tint: var(--primary-deeper);
}

/* white cards inside dark sections go back to the light theme */
.vg-section--dark :is(.vg-card, .vg-contact-card, .vg-pricing-card, .vg-faq-item) .vg-icon {
  color: var(--primary);
  --icon-accent: var(--gold);
  --icon-tint: var(--redditch-pale);
}

/* ── On buttons: one colour = the button text colour (Redditch, gold, WhatsApp, outline) ── */
.vg-btn .vg-icon,
.vg-section--dark .vg-btn .vg-icon,
.vg-section--dark :is(.vg-card, .vg-contact-card, .vg-pricing-card) .vg-btn .vg-icon {
  width: 20px;
  height: 20px;
  margin: 0;
  color: currentColor;
  --icon-accent: currentColor;
  --icon-water: currentColor;
  --icon-flame-tip: currentColor;
  --icon-flame-base: currentColor;
  --icon-tint: transparent;
  --icon-ring: currentColor;
}

/* ── Role sizes ── */
.vg-icon--hero {
  width: 40px;
  height: 40px;
}

.vg-icon--stat {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.5rem;
  display: block;
}

.vg-icon--h {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.16em;
  margin-right: 0.45em;
}

/* Round badge for card / contact icons */
.vg-icon-badge,
.vg-contact-card-icon,
.vg-contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(116, 172, 205, 0.22), rgba(212, 164, 55, 0.18));
  border: 1.5px solid rgba(212, 164, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vg-icon-badge .vg-icon,
.vg-contact-card-icon .vg-icon,
.vg-contact-icon .vg-icon {
  width: 30px;
  height: 30px;
}

.vg-card>.vg-icon-badge {
  margin-left: 0;
}

.vg-center .vg-card>.vg-icon-badge,
.vg-card.vg-center>.vg-icon-badge,
.vg-pricing-card>.vg-icon-badge {
  margin-left: auto;
}

.vg-section--dark .vg-contact-card .vg-contact-card-icon .vg-icon {
  color: var(--primary);
}

/* Headings with an icon */
.vg-section-title h2 .vg-icon,
.vg-article h2 .vg-icon,
.vg-article h3 .vg-icon,
.vg-card h3 .vg-icon {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.16em;
  margin-right: 0.45em;
}

/* Icon + text rows (footer contact, timings, contact lists) */
.vg-irow {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.vg-irow>.vg-icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
}

.vg-ilist {
  list-style: none;
  margin-left: 0 !important;
}

.vg-article ul.vg-ilist li {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.vg-article ul.vg-ilist li::before {
  display: none;
}

.vg-ilist li>.vg-icon {
  width: 20px;
  height: 20px;
  margin-top: 0.25em;
}

/* Hero pill (namaste) + scroll cue */
.vg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.vg-hero-badge .vg-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  --icon-accent: var(--gold);
}

.vg-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.vg-hero-scroll::after {
  content: none;
}

.vg-hero-scroll .vg-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  --icon-accent: var(--gold-light);
}

/* Section accent icon above a title (centred) */
.vg-section-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.vg-section-icon .vg-icon {
  width: 40px;
  height: 40px;
}

@media (min-width: 1025px) {
  .vg-section-icon .vg-icon {
    width: 48px;
    height: 48px;
  }
}

/* Page hero accent icon */
.vg-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.vg-hero-icon .vg-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-light);
  --icon-accent: var(--gold);
}

/* Breadcrumb */
.vg-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
}

.vg-breadcrumb .vg-icon {
  width: 14px;
  height: 14px;
}

.vg-breadcrumb .vg-home {
  width: 16px;
  height: 16px;
}

.vg-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Ornament divider (G01) replaces the plain gold bar */
.vg-divider.vg-divider--ornament {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  margin: 0.8rem auto 1.1rem;
}

.vg-divider--ornament .vg-icon {
  width: 120px;
  height: 20px;
  color: var(--gold-dark);
  --icon-accent: var(--gold);
}

.vg-section--dark .vg-divider--ornament .vg-icon,
.vg-page-hero .vg-divider--ornament .vg-icon,
.vg-cta-banner .vg-divider--ornament .vg-icon {
  color: var(--gold);
  --icon-accent: var(--gold-light);
}

/* Header: hamburger (A01) + mobile-menu link icons */
.vg-menu-btn .vg-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  --icon-accent: var(--gold-light);
  --icon-tint: var(--gold);
}

.vg-nav a .vg-icon {
  display: none;
}

/* FAQ accordion (A02) */
.vg-faq-q::after {
  content: none;
  display: none;
}

.vg-faq-q .vg-faq-toggle {
  width: 30px;
  height: 30px;
  --icon-tint: rgba(116, 172, 205, 0.18);
  --icon-open: var(--redditch);
  color: var(--primary);
}

.vg-faq-item.active .vg-faq-toggle {
  color: var(--dark);
}

/* Footer social (B06 B07 B02): monochrome, brand colour on hover */
.vg-social a .vg-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  --icon-accent: currentColor;
  --icon-tint: transparent;
}

.vg-social a {
  color: #cfcfcf;
}

/* Pricing bullets (A10) */
.vg-pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-left: 0;
}

.vg-pricing-card__list li::before {
  content: none;
}

.vg-pricing-card__list li>.vg-icon {
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
  color: #1a7f37;
  --icon-tint: rgba(26, 127, 55, 0.1);
  --icon-accent: #1a7f37;
}

/* Form labels */
.vg-form label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vg-form label .vg-icon {
  width: 18px;
  height: 18px;
}

/* Article bullets: kit sparkle (static) instead of a text glyph */
.vg-article ul li::before {
  content: '';
  width: 0.8em;
  height: 0.8em;
  top: 0.45em;
  background: var(--gold-dark);
  -webkit-mask: url(../icons/vg/static/vg-icon-sparkle.svg) center / contain no-repeat;
  mask: url(../icons/vg/static/vg-icon-sparkle.svg) center / contain no-repeat;
}

/* CTA banner watermark: kit Om (static) */
.vg-cta-banner::before {
  content: '';
  width: clamp(9rem, 26vw, 18rem);
  height: clamp(9rem, 26vw, 18rem);
  background: rgba(212, 164, 55, 0.08);
  -webkit-mask: url(../icons/vg/static/vg-icon-om.svg) center / contain no-repeat;
  mask: url(../icons/vg/static/vg-icon-om.svg) center / contain no-repeat;
}

/* Back to top (A07) */
.vg-back-to-top-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(212, 164, 55, 0.45);
  background: var(--dark);
  color: var(--redditch-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.vg-back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.vg-back-to-top-btn:hover {
  background: var(--primary-dark);
}

.vg-back-to-top-btn .vg-icon {
  width: 26px;
  height: 26px;
  color: inherit;
  --icon-accent: var(--gold-light);
}

/* ── Tablet ≥768px ── */
@media (min-width: 768px) {
  .vg-icon--hero {
    width: 48px;
    height: 48px;
  }

  .vg-icon--stat {
    width: 38px;
    height: 38px;
  }

  .vg-icon-badge,
  .vg-contact-card-icon,
  .vg-contact-icon {
    width: 60px;
    height: 60px;
  }

  .vg-icon-badge .vg-icon,
  .vg-contact-card-icon .vg-icon,
  .vg-contact-icon .vg-icon {
    width: 32px;
    height: 32px;
  }

  .vg-hero-icon .vg-icon {
    width: 44px;
    height: 44px;
  }

  .vg-divider--ornament .vg-icon {
    width: 132px;
    height: 22px;
  }

  .vg-back-to-top-btn {
    right: 20px;
    bottom: 20px;
  }
}

/* ── Mobile menu (≤900px): small icons next to links ── */
@media (max-width: 900px) {
  .vg-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }

  .vg-nav a .vg-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
  }

  .vg-nav a.vg-nav-cta {
    justify-content: center;
  }

  .vg-nav a.vg-nav-cta .vg-icon {
    color: currentColor;
    --icon-accent: currentColor;
  }

  .vg-menu-btn {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
  }
}

/* ── Desktop ≥1025px ── */
@media (min-width: 1025px) {
  .vg-icon--hero {
    width: 56px;
    height: 56px;
  }

  .vg-icon--stat {
    width: 42px;
    height: 42px;
  }

  .vg-icon-badge,
  .vg-contact-card-icon,
  .vg-contact-icon {
    width: 64px;
    height: 64px;
  }

  .vg-icon-badge .vg-icon,
  .vg-contact-card-icon .vg-icon,
  .vg-contact-icon .vg-icon {
    width: 34px;
    height: 34px;
  }

  .vg-hero-icon .vg-icon {
    width: 48px;
    height: 48px;
  }

  .vg-divider--ornament .vg-icon {
    width: 144px;
    height: 24px;
  }
}

/* ── Mobile: keep footer text clear of the back-to-top button ── */
@media (max-width: 767px) {
  .vg-footer-bottom {
    padding-bottom: 3.6rem;
  }
}

/* ── Touch: bigger tap areas for icon-only links ── */
@media (pointer: coarse) {
  .vg-social a {
    width: 44px;
    height: 44px;
  }

  .vg-back-to-top-btn {
    width: 52px;
    height: 52px;
  }
}

/* ── Reduced motion: rest frame only ── */
@media (prefers-reduced-motion: reduce) {

  .vg-icon,
  .vg-icon * {
    animation: none !important;
    transition: none !important;
  }

  .vg-back-to-top-btn {
    transition: none;
  }
}