/* ==========================================================================
   COMPONENTS.CSS — Lumion Energy Shared UI System
   All colors via design tokens in tokens.css. NO hardcoded # colors.
   ========================================================================== */

/* ==========================================================================
   GLOBAL MOBILE AUDIT (#47) — Top-level resets
   ========================================================================== */

html,
body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 768px) {
  body {
    padding-bottom: var(--space-11) !important;
  }

  input,
  select,
  textarea,
  button {
    font-size: 1rem !important;
    min-height: 48px;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   AA) LAYOUT SYSTEM — Container, Sections, Grid
   ========================================================================== */

.container {
  max-width: var(--container-maxw);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--container-px-mobile);
    padding-right: var(--container-px-mobile);
  }
}

main > section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

@media (max-width: 991px) and (min-width: 769px) {
  main > section {
    padding-top: var(--section-padding-y-tablet);
    padding-bottom: var(--section-padding-y-tablet);
  }
}

@media (max-width: 768px) {
  main > section {
    padding-top: var(--section-padding-y-mobile);
    padding-bottom: var(--section-padding-y-mobile);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ==========================================================================
   A) BUTTONS
   ========================================================================== */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-on-surface);
}

.btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-on-primary);
}

.btn-outline-light:hover {
  background: var(--color-on-primary);
  border-color: var(--color-on-primary);
  color: var(--color-overlay);
}

.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}

.btn-accent:hover {
  opacity: 0.92;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-on-primary);
  border-color: transparent;
}

.btn-whatsapp:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  min-height: 36px;
  padding: var(--s-1-5) var(--s-3);
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  padding-left: var(--s-3);
  padding-right: var(--s-3);
  font-size: var(--fs-sm);
  border-radius: var(--r-md);
}

.btn-lg {
  min-height: 52px;
  padding: var(--s-4) var(--s-6);
  font-size: var(--fs-lg);
  border-radius: var(--r-xl);
}

.btn-icon {
  min-height: 44px;
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-full);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-link {
  background: transparent;
  border-color: transparent;
  color: var(--color-primary);
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
  border-radius: 0;
}

.btn-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   B) NAV / HEADER
   Shared header component used by ALL pages.
   Rule discipline: every layout token below uses !important to win over inline
   styles that historical page rewrites may have injected on the <header> /
   <div class="container"> / <a class="site-brand"> elements.
   DO NOT change copy, colors, fonts, or links — layout-only tokens here.
   ========================================================================== */

.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 40 !important;
  min-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--color-line) !important;
  padding: 0 !important;
  transition: box-shadow var(--dur-base) var(--ease-out) !important;
}

@supports not (backdrop-filter: blur(8px)) {
  .site-header {
    background: var(--color-surface) !important;
  }
}

.site-header.scrolled {
  box-shadow: var(--shadow-md) !important;
}

/* The header's one and only flex row: logo | nav | ctas | hamburger */
.site-header > .container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--s-6) !important;
  width: 100% !important;
  max-width: var(--maxw-1) !important;
  margin: 0 auto !important;
  padding: 0 var(--space-md) !important;
  /* Same left/right page padding as the container token in base.css — this
     guarantees the header never looks scattered against the content below. */
}

/* --------------------------------------------------------------
   BRAND LOCKUP (far left): inline horizontal icon + wordmark
   Never stacked; never stretched; icon always 40px.
   -------------------------------------------------------------- */
.site-brand {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: var(--s-3) !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  color: inherit !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.site-brand:hover {
  color: inherit !important;
}

.site-brand img {
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  max-width: 40px !important;
  display: block !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}

.brand-wordmark {
  color: var(--color-on-surface) !important;
  font-weight: var(--font-weight-bold) !important;
  font-size: var(--fs-lg) !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.brand-wordmark span {
  color: var(--color-primary) !important;
}

/* --------------------------------------------------------------
   PRIMARY NAV LINKS (middle / flex:1 center)
   VISIBLE ONLY ≥ 900px. Replaced entirely by hamburger under 900px.
   -------------------------------------------------------------- */
.nav-links {
  display: none !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--s-6) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Explicit 900px breakpoint per requirement: hamburger replaces nav below */
@media (min-width: 900px) {
  .nav-links {
    display: flex !important;
  }
}

.nav-link {
  display: inline-block !important;
  padding: var(--s-2) 0 !important;
  color: var(--color-on-surface) !important;
  text-decoration: none !important;
  font-weight: var(--font-weight-medium) !important;
  font-size: var(--fs-sm) !important;
  position: relative !important;
  white-space: nowrap !important;
  transition: color var(--dur-base) var(--ease-out) !important;
}

.nav-link::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: var(--color-primary) !important;
  transition: width var(--dur-base) var(--ease-out) !important;
  border-radius: 2px !important;
}

.nav-link:hover {
  color: var(--color-primary) !important;
}

.nav-link:hover::after {
  width: 100% !important;
}

.nav-link.active {
  color: var(--color-primary) !important;
}

.nav-link.active::after {
  width: 100% !important;
}

/* --------------------------------------------------------------
   CTA BUTTONS GROUP (far right)
   3 buttons: Primary | Outline | WhatsApp
   Under 900px: Primary + Outline hide; only WhatsApp + hamburger remain
   -------------------------------------------------------------- */
.nav-ctas {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: var(--s-3) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 899px) {
  .nav-ctas .btn-primary,
  .nav-ctas .btn-outline {
    display: none !important;
  }
}

/* --------------------------------------------------------------
   MOBILE HAMBURGER TOGGLE
   VISIBLE ONLY < 900px. NEVER shown alongside desktop nav links.
   -------------------------------------------------------------- */
.mobile-menu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: var(--r-md) !important;
  cursor: pointer !important;
  color: var(--color-on-surface) !important;
  flex-shrink: 0 !important;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out) !important;
}

