/*
Theme Name:  MyElectric
Theme URI:   https://myelectric.pk
Author:      MyElectric Team
Author URI:  https://myelectric.pk
Description: Premium hybrid e-commerce and electrical services theme for Pakistan. Industrial components + professional services. Stripe/Linear aesthetic for the Pakistani market.
Version:     1.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
License:     Proprietary
License URI: https://myelectric.pk
Text Domain: myelectric
Tags: e-commerce, woocommerce, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================================================
   DESIGN TOKENS — :root CSS custom properties
   All brand values live here. Change brand colors in ONE place.
   ============================================================================= */

:root {
  /* --- Brand Colors --- */
  --color-primary:       #0FB14B;
  --color-primary-dark:  #0CB14B;
  --color-accent:        #D5DF39;
  --color-dark:          #202123;
  --color-dark-80:       rgba(32, 33, 35, 0.80);
  --color-dark-60:       rgba(32, 33, 35, 0.60);
  --color-dark-40:       rgba(32, 33, 35, 0.40);

  /* --- Neutral Palette --- */
  --color-white:         #FFFFFF;
  --color-off-white:     #F7FAF8;
  --color-grey-50:       #F4F5F4;
  --color-grey-100:      #E8EAEA;
  --color-grey-200:      #D1D3D2;
  --color-grey-300:      #B0B3B2;
  --color-grey-500:      #6B6E6D;
  --color-grey-700:      #3A3C3B;

  /* --- Semantic Colors --- */
  --color-success:       #0FB14B;
  --color-warning:       #F59E0B;
  --color-error:         #EF4444;
  --color-info:          #3B82F6;

  /* --- Typography --- */
  --font-primary:   'Poppins', sans-serif;
  --font-secondary: 'Lora', serif;
  --font-mono:      'Courier New', monospace;

  /* --- Type Scale --- */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  clamp(2.25rem, 4vw, 3rem);
  --text-5xl:  clamp(2.75rem, 5vw, 3.75rem);

  /* --- Font Weights --- */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  /* --- Spacing Scale (4px base) --- */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-2.5: 0.625rem;
  --space-3:   0.75rem;
  --space-3.5: 0.875rem;
  --space-4:   1rem;
  --space-4.5: 1.125rem;
  --space-5:   1.25rem;
  --space-5.5: 1.375rem;
  --space-6:   1.5rem;
  --space-7:   1.75rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-14:  3.5rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;

  /* --- Border Radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:    0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:    0 20px 50px rgba(0,0,0,0.15);
  --shadow-green: 0 4px 20px rgba(15, 177, 75, 0.25);

  /* --- Layout --- */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* --- Header --- */
  --header-height-strip: 36px;
  --header-height-main:  64px;   /* updated from 68px in v1.2 */
  --header-height-total: calc(var(--header-height-strip) + var(--header-height-main) + 2.5rem);

  /* --- Z-index Scale --- */
  --z-base:       1;
  --z-dropdown:   100;
  --z-header:     200;
  --z-megamenu:   190;
  --z-overlay:    300;
  --z-drawer:     400;
  --z-modal:      500;
  --z-toast:      600;

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5em; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Accessibility: skip link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-to-content:focus {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  z-index: var(--z-modal);
  text-decoration: none;
}

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding: var(--space-16) 0; }
.section--sm { padding: var(--space-10) 0; }
.section--lg { padding: var(--space-24) 0; }
.section--dark { background: var(--color-dark); color: var(--color-white); }
.section--tinted { background: var(--color-off-white); }

/* Two-column content + sidebar */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 1024px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

/* Narrow editorial content */
.page-content--narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.page-content--legal {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================================
   TYPOGRAPHY COMPONENTS
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  color: var(--color-dark);
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { margin-top: 1.5em; margin-bottom: 0.5em; }
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote { margin-bottom: 1.25em; }
.entry-content a { color: var(--color-primary); }
.entry-content a:hover { text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-6);
  font-style: italic;
  color: var(--color-grey-500);
  font-family: var(--font-secondary);
}
.entry-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-grey-50);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
}
.entry-content pre {
  background: var(--color-dark);
  color: var(--color-grey-100);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  margin-bottom: 1.25em;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25em;
  font-size: var(--text-sm);
}
.entry-content th,
.entry-content td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-grey-100);
  text-align: left;
}
.entry-content th { background: var(--color-grey-50); font-weight: var(--fw-semibold); }

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-full); /* canonical pill — single source of truth */
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
              box-shadow var(--transition-fast), border-color var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border-color: transparent;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #12c955, var(--color-primary));
  box-shadow: var(--shadow-green);
  text-decoration: none;
  color: var(--color-white);
}
.btn--secondary {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-grey-200);
}
.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}
.btn--accent {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: transparent;
  font-weight: var(--fw-bold);
}
.btn--accent:hover { background: #c8d232; text-decoration: none; color: var(--color-dark); }
/* Ghost: green border + green text — works on light AND dark backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover {
  background: rgba(15, 177, 75, 0.08);
  text-decoration: none;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.btn--sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn--lg { padding: 0.875rem 1.75rem; font-size: var(--text-base); }
.btn--full { width: 100%; }
.btn--pill { border-radius: var(--radius-full); }
.btn:active { transform: scale(0.98); }

/* =============================================================================
   FORM ELEMENTS
   ============================================================================= */

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.625rem 1rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,177,75,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-700);
  margin-bottom: var(--space-1);
}

/* =============================================================================
   PROMO STRIP
   ============================================================================= */

.promo-strip {
  background: var(--color-dark);
  color: var(--color-grey-300);
  height: var(--header-height-strip);
  font-size: 0.75rem;
  position: relative;
  z-index: calc(var(--z-header) + 1);
}
@media (max-width: 640px) { .promo-strip { display: none; } }

.promo-strip__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-strip__message {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.promo-icon { color: var(--color-accent); flex-shrink: 0; }
.promo-message-text { color: var(--color-grey-300); }

.promo-strip__nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.promo-strip__nav a {
  color: var(--color-grey-300);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}
.promo-strip__nav a:hover { color: var(--color-white); }

/* Vertical pipe separators between links */
.promo-strip__nav a + a::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.20);
  margin-right: var(--space-2);
  vertical-align: middle;
}

/* =============================================================================
   MAIN SITE HEADER
   ============================================================================= */

.site-header {
  background: transparent;
  border-bottom: none;
  height: auto;
  padding: var(--space-4) var(--container-pad);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  transition: transform var(--transition-fast);
}

/* Glassmorphism — JS adds this class after 10px scroll */
.site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: transparent;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: var(--header-height-main);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  background: var(--color-white);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  will-change: background, box-shadow;
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo__img,
.site-logo__svg {
  max-width: 160px;
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Primary Nav */
.primary-nav { flex: 1; }
.primary-nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
}
.primary-nav__item { position: relative; }
.primary-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) var(--space-3);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  color: var(--color-grey-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  white-space: nowrap;
  background: none !important;
}
.primary-nav__link:hover,
.primary-nav__item.is-active > .primary-nav__link,
.primary-nav__item.current-menu-item > .primary-nav__link {
  color: var(--color-primary);
  background: none !important;
  text-decoration: none;
}
.primary-nav__chevron,
.nav-caret { transition: transform var(--transition-fast); color: var(--color-grey-300); }
.primary-nav__item.is-active .primary-nav__chevron,
.primary-nav__item.is-active .nav-caret { transform: rotate(180deg); }

/* Header right-side actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
  flex-shrink: 0;
}
.header-actions__sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,0.08);
  margin: 0 var(--space-2);
  flex-shrink: 0;
}
.header-actions__search,
.header-actions__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: none;
  border: none;
  color: var(--color-dark);
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
  text-decoration: none;
}
.header-actions__search svg,
.header-actions__cart svg { width: 18px; height: 18px; }
.header-actions__search:hover,
.header-actions__cart:hover { background: var(--color-grey-50); color: var(--color-primary); }

/* Cart count badge */
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 10px;
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.cart-count:empty { display: none; }

.btn--header-secondary {
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-dark);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.btn--header-secondary:hover { background: var(--color-grey-50); color: var(--color-primary); text-decoration: none; }
.btn--header-primary {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}
.btn--header-primary:hover { background: var(--color-primary-dark); text-decoration: none; color: var(--color-white); }
.btn--header-primary:active { transform: scale(0.98); }

/* Hamburger — mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  transition: background var(--transition-fast);
}
.hamburger:hover { background: var(--color-grey-50); }
.hamburger__line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .primary-nav { display: none; }
  .header-actions__sep,
  .btn--header-secondary,
  .btn--header-primary { display: none; }
}

/* =============================================================================
   MEGA MENU PANEL
   ============================================================================= */

.mega-menu {
  position: fixed;
  top: calc(var(--header-height-total) - 8px);
  left: 0;
  right: 0;
  z-index: var(--z-megamenu);
  display: none;
  overflow: visible;
  pointer-events: none;
}
.site-header.is-scrolled + .mega-menu {
  top: calc(var(--space-4) + var(--header-height-main) + var(--space-4));
}
.mega-menu.is-open { display: block; animation: megaMenuIn 200ms ease forwards; }
@keyframes megaMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-menu__inner {
  pointer-events: auto;
  max-width: var(--container-max);
  margin: 0 auto;
  width: calc(100% - var(--container-pad) * 2);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-grey-100);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  position: relative;
}
/* Invisible bridge for hover gap */
.mega-menu__inner::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
}

.mega-menu__col-title {
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grey-500);
  border-bottom: 1px solid var(--color-grey-100);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
}

.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.mega-menu__item:hover {
  background: var(--color-off-white);
  text-decoration: none;
  transform: translateY(-1px);
}
.mega-menu__item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(15,177,75,0.08); /* primary color tint */
  color: var(--color-primary);
  font-size: 1.125rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.mega-menu__item:hover .mega-menu__item-icon {
  background: rgba(15,177,75,0.15);
  transform: scale(1.05);
}
.mega-menu__item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}
.mega-menu__item-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--color-grey-500);
  line-height: 1.4;
  margin-top: 1px;
}

.mega-menu__cta-sidebar {
  background: linear-gradient(145deg, var(--color-off-white), rgba(15,177,75,0.04));
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mega-menu__cta-sidebar-title { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-dark); margin: 0; }
.mega-menu__cta-sidebar-body { font-size: var(--text-xs); color: var(--color-grey-500); line-height: 1.5; margin: 0; }

.mega-menu__featured {
  display: block;
  background: var(--color-dark);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-decoration: none;
  margin-top: var(--space-2);
  transition: background var(--transition-fast);
}
.mega-menu__featured:hover { background: var(--color-grey-700); text-decoration: none; }
.mega-menu__featured-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.mega-menu__featured-title {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}
.mega-menu__featured-cta { font-size: var(--text-xs); color: var(--color-primary); font-weight: var(--fw-semibold); }

/* Layout A: grid-featured */
.mega-menu__grid--grid-featured {
  display: grid;
  grid-template-columns: 1fr 1fr 240px;
  gap: var(--space-8);
  padding: var(--space-8);
}
/* Layout C: list-simple */
.mega-menu__grid--list-simple {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
}
/* Layout B: wide-icons */
.mega-menu__grid--wide-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  padding: var(--space-8);
}
.mega-menu__icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 1px solid var(--color-grey-100);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.mega-menu__icon-tile:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15,177,75,0.08); /* Tinted shadow */
  text-decoration: none;
  transform: translateY(-2px);
}
.mega-menu__icon-tile-icon {
  width: 44px; height: 44px; /* Slightly larger */
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,177,75,0.08);
  border-radius: var(--radius-md);
  font-size: 1.5rem; /* Slightly larger */
  color: var(--color-primary);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.mega-menu__icon-tile:hover .mega-menu__icon-tile-icon {
  background: rgba(15,177,75,0.15);
  transform: scale(1.05); /* bounce up slightly */
}
.mega-menu__icon-tile-name { font-size: 0.8125rem; font-weight: var(--fw-semibold); color: var(--color-dark); line-height: 1.3; }
/* Layout D scaffold (Phase 2) */
.mega-menu__grid--mega-tabs { display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }

/* =============================================================================
   MOBILE MENU
   ============================================================================= */

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-overlay.is-active { opacity: 1; pointer-events: all; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--color-white);
  z-index: var(--z-drawer);
  transition: left var(--transition-base);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open { left: 0; }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-grey-100);
}
.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-dark);
  transition: background var(--transition-fast);
}
.mobile-menu__close:hover { background: var(--color-grey-50); }

.mobile-nav {
  list-style: none;
  padding: var(--space-4) var(--space-4);
  margin: 0;
  flex: 1;
}
.mobile-nav__item { border-bottom: 1px solid var(--color-grey-50); }
.mobile-nav__link {
  display: block;
  padding: var(--space-4) var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.mobile-nav__link:hover { color: var(--color-primary); }

.mobile-menu__footer {
  padding: var(--space-6);
  border-top: 1px solid var(--color-grey-100);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-menu__contact a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  text-decoration: none;
}

/* Search panel */
.site-search-panel {
  position: fixed;
  top: var(--header-height-total);
  left: 0;
  right: 0;
  z-index: var(--z-megamenu);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-100);
  padding: var(--space-6) var(--container-pad);
  box-shadow: var(--shadow-lg);
}
.site-search-panel[hidden] { display: none; }
.site-search-panel .myelectric-search-form { max-width: 640px; }

/* Themed search form — replaces the unstyled WP default (get_search_form()).
   Reused by the header search panel, 404 page, and search results page. */
.myelectric-search-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.myelectric-search-form__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-1) var(--space-1) var(--space-5);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.myelectric-search-form__field:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 177, 75, 0.12);
}
.myelectric-search-form__icon {
  width: 20px;
  height: 20px;
  color: var(--color-grey-300);
  flex-shrink: 0;
}
.myelectric-search-form__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  padding: var(--space-3) 0;
}
.myelectric-search-form__input::placeholder { color: var(--color-grey-300); }
.myelectric-search-form__submit {
  flex-shrink: 0;
  height: 42px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-full);
}
/* As-you-type suggestions dropdown (driven by LiveSearch in main.js) */
.myelectric-search-form__suggestions {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 70vh;
  overflow-y: auto;
  padding: var(--space-2) 0;
  z-index: var(--z-dropdown);
}
.myelectric-search-form__suggestions[hidden] { display: none; }
.myelectric-search-form__suggestion-group {
  padding: var(--space-3) var(--space-4) var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey-300);
}
.myelectric-search-form__suggestion {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  color: var(--color-dark);
  transition: background var(--transition-fast);
}
.myelectric-search-form__suggestion:hover,
.myelectric-search-form__suggestion.is-active {
  background: var(--color-off-white);
}
.myelectric-search-form__suggestion-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-grey-100);
  background: var(--color-grey-50);
  flex-shrink: 0;
}
.myelectric-search-form__suggestion-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.myelectric-search-form__suggestion-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.myelectric-search-form__suggestion-price {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}
.myelectric-search-form__suggestion-excerpt {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.myelectric-search-form__suggestion-empty {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  text-align: center;
}

/* =============================================================================
   PAGE HERO
   ============================================================================= */

.page-hero {
  background: var(--color-dark);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15,177,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.page-hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  max-width: 800px;
}
.page-hero__subtitle {
  font-size: var(--text-md);
  color: var(--color-grey-300);
  max-width: 600px;
  margin-bottom: var(--space-6);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
}
.breadcrumbs a { color: var(--color-grey-300); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-white); }
.breadcrumbs__sep { color: var(--color-grey-700); }
.breadcrumbs__current { color: var(--color-grey-300); }

