/* ═══════════════════════════════════════════════════════════
   components.css  —  Every visual component & UI element
   ReadyStack  ·  Website-first operations theme
═══════════════════════════════════════════════════════════ */

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-spring);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn:active { transform: scale(.97); }

/* Sizes */
.btn-sm  { padding: .45rem 1rem;   font-size: var(--text-xs); }
.btn-md  { padding: .65rem 1.4rem; }
.btn     { padding: .7rem 1.6rem;  }
.btn-lg  { padding: .85rem 2rem;   font-size: var(--text-md); }
.btn-full { width: 100%; border-radius: var(--radius-lg); }

/* Amber (primary) */
.btn-amber {
  background: var(--amber);
  color: var(--charcoal-900);
  border-color: var(--amber);
  box-shadow: 0 2px 12px rgba(245,158,11,.3);
}
.btn-amber:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
  box-shadow: var(--shadow-amber);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--charcoal-900);
  border-color: var(--charcoal-300);
}
.btn-outline:hover {
  background: var(--charcoal-50);
  border-color: var(--charcoal-400);
}

/* Ghost (text-only) */
.btn-ghost {
  background: transparent;
  color: var(--charcoal-700);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--charcoal-100);
  color: var(--charcoal-900);
}

/* Dark section variants */
.section-dark .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.section-dark .btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}

/* Submit state */
.btn-spinner { display: none; }
.btn.loading .btn-label  { display: none; }
.btn.loading .btn-spinner { display: flex; }

/* ─── Nav Links ──────────────────────────────────────────── */
.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--charcoal-600);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: var(--amber);
  border-radius: 1px;
  transition: left var(--dur-base) var(--ease-out), right var(--dur-base) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--charcoal-900);
}

.nav-link.active::after,
.nav-link:hover::after {
  left: var(--space-3);
  right: var(--space-3);
}

/* Mobile links */
.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--charcoal-700);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(28, 28, 30, 0.08);
  transition: color var(--dur-fast), padding-left var(--dur-base) var(--ease-out);
}

.mobile-link:last-child { border-bottom: none; }

.mobile-link:hover {
  color: var(--amber);
  padding-left: var(--space-3);
}

/* ─── Hero components ────────────────────────────────────── */
/* Homepage-hero text styles live scoped in src/components/Hero.astro.
   .eyebrow-dot stays global: PageHero.astro renders it on subpages. */
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
/* ─── Dashboard UI elements ──────────────────────────────── */
.dash-brand-mark {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: .58rem;
  letter-spacing: .04em;
  color: var(--charcoal-900);
  background: var(--amber);
  width: auto;
  min-width: 26px;
  height: 26px;
  padding-inline: .45rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-brand-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
}

.dash-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: var(--weight-bold);
  color: #ff6b6b;
  letter-spacing: .12em;
}

.dash-clock {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
}
/* Panel header */
.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.panel-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: var(--weight-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.panel-badge-green {
  background: rgba(16,185,129,.15);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.25);
}
/* Legacy fallback if the score ring is replaced with static text */
.score-placeholder {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
}

.score-placeholder span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
}

.score-placeholder small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,.45);
}
/* Metric card */
.metric-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-green  { background: var(--green-dim); }
.metric-amber  { background: var(--amber-dim); }
.metric-blue   { background: var(--blue-dim);  }
.metric-purple { background: var(--purple-dim); }

.metric-body { flex: 1; min-width: 0; }

.metric-val {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: var(--weight-bold);
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: .55rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  white-space: nowrap;
}
.trend-up      { color: var(--green); }
.trend-neutral { color: var(--blue);  }
.trend-good    { color: var(--green); }

.metric-spark { flex-shrink: 0; }
.alert-dot-warn { background: var(--amber); }
.alert-dot-ok   { background: var(--green); }
.alert-dot-info { background: var(--blue);  }