/* Desktop (≥900px): hamburger HIDDEN. Nav links are visible instead. */
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-menu-toggle:hover {
  background: var(--color-muted) !important;
}

.mobile-menu-toggle svg {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
}

.mobile-menu-toggle[aria-expanded="true"] .icon-open {
  display: none !important;
}

.mobile-menu-toggle[aria-expanded="true"] .icon-close {
  display: block !important;
}

.mobile-menu-toggle .icon-close {
  display: none !important;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 51, 0.6);
  z-index: 40;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-base) var(--ease-out),
    visibility var(--dur-base) var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-backdrop {
    transition: none;
  }
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  max-width: 420px;
  background: var(--color-surface);
  z-index: 50;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-panel {
    transition: none;
  }
}

.mobile-nav-panel.open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--color-line);
  flex-shrink: 0;
}

.mobile-nav-head .site-brand img {
  height: 34px;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-on-surface);
  transition: background-color var(--dur-base) var(--ease-out);
}

.mobile-nav-close:hover {
  background: var(--color-muted);
}

.mobile-nav-close svg {
  width: 22px;
  height: 22px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--s-5);
  gap: var(--s-2);
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: var(--s-3);
  border-bottom: 1px solid var(--color-line);
  border-radius: var(--r-md);
  color: var(--color-on-surface);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--fs-base);
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--color-muted);
  color: var(--color-primary);
}

.mobile-nav-ctas {
  padding: var(--s-5);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex-shrink: 0;
}

/* ==========================================================================
   C) FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-overlay);
  color: var(--color-on-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
  margin-top: var(--space-2xl);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer-brand a.site-brand {
  width: fit-content;
}

.footer-brand-mark {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h5 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--s-4);
  font-weight: var(--font-weight-semibold);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--fs-sm);
  line-height: 1.5;
  transition: color var(--dur-base) var(--ease-out);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-on-primary);
}

.footer-contact-line {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-sm);
  display: block;
  margin-bottom: var(--s-2);
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}

a.footer-contact-line:hover {
  color: var(--color-on-primary);
}

.footer-social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.footer-social-link:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}

.legal-links a:hover {
  color: var(--color-on-primary);
}

/* ==========================================================================
   D) MOBILE STICKY CONVERSION BAR
   ========================================================================== */

.mobile-cbar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-line);
    padding: var(--s-2) var(--s-3);
    gap: var(--s-2);
    box-shadow: 0 -2px 8px rgba(10, 22, 51, 0.06), 0 -4px 16px rgba(10, 22, 51, 0.05);
  }

  body {
    padding-bottom: var(--space-10);
  }
}

@supports not (backdrop-filter: blur(8px)) {
  .mobile-cbar {
    background: var(--color-surface);
  }
}

.mobile-cbar .btn {
  flex: 1;
  min-height: 48px;
  padding: var(--s-3);
  font-size: var(--fs-sm);
  border-radius: var(--r-md);
}

.mobile-whatsapp {
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: var(--color-on-primary);
}

.mobile-whatsapp:hover {
  opacity: 0.92;
}

.mobile-assess-btn {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.mobile-assess-btn:hover {
  opacity: 0.92;
}

/* ==========================================================================
   E) WHATSAPP FLOAT (DESKTOP ONLY)
   ========================================================================== */

.wa-float {
  display: none;
}

@media (min-width: 768px) {
  .wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: var(--color-whatsapp);
    color: var(--color-on-primary);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(10, 22, 51, 0.1);
    transition:
      filter var(--dur-base) var(--ease-out),
      transform var(--dur-base) var(--ease-out),
      box-shadow var(--dur-base) var(--ease-out);
  }

  .wa-float:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(10, 22, 51, 0.12);
  }

  .wa-float:focus-visible {
    outline: 2px solid var(--color-whatsapp);
    outline-offset: 4px;
  }
}