/* =============================================================================
   CARDS
   ============================================================================= */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card__body { padding: var(--space-6); }
.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.card__title { font-size: var(--text-lg); font-weight: var(--fw-semibold); margin-bottom: var(--space-2); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--color-primary); }
.card__excerpt { font-size: var(--text-sm); color: var(--color-grey-500); line-height: 1.6; }
.card__meta { font-size: var(--text-xs); color: var(--color-grey-300); margin-top: var(--space-4); }

/* =============================================================================
   BLOG ARCHIVE / SINGLE
   ============================================================================= */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}
.post-full { max-width: 780px; }
.post-full .entry-header { margin-bottom: var(--space-8); }
.post-full .entry-title { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
.post-full .entry-meta { font-size: var(--text-sm); color: var(--color-grey-500); display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Author bio */
.author-bio {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  margin-top: var(--space-12);
}
.author-bio__avatar { width: 64px; height: 64px; border-radius: var(--radius-full); flex-shrink: 0; }
.author-bio__name { font-weight: var(--fw-semibold); margin-bottom: var(--space-1); }
.author-bio__desc { font-size: var(--text-sm); color: var(--color-grey-500); }

/* Comments */
.comments-area { margin-top: var(--space-12); }
.comments-title { font-size: var(--text-xl); margin-bottom: var(--space-8); }
.comment-item { margin-bottom: var(--space-6); }
.comment-body { background: var(--color-off-white); border-radius: var(--radius-lg); padding: var(--space-6); }
.comment-meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.comment-avatar { width: 44px; height: 44px; border-radius: var(--radius-full); }
.comment-author__name { font-weight: var(--fw-semibold); }
.comment-metadata { font-size: var(--text-xs); color: var(--color-grey-300); margin-top: 2px; }
.reply-link a { font-size: var(--text-xs); color: var(--color-primary); }

/* =============================================================================
   SIDEBAR
   ============================================================================= */

.widget {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.widget-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-grey-500);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-grey-100);
}

/* =============================================================================
   SEARCH PAGE
   ============================================================================= */

.search-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-grey-100);
  margin-bottom: var(--space-8);
}
.search-tab-btn {
  padding: var(--space-3) var(--space-6);
  background: none;
  border: none;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.search-tab-btn.is-active,
.search-tab-btn:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: #16171A;
  color: var(--color-grey-300);
}
.footer-banner {
  background: #1A1B1E;
  padding: var(--space-20) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.footer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 120%, rgba(15, 177, 75, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-banner__text {
  max-width: 480px;
}

.footer-banner__text h3 { 
  color: var(--color-white); 
  font-size: var(--text-2xl); 
  font-weight: var(--fw-semibold); 
  margin-bottom: var(--space-3); 
  letter-spacing: -0.02em;
}

.footer-banner__text p { 
  color: var(--color-grey-300); 
  font-size: 0.9375rem; 
  margin: 0; 
  line-height: 1.6;
}

.footer-newsletter { 
  display: flex; 
  align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px;
  border-radius: var(--radius-full);
  min-width: 400px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-newsletter:focus-within {
  border-color: rgba(15, 177, 75, 0.4);
  box-shadow: 0 0 0 4px rgba(15, 177, 75, 0.1);
}

.footer-newsletter__input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  padding: 0.75rem 1.25rem;
  color: var(--color-white);
  font-size: 0.875rem;
  font-family: var(--font-primary);
  outline: none;
}

.footer-newsletter__input::placeholder {
  color: var(--color-grey-500);
}

.footer-newsletter__btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  padding: 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.footer-newsletter__btn:hover {
  background: var(--color-primary-dark);
}

.footer-newsletter__btn:active {
  transform: scale(0.96);
}

@media (max-width: 768px) {
  .footer-banner { padding: var(--space-12) 0; }
  .footer-newsletter { min-width: 100%; width: 100%; }
}

.footer-main {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-16) 0 var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.6fr) repeat(4, 1fr);
  gap: var(--space-8);
}
.footer-col-title {
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: 0.8125rem; color: var(--color-grey-300); text-decoration: none; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--color-primary); }

.footer-col--brand p { font-size: var(--text-sm); line-height: 1.6; color: var(--color-grey-300); margin-bottom: var(--space-4); }
.footer-logo { margin-bottom: var(--space-4); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-grey-300);
  margin-bottom: var(--space-2);
}
.footer-contact-item a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--color-primary); }
.footer-contact-item__icon { color: var(--color-grey-500); flex-shrink: 0; margin-top: 1px; }

.footer-social { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }
.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  color: var(--color-grey-300);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social__link:hover { background: var(--color-primary); color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-4) 0;
  font-size: 0.75rem;
  color: var(--color-grey-500);
}
.footer-bottom::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin-top: var(--space-4);
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom__copy { margin: 0; font-size: 0.75rem; }
.footer-bottom__links { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.footer-bottom__links a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
.footer-bottom__links a:hover { color: var(--color-white); }
.footer-badges { display: flex; gap: var(--space-2); align-items: center; font-size: 0.75rem; }

/* =============================================================================
   UTILITY CLASSES (v1.2 — §6.8)
   ============================================================================= */

.glass { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.glass--dark { background: rgba(32,33,35,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.noise-overlay { position: relative; }
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  border-radius: inherit;
}
.section-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), var(--color-primary), transparent);
  margin: 0;
  opacity: 0.4;
}
.link-animated {
  position: relative;
  text-decoration: none;
}
.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}
.link-animated:hover::after { width: 100%; }

/* =============================================================================
   LEGAL DOCUMENT STYLING
   ============================================================================= */

.legal-document {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  padding: var(--space-10) var(--space-8);
  margin-top: calc(-1 * var(--space-8));
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-10);
}

@media (max-width: 640px) {
  .legal-document {
    padding: var(--space-6) var(--space-4);
    margin-top: calc(-1 * var(--space-4));
  }
}

.legal-document .entry-content > h1,
.legal-document .entry-content > h2,
.legal-document .entry-content > h3,
.legal-document .entry-content > h4 {
  color: var(--color-dark);
  font-weight: var(--fw-semibold);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--color-grey-100);
}

.legal-document .entry-content > h1:first-child,
.legal-document .entry-content > h2:first-child,
.legal-document .entry-content > h3:first-child,
.legal-document .entry-content > h4:first-child {
  margin-top: 0;
}

.legal-document .entry-content p,
.legal-document .entry-content ul,
.legal-document .entry-content ol {
  color: var(--color-grey-500);
  font-size: 0.9375rem; 
  line-height: 1.8;
  margin-bottom: 1.5em;
}

.legal-document .entry-content li {
  margin-bottom: 0.5em;
}

/* =============================================================================
   BACK TO TOP BUTTON
   ============================================================================= */

.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: var(--z-toast);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base),
              transform var(--transition-base), background var(--transition-fast),
              box-shadow var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-lg), var(--shadow-green);
  transform: translateY(-4px);
  color: var(--color-white);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
  }
}


/* Scroll-reveal — JS adds .is-visible */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .mega-menu__grid--grid-featured,
  .mega-menu__grid--list-simple { grid-template-columns: 1fr; }
  .mega-menu__grid--wide-icons { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-banner__inner { flex-direction: column; align-items: flex-start; }
  .footer-newsletter { width: 100%; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
  .post-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   CONTACT PAGE (v1.2)
   ============================================================================= */

/* Hero */
.contact-hero {
  background: var(--color-off-white);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-grey-100);
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(circle at 10% 0%, rgba(15, 177, 75, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.contact-hero__inner {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  max-width: 1080px;
  margin: 0 auto;
}
.contact-hero__content {
  flex: 1;
}
.contact-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.contact-hero__image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.06));
}
.contact-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.contact-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}
.contact-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Grid */
.contact-grid-section {
  padding: var(--space-20) 0;
  background: var(--color-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  text-decoration: none !important;
  color: inherit !important;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 177, 75, 0.2);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-off-white);
  color: var(--color-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: background var(--transition-base), color var(--transition-base);
}
.contact-card:hover .contact-card__icon {
  background: var(--color-primary);
  color: var(--color-white);
}
.contact-card__icon svg {
  width: 24px;
  height: 24px;
}
.contact-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}
.contact-card__desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
  flex: 1;
}
.contact-card__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition-fast);
}
.contact-card:hover .contact-card__link {
  gap: var(--space-3);
}

/* Form Section */
.contact-form-section {
  padding: var(--space-16) 0;
  background: var(--color-off-white);
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-form-header {
  position: sticky;
  top: 120px;
}
.contact-form-header__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.contact-form-header__desc {
  font-size: var(--text-base);
  color: var(--color-grey-500);
}
.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
/* CF7 & General Form Styling */
.contact-form-wrapper label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-700);
  margin-bottom: var(--space-2);
}
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  margin-bottom: var(--space-5);
  appearance: none;
}
.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,177,75,0.12);
}
.contact-form-wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0B3B2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}
.contact-form-wrapper textarea {
  min-height: 140px;
  resize: vertical;
}
/* CF7 submit — matches .btn--primary visually: gradient + pill */
.contact-form-wrapper input[type="submit"],
.contact-form-wrapper button[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper button[type="submit"]:hover {
  background: linear-gradient(135deg, #12c955, var(--color-primary));
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}
/* Fix for CF7 wrap */
.contact-form-wrapper .wpcf7-form-control-wrap {
  display: block;
}
.contact-form-wrapper .wpcf7-spinner {
  margin: 1rem auto;
  display: block;
}

/* Location Section */
.contact-location {
  padding: var(--space-16) 0;
  background: var(--color-white);
}
.contact-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.contact-location__card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.contact-location__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}
.contact-location__info {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.contact-location__info svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-location__text {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  line-height: 1.6;
}
.contact-location__text strong {
  display: block;
  color: var(--color-dark);
  margin-bottom: var(--space-1);
}
.contact-location__map {
  width: 100%;
  height: 400px;
  background: var(--color-grey-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-grey-100);
}
.contact-location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Trust Strip */
.contact-trust {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-8) 0;
}
.contact-trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.contact-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  background: rgba(255,255,255,0.05);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
.contact-trust__item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-10);
  }
  .contact-hero__actions {
    justify-content: center;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .contact-form-header {
    position: static;
  }
}
@media (max-width: 768px) {
  .contact-location-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .contact-hero__title { font-size: var(--text-4xl); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: var(--space-6); }
  .contact-location__card { padding: var(--space-6); }
  .contact-location__map { height: 300px; }
  .contact-trust-grid { flex-direction: column; align-items: stretch; }
  .contact-trust__item { justify-content: flex-start; }
}

/* =============================================================================
   THANK YOU PAGE (v1.2)
   ============================================================================= */

.thank-you-layout {
  min-height: calc(100vh - var(--header-height-total) - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-off-white);
  padding: var(--space-12) 0 var(--space-20);
}

.thank-you-container {
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thank-you-card {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-8);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-10);
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-8);
  animation: successPop 0.6s var(--transition-spring) forwards;
  opacity: 0;
  transform: scale(0.8);
}
.thank-you-icon img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(15, 177, 75, 0.15));
}

.thank-you-title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.ty-check {
  color: var(--color-primary);
}

.thank-you-desc {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  margin-bottom: var(--space-10);
  line-height: 1.5;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-primary-action {
  display: flex;
  justify-content: center;
}

.thank-you-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
}

.ty-link {
  color: var(--color-grey-500);
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}
.ty-link:hover {
  color: var(--color-dark);
  text-decoration: none;
}

.ty-separator {
  width: 4px;
  height: 4px;
  background: var(--color-grey-200);
  border-radius: 50%;
}

.ty-socials {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.ty-socials-label {
  color: var(--color-grey-300);
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 640px) {
  .thank-you-card {
    padding: var(--space-10) var(--space-6);
  }
  .thank-you-title {
    font-size: var(--text-3xl);
  }
  .thank-you-secondary {
    flex-direction: column;
    gap: var(--space-3);
  }
  .ty-separator {
    display: none;
  }
  .ty-socials {
    margin-top: var(--space-2);
  }
}

/* =============================================================================
   TERMS PAGE HERO
   ============================================================================= */

.terms-hero {
  background: var(--color-grey-50);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.terms-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  max-width: 1080px;
  margin: 0 auto;
}

.terms-hero__content {
  flex: 1;
  max-width: 500px;
}

.terms-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.terms-hero__image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.06));
  transition: transform var(--transition-base);
}

.terms-hero__image:hover {
  transform: translateY(-4px);
}

.terms-hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}

.terms-hero__desc {
  font-size: var(--text-md);
  color: var(--color-grey-500);
  margin-bottom: 0;
  line-height: 1.6;
}

.terms-body {
  background: var(--color-grey-50);
  padding-top: var(--space-2);
  padding-bottom: var(--space-16);
}

@media (max-width: 768px) {
  .terms-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
  }
  
  .terms-hero__content {
    max-width: 100%;
  }

  .terms-hero__image-wrap {
    justify-content: center;
  }
}

/* =============================================================================
   REFUNDS & RETURNS PAGE
   ============================================================================= */

.refunds-hero {
  background: var(--color-grey-50);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.refunds-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  max-width: 1080px;
  margin: 0 auto;
}

.refunds-hero__content {
  flex: 1;
  max-width: 500px;
}

.refunds-badge {
  display: inline-block;
  background: rgba(15, 177, 75, 0.1);
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.refunds-hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}

.refunds-hero__desc {
  font-size: var(--text-md);
  color: var(--color-grey-500);
  margin-bottom: 0;
  line-height: 1.6;
}

.refunds-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.refunds-hero__image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.06));
  transition: transform var(--transition-base);
}

.refunds-hero__image:hover {
  transform: translateY(-4px);
}

/* Guarantee Strip */
.guarantee-strip {
  background: var(--color-white);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}

.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.guarantee-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.guarantee-item span {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}

/* Refunds Content */
.refunds-content-wrapper {
  background: var(--color-white);
  padding: var(--space-16) 0;
}

.refunds-section {
  margin-bottom: var(--space-16);
}

.refunds-section__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-grey-100);
  padding-bottom: var(--space-2);
}

/* Eligibility */
.eligibility-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.eligibility-text p {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  line-height: 1.6;
}

.eligibility-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.process-step {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-off-white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-100);
}

.process-step__num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.process-step__text {
  font-size: var(--text-base);
  color: var(--color-dark);
  font-weight: var(--fw-medium);
}

.process-note {
  background: rgba(15, 177, 75, 0.05);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.process-note p {
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-grey-700);
}

.process-note p:last-child {
  margin-bottom: 0;
}

/* Shipping Responsibility */
.shipping-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.shipping-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.shipping-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.shipping-card--change-mind {
  background: var(--color-off-white);
}

.shipping-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  background: rgba(15, 177, 75, 0.1);
  color: var(--color-primary);
}

.shipping-card--change-mind .shipping-card__icon {
  background: var(--color-grey-200);
  color: var(--color-grey-700);
}

.shipping-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--color-dark);
}

.shipping-card__desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-bottom: var(--space-4);
}

