/* ==========================================================================
   JoomlaHelpNow — Components
   ========================================================================== */

/* ---- Icons -------------------------------------------------------------- */
.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ---- Buttons -------------------------------------------------------------
   Flat, purposeful, minimal radius — technical rather than "bubbly".
   -------------------------------------------------------------------- */
.btn {
  --btn-pad-y: 0.8rem;
  --btn-pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lg { --btn-pad-y: 1rem; --btn-pad-x: 2rem; font-size: var(--fs-base); }

.btn--primary {
  background: var(--purple-600);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}
.btn--primary:hover { background: var(--purple-700); box-shadow: 0 16px 32px rgba(109, 58, 174, 0.3); }

.btn--secondary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { border-color: var(--purple-300); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--purple-600); }

.btn--emergency {
  background: var(--amber-500);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}
.btn--emergency:hover { background: var(--amber-600); }

.btn--on-dark.btn--ghost { color: var(--slate-200); }
.btn--on-dark.btn--ghost:hover { color: var(--white); }

/* ---- Badges --------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--purple-50);
  color: var(--purple-700);
  border: 1px solid var(--purple-100);
}
.badge--teal { background: var(--teal-100); color: var(--teal-600); border-color: transparent; }
.badge--amber { background: var(--amber-100); color: var(--amber-600); border-color: transparent; }
.badge--outline { background: transparent; color: var(--slate-300); border-color: rgba(255,255,255,0.16); }
.badge__icon { width: 0.9em; height: 0.9em; }

/* ---- Cards ---------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.card--link .card__link { cursor: pointer; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-100);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--purple-50);
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}
.card__icon-svg { width: 24px; height: 24px; }
.card__title { margin: 0; font-size: var(--fs-md); }
.card__text { margin: 0; font-size: var(--fs-sm); color: var(--slate-500); line-height: var(--lh-normal); }
.card__link {
  margin-top: auto;
  padding-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--purple-600);
}
.card__link-icon { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease-out); }
.card:hover .card__link-icon { transform: translateX(3px); }

.card--compact {
  padding: var(--space-6);
  gap: var(--space-2);
}
.card--compact .card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}
.card--compact .card__icon-svg { width: 20px; height: 20px; }
.card--compact .card__title { font-size: var(--fs-base); }
.card--compact .card__text { font-size: var(--fs-xs); }
.card--compact .card__link { font-size: var(--fs-xs); }

/* ---- Shared lead form --------------------------------------------------- */
.lead-form { padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.lead-form__intro h2 { margin-block: var(--space-2) var(--space-2); font-size: var(--fs-xl); }
.lead-form__intro p { margin: 0 0 var(--space-5); color: var(--slate-500); font-size: var(--fs-xs); line-height: var(--lh-normal); }
.lead-form__label { color: var(--purple-600); font-family: var(--font-mono); font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; }
.lead-form form { display: grid; gap: var(--space-3); }
.lead-form label { display: grid; gap: var(--space-1); color: var(--navy-800); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.lead-form label span { color: var(--slate-400); font-weight: var(--fw-regular); }
.lead-form input, .lead-form textarea { width: 100%; padding: .65rem .75rem; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); color: var(--navy-800); background: var(--white); font: inherit; font-size: var(--fs-sm); }
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--purple-300); outline-offset: 1px; border-color: var(--purple-400); }
.lead-form textarea { resize: vertical; min-height: 74px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.lead-form .btn { width: 100%; margin-top: var(--space-1); }
.lead-form__privacy { margin: 0; color: var(--slate-400); font-size: var(--fs-2xs); line-height: var(--lh-normal); text-align: center; }
.lead-form__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__notice { margin: 0 0 var(--space-4); padding: var(--space-3); border-radius: var(--radius-sm); font-size: var(--fs-xs); }
.lead-form__notice--success { color: var(--teal-600); background: var(--teal-100); }
.lead-form__notice--error { color: var(--amber-600); background: var(--amber-100); }

/* ---- Shared CTA banner -------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--purple-700) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--space-4); }
.cta-band p { color: var(--purple-100);max-width: 900px;margin: 0px auto;  }
.cta-band__actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); }

/* ---- Trust badge row (qualitative, non-numeric trust indicators) ------- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  box-shadow: var(--shadow-sm);
}
.trust-row__item-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--purple-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-row__item-icon svg { width: 12px; height: 12px; }

/* ---- FAQ accordion ------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 780px;
  margin-inline: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__heading { margin: 0; }
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy-800);
}
.faq-item__trigger:hover { color: var(--purple-600); }
.faq-item__caret {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--slate-400);
  transition: transform var(--duration-base) var(--ease-out);
}
.faq-item__trigger[aria-expanded="true"] .faq-item__caret { transform: rotate(180deg); color: var(--purple-600); }
.faq-item__panel {
  padding: 0 var(--space-6) var(--space-5);
}
.faq-item__answer {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: var(--lh-normal);
  max-width: 640px;
}

/* ---- Emergency CTA section (amber accent, used sparingly per brand) ---- */
.emergency-cta {
  background: var(--navy-950);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.emergency-cta__signal {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--amber-500);
  margin-bottom: var(--space-3);
}
.emergency-cta__signal::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500);
  animation: pulse-dot-amber 1.6s ease-in-out infinite;
}
.emergency-cta__title { color: var(--white); max-width: 480px; margin-bottom: var(--space-2); }
.emergency-cta__text { color: var(--slate-400); max-width: 460px; }
.emergency-cta__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; flex-shrink: 0; }

