/**
 * ============================================================================
 * UNIFIED COMPONENTS — Final Harmonization Layer
 * Rukn Elite (NUTHUBV5) · Unified Design System v3.0.0 · RTL-first
 * ============================================================================
 * Loaded LAST (after design-tokens-rtl.css → hover.css → main.css →
 * responsive.css). Responsibilities:
 *
 *  1. Re-assert the unified token bridge ON BODY (main.css's body[mode=light]
 *     legacy palette is overridden here — this kills the 4-blues problem).
 *  2. Harmonize base typography / containers so legacy (.container) and VIPS
 *     (.vips-container) layouts share one grid.
 *  3. Ship owl.carousel core CSS (was missing entirely — every slider on the
 *     site rendered stacked & unclipped).
 *  4. Style every markup class that previously had ZERO CSS (second-generation
 *     vips-* components, legacy archive, load-more, breadcrumbs, forms…).
 *  5. Provide the small utility vocabulary (bg-surface-*, text-primary…)
 *     that templates and centerpiece.js toggle at runtime.
 *  6. Unified responsive ladder: 1023 / 767 / 560 / 400.
 * ============================================================================
 */

/* ==========================================================================
   1. TOKEN BRIDGE RE-ASSERTION (beats main.css body[mode=light] palette).
   body[mode] (any mode: light / dark / future) keeps the re-assert winning at
   equal specificity (0,1,1) while letting §4d dark tokens resolve beneath it.
   ========================================================================== */
body,
body[mode] {
  --uicolor: var(--color-primary);
  --uicolor2: var(--color-secondary);
  --uicolor3: var(--color-inverse-surface);
  --primary-text: var(--color-on-surface);
  --textcolor: var(--color-on-surface);
  --secondarytext: var(--color-on-surface-variant);
  --bgcolor: var(--color-surface-container-lowest);
  --bkground: var(--color-surface);
  --bghover: var(--color-surface-container-low);
  --diver: var(--color-outline-variant);
  --ui_color_header: var(--color-surface-container-lowest);
  --ui_footer: var(--color-inverse-surface);
  --fsize: 0.9375rem;
  --ffamily: var(--font-family-base);
  --ffamilystrong: var(--font-family-display);
  --f-number: 'Plus Jakarta Sans', var(--font-family-base);
  --miniradius: var(--radius-md);
  --largeradius: var(--radius-xl);
  --background_button: var(--color-primary);
  --button-border: 2px solid var(--color-primary);
  --main-color-rgb: var(--color-primary-rgb);
  --box-shadow: var(--shadow-sm);
  --box-shadow-1: var(--shadow-md);
  --box-shadow-2: var(--shadow-lg);
}

/* ==========================================================================
   2. BASE TYPOGRAPHY & CANVAS (final say after main.css)
   ========================================================================== */
body {
  font-family: var(--font-family-base) !important;
  font-size: var(--fsize) !important;
  line-height: 1.75 !important;
  background-color: var(--color-surface) !important;
  color: var(--color-on-surface);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-on-surface);
  overflow-wrap: break-word;
}

h1 { font-size: var(--text-headline-xl); }
h2 { font-size: var(--text-headline-lg); }
h3 { font-size: var(--text-headline-md); }
h4, h5, h6 { font-size: var(--text-headline-sm); }

p { line-height: 1.8; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-container); }

::selection {
  background: rgba(var(--main-color-rgb), 0.16);
  color: var(--color-on-surface);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

input, select, textarea {
  font-family: var(--font-family-base);
  font-size: var(--text-body-md);
}

/* Numeric UI values keep the Jakarta digits font */
.counterup-number, .box-price em, p.Service_price, .price-value,
.-rating-value, [data-price], .footer-copyright {
  font-family: var(--f-number);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   3. CONTAINER HARMONIZATION (one grid: 1280px)
   ========================================================================== */
.container,
.container-vips,
.vips-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
  width: 100%;
}

@media (min-width: 1024px) {
  .container,
  .container-vips,
  .vips-container {
    padding-inline: var(--gutter-desktop);
  }
}

/* Section rhythm */
.vips-section { padding-block: var(--space-xl); }
@media (min-width: 1024px) {
  .vips-section { padding-block: var(--space-3xl); }
}

/* ==========================================================================
   4. OWL CAROUSEL CORE (was missing — sliders rendered stacked/unclipped)
   ========================================================================== */
.owl-carousel {
  display: none;
  position: relative;
  width: 100%;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
.owl-carousel.owl-loaded { display: block; }
.owl-carousel.owl-loading { opacity: 0; display: block; }
.owl-carousel.owl-hidden { opacity: 0; }
.owl-carousel .owl-stage {
  position: relative;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-item,
.owl-carousel .owl-wrapper {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}
.owl-carousel .owl-item img { display: block; width: 100%; height: auto; }
.owl-rtl .owl-item,
.owl-carousel.owl-rtl .owl-item { float: right; }
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled { display: none; }
.owl-carousel .owl-nav,
.owl-carousel .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface-variant);
  box-shadow: var(--shadow-xs);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.owl-carousel .owl-nav .owl-prev i,
.owl-carousel .owl-nav .owl-next i { pointer-events: none; }
.owl-carousel button.owl-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-outline-variant);
  transition: background 0.15s ease, transform 0.15s ease;
}
.owl-carousel button.owl-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
}
.owl-carousel.owl-grab { cursor: grab; }
.owl-carousel.owl-grab .owl-item { cursor: grab; }
.owl-carousel .owl-animated-in { z-index: 0; }
.owl-carousel .owl-animated-out { z-index: 1; }
.owl-carousel .fadeOut { animation-name: fadeOut; }
@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
.owl-height { transition: height 0.5s ease-in-out; }
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.owl-carousel .owl-item .owl-lazy[src^=""],
.owl-carousel .owl-item .owl-lazy:not([src]) { max-width: 100%; }
.owl-carousel .owl-item img.owl-lazy { transform-style: preserve-3d; }

/* Owl nav arrows emitted by legacy markup (i-based buttons) */
.owl-nav > div,
.-custom-owl-Slides-prev,
.-custom-owl-Slides-next {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface-variant);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
}
.owl-nav > div:hover,
.-custom-owl-Slides-prev:hover,
.-custom-owl-Slides-next:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

/* ==========================================================================
   5. CATEGORY GRID (static responsive grid — must NOT be a carousel)
   ========================================================================== */
.YC-Secondery-Categoryes-continer- {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.CategoryGrid__Item {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  min-width: 0;
}
.CategoryGrid__Item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-fixed);
}
.CategoryGrid__Item .icon-cat {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-fixed);
  color: var(--color-primary);
  font-size: 22px;
}
.CategoryGrid__Item .CategoryName h2 {
  font-size: var(--text-headline-sm);
  margin: 0;
}
.CategoryGrid__Item .CategoryName p {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
  margin: 4px 0 0;
}
.CategoryGrid__Item .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-label-md);
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   6. PAGINATION (legacy .pagination wrapper + wp core markup)
   ========================================================================== */
.pagination,
.navigation.pagination {
  margin-block: var(--space-xl);
}
.pagination ul.page-numbers,
.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-lowest);
  color: var(--color-on-surface-variant);
  font-weight: 700;
  font-size: var(--text-body-md);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:hover {
  background: var(--color-surface-container-high);
  color: var(--color-primary);
  border-color: var(--color-primary-fixed);
}
.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.vips-pagination-wrap ul.page-numbers { gap: 6px; }

/* ==========================================================================
   7. BREADCRUMBS
   ========================================================================== */
.vips-breadcrumbs,
.breadcrumb-nav {
  margin-bottom: var(--space-md);
  font-size: var(--text-label-md);
  color: var(--color-on-surface-variant);
}
.breadcrumb-nav ol,
.breadcrumb-nav ul,
.vips-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-label-md);
  color: var(--color-on-surface-variant);
}
.breadcrumb-nav a,
.vips-breadcrumbs a {
  color: var(--color-primary);
  font-weight: 600;
}
.vips-breadcrumbs li[aria-hidden="true"],
.breadcrumb-nav li[aria-hidden="true"] {
  color: var(--color-outline-variant);
  list-style: none;
}
.breadcrumb-nav li[aria-current="page"],
.vips-breadcrumbs li[aria-current="page"],
.breadcrumb-nav .breadcrumb-current {
  color: var(--color-on-surface);
  font-weight: 700;
}
.breadcrumb-nav .sep,
.vips-breadcrumbs .sep { color: var(--color-outline-variant); }
/* Flat (ol-less) breadcrumb variant, e.g. @single/service.php. */
.breadcrumb-nav .sep { margin-inline: 6px; }
.breadcrumb-nav .current {
  color: var(--color-on-surface);
  font-weight: 700;
}

/* ==========================================================================
   8. ARCHIVE SYSTEM (default archive was completely naked)
   ========================================================================== */
.archive-section,
.default-archive-wrapper {
  padding-block: var(--space-xl);
  min-height: 40vh;
}
@media (min-width: 1024px) {
  .archive-section,
  .default-archive-wrapper { padding-block: var(--space-2xl); }
}
.archive-header { margin-bottom: var(--space-xl); }
.archive-title {
  font-size: var(--text-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 0 0 var(--space-sm);
}
.archive-description {
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-lg);
  line-height: 1.8;
  max-width: 75ch;
}
.archive-posts-grid,
.-Posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}
.archive-pagination-wrap { margin-top: var(--space-xl); }
.no-posts-found {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background: var(--color-surface-container-lowest);
  border: 1px dashed var(--color-outline-variant);
  border-radius: var(--radius-xl);
}
.no-posts-found > i,
.no-posts-found .material-symbols-outlined {
  font-size: 48px;
  color: var(--color-outline);
  margin-bottom: var(--space-md);
  display: inline-block;
}
.no-posts-found h3 {
  font-size: var(--text-headline-sm);
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   9. BUTTONS (unified vocabulary)
   ========================================================================== */
.btn,
.btn-primary,
.price_Alniks {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  border: none;
  background: var(--color-primary);
  color: var(--color-on-primary) !important;
  font-weight: 700;
  font-size: var(--text-body-md);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.btn:hover,
.btn-primary:hover,
.price_Alniks:hover {
  background: var(--color-primary-container);
  color: var(--color-on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-lowest);
  color: var(--color-on-surface);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
  background: var(--color-surface-container-low);
  border-color: var(--color-primary-fixed);
}
.ButtonConcept a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease;
}
.ButtonConcept a:hover {
  background: var(--color-primary-container);
  transform: translateY(-1px);
}

/* ==========================================================================
   10. ARTICLE / SINGLE POST (vips-article-view family)
   ========================================================================== */
.vips-article-view { width: 100%; }
.article-hero {
  background: linear-gradient(180deg, var(--color-surface-container-lowest) 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-outline-variant);
  padding-block: var(--space-xl) var(--space-2xl);
}
.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-featured-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}
.article-tags-wrap {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-outline-variant);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}
.article-tags-wrap a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-high);
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-sm);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.article-tags-wrap a:hover {
  background: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
}
.author-bio-card {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-surface-container-low);
  border: 1px solid var(--color-outline-variant);
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.author-bio-card img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}
.author-bio-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-on-surface);
}
.author-bio-card p {
  margin: 0;
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.7;
}
.sidebar-widget,
.sidebar-cta-card {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xs);
}
/* R6: aligned to the @single/post.php mockup — the sidebar CTA is an
   intentional dark navy gradient panel in BOTH modes (constant light inks
   via the .gc-grad-* / .gc-screen-* scopes). Previously a light tint that
   the template's inline styles then fought against. */
.sidebar-cta-card {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--gc-grad-deep) 100%);
  border-color: transparent;
  color: var(--gc-screen-ink);
  box-shadow: var(--shadow-lg);
}
.sidebar-widget + .sidebar-widget,
.sidebar-cta-card + .sidebar-widget,
.sidebar-widget + .sidebar-cta-card { margin-top: var(--space-lg); }
.single-blog { width: 100%; }

/* ==========================================================================
   11. CASE STUDY (vips-case-study family)
   ========================================================================== */
.vips-case-study { width: 100%; }
.vips-hero-article {
  background: linear-gradient(180deg, var(--color-surface-container-low) 0%, var(--color-surface) 100%);
}
.vips-report-strip {
  background: var(--color-surface-container-low);
  border-block: 1px solid var(--color-surface-container-high);
}
.case-study-content {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.vips-visual-evidence img,
.vips-visual-evidence .evidence-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.vips-tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-container-lowest);
}
.vips-tech-table thead th {
  background: var(--color-surface-container);
  color: var(--color-on-surface);
  font-weight: 700;
  padding: 12px 16px;
  text-align: start;
  font-size: var(--text-body-md);
}
.vips-tech-table tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--color-outline-variant);
  font-size: var(--text-body-md);
  color: var(--color-on-surface);
}
.vips-phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .vips-phases { grid-template-columns: repeat(3, 1fr); }
}
.vips-case-cta {
  background: var(--color-inverse-surface);
  color: var(--color-inverse-on-surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
}
.vips-case-cta h2,
.vips-case-cta h3 { color: var(--color-inverse-on-surface); }
.vips-case-cta p { color: var(--gc-inv-muted); }

/* ==========================================================================
   12. CITY HUB (vips-city-hub family)
   ========================================================================== */
.vips-city-hub { width: 100%; }
.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-xs);
  font-size: var(--text-label-md);
  font-weight: 700;
  color: var(--color-on-surface-variant);
  white-space: nowrap;
}
.telemetry-pill .material-symbols-outlined { font-size: 15px; color: var(--color-secondary); }
.district-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface-variant);
  font-size: var(--text-label-lg);
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.district-badge:hover,
.district-badge.active {
  background: var(--color-inverse-surface);
  border-color: var(--color-inverse-surface);
  color: var(--color-inverse-on-surface);
}
.vips-services-section { padding-block: var(--space-xl); }
.vips-service-card {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vips-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.vips-service-card .price-block,
.vips-service-card .service-price {
  font-family: var(--f-number);
  font-weight: 800;
  color: var(--color-primary);
}
.vips-geo-silo {
  background: var(--color-surface-container-low);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}
.vips-authority-branch {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-surface-container-high);
}
.vips-city-cta {
  background: var(--dark-band);
  color: var(--color-inverse-on-surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vips-city-cta::before {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-start: -10%;
  width: 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(var(--main-color-rgb), 0.25), transparent 70%);
  filter: blur(48px);
  z-index: -1;
}
.vips-city-cta h2,
.vips-city-cta h3 { color: var(--color-inverse-on-surface); }
.vips-city-cta p { color: var(--gc-inv-muted); }
.cities-list__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

/* ==========================================================================
   13. BLOG / CATEGORY HEROES & GRIDS
   ========================================================================== */
.vips-blog-view,
.vips-category-view { width: 100%; }
.blog-hero,
.category-hero {
  background: linear-gradient(180deg, var(--color-surface-container-low) 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-outline-variant);
}
.postgrid-boxed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}

/* ==========================================================================
   14. FAQ SYSTEM (unified accordion look for all 4 implementations)
   ========================================================================== */
.vips-faq-hub { width: 100%; }
.vips-faq-hero {
  background: linear-gradient(180deg, var(--color-surface-container-low) 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-outline-variant);
  padding-block: var(--space-2xl) var(--space-3xl);
  text-align: center;
}
.vips-faq-body { padding-block: var(--space-2xl) var(--space-3xl); background: var(--color-surface); }
.vips-faq-cta {
  background: var(--sys-inverse-surface);
  color: var(--color-inverse-on-surface);
  padding-block: var(--space-3xl);
  text-align: center;
}
.vips-faq-cta h2, .vips-faq-cta h3 { color: var(--color-inverse-on-surface); }
.faq-category-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: 0;
}
.faq-category-group > h2,
.faq-category-group > h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary-fixed);
}
.faq-card,
.faq_section .-faqs-singlebox,
.head-faq-body {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-card + .faq-card,
.faq_section .-faqs-singlebox + .-faqs-singlebox { margin-top: var(--space-sm); }
.faq-card:hover,
.faq_section .-faqs-singlebox:hover {
  border-color: var(--color-primary-fixed);
  box-shadow: var(--shadow-sm);
}
.faq-card > summary,
.faq-card .faq-question,
.faq-card h3 {
  cursor: pointer;
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
  font-size: var(--text-headline-sm);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.faq-card > summary::-webkit-details-marker { display: none; }
.faq-card[open] > summary,
.faq-card.is-open > summary { color: var(--color-primary); }
.faq-card .faq-answer,
.faq-card > p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-on-surface-variant);
  line-height: 1.8;
}

/* ==========================================================================
   15. 404 / SEARCH / AUTHOR
   ========================================================================== */
.vips-404-view {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: var(--space-3xl) var(--space-md);
  text-align: center;
}
.category-headline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}
.project-archive,
.project {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}
.blog_shap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}

/* ==========================================================================
   16. HOME METRICS / COUNTERS GRID
   ========================================================================== */
.metrics-grid-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .metrics-grid-wrap { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   17. FORMS (white surface + hairline border, per design spec)
   ========================================================================== */
.form-contact,
.contact-info_page {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.form-contact input[type="text"],
.form-contact input[type="tel"],
.form-contact input[type="email"],
.form-contact input[type="search"],
.form-contact select,
.form-contact textarea,
textarea.textarea_form,
input.line,
select.line,
.Comment_lise input,
.Comment_lise textarea,
.contact-info_page input,
.contact-info_page textarea,
.contact-info_page select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-lowest);
  color: var(--color-on-surface);
  font-size: var(--text-body-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-contact textarea,
textarea.textarea_form,
.Comment_lise textarea,
.contact-info_page textarea { min-height: 120px; resize: vertical; }
.form-contact input:focus,
.form-contact select:focus,
.form-contact textarea:focus,
textarea.textarea_form:focus,
input.line:focus,
select.line:focus,
.Comment_lise input:focus,
.Comment_lise textarea:focus,
.contact-info_page input:focus,
.contact-info_page textarea:focus,
.contact-info_page select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.12);
}
.form-contact input::placeholder,
textarea::placeholder,
input::placeholder { color: var(--color-outline); opacity: 1; }
.form-contact label,
.contact-info_page label {
  display: block;
  font-weight: 700;
  font-size: var(--text-label-lg);
  margin-bottom: 6px;
  color: var(--color-on-surface);
}