.wa-icon {
  width: 28px;
  height: 28px;
  fill: var(--color-on-primary);
  flex-shrink: 0;
}

.wa-tooltip {
  display: none;
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-surface);
  color: var(--color-on-surface);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
}

@media (min-width: 768px) {
  .wa-tooltip {
    display: block;
  }
}

.mobile-sticky-bar {
  position: fixed;
  z-index: 20;
  bottom: 0;
  inset-inline: 0;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -4px 16px rgba(10, 22, 51, 0.08);
}
.mobile-sticky-bar .btn {
  flex: 1 1 auto;
  justify-content: center;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   F) CARDS
   ========================================================================== */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card > .card-cta,
.card > .card-disclaimer:last-child {
  margin-top: auto;
}

.card-lg {
  padding: var(--s-6);
}

@media (min-width: 768px) {
  .card-lg {
    padding: var(--s-8);
  }
}

.card-md {
  padding: var(--s-5);
}

.card-sm {
  padding: var(--s-4);
}

/* Product card */
.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-card-link:hover {
  color: inherit;
}

.product-card-media {
  aspect-ratio: 4 / 3;
  background: var(--color-muted);
  overflow: hidden;
  position: relative;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.product-card-badges {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  right: var(--s-3);
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  z-index: 2;
  pointer-events: none;
}

.product-card-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s-3);
}

.product-card-brand {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
  color: var(--color-muted-foreground);
  font-weight: var(--font-weight-semibold);
}

.product-card-name {
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-xl);
  color: var(--color-on-surface);
  line-height: var(--lh-tight);
  transition: color var(--dur-base) var(--ease-out);
}

.product-card:hover .product-card-name {
  color: var(--color-primary);
}

.product-card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2) var(--s-4);
  margin: var(--s-2) 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  gap: var(--s-2);
}

.spec-row .k {
  color: var(--color-muted-foreground);
}

.spec-row .v {
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
  text-align: right;
}

.product-card-footer {
  margin-top: auto;
  padding-top: var(--s-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.product-price {
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-lg);
  color: var(--color-primary);
}

.product-availability {
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--r-sm);
  background: rgba(0, 41, 178, 0.08);
  color: var(--color-primary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.badge-primary {
  background: rgba(0, 41, 178, 0.1);
  color: var(--color-primary);
}

.badge-accent {
  background: rgba(242, 169, 59, 0.15);
  color: var(--color-accent);
}

.badge-muted {
  background: var(--color-muted);
  color: var(--color-muted-foreground);
}

.badge-success {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.badge-placeholder {
  background: var(--color-muted);
  color: var(--color-muted-foreground);
  font-style: italic;
}

/* Project card */
.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card-media {
  aspect-ratio: 16 / 9;
  background: rgba(10, 22, 51, 0.1);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  position: relative;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-line) 100%);
  color: var(--color-muted-foreground);
  text-align: center;
  padding: var(--s-6);
}

.project-card-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.project-card-placeholder span {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: var(--font-weight-semibold);
  opacity: 0.7;
}

.project-card-body {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s-3);
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.project-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-on-surface);
  line-height: var(--lh-tight);
}

.project-card p {
  color: var(--color-muted-foreground);
  line-height: var(--lh-normal);
  margin: 0;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--color-line);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--color-muted-foreground);
}

.project-meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.project-meta-item strong {
  color: var(--color-on-surface);
  font-weight: var(--font-weight-semibold);
}

/* Package card */
.package-card {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

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

.package-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(0, 41, 178, 0.1), var(--shadow-md);
}

.package-card .ribbon {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  z-index: 2;
}

.package-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--color-line);
}