.shipping-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.shipping-card__list li {
  font-size: var(--text-sm);
  color: var(--color-dark);
  font-weight: var(--fw-medium);
  padding-left: var(--space-4);
  position: relative;
}

.shipping-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.shipping-card--change-mind .shipping-card__list li::before {
  color: var(--color-grey-500);
}

/* Exchanges */
.exchanges-block {
  background: var(--color-grey-50);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-grey-100);
}

.exchanges-block p {
  font-size: var(--text-base);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.exchanges-block p:last-child {
  margin-bottom: 0;
}

/* CTA */
.refunds-cta__inner {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  color: var(--color-white);
}

.refunds-cta__title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.refunds-cta__text {
  font-size: var(--text-md);
  color: var(--color-grey-300);
  margin-bottom: var(--space-8);
}

.refunds-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.refunds-cta__microcopy {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}

@media (max-width: 1024px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .refunds-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
  }

  .refunds-hero__content {
    max-width: 100%;
  }

  .refunds-hero__image-wrap {
    justify-content: center;
  }

  .eligibility-split,
  .shipping-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
  
  .refunds-cta__actions {
    flex-direction: column;
  }
  
  .refunds-cta__actions .btn {
    width: 100%;
  }
}

/* =============================================================================
   SHIPPING POLICY PAGE
   ============================================================================= */

.shipping-hero {
  background: var(--color-grey-50);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.shipping-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  max-width: 1080px;
  margin: 0 auto;
}

.shipping-hero__content {
  flex: 1;
  max-width: 500px;
}

.shipping-hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}

.shipping-hero__desc {
  font-size: var(--text-md);
  color: var(--color-grey-500);
  margin-bottom: 0;
  line-height: 1.6;
}

.shipping-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.shipping-hero__image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.06));
  transition: transform var(--transition-base);
}

.shipping-hero__image:hover {
  transform: translateY(-4px);
}

/* Shipping Overview Strip */
.shipping-overview {
  background: var(--color-white);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
}

/* Shipping Content */
.shipping-content-wrapper {
  background: var(--color-white);
  padding: var(--space-16) 0;
}

.shipping-section {
  margin-bottom: var(--space-12);
}

.shipping-section:last-child {
  margin-bottom: 0;
}

.shipping-section__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-grey-100);
  padding-bottom: var(--space-2);
}

.shipping-section__subtitle {
  color: var(--color-grey-500);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  margin-top: var(--space-2);
}

.shipping-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.shipping-cards-grid--single {
  grid-template-columns: minmax(auto, 320px);
}

.shipping-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.shipping-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.shipping-card--highlight {
  background: var(--color-off-white);
  border-color: var(--color-primary);
  grid-column: 1 / -1;
  margin-top: var(--space-2);
}
@media (min-width: 769px) {
  .shipping-card--highlight {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.shipping-card--accent {
  background: var(--color-off-white);
}

.shipping-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  margin-top: 0;
}

.shipping-card__price {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin: 0;
}

.shipping-card__text {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  margin: 0;
}
.shipping-card--highlight .shipping-card__text {
  margin-top: var(--space-2);
}
@media (min-width: 769px) {
  .shipping-card--highlight .shipping-card__text {
    margin-top: 0;
  }
}

.shipping-note {
  background: rgba(15, 177, 75, 0.05);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: var(--space-4);
}

.shipping-note p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-grey-700);
}

/* Timeline */
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4) 0;
}

.timeline-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-grey-100);
}

.timeline-list li:last-child {
  border-bottom: none;
}

.timeline-list__location {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}

.timeline-list__time {
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}

/* Checklist Shipping */
.check-list--shipping {
  margin-top: var(--space-4);
}
.check-list--shipping li {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}
.check-list--shipping svg {
  width: 24px;
  height: 24px;
}

/* CTA */
.shipping-cta {
  margin-top: var(--space-12);
}

.shipping-cta__inner {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  color: var(--color-white);
}

.shipping-cta__title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.shipping-cta__text {
  font-size: var(--text-md);
  color: var(--color-grey-300);
  margin-bottom: var(--space-8);
}

.shipping-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.shipping-cta__microcopy {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}

@media (max-width: 768px) {
  .shipping-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
  }

  .shipping-hero__content {
    max-width: 100%;
  }

  .shipping-hero__image-wrap {
    justify-content: center;
  }

  .shipping-cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

@media (max-width: 640px) {
  .shipping-cta__actions {
    flex-direction: column;
  }
  
  .shipping-cta__actions .btn {
    width: 100%;
  }
}

/* =============================================================================
   GET A QUOTE PAGE (CLEAN LAYOUT)
   ============================================================================= */

.get-quote-page {
  background: var(--color-off-white);
  padding-bottom: var(--space-20);
  position: relative;
  overflow-x: hidden;
}

/* Hero (Matches Shipping Page Structure) */
.get-quote-hero {
  padding: var(--space-16) 0 var(--space-12);
}

.get-quote-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  max-width: 1000px;
  margin: 0 auto;
}

.get-quote-hero__content {
  flex: 1;
  max-width: 480px;
}

.get-quote-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.get-quote-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  margin-bottom: var(--space-8);
}

.get-quote-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.get-quote-hero__image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Main Form Area */
.quote-form-section {
  padding: 0 0 var(--space-16);
}

.quote-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-8);
}

/* Trust Strip Below Form */
.quote-trust-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
  margin-bottom: var(--space-8);
  background: transparent;
}

.quote-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
}

.quote-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.quote-whatsapp-cta {
  padding: var(--space-4) 0;
}

.quote-whatsapp-link {
  display: inline-flex;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Edge Tabs */
.quote-edge-tabs {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quote-edge-tab {
  display: flex;
  align-items: center;
  background: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-grey-200);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: var(--space-3);
  text-decoration: none;
  box-shadow: -2px 4px 12px rgba(0,0,0,0.05);
  transform: translateX(calc(100% - 48px)); /* Hide text, show icon (assuming icon is ~24px + padding) */
  transition: transform var(--transition-base), background var(--transition-base);
}

.quote-edge-tab:hover {
  transform: translateX(0);
  background: var(--color-off-white);
}

.quote-edge-tab__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  order: -1; /* Keep icon on the left of text */
  margin-right: var(--space-3);
  flex-shrink: 0;
}

.quote-edge-tab__icon svg {
  width: 20px;
  height: 20px;
}

.quote-edge-tab__text {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  padding-right: var(--space-2);
}

/* Multi-Step Form Logic & Overrides */
.quote-steps {
  position: relative;
}

/* Hide non-active steps */
.quote-fieldset {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.quote-fieldset.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-steps fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.quote-steps legend {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
  padding: 0 0 var(--space-3) 0;
  width: 100%;
  border-bottom: 1px solid var(--color-grey-100);
}

.quote-steps hr { display: none; }

.quote-steps label {
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-700);
  margin-bottom: var(--space-4);
  gap: var(--space-2);
}

.quote-steps input[type="text"],
.quote-steps input[type="email"],
.quote-steps input[type="tel"],
.quote-steps select,
.quote-steps textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
}

.quote-steps input:focus,
.quote-steps select:focus,
.quote-steps textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,177,75,0.12);
}

.quote-steps select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0B3B2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.quote-steps textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-steps .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.quote-steps input[type="file"] {
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  border: none;
}

/* Quote form submit + navigation buttons — gradient + pill, matching .btn--primary */
.quote-steps input[type="submit"],
.quote-nav-btn {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: var(--space-4);
}

.quote-steps input[type="submit"]:hover,
.quote-nav-btn:hover {
  background: linear-gradient(135deg, #12c955, var(--color-primary));
  box-shadow: var(--shadow-green);
}

/* Prev nav button: secondary style overrides the shared primary gradient */
.quote-nav-btn--prev {
  background: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-grey-200);
  margin-top: 0;
  margin-bottom: var(--space-4);
}
.quote-nav-btn--prev:hover {
  background: var(--color-grey-50);
  box-shadow: none;
}

.field-microcopy {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  font-weight: 400;
  margin-top: 4px;
}

.submit-microcopy {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  margin-top: var(--space-3);
}

/* Responsive */
@media (max-width: 1024px) {
  .get-quote-hero__inner {
    flex-direction: column;
    text-align: center;
  }
  .get-quote-hero__content {
    max-width: 100%;
  }
  .get-quote-hero__image-wrap {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .quote-steps .form-row {
    grid-template-columns: 1fr;
  }
  .get-quote-hero {
    padding: var(--space-8) 0;
  }
  .get-quote-hero__title {
    font-size: var(--text-4xl);
  }
  .quote-trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* On mobile, hidden edge tabs can be tricky, keep them small */
  .quote-edge-tabs {
    bottom: var(--space-4);
    top: auto;
    transform: none;
  }
}

/* =============================================================================
   FAQS PAGE
   ============================================================================= */

.faq-hero {
  background: var(--color-white);
  padding: var(--space-16) 0 var(--space-10) 0;
  border-bottom: 1px solid var(--color-grey-100);
}

.faq-hero__inner {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-hero__content {
  flex: 1;
}

.faq-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.faq-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  max-width: 480px;
}

.faq-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.faq-hero__image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.faq-content-wrapper {
  padding: var(--space-12) 0 var(--space-20) 0;
  background: var(--color-white);
  position: relative;
}

/* SEARCH */
.faq-search {
  margin-bottom: var(--space-10);
}

.faq-search__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.faq-search__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-grey-300);
  pointer-events: none;
}

.faq-search__input {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  font-size: var(--text-md);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-full);
  background: var(--color-off-white);
  color: var(--color-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.faq-search__input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(15, 177, 75, 0.1);
}

/* TABS */
.faq-tabs-wrap {
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-grey-100);
}

.faq-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.faq-tabs::-webkit-scrollbar { display: none; } /* Chrome */

.faq-tab {
  background: none;
  border: none;
  padding: 0 0 var(--space-3) 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-grey-500);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
}

.faq-tab:hover {
  color: var(--color-dark);
}

.faq-tab.is-active {
  color: var(--color-primary);
}

.faq-tab::after {
  content: '';
  position: absolute;
  bottom: -1px; /* Align with border-bottom */
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  transform-origin: center;
}

.faq-tab.is-active::after {
  transform: scaleX(1);
}

/* CATEGORIES */
.faq-category {
  display: none;
  animation: fadeIn 300ms ease;
}

.faq-category.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-accordion__item {
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  transition: all var(--transition-fast);
  overflow: hidden; /* For smooth expansion */
}

.faq-accordion__item:hover {
  border-color: var(--color-grey-200);
  box-shadow: var(--shadow-sm);
}

/* Focus on real-time search match */
.faq-accordion__item.is-hidden {
  display: none !important;
}

.faq-accordion__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-primary);
  color: var(--color-dark);
}

.faq-accordion__title {
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  padding-right: var(--space-4);
}

.faq-accordion__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

.faq-accordion__question[aria-expanded="true"] .faq-accordion__icon {
  transform: rotate(-180deg);
}

.faq-accordion__answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
}

.faq-accordion__question[aria-expanded="true"] + .faq-accordion__answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-accordion__answer {
  overflow: hidden;
}

.faq-accordion__answer p {
  padding: 0 var(--space-6) var(--space-5) var(--space-6);
  margin: 0;
  color: var(--color-grey-500);
  font-size: var(--text-base);
  line-height: 1.6;
}
.faq-accordion__answer a {
  color: var(--color-primary);
  font-weight: var(--fw-medium);
}
.faq-accordion__answer a:hover {
  text-decoration: underline;
}

/* NO RESULTS */
.faq-no-results {
  text-align: center;
  padding: var(--space-12) 0;
}

.faq-no-results__text {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  margin-bottom: var(--space-4);
}

/* FLOATING WHATSAPP SIDEBAR TAB */
.faq-floating-whatsapp {
  position: fixed;
  right: 0;
  top: 65%;
  transform: translateY(-50%) translateX(calc(100% - 56px));
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-dark);
  padding: 12px 16px 12px 16px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  z-index: var(--z-toast);
  color: var(--color-white);
  transition: transform var(--transition-spring), background var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
}

.faq-floating-whatsapp:hover,
.faq-floating-whatsapp:focus {
  transform: translateY(-50%) translateX(0);
  background: var(--color-primary);
  box-shadow: var(--shadow-xl);
  text-decoration: none;
}

.faq-floating-whatsapp__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.faq-floating-whatsapp:hover .faq-floating-whatsapp__icon,
.faq-floating-whatsapp:focus .faq-floating-whatsapp__icon {
  color: var(--color-white);
}

.faq-floating-whatsapp__icon svg {
  width: 100%;
  height: 100%;
}

.faq-floating-whatsapp__text {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-hero { padding: var(--space-10) 0; }
  .faq-hero__inner { flex-direction: column; text-align: center; }
  .faq-hero__image-wrap { margin-top: var(--space-6); justify-content: center; }
  .faq-floating-whatsapp { 
    transform: translateY(-50%) translateX(calc(100% - 48px)); 
    padding: 10px 12px 10px 12px;
  }
}

/* =============================================================================
   FREE CONSULTATION PAGE
   ============================================================================= */

.free-consultation-page {
  background: var(--color-off-white);
  padding-bottom: var(--space-20);
}

/* Hero Section */
.consultation-hero {
  padding: var(--space-16) 0 var(--space-8) 0;
  background: var(--color-off-white);
}

.consultation-hero__inner {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin: 0 auto;
}

.consultation-hero__content {
  flex: 1;
  max-width: 500px;
}

.consultation-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.consultation-hero__subtext {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
  font-weight: var(--fw-medium);
}

.consultation-hero__pain-points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.consultation-hero__pain-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-grey-700);
}

.consultation-hero__pain-points .check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.consultation-hero__reassurance {
  font-size: var(--text-md);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
}

.consultation-hero__image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.consultation-hero__image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Info Section (Who it's for / What to expect) */
.consultation-info-section {
  padding: var(--space-8) 0 var(--space-12) 0;
}

.consultation-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.consultation-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.consultation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.consultation-card--highlight {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.consultation-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-6);
}
.consultation-card--highlight .consultation-card__title {
  color: var(--color-white);
}

.consultation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.consultation-list li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-grey-700);
  line-height: 1.5;
}

.consultation-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: var(--text-xl);
  line-height: 1.1;
  top: 0;
}

.consultation-list--highlight li {
  color: var(--color-grey-100);
}
.consultation-list--highlight li::before {
  color: var(--color-accent);
}

.consultation-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-sm);
  color: var(--color-grey-300);
}
.consultation-note .info-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.consultation-note p {
  margin: 0;
}

/* Form Section */
.consultation-form-section {
  padding: var(--space-8) 0;
}

.consultation-form__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.consultation-form__subtext {
  font-size: var(--text-md);
  color: var(--color-grey-500);
  margin-bottom: var(--space-8);
}

.consultation-form-box {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
}

.consultation-form__microcopy {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-bottom: var(--space-8);
}

/* Custom Form Structure Styling */
.consultation-form .form-section {
  margin-bottom: var(--space-6);
}

.consultation-form .form-section h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-grey-100);
}

.consultation-form .field-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
  margin-top: var(--space-4);
}
.consultation-form .form-section > .field-label:first-of-type {
  margin-top: 0;
}