/* ==========================================================================
   18. LOAD MORE / INFINITE SCROLL UI
   ========================================================================== */
.LoadMore--InpuArea {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}
.LoadMorePostsBTN,
.loadmore-btn,
button.loadmore,
.loadmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  min-width: 200px;
  padding: var(--space-sm) var(--space-2xl);
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  font-size: var(--text-body-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}
.LoadMorePostsBTN:hover,
button.loadmore:hover,
.loadmore:hover {
  background: var(--color-primary-container);
  transform: translateY(-1px);
}
.LoadMorePostsBTN[disabled],
.loadmore[disabled],
.loadmore.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.PostsScrollLoader {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--space-lg) 0;
}
.PostsScrollLoader::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-surface-container-high);
  border-top-color: var(--color-primary);
  animation: gc-spin 0.8s linear infinite;
}
@keyframes gc-spin { to { transform: rotate(360deg); } }
.-ScrollerCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ToggleContentValue { cursor: pointer; }

/* ==========================================================================
   19. SHARE / SOCIAL / MISC UI
   ========================================================================== */
.socialTips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.socialTips a,
.blogs-box-social-share li a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.socialTips a:hover,
.blogs-box-social-share li a:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
  transform: translateY(-2px);
}
.is-sale-product {
  position: relative;
  display: inline-block;
}
.is-sale-product::after {
  content: "خصم";
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  background: var(--color-error);
  color: var(--color-on-error);
  font-size: var(--text-label-micro);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.hoverable { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.activable { cursor: pointer; }

/* ==========================================================================
   20. HEADER (logo link + desktop nav + control buttons)
   --------------------------------------------------------------------------
   NOTE: the mobile menu toggle (.menu_bar icon swap + .menu-nav.open) is
   owned by main.css/responsive.css legacy rules — do not duplicate here.
   ========================================================================== */
.logo a.logo-link,
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-on-surface);
  font-family: var(--font-display);
  font-weight: 800;
}
.logo a.logo-link img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* Header controls are real buttons now (were divs) — neutralize UA chrome
   so the legacy .menu_bar / .btn-search skins keep rendering identically. */
button.menu_bar,
button.btn-search {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

/* Desktop nav layout only — mobile stacking/positioning is legacy-owned. */
@media (min-width: 1024px) {
  .menu-nav ul,
  ul.header-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
    margin: 0;
    padding: 0;
  }
}
.menu-nav a {
  color: var(--color-on-surface);
  font-weight: 600;
  font-size: var(--text-label-lg);
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.15s ease;
}
.menu-nav a:hover,
.menu-nav .current-menu-item > a,
.menu-nav .current_page_item > a,
.menu-nav .current-menu-ancestor > a {
  color: var(--color-primary);
}

/* ==========================================================================
   21. FOOTER (unified dark band)
   ========================================================================== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.footer-links a:hover { opacity: 1; }
.foot-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
}

/* ==========================================================================
   22. UTILITY VOCABULARY (used by templates + centerpiece.js)
   ========================================================================== */
.w-full { width: 100%; }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-inverse-surface { background-color: var(--color-inverse-surface); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-inverse-on-surface { color: var(--color-inverse-on-surface); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 8px;
  z-index: 2000;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  font-weight: 700;
}
.skip-link:focus { inset-inline-start: 8px; }

/* ==========================================================================
   23. RESPONSIVE LADDER (unified: 1023 / 767 / 560 / 400)
   ========================================================================== */
@media (max-width: 1023px) {
  /* Mobile menu toggle + off-canvas nav are owned by legacy
     responsive.css (.menu_bar / .menu-nav.open) — intentionally not
     duplicated here. Only touch targets are reinforced below. */
  .menu-nav a { width: 100%; }
  .archive-posts-grid,
  .-Posts-grid,
  .postgrid-boxed,
  .project-archive,
  .project,
  .blog_shap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .archive-posts-grid,
  .-Posts-grid,
  .postgrid-boxed,
  .project-archive,
  .project,
  .blog_shap { grid-template-columns: 1fr; }
  .cities-list__inner { grid-template-columns: repeat(2, 1fr); }
  .vips-city-cta,
  .vips-faq-cta,
  .vips-case-cta { padding: var(--space-xl) var(--space-md); }
  .metrics-grid-wrap { grid-template-columns: repeat(2, 1fr); }
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-nav > div,
  .-custom-owl-Slides-prev,
  .-custom-owl-Slides-next { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  .cities-list__inner { grid-template-columns: 1fr; }
  .case-study-content { padding: var(--space-lg); }
  .form-contact,
  .contact-info_page { padding: var(--space-lg); }
  .author-bio-card { flex-direction: column; }
}

@media (max-width: 400px) {
  .metrics-grid-wrap { grid-template-columns: 1fr 1fr; }
  .pagination .page-numbers,
  .navigation.pagination .page-numbers {
    min-width: 38px;
    min-height: 38px;
    padding: 4px 10px;
  }
}

/* ==========================================================================
   24. MOTION SAFETY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   25. ACCESSIBILITY — hide decorative Material Symbols from AT when the
   font fails (ligature text would be read aloud)
   ========================================================================== */
span.material-symbols-outlined[aria-hidden="true"] {
  speak: none;
}

/* ==========================================================================
   27. HEADER SEARCH OVERLAY (JS-generated: .search_header > .search_overlay
   + .search_body). Previously rendered with NO styles — unstyled block with
   a broken JS selector. Full overlay per design spec (scrim + blur + card).
   ========================================================================== */
.search_header {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 8vh, 96px) var(--space-md) var(--space-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.search_header.searchopen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search_overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.search_body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.25s ease;
}
.search_header.searchopen .search_body {
  transform: translateY(0) scale(1);
}
.search_body h2 {
  font-size: var(--text-headline-md);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  text-align: center;
}
/* JS renders a visible label duplicating the input placeholder — keep it
   for screen readers, remove the visual duplication. */
.search_body label.-yc--searching--input {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.search_body form {
  position: relative;
  display: flex;
  gap: var(--space-sm);
}
.search_body input[type="search"] {
  flex: 1 1 auto;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface);
  font-size: var(--text-body-lg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.search_body input[type="search"]:focus {
  outline: none;
  background: var(--color-surface-container-lowest);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.12);
}
.search_body input[type="search"]::placeholder { color: var(--color-outline); }
.search_body button[type="submit"] {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  min-width: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  font-size: var(--text-body-md);
  cursor: pointer;
  transition: background 0.15s ease;
}
.search_body button[type="submit"]:hover {
  background: var(--color-primary-container);
}
.search_closse {
  position: absolute;
  inset-inline-start: var(--space-md);
  inset-block-start: var(--space-md);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.search_closse:hover {
  background: var(--color-surface-container-high);
  color: var(--color-on-surface);
}
.search_closse i { font-size: 18px; }
/* Decorative JS shadow div — real shadows already applied above. */
.search_body .input_search_shadwo { display: none; }

@media (max-width: 560px) {
  .search_header { padding-inline: var(--space-sm); }
  .search_body { padding: var(--space-lg) var(--space-md); }
  .search_body form { flex-direction: column; }
  .search_body button[type="submit"] { width: 100%; }
}

/* ==========================================================================
   26. CENTERPIECE ESTIMATOR (class-based rebuild — zero inline styles)
   Vocabulary: .cpe-* (estimator + dispatch chip). State classes toggled by
   js/centerpiece.js reuse the §22 utilities (bg-surface-container-lowest,
   text-primary, font-bold, shadow-sm…); the .active overrides below carry
   the same values at higher specificity so state never depends on order.
   ========================================================================== */

/* Header */
.cpe-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.cpe-header-title {
  margin: 0;
  font-size: var(--text-headline-md);
  font-weight: 800;
  color: var(--color-on-surface);
}
.cpe-header-sub {
  margin: var(--space-2xs) 0 0;
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
}
.cpe-header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-fixed);
  color: var(--color-primary);
  font-size: var(--text-body-lg);
}

/* Form layout */
.cpe-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.cpe-step-label {
  display: block;
  margin-bottom: var(--space-2xs);
  font-size: var(--text-label-md);
  font-weight: 700;
  color: var(--color-on-surface);
}

/* Service select (custom caret) */
.cpe-select-wrap { position: relative; }
.cpe-service-select {
  width: 100%;
  min-height: 2.75rem; /* 44px touch target */
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-surface-container-low);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  color: var(--color-on-surface);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.cpe-select-caret {
  position: absolute;
  inset-inline-end: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: var(--text-label-md);
  color: var(--color-on-surface-variant);
}

/* Step 1 — city selector (4-up desktop, 2-up mobile; no overflow at 360px) */
.cpe-city-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xs);
  padding: var(--space-2xs);
  max-width: 100%;
  background-color: var(--color-surface-container-low);
  border-radius: var(--radius-md);
}
@media (max-width: 767px) {
  .cpe-city-selector { grid-template-columns: repeat(2, 1fr); }
}

/* Step 3 — property selector (2-up mobile, 4-up desktop: 4 items) */
.cpe-property-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xs);
  max-width: 100%;
}
@media (min-width: 768px) {
  .cpe-property-selector { grid-template-columns: repeat(4, 1fr); }
}

/* Segmented tabs + property buttons.
   Neutral look lives on the base class; the .active override (and the §22
   utilities centerpiece.js toggles alongside it) paints the raised state. */
.cpe-city-tab,
.cpe-prop-btn {
  cursor: pointer;
  font-size: var(--text-label-micro);
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.cpe-city-tab {
  display: block;
  width: 100%;
  padding: var(--space-2xs);
  border: none;
  background-color: transparent;
  color: var(--color-on-surface-variant);
}
.cpe-prop-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 2.75rem; /* 44px touch target */
  padding: var(--space-xs);
  border: 1px solid var(--color-surface-container-high);
  background-color: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  text-align: start;
}
.cpe-city-tab.active,
.cpe-prop-btn.active {
  background-color: var(--color-surface-container-lowest);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.cpe-prop-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
}

/* Calculation output matrix */
.cpe-matrix {
  background-color: var(--color-surface-container-low);
  border: 1px solid var(--color-surface-container-high);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.cpe-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xs);
  font-size: var(--text-body-sm);
}
.cpe-price-row--total {
  align-items: baseline;
  margin-bottom: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px dashed var(--color-outline-variant);
}
.cpe-price-label {
  font-size: var(--text-label-md);
  font-weight: 700;
  color: var(--color-on-surface);
}
.cpe-price-value {
  font-size: var(--text-headline-md);
  font-weight: 800;
  color: var(--color-primary);
}
.cpe-trust-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: var(--text-label-micro);
  color: var(--color-on-surface-variant);
}
.cpe-trust-row i,
.cpe-note i {
  vertical-align: -0.125em;
  margin-inline-end: var(--space-2xs);
}

/* CTA stack */
.cpe-cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.cpe-cta {
  width: 100%;
  font-size: var(--text-label-lg);
  text-decoration: none;
  border-radius: var(--radius-lg);
}
.cpe-cta-call {
  background-color: var(--color-inverse-surface);
  color: var(--color-inverse-on-surface);
}
.cpe-cta-call:hover {
  background-color: var(--color-tertiary-container);
  color: var(--color-on-tertiary);
}

/* Trust note */
.cpe-note {
  margin-top: var(--space-2xs);
  text-align: center;
  font-size: var(--text-label-micro);
  color: var(--color-on-surface-variant);
}

/* Dispatch tracker chip */
.cpe-dispatch-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  max-width: 100%;
  background-color: var(--color-surface-container-lowest);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-outline-variant);
}
.cpe-dispatch-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background-color: var(--color-secondary-fixed);
  color: var(--color-on-secondary-container);
  font-size: var(--text-body-lg);
}
.cpe-dispatch-chip-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}
.cpe-dispatch-chip-label {
  font-size: var(--text-label-micro);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
}
.cpe-dispatch-chip-city {
  font-size: var(--text-label-md);
  font-weight: 700;
  color: var(--color-on-surface);
}
.cpe-dispatch-badge {
  margin-inline-start: auto;
  padding: 0.125rem var(--space-xs);
  font-size: var(--text-label-micro);
}

/* ============================================================
   28. GLOBAL POLISH — skip link, selection, scrollbar, focus,
   print & micro-typography (additive, tokens only)
   ============================================================ */

/* 28.1 Skip-to-content link: visually hidden until keyboard-focused.
   Emitted by #header/part.php as the first focusable element on every page;
   every leaf template owns a matching id="main-content" anchor. */
.gc-skip-link {
  position: fixed;
  top: var(--space-xs);
  inset-inline-start: var(--space-xs);
  z-index: var(--z-overlay, 1200);
  padding: 0.625rem var(--space-md);
  min-height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  font-size: var(--text-label-lg);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(-100% - var(--space-lg)));
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.gc-skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  outline: 2px solid var(--color-on-primary);
  outline-offset: 2px;
}

/* Anchor landing must clear the sticky header. */
[id="main-content"] { scroll-margin-top: 96px; }

/* 28.2 Back-to-top is a real <button> now (was a div) — strip UA chrome
   so the legacy .back-to-top skin in #footer/part.php keeps rendering
   identically, and give it a token focus ring. */
button.back-to-top {
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
button.back-to-top:focus-visible {
  outline: 2px solid var(--color-on-surface);
  outline-offset: 3px;
}

/* 28.3 Branded text selection. */
::selection {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

/* 28.4 Quiet, token-colored scrollbars (WebKit + Firefox thin). */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-outline-variant, var(--color-outline)) transparent;
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--color-outline-variant, var(--color-outline));
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background-color: var(--color-outline); }

/* 28.5 One consistent keyboard focus ring site-wide (legacy focus rules
   keep working; this only fills gaps where none exists). */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-xs, var(--radius-sm));
}

/* 28.6 Micro-typography: balance long Arabic headings when supported. */
h1, h2, h3, .category-title h1, .titles_concept h2 {
  text-wrap: balance;
}

/* 28.7 Print: content only — hide chrome, floating buttons, overlays. */
@media print {
  header, footer,
  .back-to-top, button.back-to-top,
  .floating-contact-buttons,
  .search_header,
  .gc-skip-link,
  .menu-nav,
  .btn-action-whatsapp, .btn-action-primary,
  .owl-nav, .owl-dots {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  [id="main-content"] { scroll-margin-top: 0; }
}

/* ============================================================
   29. DARK MODE, MODE TOGGLE & READING PROGRESS (gc-mode)
   ============================================================ */

/* 29.1 Mode toggle button — mirrors the legacy .btn-search cluster
   (45px circle, uicolor fill, white-ish ink) so the header controls read
   as one system. Emitted by #header/part.php; behavior lives in setup.js. */
.btn-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-inline-start: 10px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--uicolor);
  color: var(--color-on-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-mode:hover { transform: translateY(-1px); }
.btn-mode:active { transform: scale(0.95); }
.btn-mode:focus-visible {
  outline: 2px solid var(--color-on-primary);
  outline-offset: 3px;
}
.btn-mode i { font-size: 20px; line-height: 1; }
/* Light mode shows the moon ("switch to dark"); dark shows the sun. */
.btn-mode .fa-sun { display: none; }
body[mode="dark"] .btn-mode .fa-sun { display: inline-block; }
body[mode="dark"] .btn-mode .fa-moon { display: none; }

/* 29.2 Legacy header chrome hardcodes #fff (main.css: header, header.fixed,
   header.header-out-single). Remap to the token surface so the fixed header
   blends into the dark canvas instead of glaring white. */
body[mode="dark"] header {
  background: var(--color-surface-container-lowest);
}

/* 29.3 Contrast corrections where legacy assumes a LIGHT --uicolor.
   In dark mode --uicolor is a light tone (#b4c5ff), so ink on it must be
   the dark scheme's on-primary, not white.
   R12 FIX: the header surface is the FROSTED SURFACE (not a primary
   button) — nav ink must follow --color-on-surface (#e3e2ec). The old
   --color-on-primary value resolves to #002268 in dark = dark-on-dark,
   the reported unreadable-nav defect. Icon buttons (.btn-search /
   .btn-mode) DO sit on primary-blue circles, so they keep on-primary. */
body[mode="dark"] .btn-search i,
body[mode="dark"] .btn-mode i { color: var(--color-on-primary); }
body[mode="dark"] .menu-nav { color: var(--color-on-surface); }
body[mode="dark"] .menu-nav > ul > li > a { color: var(--color-on-surface) !important; }
body[mode="dark"] .menu-nav > ul > li.current-menu-item > a { color: var(--color-primary) !important; }
body[mode="dark"] .menu-nav form input {
  border-color: var(--color-outline-variant);
  background: var(--color-surface-container-lowest);
  color: var(--color-on-surface);
}

/* 29.4 Content imagery: dim raster photos slightly so they sit naturally
   on the dark canvas (icons/fonts unaffected; filter is cheap on GPU). */
body[mode="dark"] .eav-card img,
body[mode="dark"] .vips-article-card img,
body[mode="dark"] .vips-case-study img,
body[mode="dark"] .ArticleDetails img,
body[mode="dark"] .-post-box img,
body[mode="dark"] .Griditem-posts-left img,
body[mode="dark"] .Griditem-posts-right img {
  filter: brightness(0.9) contrast(1.04);
}

/* 29.5 Reading progress bar — emitted on every page right after the skip
   link, but only made visible by setup.js on article pages (body gains
   data-gc-progress once #main-content is measured). RTL-aware: the bar is
   anchored to the inline-start edge (right in RTL) and grows leftward. */
.gc-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  z-index: var(--z-overlay, 1200);
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(var(--gc-progress, 0));
  transform-origin: 100% 50%; /* RTL: shrink from the left edge back to the right */
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
body[data-gc-progress] .gc-progress { opacity: 1; }
@media print {
  .gc-progress { display: none; }
}

/* 29.6 FAQ knowledge-base page — live-search empty state (markup added in
   @page/faq.php; hidden until a search yields zero visible cards). */
.faq-empty-state {
  display: none;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-surface-container-lowest);
  border: 1px dashed var(--color-outline-variant);
  border-radius: var(--radius-xl);
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-lg);
  line-height: 1.7;
}
.faq-empty-state.is-visible { display: block; }
.faq-empty-state strong { color: var(--color-on-surface); }