.alert-text,
.alert-msg {
  color: rgba(255,255,255,.72);
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.alert-time { color: rgba(255,255,255,.2); flex-shrink: 0; }
.ep-dot-online  { background: var(--green); }
.ep-dot-warning { background: var(--amber); }
.ep-dot-offline { background: rgba(255,255,255,.15); }
/* ─── Trust strip chips ──────────────────────────────────── */
.partner-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: .45rem 1.1rem;
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.86);
  color: var(--charcoal-500);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(24,29,38,.03);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.partner-chip:hover {
  color: var(--charcoal-900);
  border-color: rgba(245,158,11,.4);
  box-shadow: 0 8px 24px rgba(24,29,38,.1), 0 0 0 2px rgba(245,158,11,.1);
  transform: translateY(-3px) scale(1.05);
}

.partner-chip img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform .2s ease, opacity .2s ease;
}

.partner-chip:hover img {
  transform: translateY(-1px);
  opacity: .92;
}

/* ─── About: terminal card ───────────────────────────────── */
.terminal-card {
  background: var(--charcoal-950);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow-lg);
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--charcoal-900);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.td-red   { background: #FF5F57; }
.td-amber { background: #FFBD2E; }
.td-green { background: #28C840; }

.terminal-filename {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
  margin-left: auto;
  letter-spacing: .04em;
}

.terminal-body {
  padding: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.8;
  color: rgba(255,255,255,.7);
  min-height: 160px;
}

.terminal-line {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
}

.terminal-prompt { color: var(--amber); flex-shrink: 0; }
.terminal-cmd    { color: rgba(255,255,255,.5); }
.terminal-out-ok   { color: var(--green);  }
.terminal-out-warn { color: var(--amber);  }
.terminal-out-info { color: var(--blue);   }
.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--amber);
  margin-left: 2px;
  animation: blink .9s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* About stat numbers */
.about-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--amber);
  letter-spacing: -.03em;
  line-height: 1;
}

.about-stat-lbl {
  font-size: var(--text-xs);
  color: var(--charcoal-500);
  font-weight: var(--weight-medium);
}

/* ─── Service Cards ──────────────────────────────────────── */
.svc-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  cursor: default;
}

.svc-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,.06), var(--shadow-md);
  transform: translateY(-3px);
}

.svc-card-hot {
  border-color: rgba(245,158,11,.3);
  background: linear-gradient(135deg, var(--amber-50) 0%, var(--white) 60%);
}

.svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.svc-icon {
  width: 48px;
  height: 48px;
  background: var(--charcoal-50);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.svc-card:hover .svc-icon {
  background: var(--amber-50);
  border-color: rgba(245,158,11,.3);
}

.svc-icon svg {
  transition: transform var(--dur-base) var(--ease-spring);
}

.svc-card:hover .svc-icon svg {
  transform: scale(1.2) rotate(-6deg);
}

.svc-tier {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--charcoal-400);
  border: 1px solid var(--charcoal-200);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: .04em;
}

.svc-tier-hot {
  color: var(--amber-600);
  background: var(--amber-50);
  border-color: rgba(245,158,11,.3);
}

.svc-tier-premium {
  color: var(--purple);
  background: var(--purple-dim);
  border-color: rgba(139,92,246,.2);
}

.svc-name {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--charcoal-900);
  letter-spacing: -.02em;
}

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

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.svc-tags span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--charcoal-600);
  background: var(--charcoal-50);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
}

.svc-metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--charcoal-100);
}

.svc-metric-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--amber);
  letter-spacing: -.03em;
  line-height: 1;
}

.svc-metric-lbl {
  font-size: var(--text-sm);
  color: var(--charcoal-500);
  font-weight: var(--weight-medium);
}

/* ─── Service Filter Tabs ────────────────────────────────── */
.svc-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-7);
}

.svc-filter-btn {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--charcoal-500);
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  cursor: pointer;
  letter-spacing: .04em;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.svc-filter-btn:hover {
  border-color: var(--charcoal-400);
  color: var(--charcoal-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.svc-filter-btn.active {
  background: var(--charcoal-900);
  color: var(--white);
  border-color: var(--charcoal-900);
  transform: none;
  box-shadow: none;
}

/* ─── Process ────────────────────────────────────────────── */
.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--amber);
  letter-spacing: .08em;
}