.package-name {
  font-size: var(--fs-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

.package-tagline {
  color: var(--color-muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

.package-price {
  font-size: var(--fs-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: var(--s-2);
}

.package-price small {
  font-size: var(--fs-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-muted-foreground);
  letter-spacing: normal;
}

.package-specs {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}

.package-specs .spec-row {
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-sm);
  align-items: center;
}

.package-specs .spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.package-specs .spec-row .k {
  font-size: var(--fs-sm);
  color: var(--color-muted-foreground);
}

.package-specs .spec-row .v {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-on-surface);
}

.package-card-cta {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--color-line);
}

.package-card-disclaimer {
  font-size: var(--fs-xs);
  color: var(--color-muted-foreground);
  line-height: 1.5;
  margin-top: var(--s-3);
}

/* ==========================================================================
   G) FORMS
   ========================================================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-group label {
  font-weight: var(--font-weight-semibold);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  height: 48px;
  padding: var(--space-3) var(--space-4);
  border-radius: 10px;
  border: 1px solid var(--color-line);
  font-size: 0.95rem;
  background: var(--color-surface);
  color: var(--color-on-surface);
  font-family: var(--font-sans);
  line-height: 1.5;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  height: auto;
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 41, 178, 0.1);
}

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

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-1-5);
}

@media (min-width: 768px) {
  .field.full {
    grid-column: 1 / -1;
  }
}

.field label {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface);
  line-height: 1.3;
}

.field label .required {
  color: var(--color-danger);
  margin-left: 2px;
}

.field .hint {
  font-size: var(--fs-xs);
  color: var(--color-muted-foreground);
  line-height: 1.5;
  margin: 0;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  color: var(--color-on-surface);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.5;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-muted-foreground);
  opacity: 0.8;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: color-mix(in srgb, var(--color-line) 85%, var(--color-on-surface) 15%);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 41, 178, 0.12);
}

.input:disabled,
.select:disabled,
.textarea:disabled {
  background: var(--color-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.input.has-error,
.select.has-error,
.textarea.has-error {
  border-color: var(--color-danger);
}

.input.has-error:focus,
.select.has-error:focus,
.textarea.has-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6478' 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 var(--s-4) center;
  background-size: 18px;
  padding-right: var(--s-10);
  cursor: pointer;
}

.textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--font-sans);
}

.field .error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--color-danger);
  line-height: 1.4;
  align-items: center;
  gap: var(--s-1);
}

.field .error.show {
  display: inline-flex;
}

.field .error svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.field-group-label {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
  margin-bottom: var(--s-2);
}

.checkbox-row,
.radio-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition:
    border-color var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
}

.checkbox-row:hover,
.radio-row:hover {
  border-color: var(--color-primary);
  background: rgba(0, 41, 178, 0.02);
}

.checkbox-row input[type="checkbox"],
.radio-row input[type="radio"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.checkbox-content,
.radio-content {
  flex: 1;
  min-width: 0;
}

.checkbox-title,
.radio-title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
  font-size: var(--fs-base);
  line-height: 1.3;
}

.checkbox-desc,
.radio-desc {
  font-size: var(--fs-sm);
  color: var(--color-muted-foreground);
  margin-top: var(--s-1);
  line-height: 1.5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--s-6);
}

.form-actions .btn {
  min-width: 160px;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--color-muted-foreground);
  line-height: 1.5;
}

.form-msg {
  border: 1px solid rgba(0, 41, 178, 0.2);
  background: rgba(0, 41, 178, 0.05);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  display: none;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--color-primary);
  line-height: 1.5;
  margin-top: var(--s-4);
}

.form-msg.show {
  display: flex;
}

.form-msg svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-msg-error {
  border-color: rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.05);
  color: var(--color-danger);
}

/* ==========================================================================
   H) KICKER + HERO
   ========================================================================== */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--s-3);
  line-height: 1;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: 0.6;
}

.kicker-accent {
  color: var(--color-accent);
}

.kicker-accent::before {
  background: var(--color-accent);
}

.page-hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}

.page-hero.hero-overlay {
  background: linear-gradient(135deg, var(--color-overlay) 0%, #001a73 60%, var(--color-primary) 100%);
  color: var(--color-on-primary);
}

.page-hero.hero-overlay h1,
.page-hero.hero-overlay .display {
  color: var(--color-on-primary);
}

.page-hero.hero-overlay p,
.page-hero.hero-overlay .lede {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero.hero-overlay .kicker {
  color: var(--color-accent);
}

.page-hero.hero-overlay .kicker::before {
  background: var(--color-accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.display {
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  font-size: clamp(2.3rem, 5.4vw, 4.8rem);
  margin: 0;
}

.lede {
  font-size: var(--fs-lg);
  line-height: 1.7;
  max-width: 42rem;
  color: var(--color-muted-foreground);
  margin-top: var(--s-4);
  margin-bottom: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--color-line);
}

.hero-overlay .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.hero-stat-num {
  font-size: var(--fs-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-overlay .hero-stat-num {
  color: var(--color-on-primary);
}

.hero-stat-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--font-weight-semibold);
  color: var(--color-muted-foreground);
}

.hero-overlay .hero-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

.hero-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-muted);
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-line) 100%);
  color: var(--color-muted-foreground);
  text-align: center;
  padding: var(--s-8);
}

.hero-media-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.hero-media-placeholder span {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-medium);
  max-width: 280px;
  line-height: 1.5;
}

/* ==========================================================================
   I) SECTION HEADERS
   ========================================================================== */

.section-header {
  margin-bottom: var(--space-xl);
  max-width: 900px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-2xl);
  }
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.center .kicker::before {
  display: none;
}

.section-header.center .kicker {
  justify-content: center;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin: 0;
  color: var(--color-on-surface);
}