/* 29.7 Dark fine-tuning for the FAQ live-search input (its inline style
   uses a light-scheme fixed token as border; tokenized here instead). */
#faqLiveSearch:focus-visible {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.25) !important;
}

/* ==========================================================================
   30. VIPS PAGE INTERNALS — de-inlined from @single/works.php & @archive/
       country.php (R5). These templates carried 300+ inline styles that
       (a) duplicated the §7–12 component layer, (b) killed designed hover
       states (inline beats selectors), and (c) hardcoded light-only inks
       on inverse panels (#fff/#94a3b8 → invisible after §4d flip). Every
       class below consumes tokens; scoped inks use §1c .gc-inv-* sets.
       ========================================================================== */

/* 30.1 Layout utilities ---------------------------------------------------- */
.u-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.u-row-between--baseline { align-items: baseline; }
.u-row-between--end { align-items: flex-end; }
.u-row-start {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.u-flex-wrap { flex-wrap: wrap; }
.u-grid-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}
.u-grid-hero--center { gap: var(--space-2xl); align-items: center; }
.u-grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.u-grid-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.u-grid-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.u-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.u-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vips-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.vips-district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-sm);
}
.u-max-800-center { max-width: 800px; margin-inline: auto; }

/* 30.2 Section rhythm — wrappers were padding-inline-styled; bands own it -- */
.vips-report-strip { padding-block: var(--space-sm); }
.vips-hero-article { padding-block: var(--space-2xl); }
.vips-visual-evidence,
.vips-tech-table,
.vips-phases { padding-block: var(--space-2xl); }
.vips-city-hero {
  padding-block: var(--space-2xl);
  background: linear-gradient(180deg, var(--color-surface-container-lowest) 0%, var(--color-surface) 100%);
}
.vips-telemetry-bar {
  background: var(--color-surface-container-lowest);
  border-block-end: 1px solid var(--color-outline-variant);
  padding-block: var(--space-sm);
}
section.vips-services-section {
  padding-block: var(--space-3xl);
  background: var(--color-surface);
}
section.vips-geo-silo {
  padding-block: var(--space-3xl);
  background: var(--color-surface-container-low);
  border: 0;
  border-radius: 0;
}
section.vips-authority-branch {
  display: block;
  padding-block: var(--space-3xl);
  background: var(--color-surface);
  border: 0;
  border-radius: 0;
}
section.vips-tech-table {
  border: 0;
  border-radius: 0;
  background: var(--color-surface);
}
section.vips-phases { display: block; }
/* Breadcrumbs sit inside flex rows on these bands — kill §7 margin there. */
.vips-report-strip .vips-breadcrumbs,
.vips-telemetry-bar .vips-breadcrumbs { margin-block-end: 0; }
.vips-breadcrumbs .current {
  color: var(--color-primary);
  font-weight: 700;
}
.vips-breadcrumbs .sep { color: var(--color-outline-variant); }

/* 30.3 Page heads, kickers, eyebrows --------------------------------------- */
.vips-kicker {
  display: block;
  font-size: var(--font-label-micro);
  font-weight: 700;
  color: var(--sys-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.vips-section-head { margin-block-end: var(--space-lg); }
.vips-section-head--xl { margin-block-end: var(--space-xl); }
.vips-section-head h2 {
  font-size: var(--font-headline-lg);
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 4px 0 0;
}
.vips-section-head p {
  font-size: var(--font-body-md);
  color: var(--color-on-surface-variant);
  margin: 4px 0 0;
}
.vips-page-head { max-width: 800px; margin-block-end: var(--space-2xl); }
.vips-page-head h2 {
  font-size: var(--font-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 0 0 8px;
}
.vips-page-head p {
  font-size: var(--font-body-lg);
  color: var(--color-on-surface-variant);
  margin: 0;
}
.vips-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-label-micro);
  font-weight: 700;
  margin-block-end: var(--space-xs);
}
.vips-eyebrow--primary {
  background: var(--sys-primary-fixed);
  color: var(--sys-on-primary-fixed);
}
.vips-eyebrow--surface {
  background: var(--sys-surface-container-high);
  color: var(--color-on-surface);
}
.vips-page-title {
  font-size: var(--font-display-hero);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-on-surface);
  margin-block-end: var(--space-md);
}
.vips-page-title .accent { color: var(--sys-primary); }
.vips-case-title {
  font-size: var(--font-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  line-height: 1.3;
  margin: 0 0 var(--space-md);
}
.vips-lead {
  font-size: var(--font-body-xl);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-block-end: var(--space-xl);
}
.vips-loc-line {
  font-size: var(--font-label-md);
  font-weight: 700;
  color: var(--color-on-surface-variant);
  display: flex;
  align-items: center;
  gap: 4px;
}
.vips-loc-line .material-symbols-outlined {
  font-size: 16px;
  color: var(--sys-primary);
}
.vips-cal-chip {
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--sys-surface-container);
  font-size: var(--font-label-md);
  font-weight: 700;
  color: var(--color-on-surface);
}

/* 30.4 Pills & status badges ------------------------------------------------ */
.vips-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--font-label-micro);
  font-weight: 700;
}
.vips-pill .material-symbols-outlined { font-size: 16px; }
.vips-pill--primary {
  background: var(--sys-primary-fixed);
  color: var(--sys-on-primary-fixed);
  text-transform: uppercase;
}
.vips-pill--secondary {
  background: var(--sys-secondary);
  color: var(--sys-on-secondary);
  text-transform: uppercase;
}
.vips-pill--surface {
  background: var(--sys-surface-container-lowest);
  box-shadow: var(--shadow-xs);
  color: var(--sys-secondary);
}
.vips-pill--sec-container {
  background: var(--sys-secondary-container);
  color: var(--sys-on-secondary-container);
}
.vips-live-dot {
  display: inline-block;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background-color: var(--sys-secondary);
}
.vips-live-dot--lg {
  inline-size: 10px;
  block-size: 10px;
  box-shadow: 0 0 0 3px var(--gc-secondary-alpha);
}
.vips-audit-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-on-surface-variant);
}
.vips-audit-status strong { color: var(--color-on-surface); }
.vips-audit-code {
  color: var(--sys-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vips-audit-code .material-symbols-outlined { font-size: 14px; }

/* 30.5 Cards, tiles & stat blocks ------------------------------------------- */
.vips-card {
  background: var(--sys-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: 0 4px 15px rgba(19, 27, 46, 0.06);
  border: 1px solid var(--sys-outline-variant);
}
.vips-card--pad-lg { padding: var(--space-lg); }
.vips-card--pad-xl { padding: var(--space-xl); }
.vips-card--flush {
  box-shadow: var(--shadow-xs);
  border: 0;
}
.vips-card-title {
  font-size: var(--font-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  margin: 0 0 8px;
}
.vips-card-title a {
  color: inherit;
  text-decoration: none;
}
.vips-card-text {
  font-size: var(--font-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.5;
  margin: 0 0 var(--space-md);
}
.vips-card-head-tag {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-label-micro);
  font-weight: 700;
}
.vips-card-head-tag--error {
  background: var(--sys-error-container);
  color: var(--sys-on-error-container);
}
.vips-card-head-tag--ok {
  background: var(--sys-secondary-container);
  color: var(--sys-on-secondary-container);
}
.vips-card-time {
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
}
.vips-stat-tile {
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background: var(--sys-surface-container-low);
}
.vips-stat-label {
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
  display: block;
}
.vips-stat-value {
  font-size: var(--font-label-md);
  color: var(--color-on-surface);
}
.vips-stat-value--secondary { color: var(--sys-secondary); }
.vips-screen {
  background: var(--gc-screen-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  color: var(--gc-screen-ink);
  margin-block-end: 12px;
}
.vips-screen--deep { background: var(--gc-screen-bg-deep); }
.vips-screen-label {
  font-size: var(--font-label-micro);
  font-weight: 700;
  margin-block-end: 6px;
}
.vips-screen-label--info { color: var(--gc-screen-info); }
.vips-screen-label--ok { color: var(--gc-screen-success); }
.vips-screen-value {
  font-size: var(--font-headline-lg);
  font-weight: 800;
  margin-block-end: 4px;
}
.vips-screen-value--error { color: var(--gc-screen-error); }
.vips-screen-value--ok { color: var(--gc-screen-success); }
.vips-screen-note {
  font-size: var(--font-label-micro);
  color: var(--gc-screen-muted);
}
.vips-phase-check {
  font-size: var(--font-label-micro);
  color: var(--sys-secondary);
  font-weight: 700;
}
.vips-phase-time {
  background: var(--sys-surface-container);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
}

/* 30.6 Inverse panels — ops console (country) & KPI card (works) ------------- */
.vips-inverse-panel {
  background: var(--sys-inverse-surface);
  color: var(--gc-inv-ink);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}
.vips-inverse-panel--clip { position: relative; overflow: hidden; }
.vips-inverse-head h2 {
  font-size: var(--font-headline-sm);
  font-weight: 700;
  color: var(--gc-inv-ink);
  margin: 0;
}
.vips-inverse-head p {
  font-size: var(--font-label-micro);
  color: var(--gc-inv-muted);
  margin: 2px 0 0;
}
.vips-live-chip {
  background: var(--sys-primary);
  color: var(--sys-on-primary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-label-micro);
  font-weight: 700;
  white-space: nowrap;
}
.vips-inv-report {
  font-size: var(--font-label-micro);
  color: var(--gc-inv-muted);
}
.vips-kpi-stat {
  background: var(--gc-inv-tile-bg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-block-end: 12px;
}
.vips-kpi-stat--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vips-kpi-label {
  font-size: var(--font-label-micro);
  color: var(--gc-inv-muted);
}
.vips-kpi-label--success {
  color: var(--gc-inv-success);
  font-weight: 700;
  text-transform: uppercase;
}
.vips-kpi-value {
  font-size: var(--font-display-hero);
  font-weight: 800;
  color: var(--gc-inv-ink);
  line-height: 1;
  margin: 4px 0;
}
.vips-kpi-value--sm {
  font-size: var(--font-headline-sm);
  margin-block-start: 4px;
}
.vips-kpi-value--success { color: var(--gc-inv-success); }
.vips-kpi-note {
  font-size: var(--font-body-sm);
  color: var(--gc-inv-muted);
}
.vips-kpi-note--micro { font-size: var(--font-label-micro); }
.vips-kpi-icon {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  background: var(--gc-inv-success-alpha);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc-inv-success);
  flex-shrink: 0;
}
.vips-sla-banner {
  background: var(--sys-primary-container);
  color: var(--sys-on-primary-container);
  padding: 12px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vips-sla-banner .material-symbols-outlined { font-size: 24px; }
.vips-sla-banner strong { display: block; }
.vips-sla-banner-note {
  color: var(--sys-primary-fixed);
  font-size: var(--font-label-micro);
}
.vips-sector-tile {
  background: var(--gc-inv-tile-bg);
  border: 1px solid var(--gc-inv-tile-border);
  padding: 12px;
  border-radius: var(--radius-md);
}
.vips-sector-name {
  font-size: var(--font-label-micro);
  color: var(--gc-inv-info);
  font-weight: 700;
}
.vips-sector-dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--gc-inv-success);
}
.vips-sector-districts {
  font-weight: 700;
  color: var(--gc-inv-ink);
  margin: 4px 0;
  font-size: var(--font-label-md);
}
.vips-sector-sla {
  font-size: var(--font-label-micro);
  color: var(--gc-inv-success);
  font-weight: 600;
}
.vips-sla-strip {
  text-align: center;
  border-block-start: 1px solid var(--gc-inv-tile-border);
  padding-block-start: 12px;
}
.vips-sla-num {
  font-size: var(--font-headline-sm);
  font-weight: 800;
  color: var(--gc-inv-ink);
  display: block;
}
.vips-sla-num--success { color: var(--gc-inv-success); }
.vips-sla-num--info { color: var(--gc-inv-info); }
.vips-sla-label {
  font-size: var(--font-label-micro);
  color: var(--gc-inv-muted);
}

/* 30.7 CTA band internals ---------------------------------------------------- */
.vips-cta-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--gc-inv-chip-bg);
  color: var(--gc-inv-chip-ink);
  font-size: var(--font-label-micro);
  font-weight: 700;
  margin-block-end: var(--space-md);
}
.vips-cta-band h2 {
  font-size: var(--font-headline-xl);
  font-weight: 800;
  color: var(--gc-inv-ink);
  margin: 0 0 var(--space-sm);
}
.vips-cta-band p {
  font-size: var(--font-body-lg);
  color: var(--gc-inv-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
}
.vips-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* 30.8 Action buttons --------------------------------------------------------- */
.vips-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--font-label-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.vips-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.vips-btn--primary {
  background: var(--sys-primary);
  color: var(--sys-on-primary);
}
.vips-btn--secondary {
  background: var(--sys-secondary);
  color: var(--sys-on-secondary);
}
.vips-btn--block {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px;
  background: var(--sys-primary);
  color: var(--sys-on-primary);
  font-size: var(--font-label-md);
  box-sizing: border-box;
}
.vips-btn--inverse-block {
  display: flex;
  justify-content: center;
  padding: 12px;
  background: var(--sys-inverse-surface);
  color: var(--sys-inverse-on-surface);
  font-size: var(--font-label-md);
}
.vips-btn--secondary-block {
  display: flex;
  justify-content: center;
  padding: 12px;
  background: var(--sys-secondary);
  color: var(--sys-on-secondary);
  font-size: var(--font-label-md);
}
.vips-btn .material-symbols-outlined { font-size: 20px; }
.vips-btn--block .material-symbols-outlined,
.vips-btn--inverse-block .material-symbols-outlined,
.vips-btn--secondary-block .material-symbols-outlined { font-size: 18px; }

/* 30.9 Tech table internals (the <table> inside section.vips-tech-table) ----- */
.vips-table-card {
  overflow-x: auto;
  background: var(--sys-surface-container-lowest);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--sys-outline-variant);
}
.vips-spec-table {
  inline-size: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: var(--font-body-sm);
}
.vips-spec-table thead tr {
  background: var(--sys-surface-container);
  color: var(--color-on-surface);
  font-weight: 700;
}
.vips-spec-table th {
  padding: var(--space-md);
}
.vips-spec-table th:nth-child(1) { inline-size: 25%; }
.vips-spec-table th:nth-child(2) { inline-size: 50%; }
.vips-spec-table th:nth-child(3) { inline-size: 25%; }
.vips-spec-table td { padding: var(--space-md); }
.vips-spec-table tbody tr:not(:last-child) {
  border-block-end: 1px solid var(--sys-outline-variant);
}
.vips-spec-table .spec { font-weight: 700; color: var(--color-on-surface); }
.vips-spec-table .spec-val { color: var(--color-on-surface-variant); }
.vips-code-chip {
  background: var(--sys-surface-container);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  white-space: nowrap;
}

/* 30.10 City hub — search box, district badges, service cards ----------------- */
.vips-searchbox {
  background: var(--sys-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-sm);
  box-shadow: 0 4px 20px rgba(19, 27, 46, 0.08);
  margin-block-end: var(--space-md);
}
.vips-searchbox-field { position: relative; inline-size: 100%; }
.vips-searchbox-input {
  inline-size: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--sys-surface-container-low);
  border: 1px solid var(--sys-outline-variant);
  color: var(--color-on-surface);
  font-family: inherit;
  font-size: var(--font-body-md);
  box-sizing: border-box;
}
.vips-searchbox-input:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.25);
}
.vips-searchbox-icon {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--sys-primary);
  font-size: 20px;
  pointer-events: none;
}
.vips-searchbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-start: 8px;
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
  gap: var(--space-xs);
}
.vips-searchbox-ok {
  color: var(--sys-secondary);
  font-weight: 700;
}
.vips-service-icon {
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--radius-md);
  background: var(--sys-primary-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sys-primary);
  flex-shrink: 0;
}
.vips-service-icon .material-symbols-outlined { font-size: 24px; }
.vips-price-row {
  border-block-start: 1px solid var(--sys-surface-container);
  padding-block-start: var(--space-sm);
  margin-block-end: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-xs);
}
.vips-price-label {
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
}
.vips-price-value {
  font-size: var(--font-headline-sm);
  font-weight: 800;
  color: var(--sys-primary);
  font-family: var(--f-number);
}
.vips-sla-chip {
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
  background: var(--sys-surface-container);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.district-badge a {
  color: var(--color-on-surface);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--font-body-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}
.district-badge a .material-symbols-outlined {
  font-size: 16px;
  color: var(--sys-secondary);
}

/* 30.11 Authority branch — contact lines & credentials ------------------------ */
.vips-authority-card {
  background: var(--sys-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 4px 20px rgba(19, 27, 46, 0.07);
  border: 1px solid var(--sys-outline-variant);
}
.vips-info-card {
  background: var(--sys-surface-container-low);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}
.vips-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: var(--space-sm);
}
.vips-card-head .material-symbols-outlined { font-size: 24px; }
.vips-card-head--primary .material-symbols-outlined { color: var(--sys-primary); }
.vips-card-head--secondary .material-symbols-outlined { color: var(--sys-secondary); }
.vips-card-head h3 {
  font-size: var(--font-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  margin: 0;
}
.vips-card-intro {
  font-size: var(--font-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-block-end: var(--space-md);
}
.vips-contact-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.vips-contact-row .material-symbols-outlined {
  font-size: 18px;
  color: var(--sys-primary);
  margin-block-start: 2px;
}
.vips-contact-row strong {
  display: block;
  color: var(--color-on-surface);
}
.vips-contact-row span:not(.material-symbols-outlined) {
  color: var(--color-on-surface-variant);
}
.vips-cred-card {
  background: var(--sys-surface-container-lowest);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-block-end: 12px;
  box-shadow: var(--shadow-xs);
}
.vips-rating {
  color: var(--sys-warning);
  font-weight: 700;
  font-size: var(--font-label-md);
  display: flex;
  align-items: center;
  gap: 2px;
}
.vips-rating .material-symbols-outlined { font-size: 16px; }
.vips-fact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--font-body-sm);
}
.vips-fact-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
}
.vips-fact-row span { color: var(--color-on-surface-variant); }
.vips-fact-row strong { color: var(--color-on-surface); }
.vips-fact-row .is-secondary { color: var(--sys-secondary); }
.vips-fact-row .is-primary { color: var(--sys-primary); }
.vips-dispatch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vips-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--font-body-sm);
}