.consultation-form .grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 640px) {
  .consultation-form .grid-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.consultation-form .wpcf7-list-item {
  display: flex !important;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  margin-left: 0;
}
.consultation-form .wpcf7-list-item input[type="radio"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}
.consultation-form .wpcf7-list-item-label {
  font-size: var(--text-base);
  color: var(--color-grey-700);
  cursor: pointer;
}

/* Base input styling in case global WPCF7 missing inside this specific wrapper */
.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"],
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  margin-bottom: var(--space-2);
}

.consultation-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0B3B2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,177,75,0.12);
}

.consultation-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Consultation form submit — gradient + pill, matching .btn--primary */
.consultation-form input[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: var(--space-6);
}

.consultation-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #12c955, var(--color-primary));
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

/* Trust Strip */
.consultation-trust-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-grey-200);
  border-bottom: 1px solid var(--color-grey-200);
  margin-bottom: var(--space-8);
}

.consultation-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
}

.consultation-trust-item .trust-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}



/* Responsive */
@media (max-width: 1024px) {
  .consultation-hero__inner {
    flex-direction: column;
    text-align: center;
  }
  .consultation-hero__content {
    max-width: 100%;
  }
  .consultation-hero__pain-points li {
    text-align: left;
  }
  .consultation-cards-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .consultation-trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .consultation-form-box {
    padding: var(--space-6);
  }
  .consultation-hero {
    padding: var(--space-8) 0;
  }
  .consultation-hero__title {
    font-size: var(--text-4xl);
  }
}

/* Mega Menu Item CTA Variant */
.mega-menu__item.mega-menu__item--cta {
  border: 1px dashed var(--color-primary);
  background: rgba(15, 177, 75, 0.03);
  margin-top: var(--space-2);
}
.mega-menu__item.mega-menu__item--cta:hover {
  background: rgba(15, 177, 75, 0.08);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
}
.mega-menu__item.mega-menu__item--cta .mega-menu__item-icon {
  background: var(--color-primary);
  color: var(--color-white);
}
.mega-menu__item.mega-menu__item--cta:hover .mega-menu__item-icon {
  background: var(--color-primary-dark);
}
.mega-menu__item.mega-menu__item--cta .mega-menu__item-name {
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}

/* Mega Menu Item CTA Full-Width Variant */
.mega-menu__item.mega-menu__item--cta-full {
  grid-column: 1 / 3;
  grid-row: 2;
  border: 1px dashed var(--color-primary);
  background: rgba(15, 177, 75, 0.03);
  margin-top: var(--space-2);
}
.mega-menu__item.mega-menu__item--cta-full:hover {
  background: rgba(15, 177, 75, 0.08);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
}
.mega-menu__item.mega-menu__item--cta-full .mega-menu__item-icon {
  background: var(--color-primary);
  color: var(--color-white);
}
.mega-menu__item.mega-menu__item--cta-full:hover .mega-menu__item-icon {
  background: var(--color-primary-dark);
}
.mega-menu__item.mega-menu__item--cta-full .mega-menu__item-name {
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}

/* Make sidebar span both rows in grid-featured */
.mega-menu__grid--grid-featured .mega-menu__cta-sidebar {
  grid-column: 3;
  grid-row: 1 / 3;
}

/* =SERVICES PAGE (redesigned 2026-06-21)
-------------------------------------------------------------- */

/* Container — must be explicit since .myelectric-container has no global rule */
.page-services .myelectric-container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* ── Hero ── */
.svc-hero {
    background: var(--color-white);
    padding: var(--space-12) 0 0;
    border-bottom: 1px solid var(--color-grey-100);
}

.svc-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-10);
    align-items: center;
    padding-bottom: var(--space-12);
}

.svc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(15, 177, 75, 0.08);
    border: 1px solid rgba(15, 177, 75, 0.2);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-4);
}

.svc-hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
}

.svc-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    color: var(--color-grey-500);
    line-height: 1.65;
    margin-bottom: var(--space-6);
    max-width: 52ch;
}

.svc-hero__ctas {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
}

/* .btn--ghost is now canonical green — no context override needed here */

.svc-hero__trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.svc-hero__trust li {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-grey-500);
    padding-left: 1.25em;
    position: relative;
}

.svc-hero__trust li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

.svc-hero__image-wrap {
    background: var(--color-off-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

.svc-hero__image {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.1));
    animation: svc-float 6s ease-in-out infinite;
}

@keyframes svc-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Stats strip */
.svc-stats-strip {
    background: var(--color-off-white);
    border-top: 1px solid var(--color-grey-100);
    border-bottom: 1px solid var(--color-grey-100);
    padding: var(--space-6) 0;
}

.svc-stats-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    text-align: center;
}

.svc-stat__number {
    display: block;
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
    line-height: 1.1;
}

.svc-stat__label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-grey-500);
    font-weight: var(--fw-medium);
    margin-top: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Audience selector ── */
.svc-audience {
    padding: var(--space-5) 0;
    background: var(--color-grey-50);
    border-bottom: 1px solid var(--color-grey-100);
}

.svc-audience__label {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-grey-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-3);
    text-align: center;
}

.svc-audience__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.svc-audience__pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-white);
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-dark);
    text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.svc-audience__pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ── Services Catalog ── */
.svc-catalog {
    padding: var(--space-16) 0;
    background: var(--color-grey-50);
}

.svc-catalog__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-10);
}

.svc-catalog__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.svc-catalog__subtitle {
    font-size: 1.0625rem;
    color: var(--color-grey-500);
    line-height: 1.6;
}

/* ── Service Cards ── */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.svc-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
}

.svc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 177, 75, 0.25);
}

.svc-card__image-wrap {
    position: relative;
    background: var(--color-off-white);
    padding: var(--space-5) var(--space-5) 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 180px;
    flex-shrink: 0;
}

.svc-card__image-wrap img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.svc-card__badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    font-size: 0.6875rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px var(--space-2);
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-white);
    line-height: 1.4;
}

.svc-card__badge--dark   { background: var(--color-dark); }
.svc-card__badge--urgent { background: var(--color-error); }

.svc-card__body {
    padding: var(--space-5) var(--space-6) var(--space-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.svc-card__title {
    font-size: 1.125rem;
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.svc-card__desc {
    font-size: 0.9375rem;
    color: var(--color-grey-500);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.svc-card__includes {
    flex-grow: 1;
    margin-bottom: var(--space-5);
}

.svc-card__includes-label {
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    color: var(--color-grey-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-2);
}

.svc-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-3);
}

.svc-card__list li {
    font-size: 0.875rem;
    color: var(--color-dark);
    padding-left: 1.2em;
    position: relative;
    line-height: 1.45;
}

.svc-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
}

.svc-card__ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: auto;
}

.svc-card__wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-grey-500);
    text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
    background: transparent;
}

.svc-card__wa-btn:hover {
    border-color: #25D366;
    color: #25D366;
    background: rgba(37, 211, 102, 0.04);
}

/* ── Why Choose Us ── */
.svc-why {
    padding: var(--space-16) 0;
    background: var(--color-white);
}

.svc-why__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-10);
}

.svc-why__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
}

.svc-why__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.svc-why__subtitle {
    font-size: 1.0625rem;
    color: var(--color-grey-500);
    line-height: 1.6;
}

.svc-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.svc-why__card {
    padding: var(--space-6);
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radius-xl);
    background: var(--color-off-white);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.svc-why__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 177, 75, 0.2);
}

.svc-why__icon {
    width: 52px;
    height: 52px;
    background: rgba(15, 177, 75, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.svc-why__card-title {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.svc-why__card-desc {
    font-size: var(--text-sm);
    color: var(--color-grey-500);
    line-height: 1.6;
}

/* ── How It Works ── */
.svc-process {
    padding: var(--space-16) 0;
    background: var(--color-off-white);
    border-top: 1px solid var(--color-grey-100);
    border-bottom: 1px solid var(--color-grey-100);
}

.svc-process__header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-10);
}

.svc-process__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
}

.svc-process__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.svc-process__subtitle {
    font-size: 1.0625rem;
    color: var(--color-grey-500);
    line-height: 1.6;
}

.svc-process__steps {
    display: flex;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto var(--space-10);
}

.svc-process__step {
    flex: 1;
    text-align: center;
    padding: 0 var(--space-4);
}

.svc-process__step-num {
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    flex-shrink: 0;
}

.svc-process__step-title {
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.svc-process__step-desc {
    font-size: var(--text-sm);
    color: var(--color-grey-500);
    line-height: 1.65;
}

.svc-process__connector {
    width: 80px;
    height: 2px;
    background: var(--color-grey-200);
    flex-shrink: 0;
    margin-top: 26px;
    position: relative;
}

.svc-process__connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 10px;
    height: 10px;
    background: var(--color-grey-200);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.svc-process__cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* .btn--ghost is now canonical green — no context override needed here */

/* ── Bottom CTA ── */
.svc-bottom-cta {
    padding: var(--space-16) 0;
    background: #16171A;
}

.svc-bottom-cta__card {
    background: linear-gradient(135deg, #1c1e21 0%, #252729 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-10);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-8);
    align-items: center;
}

.svc-bottom-cta__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
}

.svc-bottom-cta__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.svc-bottom-cta__desc {
    font-size: 1.0625rem;
    color: var(--color-grey-300);
    line-height: 1.6;
    max-width: 55ch;
}

.svc-bottom-cta__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
    flex-shrink: 0;
    min-width: 220px;
}

.svc-bottom-cta__tel {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-grey-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.svc-bottom-cta__tel:hover { color: var(--color-white); }

/* ── Services Page Responsive ── */
@media (max-width: 1024px) {
    .svc-grid       { grid-template-columns: repeat(2, 1fr); }
    .svc-why__grid  { grid-template-columns: repeat(2, 1fr); }
    .svc-bottom-cta__card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .svc-bottom-cta__actions {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-width: unset;
    }
    .svc-bottom-cta__desc { max-width: 100%; }
}

@media (max-width: 768px) {
    .svc-hero__grid        { grid-template-columns: 1fr; text-align: center; }
    .svc-hero__subtitle    { max-width: 100%; }
    .svc-hero__ctas        { justify-content: center; }
    .svc-hero__trust       { justify-content: center; }
    .svc-hero__image-wrap  { order: -1; min-height: 260px; }
    .svc-stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .svc-grid              { grid-template-columns: 1fr; }
    .svc-card__list        { grid-template-columns: 1fr; }
    .svc-why__grid         { grid-template-columns: 1fr; }
    .svc-process__steps    { flex-direction: column; align-items: center; }
    .svc-process__step     { max-width: 380px; }
    .svc-process__connector {
        width: 2px;
        height: 36px;
        margin-top: 0;
    }
    .svc-process__connector::after {
        right: -4px;
        top: auto;
        bottom: -5px;
        clip-path: polygon(50% 100%, 0 0, 100% 0);
    }
}

@media (max-width: 640px) {
    .svc-bottom-cta__card { padding: var(--space-8) var(--space-6); }
    .svc-bottom-cta__actions { flex-direction: column; width: 100%; }
    .svc-bottom-cta__actions .btn--primary,
    .svc-bottom-cta__actions .btn--ghost { width: 100%; text-align: center; }
}

/* =============================================================================
   TESTIMONIALS (WALL OF LOVE)
   ============================================================================= */
.tst-section {
  padding: var(--space-16) 0;
  background: var(--color-white);
}
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.tst-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.tst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tst-card__rating {
  color: #F59E0B;
  font-size: var(--text-md);
  margin-bottom: var(--space-4);
}
.tst-card__quote {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
  margin: 0 0 var(--space-6) 0;
  font-style: italic;
  flex: 1;
}
.tst-card__author {
  border-top: 1px solid var(--color-grey-100);
  padding-top: var(--space-4);
  margin-top: auto;
}
.tst-card__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  font-style: normal;
  display: block;
}
.tst-card__role {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  display: block;
  margin-top: var(--space-1);
}
.tst-cta {
  padding: var(--space-16) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-100);
}
.tst-cta__card {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}
.tst-cta__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.tst-cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.tst-cta__desc {
  font-size: 1.0625rem;
  color: var(--color-grey-500);
  line-height: 1.6;
  max-width: 55ch;
}
.tst-cta__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-shrink: 0;
}

/* =============================================================================
   CASE STUDIES
   ============================================================================= */
.cs-section {
  padding: var(--space-16) 0;
  background: var(--color-white);
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
.cs-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cs-card__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  width: fit-content;
}
.cs-card__badge--solar { background: rgba(15, 177, 75, 0.08); color: var(--color-primary); }
.cs-card__badge--power { background: rgba(59, 130, 246, 0.08); color: var(--color-info); }
.cs-card__badge--automation { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; }
.cs-card__badge--industrial { background: rgba(32, 33, 35, 0.08); color: var(--color-dark); }

.cs-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
  line-height: 1.35;
}
.cs-card__body {
  margin-bottom: var(--space-6);
  flex: 1;
}
.cs-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.cs-card__col h3 {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey-300);
  margin-bottom: var(--space-2);
}
.cs-card__col p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
  margin: 0;
}
.cs-card__footer {
  display: flex;
  gap: var(--space-8);
  border-top: 1px solid var(--color-grey-100);
  padding-top: var(--space-5);
}
.cs-card__metric {
  display: flex;
  flex-direction: column;
}
.cs-card__metric-val {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1.2;
}
.cs-card__metric-lbl {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  margin-top: var(--space-1);
}
.cs-cta {
  padding: var(--space-16) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-100);
}
.cs-cta__card {
  background: #16171A;
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}
.cs-cta__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.cs-cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.cs-cta__desc {
  font-size: 1.0625rem;
  color: var(--color-grey-300);
  line-height: 1.6;
  max-width: 55ch;
}
.cs-cta__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-shrink: 0;
}

/* =============================================================================
   CAREERS
   ============================================================================= */
.car-values {
  padding: var(--space-16) 0;
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-grey-100);
}
.car-section-title {
  text-align: center;
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.car-section-desc {
  text-align: center;
  font-size: var(--text-md);
  color: var(--color-grey-500);
  max-width: 600px;
  margin: 0 auto var(--space-12);
  line-height: 1.6;
}
.car-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.car-value-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.car-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.car-value-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.car-value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}
.car-value-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
  margin: 0;
}
.car-jobs {
  padding: var(--space-16) 0;
  background: var(--color-white);
}
.car-jobs__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}
.car-job-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.car-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.car-job-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.car-job-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  background: rgba(15, 177, 75, 0.08);
  color: var(--color-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.car-job-card__type {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  font-weight: var(--fw-medium);
}
.car-job-card__location {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
}
.car-job-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.car-job-card__desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
}
.car-job-card__actions {
  margin-top: auto;
}
.car-job-card__no-contact {
  font-size: var(--text-xs);
  color: var(--color-error);
  font-style: italic;
}

/* =============================================================================
   ORDER TRACKING
   ============================================================================= */
.track-section {
  padding: var(--space-16) 0;
  background: var(--color-off-white);
  min-height: 480px;
}
.track-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 680px;
  margin: 0 auto var(--space-8);
  box-shadow: var(--shadow-sm);
}
.track-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
/* Track-order fields were unstyled defaults — apply the design-system input look,
   and drop the helper text BELOW the field instead of crammed inline beside it. */
.track-form .form-group {
  display: flex;
  flex-direction: column;
}
.track-form .form-label {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}
.track-form .form-control {
  width: 100%;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.track-form .form-control::placeholder { color: var(--color-grey-300); }
.track-form .form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 177, 75, 0.12);
}
.track-form .form-help {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}
.track-form__submit-wrap {
  text-align: center;
}
.track-form__btn {
  width: 100%;
  max-width: 280px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}