.section-header .lede {
  margin-top: var(--s-3);
  max-width: 42rem;
}

.section-header.center .lede {
  margin-left: auto;
  margin-right: auto;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section-header-row h2 {
  margin: 0;
}

/* ==========================================================================
   J) TRUST BAR
   ========================================================================== */

.trustbar {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.6);
}

.trustbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .trust-item {
    font-size: var(--fs-base);
  }
}

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

.trust-sep {
  display: none;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--color-line);
  margin: 0 var(--s-2);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .trust-sep {
    display: block;
  }
}

/* ==========================================================================
   K) LARGE NUMBERED STEPS
   ========================================================================== */

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.step-row {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: rgba(0, 41, 178, 0.05);
  color: var(--color-primary);
  border: 1px solid rgba(0, 41, 178, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-extrabold);
  font-size: var(--fs-2xl);
  line-height: 1;
}

@media (min-width: 768px) {
  .step-num {
    width: 80px;
    height: 80px;
    font-size: var(--fs-3xl);
  }
}

.step-body {
  flex: 1;
  padding-top: var(--s-2);
  min-width: 0;
}

.step-body h4 {
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-xl);
  margin-bottom: var(--s-2);
  color: var(--color-on-surface);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .step-body h4 {
    font-size: var(--fs-2xl);
  }
}

.step-body p {
  color: var(--color-muted-foreground);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .step-body p {
    font-size: var(--fs-lg);
  }
}

.steps-alt {
  display: flex;
  flex-direction: column;
  gap: var(--s-0);
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.steps-alt::before {
  content: "";
  position: absolute;
  left: calc(32px - 1px);
  top: 64px;
  bottom: 0;
  width: 2px;
  background: var(--color-line);
}

@media (min-width: 768px) {
  .steps-alt::before {
    left: calc(40px - 1px);
  }
}

.steps-alt .step-row + .step-row {
  margin-top: var(--s-8);
}

/* ==========================================================================
   L) EDITORIAL 2-COL LAYOUT
   ========================================================================== */

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.editorial-grid.reverse .editorial-media {
  order: -1;
}

@media (min-width: 768px) {
  .editorial-grid.reverse .editorial-media {
    order: 1;
  }
}

.editorial-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--color-muted);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-media.overlay {
  position: relative;
}

.editorial-media.overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 51, 0.1) 0%, rgba(0, 41, 178, 0.3) 100%);
  pointer-events: none;
}

.editorial-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-line) 100%);
  color: var(--color-muted-foreground);
  text-align: center;
  padding: var(--s-8);
}

.editorial-media-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

.editorial-media-placeholder span {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-medium);
  max-width: 320px;
  line-height: 1.5;
}

.editorial-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--s-5);
  color: var(--color-on-surface);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.editorial-copy p {
  font-size: var(--fs-lg);
  line-height: 1.8;
  margin-bottom: var(--s-4);
  color: var(--color-muted-foreground);
}

.editorial-copy p:last-child {
  margin-bottom: 0;
}

.keypoints {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.keypoint {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.keypoint-num {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.keypoint-text {
  flex: 1;
  min-width: 0;
  padding-top: var(--space-1);
}

.keypoint-text h5 {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--s-1);
  font-size: var(--fs-base);
  color: var(--color-on-surface);
  line-height: 1.3;
}

.keypoint-text p {
  color: var(--color-muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   M) PACKAGES GRID
   ========================================================================== */

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 64rem;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   N) FILTER BAR (PRODUCTS PAGE)
   ========================================================================== */

.filterbar {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--s-8);
}

@media (min-width: 768px) {
  .filterbar {
    flex-direction: row;
    align-items: center;
    margin-bottom: var(--space-xl);
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  width: 100%;
}

@media (min-width: 768px) {
  .filter-group {
    width: auto;
  }
}

.filter-cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1-5);
  padding: var(--s-2) var(--s-4);
  border-radius: 9999px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
  user-select: none;
  font-family: var(--font-sans);
  line-height: 1.2;
}

.cat-chip:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.cat-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.filter-brands {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1-5) var(--s-3);
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
  user-select: none;
  font-family: var(--font-sans);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.brand-chip.active {
  background: rgba(0, 41, 178, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .search-wrap {
    max-width: 360px;
  }
}

.search-wrap svg {
  position: absolute;
  left: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-muted-foreground);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding-left: var(--s-11);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.products-empty {
  grid-column: 1 / -1;
  padding: var(--space-2xl);
  text-align: center;
  background: var(--color-surface);
  border: 1px dashed var(--color-line);
  border-radius: var(--r-xl);
}

.products-empty h4 {
  font-size: var(--fs-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--s-2);
}

.products-empty p {
  color: var(--color-muted-foreground);
  margin: 0;
}

/* ==========================================================================
   O) ASSESSMENT WIZARD SHELL
   ========================================================================== */

.assess-steps {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-8);
  padding: var(--s-3);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-width: 23%;
  flex: 1;
}