/* 30.12 Gap / margin micro-utilities (companion to 30.1) --------------------- */
.u-gap-4 { gap: 4px; }
.u-gap-6 { gap: 6px; }
.u-gap-8 { gap: 8px; }
.u-gap-xs { gap: var(--space-xs); }
.u-gap-sm { gap: var(--space-sm); }
.u-mb-10 { margin-block-end: 10px; }
.u-mb-12 { margin-block-end: 12px; }
.u-mb-xs { margin-block-end: var(--space-xs); }
.u-mb-sm { margin-block-end: var(--space-sm); }
.u-mb-md { margin-block-end: var(--space-md); }
.u-mb-lg { margin-block-end: var(--space-lg); }
.u-mb-xl { margin-block-end: var(--space-xl); }
.u-mb-2xl { margin-block-end: var(--space-2xl); }

/* 30.13 Residual internals (works.php specifics) ------------------------------ */
.vips-micro {
  font-size: var(--font-label-micro);
  color: var(--color-on-surface-variant);
}
.vips-audit-aside {
  background: var(--sys-surface-container);
  color: var(--color-on-surface);
  padding-block: 8px;
  font-size: var(--font-label-micro);
}
.vips-sla-banner-text { font-size: var(--font-body-sm); }
.vips-kpi-note--success { color: var(--gc-inv-success); }
.vips-card-note {
  font-size: var(--font-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}
.case-study-content {
  font-size: var(--font-body-lg);
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin-block-end: var(--space-md);
}

/* 30.14 R5 follow-ups — classes referenced by the de-inlined templates ------- */
.u-grid-cols-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}
.u-align-start { align-items: flex-start; }
.vips-pill--high {
  background: var(--sys-surface-container-high);
  color: var(--color-on-surface);
  padding: 6px 12px;
}
.vips-pill-icon-primary { color: var(--sys-primary); }
.vips-sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-block-end: var(--space-md);
}
.vips-telemetry-strong { font-weight: 700; color: var(--color-on-surface); }
.vips-telemetry-sla { color: var(--sys-secondary); font-weight: 700; }
.vips-district-name {
  color: var(--color-on-surface);
  font-weight: 700;
  font-size: var(--font-body-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}
.vips-district-name .material-symbols-outlined {
  font-size: 16px;
  color: var(--sys-secondary);
}
.vips-cred-name {
  font-weight: 700;
  color: var(--color-on-surface);
  font-size: var(--font-label-md);
}

/* ==========================================================================
   31. DE-INLINED PAGE SYSTEMS (R6) — @page/faq.php · @index/shape.php ·
       @single/post.php. Every rule here replaces a matched set of inline
       styles extracted from those templates; shared primitives (§7
       breadcrumbs, §8 eav-cards, §9 badges/buttons, §10 article system,
       §14 FAQ system, §30 vips-btn) are reused instead of duplicated.
       Prefixes: .vfaq- (FAQ hub) · .vhome- (homepage hub) · .vpost- (post)
       ========================================================================== */

/* --- 31.A  FAQ KNOWLEDGE HUB (@page/faq.php) ----------------------------- */

/* Telemetry bar: entity-database chip on the trailing side. */
.vfaq-db-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  font-size: var(--text-label-micro);
  font-weight: 700;
  color: var(--color-on-surface);
}
.vfaq-db-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: inline-block;
}

/* Hero: badge, title, lead, live search, quick-filter tags. */
.vfaq-hero-inner { max-width: 880px; margin-inline: auto; }
.vfaq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-highest);
  color: var(--color-primary);
  font-size: var(--text-label-micro);
  font-weight: 700;
  text-transform: uppercase;
  margin-block-end: var(--space-sm);
}
.vfaq-hero-badge .material-symbols-outlined { font-size: 16px; }
.vfaq-hero-title {
  font-size: var(--text-display-hero);
  font-weight: 800;
  color: var(--color-on-surface);
  line-height: 1.2;
  margin-block: 0 var(--space-sm);
}
.vfaq-hero-lead {
  font-size: var(--text-body-xl);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-block: 0 var(--space-xl);
}
.vfaq-search {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}
.vfaq-search-input {
  width: 100%;
  padding-block: 14px;
  padding-inline-start: 44px;
  padding-inline-end: 16px;
  border-radius: var(--radius-xl);
  background: var(--color-surface-container-lowest);
  border: 2px solid var(--color-primary-fixed);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  font-size: var(--text-body-md);
  color: var(--color-on-surface);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.vfaq-search-input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}
.vfaq-search-icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-primary);
  pointer-events: none;
}
.vfaq-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block-start: var(--space-md);
}
.vfaq-tags-label {
  font-size: var(--text-label-micro);
  color: var(--color-on-surface-variant);
  font-weight: 700;
  align-self: center;
}
.vfaq-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface);
  font-size: var(--text-label-md);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.vfaq-tag:hover {
  background: var(--color-primary-container);
  border-color: var(--color-primary-fixed);
  transform: translateY(-1px);
}

/* Two-column body: sticky-feel sidebar (index + trust) and Q&A main. */
.vfaq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  align-items: start;
}
.vfaq-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.vfaq-index {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-outline-variant);
}
.vfaq-index-title {
  font-size: var(--text-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  margin: 0 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vfaq-index-title .material-symbols-outlined {
  color: var(--color-primary);
  font-size: 20px;
}
.vfaq-index-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vfaq-index-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-on-surface);
  text-decoration: none;
  font-size: var(--text-label-md);
  transition: background 0.15s ease;
}
.vfaq-index-link:hover { background: var(--color-surface-container); }
.vfaq-index-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vfaq-index-link .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-tertiary);
}
.vfaq-index-link.is-active {
  background: var(--color-surface-container);
  color: var(--color-primary);
  font-weight: 700;
}
.vfaq-index-link.is-active .material-symbols-outlined { color: var(--color-primary); }
.vfaq-index-count {
  background: var(--color-surface-container);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-label-micro);
}
.vfaq-index-link.is-active .vfaq-index-count { background: var(--color-surface-container-highest); }
.vfaq-trust {
  background: var(--color-surface-container-low);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  border: 1px solid var(--color-outline-variant);
}
.vfaq-trust-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-weight: 700;
  margin-block-end: 6px;
}
.vfaq-trust-head .material-symbols-outlined { font-size: 20px; }
.vfaq-trust-text {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin: 0 0 10px;
}
.vfaq-trust-iso {
  font-size: var(--text-label-micro);
  font-weight: 700;
  color: var(--color-on-surface);
  display: flex;
  align-items: center;
  gap: 6px;
}
.vfaq-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
}
.vfaq-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
/* Mockup gave the Q&A column `grid-column: span 2` unconditionally — that
   overflows a single-column phone grid. Span only when ≥2 tracks exist. */
@media (min-width: 640px) {
  .vfaq-main { grid-column: span 2; }
}

/* Category group heads + answer sheets. */
.vfaq-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-block-end: 2px solid var(--color-surface-container);
  padding-block-end: 8px;
}
.vfaq-group-title {
  font-size: var(--text-headline-lg);
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vfaq-group-title .material-symbols-outlined { color: var(--color-primary); }
.vfaq-group-count {
  font-size: var(--text-label-micro);
  background: var(--color-surface-container);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
/* Sheet variant: faq.php renders <article class="faq-card"> Q&A cards
   (padded sheets), unlike the <details> accordions the §14 base targets. */
.faq-card--sheet {
  overflow: visible;
  padding: var(--space-md);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
}
.faq-card--sheet h3 {
  padding: 0;
  margin: 0 0 10px;
  display: block;
}
.faq-category-group .faq-card + .faq-card { margin-top: 0; }
.vfaq-answer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vfaq-answer-box {
  background: var(--color-surface-container-low);
  border-radius: var(--radius-lg);
  padding: 12px;
  border-inline-start: 4px solid var(--color-primary);
}
.vfaq-answer-box--secondary { border-inline-start-color: var(--color-secondary); }
.vfaq-answer-label {
  font-size: var(--text-label-micro);
  color: var(--color-primary);
  font-weight: 700;
  margin-block-end: 4px;
}
.vfaq-answer-box--secondary .vfaq-answer-label { color: var(--color-secondary); }
.vfaq-answer-text {
  font-size: var(--text-body-md);
  font-weight: 600;
  color: var(--color-on-surface);
  margin: 0;
  line-height: 1.6;
}
.vfaq-answer-note {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}
.vfaq-empty-wrap { margin-block-start: var(--space-xl); }

/* CTA band inner pieces (band shell lives in §14 .vips-faq-cta). */
.vfaq-cta-inner { max-width: 800px; margin-inline: auto; }
.vfaq-cta-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gc-inv-chip-bg);
  color: var(--gc-inv-chip-ink);
  font-size: var(--text-label-micro);
  font-weight: 700;
  margin-block-end: var(--space-md);
}
.vfaq-cta-title {
  font-size: var(--text-headline-xl);
  font-weight: 800;
  color: var(--color-inverse-on-surface);
  margin: 0 0 var(--space-sm);
}
.vfaq-cta-text {
  font-size: var(--text-body-lg);
  color: var(--gc-inv-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
}
.vfaq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* --- 31.B  HOMEPAGE HUB (@index/shape.php) ------------------------------- */

.vhome-hero {
  padding-block: var(--space-2xl) var(--space-3xl);
  position: relative;
}
.vhome-prop-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}
.vhome-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-low);
  border: 1px solid var(--color-outline-variant);
}
.vhome-trust-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: inline-block;
}
.vhome-trust-pill-label {
  font-size: var(--text-label-micro);
  color: var(--color-secondary);
  font-weight: 800;
  text-transform: uppercase;
}
.vhome-title {
  font-size: var(--text-display-hero);
  line-height: var(--leading-display-hero);
  color: var(--color-on-surface);
  font-weight: 800;
  margin: 0;
}
.vhome-title-accent { color: var(--color-primary); display: block; }
.vhome-subtitle {
  font-size: var(--text-body-xl);
  line-height: var(--leading-body-xl);
  color: var(--color-on-surface-variant);
  max-width: 640px;
  margin: 0;
}
.vhome-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xs);
  width: 100%;
  padding-block-start: var(--space-xs);
}
.vhome-check {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.vhome-check-mark { color: var(--color-secondary); font-weight: 700; }
.vhome-check-text {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface);
  font-weight: 600;
}
.vhome-dispatch {
  margin-block-start: var(--space-xs);
  width: 100%;
}

/* Trust & authority metrics band (grid itself = §16 .metrics-grid-wrap). */
.vhome-metrics-band {
  background-color: var(--color-surface-container-low);
  padding-block: var(--space-xl);
  border-block: 1px solid var(--color-outline-variant);
}
.vhome-metric-card { padding: var(--space-md); text-align: center; }
.vhome-metric-value {
  font-size: var(--text-headline-xl);
  font-weight: 800;
  display: block;
}
.vhome-metric-value--primary { color: var(--color-primary); }
.vhome-metric-value--secondary { color: var(--color-secondary); }
.vhome-metric-label {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface);
  font-weight: 600;
  margin-block-start: 4px;
  display: block;
}

/* Core services matrix. */
.vhome-services { padding-block: var(--space-3xl); }
.vhome-section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: var(--space-2xl);
}
.vhome-section-title {
  font-size: var(--text-headline-xl);
  color: var(--color-on-surface);
  font-weight: 800;
  margin-block-start: var(--space-xs);
}
.vhome-section-sub {
  font-size: var(--text-body-lg);
  color: var(--color-on-surface-variant);
  margin-block-start: var(--space-xs);
}
.vhome-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.vhome-svc-card { height: 100%; }
.vhome-svc-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 180px;
  margin-block-end: var(--space-sm);
  background: var(--color-surface-container-high);
}
.vhome-svc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vhome-svc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: var(--space-xs);
}
.vhome-svc-cert {
  font-size: var(--text-label-micro);
  color: var(--color-primary);
  font-weight: 700;
}
.vhome-svc-title {
  font-size: var(--text-headline-sm);
  color: var(--color-on-surface);
  font-weight: 700;
  margin-block-end: var(--space-xs);
}
.vhome-svc-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.vhome-svc-title a:hover { color: var(--color-primary); }
.vhome-svc-desc {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
  line-height: var(--leading-body-sm);
  margin-block-end: var(--space-md);
  flex-grow: 1;
}
.vhome-svc-specs { margin-block-end: var(--space-md); }
.vhome-spec-value--primary { color: var(--color-primary); }
.vhome-svc-footer {
  display: flex;
  gap: var(--space-xs);
  margin-block-start: auto;
}
.vhome-svc-cta {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: var(--text-label-md);
}
.vhome-svc-wa {
  padding: 10px 14px;
  font-size: 16px;
}

/* Semantic FAQ accordion band. */
.vhome-faq-band {
  background: var(--color-surface-container-low);
  padding-block: var(--space-3xl);
  margin-block-start: var(--space-2xl);
}
.vhome-faq-inner { max-width: 900px; }
.vhome-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.vhome-faq-item {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-outline-variant);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vhome-faq-item:hover {
  border-color: var(--color-primary-fixed);
  box-shadow: var(--shadow-xs);
}
.vhome-faq-q {
  font-size: var(--text-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
}
.vhome-faq-q::-webkit-details-marker { display: none; }
.vhome-faq-mark {
  color: var(--color-primary);
  font-size: 18px;
  transition: transform 0.2s ease;
}
.vhome-faq-item[open] .vhome-faq-mark { transform: rotate(45deg); }
.vhome-faq-a {
  font-size: var(--text-body-md);
  color: var(--color-on-surface-variant);
  margin-block-start: var(--space-sm);
  line-height: var(--leading-body-md);
}

/* --- 31.C  POST ARTICLE (@single/post.php) ------------------------------- */

/* Content section rhythm (§ .vips-section base + this template's spec). */
.vpost-section { padding-block: var(--space-2xl); }
.vpost-feat-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.vpost-rel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero meta row (hero shell = §10 .article-hero, tags = §10 .article-tags-wrap). */
.vpost-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-end: var(--space-md);
}
.vpost-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.15s ease;
}
.vpost-cat-badge:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.vpost-cat-badge .material-symbols-outlined { font-size: 16px; }
.vpost-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-on-surface-variant);
  font-size: 13px;
}
.vpost-meta .material-symbols-outlined { font-size: 16px; }
.vpost-meta-dot { color: var(--color-outline-variant); }
.vpost-title {
  font-family: var(--font-display);
  font-size: var(--text-headline-xl);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-on-surface);
  margin: 0 0 var(--space-lg);
  max-width: 900px;
}

/* Author bar + share cluster. */
.vpost-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block-start: var(--space-md);
  border-block-start: 1px solid var(--color-outline-variant);
}
.vpost-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vpost-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-primary-fixed);
}
.vpost-author-name {
  font-weight: 700;
  color: var(--color-on-surface);
  font-size: 15px;
  display: block;
}
.vpost-author-role {
  font-size: 12px;
  color: var(--color-on-surface-variant);
}
.vpost-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vpost-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-on-surface-variant);
}
.vpost-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.vpost-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.vpost-share-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* WhatsApp green is a brand constant; the X button uses the mode-adaptive
   inverse pair so it never disappears against dark canvases. */
.vpost-share-btn--wa { background: var(--gc-wa, #25D366); color: #ffffff; }
.vpost-share-btn--x {
  background: var(--sys-inverse-surface);
  color: var(--color-inverse-on-surface);
}

/* Content grid + article sheet. */
.vpost-grid {
  align-items: flex-start;
  gap: var(--space-2xl);
}
.vpost-article {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-sm);
}
.vpost-tags-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-on-surface);
}
.vpost-tags-label .material-symbols-outlined {
  font-size: 16px;
  vertical-align: middle;
}