.track-alert {
  max-width: 680px;
  margin: 0 auto var(--space-8);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.track-alert--error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}
.track-results {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.track-results__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-grey-100);
  padding-bottom: var(--space-4);
}
.track-results__summary h2 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin: 0 0 var(--space-1) 0;
}
.track-results__date {
  font-size: var(--text-sm);
  color: var(--color-grey-300);
  margin: 0;
}
.track-status-badge {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.track-status-badge--processing { background: rgba(59, 130, 246, 0.1); color: var(--color-info); }
.track-status-badge--completed { background: rgba(15, 177, 75, 0.1); color: var(--color-primary); }
.track-status-badge--pending,
.track-status-badge--on-hold { background: rgba(245, 158, 11, 0.1); color: var(--color-warning); }
.track-status-badge--failed { background: rgba(239, 68, 68, 0.1); color: var(--color-error); }

.track-timeline {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-6) var(--space-8);
  position: relative;
  margin-bottom: var(--space-2);
}
.track-timeline__line {
  position: absolute;
  top: 58px;
  left: 12%;
  right: 12%;
  height: 4px;
  background: var(--color-grey-100);
  z-index: 1;
  border-radius: var(--radius-full);
}
.track-timeline__progress {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}
.track-timeline__steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.track-timeline__step {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.track-timeline__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-grey-50);
  color: var(--color-grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  border: 2px solid var(--color-grey-100);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.track-timeline__step.is-active .track-timeline__icon {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.track-timeline__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-grey-300);
  transition: color var(--transition-base);
}
.track-timeline__step.is-active .track-timeline__label {
  color: var(--color-dark);
}
.track-timeline__time {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  margin-top: var(--space-1);
}

.track-meta-box {
  background: rgba(15, 177, 75, 0.02);
  border: 1px dashed var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.track-meta-box__info {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
}
.track-meta-box__info code {
  font-family: var(--font-mono);
  background: var(--color-grey-50);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  font-size: 0.9em;
}

.track-results__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-8);
}
.track-details-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
}
.track-details-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin: 0 0 var(--space-4) 0;
  border-bottom: 1px solid var(--color-grey-100);
  padding-bottom: var(--space-3);
}
.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.track-table th {
  font-weight: var(--fw-semibold);
  color: var(--color-grey-300);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-grey-100);
  text-align: left;
}
.track-table td {
  padding: var(--space-4) var(--space-2);
  border-bottom: 1px solid var(--color-grey-50);
  vertical-align: middle;
}
.track-table__item-name {
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  display: block;
}
.track-table__sku {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  display: block;
  margin-top: var(--space-1);
}
.track-table__total-row th {
  border-top: 2px solid var(--color-grey-100);
  border-bottom: none;
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  padding-top: var(--space-4);
  text-align: left;
}
.track-table__total-row td {
  border-top: 2px solid var(--color-grey-100);
  border-bottom: none;
  font-size: var(--text-md);
  padding-top: var(--space-4);
}
.track-address {
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-grey-500);
}
.track-address__phone {
  display: block;
  margin-top: var(--space-4);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}
.track-notes {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
}
.track-notes strong {
  display: block;
  color: var(--color-dark);
  margin-bottom: var(--space-1);
}
.track-notes p {
  margin: 0;
  line-height: 1.5;
  color: var(--color-grey-500);
}

/* =============================================================================
   SITEMAP
   ============================================================================= */
.sitemap-section {
  padding: var(--space-16) 0;
  background: var(--color-white);
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.sitemap-col {
  display: flex;
  flex-direction: column;
}
.sitemap-col__title {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: var(--space-3);
  margin: 0 0 var(--space-5) 0;
}
.sitemap-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.sitemap-list li {
  font-size: var(--text-sm);
  line-height: 1.4;
}
.sitemap-list a {
  color: var(--color-grey-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.sitemap-list a:hover {
  color: var(--color-primary);
}
.sitemap-list strong {
  color: var(--color-dark);
}
.sitemap-sublist {
  list-style: none;
  padding-left: var(--space-4);
  margin: var(--space-2) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-left: 1px solid var(--color-grey-100);
}
.sitemap-sublist li {
  font-size: var(--text-xs);
}

/* =============================================================================
   NEW PAGES RESPONSIVE MEDIA QUERIES
   ============================================================================= */
@media (max-width: 1024px) {
  .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-cta__card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tst-cta__actions { justify-content: center; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-cta__card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cs-cta__actions { justify-content: center; }
  .car-values__grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

@media (max-width: 768px) {
  .tst-grid { grid-template-columns: 1fr; }
  .car-values__grid { grid-template-columns: 1fr; }
  .track-form__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .track-results__grid { grid-template-columns: 1fr; }
  .track-timeline__line { display: none; }
  .track-timeline__steps { flex-direction: column; gap: var(--space-5); align-items: flex-start; }
  .track-timeline__step { flex-direction: row; text-align: left; align-items: center; gap: var(--space-4); width: 100%; }
  .track-timeline__icon { margin-bottom: 0; }
  .track-timeline__time { margin-top: 0; margin-left: auto; text-align: right; }
  .track-meta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .tst-cta__card, .cs-cta__card { padding: var(--space-8) var(--space-6); }
  .tst-cta__actions, .cs-cta__actions { flex-direction: column; width: 100%; }
  .tst-cta__actions .btn, .cs-cta__actions .btn { width: 100%; text-align: center; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   BLOG ARCHIVE — home.php
   ============================================================================= */

/* Hero */
.blog-hero {
  padding: var(--space-16) 0 var(--space-10);
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-grey-100);
}
.blog-hero .breadcrumbs { margin-bottom: var(--space-6); }
.blog-hero__inner { max-width: 640px; }
.blog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.blog-hero__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.blog-hero__sub {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.blog-hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--color-grey-500);
}
.blog-hero__stat strong { color: var(--color-dark); font-weight: var(--fw-semibold); }
.blog-hero__stat-sep { color: var(--color-grey-300); }

/* Filter bar */
.blog-filter {
  position: sticky;
  top: calc(var(--header-height-strip) + var(--header-height-main));
  z-index: var(--z-dropdown);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-100);
  padding: var(--space-3) 0;
}
.blog-filter__pills {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog-filter__pills::-webkit-scrollbar { display: none; }
.blog-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-500);
  border: 1px solid var(--color-grey-100);
  background: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.blog-filter__pill:hover,
.blog-filter__pill.is-active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(15,177,75,0.06);
}
.blog-filter__pill-count {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  background: var(--color-grey-50);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}
.blog-filter__pill.is-active .blog-filter__pill-count {
  background: rgba(15,177,75,0.12);
  color: var(--color-primary);
}

/* Content area */
.blog-content { padding-top: var(--space-16); padding-bottom: var(--space-20); }

/* Featured hero card */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-12);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.blog-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.blog-featured__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-featured:hover .blog-featured__img { transform: scale(1.04); }
.blog-featured__body {
  padding: var(--space-10) var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  background: rgba(15,177,75,0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-bottom: var(--space-5);
  align-self: flex-start;
}
.blog-featured__title {
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: var(--space-4);
}
.blog-featured__title a { color: inherit; text-decoration: none; }
.blog-featured__title a:hover { color: var(--color-primary); }
.blog-featured__excerpt {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
}
.blog-featured__avatar {
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.blog-featured__author { font-weight: var(--fw-medium); color: var(--color-dark); }
.blog-featured__sep { color: var(--color-grey-300); }
.blog-featured__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Post grid (secondary posts) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

/* Post card (reusable — home.php + related-posts) */
.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.post-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.post-card__cat-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  background: var(--color-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  background: rgba(32,33,35,0.75);
}
.post-card__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--color-primary); }
.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-grey-100);
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  min-width: 0;
}
.post-card__avatar {
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.post-card__author {
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}
.post-card__sep { color: var(--color-grey-200); flex-shrink: 0; }
.post-card__date { white-space: nowrap; }
.post-card__read {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  background: rgba(15,177,75,0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Blog pagination */
.blog-pagination { margin-top: var(--space-4); }
.blog-pagination .nav-links { display: flex; align-items: center; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-100);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-500);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(15,177,75,0.06);
}
.blog-pagination .page-numbers.current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.blog-pagination .dots { border: none; pointer-events: none; }

/* Blog empty state */
.blog-empty {
  text-align: center;
  padding: var(--space-20) var(--space-8);
}
.blog-empty__icon { margin-bottom: var(--space-4); opacity: 0.4; }
.blog-empty__title { font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--color-dark); margin-bottom: var(--space-3); }
.blog-empty__text { color: var(--color-grey-500); margin-bottom: var(--space-8); }

/* Blog CTA strip */
.blog-cta {
  padding: var(--space-16) 0;
  background: var(--color-off-white);
  border-top: 1px solid var(--color-grey-100);
}
.blog-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  background: var(--color-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-12);
}
.blog-cta__text { flex: 1; }
.blog-cta__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}
.blog-cta__sub {
  font-size: var(--text-base);
  color: var(--color-grey-300);
  line-height: 1.6;
}
.blog-cta__actions { display: flex; gap: var(--space-3); flex-shrink: 0; }
.blog-cta__card .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}
.blog-cta__card .btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

/* Related posts section */
.related-posts {
  padding: var(--space-16) 0;
  background: var(--color-off-white);
  border-top: 1px solid var(--color-grey-100);
}
.related-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}
.related-posts__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
}
.related-posts__view-all {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  text-decoration: none;
}
.related-posts__view-all:hover { text-decoration: underline; }
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* =============================================================================
   SINGLE POST — single.php
   ============================================================================= */

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-grey-100);
  z-index: calc(var(--z-header) + 1);
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  transition: width 80ms linear;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* Post hero */
.single-post__hero {
  padding: var(--space-14) 0 var(--space-10);
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-grey-100);
}
.single-post__hero .breadcrumbs { margin-bottom: var(--space-6); }
.single-post__cat-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(15,177,75,0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-bottom: var(--space-5);
}
.single-post__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: var(--space-6);
  max-width: 760px;
}
.single-post__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.single-post__meta-avatar {
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.single-post__meta-author { font-weight: var(--fw-medium); color: var(--color-dark); }
.single-post__meta-sep { color: var(--color-grey-300); }
.single-post__meta-read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: var(--fw-medium);
}

/* Hero share row */
.single-post__hero-share {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.single-post__share-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-grey-300);
  margin-right: var(--space-1);
}
.single-post__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-grey-100);
  background: var(--color-white);
  color: var(--color-grey-500);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.single-post__share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(15,177,75,0.06);
  transform: translateY(-1px);
}

/* Featured cover image */
.single-post__cover { padding: var(--space-8) 0; background: var(--color-off-white); }
.single-post__cover-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
  box-shadow: var(--shadow-lg);
}

/* Body two-column layout */
.single-post__body { padding: var(--space-12) 0 var(--space-8); }
.single-post__body-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-12);
  align-items: start;
}
.single-post__main { min-width: 0; }
.single-post__sidebar {
  position: sticky;
  top: calc(var(--header-height-strip) + var(--header-height-main) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Table of Contents — shared between mobile + desktop */
.post-toc {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.post-toc__heading {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-grey-500);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-grey-100);
}
.post-toc__list {
  list-style: none;
  padding: var(--space-3) 0;
  margin: 0;
}
.post-toc__item { }
.post-toc__item--h3 .post-toc__link { padding-left: var(--space-8); font-size: var(--text-xs); }
.post-toc__link {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  border-left: 2px solid transparent;
}
.post-toc__link:hover { color: var(--color-dark); background: var(--color-off-white); }
.post-toc__link.is-active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: rgba(15,177,75,0.04);
  font-weight: var(--fw-medium);
}
.post-toc--mobile { display: none; margin-bottom: var(--space-8); }
.post-toc__mobile-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: none;
  border: none;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
}
.post-toc__mobile-toggle span { flex: 1; }
.post-toc__chevron { transition: transform var(--transition-fast); }
.post-toc__mobile-toggle[aria-expanded="true"] .post-toc__chevron { transform: rotate(180deg); }

/* Prose content typography */
.single-post__content { font-size: var(--text-base); color: var(--color-grey-500); line-height: 1.8; }
.single-post__content h2 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-grey-100);
  scroll-margin-top: calc(var(--header-height-strip) + var(--header-height-main) + var(--space-6));
}
.single-post__content h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  scroll-margin-top: calc(var(--header-height-strip) + var(--header-height-main) + var(--space-6));
}
.single-post__content h4 {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.single-post__content p { margin-bottom: var(--space-5); }
.single-post__content ul,
.single-post__content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}
.single-post__content li { margin-bottom: var(--space-2); line-height: 1.7; }
.single-post__content strong { font-weight: var(--fw-semibold); color: var(--color-dark); }
.single-post__content em { font-style: italic; }
.single-post__content a { color: var(--color-primary); }
.single-post__content a:hover { text-decoration: underline; }
.single-post__content blockquote {
  border-left: 3px solid var(--color-primary);
  background: var(--color-off-white);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-8) 0;
  font-style: italic;
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  color: var(--color-dark);
  line-height: 1.6;
}
.single-post__content code {
  background: var(--color-grey-50);
  border: 1px solid var(--color-grey-100);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--color-dark);
}
.single-post__content pre {
  background: var(--color-dark);
  color: var(--color-grey-300);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--space-6) 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.single-post__content pre code { background: none; border: none; padding: 0; color: inherit; }
.single-post__content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  display: block;
  border: 1px solid var(--color-grey-100);
}
.single-post__content table { width: 100%; border-collapse: collapse; margin: var(--space-6) 0; font-size: var(--text-sm); }
.single-post__content th {
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  padding: var(--space-3) var(--space-4);
  text-align: left;
}
.single-post__content td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-grey-100);
  color: var(--color-grey-500);
}
.single-post__content tr:hover td { background: var(--color-off-white); }
.single-post__content .wp-block-image { margin: var(--space-6) 0; }
.single-post__content figcaption {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  margin-top: var(--space-2);
  font-style: italic;
}

/* Tags */
.single-post__tags {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-grey-100);
}
.single-post__tags-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-grey-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.single-post__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.single-post__tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(15,177,75,0.06);
}

/* Bottom share */
.single-post__bottom-share {
  margin-top: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background: var(--color-off-white);
  border-radius: var(--radius-xl);
  text-align: center;
}
.single-post__share-prompt {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-bottom: var(--space-4);
}
.single-post__share-row { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* Sidebar: author mini */
.post-sidebar__author {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.post-sidebar__author-avatar { border-radius: var(--radius-full); flex-shrink: 0; }
.post-sidebar__author-label {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: var(--space-1);
}
.post-sidebar__author-name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-dark); margin-bottom: var(--space-1); }
.post-sidebar__author-bio { font-size: var(--text-xs); color: var(--color-grey-500); line-height: 1.5; }

/* Sidebar: CTA */
.post-sidebar__cta {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
}
.post-sidebar__cta-icon { display: inline-block; margin-bottom: var(--space-3); }
.post-sidebar__cta-title { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--color-white); margin-bottom: var(--space-2); }
.post-sidebar__cta-text { font-size: var(--text-sm); color: var(--color-grey-300); line-height: 1.5; margin-bottom: var(--space-5); }
.post-sidebar__cta .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.25);
  margin-top: var(--space-2);
}
.post-sidebar__cta .btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