.step-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.step-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--white);
  letter-spacing: -.02em;
}

.step-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

.step-node {
  background: var(--charcoal-800);
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,.1);
  transition: box-shadow var(--dur-base) var(--ease-out), background var(--dur-base);
}

.process-step:hover .step-node {
  background: rgba(245,158,11,.1);
  box-shadow: 0 0 0 8px rgba(245,158,11,.08);
}

.step-outcome {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--radius-full);
  padding: .28rem .8rem;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: 300ms;
}

.process-step.revealed .step-outcome {
  opacity: 1;
  transform: translateY(0);
}
.legend-fort    { background: rgba(245,158,11,.5); }
.legend-command { background: var(--amber); }
/* ─── Pricing Cards ──────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
  position: relative;
}

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

.pricing-featured {
  background: var(--charcoal-900);
  border-color: transparent;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(245,158,11,.3);
}

.pricing-featured:hover {
  box-shadow: var(--shadow-xl), 0 0 0 2px var(--amber), var(--shadow-amber);
}

.featured-crown {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--charcoal-900);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: .3rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: .02em;
}

.tier-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--charcoal-400);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tier-label-amber { color: var(--amber); }

.tier-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -.03em;
}

.pricing-card:not(.pricing-featured) .tier-name { color: var(--charcoal-900); }
.pricing-featured .tier-name { color: var(--white); }

.tier-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  line-height: 1;
}

.price-sign {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--charcoal-400);
}

.price-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: -.04em;
  transition: color var(--dur-base);
}

.pricing-card:not(.pricing-featured) .price-num { color: var(--charcoal-900); }
.pricing-featured .price-num { color: var(--amber); }

.price-per {
  font-size: var(--text-sm);
  color: var(--charcoal-400);
}

.tier-line {
  font-size: var(--text-sm);
  color: var(--charcoal-500);
  line-height: 1.5;
}

.pricing-featured .tier-line { color: rgba(255,255,255,.5); }
.pricing-featured .tier-label { color: rgba(255,255,255,.4); }
.pricing-featured .price-sign { color: rgba(255,255,255,.4); }
.pricing-featured .price-per  { color: rgba(255,255,255,.4); }

.tier-feats {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.tier-feats li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.pricing-card:not(.pricing-featured) .tier-feats li { color: var(--charcoal-700); }
.pricing-featured .tier-feats li { color: rgba(255,255,255,.75); }
/* ─── Pricing Phase Row ──────────────────────────────────── */
.pricing-phase-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-5);
  background: var(--charcoal-50);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
}

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

.pricing-phase-monthly {
  justify-content: flex-end;
  text-align: right;
}

.pricing-phase-arrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--charcoal-400);
  white-space: nowrap;
  text-align: center;
}

.pricing-phase-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: .04em;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-phase-once .pricing-phase-num {
  background: rgba(16,185,129,.15);
  color: var(--green);
}

.pricing-phase-monthly .pricing-phase-num {
  background: rgba(245,158,11,.15);
  color: var(--amber);
  order: 1;
}

.pricing-phase-monthly .pricing-phase-lbl {
  order: 0;
}

.pricing-phase-lbl {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--charcoal-600);
}

/* ─── Add-ons Divider ────────────────────────────────────── */
.addons-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.addons-divider-line {
  flex: 1;
  height: 1px;
  background: var(--charcoal-200);
}

.addons-divider-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal-400);
  white-space: nowrap;
}