/* Sticky sidebar: gradient CTA card + related-articles widget. */
.vpost-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: sticky;
  top: 90px;
}
.vpost-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--gc-grad-chip-bg);
  font-size: 12px;
  font-weight: 700;
  margin-block-end: var(--space-sm);
}
.vpost-cta-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gc-grad-live);
}
.vpost-cta-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--gc-screen-ink);
  margin: 0 0 8px;
}
.vpost-cta-text {
  font-size: 14px;
  color: var(--gc-grad-ink-soft);
  line-height: 1.6;
  margin: 0 0 var(--space-lg);
}
.vpost-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vpost-cta-wa,
.vpost-cta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-lg);
  color: var(--gc-screen-ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.12s ease, background 0.15s ease;
}
.vpost-cta-wa { background: var(--gc-wa, #25D366); }
.vpost-cta-wa:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.vpost-cta-tel {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.vpost-cta-tel:hover { background: rgba(255, 255, 255, 0.16); }
.vpost-cta-wa .fa-brands { font-size: 18px; }
.vpost-cta-tel .fa-solid { font-size: 16px; }
.vpost-widget-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 0 0 var(--space-md);
  padding-block-end: 8px;
  border-block-end: 2px solid var(--color-primary-fixed);
}
.vpost-rel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vpost-rel-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
}
.vpost-rel-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.vpost-rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vpost-rel-body { flex: 1; }
.vpost-rel-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-on-surface);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.vpost-rel-item:hover .vpost-rel-title { color: var(--color-primary); }
.vpost-rel-date {
  font-size: 12px;
  color: var(--color-on-surface-variant);
}

/* Mobile: sticky sidebar returns to flow, article padding tightens. */
@media (max-width: 1023px) {
  .vpost-side { position: static; }
}
@media (max-width: 600px) {
  .vpost-article { padding: var(--space-lg); }
}

/* --- 31.D  BACK TO TOP (R6) ----------------------------------------------
   The footer shipped this button with markup + CSS but NO JavaScript, so it
   was permanently invisible (opacity:0/visibility:hidden) AND styled with
   the legacy --uicolor token pair. JS wiring now lives in #footer/js/setup.js
   §3; styling is unified here with M3 tokens. Sits on the inline-end side so
   it never collides with the .floating-contact-buttons stack (inline-start).
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  inset-inline-end: 20px;
  width: 45px;
  height: 45px;
  border: none;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.15s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 998;
  box-shadow: var(--shadow-md);
}
.back-to-top:hover {
  background: var(--color-primary-container);
  color: var(--color-on-primary-container);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  opacity: 1;
  visibility: visible;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top .fa-solid { font-size: 18px; }
@media (max-width: 768px) {
  .back-to-top {
    bottom: 140px;
    inset-inline-end: 15px;
  }
}

/* ==========================================================================
   32. DE-INLINED PAGE SYSTEMS (R7) — @archive/category.php ·
       @archive/blog.php · @404/shape.php · @single/service.php. The last
       front-end template inline-style debt; every rule here replaces a
       matched set of inline styles extracted from those templates. Shared
       primitives are reused: §7 breadcrumbs (.breadcrumb-nav), §9
       badges (.badge-status), design-tokens §12 grid/EAV (.vips-grid-12,
       .eav-card, .eav-spec-*), §30 buttons (.vips-btn).
       Prefixes: .varch- (shared archive) · .v404- (recovery hub) ·
       .vsvc- (single service). NEW button variants: .vips-btn--wa (WhatsApp
       brand, --gc-wa) and .vips-btn--tonal (M3 tonal/outlined action).
       ========================================================================== */

/* --- 32.A  SHARED ARCHIVE SYSTEM (@archive/category.php + blog.php) ------ */

/* Hero band: subtle container gradient + centered content. */
.varch-hero {
  background: linear-gradient(
    180deg,
    var(--sys-surface-container-lowest) 0%,
    var(--sys-surface) 100%
  );
  padding-block: var(--space-2xl);
  border-bottom: 1px solid var(--sys-outline-variant);
}
.varch-hero-inner { text-align: center; }
.varch-hero .breadcrumb-nav ol { justify-content: center; }

.varch-title {
  font-family: var(--font-display);
  font-size: var(--text-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 0;
  margin-block-end: var(--space-sm);
}
.varch-lead {
  font-size: var(--text-body-lg);
  color: var(--color-on-surface-variant);
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

/* Filter pills. The .category-pills-bar hook shipped UNSTYLED in the
   original theme (layout relied entirely on inline styles). */
.category-pills-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}
.varch-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.varch-pill--active {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.varch-pill--muted {
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-lowest);
  color: var(--color-on-surface-variant);
}
.varch-pill--container {
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-high);
  color: var(--color-on-surface-variant);
  font-weight: 600;
}
.varch-pill--muted:hover,
.varch-pill--container:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-surface-container-lowest);
  transform: translateY(-1px);
}
.varch-pill:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.varch-pill-count {
  font-size: 11px;
  opacity: 0.8;
  margin-inline-start: 4px;
}

/* Listing band + responsive card grid. */
.varch-listing { padding-block: var(--space-3xl); }
.varch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

/* Article card — the .vips-article-card hook existed with NO base style
   (only a dark-mode img filter); the card look was 100% inline. */
.vips-article-card {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.vips-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-fixed-dim);
}
.vips-article-card:focus-within { border-color: var(--color-primary); }

.varch-card-media {
  display: block;
  width: 100%;
  height: 200px;
  background: var(--color-surface-container);
  position: relative;
  overflow: hidden;
}
.varch-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.vips-article-card:hover .varch-card-img { transform: scale(1.04); }
.varch-card-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-primary-fixed) 0%,
    var(--color-primary-fixed-dim) 100%
  );
  color: var(--color-primary);
}
.varch-card-ph .material-symbols-outlined { font-size: 48px; }

/* Floating category chip (blog card overlay). Logical property replaces
   the physical `right` (RTL start side); alpha tint derives from the
   primary token instead of a hardcoded rgba. */
.varch-card-cat {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(0, 74, 198, 0.9);
  background: color-mix(in srgb, var(--color-primary) 90%, transparent);
  color: var(--color-on-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.varch-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.varch-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-on-surface-variant);
  margin-bottom: 8px;
}
.varch-card-meta .material-symbols-outlined { font-size: 14px; }
.varch-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 8px;
}
.varch-card-title a {
  color: var(--color-on-surface);
  text-decoration: none;
  transition: color 0.15s ease;
}
.varch-card-title a:hover { color: var(--color-primary); }
.varch-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-on-surface-variant);
  margin: 0 0 var(--space-lg);
  flex: 1;
}
.varch-card-foot {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-outline-variant);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.varch-card-link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.varch-card-link .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.15s ease;
}
.varch-card-link:hover .material-symbols-outlined {
  transform: translateX(-3px); /* arrow_back = forward in RTL */
}

/* Pagination — inline vertical-align moved off the icon markup. */
.vips-pagination-wrap {
  margin-top: var(--space-3xl);
  text-align: center;
}
.vips-pagination-wrap .page-numbers .material-symbols-outlined {
  vertical-align: middle;
}

/* Legacy card hover hook: .hover-custom shipped in #Griditem/part.php
   with NO CSS anywhere (a dead no-op). Implemented with the standard
   archive-card hover so the hook finally does something. */
.hover-custom {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Empty state. Icon gets display:block so its margin actually spaces it
   (inline elements ignore block margins). CTA reuses .vips-btn--primary
   with a compact modifier. */
.varch-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--color-surface-container-low);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--color-outline-variant);
  max-width: 600px;
  margin: 0 auto;
}
.varch-empty > .material-symbols-outlined {
  display: block;
  font-size: 56px;
  color: var(--color-on-surface-variant);
  margin-bottom: 12px;
}
.varch-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-on-surface);
  margin: 0 0 8px;
}
.varch-empty-text {
  font-size: 14px;
  color: var(--color-on-surface-variant);
  margin: 0 0 16px;
}
.varch-empty-btn.vips-btn {
  padding: 8px 20px;
  font-size: var(--font-label-md);
  border-radius: var(--radius-md);
}

/* --- 32.B  404 RECOVERY HUB (@404/shape.php) ----------------------------- */

.v404-view {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-3xl);
}
.v404-inner {
  max-width: 800px;
  text-align: center;
}
.v404-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--color-error-container);
  color: var(--color-on-error-container);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: var(--space-md);
}
.v404-badge .material-symbols-outlined { font-size: 18px; }
.v404-title {
  font-family: var(--font-display);
  font-size: var(--text-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
}
.v404-lead {
  font-size: var(--text-body-lg);
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin: 0 auto var(--space-2xl);
  max-width: 580px;
}

/* Search card: wrapper carries the designed focus ring so the input can
   stay borderless; input gets min-width:0 so flex never overflows. */
.v404-search {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-md);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.v404-search:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--color-primary-fixed);
}
.v404-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v404-search-icon {
  color: var(--color-primary);
  font-size: 24px;
  padding-inline-start: 12px;
}
.v404-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-on-surface);
}
.v404-search-input::placeholder { color: var(--color-on-surface-variant); }
.v404-search-btn {
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.v404-search-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Quick-jump municipal hubs: the inline `transition: all` shipped with NO
   hover state (dead transition) — designed hover added. */
.v404-hubs { margin-bottom: var(--space-2xl); }
.v404-hubs-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-on-surface-variant);
  margin: 0 0 var(--space-md);
}
.v404-hubs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.v404-hub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-high);
  color: var(--color-on-surface);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--color-outline-variant);
  transition: border-color 0.15s ease, color 0.15s ease,
    background 0.15s ease, transform 0.15s ease;
}
.v404-hub:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-surface-container-lowest);
  transform: translateY(-1px);
}
.v404-hub .material-symbols-outlined {
  font-size: 16px;
  color: var(--color-primary);
}

/* Emergency actions row reuses §30 buttons + the new variants. */
.v404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-outline-variant);
}
.vips-btn--wa {
  background: var(--gc-wa, #25D366);
  color: #ffffff;
}
.vips-btn--tonal {
  background: var(--color-surface-container-high);
  color: var(--color-on-surface);
  border: 1px solid var(--color-outline-variant);
}
.vips-btn--tonal:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
/* FontAwesome glyphs inside §30 buttons match the Material icon scale. */
.vips-btn .fa-solid,
.vips-btn .fa-brands { font-size: 18px; }

/* --- 32.C  SINGLE SERVICE (@single/service.php) --------------------------- */

.vsvc-hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
}
.vsvc-hero .vips-grid-12 { align-items: flex-start; }
.vsvc-proposition {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.vsvc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-low);
  border: 1px solid var(--color-outline-variant);
  width: fit-content;
}
.vsvc-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}
.vsvc-chip-text {
  font-size: var(--text-label-micro);
  color: var(--color-secondary);
  font-weight: 800;
}
.vsvc-title {
  font-size: var(--text-headline-xl);
  line-height: var(--leading-headline-xl);
  color: var(--color-on-surface);
  font-weight: 800;
  margin: 0;
}
.vsvc-lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-on-surface-variant);
  margin: 0;
}

/* EAV quick-specs card extension: two semantic accent variants for the
   SLA / price rows (replaces per-value inline colors). */
.vsvc-eav {
  padding: var(--space-md);
  margin-top: var(--space-xs);
}
.eav-spec-value--sla {
  color: var(--color-secondary);
  font-weight: 700;
}
.eav-spec-value--price {
  color: var(--color-primary);
  font-weight: 800;
}

/* Engineering specs band. The article prose keeps the designed
   .service-body-content system from design-tokens (the inline override
   that shrank it to body-md was removed, not migrated). */
.vsvc-specs {
  background: var(--color-surface-container-low);
  padding-block: var(--space-3xl);
  border-block: 1px solid var(--color-outline-variant);
}
.vsvc-specs-inner { max-width: 960px; }
.vsvc-specs-card {
  padding: var(--space-2xl);
  background: var(--color-surface-container-lowest);
}
.vsvc-specs-header {
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-surface-container);
  padding-bottom: var(--space-md);
}
.vsvc-specs-title {
  font-size: var(--text-headline-lg);
  color: var(--color-on-surface);
  margin-top: var(--space-xs);
  font-weight: 800;
}

/* ==========================================================================
   33. FOOTER SYSTEM (R7) — extracted verbatim from the 465-line <style>
       block that was embedded in #footer/part.php (re-sent, uncacheable,
       on every page load). Footer colors (--footer-bg/-title/-text/-content)
       remain admin-configurable via an inline style attribute printed on
       <footer>; everything structural lives here. Token modernizations on
       migration: .footer-title::after anchor uses the logical
       inset-inline-start (was physical `right`), floating-phone fallback
       #0066cc → var(--color-primary), floating-whatsapp fallback →
       var(--gc-wa).
       ========================================================================== */

/* Main Footer Section */
.modern-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 60px;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  color: var(--footer-title);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 15px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 2px;
}

.footer-subtitle {
  color: var(--footer-title);
  font-size: 14px;
  font-weight: 600;
  margin: 15px 0 8px;
}

/* Company Info Section */
.footer-about { max-width: 100%; }

.footer-logo { margin-bottom: 15px; }

.footer-logo img {
  max-height: 80px;
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-brand {
  color: var(--footer-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--footer-content);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 14px;
}

.footer-contact-item:hover {
  color: var(--footer-title);
  transform: translateX(-5px); /* RTL: forward */
}

.footer-contact-item i {
  color: var(--color-primary);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Footer Links */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu li a {
  color: var(--footer-content);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 14px;
  padding: 4px 0;
}

.footer-menu li a:hover {
  color: var(--footer-title);
  transform: translateX(-5px);
}

.footer-menu li a i {
  font-size: 10px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.footer-menu li a:hover i { transform: translateX(-3px); }

/* Social Media Section */
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Map Section */
.footer-map-container {
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}

/* Footer Bottom Bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright p {
  color: var(--footer-content);
  font-size: 14px;
  margin: 0;
}

.footer-copyright span {
  color: var(--footer-title);
  font-weight: 600;
}

/* .footer-credit is a <p> inside .footer-copyright; scope it above the
   `.footer-copyright p` rule instead of using !important hacks. */
.footer-copyright p.footer-credit {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.85;
}

.footer-credit a {
  color: var(--footer-title);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover { text-decoration: underline; }

.footer-legal ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  color: var(--footer-content);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover { color: var(--footer-title); }

/* FLOATING CONTACT BUTTONS — 44px minimum tap target is enforced. */
.floating-contact-buttons {
  position: fixed;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-contact-buttons.dir-rtl { inset-inline-end: 20px; }
.floating-contact-buttons.dir-ltr { inset-inline-start: 20px; }

.floating-btn {
  width: var(--btn-size, 60px);
  height: var(--btn-size, 60px);
  min-width: 44px;
  min-height: 44px;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 22%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.floating-btn:hover::before { transform: scale(1); }

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-btn i {
  font-size: var(--icon-size, 22px);
  position: relative;
  z-index: 1;
}

.floating-phone {
  background: var(--btn-bg, var(--color-primary));
}

.floating-whatsapp {
  background: var(--btn-bg, var(--gc-wa, #25d366));
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4); }
}

.floating-btn { animation: pulse 2s infinite; }

/* Responsive (footer) */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer-main { padding: 40px 0 30px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-title::after { width: 30px; }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal ul { justify-content: center; }

  .floating-contact-buttons { bottom: 15px; }
  .floating-contact-buttons.dir-rtl { inset-inline-end: 15px; }
  .floating-contact-buttons.dir-ltr { inset-inline-start: 15px; }

  /* back-to-top mobile offset lives in unified-components.css §31.D */
}

@media (max-width: 480px) {
  .footer-main { padding: 30px 0 20px; }

  .footer-title { font-size: 16px; }

  .footer-description,
  .footer-contact-item,
  .footer-menu li a { font-size: 13px; }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn i { font-size: 18px; }
}

/* ==========================================================================
   34. COVERAGE-SWEEP FIXES (R7) — latent styling gaps surfaced by running
       the PHP-aware class-coverage checker across every front-end pack.
       Each rule below styles a hook that existed in markup with NO CSS
       anywhere (unstyled elements users could actually hit).
       ========================================================================== */

/* Tag-archive parent navigator (@archive/post_tag.php) — shipped as a
   naked <ul>; styled here as a chip navigator in the shared pill
   language (§32.A). */
.Shapes__Navigator__V1 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
}
.Shapes__Navigator__V1 a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-high);
  color: var(--color-on-surface);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--color-outline-variant);
  transition: border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}
.Shapes__Navigator__V1 a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}
.Shapes__Navigator__V1 li.current-menu-item a {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.Shapes__Navigator__V1 a i { font-size: 12px; }

/* Service-category related video (@archive/service_category.php): the
   embed iframe had NO dimensions (default 300×150 inside a styled
   .pagevideo box). */
.pagevideo iframe,
.pagevideo .iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* Service-category related-page links: anchors inside .postgrid-title
   were unstyled (default blue underline over tokenized headings). */
.postgrid-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
.postgrid-title a:hover { color: var(--color-primary); }

/* City-services term link (@city-services/shape.php): a.links needed
   block layout so the icon + title stack fills the .city-block card. */
.city-block .links {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Service-album popover grid (@Popovers/album.php, rendered through
   AjaxCenter PopoverActions): the overlay chrome was styled but the
   image wrapper was a plain div — images stacked full width. */
.album {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

/* Shortcode content gaps (components/packs/shortcode/setup.php):
   - .-single-parent-post groups related links + video with no spacing;
   - .rate_pirce star list rendered with default bullets;
   - post-gallery lightbox anchors had no block layout/sizing. */
.-single-parent-post {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg, 20px);
}

.rate_pirce .title_rote ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.rate_pirce .title_rote ul li { color: var(--color-outline-variant); }
.rate_pirce .title_rote ul li.active { color: var(--sys-warning, #a35a00); }
.rate_pirce .title_rote { margin-bottom: var(--space-sm, 8px); }

.post--albums .inner__image__item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.post--albums .inner__image__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}
.post--albums .inner__image__item:hover img { transform: scale(1.03); }

.how-we-work--box {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================================
   35. ADMIN FEEDBACK PATCH (R7) — theme-options import/export result
       alerts shipped as unstyled plain text (no color feedback on
       success/failure). Tokenized; error-container has no dark flip
       concern (admin screens render light).
       ========================================================================== */
.alert-success,
.alert-error {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0;
}
.alert-success {
  background: var(--color-success-container);
  color: var(--color-on-success-container, #0e7a4f);
}
.alert-error {
  background: var(--color-error-container);
  color: var(--color-on-error-container);
}

/* ============================================================
   36b. WIDGET LATENT HOOKS — R8 coverage sweep (widgets joined
        the sweep in R8; templates/parts were swept in R7)
   ----------------------------------------------------------------
   These class hooks ship in widget templates but resolved to no
   rule anywhere, so the behaviours/markup they promise silently
   never rendered. Root-caused individually:

   1. .zigzag.css-Top-separator — .zigzag ships display:none with
      a full teeth implementation (:after gradient), and ONLY the
      bottom variant was ever enabled. Category sections therefore
      never rendered their top separator. One declaration fixes it.
   2. .model-works — outermost section wrapper of the works grid:
      no vertical rhythm, no block context. Given the standard
      section treatment.
   3. .--gallery--is-full-w — a work WITHOUT gallery items marks
      its thumbnail "full width", but that state had no CSS, so
      the empty-gallery thumbnail kept the constrained popover
      box. Implemented as a 16:10 media box.
   4. .boxed-banner — banner section wrapper (children fully
      styled, wrapper had no section rhythm).
   5. .widget_description-info — about-us description container
      (paragraph styling already comes from .titles_concept p).
   6. .price / .post-model-2 — passthrough wrappers whose inner
      elements are fully styled; given block context only.
   ============================================================ */
.zigzag.css-Top-separator {
  display: block;
}
.model-works,
.boxed-banner,
.price,
.post-model-2 {
  display: block;
  width: 100%;
}
.model-works,
.boxed-banner {
  padding-block: var(--space-lg) var(--space-2xl);
}
.widget_description-info {
  display: block;
  width: 100%;
  margin-top: var(--space-sm);
}
.widget_description-info p {
  margin-inline: auto;
  max-width: 72ch;
}
.--single--thumb-image.--gallery--is-full-w {
  min-width: 100%;
  max-width: 100%;
  min-height: 240px;
  max-height: 420px;
  aspect-ratio: 16 / 10;
}
.--single--thumb-image.--gallery--is-full-w img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   36. READING EXPERIENCE — progress bar + auto table of contents
   ----------------------------------------------------------------
   Printed by @single/post.php + @single/service.php, driven by
   gc-post-enhancements.js (enqueued only on singular post/service).
   Both components are pure enhancements: without JS the bar stays
   transparent and the TOC mount stays [hidden] (or is removed).
   RTL-correct: the progress fill grows from the inline-start edge
   and TOC active markers use inset-inline-start, never physical
   left/right.
   ============================================================ */

/* 36.1 Reading-progress bar (3px, fixed, decorative). */
.vread-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
  background: var(--color-surface-container-high);
}
.vread-progress.is-visible { opacity: 1; }
.vread-progress__fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to left,
    var(--color-primary),
    var(--color-tertiary, var(--color-primary))
  );
  transform: scaleX(var(--vread-progress, 0));
  transform-origin: 100% 50%; /* RTL default: fill grows right → left */
  will-change: transform;
}
[dir="ltr"] .vread-progress__fill { transform-origin: 0 50%; }

/* 36.2 TOC card — sidebar (desktop) + inline variants. */
.vtoc {
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}
/* Spacing in the sticky sidebar comes from .vpost-side's own flex gap;
   only the inline variant carries an external margin (it sits above the
   service body inside the specs card, and on mobile it is relocated
   above the post prose). */
/* Inline variant (service page / relocated mobile card). */
.vtoc.vtoc--inline {
  margin: 0 0 var(--space-lg);
  max-width: 100%;
}
.vtoc-title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-lg);
  font-weight: 700;
}
.vtoc-title .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-primary);
}
.vtoc-list { margin: 0; }
.vtoc-list-inner {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 60vh;
  overflow-y: auto;
}
/* 36.3 Links — quiet by default, animated inline-start marker on
   hover, primary bar + tint when scroll-spy marks them active. */
