/* ==========================================================================
   how-i-help.css — Page-specific styles for how-i-help.html
   www.aelabrak.com | v1.0 | 21 March 2026
   ========================================================================== */

/* Shared utilities (replicated from home for page independence) */
.section-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 16px;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 48px;
}

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

.hih-hero {
  padding-top: calc(var(--nav-height-mobile) + 60px);
  padding-bottom: 80px;
  background: var(--color-bg-navy);
}

@media (min-width: 1024px) {
  .hih-hero {
    padding-top: calc(var(--nav-height-desktop) + 80px);
    padding-bottom: 100px;
  }
}

.page-hero-content {
  max-width: 800px;
}

.hih-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 16px 0 24px;
}

.hih-headline-accent {
  color: var(--color-cta-primary);
}

.hih-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
  margin: 0;
}

/* Pill override for dark bg */
.hih-hero .hero-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   SERVICES INTRO
   ========================================================================== */

.hih-services-intro {
  max-width: 680px;
  margin-bottom: 64px;
}

/* ==========================================================================
   SERVICE BLOCKS
   ========================================================================== */

.hih-service-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hih-service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  position: relative;
}

@media (min-width: 1024px) {
  .hih-service-block {
    grid-template-columns: 80px 1fr;
    gap: 48px;
    align-items: start;
  }
}

.hih-service-block:last-child {
  border-bottom: 1px solid var(--color-border);
}

.hih-service-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .hih-service-num {
    padding-top: 8px;
    font-size: 0.8125rem;
  }
}

.hih-service-content {
  display: flex;
  flex-direction: column;
}

.hih-service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.hih-service-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.hih-service-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 32px;
  max-width: 640px;
}

.hih-service-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .hih-service-details {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hih-service-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

/* Check list */
.hih-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hih-check-list li {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  padding-left: 24px;
  position: relative;
}

.hih-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-cta-primary);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Tag list (right column) */
.hih-tag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hih-tag-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  background: rgba(13, 34, 64, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
  border-left: 3px solid var(--color-bg-navy);
}

.hih-service-cta {
  margin-top: 8px;
}

/* Alt block background */
.hih-service-block--alt .hih-service-details {
  background: rgba(37, 211, 102, 0.04);
  border-color: rgba(37, 211, 102, 0.15);
}

/* ==========================================================================
   PROCESS GRID
   ========================================================================== */

.hih-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

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

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

.hih-process-step {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hih-process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 34, 64, 0.08);
  border-color: rgba(13, 34, 64, 0.2);
}

.hih-step-num {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cta-primary);
  margin-bottom: 12px;
}

.hih-process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 10px;
}

.hih-process-step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.hih-faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 40px;
}

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

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-bg-navy);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-bg-navy);
  border-color: var(--color-bg-navy);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* CTA section (reused) */
.cta-section {
  background: var(--color-bg-dark);
  padding: var(--section-padding-mobile) 0;
}

@media (min-width: 1024px) {
  .cta-section { padding: var(--section-padding-desktop) 0; }
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-avatar-wrap { margin-bottom: 28px; padding-top: var(--space-8, 48px); }
.cta-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.15); }

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.cta-inner p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin: 0 0 36px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-micro { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   DYNAMIC SERVICES LISTING (how-i-help.html — new dynamic version)
   Classes: svc-* prefix
   ========================================================================== */

/* ── Page hero ───────────────────────────────────────────────────────────── */
.svc-hero {
  background: var(--color-bg-navy);
  padding-top: calc(var(--nav-height-mobile) + 64px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 90% 60%, rgba(37,211,102,0.06) 0%, transparent 55%);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .svc-hero { padding-top: calc(var(--nav-height-desktop) + 80px); padding-bottom: 88px; }
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.svc-hero .section-eyebrow { color: rgba(255,255,255,0.55); }
.svc-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
}
.svc-hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 620px;
  margin: 0 0 32px;
}
.svc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.svc-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.svc-hero-meta-icon { font-size: 0.9375rem; }

/* ── Catalogue wrapper ───────────────────────────────────────────────────── */
.svc-catalogue-wrap { background: var(--color-bg); }
.svc-catalogue-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 24px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}
.svc-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-bg-navy);
  border-radius: 50%;
  animation: svc-spin 0.8s linear infinite;
}
@keyframes svc-spin { to { transform: rotate(360deg); } }

/* ── Track section ───────────────────────────────────────────────────────── */
.svc-track-section {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--color-border);
}
.svc-track-section:last-child { border-bottom: none; }

.svc-track-header {
  margin-bottom: 40px;
}
.svc-track-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.svc-track-emoji {
  font-size: 1.125rem;
}
.svc-track-code {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.svc-track-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.svc-track-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0;
}

/* ── Cards grid ──────────────────────────────────────────────────────────── */
.svc-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .svc-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .svc-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Individual service card ──────────────────────────────────────────────── */
.svc-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.svc-card:hover {
  border-color: var(--color-bg-navy);
  box-shadow: 0 8px 32px rgba(13,34,64,0.1);
  transform: translateY(-3px);
}

/* Cover strip */
.svc-card-cover {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  position: relative;
}
.svc-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.svc-card-emoji {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
  transition: transform 0.25s;
}
.svc-card:hover .svc-card-emoji { transform: scale(1.1) rotate(3deg); }
.svc-card-code {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}

/* Card body */
.svc-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card-top {
  margin-bottom: 10px;
}
.svc-card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.svc-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.25;
}
.svc-card-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  flex: 1;
}
.svc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px 0 12px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}
.svc-card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.svc-card-meta-icon { font-size: 0.75rem; }
.svc-card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-bg-navy);
  margin-top: auto;
}
.svc-card-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.svc-card:hover .svc-card-arrow { transform: translateX(4px); }

/* ==========================================================================
   POWERED BY ABSHER — unchanged legacy styles below
   ========================================================================== */

/* ─── Powered by Absher Business badge ─── */
.hih-powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 12px 6px 10px;
  margin-bottom: 28px;
}

.hih-powered-by-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hih-powered-by-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}