@media (min-width: 768px) {
  .step-indicator {
    min-width: auto;
  }
}

.step-indicator + .step-indicator::before {
  content: "";
  display: none;
  width: var(--s-3);
  height: 2px;
  background: var(--color-line);
  margin: 0 var(--s-1) 0 0;
  flex-shrink: 0;
  order: -1;
}

@media (min-width: 768px) {
  .step-indicator + .step-indicator::before {
    display: block;
  }
}

.step-dot {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9999px;
  background: var(--color-muted);
  color: var(--color-muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-sm);
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}

.step-dot.active {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.step-dot.completed {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.step-label {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-muted-foreground);
  line-height: 1.2;
}

.step-indicator.active-step .step-label {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.wizard-panel {
  display: none;
  animation: none;
}

.wizard-panel.active {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .wizard-panel.active {
    animation: wizardFadeIn var(--dur-slow) var(--ease-out);
  }
}

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

.wizard-panel-title {
  font-size: var(--fs-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}

.wizard-panel-sub {
  color: var(--color-muted-foreground);
  font-size: var(--fs-base);
  margin-bottom: var(--s-8);
  line-height: 1.6;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}

.wizard-nav .wizard-prev:empty,
.wizard-nav .wizard-prev[style*="display: none"] {
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   P) CALCULATOR SHELL
   ========================================================================== */

.calc-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}

@media (min-width: 768px) {
  .calc-shell {
    grid-template-columns: 1.5fr 1fr;
  }
}

.calc-table-wrap {
  overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.calc-table thead th {
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted-foreground);
  background: var(--color-background);
  white-space: nowrap;
}

.calc-table tbody td {
  border-bottom: 1px solid var(--color-line);
  padding: var(--s-3) var(--s-4);
  vertical-align: middle;
  font-size: var(--fs-sm);
}

.calc-table tbody tr:last-child td {
  border-bottom: none;
}

.calc-table tbody tr:hover {
  background: rgba(0, 41, 178, 0.02);
}

.calc-check {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.calc-app-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
}

.calc-app-cat {
  font-size: var(--fs-xs);
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.calc-qty,
.calc-hrs {
  width: 90px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  font-size: var(--fs-sm);
  font-family: var(--font-sans);
  text-align: center;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.calc-qty:focus,
.calc-hrs:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 41, 178, 0.12);
}

.calc-watt {
  font-variant-numeric: tabular-nums;
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
}

.calc-total-cell {
  font-variant-numeric: tabular-nums;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.result-box {
  padding: var(--s-5);
  position: sticky;
  top: 1rem;
}

.result-box h3 {
  font-size: var(--fs-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--color-line);
  letter-spacing: -0.01em;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--color-line);
  gap: var(--s-3);
}

.result-row:last-of-type {
  border-bottom: none;
}

.result-label {
  color: var(--color-muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.result-val {
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-base);
  color: var(--color-on-surface);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

@media (min-width: 768px) {
  .result-val {
    font-size: var(--fs-lg);
  }
}

.result-row.grand {
  padding: var(--s-4) 0 0;
  margin-top: var(--s-3);
  border-top: 2px solid var(--color-line);
  border-bottom: none;
}

.result-row.grand .result-label {
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
  font-size: var(--fs-base);
}

.result-row.grand .result-val {
  color: var(--color-primary);
  font-size: var(--fs-xl);
}

.recommend-box {
  background: rgba(0, 41, 178, 0.05);
  padding: var(--s-4);
  border-radius: var(--r-lg);
  margin-top: var(--s-5);
}

.recommend-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  line-height: 1;
}

.recommend-val {
  font-size: var(--fs-xl);
  font-weight: var(--font-weight-extrabold);
  margin-top: var(--s-2);
  color: var(--color-on-surface);
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
}

@media (min-width: 768px) {
  .recommend-val {
    font-size: var(--fs-2xl);
  }
}

.recommend-desc {
  font-size: var(--fs-sm);
  color: var(--color-muted-foreground);
  margin-top: var(--s-2);
  line-height: 1.5;
}

.calc-cta {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

/* ==========================================================================
   Q) FAQ (DETAILS/SUMMARY)
   ========================================================================== */

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-list details {
  border-bottom: 1px solid var(--color-line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--color-line);
}

.faq-list details[open] {
  background: rgba(0, 41, 178, 0.015);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5) 0;
  font-weight: var(--font-weight-semibold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  color: var(--color-on-surface);
  font-size: var(--fs-base);
  line-height: 1.4;
  transition: color var(--dur-base) var(--ease-out);
  user-select: none;
}

.faq-list summary:hover {
  color: var(--color-primary);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-muted-foreground);
  transition: transform var(--dur-base) var(--ease-out);
}

.faq-list details[open] summary .chev {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-list details p {
  padding: 0 0 var(--s-5);
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

.faq-list details p + p {
  padding-top: var(--s-3);
}

/* ==========================================================================
   R) CUSTOMER-SEGMENT CARDS (3 COL HOME)
   ========================================================================== */

.segment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .segment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.segment-card {
  padding: var(--s-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

@media (min-width: 768px) {
  .segment-card {
    padding: var(--s-8);
  }
}

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

.segment-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: rgba(0, 41, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  color: var(--color-primary);
}

.segment-icon svg {
  width: 28px;
  height: 28px;
}

.segment-tag {
  margin-bottom: var(--s-3);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  align-self: flex-start;
}

.segment-card h3 {
  font-size: var(--fs-2xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--s-3);
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

.segment-card > p {
  color: var(--color-muted-foreground);
  line-height: 1.7;
  font-size: var(--fs-base);
  margin: 0 0 var(--s-4);
}

.segment-uses {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.segment-use {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  color: var(--color-muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.segment-use .tick-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 1px;
}

.segment-card .cta {
  margin-top: auto;
  padding-top: var(--s-5);
  width: 100%;
  font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   S) SERIAL CHECK (WARRANTY PAGE)
   ========================================================================== */

.serial-check {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
  margin-top: var(--s-8);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .serial-check {
    flex-direction: row;
    align-items: stretch;
  }

  .serial-check .input {
    flex: 1;
    min-width: 0;
  }

  .serial-check .btn {
    flex-shrink: 0;
    min-width: 180px;
  }
}

.serial-result {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--color-muted);
  font-size: var(--fs-sm);
  color: var(--color-on-surface);
  display: none;
  line-height: 1.6;
}

.serial-result.show {
  display: block;
}

.serial-result.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.serial-result.error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.18);
}

.serial-result-head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--s-2);
}

.serial-result-head svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.serial-result.success .serial-result-head {
  color: #15803d;
}

.serial-result.error .serial-result-head {
  color: var(--color-danger);
}

.serial-result-body {
  color: var(--color-muted-foreground);
}

.serial-result-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2) var(--s-6);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--color-line);
}

@media (min-width: 500px) {
  .serial-result-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.serial-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.serial-detail-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted-foreground);
  font-weight: var(--font-weight-semibold);
}

.serial-detail-val {
  font-size: var(--fs-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-on-surface);
}

.copy-btn {
  margin-top: var(--s-4);
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-xs);
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  color: var(--color-on-surface);
  cursor: pointer;
  font-weight: var(--font-weight-semibold);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1-5);
  transition: all var(--dur-base) var(--ease-out);
  font-family: var(--font-sans);
}