.vtoc-link {
  display: block;
  position: relative;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  border-inline-start: 2px solid transparent;
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-md);
  line-height: 1.6;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    padding-inline-start 160ms ease;
}
.vtoc-link:hover {
  background: var(--color-surface-container);
  color: var(--color-on-surface);
  padding-inline-start: 16px;
}
.vtoc-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.vtoc-link.is-active {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  border-inline-start-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}
/* h3 entries indent one logical step under their h2. */
.vtoc-item--h3 .vtoc-link {
  padding-inline-start: 26px;
  font-size: var(--text-body-sm);
}

/* 36.4 Anchor scroll offsets — headings land below the top chrome,
   never glued to the viewport edge after a TOC jump. */
.article-prose-content h2,
.article-prose-content h3,
.service-body-content h2,
.service-body-content h3 {
  scroll-margin-top: 88px;
}

/* 36.5 Prose paragraph ragging — modern, quiet typographic polish
   (ignored where unsupported). */
.article-prose-content p,
.service-body-content p {
  text-wrap: pretty;
}
.article-prose-content h2,
.article-prose-content h3,
.vsvc-specs-title {
  text-wrap: balance;
}

/* 36.6 Motion + print concerns. */
@media (prefers-reduced-motion: reduce) {
  .vread-progress,
  .vread-progress__fill,
  .vtoc-link {
    transition: none;
  }
  .vtoc-link:hover { padding-inline-start: 12px; }
}
@media print {
  .vread-progress,
  .vtoc { display: none !important; }
}

/* ==========================================================================
   37. LIVE SEARCH DROPDOWN (R9)
   --------------------------------------------------------------------------
   Styles the incremental results panel rendered by gc-live-search.js inside
   the .search_header overlay. Anchor: directly after the overlay <form>, so
   the panel sits under the input in both centered and static layouts.
   Token-driven: adapts to light/dark automatically via the surface system.
   RTL-first: every offset uses logical properties.
   ========================================================================== */