/* ─── FAQ Accordion ──────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--charcoal-200);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--charcoal-900);
  text-align: left;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.faq-q:hover { background: var(--charcoal-50); color: var(--amber); }
.faq-q[aria-expanded="true"] { color: var(--amber); }

.faq-arrow {
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
  color: var(--charcoal-400);
}

.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.faq-a.open {
  grid-template-rows: 1fr;
}

.faq-a p {
  overflow: hidden;
  min-height: 0;
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--charcoal-600);
  line-height: 1.7;
}

/* ─── FAQ Filter Tabs ────────────────────────────────────── */
.faq-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding: var(--space-2);
  background: var(--charcoal-100);
  border-radius: var(--radius-full);
  width: fit-content;
}

.faq-filter-btn {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--charcoal-500);
  padding: .45rem 1.1rem;
  border-radius: var(--radius-full);
  transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}

.faq-filter-btn:hover { color: var(--charcoal-900); }

.faq-filter-btn.active {
  background: var(--white);
  color: var(--charcoal-900);
  box-shadow: var(--shadow-sm);
}
.testi-meta { flex: 1; min-width: 0; }

.form-nav-primary { flex: 1; }

/* ─── Footer components ──────────────────────────────────── */
.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.4);
  max-width: 32ch;
  line-height: 1.6;
}

.footer-trust-chips span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  padding: .25rem .65rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.4);
  transition: color var(--dur-fast);
  line-height: 1;
}

.footer-col a:hover { color: var(--amber); }

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  transition: color var(--dur-fast);
}

.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ─── Back to top ────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: calc(var(--space-6) + 64px);
  right: var(--space-6);
  z-index: 799;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--amber);
  color: var(--charcoal-950);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(.85);
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    background var(--dur-fast);
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--amber-600);
  transform: translateY(-2px) scale(1.05);
}

#back-to-top:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}


/* ─── Magnetic button helper ─────────────────────────────── */
.magnetic {
  transform-style: preserve-3d;
  will-change: transform;
}
.compliance-dashboard {
  position: relative;
  width: 100%;
}

.compliance-dashboard .dashboard-frame {
  max-width: 100%;
}

.compliance-dashboard .dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compliance-dashboard .dash-score-panel,
.compliance-dashboard .dash-endpoints-panel {
  min-height: auto;
}

.compliance-dashboard .dash-metrics-strip {
  grid-template-columns: repeat(2, 1fr);
}
/* Security Score + Operate Stack */

.dash-body {
  align-items: stretch;
}

/* spacing between left and right sections */

.dash-score-panel,
.dash-operate-panel {
  min-height: 100%;
}


/* Status indicator dot for Operate Stack */

.operate-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  opacity: 0.85;
}

/* ─── ReadyStack Operate Stack panel ─────────────────────── */
/* Keeps Security Score and Operate Stack visually balanced in the dashboard. */
.dash-score-panel,
.dash-operate-panel {
  min-height: 100%;
}

.dash-operate-panel {
  padding: .9rem 1rem;
}

.operate-stack-mini {
  display: grid;
  gap: .5rem;
  margin-top: .65rem;
}

.operate-mini-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .65rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}

.operate-mini-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--green);
  letter-spacing: .04em;
  line-height: 1.1;
}

.operate-mini-item span:not(.operate-dot) {
  display: block;
  margin-top: .12rem;
  font-family: var(--font-mono);
  font-size: .58rem;
  color: rgba(255,255,255,.5);
  line-height: 1.2;
}

/* Live status dot for Operate Stack items. */
.operate-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  opacity: .85;
  flex-shrink: 0;
}/* ═══════════════════════════════════════════════════════════
   ReadyStack Digital component refinements
   Uses existing palette, font stack, radii and shadow tokens.
═══════════════════════════════════════════════════════════ */

/* Header and navigation */
.nav-status {
  background: rgba(16, 185, 129, .08);
  border: 1px solid rgba(16, 185, 129, .16);
  border-radius: var(--radius-full);
  padding: .35rem .7rem;
}

/* Services */
.svc-card {
  display: flex;
  flex-direction: column;
}

.svc-card .svc-metric {
  margin-top: auto;
}

.svc-actions {
  margin-top: var(--space-5);
}

.svc-card .btn {
  position: relative;
  z-index: 2;
}