.copy-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   T) SUPPORT CATEGORIES (6 CARDS GRID)
   ========================================================================== */

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--s-8);
}

@media (min-width: 768px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-card {
  padding: var(--s-6);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  background: var(--color-surface);
  cursor: pointer;
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  color: inherit;
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: rgba(0, 41, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  color: var(--color-primary);
  transition: background-color var(--dur-base) var(--ease-out);
}

.support-card:hover .support-icon {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.support-icon svg {
  width: 24px;
  height: 24px;
}

.support-card h4 {
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-lg);
  margin-bottom: var(--s-2);
  color: var(--color-on-surface);
  line-height: var(--lh-tight);
}

.support-card p {
  color: var(--color-muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   U) PILL BADGES (PRODUCT DETAIL)
   ========================================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1-5);
  padding: var(--s-1) var(--s-3);
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
}

.pill-primary {
  background: rgba(0, 41, 178, 0.1);
  color: var(--color-primary);
  border-color: rgba(0, 41, 178, 0.2);
}

.pill-muted {
  background: var(--color-muted);
  color: var(--color-muted-foreground);
  border-color: var(--color-line);
}

.pill-accent {
  background: rgba(242, 169, 59, 0.15);
  color: var(--color-accent);
  border-color: rgba(242, 169, 59, 0.25);
}

.pill-success {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.2);
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ==========================================================================
   UTILITIES / SHARED PATTERNS
   ========================================================================== */

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.stack-md {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-line);
  border: 0;
  margin: var(--s-6) 0;
}

.text-primary {
  color: var(--color-primary);
}