@media (max-width: 720px) {
  .emergency-cta { padding: var(--space-8) var(--space-6); flex-direction: column; align-items: flex-start; }
  .emergency-cta__actions { width: 100%; }
  .emergency-cta__actions .btn { width: 100%; }
}

/* ---- Forms ------------------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--navy-800);
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:hover, .form-field textarea:hover, .form-field select:hover { border-color: var(--slate-300); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 4px var(--purple-100);
}
.form-field--error input { border-color: #D64545; }
.form-field__error { font-size: var(--fs-xs); color: #D64545; }
.form-hint { font-size: var(--fs-xs); color: var(--slate-400); }
.form-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

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

/* ---- Top utility bar --------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  gap: var(--space-4);
}
.topbar__message { display: flex; align-items: center; gap: var(--space-2); margin: 0; }
.topbar__icon { width: 14px; height: 14px; color: var(--teal-500); }
.topbar__phone { display: flex; align-items: center; gap: var(--space-2); color: var(--white); font-weight: var(--fw-semibold); }
.topbar__phone:hover { color: var(--purple-300); }

@media (max-width: 640px) {
  .topbar__message span { display: none; }
}

/* ---- Header / Navbar ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
  transition: padding var(--duration-base) var(--ease-out);
}
.site-header.is-scrolled .navbar__inner { padding-block: var(--space-3); }

.navbar__logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.navbar__logo-mark { width: 34px; height: 34px; }
.navbar__logo-text {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--navy-800);
}
.navbar__logo-emphasis { font-weight: var(--fw-bold); color: var(--purple-600); }
.navbar__logo-text--light { color: var(--white); }
.navbar__logo-text--light .navbar__logo-emphasis { color: var(--purple-300); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { display: block; width: auto; max-width: min(280px, 46vw); height: 48px; object-fit: contain; }

.navbar__toggle { display: none; padding: var(--space-2); }
.navbar__toggle-icon { width: 24px; height: 24px; color: var(--navy-800); }
.navbar__toggle-icon--close { display: none; }

.navbar__list { display: flex; align-items: center; gap: var(--space-8); }
.navbar__item { position: relative; }
.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--navy-800);
  padding-block: var(--space-2);
}
.navbar__link:hover { color: var(--purple-600); }
.navbar__caret { width: 14px; height: 14px; transition: transform var(--duration-base) var(--ease-out); }
.navbar__item.has-dropdown:hover .navbar__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility var(--duration-base);
}
.navbar__item.has-dropdown:hover .dropdown,
.navbar__item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.dropdown__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--slate-600);
  border-radius: var(--radius-sm);
}
.dropdown__link:hover { background: var(--purple-50); color: var(--purple-700); }

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

.navbar__menu { display: flex; align-items: center; gap: var(--space-10); }

@media (max-width: 940px) {
  .navbar__toggle { display: inline-flex; }
  .navbar__menu {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: var(--space-8) var(--container-pad);
    gap: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    overflow-y: auto;
  }
  .navbar__menu.is-open { transform: translateX(0); }
  .navbar__list { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .navbar__link { padding: var(--space-4) 0; border-bottom: 1px solid var(--slate-100); justify-content: space-between; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: var(--space-4);
  }
  .navbar__item.has-dropdown.is-open .dropdown { display: block; }
  .navbar__actions { flex-direction: column; align-items: stretch; margin-top: var(--space-4); }
  .navbar__actions .btn { width: 100%; }
}

/* ---- Mobile sticky call CTA ---------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-mobile-cta);
  align-items: center;
  gap: var(--space-2);
  background: var(--purple-600);
  color: var(--white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-purple);
}
.mobile-cta__icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .mobile-cta { display: inline-flex; }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
  padding-block: var(--space-20) var(--space-12);
}
.footer__tagline { margin: var(--space-4) 0 var(--space-5); font-size: var(--fs-sm); color: var(--slate-400); }
.footer__logo-surface { display: inline-flex; align-items: center; max-width: 100%; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--white); }
.site-footer .custom-logo { width: auto; max-width: min(230px, 100%); height: 46px; object-fit: contain; }
.footer__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.footer__heading {
  color: var(--white);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}
.footer__list { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--fs-sm); }
.footer__list a { color: var(--slate-400); }
.footer__list a:hover { color: var(--white); }
.footer__list--contact li { display: flex; align-items: center; gap: var(--space-2); }
.footer__icon { width: 16px; height: 16px; color: var(--purple-300); }
.footer__hours { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-xs); color: var(--slate-500); margin-bottom: var(--space-4); }
.footer__col .btn { margin-top: var(--space-2); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-6);
  font-size: var(--fs-2xs);
  color: var(--slate-500);
}
.footer__disclaimer { max-width: 560px; }
.footer__legal { display: flex; gap: var(--space-5); flex-shrink: 0; }
.footer__legal a { color: var(--slate-400); }
.footer__legal a:hover { color: var(--white); }

/* ---- Social sharing ---------------------------------------------------- */
.social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
  margin: var(--space-8) auto 0;
  max-width: var(--container-width);
  border-top: 1px solid var(--color-border);
  color: var(--slate-600);
}
.social-share__label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.social-share__links { display: flex; align-items: center; gap: var(--space-2); }
.social-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.social-share__link:hover { color: var(--white); border-color: var(--purple-600); background: var(--purple-600); transform: translateY(-1px); }
.social-share__link:focus-visible { outline: 2px solid var(--purple-300); outline-offset: 3px; }
@media (max-width: 480px) { .social-share { flex-direction: column; gap: var(--space-2); } }