/* Author section (full) */
.single-post__author-section {
  padding: var(--space-10) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-100);
}
.single-post__author-card {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  max-width: 780px;
}
.single-post__author-avatar { border-radius: var(--radius-full); flex-shrink: 0; }
.single-post__author-label {
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: var(--space-1);
}
.single-post__author-name { font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--color-dark); margin-bottom: var(--space-2); }
.single-post__author-bio { font-size: var(--text-sm); color: var(--color-grey-500); line-height: 1.7; }

/* Comments section */
.single-post__comments { padding: var(--space-12) 0; }
.single-post__comments-wrap { max-width: 780px; }

/* =============================================================================
   BLOG RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img-wrap { aspect-ratio: 16 / 7; }
  .blog-featured__body { padding: var(--space-8); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
  .single-post__body-grid { grid-template-columns: 1fr; }
  .single-post__sidebar { display: none; }
  .post-toc--mobile { display: block; }
  .post-toc--desktop { display: none; }
  .blog-cta__card { flex-direction: column; align-items: flex-start; gap: var(--space-8); padding: var(--space-10) var(--space-8); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .blog-filter__pills { gap: var(--space-2); }
  .single-post__title { font-size: var(--text-2xl); }
  .single-post__cover-img { border-radius: var(--radius-lg); max-height: 280px; }
  .single-post__bottom-share { padding: var(--space-5); }
  .single-post__author-card { flex-direction: column; gap: var(--space-4); }
}

@media (max-width: 640px) {
  .blog-hero { padding: var(--space-10) 0 var(--space-8); }
  .blog-featured__body { padding: var(--space-6); }
  .blog-featured__cta { display: inline-flex; }
  .blog-cta__actions { flex-direction: column; width: 100%; }
  .blog-cta__actions .btn { width: 100%; text-align: center; justify-content: center; }
  .single-post__meta { font-size: var(--text-xs); gap: var(--space-1); }
  .single-post__hero-share .single-post__share-label { display: none; }
  .related-posts__header { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .single-post__share-row { flex-direction: column; align-items: stretch; }
  .single-post__share-row .btn { text-align: center; justify-content: center; }
}

/* =============================================================================
   HOME / FRONT PAGE  (home-* namespace, BEM-lite)
   Sections: section-head · hero · trustbar · brands · categories · products ·
   services · resources · social proof · final CTA
   ============================================================================= */

/* ── Shared section header ── */
.home-section-head { margin-bottom: var(--space-10); }
.home-section-head--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.home-section-head__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.home-section-head__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-semibold);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-dark);
  margin: 0;
}
.home-section-head__subtitle {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  margin: var(--space-3) 0 0;
  line-height: 1.6;
}
/* Header with side "view all" link */
.home-section-head:not(.home-section-head--center) {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4);
}
.home-section-head__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: var(--fw-semibold);
  color: var(--color-primary); text-decoration: none; white-space: nowrap;
  transition: gap var(--transition-fast);
}
.home-section-head__link:hover { gap: var(--space-3); color: var(--color-primary-dark); }

/* ── 1 · HERO ── */
.home-hero { position: relative; overflow: hidden; padding: var(--space-16) 0 var(--space-20); }
.home-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 88% 6%, rgba(213,223,57,0.16), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(15,177,75,0.10), transparent 55%),
    var(--color-off-white);
}
.home-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center;
}
.home-hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: var(--fw-semibold); color: var(--color-grey-700);
  box-shadow: var(--shadow-sm);
}
.home-hero__title {
  font-size: var(--text-5xl); font-weight: var(--fw-bold); line-height: 1.08;
  color: var(--color-dark); margin: var(--space-5) 0 0; letter-spacing: -0.01em;
}
.home-hero__subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-lg); line-height: 1.6; color: var(--color-grey-500);
  margin: var(--space-5) 0 0; max-width: 32em;
}
.home-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.home-hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  list-style: none; padding: 0; margin: var(--space-8) 0 0;
}
.home-hero__trust li {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--color-grey-700);
}
.home-hero__trust svg { color: var(--color-primary); flex-shrink: 0; }

.home-hero__media { position: relative; }
.home-hero__media-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 1px solid var(--color-grey-100);
  background: var(--color-white);
}
.home-hero__img { display: block; width: 100%; height: 100%; aspect-ratio: 11 / 10; object-fit: cover; }
.home-hero__badge {
  position: absolute; display: flex; align-items: center; gap: var(--space-2);
  background: var(--color-white); border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-3) var(--space-4);
}
.home-hero__badge--projects { top: var(--space-5); left: calc(var(--space-6) * -1); flex-direction: column; align-items: flex-start; }
.home-hero__badge--save { bottom: var(--space-6); right: calc(var(--space-5) * -1); max-width: 200px; }
.home-hero__badge--save svg { color: var(--color-primary); flex-shrink: 0; }
.home-hero__badge-num { font-size: var(--text-xl); font-weight: var(--fw-bold); color: var(--color-primary); line-height: 1; }
.home-hero__badge-label { font-size: var(--text-xs); font-weight: var(--fw-medium); color: var(--color-grey-700); line-height: 1.3; }

/* ── 2 · TRUST BAR ── */
.home-trustbar { background: var(--color-off-white); border-block: 1px solid var(--color-grey-100); }
.home-trustbar__inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: var(--space-4) var(--space-8); padding: var(--space-6) var(--container-pad);
}
.home-trustbar__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-trustbar__num { font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--color-dark); line-height: 1; }
.home-trustbar__label { font-size: var(--text-xs); font-weight: var(--fw-medium); color: var(--color-grey-500); margin-top: var(--space-1); }
.home-trustbar__sep { width: 1px; height: 32px; background: var(--color-grey-200); }

/* ── 3 · BRANDS ── */
.home-brands { padding: var(--space-20) 0; }
.home-brands__group + .home-brands__group { margin-top: var(--space-10); }
.home-brands__group-label {
  display: block; text-align: center; font-size: var(--text-xs); font-weight: var(--fw-semibold);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-grey-300); margin-bottom: var(--space-6);
}
.home-brands__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-5);
}
.home-brands__item {
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 86px; padding: var(--space-4) var(--space-5);
  background: var(--color-white); border: 1px solid var(--color-grey-100); border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.home-brands__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-grey-200); }
.home-brands__logo {
  max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.72; transition: filter var(--transition-base), opacity var(--transition-base);
}
.home-brands__item:hover .home-brands__logo { filter: grayscale(0); opacity: 1; }

/* ── 4 · SHOP BY CATEGORY ── (reuses .myelectric-shop-categories) */
.home-categories { padding: var(--space-20) 0; background: var(--color-off-white); }
.home-categories .myelectric-shop-categories { margin-bottom: 0; }
.home-categories__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-10); }

/* ── 5 · BEST SELLERS ── (reuses .woocommerce ul.products) */
.home-products { padding: var(--space-20) 0; }
.home-products__wrap { margin-top: 0; }

/* ── 6 · SERVICES TEASER ── */
.home-services { padding: var(--space-20) 0; background: var(--color-off-white); }
.home-services__bucket + .home-services__bucket { margin-top: var(--space-12); }
.home-services__bucket-label {
  font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-grey-700);
  text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-grey-100);
}
.home-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.home-svc-card {
  display: flex; flex-direction: column; background: var(--color-white);
  border: 1px solid var(--color-grey-100); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.home-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-grey-200); }
.home-svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-off-white); }
.home-svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.home-svc-card:hover .home-svc-card__media img { transform: scale(1.05); }
.home-svc-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.home-svc-card__title { font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--color-dark); margin: 0; }
.home-svc-card__desc { font-size: var(--text-sm); color: var(--color-grey-500); line-height: 1.6; margin: 0; flex: 1; }
/* Arrow-only "go" cue (replaces repeated "Learn more" text — whole card is the link) */
.home-svc-card__cue {
  display: inline-flex; align-self: flex-end; margin-top: var(--space-2);
  color: var(--color-grey-300);
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.home-svc-card:hover .home-svc-card__cue { color: var(--color-primary); transform: translateX(4px); }
.home-services__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-12); }

/* ── 7 · RESOURCES ── */
.home-resources { padding: var(--space-20) 0; }
.home-resources__layout { display: flex; flex-direction: column; gap: var(--space-8); }
.home-resources__nav { display: flex; flex-direction: row; gap: var(--space-4); overflow-x: auto; scrollbar-width: none; }
.home-resources__nav::-webkit-scrollbar { display: none; }
.home-resources__tab {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-8); flex: 1; white-space: nowrap;
  background: var(--color-white); border: 1px solid var(--color-grey-100); border-radius: var(--radius-md);
  font-family: var(--font-primary); font-size: var(--text-base); font-weight: var(--fw-medium);
  color: var(--color-grey-500); cursor: pointer; transition: all var(--transition-base);
}
.home-resources__tab svg { color: var(--color-grey-300); transition: color var(--transition-fast); flex-shrink: 0; }
.home-resources__tab:hover { background: var(--color-off-white); color: var(--color-dark); border-color: var(--color-grey-200); }
.home-resources__tab.is-active {
  background: var(--color-dark); border-color: var(--color-dark);
  color: var(--color-white); font-weight: var(--fw-semibold); box-shadow: var(--shadow-md);
}
.home-resources__tab.is-active svg { color: var(--color-accent); }
.home-resources__panel[hidden] { display: none; }
.home-resources__grid-wrap {
  display: grid; grid-template-columns: 1.2fr 0.8fr; background: var(--color-white);
  border: 1px solid var(--color-grey-100); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.home-resources__grid-left { padding: var(--space-8); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8); }
.home-resources__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.home-res-card {
  display: flex; flex-direction: column; background: var(--color-white);
  border: 1px solid var(--color-grey-100); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.home-res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-grey-200); }
.home-res-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-off-white); }
.home-res-card__media img { width: 100%; height: 100%; object-fit: cover; }
.home-res-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; position: relative; }
.home-res-card__tag {
  align-self: flex-start; font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: var(--color-primary); background: var(--color-off-white); border: 1px solid var(--color-grey-100);
  padding: 2px var(--space-2); border-radius: var(--radius-full);
}
.home-res-card__title { font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--color-dark); margin: 0; line-height: 1.4; }
.home-res-card__desc { font-size: var(--text-sm); color: var(--color-grey-500); line-height: 1.55; margin: 0; flex: 1; }
.home-res-card--plain .home-res-card__cue { color: var(--color-grey-300); margin-top: var(--space-2); transition: color var(--transition-fast), transform var(--transition-fast); }
.home-res-card--plain:hover .home-res-card__cue { color: var(--color-primary); transform: translateX(3px); }
.home-resources__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-grey-100); }
.home-resources__wa {
  background: var(--color-white); color: #128C4B; border: 1.5px solid #25D366;
}
.home-resources__wa:hover { background: #25D366; color: var(--color-white); }
.home-resources__empty { color: var(--color-grey-500); font-size: var(--text-sm); grid-column: 1 / -1; }

.home-resources__featured {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-12); background: var(--color-off-white); border-left: 1px solid var(--color-grey-100);
  text-decoration: none; overflow: hidden; transition: background var(--transition-base);
}
.home-resources__featured:hover { background: var(--color-grey-50); }
.home-resources__featured-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(15,177,75,0.08), transparent 70%);
  pointer-events: none;
}
.home-resources__featured-media {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: var(--space-8); pointer-events: none;
}
.home-resources__featured-media img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  mix-blend-mode: multiply; transition: transform var(--transition-slow);
}
.home-resources__featured:hover .home-resources__featured-media img { transform: scale(1.05); }
.home-resources__featured-content { position: relative; z-index: 1; text-align: right; display: flex; flex-direction: column; gap: var(--space-1); margin-top: auto; }
.home-resources__featured-view { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.05em; transition: color var(--transition-fast); }
.home-resources__featured:hover .home-resources__featured-view { color: var(--color-primary-dark); }
.home-resources__featured-title { font-size: var(--text-4xl); font-weight: var(--fw-bold); color: var(--color-dark); margin: 0; line-height: 1.1; }

/* ── 8 · SOCIAL PROOF ── */
.home-proof { padding: var(--space-20) 0; background: var(--color-off-white); }
.home-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.home-proof__card {
  display: flex; flex-direction: column; gap: var(--space-4); margin: 0;
  background: var(--color-white); border: 1px solid var(--color-grey-100); border-radius: var(--radius-lg);
  padding: var(--space-7); transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.home-proof__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-proof__stars { color: var(--color-accent); font-size: var(--text-base); letter-spacing: 2px; }
.home-proof__quote { font-size: var(--text-sm); line-height: 1.7; color: var(--color-grey-700); margin: 0; font-style: normal; }
.home-proof__author { display: flex; flex-direction: column; margin-top: auto; }
.home-proof__name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-dark); }
.home-proof__role { font-size: var(--text-xs); color: var(--color-grey-500); }
.home-proof__cta { display: flex; justify-content: center; margin-top: var(--space-10); }

/* ── 9 · FINAL CTA ── */
.home-cta { padding: 0 0 var(--space-20); }
.home-cta__card {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-8); align-items: center;
  background: #16171A; border-radius: var(--radius-xl); padding: var(--space-12) var(--space-12);
  position: relative; overflow: hidden;
}
.home-cta__card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(15,177,75,0.22), transparent 60%);
  pointer-events: none;
}
.home-cta__content { position: relative; z-index: 1; }
.home-cta__eyebrow { display: inline-block; font-size: var(--text-xs); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.home-cta__title { font-size: var(--text-3xl); font-weight: var(--fw-semibold); line-height: 1.2; letter-spacing: -0.015em; color: var(--color-white); margin: 0; }
.home-cta__desc { font-size: var(--text-base); line-height: 1.6; color: var(--color-grey-300); margin: var(--space-4) 0 0; }
.home-cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-3); align-items: stretch; }
.home-cta__actions .btn { justify-content: center; }
.home-cta__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  color: var(--color-grey-300); font-size: var(--text-sm); font-weight: var(--fw-medium);
  text-decoration: none; margin-top: var(--space-1); transition: color var(--transition-fast);
}
.home-cta__tel:hover { color: var(--color-white); }
.home-cta__tel svg { color: var(--color-primary); }

