/* ── Empire BI – components.css ────────────────────────────────────────────── */

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  line-height: 1; cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--t-base); text-decoration: none;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--t-fast);
}
.btn:hover::before { background: rgba(255,255,255,0.06); }
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--c-gold); border-color: var(--c-gold); color: var(--c-navy-deep);
  box-shadow: 0 2px 16px rgba(201,168,76,0.25);
}
.btn--gold:hover {
  background: var(--c-gold-light); border-color: var(--c-gold-light); color: var(--c-navy-deep);
  box-shadow: 0 4px 24px rgba(201,168,76,0.4);
}
.btn--outline {
  background: transparent; border-color: var(--c-border); color: var(--c-text);
}
.btn--outline:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn--navy {
  background: var(--c-navy); border-color: var(--c-navy-light); color: var(--c-text);
}
.btn--portal {
  background: var(--c-surface-2); border-color: var(--c-border); color: var(--c-gold);
  font-size: 13px; padding: 9px 18px;
}
.btn--portal:hover { background: var(--c-gold-dim); }
.btn--sm { padding: 7px 16px; font-size: 12px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ── Section Headers ──────────────────────────────────────────────────────── */
.section-header {
  text-align: center; max-width: 680px; margin: 0 auto var(--space-2xl);
}
.section-header--left { text-align: left; margin-left: 0; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 600;
  color: var(--c-white); margin-bottom: var(--space-md);
}
.section-header p { color: var(--c-text-sub); font-size: 16px; line-height: 1.7; }
.section-eyebrow {
  display: inline-block; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-gold);
  padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--c-gold-dim); border: 1px solid var(--c-border);
  margin-bottom: var(--space-md);
}

/* ── Tags ─────────────────────────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  color: var(--c-text-sub);
}

/* ── Cards (generic) ──────────────────────────────────────────────────────── */
.card {
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg); padding: var(--space-lg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.card:hover { border-color: var(--c-border); box-shadow: var(--shadow-md); }

/* ── Module Cards ─────────────────────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.module-card {
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg); padding: var(--space-xl) var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-md);
  position: relative; overflow: hidden; text-decoration: none;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  opacity: 0; transition: opacity var(--t-base);
}
.module-card:hover { border-color: var(--c-border); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.module-card:hover::before { opacity: 1; }
.module-card__icon { color: var(--c-gold); }
.module-card__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-text-muted);
}
.module-card__title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--c-white);
}
.module-card__desc { font-size: 14px; color: var(--c-text-sub); line-height: 1.65; flex: 1; }
.module-card__arrow {
  font-size: 18px; color: var(--c-gold); opacity: 0; transform: translateX(-8px);
  transition: all var(--t-base);
}
.module-card:hover .module-card__arrow { opacity: 1; transform: translateX(0); }

/* ── Service Items ────────────────────────────────────────────────────────── */
.services-list { display: flex; flex-direction: column; }
.service-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: var(--space-lg); align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--c-border-soft);
  transition: all var(--t-base);
}
.service-item:first-child { border-top: 1px solid var(--c-border-soft); }
.service-item:hover { padding-left: var(--space-md); }
.service-item__num {
  font-family: var(--font-mono); font-size: 12px; color: var(--c-gold);
  font-weight: 700; letter-spacing: 0.05em; opacity: 0.6;
}
.service-item__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: var(--space-sm); }
.service-item__title a { color: var(--c-white); }
.service-item__title a:hover { color: var(--c-gold); }
.service-item__desc { font-size: 14px; color: var(--c-text-sub); margin-bottom: var(--space-sm); }
.service-item__tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.service-item__arrow {
  font-size: 20px; color: var(--c-gold); text-decoration: none;
  padding: var(--space-sm); opacity: 0.4; transition: all var(--t-base);
}
.service-item:hover .service-item__arrow { opacity: 1; transform: translateX(4px); }