.gc-livesearch {
  /* Layered above the overlay content; below the overlay close button. */
  z-index: 5;
  margin-block-start: 14px;
  background: var(--color-surface-container-lowest, var(--color-surface, #fff));
  color: var(--color-on-surface, var(--primary-text, #1c1b1f));
  border: 1px solid var(--color-outline-variant, color-mix(in srgb, currentColor 12%, transparent));
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--sys-elevation-3, 0 8px 24px rgba(4, 0, 77, 0.14));
  overflow: hidden;
  /* Height is content-driven; long lists scroll. */
  max-height: min(60vh, 420px);
  display: flex;
  flex-direction: column;
}

/* 37.1 Status line (loading / empty / error / count). */
.gc-livesearch__status {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 16px;
  font-family: var(--font-family-base);
  font-size: var(--fsize, 0.9375rem);
  color: var(--color-on-surface-variant, color-mix(in srgb, currentColor 70%, transparent));
  border-block-end: 1px solid var(--color-outline-variant, color-mix(in srgb, currentColor 10%, transparent));
}

.gc-livesearch__status.is-error {
  color: var(--sys-error, #b3261e);
}

.gc-livesearch__status.is-loading {
  /* Subtle shimmer pulse while the REST call is in flight. */
  animation: gc-ls-pulse 1.1s ease-in-out infinite;
}

.gc-livesearch__status.is-empty {
  /* Zero-results state: dimmer than the count line, no bottom rule, so the
   * empty panel reads as one quiet card instead of a header-less list. */
  color: var(--color-on-surface-variant, color-mix(in srgb, currentColor 55%, transparent));
  border-block-end: 0;
  padding-block-end: 14px;
}

@keyframes gc-ls-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.gc-livesearch.is-busy .gc-livesearch__list {
  opacity: 0.55;
  pointer-events: none;
}

/* 37.2 Results list. */
.gc-livesearch__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* momentum scroll on touch + room for the classic scrollbar gutter */
  scrollbar-width: thin;
}

.gc-livesearch__item + .gc-livesearch__item {
  margin-block-start: 2px;
}

.gc-livesearch__link {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md, 12px);
  color: inherit;
  text-decoration: none;
  font-family: var(--font-family-base);
  font-size: var(--fsize, 0.9375rem);
  font-weight: 500;
  line-height: 1.55;
  transition: background-color 160ms ease, color 160ms ease;
  outline: none;
}

/* Hover + keyboard-active share the same container tint (M3 hover layer). */
.gc-livesearch__item.is-active .gc-livesearch__link,
.gc-livesearch__link:hover {
  background: color-mix(in srgb, var(--color-primary, #004ac6) 10%, transparent);
}

.gc-livesearch__link:focus-visible {
  background: color-mix(in srgb, var(--color-primary, #004ac6) 14%, transparent);
  box-shadow: inset 0 0 0 2px var(--color-primary, #004ac6);
}

.gc-livesearch__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 37.3 Content-type chip (post subtype: post / service / page …). */
.gc-livesearch__type {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--color-primary, #004ac6);
  background: color-mix(in srgb, var(--color-primary, #004ac6) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary, #004ac6) 25%, transparent);
  white-space: nowrap;
}

/* 37.4 Entry animation — respects reduced motion (36.6 pattern). */
@media (prefers-reduced-motion: no-preference) {
  .gc-livesearch {
    animation: gc-ls-in 180ms cubic-bezier(0.2, 0, 0, 1);
  }
  @keyframes gc-ls-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }
}

/* 37.5 Narrow screens: the overlay body already spans ~92vw; let the panel
   inherit full width and cap its height above the on-screen keyboard zone. */
@media (max-width: 640px) {
  .gc-livesearch {
    max-height: 46vh;
  }
  .gc-livesearch__link {
    padding-block: 12px; /* 44px+ touch target */
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-livesearch__status.is-loading {
    animation: none;
  }
}

/* ==================================================================
   38. Micro-interaction layer (R10) — counters, toasts, copy, hours
   ================================================================== */

/* 38.1 Counters — the widget markup lives in Widgets/widgets/counters.php
   (<strong counterup="N">); base skin comes from main.css. The tween in
   gc-interactions.js rewrites textContent every frame, so tabular figures
   are the difference between a calm count and a jittering digit dance
   (Arabic-Indic digits included — the font stack covers both). */
.counterup-number strong {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  will-change: contents;
}

/* 38.2 Footer contact row (copyable phone). The row is now a wrapper div
   (an <a> may not contain a <button>); the existing .footer-contact-item
   hover rules above keep working because they target this class, and the
   inner link inherits ink + kills UA chrome. */
.footer-contact-item--copyable {
  justify-content: flex-start;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.footer-contact-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The copy affordance itself: a quiet ghost button that materializes on
   row hover (desktop), stays visible for keyboard focus and on touch
   (where there is no hover to reveal it). 44px touch target kept honest
   via an ::after hit-area expansion — visually it stays featherweight. */
.gc-copy-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 4px;
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--footer-content);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

/* Invisible hit-area expansion to the 44px a11y minimum. */
.gc-copy-btn::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 12px;
}

.footer-contact-item--copyable:hover .gc-copy-btn,
.footer-contact-item--copyable:focus-within .gc-copy-btn,
.gc-copy-btn:focus-visible {
  opacity: 1;
  transform: none;
}

.gc-copy-btn:hover {
  color: var(--footer-title);
  background: color-mix(in srgb, var(--footer-title) 12%, transparent);
}

.gc-copy-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gc-copy-btn:active {
  transform: scale(0.94);
}

/* Touch / no-hover devices: never hide an affordance that has no hover. */
@media (hover: none) {
  .gc-copy-btn {
    opacity: 0.72;
    transform: none;
  }
}

/* 38.3 Toast — single aria-live host for offline notice + copy feedback.
   Sits bottom-center above the floating contact stack, M3 container-high
   surface with an elevation shadow, tone tints via color-mix so light and
   dark modes are one rule each. */
.gc-toast {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 50%;
  translate: -50% 0; /* physical: inset-inline-start:50% + -50% = centered in any direction */
  z-index: 9999;
  max-width: min(92vw, 420px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--color-surface-container-high);
  color: var(--color-on-surface);
  border: 1px solid var(--color-outline-variant);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.14),
    0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.24s cubic-bezier(0.2, 0, 0, 1),
              transform 0.24s cubic-bezier(0.2, 0, 0, 1),
              visibility 0s linear 0.24s;
  pointer-events: none;
}

.gc-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.24s cubic-bezier(0.2, 0, 0, 1),
              transform 0.24s cubic-bezier(0.2, 0, 0, 1);
}

.gc-toast.is-offline {
  background: var(--color-error-container);
  color: var(--color-on-error-container);
  border-color: color-mix(in srgb, var(--color-error) 35%, transparent);
}

.gc-toast.is-success {
  background: var(--color-primary-container);
  color: var(--color-on-primary-container);
  border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
}

/* 38.4 Footer opening hours — the orphaned openingHours / Operation_Days
   options rendered at last. Divider keeps it attached to the contact
   block without competing with it. */
.footer-opening-hours {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--footer-title) 14%, transparent);
}

.footer-opening-hours .footer-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.footer-opening-hours .footer-subtitle i {
  color: var(--color-primary);
  font-size: 15px;
}

.footer-hours-value {
  color: var(--footer-text);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-hours-days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-hours-days li {
  position: relative;
  padding-inline-start: 14px;
  color: var(--footer-content);
  font-size: 13px;
  line-height: 1.7;
}

/* Quiet dot marker, flipped correctly by the logical property. */
.footer-hours-days li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary) 75%, transparent);
}

/* 38.5 Motion + print guards (36.6 pattern). */
@media (prefers-reduced-motion: reduce) {
  .gc-toast,
  .gc-toast.is-visible {
    transition: none;
    transform: none;
  }
  .gc-copy-btn {
    transition: none;
  }
}

@media print {
  .gc-toast,
  .gc-copy-btn {
    display: none !important;
  }
}
/* ==========================================================================
   39. RUKN ELITE EXECUTIVE ALIGNMENT (live deployment round R11)

   WHY: the design references shipped inside the theme package
   (local-services-platform-theme-ui:ux/rukn_elite_premium_local_home_*)
   define the visual contract the site is expected to match: a frosted
   translucent header, the estimator rendered as an executive NAVY panel,
   and the footer in the same navy family. The engineering rounds (R1-R10)
   unified the token system but kept the legacy light-surface skin on these
   three anchors, so the site read as "not the design we asked for".

   CONTRACT:
   - All colors resolve through NEW scoped --rukn-* custom properties so the
     palette stays tunable from one place (no magic hex scattered in rules).
   - The navy panel is a true inverse surface: its inks are explicit, so it
     renders identically in light and dark mode (like .gc-inv-* panels).
   - Specificity: every rule is scoped under .centerpiece-module / body so
     it deterministically beats the §22 utility toggles that centerpiece.js
     flips at runtime (no !important except the two .active states where the
     utility chain is inline-authored in the template markup).
   - RTL/LTR: logical properties only; nothing depends on directionality.
   - Reduced motion / print: panel keeps solid colors (no blur/print-ink
     surprises); print forces white backgrounds to save toner.
   ========================================================================== */

:root {
  --rukn-navy: #111c2d;                        /* executive navy — stats/CTA/footer/panels */
  --rukn-navy-field: #1b2a40;                  /* form fields on navy */
  --rukn-navy-deep: rgba(13, 22, 37, .55);     /* inset matrix well */
  --rukn-navy-line: rgba(188, 199, 222, .22);  /* hairlines on navy */
  --rukn-navy-ink: #f5f7ff;                    /* primary ink on navy */
  --rukn-navy-ink-dim: #bcc7de;                /* secondary ink on navy */
  --rukn-accent: #2563eb;                      /* mockup action blue */
  --rukn-accent-soft: #b4c5ff;                 /* readable accent on navy */
  --rukn-accent-wash: rgba(37, 99, 235, .22);  /* active pill wash */
}

/* --------------------------------------------------------------------------
   39.0 Legacy element-selector leak repair (CRITICAL)

   main.css (line 1) still carries `#button,header{position:fixed}` from the
   single-header era. The VIPS templates now use semantic <header> elements
   INSIDE sections (.vhome-section-head, .cpe-header, the announcement head)
   — the legacy selector pins every one of them to the viewport top, stacked
   behind the site header. That is the "site looks broken" defect.

   Scope: only headers INSIDE <main> are reset; the real site header (outside
   main) keeps its existing sticky behavior untouched.
   -------------------------------------------------------------------------- */
main header {
  position: static;
  inset: auto;
  /* main.css line 1 also paints `header{background:#fff}` — on the navy
     estimator card that prints a white slab over the panel header. */
  background: transparent;
}

/* --------------------------------------------------------------------------
   39.1 Header — frosted translucent bar (mockup: surface/90 + blur + border)
   Scoped to the site header only (excludes section headers inside main).
   -------------------------------------------------------------------------- */
body header:not(main header) {
  background-color: color-mix(in srgb, var(--color-surface-container-lowest) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  backdrop-filter: blur(14px) saturate(1.35);
  border-bottom: 1px solid var(--color-outline-variant);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body header:not(main header) {
    background-color: var(--color-surface-container-lowest);
  }
}

/* --------------------------------------------------------------------------
   39.2 Centerpiece estimator — executive navy panel (the signature element)
   -------------------------------------------------------------------------- */
.centerpiece-module {
  background-color: var(--rukn-navy);
  border: 1px solid var(--rukn-navy-line);
  box-shadow: 0 24px 48px -16px rgba(17, 28, 45, .45);
  color: var(--rukn-navy-ink);
}

/* Header block */
.centerpiece-module .cpe-header-title { color: var(--rukn-navy-ink); }
.centerpiece-module .cpe-header-sub { color: var(--rukn-navy-ink-dim); }
.centerpiece-module .cpe-header-badge {
  background-color: var(--rukn-accent-wash);
  color: var(--rukn-accent-soft);
}

/* Step labels + selects */
.centerpiece-module .cpe-step-label { color: var(--rukn-navy-ink); }
.centerpiece-module .cpe-service-select {
  background-color: var(--rukn-navy-field);
  border-color: var(--rukn-navy-line);
  color: var(--rukn-navy-ink);
}
.centerpiece-module .cpe-service-select:focus-visible {
  outline: 2px solid var(--rukn-accent-soft);
  outline-offset: 1px;
}
.centerpiece-module .cpe-select-caret { color: var(--rukn-navy-ink-dim); }

/* City tabs + property buttons (both class spellings ship in markup) */
.centerpiece-module .cpe-city-selector,
.centerpiece-module .cpe-property-selector {
  background-color: var(--rukn-navy-deep);
  border: 1px solid var(--rukn-navy-line);
}
.centerpiece-module .city-tab,
.centerpiece-module .cpe-city-tab,
.centerpiece-module .prop-btn,
.centerpiece-module .cpe-prop-btn {
  background-color: transparent;
  border-color: transparent;
  color: var(--rukn-navy-ink-dim);
}
.centerpiece-module .city-tab:hover,
.centerpiece-module .cpe-city-tab:hover,
.centerpiece-module .prop-btn:hover,
.centerpiece-module .cpe-prop-btn:hover {
  background-color: rgba(188, 199, 222, .08);
  color: var(--rukn-navy-ink);
}
/* Active state — beat the template-authored utility chain deterministically */
.centerpiece-module .city-tab.active,
.centerpiece-module .cpe-city-tab.active,
.centerpiece-module .city-tab.active.bg-surface-container-lowest {
  background-color: var(--rukn-accent-wash) !important;
  color: var(--rukn-accent-soft) !important;
  box-shadow: none;
}
.centerpiece-module .prop-btn.active,
.centerpiece-module .cpe-prop-btn.active,
.centerpiece-module .prop-btn.active.bg-surface-container-lowest {
  background-color: var(--rukn-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6);
}

/* Calculation matrix — inset dark well, ledger rows */
.centerpiece-module .cpe-matrix {
  background-color: var(--rukn-navy-deep);
  border-color: var(--rukn-navy-line);
}
.centerpiece-module .cpe-price-row { color: var(--rukn-navy-ink-dim); }
.centerpiece-module .cpe-price-row strong { color: var(--rukn-navy-ink); }
.centerpiece-module .cpe-price-label { color: var(--rukn-navy-ink); }
.centerpiece-module .cpe-price-value { color: var(--rukn-accent-soft); }
.centerpiece-module .cpe-price-row--total { border-top-color: var(--rukn-navy-line); }
.centerpiece-module .cpe-trust-row,
.centerpiece-module .cpe-note { color: var(--rukn-navy-ink-dim); }

/* Utility toggles used by centerpiece.js inside the module */
.centerpiece-module .text-secondary { color: var(--rukn-accent-soft); }
.centerpiece-module .text-on-surface { color: var(--rukn-navy-ink); }
.centerpiece-module .text-on-surface-variant { color: var(--rukn-navy-ink-dim); }
.centerpiece-module .text-primary { color: var(--rukn-accent-soft); }
.centerpiece-module .bg-surface-container-lowest { background-color: var(--rukn-navy-field); }
.centerpiece-module .bg-surface-container-low { background-color: var(--rukn-navy-deep); }

/* Secondary CTA (call) rides on navy */
.centerpiece-module .cpe-cta-call {
  background-color: var(--rukn-navy-field);
  border: 1px solid var(--rukn-navy-line);
  color: var(--rukn-navy-ink);
}
.centerpiece-module .cpe-cta-call:hover {
  background-color: #24354e;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   39.3 Footer — same executive navy family as the mockup
   (the --footer-bg inline var remains admin-configurable; this constant
   keeps the shipped default on-contract even when the option is empty.)
   -------------------------------------------------------------------------- */
.modern-footer { background-color: var(--rukn-navy); }

/* --------------------------------------------------------------------------
   39.4 Focus visibility on navy + print economy
   -------------------------------------------------------------------------- */
.centerpiece-module :focus-visible {
  outline: 2px solid var(--rukn-accent-soft);
  outline-offset: 2px;
}

@media print {
  body header,
  .centerpiece-module,
  .modern-footer {
    background-color: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .centerpiece-module * { color: #111111 !important; }
}

/* ==========================================================================
   40. LIGHT/DARK MODE SURFACE HARMONIZATION (R12 — user-reported washout)
   --------------------------------------------------------------------------
   WHY: the design system flips every ink token on body[mode="dark"], but
   main.css (single-header era) still hardcodes LIGHT surfaces on the legacy
   containers: .single-post{background:#fff}, header.header-out-single
   {background:#fff}, inputs, dropdowns, FAQ cards, comment forms… The result
   is the reported bug: dark-mode INK on light-mode CANVAS (washed-out
   light-on-light text) and a white site header floating over dark pages.

   CONTRACT:
   - LIGHT MODE STAYS PIXEL-IDENTICAL: every remapped surface uses the M3
     token whose LIGHT value equals the legacy hex (#fff →
     --color-surface-container-lowest = #fff; #fafafa family →
     --color-surface-container-low = #f2f3ff).
   - DARK MODE BECOMES COHERENT: the same surfaces flip with the tokens, and
     §40.5 re-asserts the hardcoded dark inks onto --color-on-surface ramps.
   - Specificity: §40 loads LAST; equal-specificity ties break to §40.
   ========================================================================== */

/* --------------------------------------------------------------------------
   40.0 SITE HEADER — token-driven frosted bar (both modes).
   Beats main.css `header.header-out-single{background:#fff}` (equal
   specificity, later load) and makes the header follow the mode palette.
   -------------------------------------------------------------------------- */
body .header-out-single,
body>header.fixed,
body>header {
  background-color: color-mix(in srgb, var(--color-surface-container-lowest) 92%, transparent);
  border-bottom: 1px solid var(--color-outline-variant);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body .header-out-single,
  body>header.fixed,
  body>header {
    -webkit-backdrop-filter: blur(14px) saturate(1.35);
    backdrop-filter: blur(14px) saturate(1.35);
  }
}
/* The scroll-state chrome stays token-driven too. */
body>header.fixed { box-shadow: var(--shadow-md); }

/* --------------------------------------------------------------------------
   40.1 CANVAS + CARD SURFACES (both modes; light values identical).
   #fff containers → --color-surface-container-lowest (#fff / #0b0e16).
   -------------------------------------------------------------------------- */
.single-post,
.gridpostsingle,
.-keywords-box,
.single-post-parent-container-comments,
.single-post-parent-container-right,
.single-post-parent-container-thumbnail,
.-single-parent-flexes--content-inner .-single-parent-flexes--content-bar,
.head-faq-body,
.bottom-faq,
.Contain-post- .active.faq-section,
.faq-info,
.city-block,
.-category-boxed,
.CategoryGrid__Item,
.-GridItem-1,
.-works,
.pagesingle,
.pagevideo,
.-single-mobile,
.works-single-parent-,
.--single--work-post-box,
.-works-info-box,
.Maps-section,
.album-slider,
.post--ads-content,
.auto-container-model,
.Parent-Boxed--Context---overlays,
.form-wrapper,
.services--block,
.post--features,
.step,
.features--block,
.s-price-content,
.price-contact,
.intro-page.-model-1,
.model-2,
.referance,
.success,
.benfit,
.-single-social,
.popup-boxed svg-box,
.-sldier-imageservice-two-box,
.-GridItem-2-info,
.YC-company-img-two,
.counterswidget-elements::before,
ul.-Tabs-loadmore-List li,
.search_body>.input_search_shadwo,
.menu_bar,
.menu-nav>ul>li>ul,
.search_header {
  background-color: var(--color-surface-container-lowest);
}
.city-block:hover,
.-category-boxed:hover,
.CategoryGrid__Item:hover,
.-GridItem-1:hover {
  background-color: var(--color-surface-container-lowest);
}

/* Soft/alt surfaces (#fafafa / #f9f9f9 / #f5f5f5 / #fbfbfb / #f8f9fa)
   → --color-surface-container-low (#f2f3ff / #191c26). */
.-UserArea,
.work_image,
.popup_image,
.table__container table tr td:first-child,
.single-post-parent-container-content .features--block,
.trust-badge-item,
.neighborhood-tag-pill,
.ButtonConcept a::after,
.ButtonConcept a::before,
.loadmore span::before,
.-YC-Loader-Css::before,
span#Close,
.-user-context {
  background-color: var(--color-surface-container-low);
}

/* Tinted chips → M3 washes (same hue family, mode-aware). */
.-user-avatar i {
  background-color: color-mix(in srgb, var(--color-primary) 10%, var(--color-surface-container-low));
}
.menu-boxed {
  background-color: color-mix(in srgb, var(--color-warning) 14%, var(--color-surface-container-lowest));
}
.login--icon--lord {
  background-color: color-mix(in srgb, var(--color-success) 12%, transparent);
}
i.fa-solid.fa-xmark.close {
  background-color: color-mix(in srgb, var(--color-error) 14%, var(--color-surface-container-lowest));
}
/* Floating slider arrows become elevated surfaces instead of raw white. */
.-YC-intro-Slides-next,
.-YC-intro-Slides-prev {
  background-color: var(--color-surface-container-high);
  color: var(--color-on-surface);
}

/* --------------------------------------------------------------------------
   40.2 FORM FIELDS — token surfaces + token ink (both modes).
   -------------------------------------------------------------------------- */
.Comment_lise input,
.textarea_form textarea,
.line input,
.line textarea,
.-comments-form-inputs-area input,
.form-wrapper input,
.-comments-user textarea:focus,
.search_body>.input_search_shadwo input {
  background-color: var(--color-surface-container-lowest);
  color: var(--color-on-surface);
  border-color: var(--color-outline-variant);
}
.Comment_lise input::placeholder,
.textarea_form textarea::placeholder,
.line input::placeholder,
.line textarea::placeholder,
.-comments-form-inputs-area input::placeholder {
  color: var(--color-on-surface-variant);
}

/* --------------------------------------------------------------------------
   40.3 SCROLLBAR + DIVIDERS — outline ramp.
   -------------------------------------------------------------------------- */
body::-webkit-scrollbar-thumb {
  background-color: var(--color-outline);
}
.faq-section,
.icon_faq i,
ul.box-widght-data li::before,
ul.social--footer li,
.single-post-parent-container-content .features--block,
.table__container table tr td,
.-faqs-singlebox>ul>li {
  border-color: var(--color-outline-variant);
}

/* --------------------------------------------------------------------------
   40.4 MODE-INVARIANT COLORED COMPONENTS (untouched by design):
   price cards, navy footer (§39.3), primary buttons, social chips, rating
   stars, WhatsApp/phone floats — they own their palette in BOTH modes.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   40.5 DARK-MODE INK CORRECTIONS.
   The surfaces above now flip with tokens; the hardcoded dark inks that sat
   on them must flip too. Scoped under body[mode="dark"] so LIGHT MODE IS
   UNTOUCHED. Specificity (0,2,2)+ beats every legacy (0,1,x) color rule.
   -------------------------------------------------------------------------- */
body[mode="dark"] .single-post :is(h1, h2, h3, h4, h5, h6),
body[mode="dark"] .pagesingle :is(h1, h2, h3, h4, h5, h6),
body[mode="dark"] .category-title p,
body[mode="dark"] .cat_title_boxed a h3,
body[mode="dark"] .titles-serive-model p,
body[mode="dark"] .titles-serive-model h1,
body[mode="dark"] .dt-contact h4,
body[mode="dark"] .adress-call_number .dt-contact p,
body[mode="dark"] .ez-toc-title,
body[mode="dark"] p.sub-content,
body[mode="dark"] .step-desc h3,
body[mode="dark"] .step-desc p,
body[mode="dark"] .works-single-title- h1,
body[mode="dark"] .user-data-title- h3,
body[mode="dark"] .sidebar-title h2,
body[mode="dark"] .service-works>span,
body[mode="dark"] ul.box-user-data li>p,
body[mode="dark"] ul.box-user-data li>span,
body[mode="dark"] .comment-bottom-bar-item.CommentDate,
body[mode="dark"] .CommentsListInner .coment_items1>.CommentContent>.NameArea,
body[mode="dark"] .CommentsListInner .coment_items1>.CommentContent>.CommentDate,
body[mode="dark"] a.LoadMoreComment,
body[mode="dark"] ul.services_text li,
body[mode="dark"] .s-price-content1 p,
body[mode="dark"] .-faqs-singlebox>ul>li>h2>i,
body[mode="dark"] .custom-tabs-boxed>.custom-tabs_shaps,
body[mode="dark"] .icon_country span i,
body[mode="dark"] .-GridItem-2-category-Item span:hover,
body[mode="dark"] span#Close,
body[mode="dark"] .head-faq-title h2,
body[mode="dark"] .contain-posts p,
body[mode="dark"] .Contain--Content--Context p,
body[mode="dark"] .ArticleDetails p,
body[mode="dark"] .ArticleDetails li {
  color: var(--color-on-surface);
}
body[mode="dark"] p.sub-content,
body[mode="dark"] .step-desc p,
body[mode="dark"] .CommentsListInner .coment_items1>.CommentContent>.CommentDate,
body[mode="dark"] a.LoadMoreComment,
body[mode="dark"] .s-price-content1 p,
body[mode="dark"] ul.box-user-data li>p,
body[mode="dark"] .-faqs-singlebox>ul>li>h2>i {
  color: var(--color-on-surface-variant);
}
/* Links inside legacy prose stay primary (flip to the dark primary ramp). */
body[mode="dark"] .ArticleDetails a,
body[mode="dark"] .contain-posts a,
body[mode="dark"] .Contain--Content--Context a,
body[mode="dark"] .links_price a,
body[mode="dark"] ol.BreadcrumbsFilters>li:last-child>a {
  color: var(--color-primary);
}
/* Muted/dim inks from the bridge keep resolving — nothing to re-assert. */

/* --------------------------------------------------------------------------
   40.6 DARK-MODE LEGACY CANVAS SAFETY NET.
   Some containers paint white via element selectors too broad to enumerate;
   the washout showed them inside .single-post. Re-assert the canvas on the
   page root so any unlisted transparent container composes on dark.
   -------------------------------------------------------------------------- */
body[mode="dark"] #main-content.single-post {
  background-color: var(--color-surface-container-lowest);
}
body[mode="dark"] .single-post :is(.single-blog, .-single-parent-box, .-single-parent, .Contain--Content--Context, .ArticleDetails, .CategoryBox, .passage, .toc) {
  background-color: transparent;
}
/* HR / generic dividers inside prose. */
body[mode="dark"] .ArticleDetails hr,
body[mode="dark"] .contain-posts hr {
  border-color: var(--color-outline-variant);
}
/* Blockquote and pre keep readable on dark. */
body[mode="dark"] .ArticleDetails blockquote {
  background-color: var(--color-surface-container);
  color: var(--color-on-surface);
  border-color: var(--color-outline-variant);
}

/* ==========================================================================
   41. PHASE-2 GEO-SILO CUTOVER (2026-09-17)
   --------------------------------------------------------------------------
   Additions for the cutover batch:
     41.1  Service page: sticky RTL TOC grid (.vsvc-specs-grid / .vtoc--sticky)
     41.2  Service hero: direct CTA row (.vsvc-cta-row / .vsvc-cta-note)
     41.3  District hub root (.vips-district-hub + --rollup modifier)
   All rules token-based (design-tokens-rtl.css), logical properties only,
   light/dark safe (no raw inks). Print keeps the TOC hidden (36.6).
   ========================================================================== */

/* 41.1 — Sticky RTL table of contents.
   Mobile-first: single column, the TOC card renders above the prose (DOM
   order) exactly like the old inline variant. Desktop (>=1024px): two
   columns — the TOC rail is the FIRST column, which under dir="rtl" is the
   RIGHT column (reading-flow start), and sticks across the 3,000+ word
   scroll. The old inline variant stays available for the post layout. */
.vsvc-specs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.vtoc.vtoc--sticky {
  margin: 0 0 var(--space-lg);
  max-width: 100%;
}

@media (min-width: 1024px) {
  .vsvc-specs-grid {
    /* RTL: column 1 = right rail (TOC), column 2 = prose. */
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .vtoc.vtoc--sticky {
    position: sticky;
    /* Below the fixed site header; matches 36.4 scroll-margin rhythm. */
    top: 96px;
    margin: 0;
    align-self: start;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
  }
  .vtoc.vtoc--sticky .vtoc-list-inner {
    max-height: none; /* the rail itself scrolls, not the list inside */
    overflow-y: auto;
    scrollbar-width: thin;
    padding-inline-end: 4px;
  }
}

/* 41.2 — Direct CTA hero row (above the fold).
   Emerald WhatsApp action + navy phone action side by side (wraps on
   mobile), with a quiet reassurance line beneath. */
.vsvc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
}

.vsvc-cta-row .vips-btn {
  min-height: 48px; /* Najd Horizon mobile tap target */
}

.vsvc-cta-note {
  margin-block-start: var(--space-sm);
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-sm);
  font-weight: 500;
}

/* 41.3 — District hub root. The legacy system classes (vips-breadcrumbs,
   vips-page-title, vips-lead, vips-pill, vips-services-*, vips-district-grid,
   district-badge) already exist in earlier sections; the hub root only
   needs its own rhythm. The --rollup modifier inherits the same layout. */
.vips-district-hub {
  display: block;
  padding-block: var(--space-xl);
}

.vips-district-hub--rollup {
  padding-block: var(--space-lg);
}

.vips-district-hub .vips-district-hero {
  margin-block-end: var(--space-xl);
}

/* ==========================================================================
   §42 — P3 MONEY-PAGE DATA BLOCKS + ZERO-JS BEHAVIORS (v4.0.0, 2026-09-17)
   Bindings for @single/service.php v4: localized price matrix, HowTo step
   timeline, diagnostic table, native <details> FAQ state, direct-answer and
   local-proof cards, mobile sticky CTA bar, CSS scroll-timeline progress.
   Token-based (design-tokens-rtl.css), logical properties only, RTL-first,
   light/dark safe. Append-only section — upstream rules untouched.
   ========================================================================== */

/* 42.0 — Smooth anchor scrolling + :target emphasis (scroll-spy retired). */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

:target {
  scroll-margin-top: 96px;
}

.vsvc-specs:target .vsvc-specs-card,
.service-body-content :target {
  outline: 2px solid var(--color-primary-fixed, var(--color-primary));
  outline-offset: 6px;
  border-radius: var(--radius-md);
}

/* 42.1 — Localized price matrix (.vsvc-price / .vsvc-price-table). */
.vsvc-price-sec,
.vsvc-direct-sec,
.vsvc-steps-sec,
.vsvc-diag-sec,
.vsvc-faq-sec,
.vsvc-local-sec {
  padding-block: var(--space-2xl);
}

.vsvc-price {
  max-width: 760px;
  margin-inline: auto;
}

.vsvc-price-table,
.vsvc-diag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-md);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vsvc-price-table th,
.vsvc-price-table td,
.vsvc-diag-table th,
.vsvc-diag-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: start;
  border-block-end: 1px solid var(--color-outline-variant);
}

.vsvc-price-table thead th,
.vsvc-diag-table thead th {
  background: var(--color-surface-container);
  color: var(--color-on-surface-variant);
  font-weight: 700;
  font-size: var(--text-label-md);
}

.vsvc-price-table tbody tr:last-child td,
.vsvc-diag-table tbody tr:last-child td {
  border-block-end: 0;
}

.vsvc-price-table td:last-child {
  font-weight: 700;
  color: var(--color-on-surface);
  white-space: nowrap;
}

.vsvc-price-note {
  margin: var(--space-sm) 0 0;
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-sm);
}

/* 42.2 — Procedural HowTo step timeline (Stitch 5 archetype). */
.vsvc-steps {
  max-width: 820px;
  margin-inline: auto;
}

.vsvc-steps-list {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  counter-reset: vstep;
}

.vsvc-step {
  position: relative;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-xl);
}