@media (max-width: 940px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; padding-block: var(--space-12) var(--space-8); }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Signature element — the Live Diagnostic Panel
   A mock real-time site-health console used in the hero. It embodies the
   brand's actual job (diagnosing & fixing Joomla sites) instead of a
   generic illustration or gradient blob.
   ========================================================================== */
.diagnostic-panel {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
}
.diagnostic-panel__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.diagnostic-panel__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.diagnostic-panel__title {
  margin-left: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--slate-400);
  letter-spacing: 0.02em;
}
.diagnostic-panel__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-2xs);
  color: var(--teal-500);
}
.diagnostic-panel__live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-500);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.diagnostic-panel__body { padding: var(--space-6) var(--space-5); }
.diagnostic-line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--slate-400);
  opacity: 0;
  transform: translateY(6px);
  animation: line-reveal var(--duration-slow) var(--ease-out) forwards;
}
.diagnostic-line__status {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-500);
}
.diagnostic-line__status svg { width: 11px; height: 11px; }
.diagnostic-line__label { color: var(--slate-300); }
.diagnostic-line__value { margin-left: auto; color: var(--white); font-weight: var(--fw-medium); }
.diagnostic-panel__footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-2xs);
  color: var(--slate-500);
}
.diagnostic-panel__score { color: var(--teal-500); font-weight: var(--fw-semibold); font-family: var(--font-mono); }

/* ---- Stat / trust bar ---------------------------------------------------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat-bar__item {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-right: 1px solid var(--color-border);
}
.stat-bar__item:last-child { border-right: none; }
.stat-bar__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--purple-600);
}
.stat-bar__label {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  color: var(--slate-500);
}
@media (max-width: 640px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-bar__item:nth-child(2) { border-right: none; }
}

/* ---- Process steps ------------------------------------------------------ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: process;
}
.process__step {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.process__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--purple-400);
  display: block;
  margin-bottom: var(--space-4);
}
.process__title { margin-bottom: var(--space-2); }
.process__text { font-size: var(--fs-sm); color: var(--slate-500); }
.process__connector {
  position: absolute;
  top: 44px;
  right: calc(var(--space-6) * -1 - 1px);
  width: var(--space-6);
  height: 1px;
  background: var(--slate-200);
  display: none;
}
@media (min-width: 861px) {
  .process__step:not(:last-child) .process__connector { display: block; }
}
@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
}

/* ---- Testimonial -------------------------------------------------------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { display: flex; gap: 2px; color: var(--amber-500); margin-bottom: var(--space-4); }
.testimonial__stars svg { width: 16px; height: 16px; }
.testimonial__quote { color: var(--navy-800); font-size: var(--fs-md); line-height: var(--lh-snug); margin-bottom: var(--space-6); }
.testimonial__author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.testimonial__name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--navy-800); }
.testimonial__role { font-size: var(--fs-xs); color: var(--slate-500); }

@media (max-width: 640px) {
  .cta-band { padding: var(--space-10) var(--space-6); }
}