/* ── HOME RESPONSIVE ── */
@media (max-width: 1024px) {
  .home-hero__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .home-hero__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .home-hero__badge--projects { left: var(--space-4); }
  .home-hero__badge--save { right: var(--space-4); }
  .home-services__grid,
  .home-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .home-resources__grid-wrap { grid-template-columns: 1fr; }
  .home-resources__featured { border-left: none; border-top: 1px solid var(--color-grey-100); min-height: 320px; }
  .home-cta__card { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 768px) {
  .home-hero { padding: var(--space-12) 0 var(--space-16); }
  .home-hero__title { font-size: var(--text-4xl); }
  .home-section-head__title { font-size: var(--text-3xl); }
  .home-section-head:not(.home-section-head--center) { flex-direction: column; align-items: flex-start; }
  .home-resources__cards { grid-template-columns: 1fr; }
  .home-resources__grid-left { padding: var(--space-5); gap: var(--space-6); }
  .home-resources__tab { flex: 0 0 auto; }
  .home-trustbar__sep { display: none; }
}

@media (max-width: 640px) {
  .home-hero__title { font-size: var(--text-3xl); }
  .home-hero__ctas .btn { flex: 1; }
  .home-hero__badge--projects { left: var(--space-3); top: var(--space-3); }
  .home-hero__badge--save { right: var(--space-3); bottom: var(--space-3); max-width: 160px; }
  .home-services__grid,
  .home-proof__grid { grid-template-columns: 1fr; }
  .home-services__cta .btn,
  .home-categories__ctas .btn,
  .home-resources__actions .btn { width: 100%; }
  .home-cta__card { padding: var(--space-8) var(--space-6); }
  .home-cta__title { font-size: var(--text-2xl); }
}

/* -- CAROUSEL / MARQUEE COMPONENT -- */
.myelectric-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: var(--space-4) 0;
    margin: 0 auto;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.myelectric-carousel__track {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    width: max-content;
    animation: myelectricMarquee 40s linear infinite;
}
.myelectric-carousel:hover .myelectric-carousel__track {
    animation-play-state: paused;
}
.myelectric-carousel--slow .myelectric-carousel__track {
    animation-duration: 60s;
}
@keyframes myelectricMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.myelectric-carousel__divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-off-white);
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-5);
    margin: 0 var(--space-2);
}
.myelectric-carousel__divider span {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-grey-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Adjust items for inline flex carousel context */
.myelectric-carousel .home-brands__item,
.myelectric-carousel .myelectric-shop-categories__item {
    flex-shrink: 0;
    margin-bottom: 0;
}

/* ==========================================================================
   20. NEW CUSTOM PAGES (About, Partners, Resources, Buying Guides, Tools & Calculators)
   ========================================================================== */

/* ── 20.1 SHARED CUSTOM HERO ── */
.page-custom-hero {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-grey-100);
  padding: var(--space-16) 0;
  overflow: hidden;
}
.page-custom-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}
.page-custom-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.page-custom-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0 0 var(--space-4);
}
.page-custom-hero__desc {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-grey-500);
  margin: 0 0 var(--space-8);
  max-width: 620px;
}
.page-custom-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.page-custom-hero__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-custom-hero__image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow) var(--transition-spring);
}
.page-custom-hero:hover .page-custom-hero__image {
  transform: translateY(-4px) scale(1.02);
}

/* ── 20.2 ABOUT & PARTNERS LAYOUTS ── */
.about-metrics {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-grey-100);
}
.about-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.about-metrics__item {
  text-align: center;
}
.about-metrics__num {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.about-metrics__label {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  font-weight: var(--fw-medium);
  margin-top: var(--space-2);
}

.about-values,
.partners-standards,
.partners-brands {
  padding: var(--space-20) 0;
}
.about-values__header,
.partners-section-title {
  max-width: 680px;
  margin: 0 auto var(--space-12);
}
.about-values__header h2,
.partners-section-title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
}
.about-values__header p,
.partners-section-desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-top: var(--space-3);
}
.about-values__grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.about-values__card,
.partners-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.about-values__card:hover,
.partners-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about-values__icon,
.partners-card__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.about-values__card h3,
.partners-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}
.about-values__card p,
.partners-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
}

.about-team {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-20) 0;
}
.about-team__inner {
  max-width: 780px;
  margin: 0 auto;
}
.about-team__content h2 {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.about-team__content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-grey-300);
  margin-bottom: var(--space-8);
}
.about-team__actions {
  display: flex;
  justify-content: center;
}

.partners-brands__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  justify-items: center;
  align-items: center;
  margin-top: var(--space-8);
}
.partners-brands__logo {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-grey-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-md);
  width: 100%;
  text-align: center;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.partners-brands__logo:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ── 20.3 DIRECTORIES (Resources, Buying Guides, Tools Hub) ── */
.resources-directory,
.buying-guides-directory,
.tools-directory {
  padding: var(--space-20) 0;
}
.resources-grid,
.buying-guides-grid,
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.resources-card,
.buying-guides-card,
.tools-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.resources-card:hover,
.buying-guides-card:hover,
.tools-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.resources-card__icon,
.tools-card__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.buying-guides-card__meta {
  margin-bottom: var(--space-4);
}
.buying-guides-card__tag {
  display: inline-block;
  background: rgba(15,177,75,0.08);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.resources-card__title,
.buying-guides-card__title,
.tools-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin: 0 0 var(--space-3);
}
.resources-card__desc,
.buying-guides-card__desc,
.tools-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.resources-card__link,
.buying-guides-card__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.resources-card__link:hover,
.buying-guides-card__link:hover {
  color: var(--color-primary-dark);
}
.tools-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ── 20.4 CALCULATOR WIDGETS ── */
.calc-section {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--color-white);
}
.calc-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  box-shadow: var(--shadow-sm);
}
.calc-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-8);
}
.calc-form {
  margin-bottom: var(--space-10);
}
.calc-group {
  margin-bottom: var(--space-8);
}
.calc-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}
.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 280px;
}
.calc-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.calc-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,177,75,0.12);
}
.calc-input--sm {
  width: 90px;
  padding: var(--space-1) var(--space-2);
}
.calc-unit {
  position: absolute;
  right: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  pointer-events: none;
}
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-grey-100);
  border-radius: var(--radius-full);
  margin-top: var(--space-4);
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-toggle-group {
  display: flex;
  gap: var(--space-4);
}
.calc-toggle-btn {
  flex: 1;
  cursor: pointer;
}
.calc-toggle-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.calc-toggle-btn span {
  display: block;
  text-align: center;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-500);
  transition: all var(--transition-fast);
}
.calc-toggle-btn input:checked + span {
  border-color: var(--color-primary);
  background: rgba(15,177,75,0.06);
  color: var(--color-primary);
}

.calc-results {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.calc-results__title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
  text-align: center;
}
.calc-results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.calc-result-box {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
}
.calc-result-box__label {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  margin-bottom: var(--space-1);
}
.calc-result-box__val {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
}
.calc-result-box__val--green {
  color: var(--color-primary);
}
.calc-note {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-grey-700);
}

/* ── 20.5 GRID LAYOUT LOAD SHEET ── */
.calc-grid-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-10);
  align-items: start;
}
.calc-panel {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.calc-panel__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-1);
}
.calc-panel__desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  margin-bottom: var(--space-8);
}
.load-sheet {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.load-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-grey-50);
}
.load-row:last-child {
  border-bottom: none;
}
.load-row__info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.load-row__icon {
  font-size: var(--text-lg);
}
.load-row__details {
  display: flex;
  flex-direction: column;
}
.load-row__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}
.load-row__spec {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}
.load-row__controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.load-btn {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.load-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.load-row__count {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  min-width: 20px;
  text-align: center;
}

.calc-sidebar {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.calc-sidebar__sticky {
  position: sticky;
  top: calc(var(--header-height-main) + var(--space-6));
}
.calc-sidebar__title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
}
.dashboard-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-grey-100);
}
.dashboard-metric:last-of-type {
  border-bottom: none;
}
.dashboard-metric__label {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
}
.dashboard-metric__val {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
}
.dashboard-metric__val--green {
  color: var(--color-primary);
}

/* ── 20.6 DISTRIBUTION PANEL BOARD SCHEMATIC ── */
.designer-option {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-grey-50);
}
.designer-option:last-child {
  border-bottom: none;
}
.designer-checkbox {
  display: flex;
  align-items: start;
  gap: var(--space-4);
  cursor: pointer;
}
.designer-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.designer-checkbox__box {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
  position: relative;
}
.designer-checkbox input:checked + .designer-checkbox__box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.designer-checkbox input:checked + .designer-checkbox__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.designer-checkbox__details {
  display: flex;
  flex-direction: column;
}
.designer-checkbox__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}
.designer-checkbox__desc {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  margin-top: var(--space-1);
}
.designer-subgroup {
  margin-top: var(--space-4);
  margin-left: calc(20px + var(--space-4));
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}

.db-board {
  background: #2b2c2e;
  border: 3px solid #3e4042;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
  color: #fff;
  font-family: monospace;
}
.db-section {
  margin-bottom: var(--space-6);
  border-bottom: 1px dashed #3e4042;
  padding-bottom: var(--space-4);
}
.db-section:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.db-section__heading {
  font-size: 10px;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
  font-weight: bold;
}
.db-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f2021;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-2);
}
.db-item:last-child {
  margin-bottom: 0;
}
.db-item--leakage {
  border-left-color: var(--color-accent);
}
.db-item__breaker {
  font-weight: bold;
  color: #fff;
}
.db-item__desc {
  font-size: 11px;
  color: #9da0a3;
  text-align: right;
  max-width: 60%;
}

/* ── 20.7 SOLAR PRICING COMPARISON PAGE ── */
.pricing-comparison-section {
  padding: var(--space-20) 0;
}
.pricing-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.pricing-table th,
.pricing-table td {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-grey-100);
  font-size: var(--text-sm);
}
.pricing-table th {
  background: var(--color-off-white);
  color: var(--color-dark);
  font-weight: var(--fw-semibold);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td:first-child {
  font-weight: var(--fw-medium);
  color: var(--color-dark);
}
.pricing-table td {
  color: var(--color-grey-700);
}

.pricing-guidelines-section {
  padding: var(--space-16) 0 var(--space-24);
  border-top: 1px solid var(--color-grey-100);
}
.guidelines-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.guideline-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.guideline-card h3 {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}
.guideline-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
}

/* ── 20.8 RESPONSIVE GENERAL OVERRIDES ── */
@media (max-width: 1024px) {
  .page-custom-hero__inner { grid-template-columns: 1fr; gap: var(--space-8); text-align: center; }
  .page-custom-hero__desc { margin: 0 auto var(--space-8); }
  .page-custom-hero__actions { justify-content: center; }
  .page-custom-hero__image-wrap { max-width: 480px; margin: 0 auto; }
  .about-metrics__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
  .about-values__grid, .partners-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .partners-brands__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .about-metrics__grid { grid-template-columns: 1fr; }
  .partners-brands__grid { grid-template-columns: repeat(2, 1fr); }
  .calc-results__grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   21. RENEWED PRODUCTS PAGE & QUOTE CONTEXT BANNER
   ============================================================================= */

/* ── 21.1 RENEWED HERO ── */
.renewed-hero {
  background: var(--color-off-white);
  padding: var(--space-20) 0 var(--space-16);
  border-bottom: 1px solid var(--color-grey-100);
  overflow: hidden;
}
.renewed-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}
.renewed-hero__content {
  max-width: 620px;
}
.renewed-hero__eyebrow {
  display: inline-block;
  background: rgba(15, 177, 75, 0.1);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.renewed-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.renewed-hero__subtitle {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  color: var(--color-grey-500);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}
.renewed-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.renewed-hero__image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.renewed-hero__image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}
.renewed-hero__image:hover {
  transform: translateY(-6px);
}

/* ── 21.2 RENEWED STORY & STATS ── */
.renewed-story {
  padding: var(--space-24) 0;
  background: var(--color-white);
}
.renewed-story__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: center;
}
.renewed-story__text {
  max-width: 680px;
}
.renewed-story__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}
.renewed-story__desc {
  font-size: var(--text-base);
  color: var(--color-grey-500);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}
.renewed-story__desc:last-child {
  margin-bottom: 0;
}
.renewed-story__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.renewed-stat-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.renewed-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.renewed-stat-card__num {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.renewed-stat-card__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 21.3 ENGINEERING COMPARISON ── */
.renewed-comparison {
  padding: var(--space-24) 0;
  background: var(--color-off-white);
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
}
.renewed-comparison__header {
  max-width: 720px;
  margin: 0 auto var(--space-16);
}
.renewed-comparison__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.renewed-comparison__subtitle {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
}
.renewed-comparison__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 1080px;
  margin: 0 auto;
}
.renewed-comp-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.renewed-comp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.renewed-comp-card--premium {
  border: 2px solid var(--color-primary);
  box-shadow: 0 12px 32px rgba(15, 177, 75, 0.12);
}
.renewed-comp-card__badge {
  align-self: flex-start;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.renewed-comp-card__badge--standard {
  background: var(--color-grey-100);
  color: var(--color-grey-500);
}
.renewed-comp-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}
.renewed-comp-card__brand-list {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}
.renewed-comp-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.renewed-comp-card__list li {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
  padding-left: var(--space-6);
  position: relative;
}
.renewed-comp-card__list li strong {
  color: var(--color-dark);
  display: block;
  margin-bottom: var(--space-1);
}
.renewed-comp-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}

/* ── 21.4 BENEFITS GRID (STRICT ICON CONSTRAINTS) ── */
.renewed-benefits {
  padding: var(--space-24) 0;
  background: var(--color-white);
}
.renewed-benefits__header {
  max-width: 720px;
  margin: 0 auto var(--space-16);
}
.renewed-benefits__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.renewed-benefits__subtitle {
  font-size: var(--text-lg);
  color: var(--color-grey-500);
}
.renewed-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.renewed-benefit-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.renewed-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.renewed-benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(15, 177, 75, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  flex-shrink: 0;
}
.renewed-benefit-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}
.renewed-benefit-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}
.renewed-benefit-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-grey-500);
  margin: 0;
}

/* ── 21.5 RENEWED CTA ── */
.renewed-cta {
  background: var(--color-dark);
  padding: var(--space-24) 0;
  color: var(--color-white);
}
.renewed-cta__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.renewed-cta__desc {
  font-size: var(--text-lg);
  color: var(--color-grey-300);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
}
.renewed-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── 21.6 QUOTE CONTEXT BANNER ── */
.quote-product-context-banner {
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}
.quote-product-context-banner__info {
  display: flex;
  flex-direction: column;
}
.quote-product-context-banner__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey-300);
  margin-bottom: var(--space-1);
}
.quote-product-context-banner__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin: 0;
}

/* ── Get Quote — Product Mode (focused single-step flow) ──
   The visitor came from a "Price on Request" product, so we show a streamlined
   request instead of the full multi-step project wizard. */
.quote-product-context-banner__content {
  display: flex;
  flex-direction: column;
}
.quote-product-context-banner__icon {
  color: var(--color-primary);
  flex-shrink: 0;
}
.quote-product-context-banner__desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  line-height: 1.5;
  margin: var(--space-1) 0 0;
}
.quote-mode-product .quote-product-context-banner {
  justify-content: flex-start;
  gap: var(--space-5);
}

.get-quote-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.quote-form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  margin: var(--space-8) 0 var(--space-6);
  color: var(--color-grey-300);
  font-size: var(--text-sm);
}
.quote-form-divider::before,
.quote-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-grey-100);
}

/* Streamline the CF7 form for a single-item price request. quote-type is
   prefilled + validated by JS (ProductQuotePrefill) so hiding it is safe. */
.quote-mode-product .wpcf7-form p:has(select[name="quote-type"]),
.quote-mode-product .wpcf7-form p:has(input[name="company-name"]),
.quote-mode-product .wpcf7-form p:has(input[name="file-upload"]) {
  display: none !important;
}
/* Single page now — drop the "Step 1 / Step 2" wizard legends */
.quote-mode-product .quote-steps legend {
  display: none;
}