.vsvc-step-num {
  counter-increment: vstep;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 34px;
  block-size: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 800;
  font-size: var(--text-label-lg);
}

.vsvc-step-title {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-title-md);
  font-weight: 700;
  color: var(--color-on-surface);
}

.vsvc-step-body {
  margin: 0;
  color: var(--color-on-surface-variant);
  line-height: 1.8;
  font-size: var(--text-body-md);
}

/* 42.3 — Diagnostic symptom/cause/action table (Stitch 8 archetype). */
.vsvc-diag {
  max-width: 980px;
  margin-inline: auto;
}

/* 42.4 — Native FAQ details state + body rhythm (base .faq-card in §28). */
.faq-card[open] > summary {
  color: var(--color-primary);
}

.faq-card-body {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-on-surface-variant);
  line-height: 1.8;
}

.faq-card-body > p {
  margin: 0 0 var(--space-sm);
}

.faq-card-body > p:last-child {
  margin-block-end: 0;
}

.vsvc-faq {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* 42.5 — Direct answer + local proof cards. */
.vsvc-direct,
.vsvc-local {
  max-width: 820px;
  margin-inline: auto;
  border-inline-start: 4px solid var(--color-primary);
}

.vsvc-local-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block-start: var(--space-md);
}

/* 42.6 — Mobile sticky CTA bar (Stitch _3) — pure CSS, zero JS. */
.vsvc-mobilebar {
  position: sticky;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  background: var(--color-surface-container-high);
  border-block-start: 1px solid var(--color-outline-variant);
}

.vsvc-mobilebar .vips-btn {
  flex: 1;
  max-inline-size: 260px;
  justify-content: center;
}

@media (min-width: 1024px) {
  .vsvc-mobilebar {
    display: none;
  }
}

/* 42.7 — Zero-JS reading progress: CSS scroll-driven fill. Browsers without
   animation-timeline keep the (invisible) JS-driven fallback. */
@supports (animation-timeline: scroll()) {
  .vread-progress {
    opacity: 1;
  }

  .vread-progress__fill {
    animation: vread-grow linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes vread-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* 42.8 — Below-fold render cost: skip work off-screen (INP budget). */
.vsvc-local,
.vsvc-faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

/* ==========================================================================
   43. STITCH VISUAL SEMANTICS (M3 token layer — الألمانية المتحدة palette)
   Scoped entirely under .gc-stitch (P3 Stitch-transplanted templates:
   @single/service.php v5 + @archive/country.php v5). Generated from the
   exact class tokens used by those templates — zero bleed into legacy views.
   Colors/type/spacing verbatim from ui-ux tailwind.config. Zero JS.
   ========================================================================== */
.gc-stitch .absolute { position:absolute; }
.gc-stitch .bg-primary { background-color: #000000; }
.gc-stitch .bg-primary-container { background-color: #0e1c2f; }
.gc-stitch .bg-secondary { background-color: #006a61; }
.gc-stitch .bg-secondary-container { background-color: #86f2e4; }
.gc-stitch .bg-secondary-fixed { background-color: #89f5e7; }
.gc-stitch .bg-surface { background-color: #faf8ff; }
.gc-stitch .bg-surface-container { background-color: #eaedff; }
.gc-stitch .bg-surface-container-low { background-color: #f2f3ff; }
.gc-stitch .bg-surface-container-lowest { background-color: #ffffff; }
.gc-stitch .block { display:block; }
.gc-stitch .border { border-width:1px;border-style:solid; }
.gc-stitch .border-b { border-bottom-width:1px;border-bottom-style:solid; }
.gc-stitch .border-collapse { border-collapse:collapse; }
.gc-stitch .border-on-primary { border-color: #ffffff; }
.gc-stitch .border-surface-container { border-color: #eaedff; }
.gc-stitch .cursor-pointer { cursor:pointer; }
.gc-stitch .duration-300 { transition-duration:300ms; }
.gc-stitch .flex { display:flex; }
.gc-stitch .flex-col { flex-direction:column; }
.gc-stitch .flex-wrap { flex-wrap:wrap; }
.gc-stitch .font-body-lg { font-family:'Tajawal',sans-serif; }
.gc-stitch .font-body-md { font-family:'Tajawal',sans-serif; }
.gc-stitch .font-body-sm { font-family:'Tajawal',sans-serif; }
.gc-stitch .font-display-hero { font-family:'Cairo',sans-serif; }
.gc-stitch .font-headline-lg { font-family:'Cairo',sans-serif; }
.gc-stitch .font-headline-md { font-family:'Cairo',sans-serif; }
.gc-stitch .font-headline-sm { font-family:'Cairo',sans-serif; }
.gc-stitch .font-label-md { font-family:'Cairo',sans-serif; }
.gc-stitch .font-label-sm { font-family:'Cairo',sans-serif; }
.gc-stitch .gap-gutter-lg { gap:2rem; }
.gc-stitch .gap-space-lg { gap:1.5rem; }
.gc-stitch .gap-space-md { gap:1rem; }
.gc-stitch .gap-space-sm { gap:0.5rem; }
.gc-stitch .gap-space-xl { gap:2.5rem; }
.gc-stitch .gap-space-xs { gap:0.25rem; }
.gc-stitch .grid { display:grid; }
.gc-stitch .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gc-stitch .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-stitch .group:hover .gap-space-sm { gap:0.5rem; }
.gc-stitch .group:hover .text-secondary { color: #006a61; }
.gc-stitch details.group[open] .group-open\:-rotate-180 { transform: rotate(180deg); }
.gc-stitch .h-1\.5 { height:0.375rem; }
.gc-stitch .h-10 { height:2.5rem; }
.gc-stitch .h-12 { height:3rem; }
.gc-stitch .h-2 { height:0.5rem; }
.gc-stitch .hidden { display:none; }
.gc-stitch .hover\:bg-secondary:hover { background-color: #006a61; }
.gc-stitch .hover\:bg-secondary-container:hover { background-color: #86f2e4; }
.gc-stitch .hover\:bg-surface-container:hover { background-color: #eaedff; }
.gc-stitch .hover\:bg-surface-container-low:hover { background-color: #f2f3ff; }
.gc-stitch .hover\:shadow-md:hover { box-shadow:0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.gc-stitch .hover\:text-on-secondary-container:hover { color: #006f66; }
.gc-stitch .hover\:text-on-surface:hover { color: #131b2e; }
.gc-stitch .hover\:text-primary:hover { color: #000000; }
.gc-stitch .hover\:text-secondary:hover { color: #006a61; }
.gc-stitch .inherit { color:inherit; }
.gc-stitch .inline-flex { display:inline-flex; }
.gc-stitch .inset-0 { inset:0; }
.gc-stitch .items-center { align-items:center; }
.gc-stitch .items-start { align-items:flex-start; }
.gc-stitch .justify-between { justify-content:space-between; }
.gc-stitch .justify-center { justify-content:center; }
.gc-stitch .leading-relaxed { line-height:1.625; }
.gc-stitch .leading-tight { line-height:1.25; }
.gc-stitch .list-none { list-style:none; }
.gc-stitch .max-w-2xl { max-width:42rem; }
.gc-stitch .min-w-0 { min-width:0; }
.gc-stitch .mt-auto { margin-top:auto; }
.gc-stitch .mt-space-md { margin-top:1rem; }
.gc-stitch .mt-space-sm { margin-top:0.5rem; }
.gc-stitch .mt-space-xs { margin-top:0.25rem; }
.gc-stitch .opacity-40 { opacity:0.4; }
.gc-stitch .overflow-hidden { overflow:hidden; }
.gc-stitch .overflow-x-auto { overflow-x:auto; }
.gc-stitch .p-space-lg { padding:1.5rem; }
.gc-stitch .p-space-md { padding:1rem; }
.gc-stitch .p-space-sm { padding:0.5rem; }
.gc-stitch .p-space-xs { padding:0.25rem; }
.gc-stitch .pb-space-sm { padding-bottom:0.5rem; }
.gc-stitch .pointer-events-none { pointer-events:none; }
.gc-stitch .pt-space-sm { padding-top:0.5rem; }
.gc-stitch .pt-space-xs { padding-top:0.25rem; }
.gc-stitch .px-space-lg { padding-inline:1.5rem; }
.gc-stitch .px-space-md { padding-inline:1rem; }
.gc-stitch .px-space-sm { padding-inline:0.5rem; }
.gc-stitch .py-space-lg { padding-block:1.5rem; }
.gc-stitch .py-space-sm { padding-block:0.5rem; }
.gc-stitch .py-space-xl { padding-block:2.5rem; }
.gc-stitch .py-space-xs { padding-block:0.25rem; }
.gc-stitch .relative { position:relative; }
.gc-stitch .rounded-full { border-radius:0.75rem; }
.gc-stitch .rounded-lg { border-radius:0.25rem; }
.gc-stitch .rounded-tl-lg { border-top-left-radius:0.25rem; }
.gc-stitch .rounded-tr-lg { border-top-right-radius:0.25rem; }
.gc-stitch .rounded-xl { border-radius:0.5rem; }
.gc-stitch .select-none { user-select:none; }
.gc-stitch .self-start { align-self:flex-start; }
.gc-stitch .shadow-sm { box-shadow:0 1px 2px 0 rgba(0,0,0,0.05); }
.gc-stitch .shadow-xl { box-shadow:0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.gc-stitch .shrink-0 { flex-shrink:0; }
.gc-stitch .sticky { position:sticky; }
.gc-stitch .text-2xl { font-size:24px;line-height:32px;font-weight:400; }
.gc-stitch .text-3xl { font-size:30px;line-height:36px;font-weight:400; }
.gc-stitch .text-base { font-size:16px;line-height:24px;font-weight:400; }
.gc-stitch .text-body-lg { font-size:18px;line-height:30px;letter-spacing:0;font-weight:400; }
.gc-stitch .text-body-md { font-size:15px;line-height:24px;letter-spacing:0;font-weight:400; }
.gc-stitch .text-body-sm { font-size:13px;line-height:20px;letter-spacing:0;font-weight:500; }
.gc-stitch .text-center { text-align:center; }
.gc-stitch .text-display-hero { font-size:44px;line-height:56px;letter-spacing:-0.02em;font-weight:800; }
.gc-stitch .text-headline-lg { font-size:32px;line-height:44px;letter-spacing:-0.01em;font-weight:700; }
.gc-stitch .text-headline-md { font-size:22px;line-height:32px;letter-spacing:0;font-weight:700; }
.gc-stitch .text-headline-sm { font-size:18px;line-height:26px;letter-spacing:0;font-weight:600; }
.gc-stitch .text-label-md { font-size:13px;line-height:18px;letter-spacing:0.01em;font-weight:600; }
.gc-stitch .text-label-sm { font-size:11px;line-height:16px;letter-spacing:0.02em;font-weight:700; }
.gc-stitch .text-on-primary { color: #ffffff; }
.gc-stitch .text-on-primary-container { color: #77849c; }
.gc-stitch .text-on-secondary { color: #ffffff; }
.gc-stitch .text-on-secondary-container { color: #006f66; }
.gc-stitch .text-on-secondary-fixed { color: #00201d; }
.gc-stitch .text-on-surface { color: #131b2e; }
.gc-stitch .text-on-surface-variant { color: #44474c; }
.gc-stitch .text-primary { color: #000000; }
.gc-stitch .text-right { text-align:right; }
.gc-stitch .text-secondary { color: #006a61; }
.gc-stitch .text-sm { font-size:14px;line-height:20px;font-weight:400; }
.gc-stitch .text-xl { font-size:20px;line-height:28px;font-weight:400; }
.gc-stitch .text-xs { font-size:12px;line-height:16px;font-weight:400; }
.gc-stitch .top-24 { top:6rem; }
.gc-stitch .tracking-tight { letter-spacing:-0.025em; }
.gc-stitch .transition-all { transition-property:all;transition-duration:150ms; }
.gc-stitch .transition-colors { transition-property:color,background-color,border-color;transition-duration:150ms; }
.gc-stitch .transition-shadow { transition-property:box-shadow;transition-duration:150ms; }
.gc-stitch .transition-transform { transition-property:transform;transition-duration:150ms; }
.gc-stitch .w-1\.5 { width:0.375rem; }
.gc-stitch .w-10 { width:2.5rem; }
.gc-stitch .w-12 { width:3rem; }
.gc-stitch .w-2 { width:0.5rem; }
.gc-stitch .w-full { width:100%; }
.gc-stitch .w-px { width:1px; }
.gc-stitch .z-10 { z-index:10; }
@media (min-width: 640px) {
  .gc-stitch .sm\:flex-row { flex-direction:row; }
  .gc-stitch .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .gc-stitch .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-stitch .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gc-stitch .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gc-stitch .md\:p-space-xl { padding:2.5rem; }
  .gc-stitch .md\:text-headline-lg { font-size:32px;line-height:44px;letter-spacing:-0.01em;font-weight:700; }
}
@media (min-width: 1024px) {
  .gc-stitch .lg\:block { display:block; }
  .gc-stitch .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .gc-stitch .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .gc-stitch .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .gc-stitch .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .gc-stitch .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .gc-stitch .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gc-stitch .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gc-stitch .lg\:py-space-xl { padding-block:2.5rem; }
  .gc-stitch .lg\:text-display-hero { font-size:44px;line-height:56px;letter-spacing:-0.02em;font-weight:800; }
}
/* shell */
.gc-stitch .gc-shell { max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .gc-stitch .gc-shell { padding-inline: 2rem; } }
@media (min-width: 1024px) { .gc-stitch .gc-shell { padding-inline: 3.5rem; } }
/* hero ambient glow (Stitch radial backdrop) */
.gc-stitch .gc-hero-glow { background: radial-gradient(circle at top right, #86f2e4 0%, transparent 50%); }
/* live dots (pure CSS keyframes) */
.gc-stitch .gc-ping, .gc-stitch .gc-pulse { position: relative; display: inline-block; }
.gc-stitch .gc-ping::after, .gc-stitch .gc-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 9999px;
  background: currentColor; opacity: .6;
  animation: gc-ping-kf 1.4s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes gc-ping-kf { 0% { transform: scale(1); opacity: .55; } 75%, 100% { transform: scale(2.1); opacity: 0; } }
/* divide-y rows */
.gc-stitch .divide-y > :not([hidden]) ~ :not([hidden]) { border-top: 1px solid #f2f3ff; }
/* gradient section */
.gc-stitch .bg-gradient-to-b { background-image: linear-gradient(to bottom, #faf8ff, #f2f3ff); }
/* summary marker reset (Safari) */
.gc-stitch summary::-webkit-details-marker { display: none; }
/* table cells */
.gc-stitch table th, .gc-stitch table td { vertical-align: middle; }
/* Stitch restyle of contracted mobile dock + hero CTA row (.gc-stitch scope only) */
.gc-stitch .vsvc-mobilebar {
  display: flex; gap: .5rem; align-items: center;
  position: fixed; bottom: 0; inset-inline: 0; z-index: 50;
  padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid #c5c6cd;
}
@media (min-width: 1024px) { .gc-stitch .vsvc-mobilebar { display: none; } }
.gc-stitch .vsvc-cta-row .vips-btn--wa { background: #006a61; color: #fff; }
.gc-stitch .vsvc-cta-row .vips-btn--wa:hover { background: #86f2e4; color: #006f66; }
.gc-stitch .vsvc-cta-row .vips-btn--primary { background: #000000; color: #fff; }
.gc-stitch .vsvc-cta-row .vips-btn--primary:hover { background: #006a61; color: #fff; }
.gc-stitch .bg-outline-variant { background-color: #c5c6cd; }