.text-muted {
  color: var(--color-muted-foreground);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.font-extrabold {
  font-weight: var(--font-weight-extrabold);
}

.fs-xs { font-size: var(--fs-xs); }
.fs-sm { font-size: var(--fs-sm); }
.fs-lg { font-size: var(--fs-lg); }
.fs-xl { font-size: var(--fs-xl); }
.fs-2xl { font-size: var(--fs-2xl); }

.w-full { width: 100%; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-2 { margin-bottom: var(--s-2); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 56rem; }
.max-w-4xl { max-width: 72rem; }

/* ==========================================================================
   S) MOTION SYSTEM — KEYFRAMES
   ========================================================================== */

@keyframes energy-flow {
  from { stroke-dashoffset: 2000; }
  to   { stroke-dashoffset: 0; }
}

@keyframes pulse-glow {
  0%   { box-shadow: 0 0 0 0 rgba(0, 41, 178, 0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(0, 41, 178, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 41, 178, 0); }
}

@keyframes shimmer-image-load {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ==========================================================================
   T) REVEAL UTILITIES (scroll-in)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease, transform 450ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-text {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-slow, 380ms) var(--ease-out),
              transform var(--dur-slow, 380ms) var(--ease-out);
}

.reveal-text.is-visible {
  opacity: 1;
  transform: none;
}

.btn-loading {
  opacity: .8;
  pointer-events: none;
}

.spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  margin: 0 2px;
  animation: btn-spin-pulse 1.2s infinite ease-in-out both;
}

.spinner-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.spinner-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes btn-spin-pulse {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.field .has-error input,
.field .has-error select,
.field .has-error textarea {
  border-color: var(--color-danger) !important;
}

.field-error {
  color: var(--color-danger);
  font-size: var(--fs-xs);
  margin-top: var(--space-1);
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-base, 220ms) var(--ease-out),
              transform var(--dur-base, 220ms) var(--ease-out);
}

.reveal-word.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-base, 220ms) var(--ease-out),
              transform var(--dur-base, 220ms) var(--ease-out);
}

.reveal-char.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   U) ENERGY LINE (SVG stroke flow)
   ========================================================================== */

.energy-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: energy-flow 8s linear infinite;
}

/* ==========================================================================
   V) PULSE GLOW & SHIMMER
   ========================================================================== */

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.shimmer-image {
  background: linear-gradient(
    90deg,
    var(--color-muted) 0%,
    var(--color-line) 50%,
    var(--color-muted) 100%
  );
  background-size: 200% 100%;
  animation: shimmer-image-load 1.6s linear infinite;
}

/* ==========================================================================
   W) PREFERS-REDUCED-MOTION — full guard
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-text,
  .reveal-word,
  .reveal-char {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal.is-visible,
  .reveal-text.is-visible,
  .reveal-word.is-visible,
  .reveal-char.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .energy-line {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .pulse-glow {
    animation: none !important;
  }

  .shimmer-image {
    animation: none !important;
  }
}

/* ==========================================================================
   V) PILLARS GRID (3-COL HOME SOLUTIONS)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl) var(--space-md);
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8) var(--space-6);
  }
}

.pillar,
.keypillar {
  background: transparent;
  border: 0;
  padding: 0;
}

.pillar-number {
  font-size: 3.2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--s-5);
  opacity: 0.85;
}

.pillar-label {
  font-size: var(--fs-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--s-2-5);
  display: block;
  line-height: 1;
}

/* ==========================================================================
   W) FINAL CTA BAND (ASSESSMENT CLOSE)
   ========================================================================== */

.final-cta {
  background: linear-gradient(135deg, var(--color-overlay) 0%, #001a73 50%, var(--color-primary) 100%);
  color: var(--color-on-primary);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(242, 169, 59, 0.15), transparent 60%);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-cta h2 {
  color: var(--color-on-primary);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin-bottom: var(--s-4);
}

.final-cta .lede {
  color: rgba(255, 255, 255, 0.85);
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero-ctas {
  justify-content: center;
}

.final-cta .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   X) MOBILE AUDIT TUNES (compact + typography)
   ========================================================================== */

@media (max-width: 520px) {
  .hero-grid {
    gap: var(--space-5);
    padding: var(--space-9) 0 !important;
  }
}

@media (max-width: 480px) {
  .display {
    letter-spacing: -0.02em;
  }

  .lede {
    line-height: 1.6 !important;
  }
}

@media (max-width: 768px) {
  .appliance-table thead {
    display: none;
  }

  .appliance-table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--r-md);
    background: var(--color-surface);
  }

  .appliance-table tbody td {
    display: block;
    width: 100%;
  }

  .appliance-table tbody td:first-child,
  .appliance-table tbody td:nth-child(2) {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    width: auto;
  }

  .appliance-table tbody td:first-child {
    margin-right: 8px;
  }

  .appliance-table tbody td:nth-child(2) {
    flex: 1;
    font-weight: 600;
  }

  .appliance-table tbody td:nth-child(3)::before {
    content: "Quantity";
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted-foreground);
    margin-bottom: 4px;
  }

  .appliance-table tbody td:nth-child(4)::before {
    content: "Hours per day";
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted-foreground);
    margin-bottom: 4px;
  }
}