/* ── Process Steps ────────────────────────────────────────────────────────── */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl); position: relative;
}
.process-step { position: relative; padding: var(--space-xl) var(--space-lg); }
.process-step__num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--c-gold); letter-spacing: 0.1em; margin-bottom: var(--space-lg);
  display: flex; align-items: center; gap: var(--space-md);
}
.process-step__num::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--c-gold-dim), transparent);
}
.process-step__line { display: none; }
.process-step__title {
  font-family: var(--font-display); font-size: 30px; font-weight: 600;
  color: var(--c-white); margin-bottom: var(--space-md);
}
.process-step__desc { font-size: 14px; color: var(--c-text-sub); line-height: 1.7; }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
}
.testimonial {
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg); padding: var(--space-xl);
  position: relative; display: flex; flex-direction: column; gap: var(--space-lg);
}
.testimonial__quote-mark {
  font-family: var(--font-display); font-size: 80px; line-height: 0.5;
  color: var(--c-gold); opacity: 0.25; position: absolute; top: 24px; left: 28px;
  pointer-events: none; user-select: none;
}
.testimonial__text {
  font-size: 14px; color: var(--c-text); line-height: 1.75;
  font-style: italic; padding-top: var(--space-lg);
  flex: 1; margin-bottom: 0;
}
.testimonial__footer { display: flex; align-items: center; gap: var(--space-md); }
.testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--c-navy); flex-shrink: 0;
}
.testimonial__name { display: block; font-weight: 700; color: var(--c-white); font-size: 14px; }
.testimonial__role { display: block; font-size: 12px; color: var(--c-text-muted); margin-top: 2px; }

/* ── Contact CTA card ─────────────────────────────────────────────────────── */
.contact-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--space-xl);
}
.contact-card h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: var(--space-md); }
.contact-card__detail {
  display: flex; align-items: center; gap: var(--space-sm);
  font-size: 14px; color: var(--c-text-sub); margin-bottom: var(--space-md);
}
.contact-card__detail svg { color: var(--c-gold); flex-shrink: 0; }
.contact-card__detail a { color: var(--c-text-sub); }
.contact-card__detail a:hover { color: var(--c-gold); }

/* ── Trust badges ─────────────────────────────────────────────────────────── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--c-text-muted); font-weight: 500;
}
.trust-badge svg { color: var(--c-green); }

/* ── Notice card ──────────────────────────────────────────────────────────── */
.notice-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--space-xl);
  text-align: center; max-width: 480px; margin: var(--space-2xl) auto;
}
.notice-card h3 { margin-bottom: var(--space-md); color: var(--c-white); }

/* ── Post Grid ────────────────────────────────────────────────────────────── */
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}
.post-card {
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}
.post-card:hover { border-color: var(--c-border); transform: translateY(-2px); }
.post-card__thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__body { padding: var(--space-lg); }
.post-card__meta { font-size: 11px; color: var(--c-text-muted); margin-bottom: var(--space-sm); }
.post-card__title { font-family: var(--font-display); font-size: 22px; margin-bottom: var(--space-sm); }
.post-card__title a { color: var(--c-white); }
.post-card__title a:hover { color: var(--c-gold); }
.post-card__excerpt { font-size: 14px; color: var(--c-text-sub); }

/* ── WP Pagination ────────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: var(--space-sm); margin-top: var(--space-2xl); }
.pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: var(--r-md);
  border: 1px solid var(--c-border-soft); color: var(--c-text-sub);
  font-size: 14px; transition: all var(--t-fast);
}
.pagination .page-numbers:hover,
.pagination .current { background: var(--c-gold-dim); border-color: var(--c-border); color: var(--c-gold); }

/* ── Entry content ────────────────────────────────────────────────────────── */
.entry-content { color: var(--c-text); line-height: 1.8; }
.entry-content h1,.entry-content h2,.entry-content h3 { margin: var(--space-xl) 0 var(--space-md); }
.entry-content p { margin-bottom: var(--space-md); }
.entry-content ul,.entry-content ol { padding-left: var(--space-xl); margin-bottom: var(--space-md); }
.entry-content li { margin-bottom: var(--space-xs); }
.entry-content a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r-md); margin: var(--space-lg) 0; }
.entry-content blockquote {
  border-left: 3px solid var(--c-gold); margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--c-surface); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--c-text-sub);
}
.entry-content code {
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  padding: 2px 6px; border-radius: var(--r-sm); font-size: 0.875em; color: var(--c-gold-light);
}
.entry-content pre {
  background: var(--c-surface); border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md); padding: var(--space-lg); overflow-x: auto; margin-bottom: var(--space-md);
}