.service-index-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* Pricing */
.tier-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-card {
  min-height: 100%;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card[data-tier="website-build"] {
  border-color: rgba(16, 185, 129, .18);
}

.pricing-card[data-tier="care-plus"] {
  border-color: rgba(245, 158, 11, .24);
}

/* Online presence cards */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-4);
}

.offer-card {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(24, 29, 38, .1);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.offer-card::after {
  content: "";
  position: absolute;
  top: -52px;
  right: -52px;
  width: 142px;
  height: 142px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, .08);
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, .34);
  box-shadow: var(--shadow-lg);
}

.offer-kicker {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: var(--space-3);
}

.offer-card .svc-name,
.offer-card .svc-desc {
  position: relative;
  z-index: 1;
}
#security .dash-brand-mark {
  min-width: auto;
  height: 28px;
  padding-inline: .7rem;
}

#security .score-placeholder {
  min-height: 116px;
  align-items: center;
  text-align: center;
}

#security .operate-mini-item strong {
  color: var(--green);
}

#security .operate-mini-item span {
  color: rgba(255, 255, 255, .58);
}
/* Footer */
#footer .footer-trust-chips span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-phase-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .pricing-phase-arrow {
    text-align: left;
    padding-left: calc(22px + var(--space-3));
  }

  .pricing-phase-monthly {
    justify-content: flex-start;
    text-align: left;
  }

  .pricing-phase-monthly .pricing-phase-num {
    order: 0;
  }

  .pricing-phase-monthly .pricing-phase-lbl {
    order: 1;
  }
}


/* Social media */

.footer-socials-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-8);
  text-align: center;
}

.footer-social-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, .45);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-out);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.footer-social-link:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

/* Facebook */
.footer-social-link.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 12px 30px rgba(24, 119, 242, .28);
}

/* Instagram */
.footer-social-link.instagram:hover {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 12px 30px rgba(221, 42, 123, .28);
}

/* TikTok */
.footer-social-link.tiktok:hover {
  background: #000000;
  border-color: #25F4EE;
  color: #ffffff;
  box-shadow:
    -4px 0 18px rgba(37, 244, 238, .25),
    4px 0 18px rgba(254, 44, 85, .25);
}

/* LinkedIn */
.footer-social-link.linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 12px 30px rgba(10, 102, 194, .28);
}
.footer-social-link.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .28);
}
/* Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
}
/* Body two-column */
.dash-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 640px) {
  .dash-body {
    grid-template-columns: 1fr;
  }
}


/* ================================
   Floating Contact Buttons
================================ */

.floating-contact-actions {
  position: fixed;
  left: clamp(14px, 2vw, 24px);
  right: auto;
  bottom: clamp(14px, 2vw, 24px);
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contact-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 12px 28px rgba(24, 29, 38, .14),
    0 4px 12px rgba(24, 29, 38, .10);
  transition:
    transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.floating-contact-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px rgba(24, 29, 38, .22),
    0 8px 20px rgba(24, 29, 38, .14);
}

.floating-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
}

.floating-call {
  background: var(--charcoal-900);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.14);
}

.floating-call:hover {
  background: var(--amber);
  color: var(--charcoal-900);
}

@media (max-width: 640px) {
  .floating-contact-actions {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: row;
  }

  .floating-contact-btn {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    font-size: var(--text-xs);
  }
}
/* ═══════════════════════════════════════════════════════════
   Mobile Floating Contact Fix
   Prevents call buttons covering the screen. (Old mobile-hero
   rules removed — the v4 hero in Hero.astro owns its own
   responsive layout.)
═══════════════════════════════════════════════════════════ */

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


  /* Floating contact buttons: small icons, not full-width bar */
  .floating-contact-actions {
    left: 12px;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 10px;
  }

  .floating-contact-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
  }

  .floating-contact-btn span {
    display: none;
  }

  .floating-contact-btn svg {
    width: 20px;
    height: 20px;
  }

}