/* ── 21.7 RESPONSIVE RULES ── */
@media (max-width: 1024px) {
  .renewed-hero__inner,
  .renewed-story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .renewed-hero__content {
    text-align: center;
    margin: 0 auto;
  }
  .renewed-hero__actions {
    justify-content: center;
  }
  .renewed-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .renewed-comparison__grid {
    grid-template-columns: 1fr;
  }
  .renewed-hero__title {
    font-size: var(--text-4xl);
  }
}
@media (max-width: 640px) {
  .renewed-benefits__grid {
    grid-template-columns: 1fr;
  }
  .renewed-cta__actions {
    flex-direction: column;
  }
  .renewed-cta__actions .btn {
    width: 100%;
  }
}

/* =============================================================================
   404 ERROR PAGE
   ============================================================================= */
.error-404__hero {
  text-align: center;
  padding: var(--space-20) 0 var(--space-12);
}
.error-404__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  color: var(--color-primary);
}
.error-404__code {
  display: block;
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.error-404__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}
.error-404__desc {
  max-width: 480px;
  margin: 0 auto var(--space-8);
  color: var(--color-grey-500);
  font-size: var(--text-md);
  line-height: 1.6;
}
.error-404__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.error-404__search {
  max-width: 480px;
  margin: 0 auto;
}
.error-404__recover {
  padding: var(--space-12) 0 var(--space-20);
  border-top: 1px solid var(--color-grey-100);
}
.error-404__recover-title {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey-500);
  margin-bottom: var(--space-6);
}
.error-404__cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 880px;
  margin: 0 auto var(--space-8);
}
.error-404__cat-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.error-404__cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.error-404__cat-name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}
.error-404__cat-count {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}
.error-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}
.error-404__links a {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  text-decoration: none;
}
.error-404__links a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .error-404__cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .error-404__cat-grid { grid-template-columns: 1fr; }
}

/* ===== Home / Front Page v2 (Hero · USP · Shop) ===== */

/* ──────────────────────────────────────────────────────
   HERO v2  (.home-hero2__*)
   Centered, dark-green gradient background.
   White "shelf" overlaps the bottom edge of the dark area.
   Stats row is merged into the shelf (trust-bar option b).
   ────────────────────────────────────────────────────── */
.home-hero2 {
  position: relative;
  padding: var(--space-20) 0 var(--space-12);
  background: var(--color-white);
  overflow: hidden;
}

/* Dark gradient covers the TOP of the section only; the bottom strip stays
   white so the shelf transitions dark -> white across its own height. */
.home-hero2__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% - 150px);
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 22%, color-mix(in srgb, var(--color-primary) 30%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, color-mix(in srgb, var(--color-primary-dark) 22%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 90%, color-mix(in srgb, var(--color-primary) 14%, transparent) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-dark) 0%, color-mix(in srgb, var(--color-dark) 88%, var(--color-primary-dark)) 100%);
}

/* Giant faint brand watermark, MEDVi-style, sitting behind the headline */
.home-hero2__bg::after {
  content: "MyElectric";
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  font-size: clamp(5rem, 18vw, 16rem);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  color: color-mix(in srgb, var(--color-white) 4%, transparent);
  pointer-events: none;
}

.home-hero2__upper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  /* clearance so the shelf (which rises into the dark hero) clears the subtitle */
  padding-bottom: var(--space-20);
}

/* Plain centered eyebrow (no pill) — MEDVi style */
.home-hero2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
  margin-bottom: var(--space-5);
}
.home-hero2__eyebrow svg { color: var(--color-primary); flex-shrink: 0; }

.home-hero2__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-semibold);
  line-height: 1.07;
  color: var(--color-white);
  margin: 0 0 var(--space-5);
  letter-spacing: -0.02em;
}

/* Soft, desaturated green accent (matches MEDVi's pale-green word) */
.home-hero2__title-accent {
  color: color-mix(in srgb, var(--color-primary) 48%, var(--color-white));
  display: inline;
}

/* Poppins sans-serif per user request */
.home-hero2__subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-grey-300);
  margin: 0 auto;
  max-width: 56ch;
}

/* ── White Shelf ── */
.home-hero2__shelf-wrap {
  position: relative;
  z-index: 2;
  /* shelf rises into the dark zone; its lower half lands on the white tray */
  margin-top: -56px;
}

.home-hero2__shelf {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  overflow: visible;
}

.home-hero2__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

/* Each card is its own self-contained bounding box (white frame, hairline
   border, soft shadow) with the pastel media inset — gaps give the subtle
   separation rather than the cards sharing one flat shelf surface. */
.home-hero2__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.home-hero2__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-grey-200);
}

/* Inset tinted "stage" — short 4:3 box; the image floats inside it and breaks
   above the top edge for a 3D pop-out (so overflow must stay visible). */
.home-hero2__card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  overflow: visible;
}
/* Square transparent PNG: sized smaller than the stage (side + bottom breathing
   room) and lifted so its top pops above the card. drop-shadow gives the depth. */
.home-hero2__card-media img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(-14%);
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.18));
  transition: transform var(--transition-base);
}
.home-hero2__card:hover .home-hero2__card-media img {
  transform: translateX(-50%) translateY(-17%) scale(1.04);
}

/* Per-card pastel tints */
.home-hero2__card--products .home-hero2__card-media { background: color-mix(in srgb, var(--color-primary) 14%, var(--color-white)); }
.home-hero2__card--services .home-hero2__card-media { background: color-mix(in srgb, var(--color-info) 12%, var(--color-white)); }
.home-hero2__card--quote    .home-hero2__card-media { background: color-mix(in srgb, var(--color-warning) 16%, var(--color-white)); }
.home-hero2__card--consult  .home-hero2__card-media { background: color-mix(in srgb, var(--color-error) 11%, var(--color-white)); }

.home-hero2__card-icon { width: 40px; height: 40px; opacity: 0.5; color: var(--color-primary); }
.home-hero2__card--services .home-hero2__card-icon { color: var(--color-info); }
.home-hero2__card--quote    .home-hero2__card-icon { color: var(--color-warning); }
.home-hero2__card--consult  .home-hero2__card-icon { color: var(--color-error); }

.home-hero2__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3) var(--space-3);
}

.home-hero2__card-label {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  line-height: 1.2;
}

.home-hero2__card-arrow {
  color: var(--color-dark);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.home-hero2__card:hover .home-hero2__card-arrow {
  transform: translateX(4px);
}

/* ──────────────────────────────────────────────────────
   USP STRIP  (.home-usp__*)
   ────────────────────────────────────────────────────── */
.home-usp {
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
  padding: var(--space-6) 0;
}

/* USP TICKER — single animated row, left to right */
.home-usp__ticker-wrap {
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, var(--color-white) 6%, var(--color-white) 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, var(--color-white) 6%, var(--color-white) 94%, transparent 100%);
}

/* The track is duplicated in HTML for a seamless loop;
   animation moves -50% so the second copy rolls in perfectly */
.home-usp__track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
  animation: usp-ticker 36s linear infinite;
}

.home-usp__item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-8);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
}

/* Dot separator between items */
.home-usp__item::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-grey-200);
  margin-left: var(--space-8);
  flex-shrink: 0;
}

.home-usp__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(15,177,75,0.08);
  color: var(--color-primary);
  flex-shrink: 0;
}

.home-usp__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-grey-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* ──────────────────────────────────────────────────────
   START SHOPPING  (.home-shop__*)
   Polaroid-tilt category cards (Marquee Carousel)
   ────────────────────────────────────────────────────── */
.home-shop {
  padding: var(--space-20) 0;
  background: var(--color-off-white);
  overflow: hidden;
}

.myelectric-carousel--shop {
  padding: var(--space-12) 0 var(--space-16);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.myelectric-carousel--shop .myelectric-carousel__track {
  align-items: center;
  gap: var(--space-10);
}

.home-shop__card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 350px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  padding: var(--space-5) var(--space-5) var(--space-6);
  transform: rotate(var(--card-tilt, 0deg));
  transition: transform var(--transition-spring), box-shadow var(--transition-spring);
  position: relative;
  z-index: 1;
  white-space: normal;
}
.home-shop__card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-xl);
  z-index: 10;
}

.home-shop__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
  margin-bottom: var(--space-5);
  position: relative;
  padding: 0;
}
.home-shop__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-base);
}
.home-shop__card:hover .home-shop__media img {
  transform: scale(1.05);
}

.home-shop__media-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-grey-50) 0%,
    var(--color-off-white) 50%,
    var(--color-grey-50) 100%
  );
}

.home-shop__name {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  text-align: center;
  line-height: 1.4;
  padding: 0 var(--space-2);
  word-break: break-word;
  transition: color var(--transition-fast);
}
.home-shop__card:hover .home-shop__name {
  color: var(--color-primary);
}

.home-shop__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* ── Responsive: Hero v2 ── */
@media (max-width: 1024px) {
  .home-hero2__upper { padding-bottom: var(--space-16); }
  .home-hero2__shelf-wrap { margin-top: -48px; }
}

@media (max-width: 768px) {
  .home-hero2 { padding: var(--space-14) 0 var(--space-10); }
  .home-hero2__bg { height: calc(100% - 120px); }
  .home-hero2__upper { padding-bottom: var(--space-14); }
  .home-hero2__shelf-wrap { margin-top: -40px; }
  .home-hero2__title { font-size: var(--text-4xl); }
  .home-hero2__subtitle { font-size: var(--text-base); }
  .home-hero2__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  /* 2x2 grid: keep images contained so a lower row's pop-out can't overlap the
     row above. Pop-out is a desktop-only (>=769px) flourish. */
  .home-hero2__card-media { overflow: hidden; }
  .home-hero2__card-media img,
  .home-hero2__card:hover .home-hero2__card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    filter: none;
  }
}

@media (max-width: 640px) {
  .home-hero2 { padding: var(--space-12) 0 var(--space-8); }
  .home-hero2__bg { height: calc(100% - 100px); }
  .home-hero2__title { font-size: var(--text-3xl); }
  .home-hero2__shelf {
    padding: var(--space-3);
    border-radius: var(--radius-lg);
  }
  /* Stacked horizontal rows (MEDVi mobile): small contained thumbnail on the
     left, label + arrow on the right. Pop-out is disabled at this size. */
  .home-hero2__cards {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .home-hero2__card {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-2.5);
  }
  .home-hero2__card-media {
    width: 76px;
    height: 76px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
  }
  .home-hero2__card-media img,
  .home-hero2__card:hover .home-hero2__card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: var(--space-1);
    transform: none;
    filter: none;
    object-fit: contain;
  }
  .home-hero2__card-foot {
    flex: 1;
    width: auto;
    padding: 0 var(--space-2) 0 0;
  }
  .home-hero2__card-label { font-size: var(--text-base); }
}

/* ── USP Ticker (marquee) — replaces old responsive rules ── */
@keyframes usp-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* nothing extra needed for USP at these breakpoints — ticker
   is always a single full-width scrolling row */

/* ── Responsive: Shop Polaroid Cards ── */
@media (max-width: 1024px) {
  .home-shop__card { width: 300px; }
  .myelectric-carousel--shop .myelectric-carousel__track { gap: var(--space-8); }
}

@media (max-width: 768px) {
  .myelectric-carousel--shop .myelectric-carousel__track {
    gap: var(--space-6);
  }
  .home-shop__card {
    width: 260px;
    transform: none;
  }
  .home-shop__card:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  .home-shop__card { width: 220px; }
  .home-shop .home-section-head__title { font-size: var(--text-3xl); }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .home-hero2__card,
  .home-hero2__card-arrow,
  .home-usp__icon,
  .home-shop__card {
    transition: none;
  }
  /* stop USP ticker */
  .home-usp__track { animation: none; }
  .home-shop__card {
    transform: none;
  }
  .myelectric-carousel__track {
    animation: none;
  }
}

/* =============================================================================
   HOME — full-card link polish
   These components ARE anchors wrapping a whole card (image + title + text).
   The global `a:hover { text-decoration: underline }` would otherwise underline
   the card's title and body on hover, which reads cheap. The card already signals
   interactivity via lift, image zoom and the arrow cue, so suppress the underline.
   ============================================================================= */
.home-svc-card:hover,
.home-shop__card:hover,
.home-res-card:hover,
.home-hero2__card:hover,
.home-resources__featured:hover { text-decoration: none; }

/* =============================================================================
   FOOTER NEWSLETTER — capture form states + details modal
   Two-step footer lead capture (email → modal → thank-you). Markup in
   footer.php, logic in inc/newsletter.php, behaviour in main.js (Newsletter).
   ============================================================================= */

/* Wrapper holds the pill form + the feedback line beneath it */
.footer-newsletter-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* The form itself keeps the existing .footer-newsletter pill styling */
.footer-newsletter { margin: 0; position: relative; }

/* Honeypot — visually removed but still in the tab/DOM order for bots */
.me-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Loading state on the pill button */
.footer-newsletter__btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Feedback line under the footer pill */
.footer-newsletter__feedback {
  font-size: var(--text-sm);
  margin: 0;
  min-height: 1.2em;
  padding-left: var(--space-2);
  color: var(--color-grey-300);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.footer-newsletter__feedback.is-visible { opacity: 1; }
.footer-newsletter__feedback.is-error   { color: var(--color-accent); }
.footer-newsletter__feedback.is-success { color: var(--color-primary); }

/* ── Modal shell ─────────────────────────────────────────────────────────── */
.me-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.me-modal[hidden] { display: none; }

.me-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-dark-80);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.me-modal.is-open .me-modal__backdrop { opacity: 1; }

.me-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-10) var(--space-8) var(--space-8);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform var(--transition-spring), opacity var(--transition-base);
}
.me-modal.is-open .me-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.me-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-grey-50);
  color: var(--color-grey-500);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.me-modal__close:hover { background: var(--color-grey-100); color: var(--color-dark); }

.me-modal__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-100);
}

.me-modal__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}
.me-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  line-height: 1.6;
  margin: 0 auto var(--space-6);
  max-width: 34ch;
}

/* ── Modal form fields ───────────────────────────────────────────────────── */
.me-modal__form { text-align: left; }

.me-field { margin-bottom: var(--space-4); }
.me-field__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-grey-500);
  margin-bottom: var(--space-2);
}
.me-field__optional {
  font-weight: var(--fw-regular);
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-grey-300);
}
.me-field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.me-field__input::placeholder { color: var(--color-grey-300); }
.me-field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 177, 75, 0.12);
}
.me-field__input.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.me-modal__email-line {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  margin: 0 0 var(--space-5);
}
.me-modal__email-line strong { color: var(--color-dark); font-weight: var(--fw-semibold); }

.me-modal__submit { margin-top: var(--space-1); }
.me-modal__submit.is-loading { opacity: 0.75; pointer-events: none; }

.me-modal__feedback {
  font-size: var(--text-sm);
  text-align: center;
  margin: var(--space-3) 0 0;
  min-height: 1.2em;
  color: var(--color-grey-500);
}
.me-modal__feedback.is-error   { color: var(--color-error); }
.me-modal__feedback.is-success { color: var(--color-primary); }

@media (max-width: 480px) {
  .me-modal__dialog { padding: var(--space-8) var(--space-5) var(--space-6); }
  .me-modal__title { font-size: var(--text-xl); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .me-modal__dialog,
  .me-modal__backdrop { transition: none; }
}

/* Subscriber admin list status pills */
.me-sub-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
}
.me-sub-status--subscribed { background: rgba(15,177,75,0.12); color: var(--color-primary); }
.me-sub-status--pending    { background: var(--color-grey-100); color: var(--color-grey-500); }
